2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlite 3.23.1.
5 # Report bugs to <http://www.sqlite.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://www.sqlite.org about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='sqlite'
592 PACKAGE_TARNAME='sqlite'
593 PACKAGE_VERSION='3.23.1'
594 PACKAGE_STRING='sqlite 3.23.1'
595 PACKAGE_BUGREPORT='http://www.sqlite.org'
598 ac_unique_file="sqlite3.c"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
645 DYNAMIC_EXTENSION_FLAGS
709 INSTALL_STRIP_PROGRAM
751 program_transform_name
764 enable_option_checking
767 enable_dependency_tracking
779 enable_dynamic_extensions
785 ac_precious_vars='build_alias
797 # Initialize some variables set by options.
799 ac_init_version=false
800 ac_unrecognized_opts=
802 # The variables have the same names as the options, with
803 # dashes changed to underlines.
811 program_transform_name=s,x,x,
819 # Installation directory options.
820 # These are left unexpanded so users can "make install exec_prefix=/foo"
821 # and all the variables that are supposed to be based on exec_prefix
822 # by default will actually change.
823 # Use braces instead of parens because sh, perl, etc. also accept them.
824 # (The list follows the same order as the GNU Coding Standards.)
825 bindir='${exec_prefix}/bin'
826 sbindir='${exec_prefix}/sbin'
827 libexecdir='${exec_prefix}/libexec'
828 datarootdir='${prefix}/share'
829 datadir='${datarootdir}'
830 sysconfdir='${prefix}/etc'
831 sharedstatedir='${prefix}/com'
832 localstatedir='${prefix}/var'
833 includedir='${prefix}/include'
834 oldincludedir='/usr/include'
835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir='${datarootdir}/info'
841 libdir='${exec_prefix}/lib'
842 localedir='${datarootdir}/locale'
843 mandir='${datarootdir}/man'
849 # If the previous option needs an argument, assign it.
850 if test -n "$ac_prev"; then
851 eval $ac_prev=\$ac_option
857 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir | --bindir | --bindi | --bind | --bin | --bi)
870 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
873 -build | --build | --buil | --bui | --bu)
874 ac_prev=build_alias ;;
875 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876 build_alias=$ac_optarg ;;
878 -cache-file | --cache-file | --cache-fil | --cache-fi \
879 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880 ac_prev=cache_file ;;
881 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883 cache_file=$ac_optarg ;;
886 cache_file=config.cache ;;
888 -datadir | --datadir | --datadi | --datad)
890 -datadir=* | --datadir=* | --datadi=* | --datad=*)
891 datadir=$ac_optarg ;;
893 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894 | --dataroo | --dataro | --datar)
895 ac_prev=datarootdir ;;
896 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898 datarootdir=$ac_optarg ;;
900 -disable-* | --disable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
914 eval enable_$ac_useropt=no ;;
916 -docdir | --docdir | --docdi | --doc | --do)
918 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
921 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
923 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
926 -enable-* | --enable-*)
927 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930 as_fn_error $? "invalid feature name: $ac_useropt"
931 ac_useropt_orig=$ac_useropt
932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep=', ';;
940 eval enable_$ac_useropt=\$ac_optarg ;;
942 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944 | --exec | --exe | --ex)
945 ac_prev=exec_prefix ;;
946 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
947 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
948 | --exec=* | --exe=* | --ex=*)
949 exec_prefix=$ac_optarg ;;
951 -gas | --gas | --ga | --g)
952 # Obsolete; use --with-gas.
955 -help | --help | --hel | --he | -h)
957 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
958 ac_init_help=recursive ;;
959 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
960 ac_init_help=short ;;
962 -host | --host | --hos | --ho)
963 ac_prev=host_alias ;;
964 -host=* | --host=* | --hos=* | --ho=*)
965 host_alias=$ac_optarg ;;
967 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
969 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
971 htmldir=$ac_optarg ;;
973 -includedir | --includedir | --includedi | --included | --include \
974 | --includ | --inclu | --incl | --inc)
975 ac_prev=includedir ;;
976 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
977 | --includ=* | --inclu=* | --incl=* | --inc=*)
978 includedir=$ac_optarg ;;
980 -infodir | --infodir | --infodi | --infod | --info | --inf)
982 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
983 infodir=$ac_optarg ;;
985 -libdir | --libdir | --libdi | --libd)
987 -libdir=* | --libdir=* | --libdi=* | --libd=*)
990 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
991 | --libexe | --libex | --libe)
992 ac_prev=libexecdir ;;
993 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
994 | --libexe=* | --libex=* | --libe=*)
995 libexecdir=$ac_optarg ;;
997 -localedir | --localedir | --localedi | --localed | --locale)
999 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000 localedir=$ac_optarg ;;
1002 -localstatedir | --localstatedir | --localstatedi | --localstated \
1003 | --localstate | --localstat | --localsta | --localst | --locals)
1004 ac_prev=localstatedir ;;
1005 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1006 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1007 localstatedir=$ac_optarg ;;
1009 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1011 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1012 mandir=$ac_optarg ;;
1014 -nfp | --nfp | --nf)
1015 # Obsolete; use --without-fp.
1018 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1019 | --no-cr | --no-c | -n)
1022 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1026 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1027 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1028 | --oldin | --oldi | --old | --ol | --o)
1029 ac_prev=oldincludedir ;;
1030 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1031 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1032 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1033 oldincludedir=$ac_optarg ;;
1035 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1037 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1038 prefix=$ac_optarg ;;
1040 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1041 | --program-pre | --program-pr | --program-p)
1042 ac_prev=program_prefix ;;
1043 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1044 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1045 program_prefix=$ac_optarg ;;
1047 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1048 | --program-suf | --program-su | --program-s)
1049 ac_prev=program_suffix ;;
1050 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1051 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1052 program_suffix=$ac_optarg ;;
1054 -program-transform-name | --program-transform-name \
1055 | --program-transform-nam | --program-transform-na \
1056 | --program-transform-n | --program-transform- \
1057 | --program-transform | --program-transfor \
1058 | --program-transfo | --program-transf \
1059 | --program-trans | --program-tran \
1060 | --progr-tra | --program-tr | --program-t)
1061 ac_prev=program_transform_name ;;
1062 -program-transform-name=* | --program-transform-name=* \
1063 | --program-transform-nam=* | --program-transform-na=* \
1064 | --program-transform-n=* | --program-transform-=* \
1065 | --program-transform=* | --program-transfor=* \
1066 | --program-transfo=* | --program-transf=* \
1067 | --program-trans=* | --program-tran=* \
1068 | --progr-tra=* | --program-tr=* | --program-t=*)
1069 program_transform_name=$ac_optarg ;;
1071 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1073 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1074 pdfdir=$ac_optarg ;;
1076 -psdir | --psdir | --psdi | --psd | --ps)
1078 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082 | -silent | --silent | --silen | --sile | --sil)
1085 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1087 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1089 sbindir=$ac_optarg ;;
1091 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1092 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1093 | --sharedst | --shareds | --shared | --share | --shar \
1095 ac_prev=sharedstatedir ;;
1096 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1097 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1098 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1100 sharedstatedir=$ac_optarg ;;
1102 -site | --site | --sit)
1104 -site=* | --site=* | --sit=*)
1107 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1109 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1110 srcdir=$ac_optarg ;;
1112 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1113 | --syscon | --sysco | --sysc | --sys | --sy)
1114 ac_prev=sysconfdir ;;
1115 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1116 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1117 sysconfdir=$ac_optarg ;;
1119 -target | --target | --targe | --targ | --tar | --ta | --t)
1120 ac_prev=target_alias ;;
1121 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1122 target_alias=$ac_optarg ;;
1124 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1127 -version | --version | --versio | --versi | --vers | -V)
1128 ac_init_version=: ;;
1131 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1144 eval with_$ac_useropt=\$ac_optarg ;;
1146 -without-* | --without-*)
1147 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150 as_fn_error $? "invalid package name: $ac_useropt"
1151 ac_useropt_orig=$ac_useropt
1152 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep=', ';;
1160 eval with_$ac_useropt=no ;;
1163 # Obsolete; use --with-x.
1166 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1167 | --x-incl | --x-inc | --x-in | --x-i)
1168 ac_prev=x_includes ;;
1169 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1170 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1171 x_includes=$ac_optarg ;;
1173 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1174 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1175 ac_prev=x_libraries ;;
1176 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1177 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1178 x_libraries=$ac_optarg ;;
1180 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information"
1185 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1186 # Reject names that are not valid shell variable names.
1187 case $ac_envvar in #(
1188 '' | [0-9]* | *[!_$as_cr_alnum]* )
1189 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1191 eval $ac_envvar=\$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1205 if test -n "$ac_prev"; then
1206 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1207 as_fn_error $? "missing argument to $ac_option"
1210 if test -n "$ac_unrecognized_opts"; then
1211 case $enable_option_checking in
1213 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1214 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 # Check all directory arguments for consistency.
1219 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220 datadir sysconfdir sharedstatedir localstatedir includedir \
1221 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222 libdir localedir mandir
1224 eval ac_val=\$$ac_var
1225 # Remove trailing slashes.
1228 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229 eval $ac_var=\$ac_val;;
1231 # Be sure to have absolute directory names.
1233 [\\/$]* | ?:[\\/]* ) continue;;
1234 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1236 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1244 target=$target_alias
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x; then
1248 if test "x$build_alias" = x; then
1249 cross_compiling=maybe
1250 elif test "x$build_alias" != "x$host_alias"; then
1256 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1258 test "$silent" = yes && exec 6>/dev/null
1261 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1262 ac_ls_di=`ls -di .` &&
1263 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1264 as_fn_error $? "working directory cannot be determined"
1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1266 as_fn_error $? "pwd does not report name of working directory"
1269 # Find the source files, if location was not specified.
1270 if test -z "$srcdir"; then
1271 ac_srcdir_defaulted=yes
1272 # Try the directory containing this script, then the parent directory.
1273 ac_confdir=`$as_dirname -- "$as_myself" ||
1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1275 X"$as_myself" : 'X\(//\)[^/]' \| \
1276 X"$as_myself" : 'X\(//\)$' \| \
1277 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1278 $as_echo X"$as_myself" |
1279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1301 ac_srcdir_defaulted=no
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1304 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1305 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1307 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1309 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1311 # When building in place, set srcdir=.
1312 if test "$ac_abs_confdir" = "$ac_pwd"; then
1315 # Remove unnecessary trailing slashes from srcdir.
1316 # Double slashes in file names in object file debugging info
1317 # mess up M-x gdb in Emacs.
1319 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1321 for ac_var in $ac_precious_vars; do
1322 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1323 eval ac_env_${ac_var}_value=\$${ac_var}
1324 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1325 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1329 # Report the --help message.
1331 if test "$ac_init_help" = "long"; then
1332 # Omit some internal or obsolete options to make the list less imposing.
1333 # This message is too long to be a string in the A/UX 3.1 sh.
1335 \`configure' configures sqlite 3.23.1 to adapt to many kinds of systems.
1337 Usage: $0 [OPTION]... [VAR=VALUE]...
1339 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1340 VAR=VALUE. See below for descriptions of some of the useful variables.
1342 Defaults for the options are specified in brackets.
1345 -h, --help display this help and exit
1346 --help=short display options specific to this package
1347 --help=recursive display the short help of all the included packages
1348 -V, --version display version information and exit
1349 -q, --quiet, --silent do not print \`checking ...' messages
1350 --cache-file=FILE cache test results in FILE [disabled]
1351 -C, --config-cache alias for \`--cache-file=config.cache'
1352 -n, --no-create do not create output files
1353 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1355 Installation directories:
1356 --prefix=PREFIX install architecture-independent files in PREFIX
1357 [$ac_default_prefix]
1358 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1361 By default, \`make install' will install all the files in
1362 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1363 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1364 for instance \`--prefix=\$HOME'.
1366 For better control, use the options below.
1368 Fine tuning of the installation directories:
1369 --bindir=DIR user executables [EPREFIX/bin]
1370 --sbindir=DIR system admin executables [EPREFIX/sbin]
1371 --libexecdir=DIR program executables [EPREFIX/libexec]
1372 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1373 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1374 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1375 --libdir=DIR object code libraries [EPREFIX/lib]
1376 --includedir=DIR C header files [PREFIX/include]
1377 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1380 --infodir=DIR info documentation [DATAROOTDIR/info]
1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1382 --mandir=DIR man documentation [DATAROOTDIR/man]
1383 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1384 --htmldir=DIR html documentation [DOCDIR]
1385 --dvidir=DIR dvi documentation [DOCDIR]
1386 --pdfdir=DIR pdf documentation [DOCDIR]
1387 --psdir=DIR ps documentation [DOCDIR]
1393 --program-prefix=PREFIX prepend PREFIX to installed program names
1394 --program-suffix=SUFFIX append SUFFIX to installed program names
1395 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1398 --build=BUILD configure for building on BUILD [guessed]
1399 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1403 if test -n "$ac_init_help"; then
1404 case $ac_init_help in
1405 short | recursive ) echo "Configuration of sqlite 3.23.1:";;
1410 --disable-option-checking ignore unrecognized --enable/--with options
1411 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1412 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1413 --enable-silent-rules less verbose build output (undo: "make V=1")
1414 --disable-silent-rules verbose build output (undo: "make V=0")
1415 --disable-largefile omit support for large files
1416 --enable-dependency-tracking
1417 do not reject slow dependency extractors
1418 --disable-dependency-tracking
1419 speeds up one-time build
1420 --enable-shared[=PKGS] build shared libraries [default=yes]
1421 --enable-static[=PKGS] build static libraries [default=yes]
1422 --enable-fast-install[=PKGS]
1423 optimize for fast installation [default=yes]
1424 --disable-libtool-lock avoid locking (might break parallel builds)
1425 --enable-editline use BSD libedit
1426 --enable-readline use readline
1427 --enable-threadsafe build a thread-safe library [default=yes]
1428 --enable-dynamic-extensions
1429 support loadable extensions [default=yes]
1430 --enable-fts5 include fts5 support [default=no]
1431 --enable-json1 include json1 support [default=no]
1432 --enable-session enable the session extension [default=no]
1433 --enable-static-shell statically link libsqlite3 into shell tool
1437 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1438 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1439 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1441 --with-aix-soname=aix|svr4|both
1442 shared library versioning (aka "SONAME") variant to
1443 provide on AIX, [default=aix].
1444 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1445 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1446 compiler's sysroot if not specified).
1448 Some influential environment variables:
1449 CC C compiler command
1450 CFLAGS C compiler flags
1451 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1452 nonstandard directory <lib dir>
1453 LIBS libraries to pass to the linker, e.g. -l<library>
1454 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1455 you have headers in a nonstandard directory <include dir>
1457 User-defined run-time library search path.
1460 Use these variables to override the choices made by `configure' or to help
1461 it to find libraries and programs with nonstandard names/locations.
1463 Report bugs to <http://www.sqlite.org>.
1468 if test "$ac_init_help" = "recursive"; then
1469 # If there are subdirs, report their specific --help.
1470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1471 test -d "$ac_dir" ||
1472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1480 # A ".." for each directory in $ac_dir_suffix.
1481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1482 case $ac_top_builddir_sub in
1483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1487 ac_abs_top_builddir=$ac_pwd
1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1489 # for backward compatibility:
1490 ac_top_builddir=$ac_top_build_prefix
1493 .) # We are building in place.
1495 ac_top_srcdir=$ac_top_builddir_sub
1496 ac_abs_top_srcdir=$ac_pwd ;;
1497 [\\/]* | ?:[\\/]* ) # Absolute name.
1498 ac_srcdir=$srcdir$ac_dir_suffix;
1499 ac_top_srcdir=$srcdir
1500 ac_abs_top_srcdir=$srcdir ;;
1502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1503 ac_top_srcdir=$ac_top_build_prefix$srcdir
1504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1508 cd "$ac_dir" || { ac_status=$?; continue; }
1509 # Check for guested configure.
1510 if test -f "$ac_srcdir/configure.gnu"; then
1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1513 elif test -f "$ac_srcdir/configure"; then
1515 $SHELL "$ac_srcdir/configure" --help=recursive
1517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1519 cd "$ac_pwd" || { ac_status=$?; break; }
1523 test -n "$ac_init_help" && exit $ac_status
1524 if $ac_init_version; then
1526 sqlite configure 3.23.1
1527 generated by GNU Autoconf 2.69
1529 Copyright (C) 2012 Free Software Foundation, Inc.
1530 This configure script is free software; the Free Software Foundation
1531 gives unlimited permission to copy, distribute and modify it.
1536 ## ------------------------ ##
1537 ## Autoconf initialization. ##
1538 ## ------------------------ ##
1540 # ac_fn_c_try_compile LINENO
1541 # --------------------------
1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1543 ac_fn_c_try_compile ()
1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546 rm -f conftest.$ac_objext
1547 if { { ac_try="$ac_compile"
1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550 *) ac_try_echo=$ac_try;;
1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553 $as_echo "$ac_try_echo"; } >&5
1554 (eval "$ac_compile") 2>conftest.err
1556 if test -s conftest.err; then
1557 grep -v '^ *+' conftest.err >conftest.er1
1558 cat conftest.er1 >&5
1559 mv -f conftest.er1 conftest.err
1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562 test $ac_status = 0; } && {
1563 test -z "$ac_c_werror_flag" ||
1564 test ! -s conftest.err
1565 } && test -s conftest.$ac_objext; then :
1568 $as_echo "$as_me: failed program was:" >&5
1569 sed 's/^/| /' conftest.$ac_ext >&5
1573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1574 as_fn_set_status $ac_retval
1576 } # ac_fn_c_try_compile
1578 # ac_fn_c_try_link LINENO
1579 # -----------------------
1580 # Try to link conftest.$ac_ext, and return whether this succeeded.
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 rm -f conftest.$ac_objext conftest$ac_exeext
1585 if { { ac_try="$ac_link"
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_link") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && {
1601 test -z "$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1603 } && test -s conftest$ac_exeext && {
1604 test "$cross_compiling" = yes ||
1605 test -x conftest$ac_exeext
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1615 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1616 # interfere with the next link command; also delete a directory that is
1617 # left behind by Apple's compiler. We do this before executing the actions.
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status $ac_retval
1622 } # ac_fn_c_try_link
1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1625 # -------------------------------------------------------
1626 # Tests whether HEADER exists and can be compiled using the include files in
1627 # INCLUDES, setting the cache variable VAR accordingly.
1628 ac_fn_c_check_header_compile ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634 $as_echo_n "(cached) " >&6
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1641 if ac_fn_c_try_compile "$LINENO"; then :
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 } # ac_fn_c_check_header_compile
1655 # ac_fn_c_try_cpp LINENO
1656 # ----------------------
1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_cpp conftest.$ac_ext"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } > conftest.i && {
1677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1692 # ac_fn_c_try_run LINENO
1693 # ----------------------
1694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1695 # that executables *can* be run.
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 if { { ac_try="$ac_link"
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_link") 2>&5
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1710 { { case "(($ac_try" in
1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_try") 2>&5
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; }; }; then :
1722 $as_echo "$as_me: program exited with status $ac_status" >&5
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1726 ac_retval=$ac_status
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 as_fn_set_status $ac_retval
1734 # ac_fn_c_check_func LINENO FUNC VAR
1735 # ----------------------------------
1736 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1737 ac_fn_c_check_func ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1749 #define $2 innocuous_$2
1751 /* System header to define __stub macros and hopefully few prototypes,
1752 which can conflict with char $2 (); below.
1753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1754 <limits.h> exists even on freestanding compilers. */
1757 # include <limits.h>
1759 # include <assert.h>
1764 /* Override any GCC internal prototype to avoid an error.
1765 Use char because int might match the return type of a GCC
1766 builtin and then its argument prototype would still apply. */
1771 /* The GNU C library defines this for functions which it implements
1772 to always fail with ENOSYS. Some functions are actually named
1773 something starting with __ and the normal name is an alias. */
1774 #if defined __stub_$2 || defined __stub___$2
1786 if ac_fn_c_try_link "$LINENO"; then :
1791 rm -f core conftest.err conftest.$ac_objext \
1792 conftest$ac_exeext conftest.$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 } # ac_fn_c_check_func
1801 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1802 # ---------------------------------------------
1803 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1805 ac_fn_c_check_decl ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 as_decl_name=`echo $2|sed 's/ *(.*//'`
1809 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1811 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1812 if eval \${$3+:} false; then :
1813 $as_echo_n "(cached) " >&6
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1821 #ifndef $as_decl_name
1823 (void) $as_decl_use;
1825 (void) $as_decl_name;
1833 if ac_fn_c_try_compile "$LINENO"; then :
1838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 $as_echo "$ac_res" >&6; }
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 } # ac_fn_c_check_decl
1847 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1848 # -------------------------------------------------------
1849 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1850 # the include files in INCLUDES and setting the cache variable VAR
1852 ac_fn_c_check_header_mongrel ()
1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 if eval \${$3+:} false; then :
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if eval \${$3+:} false; then :
1859 $as_echo_n "(cached) " >&6
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1865 # Is the header compilable?
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1867 $as_echo_n "checking $2 usability... " >&6; }
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1873 if ac_fn_c_try_compile "$LINENO"; then :
1874 ac_header_compiler=yes
1876 ac_header_compiler=no
1878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1880 $as_echo "$ac_header_compiler" >&6; }
1882 # Is the header present?
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1884 $as_echo_n "checking $2 presence... " >&6; }
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1889 if ac_fn_c_try_cpp "$LINENO"; then :
1890 ac_header_preproc=yes
1892 ac_header_preproc=no
1894 rm -f conftest.err conftest.i conftest.$ac_ext
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1896 $as_echo "$ac_header_preproc" >&6; }
1898 # So? What about this header?
1899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1902 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1904 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1908 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1910 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1912 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1914 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1916 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1917 ( $as_echo "## ------------------------------------ ##
1918 ## Report this to http://www.sqlite.org ##
1919 ## ------------------------------------ ##"
1920 ) | sed "s/^/$as_me: WARNING: /" >&2
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if eval \${$3+:} false; then :
1926 $as_echo_n "(cached) " >&6
1928 eval "$3=\$ac_header_compiler"
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_header_mongrel
1937 cat >config.log <<_ACEOF
1938 This file contains any messages produced by compilers while
1939 running configure, to aid debugging if configure makes a mistake.
1941 It was created by sqlite $as_me 3.23.1, which was
1942 generated by GNU Autoconf 2.69. Invocation command line was
1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1961 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1963 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1964 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1966 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1967 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1968 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1969 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 $as_echo "PATH: $as_dir"
1994 # Keep a trace of the command line.
1995 # Strip out --no-create and --no-recursion so they do not pile up.
1996 # Strip out --silent because we don't want to record it for future runs.
1997 # Also quote any args containing shell meta-characters.
1998 # Make two passes to allow for proper duplicate-argument suppression.
2002 ac_must_keep_next=false
2008 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2010 | -silent | --silent | --silen | --sile | --sil)
2013 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2016 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2018 as_fn_append ac_configure_args1 " '$ac_arg'"
2019 if test $ac_must_keep_next = true; then
2020 ac_must_keep_next=false # Got value, back to normal.
2023 *=* | --config-cache | -C | -disable-* | --disable-* \
2024 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2025 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2026 | -with-* | --with-* | -without-* | --without-* | --x)
2027 case "$ac_configure_args0 " in
2028 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2031 -* ) ac_must_keep_next=true ;;
2034 as_fn_append ac_configure_args " '$ac_arg'"
2039 { ac_configure_args0=; unset ac_configure_args0;}
2040 { ac_configure_args1=; unset ac_configure_args1;}
2042 # When interrupted or exit'd, cleanup temporary files, and complete
2043 # config.log. We remove comments because anyway the quotes in there
2044 # would cause problems or look ugly.
2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2047 trap 'exit_status=$?
2048 # Save into config.log some information that might help in debugging.
2052 $as_echo "## ---------------- ##
2053 ## Cache variables. ##
2054 ## ---------------- ##"
2056 # The following way of writing the cache mishandles newlines in values,
2058 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2059 eval ac_val=\$$ac_var
2063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2067 _ | IFS | as_nl) ;; #(
2068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2069 *) { eval $ac_var=; unset $ac_var;} ;;
2074 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2075 *${as_nl}ac_space=\ *)
2077 "s/'\''/'\''\\\\'\'''\''/g;
2078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088 $as_echo "## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##"
2092 for ac_var in $ac_subst_vars
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -n "$ac_subst_files"; then
2103 $as_echo "## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##"
2107 for ac_var in $ac_subst_files
2109 eval ac_val=\$$ac_var
2111 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2113 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -s confdefs.h; then
2119 $as_echo "## ----------- ##
2126 test "$ac_signal" != 0 &&
2127 $as_echo "$as_me: caught signal $ac_signal"
2128 $as_echo "$as_me: exit $exit_status"
2130 rm -f core *.core core.conftest.* &&
2131 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2134 for ac_signal in 1 2 13 15; do
2135 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2140 rm -f -r conftest* confdefs.h
2142 $as_echo "/* confdefs.h */" > confdefs.h
2144 # Predefined preprocessor variables.
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_NAME "$PACKAGE_NAME"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_STRING "$PACKAGE_STRING"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_URL "$PACKAGE_URL"
2171 # Let the site file select an alternate cache file if it wants to.
2172 # Prefer an explicitly selected file to automatically selected ones.
2175 if test -n "$CONFIG_SITE"; then
2176 # We do not want a PATH search for config.site.
2177 case $CONFIG_SITE in #((
2178 -*) ac_site_file1=./$CONFIG_SITE;;
2179 */*) ac_site_file1=$CONFIG_SITE;;
2180 *) ac_site_file1=./$CONFIG_SITE;;
2182 elif test "x$prefix" != xNONE; then
2183 ac_site_file1=$prefix/share/config.site
2184 ac_site_file2=$prefix/etc/config.site
2186 ac_site_file1=$ac_default_prefix/share/config.site
2187 ac_site_file2=$ac_default_prefix/etc/config.site
2189 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2191 test "x$ac_site_file" = xNONE && continue
2192 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195 sed 's/^/| /' "$ac_site_file" >&5
2197 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 as_fn_error $? "failed to load site script $ac_site_file
2200 See \`config.log' for more details" "$LINENO" 5; }
2204 if test -r "$cache_file"; then
2205 # Some versions of bash will fail to source /dev/null (special files
2206 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2207 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2211 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2212 *) . "./$cache_file";;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221 # Check that the precious variables saved in the cache have kept the same
2223 ac_cache_corrupted=false
2224 for ac_var in $ac_precious_vars; do
2225 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2226 eval ac_new_set=\$ac_env_${ac_var}_set
2227 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2228 eval ac_new_val=\$ac_env_${ac_var}_value
2229 case $ac_old_set,$ac_new_set in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2232 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2233 ac_cache_corrupted=: ;;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2236 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2237 ac_cache_corrupted=: ;;
2240 if test "x$ac_old_val" != "x$ac_new_val"; then
2241 # differences in whitespace do not lead to failure.
2242 ac_old_val_w=`echo x $ac_old_val`
2243 ac_new_val_w=`echo x $ac_new_val`
2244 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2247 ac_cache_corrupted=:
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2251 eval $ac_var=\$ac_old_val
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2254 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2256 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2259 # Pass precious variables to config.status.
2260 if test "$ac_new_set" = set; then
2262 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2263 *) ac_arg=$ac_var=$ac_new_val ;;
2265 case " $ac_configure_args " in
2266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2267 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2271 if $ac_cache_corrupted; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2276 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2278 ## -------------------- ##
2279 ## Main body of script. ##
2280 ## -------------------- ##
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2291 for ac_dir in . "$srcdir"/.; do
2292 if test -f "$ac_dir/install-sh"; then
2294 ac_install_sh="$ac_aux_dir/install-sh -c"
2296 elif test -f "$ac_dir/install.sh"; then
2298 ac_install_sh="$ac_aux_dir/install.sh -c"
2300 elif test -f "$ac_dir/shtool"; then
2302 ac_install_sh="$ac_aux_dir/shtool install -c"
2306 if test -z "$ac_aux_dir"; then
2307 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2310 # These three variables are undocumented and unsupported,
2311 # and are intended to be withdrawn in a future Autoconf release.
2312 # They can cause serious problems if a builder's source tree is in a directory
2313 # whose full name contains unusual characters.
2314 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2315 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2316 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2321 am__api_version='1.15'
2323 # Find a good install program. We prefer a C program (faster),
2324 # so one script is as good as another. But avoid the broken or
2325 # incompatible versions:
2326 # SysV /etc/install, /usr/sbin/install
2327 # SunOS /usr/etc/install
2328 # IRIX /sbin/install
2330 # AmigaOS /C/install, which installs bootblocks on floppy discs
2331 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2332 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2333 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2334 # OS/2's system install, which has a completely different semantic
2335 # ./install, which can be erroneously created by make from ./install.sh.
2336 # Reject install programs that cannot install multiple files.
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2338 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2339 if test -z "$INSTALL"; then
2340 if ${ac_cv_path_install+:} false; then :
2341 $as_echo_n "(cached) " >&6
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 # Account for people who put trailing slashes in PATH elements.
2349 case $as_dir/ in #((
2350 ./ | .// | /[cC]/* | \
2351 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2352 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2355 # OSF1 and SCO ODT 3.0 have their own names for install.
2356 # Don't use installbsd from OSF since it installs stuff as root
2358 for ac_prog in ginstall scoinst install; do
2359 for ac_exec_ext in '' $ac_executable_extensions; do
2360 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2361 if test $ac_prog = install &&
2362 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2363 # AIX install. It has an incompatible calling convention.
2365 elif test $ac_prog = install &&
2366 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2367 # program-specific install script used by HP pwplus--don't use.
2370 rm -rf conftest.one conftest.two conftest.dir
2371 echo one > conftest.one
2372 echo two > conftest.two
2374 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2375 test -s conftest.one && test -s conftest.two &&
2376 test -s conftest.dir/conftest.one &&
2377 test -s conftest.dir/conftest.two
2379 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2392 rm -rf conftest.one conftest.two conftest.dir
2395 if test "${ac_cv_path_install+set}" = set; then
2396 INSTALL=$ac_cv_path_install
2398 # As a last resort, use the slow shell script. Don't cache a
2399 # value for INSTALL within a source directory, because that will
2400 # break other packages using the cache if that directory is
2401 # removed, or if the value is a relative name.
2402 INSTALL=$ac_install_sh
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2406 $as_echo "$INSTALL" >&6; }
2408 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2409 # It thinks the first close brace ends the variable substitution.
2410 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2412 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2414 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2417 $as_echo_n "checking whether build environment is sane... " >&6; }
2418 # Reject unsafe characters in $srcdir or the absolute working directory
2419 # name. Accept space and tab only in the latter.
2423 *[\\\"\#\$\&\'\`$am_lf]*)
2424 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2427 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2428 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2431 # Do 'set' in a subshell so we don't clobber the current shell's
2432 # arguments. Must try -L first in case configure is actually a
2433 # symlink; some systems play weird games with the mod time of symlinks
2434 # (eg FreeBSD returns the mod time of the symlink's containing
2438 for am_try in 1 2; do
2439 echo "timestamp, slept: $am_has_slept" > conftest.file
2440 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2441 if test "$*" = "X"; then
2443 set X `ls -t "$srcdir/configure" conftest.file`
2445 if test "$*" != "X $srcdir/configure conftest.file" \
2446 && test "$*" != "X conftest.file $srcdir/configure"; then
2448 # If neither matched, then we have a broken ls. This can happen
2449 # if, for instance, CONFIG_SHELL is bash and it inherits a
2450 # broken ls alias from the environment. This has actually
2451 # happened. Such a system could not be considered "sane".
2452 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2453 alias in your environment" "$LINENO" 5
2455 if test "$2" = conftest.file || test $am_try -eq 2; then
2462 test "$2" = conftest.file
2468 as_fn_error $? "newly created file is older than distributed files!
2469 Check your system clock" "$LINENO" 5
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2472 $as_echo "yes" >&6; }
2473 # If we didn't sleep, we still need to ensure time stamps of config.status and
2474 # generated files are strictly newer.
2476 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2483 test "$program_prefix" != NONE &&
2484 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2485 # Use a double $ so make ignores it.
2486 test "$program_suffix" != NONE &&
2487 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2488 # Double any \ or $.
2489 # By default was `s,x,x', remove it if useless.
2490 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2491 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2493 # Expand $ac_aux_dir to an absolute path.
2494 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2496 if test x"${MISSING+set}" != xset; then
2499 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2501 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2504 # Use eval to expand $SHELL
2505 if eval "$MISSING --is-lightweight"; then
2506 am_missing_run="$MISSING "
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2510 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2513 if test x"${install_sh+set}" != xset; then
2516 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2518 install_sh="\${SHELL} $am_aux_dir/install-sh"
2522 # Installed binaries are usually stripped using 'strip' when the user
2523 # run "make install-strip". However 'strip' might not be the right
2524 # tool to use in cross-compilation environments, therefore Automake
2525 # will honor the 'STRIP' environment variable to overrule this program.
2526 if test "$cross_compiling" != no; then
2527 if test -n "$ac_tool_prefix"; then
2528 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2529 set dummy ${ac_tool_prefix}strip; ac_word=$2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2531 $as_echo_n "checking for $ac_word... " >&6; }
2532 if ${ac_cv_prog_STRIP+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 if test -n "$STRIP"; then
2536 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 STRIP=$ac_cv_prog_STRIP
2556 if test -n "$STRIP"; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2558 $as_echo "$STRIP" >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561 $as_echo "no" >&6; }
2566 if test -z "$ac_cv_prog_STRIP"; then
2568 # Extract the first word of "strip", so it can be a program name with args.
2569 set dummy strip; ac_word=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$ac_ct_STRIP"; then
2576 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_ac_ct_STRIP="strip"
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2596 if test -n "$ac_ct_STRIP"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2598 $as_echo "$ac_ct_STRIP" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2604 if test "x$ac_ct_STRIP" = x; then
2607 case $cross_compiling:$ac_tool_warned in
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2611 ac_tool_warned=yes ;;
2616 STRIP="$ac_cv_prog_STRIP"
2620 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2623 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2624 if test -z "$MKDIR_P"; then
2625 if ${ac_cv_path_mkdir+:} false; then :
2626 $as_echo_n "(cached) " >&6
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2632 test -z "$as_dir" && as_dir=.
2633 for ac_prog in mkdir gmkdir; do
2634 for ac_exec_ext in '' $ac_executable_extensions; do
2635 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2636 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2637 'mkdir (GNU coreutils) '* | \
2638 'mkdir (coreutils) '* | \
2639 'mkdir (fileutils) '4.1*)
2640 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2650 test -d ./--version && rmdir ./--version
2651 if test "${ac_cv_path_mkdir+set}" = set; then
2652 MKDIR_P="$ac_cv_path_mkdir -p"
2654 # As a last resort, use the slow shell script. Don't cache a
2655 # value for MKDIR_P within a source directory, because that will
2656 # break other packages using the cache if that directory is
2657 # removed, or if the value is a relative name.
2658 MKDIR_P="$ac_install_sh -d"
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2662 $as_echo "$MKDIR_P" >&6; }
2664 for ac_prog in gawk mawk nawk awk
2666 # Extract the first word of "$ac_prog", so it can be a program name with args.
2667 set dummy $ac_prog; ac_word=$2
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669 $as_echo_n "checking for $ac_word... " >&6; }
2670 if ${ac_cv_prog_AWK+:} false; then :
2671 $as_echo_n "(cached) " >&6
2673 if test -n "$AWK"; then
2674 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2683 ac_cv_prog_AWK="$ac_prog"
2684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 if test -n "$AWK"; then
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2696 $as_echo "$AWK" >&6; }
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699 $as_echo "no" >&6; }
2703 test -n "$AWK" && break
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2707 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2709 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2710 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 cat >conftest.make <<\_ACEOF
2716 @echo '@@@%%%=$(MAKE)=@@@%%%'
2718 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2719 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2721 eval ac_cv_prog_make_${ac_make}_set=yes;;
2723 eval ac_cv_prog_make_${ac_make}_set=no;;
2727 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2729 $as_echo "yes" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2734 SET_MAKE="MAKE=${MAKE-make}"
2737 rm -rf .tst 2>/dev/null
2738 mkdir .tst 2>/dev/null
2739 if test -d .tst; then
2744 rmdir .tst 2>/dev/null
2746 # Check whether --enable-silent-rules was given.
2747 if test "${enable_silent_rules+set}" = set; then :
2748 enableval=$enable_silent_rules;
2751 case $enable_silent_rules in # (((
2752 yes) AM_DEFAULT_VERBOSITY=0;;
2753 no) AM_DEFAULT_VERBOSITY=1;;
2754 *) AM_DEFAULT_VERBOSITY=1;;
2756 am_make=${MAKE-make}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2758 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2759 if ${am_cv_make_support_nested_variables+:} false; then :
2760 $as_echo_n "(cached) " >&6
2762 if $as_echo 'TRUE=$(BAR$(V))
2768 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2769 am_cv_make_support_nested_variables=yes
2771 am_cv_make_support_nested_variables=no
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2775 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2776 if test $am_cv_make_support_nested_variables = yes; then
2778 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2780 AM_V=$AM_DEFAULT_VERBOSITY
2781 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2785 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2786 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2787 # is not polluted with repeated "-I."
2788 am__isrc=' -I$(srcdir)'
2789 # test to see if srcdir already configured
2790 if test -f $srcdir/config.status; then
2791 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2795 # test whether we have cygpath
2796 if test -z "$CYGPATH_W"; then
2797 if (cygpath --version) >/dev/null 2>/dev/null; then
2798 CYGPATH_W='cygpath -w'
2805 # Define the identity of the package.
2810 cat >>confdefs.h <<_ACEOF
2811 #define PACKAGE "$PACKAGE"
2815 cat >>confdefs.h <<_ACEOF
2816 #define VERSION "$VERSION"
2819 # Some tools Automake needs.
2821 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2824 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2827 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2830 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2833 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2835 # For better backward compatibility. To be removed once Automake 1.9.x
2836 # dies out for good. For more background, see:
2837 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2838 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2839 mkdir_p='$(MKDIR_P)'
2841 # We need awk for the "check" target (and possibly the TAP driver). The
2842 # system "awk" is bad on some platforms.
2843 # Always define AMTAR for backward compatibility. Yes, it's still used
2844 # in the wild :-( We should find a proper way to deprecate it ...
2848 # We'll loop over all known methods to create a tar archive until one works.
2849 _am_tools='gnutar pax cpio none'
2851 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2858 # POSIX will say in a future version that running "rm -f" with no argument
2859 # is OK; and we want to be able to make that assumption in our Makefile
2860 # recipes. So use an aggressive probe to check that the usage we want is
2861 # actually supported "in the wild" to an acceptable degree.
2862 # See automake bug#10828.
2863 # To make any issue more visible, cause the running configure to be aborted
2864 # by default if the 'rm' program in use doesn't match our expectations; the
2865 # user can still override this though.
2866 if rm -f && rm -fr && rm -rf; then : OK; else
2870 Your 'rm' program seems unable to run without file operands specified
2871 on the command line, even when the '-f' option is present. This is contrary
2872 to the behaviour of most rm programs out there, and not conforming with
2873 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2875 Please tell bug-automake@gnu.org about your system, including the value
2876 of your $PATH and any error possibly output before this message. This
2877 can help us improve future automake versions.
2880 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2881 echo 'Configuration will proceed anyway, since you have set the' >&2
2882 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2886 Aborting the configuration process, to ensure you take notice of the issue.
2888 You can download and install GNU coreutils to get an 'rm' implementation
2889 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2891 If you want to complete the configuration process using your problematic
2892 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2893 to "yes", and re-run configure.
2896 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2901 DEPDIR="${am__leading_dot}deps"
2903 ac_config_commands="$ac_config_commands depfiles"
2906 am_make=${MAKE-make}
2907 cat > confinc << 'END'
2909 @echo this is the am__doit target
2912 # If we don't find an include directive, just comment out the code.
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2914 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2918 # First try GNU make style include.
2919 echo "include confinc" > confmf
2920 # Ignore all kinds of additional output from 'make'.
2921 case `$am_make -s -f confmf 2> /dev/null` in #(
2922 *the\ am__doit\ target*)
2928 # Now try BSD make style include.
2929 if test "$am__include" = "#"; then
2930 echo '.include "confinc"' > confmf
2931 case `$am_make -s -f confmf 2> /dev/null` in #(
2932 *the\ am__doit\ target*)
2933 am__include=.include
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2942 $as_echo "$_am_result" >&6; }
2943 rm -f confinc confmf
2945 # Check whether --enable-dependency-tracking was given.
2946 if test "${enable_dependency_tracking+set}" = set; then :
2947 enableval=$enable_dependency_tracking;
2950 if test "x$enable_dependency_tracking" != xno; then
2951 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 as_fn_executable_p "$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 as_fn_executable_p "$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 as_fn_executable_p "$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 as_fn_executable_p "$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 as_fn_executable_p "$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 as_fn_executable_p "$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. */
3669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3670 struct buf { int x; };
3671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3672 static char *e (p, i)
3678 static char *f (char * (*g) (char **, int), char **p, ...)
3683 s = g (p, va_arg (v,int));
3688 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3689 function prototypes and stuff, but not '\xHH' hex character constants.
3690 These don't provoke an error unfortunately, instead are silently treated
3691 as 'x'. The following induces an error, until -std is added to get
3692 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3693 array size at least. It's necessary to write '\x00'==0 to get something
3694 that's true only with -std. */
3695 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3697 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3698 inside strings and character constants. */
3700 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3702 int test (int i, double x);
3703 struct s1 {int (*f) (int a);};
3704 struct s2 {int (*f) (double a);};
3705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3711 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3716 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3717 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3719 CC="$ac_save_CC $ac_arg"
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 ac_cv_prog_cc_c89=$ac_arg
3723 rm -f core conftest.err conftest.$ac_objext
3724 test "x$ac_cv_prog_cc_c89" != "xno" && break
3726 rm -f conftest.$ac_ext
3731 case "x$ac_cv_prog_cc_c89" in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3734 $as_echo "none needed" >&6; } ;;
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3737 $as_echo "unsupported" >&6; } ;;
3739 CC="$CC $ac_cv_prog_cc_c89"
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3741 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3743 if test "x$ac_cv_prog_cc_c89" != xno; then :
3748 ac_cpp='$CPP $CPPFLAGS'
3749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3754 ac_cpp='$CPP $CPPFLAGS'
3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3759 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3760 if ${am_cv_prog_cc_c_o+:} false; then :
3761 $as_echo_n "(cached) " >&6
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3774 # Make sure it works both with $CC and with simple cc.
3775 # Following AC_PROG_CC_C_O, we do the test twice because some
3776 # compilers refuse to overwrite an existing .o file with -o,
3777 # though they will create one.
3778 am_cv_prog_cc_c_o=yes
3780 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3781 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } \
3785 && test -f conftest2.$ac_objext; then
3788 am_cv_prog_cc_c_o=no
3792 rm -f core conftest*
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3796 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3797 if test "$am_cv_prog_cc_c_o" != yes; then
3798 # Losing compiler, so override with the script.
3799 # FIXME: It is wrong to rewrite CC.
3800 # But if we don't then we get into trouble of one sort or another.
3801 # A longer-term fix would be to have automake use am__CC in this case,
3802 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3803 CC="$am_aux_dir/compile $CC"
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812 depcc="$CC" am_compiler_list=
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3815 $as_echo_n "checking dependency style of $depcc... " >&6; }
3816 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named 'D' -- because '-MD' means "put the output
3827 # Copy depcomp to subdir because otherwise we won't find it if we're
3828 # using a relative directory.
3829 cp "$am_depcomp" conftest.dir
3831 # We will build objects and dependencies in a subdirectory because
3832 # it helps to detect inapplicable dependency modes. For instance
3833 # both Tru64's cc and ICC support -MD to output dependencies as a
3834 # side effect of compilation, but ICC will put the dependencies in
3835 # the current directory while Tru64 will put them in the object
3839 am_cv_CC_dependencies_compiler_type=none
3840 if test "$am_compiler_list" = ""; then
3841 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3844 case " $depcc " in #(
3845 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3848 for depmode in $am_compiler_list; do
3849 # Setup a source with many dependencies, because some compilers
3850 # like to wrap large dependency lists on column 80 (with \), and
3851 # we should not choose a depcomp mode which is confused by this.
3853 # We need to recreate these files for each test, as the compiler may
3854 # overwrite some of them when testing with obscure command lines.
3855 # This happens at least with the AIX C compiler.
3857 for i in 1 2 3 4 5 6; do
3858 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3859 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3860 # Solaris 10 /bin/sh.
3861 echo '/* dummy */' > sub/conftst$i.h
3863 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3865 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3866 # mode. It turns out that the SunPro C++ compiler does not properly
3867 # handle '-M -o', and we need to detect this. Also, some Intel
3868 # versions had trouble with output in subdirs.
3869 am__obj=sub/conftest.${OBJEXT-o}
3870 am__minus_obj="-o $am__obj"
3873 # This depmode causes a compiler race in universal mode.
3874 test "$am__universal" = false || continue
3877 # After this tag, mechanisms are not by side-effect, so they'll
3878 # only be used when explicitly requested.
3879 if test "x$enable_dependency_tracking" = xyes; then
3885 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3886 # This compiler won't grok '-c -o', but also, the minuso test has
3887 # not run yet. These depmodes are late enough in the game, and
3888 # so weak that their functioning should not be impacted.
3889 am__obj=conftest.${OBJEXT-o}
3894 if depmode=$depmode \
3895 source=sub/conftest.c object=$am__obj \
3896 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3897 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3898 >/dev/null 2>conftest.err &&
3899 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3900 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3901 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3902 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3903 # icc doesn't choke on unknown options, it will just issue warnings
3904 # or remarks (even with -Werror). So we grep stderr for any message
3905 # that says an option was ignored or not supported.
3906 # When given -MP, icc 7.0 and 7.1 complain thusly:
3907 # icc: Command line warning: ignoring option '-M'; no argument required
3908 # The diagnosis changed in icc 8.0:
3909 # icc: Command line remark: option '-MP' not supported
3910 if (grep 'ignoring option' conftest.err ||
3911 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3912 am_cv_CC_dependencies_compiler_type=$depmode
3921 am_cv_CC_dependencies_compiler_type=none
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3926 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3927 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3930 test "x$enable_dependency_tracking" != xno \
3931 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3933 am__fastdepCC_FALSE='#'
3935 am__fastdepCC_TRUE='#'
3936 am__fastdepCC_FALSE=
3941 # Check whether --enable-largefile was given.
3942 if test "${enable_largefile+set}" = set; then :
3943 enableval=$enable_largefile;
3946 if test "$enable_largefile" != no; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3949 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3950 if ${ac_cv_sys_largefile_CC+:} false; then :
3951 $as_echo_n "(cached) " >&6
3953 ac_cv_sys_largefile_CC=no
3954 if test "$GCC" != yes; then
3957 # IRIX 6.2 and later do not support large files by default,
3958 # so use the C compiler's -n32 option if that helps.
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3961 #include <sys/types.h>
3962 /* Check that off_t can represent 2**63 - 1 correctly.
3963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3964 since some C++ compilers masquerading as C compilers
3965 incorrectly reject 9223372036854775807. */
3966 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3968 && LARGE_OFF_T % 2147483647 == 1)
3978 if ac_fn_c_try_compile "$LINENO"; then :
3981 rm -f core conftest.err conftest.$ac_objext
3983 if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_cv_sys_largefile_CC=' -n32'; break
3986 rm -f core conftest.err conftest.$ac_objext
3990 rm -f conftest.$ac_ext
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3994 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3995 if test "$ac_cv_sys_largefile_CC" != no; then
3996 CC=$CC$ac_cv_sys_largefile_CC
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4000 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4001 if ${ac_cv_sys_file_offset_bits+:} false; then :
4002 $as_echo_n "(cached) " >&6
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4007 #include <sys/types.h>
4008 /* Check that off_t can represent 2**63 - 1 correctly.
4009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4010 since some C++ compilers masquerading as C compilers
4011 incorrectly reject 9223372036854775807. */
4012 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4014 && LARGE_OFF_T % 2147483647 == 1)
4024 if ac_fn_c_try_compile "$LINENO"; then :
4025 ac_cv_sys_file_offset_bits=no; break
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4030 #define _FILE_OFFSET_BITS 64
4031 #include <sys/types.h>
4032 /* Check that off_t can represent 2**63 - 1 correctly.
4033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4034 since some C++ compilers masquerading as C compilers
4035 incorrectly reject 9223372036854775807. */
4036 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4038 && LARGE_OFF_T % 2147483647 == 1)
4048 if ac_fn_c_try_compile "$LINENO"; then :
4049 ac_cv_sys_file_offset_bits=64; break
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 ac_cv_sys_file_offset_bits=unknown
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4057 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4058 case $ac_cv_sys_file_offset_bits in #(
4061 cat >>confdefs.h <<_ACEOF
4062 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4067 if test $ac_cv_sys_file_offset_bits = unknown; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4069 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4070 if ${ac_cv_sys_large_files+:} false; then :
4071 $as_echo_n "(cached) " >&6
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4076 #include <sys/types.h>
4077 /* Check that off_t can represent 2**63 - 1 correctly.
4078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4079 since some C++ compilers masquerading as C compilers
4080 incorrectly reject 9223372036854775807. */
4081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4083 && LARGE_OFF_T % 2147483647 == 1)
4093 if ac_fn_c_try_compile "$LINENO"; then :
4094 ac_cv_sys_large_files=no; break
4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4099 #define _LARGE_FILES 1
4100 #include <sys/types.h>
4101 /* Check that off_t can represent 2**63 - 1 correctly.
4102 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4103 since some C++ compilers masquerading as C compilers
4104 incorrectly reject 9223372036854775807. */
4105 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4106 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4107 && LARGE_OFF_T % 2147483647 == 1)
4117 if ac_fn_c_try_compile "$LINENO"; then :
4118 ac_cv_sys_large_files=1; break
4120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121 ac_cv_sys_large_files=unknown
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4126 $as_echo "$ac_cv_sys_large_files" >&6; }
4127 case $ac_cv_sys_large_files in #(
4130 cat >>confdefs.h <<_ACEOF
4131 #define _LARGE_FILES $ac_cv_sys_large_files
4142 # Check for required programs.
4144 ac_cpp='$CPP $CPPFLAGS'
4145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4148 if test -n "$ac_tool_prefix"; then
4149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4150 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if ${ac_cv_prog_CC+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -n "$CC"; then
4157 ac_cv_prog_CC="$CC" # Let the user override the test.
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir=.
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4166 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4177 if test -n "$CC"; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4179 $as_echo "$CC" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4187 if test -z "$ac_cv_prog_CC"; then
4189 # Extract the first word of "gcc", so it can be a program name with args.
4190 set dummy gcc; ac_word=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -n "$ac_ct_CC"; then
4197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir=.
4204 for ac_exec_ext in '' $ac_executable_extensions; do
4205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4206 ac_cv_prog_ac_ct_CC="gcc"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4217 if test -n "$ac_ct_CC"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4219 $as_echo "$ac_ct_CC" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4225 if test "x$ac_ct_CC" = x; then
4228 case $cross_compiling:$ac_tool_warned in
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4232 ac_tool_warned=yes ;;
4240 if test -z "$CC"; then
4241 if test -n "$ac_tool_prefix"; then
4242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4243 set dummy ${ac_tool_prefix}cc; ac_word=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if ${ac_cv_prog_CC+:} false; then :
4247 $as_echo_n "(cached) " >&6
4249 if test -n "$CC"; then
4250 ac_cv_prog_CC="$CC" # Let the user override the test.
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir=.
4257 for ac_exec_ext in '' $ac_executable_extensions; do
4258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_CC="${ac_tool_prefix}cc"
4260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4270 if test -n "$CC"; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4272 $as_echo "$CC" >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275 $as_echo "no" >&6; }
4281 if test -z "$CC"; then
4282 # Extract the first word of "cc", so it can be a program name with args.
4283 set dummy cc; ac_word=$2
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4285 $as_echo_n "checking for $ac_word... " >&6; }
4286 if ${ac_cv_prog_CC+:} false; then :
4287 $as_echo_n "(cached) " >&6
4289 if test -n "$CC"; then
4290 ac_cv_prog_CC="$CC" # Let the user override the test.
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir=.
4298 for ac_exec_ext in '' $ac_executable_extensions; do
4299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4301 ac_prog_rejected=yes
4305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test $ac_prog_rejected = yes; then
4313 # We found a bogon in the path, so make sure we never use it.
4314 set dummy $ac_cv_prog_CC
4316 if test $# != 0; then
4317 # We chose a different compiler from the bogus one.
4318 # However, it has the same basename, so the bogon will be chosen
4319 # first if we set CC to just the basename; use the full file name.
4321 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4327 if test -n "$CC"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4329 $as_echo "$CC" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4337 if test -z "$CC"; then
4338 if test -n "$ac_tool_prefix"; then
4339 for ac_prog in cl.exe
4341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if ${ac_cv_prog_CC+:} false; then :
4346 $as_echo_n "(cached) " >&6
4348 if test -n "$CC"; then
4349 ac_cv_prog_CC="$CC" # Let the user override the test.
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir=.
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4358 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 if test -n "$CC"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4371 $as_echo "$CC" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4378 test -n "$CC" && break
4381 if test -z "$CC"; then
4383 for ac_prog in cl.exe
4385 # Extract the first word of "$ac_prog", so it can be a program name with args.
4386 set dummy $ac_prog; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -n "$ac_ct_CC"; then
4393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_ac_ct_CC="$ac_prog"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4413 if test -n "$ac_ct_CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4415 $as_echo "$ac_ct_CC" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4422 test -n "$ac_ct_CC" && break
4425 if test "x$ac_ct_CC" = x; then
4428 case $cross_compiling:$ac_tool_warned in
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4432 ac_tool_warned=yes ;;
4441 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4443 as_fn_error $? "no acceptable C compiler found in \$PATH
4444 See \`config.log' for more details" "$LINENO" 5; }
4446 # Provide some information about the compiler.
4447 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4450 for ac_option in --version -v -V -qversion; do
4451 { { ac_try="$ac_compiler $ac_option >&5"
4453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4454 *) ac_try_echo=$ac_try;;
4456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4457 $as_echo "$ac_try_echo"; } >&5
4458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4460 if test -s conftest.err; then
4462 ... rest of stderr output deleted ...
4463 10q' conftest.err >conftest.er1
4464 cat conftest.er1 >&5
4466 rm -f conftest.er1 conftest.err
4467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468 test $ac_status = 0; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4472 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4473 if ${ac_cv_c_compiler_gnu+:} false; then :
4474 $as_echo_n "(cached) " >&6
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4490 if ac_fn_c_try_compile "$LINENO"; then :
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4500 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4501 if test $ac_compiler_gnu = yes; then
4506 ac_test_CFLAGS=${CFLAGS+set}
4507 ac_save_CFLAGS=$CFLAGS
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4509 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4510 if ${ac_cv_prog_cc_g+:} false; then :
4511 $as_echo_n "(cached) " >&6
4513 ac_save_c_werror_flag=$ac_c_werror_flag
4514 ac_c_werror_flag=yes
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4528 if ac_fn_c_try_compile "$LINENO"; then :
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4543 if ac_fn_c_try_compile "$LINENO"; then :
4546 ac_c_werror_flag=$ac_save_c_werror_flag
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4559 if ac_fn_c_try_compile "$LINENO"; then :
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 ac_c_werror_flag=$ac_save_c_werror_flag
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4570 $as_echo "$ac_cv_prog_cc_g" >&6; }
4571 if test "$ac_test_CFLAGS" = set; then
4572 CFLAGS=$ac_save_CFLAGS
4573 elif test $ac_cv_prog_cc_g = yes; then
4574 if test "$GCC" = yes; then
4580 if test "$GCC" = yes; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4587 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4588 if ${ac_cv_prog_cc_c89+:} false; then :
4589 $as_echo_n "(cached) " >&6
4591 ac_cv_prog_cc_c89=no
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4599 struct buf { int x; };
4600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4601 static char *e (p, i)
4607 static char *f (char * (*g) (char **, int), char **p, ...)
4612 s = g (p, va_arg (v,int));
4617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4618 function prototypes and stuff, but not '\xHH' hex character constants.
4619 These don't provoke an error unfortunately, instead are silently treated
4620 as 'x'. The following induces an error, until -std is added to get
4621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4622 array size at least. It's necessary to write '\x00'==0 to get something
4623 that's true only with -std. */
4624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4626 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4627 inside strings and character constants. */
4629 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4631 int test (int i, double x);
4632 struct s1 {int (*f) (int a);};
4633 struct s2 {int (*f) (double a);};
4634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4640 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4645 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4648 CC="$ac_save_CC $ac_arg"
4649 if ac_fn_c_try_compile "$LINENO"; then :
4650 ac_cv_prog_cc_c89=$ac_arg
4652 rm -f core conftest.err conftest.$ac_objext
4653 test "x$ac_cv_prog_cc_c89" != "xno" && break
4655 rm -f conftest.$ac_ext
4660 case "x$ac_cv_prog_cc_c89" in
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4663 $as_echo "none needed" >&6; } ;;
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4666 $as_echo "unsupported" >&6; } ;;
4668 CC="$CC $ac_cv_prog_cc_c89"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4670 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4672 if test "x$ac_cv_prog_cc_c89" != xno; then :
4677 ac_cpp='$CPP $CPPFLAGS'
4678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4688 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4689 if ${am_cv_prog_cc_c_o+:} false; then :
4690 $as_echo_n "(cached) " >&6
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4703 # Make sure it works both with $CC and with simple cc.
4704 # Following AC_PROG_CC_C_O, we do the test twice because some
4705 # compilers refuse to overwrite an existing .o file with -o,
4706 # though they will create one.
4707 am_cv_prog_cc_c_o=yes
4709 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4710 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } \
4714 && test -f conftest2.$ac_objext; then
4717 am_cv_prog_cc_c_o=no
4721 rm -f core conftest*
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4725 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4726 if test "$am_cv_prog_cc_c_o" != yes; then
4727 # Losing compiler, so override with the script.
4728 # FIXME: It is wrong to rewrite CC.
4729 # But if we don't then we get into trouble of one sort or another.
4730 # A longer-term fix would be to have automake use am__CC in this case,
4731 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4732 CC="$am_aux_dir/compile $CC"
4735 ac_cpp='$CPP $CPPFLAGS'
4736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4741 depcc="$CC" am_compiler_list=
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4744 $as_echo_n "checking dependency style of $depcc... " >&6; }
4745 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4746 $as_echo_n "(cached) " >&6
4748 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4749 # We make a subdir and do the tests there. Otherwise we can end up
4750 # making bogus files that we don't know about and never remove. For
4751 # instance it was reported that on HP-UX the gcc test will end up
4752 # making a dummy file named 'D' -- because '-MD' means "put the output
4756 # Copy depcomp to subdir because otherwise we won't find it if we're
4757 # using a relative directory.
4758 cp "$am_depcomp" conftest.dir
4760 # We will build objects and dependencies in a subdirectory because
4761 # it helps to detect inapplicable dependency modes. For instance
4762 # both Tru64's cc and ICC support -MD to output dependencies as a
4763 # side effect of compilation, but ICC will put the dependencies in
4764 # the current directory while Tru64 will put them in the object
4768 am_cv_CC_dependencies_compiler_type=none
4769 if test "$am_compiler_list" = ""; then
4770 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4773 case " $depcc " in #(
4774 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4777 for depmode in $am_compiler_list; do
4778 # Setup a source with many dependencies, because some compilers
4779 # like to wrap large dependency lists on column 80 (with \), and
4780 # we should not choose a depcomp mode which is confused by this.
4782 # We need to recreate these files for each test, as the compiler may
4783 # overwrite some of them when testing with obscure command lines.
4784 # This happens at least with the AIX C compiler.
4786 for i in 1 2 3 4 5 6; do
4787 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4788 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4789 # Solaris 10 /bin/sh.
4790 echo '/* dummy */' > sub/conftst$i.h
4792 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4794 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4795 # mode. It turns out that the SunPro C++ compiler does not properly
4796 # handle '-M -o', and we need to detect this. Also, some Intel
4797 # versions had trouble with output in subdirs.
4798 am__obj=sub/conftest.${OBJEXT-o}
4799 am__minus_obj="-o $am__obj"
4802 # This depmode causes a compiler race in universal mode.
4803 test "$am__universal" = false || continue
4806 # After this tag, mechanisms are not by side-effect, so they'll
4807 # only be used when explicitly requested.
4808 if test "x$enable_dependency_tracking" = xyes; then
4814 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4815 # This compiler won't grok '-c -o', but also, the minuso test has
4816 # not run yet. These depmodes are late enough in the game, and
4817 # so weak that their functioning should not be impacted.
4818 am__obj=conftest.${OBJEXT-o}
4823 if depmode=$depmode \
4824 source=sub/conftest.c object=$am__obj \
4825 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4826 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4827 >/dev/null 2>conftest.err &&
4828 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4829 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4830 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4831 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4832 # icc doesn't choke on unknown options, it will just issue warnings
4833 # or remarks (even with -Werror). So we grep stderr for any message
4834 # that says an option was ignored or not supported.
4835 # When given -MP, icc 7.0 and 7.1 complain thusly:
4836 # icc: Command line warning: ignoring option '-M'; no argument required
4837 # The diagnosis changed in icc 8.0:
4838 # icc: Command line remark: option '-MP' not supported
4839 if (grep 'ignoring option' conftest.err ||
4840 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4841 am_cv_CC_dependencies_compiler_type=$depmode
4850 am_cv_CC_dependencies_compiler_type=none
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4855 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4856 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4859 test "x$enable_dependency_tracking" != xno \
4860 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4862 am__fastdepCC_FALSE='#'
4864 am__fastdepCC_TRUE='#'
4865 am__fastdepCC_FALSE=
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4872 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4877 macro_version='2.4.6'
4878 macro_revision='2.4.6'
4892 ltmain=$ac_aux_dir/ltmain.sh
4894 # Make sure we can run config.sub.
4895 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4896 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4899 $as_echo_n "checking build system type... " >&6; }
4900 if ${ac_cv_build+:} false; then :
4901 $as_echo_n "(cached) " >&6
4903 ac_build_alias=$build_alias
4904 test "x$ac_build_alias" = x &&
4905 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4906 test "x$ac_build_alias" = x &&
4907 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4908 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4909 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4913 $as_echo "$ac_cv_build" >&6; }
4914 case $ac_cv_build in
4916 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4919 ac_save_IFS=$IFS; IFS='-'
4925 # Remember, the first character of IFS is used to create $*,
4926 # except with old shells:
4929 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4933 $as_echo_n "checking host system type... " >&6; }
4934 if ${ac_cv_host+:} false; then :
4935 $as_echo_n "(cached) " >&6
4937 if test "x$host_alias" = x; then
4938 ac_cv_host=$ac_cv_build
4940 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4941 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4946 $as_echo "$ac_cv_host" >&6; }
4949 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4952 ac_save_IFS=$IFS; IFS='-'
4958 # Remember, the first character of IFS is used to create $*,
4959 # except with old shells:
4962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4965 # Backslashify metacharacters that are still active within
4966 # double-quoted strings.
4967 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4969 # Same as above, but do not quote variable references.
4970 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4972 # Sed substitution to delay expansion of an escaped shell variable in a
4973 # double_quote_subst'ed string.
4974 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4976 # Sed substitution to delay expansion of an escaped single quote.
4977 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4979 # Sed substitution to avoid accidental globbing in evaled expressions
4980 no_glob_subst='s/\*/\\\*/g'
4982 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4983 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4984 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4987 $as_echo_n "checking how to print strings... " >&6; }
4988 # Test print first, because it will be a builtin if present.
4989 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4990 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4992 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4995 # Use this function as a fallback that always works.
4996 func_fallback_echo ()
4998 eval 'cat <<_LTECHO_EOF
5002 ECHO='func_fallback_echo'
5005 # func_echo_all arg...
5006 # Invoke $ECHO with all args, space-separated.
5013 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5014 $as_echo "printf" >&6; } ;;
5015 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5016 $as_echo "print -r" >&6; } ;;
5017 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5018 $as_echo "cat" >&6; } ;;
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5035 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5036 if ${ac_cv_path_SED+:} false; then :
5037 $as_echo_n "(cached) " >&6
5039 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5040 for ac_i in 1 2 3 4 5 6 7; do
5041 ac_script="$ac_script$as_nl$ac_script"
5043 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5044 { ac_script=; unset ac_script;}
5045 if test -z "$SED"; then
5046 ac_path_SED_found=false
5047 # Loop through the user's path and test for each of PROGNAME-LIST
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir=.
5053 for ac_prog in sed gsed; do
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5056 as_fn_executable_p "$ac_path_SED" || continue
5057 # Check for GNU ac_path_SED and select it if it is found.
5058 # Check for GNU $ac_path_SED
5059 case `"$ac_path_SED" --version 2>&1` in
5061 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5064 $as_echo_n 0123456789 >"conftest.in"
5067 cat "conftest.in" "conftest.in" >"conftest.tmp"
5068 mv "conftest.tmp" "conftest.in"
5069 cp "conftest.in" "conftest.nl"
5070 $as_echo '' >> "conftest.nl"
5071 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5072 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5073 as_fn_arith $ac_count + 1 && ac_count=$as_val
5074 if test $ac_count -gt ${ac_path_SED_max-0}; then
5075 # Best one so far, save it but keep looking for a better one
5076 ac_cv_path_SED="$ac_path_SED"
5077 ac_path_SED_max=$ac_count
5079 # 10*(2^10) chars as input seems more than enough
5080 test $ac_count -gt 10 && break
5082 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5085 $ac_path_SED_found && break 3
5090 if test -z "$ac_cv_path_SED"; then
5091 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5099 $as_echo "$ac_cv_path_SED" >&6; }
5100 SED="$ac_cv_path_SED"
5103 test -z "$SED" && SED=sed
5104 Xsed="$SED -e 1s/^X//"
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5117 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5118 if ${ac_cv_path_GREP+:} false; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -z "$GREP"; then
5122 ac_path_GREP_found=false
5123 # Loop through the user's path and test for each of PROGNAME-LIST
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5128 test -z "$as_dir" && as_dir=.
5129 for ac_prog in grep ggrep; do
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5132 as_fn_executable_p "$ac_path_GREP" || continue
5133 # Check for GNU ac_path_GREP and select it if it is found.
5134 # Check for GNU $ac_path_GREP
5135 case `"$ac_path_GREP" --version 2>&1` in
5137 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5140 $as_echo_n 0123456789 >"conftest.in"
5143 cat "conftest.in" "conftest.in" >"conftest.tmp"
5144 mv "conftest.tmp" "conftest.in"
5145 cp "conftest.in" "conftest.nl"
5146 $as_echo 'GREP' >> "conftest.nl"
5147 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5148 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5149 as_fn_arith $ac_count + 1 && ac_count=$as_val
5150 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5151 # Best one so far, save it but keep looking for a better one
5152 ac_cv_path_GREP="$ac_path_GREP"
5153 ac_path_GREP_max=$ac_count
5155 # 10*(2^10) chars as input seems more than enough
5156 test $ac_count -gt 10 && break
5158 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5161 $ac_path_GREP_found && break 3
5166 if test -z "$ac_cv_path_GREP"; then
5167 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5170 ac_cv_path_GREP=$GREP
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5175 $as_echo "$ac_cv_path_GREP" >&6; }
5176 GREP="$ac_cv_path_GREP"
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5180 $as_echo_n "checking for egrep... " >&6; }
5181 if ${ac_cv_path_EGREP+:} false; then :
5182 $as_echo_n "(cached) " >&6
5184 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5185 then ac_cv_path_EGREP="$GREP -E"
5187 if test -z "$EGREP"; then
5188 ac_path_EGREP_found=false
5189 # Loop through the user's path and test for each of PROGNAME-LIST
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5194 test -z "$as_dir" && as_dir=.
5195 for ac_prog in egrep; do
5196 for ac_exec_ext in '' $ac_executable_extensions; do
5197 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5198 as_fn_executable_p "$ac_path_EGREP" || continue
5199 # Check for GNU ac_path_EGREP and select it if it is found.
5200 # Check for GNU $ac_path_EGREP
5201 case `"$ac_path_EGREP" --version 2>&1` in
5203 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5206 $as_echo_n 0123456789 >"conftest.in"
5209 cat "conftest.in" "conftest.in" >"conftest.tmp"
5210 mv "conftest.tmp" "conftest.in"
5211 cp "conftest.in" "conftest.nl"
5212 $as_echo 'EGREP' >> "conftest.nl"
5213 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5214 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5215 as_fn_arith $ac_count + 1 && ac_count=$as_val
5216 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5217 # Best one so far, save it but keep looking for a better one
5218 ac_cv_path_EGREP="$ac_path_EGREP"
5219 ac_path_EGREP_max=$ac_count
5221 # 10*(2^10) chars as input seems more than enough
5222 test $ac_count -gt 10 && break
5224 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5227 $ac_path_EGREP_found && break 3
5232 if test -z "$ac_cv_path_EGREP"; then
5233 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5236 ac_cv_path_EGREP=$EGREP
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5242 $as_echo "$ac_cv_path_EGREP" >&6; }
5243 EGREP="$ac_cv_path_EGREP"
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5247 $as_echo_n "checking for fgrep... " >&6; }
5248 if ${ac_cv_path_FGREP+:} false; then :
5249 $as_echo_n "(cached) " >&6
5251 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5252 then ac_cv_path_FGREP="$GREP -F"
5254 if test -z "$FGREP"; then
5255 ac_path_FGREP_found=false
5256 # Loop through the user's path and test for each of PROGNAME-LIST
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5261 test -z "$as_dir" && as_dir=.
5262 for ac_prog in fgrep; do
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5265 as_fn_executable_p "$ac_path_FGREP" || continue
5266 # Check for GNU ac_path_FGREP and select it if it is found.
5267 # Check for GNU $ac_path_FGREP
5268 case `"$ac_path_FGREP" --version 2>&1` in
5270 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5273 $as_echo_n 0123456789 >"conftest.in"
5276 cat "conftest.in" "conftest.in" >"conftest.tmp"
5277 mv "conftest.tmp" "conftest.in"
5278 cp "conftest.in" "conftest.nl"
5279 $as_echo 'FGREP' >> "conftest.nl"
5280 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5281 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5282 as_fn_arith $ac_count + 1 && ac_count=$as_val
5283 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5284 # Best one so far, save it but keep looking for a better one
5285 ac_cv_path_FGREP="$ac_path_FGREP"
5286 ac_path_FGREP_max=$ac_count
5288 # 10*(2^10) chars as input seems more than enough
5289 test $ac_count -gt 10 && break
5291 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5294 $ac_path_FGREP_found && break 3
5299 if test -z "$ac_cv_path_FGREP"; then
5300 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5303 ac_cv_path_FGREP=$FGREP
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5309 $as_echo "$ac_cv_path_FGREP" >&6; }
5310 FGREP="$ac_cv_path_FGREP"
5313 test -z "$GREP" && GREP=grep
5333 # Check whether --with-gnu-ld was given.
5334 if test "${with_gnu_ld+set}" = set; then :
5335 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5341 if test yes = "$GCC"; then
5342 # Check if gcc -print-prog-name=ld gives a path.
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5344 $as_echo_n "checking for ld used by $CC... " >&6; }
5347 # gcc leaves a trailing carriage return, which upsets mingw
5348 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5350 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5353 # Accept absolute paths.
5355 re_direlt='/[^/][^/]*/\.\./'
5356 # Canonicalize the pathname of ld
5357 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5358 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5359 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5361 test -z "$LD" && LD=$ac_prog
5364 # If it fails, then pretend we aren't using GCC.
5368 # If it is relative, then search for the first ld in PATH.
5372 elif test yes = "$with_gnu_ld"; then
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5374 $as_echo_n "checking for GNU ld... " >&6; }
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5377 $as_echo_n "checking for non-GNU ld... " >&6; }
5379 if ${lt_cv_path_LD+:} false; then :
5380 $as_echo_n "(cached) " >&6
5382 if test -z "$LD"; then
5383 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5384 for ac_dir in $PATH; do
5386 test -z "$ac_dir" && ac_dir=.
5387 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5388 lt_cv_path_LD=$ac_dir/$ac_prog
5389 # Check to see if the program is GNU ld. I'd rather use --version,
5390 # but apparently some variants of GNU ld only accept -v.
5391 # Break only if it was the GNU/non-GNU ld that we prefer.
5392 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5393 *GNU* | *'with BFD'*)
5394 test no != "$with_gnu_ld" && break
5397 test yes != "$with_gnu_ld" && break
5404 lt_cv_path_LD=$LD # Let the user override the test with a path.
5409 if test -n "$LD"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5411 $as_echo "$LD" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5416 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5418 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5419 if ${lt_cv_prog_gnu_ld+:} false; then :
5420 $as_echo_n "(cached) " >&6
5422 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5423 case `$LD -v 2>&1 </dev/null` in
5424 *GNU* | *'with BFD'*)
5425 lt_cv_prog_gnu_ld=yes
5428 lt_cv_prog_gnu_ld=no
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5433 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5434 with_gnu_ld=$lt_cv_prog_gnu_ld
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5445 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5446 if ${lt_cv_path_NM+:} false; then :
5447 $as_echo_n "(cached) " >&6
5449 if test -n "$NM"; then
5450 # Let the user override the test.
5453 lt_nm_to_check=${ac_tool_prefix}nm
5454 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5455 lt_nm_to_check="$lt_nm_to_check nm"
5457 for lt_tmp_nm in $lt_nm_to_check; do
5458 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5459 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5461 test -z "$ac_dir" && ac_dir=.
5462 tmp_nm=$ac_dir/$lt_tmp_nm
5463 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5464 # Check to see if the nm accepts a BSD-compat flag.
5465 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5466 # nm: unknown option "B" ignored
5467 # Tru64's nm complains that /dev/null is an invalid object file
5468 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5470 mingw*) lt_bad_file=conftest.nm/nofile ;;
5471 *) lt_bad_file=/dev/null ;;
5473 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5474 *$lt_bad_file* | *'Invalid file or object type'*)
5475 lt_cv_path_NM="$tmp_nm -B"
5479 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5481 lt_cv_path_NM="$tmp_nm -p"
5485 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5486 continue # so that we can try to find one that supports BSD flags
5495 : ${lt_cv_path_NM=no}
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5499 $as_echo "$lt_cv_path_NM" >&6; }
5500 if test no != "$lt_cv_path_NM"; then
5503 # Didn't find any BSD compatible name lister, look for dumpbin.
5504 if test -n "$DUMPBIN"; then :
5505 # Let the user override the test.
5507 if test -n "$ac_tool_prefix"; then
5508 for ac_prog in dumpbin "link -dump"
5510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_DUMPBIN+:} false; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -n "$DUMPBIN"; then
5518 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 DUMPBIN=$ac_cv_prog_DUMPBIN
5538 if test -n "$DUMPBIN"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5540 $as_echo "$DUMPBIN" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5547 test -n "$DUMPBIN" && break
5550 if test -z "$DUMPBIN"; then
5551 ac_ct_DUMPBIN=$DUMPBIN
5552 for ac_prog in dumpbin "link -dump"
5554 # Extract the first word of "$ac_prog", so it can be a program name with args.
5555 set dummy $ac_prog; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -n "$ac_ct_DUMPBIN"; then
5562 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5571 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5582 if test -n "$ac_ct_DUMPBIN"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5584 $as_echo "$ac_ct_DUMPBIN" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5591 test -n "$ac_ct_DUMPBIN" && break
5594 if test "x$ac_ct_DUMPBIN" = x; then
5597 case $cross_compiling:$ac_tool_warned in
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5601 ac_tool_warned=yes ;;
5603 DUMPBIN=$ac_ct_DUMPBIN
5607 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5609 DUMPBIN="$DUMPBIN -symbols -headers"
5617 if test : != "$DUMPBIN"; then
5621 test -z "$NM" && NM=nm
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5629 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5630 if ${lt_cv_nm_interface+:} false; then :
5631 $as_echo_n "(cached) " >&6
5633 lt_cv_nm_interface="BSD nm"
5634 echo "int some_variable = 0;" > conftest.$ac_ext
5635 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5636 (eval "$ac_compile" 2>conftest.err)
5637 cat conftest.err >&5
5638 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5639 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5640 cat conftest.err >&5
5641 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5642 cat conftest.out >&5
5643 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5644 lt_cv_nm_interface="MS dumpbin"
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5649 $as_echo "$lt_cv_nm_interface" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5652 $as_echo_n "checking whether ln -s works... " >&6; }
5654 if test "$LN_S" = "ln -s"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5656 $as_echo "yes" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5659 $as_echo "no, using $LN_S" >&6; }
5662 # find the maximum length of command line arguments
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5664 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5665 if ${lt_cv_sys_max_cmd_len+:} false; then :
5666 $as_echo_n "(cached) " >&6
5673 # On DJGPP, this test can blow up pretty badly due to problems in libc
5674 # (any single argument exceeding 2000 bytes causes a buffer overrun
5675 # during glob expansion). Even if it were fixed, the result of this
5676 # check would be larger than it should be.
5677 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5681 # Under GNU Hurd, this test is not required because there is
5682 # no limit to the length of command line arguments.
5683 # Libtool will interpret -1 as no limit whatsoever
5684 lt_cv_sys_max_cmd_len=-1;
5687 cygwin* | mingw* | cegcc*)
5688 # On Win9x/ME, this test blows up -- it succeeds, but takes
5689 # about 5 minutes as the teststring grows exponentially.
5690 # Worse, since 9x/ME are not pre-emptively multitasking,
5691 # you end up with a "frozen" computer, even though with patience
5692 # the test eventually succeeds (with a max line length of 256k).
5693 # Instead, let's just punt: use the minimum linelength reported by
5694 # all of the supported platforms: 8192 (on NT/2K/XP).
5695 lt_cv_sys_max_cmd_len=8192;
5699 # On MiNT this can take a long time and run out of memory.
5700 lt_cv_sys_max_cmd_len=8192;
5704 # On AmigaOS with pdksh, this test takes hours, literally.
5705 # So we just punt and use a minimum line length of 8192.
5706 lt_cv_sys_max_cmd_len=8192;
5709 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5710 # This has been around since 386BSD, at least. Likely further.
5711 if test -x /sbin/sysctl; then
5712 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5713 elif test -x /usr/sbin/sysctl; then
5714 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5716 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5718 # And add a safety zone
5719 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5724 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5725 lt_cv_sys_max_cmd_len=196608
5729 # The test takes a long time on OS/2.
5730 lt_cv_sys_max_cmd_len=8192
5734 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5735 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5736 # nice to cause kernel panics so lets avoid the loop below.
5737 # First set a reasonable default.
5738 lt_cv_sys_max_cmd_len=16384
5740 if test -x /sbin/sysconfig; then
5741 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5742 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5747 lt_cv_sys_max_cmd_len=102400
5749 sysv5* | sco5v6* | sysv4.2uw2*)
5750 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5751 if test -n "$kargmax"; then
5752 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5754 lt_cv_sys_max_cmd_len=32768
5758 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5759 if test -n "$lt_cv_sys_max_cmd_len" && \
5760 test undefined != "$lt_cv_sys_max_cmd_len"; then
5761 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5762 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5764 # Make teststring a little bigger before we do anything with it.
5765 # a 1K string should be a reasonable start.
5766 for i in 1 2 3 4 5 6 7 8; do
5767 teststring=$teststring$teststring
5769 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5770 # If test is not a shell built-in, we'll probably end up computing a
5771 # maximum length that is only half of the actual maximum length, but
5773 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5774 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5775 test 17 != "$i" # 1/2 MB should be enough
5778 teststring=$teststring$teststring
5780 # Only check the string length outside the loop.
5781 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5783 # Add a significant safety factor because C++ compilers can tack on
5784 # massive amounts of additional arguments before passing them to the
5785 # linker. It appears as though 1/2 is a usable value.
5786 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5793 if test -n "$lt_cv_sys_max_cmd_len"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5795 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5798 $as_echo "none" >&6; }
5800 max_cmd_len=$lt_cv_sys_max_cmd_len
5811 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5821 # test EBCDIC or ASCII
5822 case `echo X|tr X '\101'` in
5823 A) # ASCII based system
5824 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5825 lt_SP2NL='tr \040 \012'
5826 lt_NL2SP='tr \015\012 \040\040'
5828 *) # EBCDIC based system
5829 lt_SP2NL='tr \100 \n'
5830 lt_NL2SP='tr \r\n \100\100'
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5843 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5844 if ${lt_cv_to_host_file_cmd+:} false; then :
5845 $as_echo_n "(cached) " >&6
5850 *-*-mingw* ) # actually msys
5851 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5854 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5856 * ) # otherwise, assume *nix
5857 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5863 *-*-mingw* ) # actually msys
5864 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5867 lt_cv_to_host_file_cmd=func_convert_file_noop
5869 * ) # otherwise, assume *nix
5870 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5874 * ) # unhandled hosts (and "normal" native builds)
5875 lt_cv_to_host_file_cmd=func_convert_file_noop
5881 to_host_file_cmd=$lt_cv_to_host_file_cmd
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5883 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5890 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5891 if ${lt_cv_to_tool_file_cmd+:} false; then :
5892 $as_echo_n "(cached) " >&6
5894 #assume ordinary cross tools, or native build.
5895 lt_cv_to_tool_file_cmd=func_convert_file_noop
5899 *-*-mingw* ) # actually msys
5900 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5908 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5910 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5917 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5918 if ${lt_cv_ld_reload_flag+:} false; then :
5919 $as_echo_n "(cached) " >&6
5921 lt_cv_ld_reload_flag='-r'
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5924 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5925 reload_flag=$lt_cv_ld_reload_flag
5926 case $reload_flag in
5928 *) reload_flag=" $reload_flag" ;;
5930 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5932 cygwin* | mingw* | pw32* | cegcc*)
5933 if test yes != "$GCC"; then
5938 if test yes = "$GCC"; then
5939 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5941 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5954 if test -n "$ac_tool_prefix"; then
5955 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5956 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_OBJDUMP+:} false; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$OBJDUMP"; then
5963 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 OBJDUMP=$ac_cv_prog_OBJDUMP
5983 if test -n "$OBJDUMP"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5985 $as_echo "$OBJDUMP" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5993 if test -z "$ac_cv_prog_OBJDUMP"; then
5994 ac_ct_OBJDUMP=$OBJDUMP
5995 # Extract the first word of "objdump", so it can be a program name with args.
5996 set dummy objdump; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6000 $as_echo_n "(cached) " >&6
6002 if test -n "$ac_ct_OBJDUMP"; then
6003 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6023 if test -n "$ac_ct_OBJDUMP"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6025 $as_echo "$ac_ct_OBJDUMP" >&6; }
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6031 if test "x$ac_ct_OBJDUMP" = x; then
6034 case $cross_compiling:$ac_tool_warned in
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6038 ac_tool_warned=yes ;;
6040 OBJDUMP=$ac_ct_OBJDUMP
6043 OBJDUMP="$ac_cv_prog_OBJDUMP"
6046 test -z "$OBJDUMP" && OBJDUMP=objdump
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6057 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6058 if ${lt_cv_deplibs_check_method+:} false; then :
6059 $as_echo_n "(cached) " >&6
6061 lt_cv_file_magic_cmd='$MAGIC_CMD'
6062 lt_cv_file_magic_test_file=
6063 lt_cv_deplibs_check_method='unknown'
6064 # Need to set the preceding variable on all platforms that support
6065 # interlibrary dependencies.
6066 # 'none' -- dependencies not supported.
6067 # 'unknown' -- same as none, but documents that we really don't know.
6068 # 'pass_all' -- all dependencies passed with no checks.
6069 # 'test_compile' -- check by making test program.
6070 # 'file_magic [[regex]]' -- check by looking for files in library path
6071 # that responds to the $file_magic_cmd with a given extended regex.
6072 # If you have 'file' or equivalent on your system and you're not sure
6073 # whether 'pass_all' will *always* work, you probably want this one.
6077 lt_cv_deplibs_check_method=pass_all
6081 lt_cv_deplibs_check_method=pass_all
6085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6086 lt_cv_file_magic_cmd='/usr/bin/file -L'
6087 lt_cv_file_magic_test_file=/shlib/libc.so
6091 # func_win32_libid is a shell function defined in ltmain.sh
6092 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6093 lt_cv_file_magic_cmd='func_win32_libid'
6097 # Base MSYS/MinGW do not provide the 'file' command needed by
6098 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6099 # unless we find 'file', for example because we are cross-compiling.
6100 if ( file / ) >/dev/null 2>&1; then
6101 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6102 lt_cv_file_magic_cmd='func_win32_libid'
6104 # Keep this pattern in sync with the one in func_win32_libid.
6105 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6106 lt_cv_file_magic_cmd='$OBJDUMP -f'
6111 # use the weaker test based on 'objdump'. See mingw*.
6112 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6113 lt_cv_file_magic_cmd='$OBJDUMP -f'
6116 darwin* | rhapsody*)
6117 lt_cv_deplibs_check_method=pass_all
6120 freebsd* | dragonfly*)
6121 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6124 # Not sure whether the presence of OpenBSD here was a mistake.
6125 # Let's accept both of them until this is cleared up.
6126 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6127 lt_cv_file_magic_cmd=/usr/bin/file
6128 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6132 lt_cv_deplibs_check_method=pass_all
6137 lt_cv_deplibs_check_method=pass_all
6140 hpux10.20* | hpux11*)
6141 lt_cv_file_magic_cmd=/usr/bin/file
6144 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6145 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6148 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]'
6149 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6152 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6153 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6159 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6160 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6163 irix5* | irix6* | nonstopux*)
6165 *-32|*"-32 ") libmagic=32-bit;;
6166 *-n32|*"-n32 ") libmagic=N32;;
6167 *-64|*"-64 ") libmagic=64-bit;;
6168 *) libmagic=never-match;;
6170 lt_cv_deplibs_check_method=pass_all
6173 # This must be glibc/ELF.
6174 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6175 lt_cv_deplibs_check_method=pass_all
6179 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6180 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6188 lt_cv_file_magic_cmd=/usr/bin/file
6189 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6193 lt_cv_deplibs_check_method=pass_all
6197 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6200 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6204 osf3* | osf4* | osf5*)
6205 lt_cv_deplibs_check_method=pass_all
6209 lt_cv_deplibs_check_method=pass_all
6213 lt_cv_deplibs_check_method=pass_all
6216 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6217 lt_cv_deplibs_check_method=pass_all
6221 case $host_vendor in
6223 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]'
6224 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6227 lt_cv_deplibs_check_method=pass_all
6230 lt_cv_file_magic_cmd='/bin/file'
6231 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6234 lt_cv_file_magic_cmd='/bin/file'
6235 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6236 lt_cv_file_magic_test_file=/lib/libc.so
6239 lt_cv_deplibs_check_method=pass_all
6242 lt_cv_deplibs_check_method=pass_all
6248 lt_cv_deplibs_check_method=pass_all
6251 lt_cv_deplibs_check_method=pass_all
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6257 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6261 if test "$build" = "$host"; then
6264 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6267 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6273 file_magic_cmd=$lt_cv_file_magic_cmd
6274 deplibs_check_method=$lt_cv_deplibs_check_method
6275 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_DLLTOOL+:} false; then :
6304 $as_echo_n "(cached) " >&6
6306 if test -n "$DLLTOOL"; then
6307 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 DLLTOOL=$ac_cv_prog_DLLTOOL
6327 if test -n "$DLLTOOL"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6329 $as_echo "$DLLTOOL" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6337 if test -z "$ac_cv_prog_DLLTOOL"; then
6338 ac_ct_DLLTOOL=$DLLTOOL
6339 # Extract the first word of "dlltool", so it can be a program name with args.
6340 set dummy dlltool; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6344 $as_echo_n "(cached) " >&6
6346 if test -n "$ac_ct_DLLTOOL"; then
6347 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6356 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6367 if test -n "$ac_ct_DLLTOOL"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6369 $as_echo "$ac_ct_DLLTOOL" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6375 if test "x$ac_ct_DLLTOOL" = x; then
6378 case $cross_compiling:$ac_tool_warned in
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6382 ac_tool_warned=yes ;;
6384 DLLTOOL=$ac_ct_DLLTOOL
6387 DLLTOOL="$ac_cv_prog_DLLTOOL"
6390 test -z "$DLLTOOL" && DLLTOOL=dlltool
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6402 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6403 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6404 $as_echo_n "(cached) " >&6
6406 lt_cv_sharedlib_from_linklib_cmd='unknown'
6409 cygwin* | mingw* | pw32* | cegcc*)
6410 # two different shell functions defined in ltmain.sh;
6411 # decide which one to use based on capabilities of $DLLTOOL
6412 case `$DLLTOOL --help 2>&1` in
6413 *--identify-strict*)
6414 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6417 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6422 # fallback: assume linklib IS sharedlib
6423 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6429 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6430 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6431 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6439 if test -n "$ac_tool_prefix"; then
6442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 $as_echo_n "checking for $ac_word... " >&6; }
6446 if ${ac_cv_prog_AR+:} false; then :
6447 $as_echo_n "(cached) " >&6
6449 if test -n "$AR"; then
6450 ac_cv_prog_AR="$AR" # Let the user override the test.
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6470 if test -n "$AR"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6472 $as_echo "$AR" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6479 test -n "$AR" && break
6482 if test -z "$AR"; then
6486 # Extract the first word of "$ac_prog", so it can be a program name with args.
6487 set dummy $ac_prog; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6491 $as_echo_n "(cached) " >&6
6493 if test -n "$ac_ct_AR"; then
6494 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 ac_cv_prog_ac_ct_AR="$ac_prog"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6514 if test -n "$ac_ct_AR"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6516 $as_echo "$ac_ct_AR" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6523 test -n "$ac_ct_AR" && break
6526 if test "x$ac_ct_AR" = x; then
6529 case $cross_compiling:$ac_tool_warned in
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6533 ac_tool_warned=yes ;;
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6553 $as_echo_n "checking for archiver @FILE support... " >&6; }
6554 if ${lt_cv_ar_at_file+:} false; then :
6555 $as_echo_n "(cached) " >&6
6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6569 if ac_fn_c_try_compile "$LINENO"; then :
6570 echo conftest.$ac_objext > conftest.lst
6571 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6572 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6573 (eval $lt_ar_try) 2>&5
6575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6576 test $ac_status = 0; }
6577 if test 0 -eq "$ac_status"; then
6578 # Ensure the archiver fails upon bogus file names.
6579 rm -f conftest.$ac_objext libconftest.a
6580 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6581 (eval $lt_ar_try) 2>&5
6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6584 test $ac_status = 0; }
6585 if test 0 -ne "$ac_status"; then
6589 rm -f conftest.* libconftest.a
6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6596 $as_echo "$lt_cv_ar_at_file" >&6; }
6598 if test no = "$lt_cv_ar_at_file"; then
6601 archiver_list_spec=$lt_cv_ar_at_file
6610 if test -n "$ac_tool_prefix"; then
6611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6612 set dummy ${ac_tool_prefix}strip; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if ${ac_cv_prog_STRIP+:} false; then :
6616 $as_echo_n "(cached) " >&6
6618 if test -n "$STRIP"; then
6619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 STRIP=$ac_cv_prog_STRIP
6639 if test -n "$STRIP"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6641 $as_echo "$STRIP" >&6; }
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6649 if test -z "$ac_cv_prog_STRIP"; then
6651 # Extract the first word of "strip", so it can be a program name with args.
6652 set dummy strip; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6656 $as_echo_n "(cached) " >&6
6658 if test -n "$ac_ct_STRIP"; then
6659 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 test -z "$as_dir" && as_dir=.
6666 for ac_exec_ext in '' $ac_executable_extensions; do
6667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6668 ac_cv_prog_ac_ct_STRIP="strip"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6679 if test -n "$ac_ct_STRIP"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6681 $as_echo "$ac_ct_STRIP" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6687 if test "x$ac_ct_STRIP" = x; then
6690 case $cross_compiling:$ac_tool_warned in
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6694 ac_tool_warned=yes ;;
6699 STRIP="$ac_cv_prog_STRIP"
6702 test -z "$STRIP" && STRIP=:
6709 if test -n "$ac_tool_prefix"; then
6710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6711 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_RANLIB+:} false; then :
6715 $as_echo_n "(cached) " >&6
6717 if test -n "$RANLIB"; then
6718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 RANLIB=$ac_cv_prog_RANLIB
6738 if test -n "$RANLIB"; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6740 $as_echo "$RANLIB" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6748 if test -z "$ac_cv_prog_RANLIB"; then
6749 ac_ct_RANLIB=$RANLIB
6750 # Extract the first word of "ranlib", so it can be a program name with args.
6751 set dummy ranlib; ac_word=$2
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 $as_echo_n "checking for $ac_word... " >&6; }
6754 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6755 $as_echo_n "(cached) " >&6
6757 if test -n "$ac_ct_RANLIB"; then
6758 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir=.
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_ac_ct_RANLIB="ranlib"
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6778 if test -n "$ac_ct_RANLIB"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6780 $as_echo "$ac_ct_RANLIB" >&6; }
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 $as_echo "no" >&6; }
6786 if test "x$ac_ct_RANLIB" = x; then
6789 case $cross_compiling:$ac_tool_warned in
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793 ac_tool_warned=yes ;;
6795 RANLIB=$ac_ct_RANLIB
6798 RANLIB="$ac_cv_prog_RANLIB"
6801 test -z "$RANLIB" && RANLIB=:
6808 # Determine commands to create old-style static archives.
6809 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6810 old_postinstall_cmds='chmod 644 $oldlib'
6811 old_postuninstall_cmds=
6813 if test -n "$RANLIB"; then
6816 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6819 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6822 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6827 lock_old_archive_extraction=yes ;;
6829 lock_old_archive_extraction=no ;;
6870 # If no C compiler was specified, use CC.
6873 # If no C compiler flags were specified, use CFLAGS.
6874 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6876 # Allow CC to be a program name with arguments.
6880 # Check for command to grab the raw symbol name followed by C symbol from nm.
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6882 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6883 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6884 $as_echo_n "(cached) " >&6
6887 # These are sane defaults that work on at least a few old systems.
6888 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6890 # Character class describing NM global symbol codes.
6891 symcode='[BCDEGRST]'
6893 # Regexp to match symbols that can be accessed directly from C.
6894 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6896 # Define system-specific variables.
6901 cygwin* | mingw* | pw32* | cegcc*)
6902 symcode='[ABCDGISTW]'
6905 if test ia64 = "$host_cpu"; then
6906 symcode='[ABCDEGRST]'
6910 symcode='[BCDEGRST]'
6913 symcode='[BCDEGQRST]'
6924 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932 # If we're using GNU nm, then use its standard symbol codes.
6933 case `$NM -V 2>&1` in
6934 *GNU* | *'with BFD'*)
6935 symcode='[ABCDGIRSTW]' ;;
6938 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6939 # Gets list of data symbols to import.
6940 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6941 # Adjust the below global symbol transforms to fixup imported variables.
6942 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6943 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6944 lt_c_name_lib_hook="\
6945 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6946 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6948 # Disable hooks by default.
6949 lt_cv_sys_global_symbol_to_import=
6955 # Transform an extracted symbol line into a proper C declaration.
6956 # Some systems (esp. on ia64) link data and code symbols differently,
6957 # so use this general approach.
6958 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6960 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6961 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6963 # Transform an extracted symbol line into symbol name and symbol address
6964 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6966 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6967 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6969 # Transform an extracted symbol line into symbol name with lib prefix and
6971 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6972 $lt_c_name_lib_hook\
6973 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6974 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6975 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6977 # Handle CRLF in mingw tool chain
6981 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6985 # Try without a prefix underscore, then with it.
6986 for ac_symprfx in "" "_"; do
6988 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6989 symxfrm="\\1 $ac_symprfx\\2 \\2"
6991 # Write the raw and C identifiers.
6992 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6993 # Fake it for dumpbin and say T for any non-static function,
6994 # D for any global variable and I for any imported variable.
6995 # Also find C++ and __fastcall symbols from MSVC++,
6996 # which start with @ or ?.
6997 lt_cv_sys_global_symbol_pipe="$AWK '"\
6998 " {last_section=section; section=\$ 3};"\
6999 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7000 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7001 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7002 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7003 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7004 " \$ 0!~/External *\|/{next};"\
7005 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7006 " {if(hide[section]) next};"\
7007 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7008 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7009 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7010 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7011 " ' prfx=^$ac_symprfx"
7013 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7015 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7017 # Check to see that the pipe works correctly.
7021 cat > conftest.$ac_ext <<_LT_EOF
7026 void nm_test_func(void);
7027 void nm_test_func(void){}
7031 int main(){nm_test_var='a';nm_test_func();return(0);}
7034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7035 (eval $ac_compile) 2>&5
7037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7038 test $ac_status = 0; }; then
7039 # Now try to grab the symbols.
7041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7042 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7045 test $ac_status = 0; } && test -s "$nlist"; then
7046 # Try sorting and uniquifying the output.
7047 if sort "$nlist" | uniq > "$nlist"T; then
7048 mv -f "$nlist"T "$nlist"
7053 # Make sure that we snagged all the symbols we need.
7054 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7055 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7056 cat <<_LT_EOF > conftest.$ac_ext
7057 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7058 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7059 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7060 relocations are performed -- see ld's documentation on pseudo-relocs. */
7061 # define LT_DLSYM_CONST
7062 #elif defined __osf__
7063 /* This system does not cope well with relocations in const data. */
7064 # define LT_DLSYM_CONST
7066 # define LT_DLSYM_CONST const
7074 # Now generate the symbol file.
7075 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7077 cat <<_LT_EOF >> conftest.$ac_ext
7079 /* The mapping between symbol names and symbols. */
7080 LT_DLSYM_CONST struct {
7084 lt__PROGRAM__LTX_preloaded_symbols[] =
7086 { "@PROGRAM@", (void *) 0 },
7088 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7089 cat <<\_LT_EOF >> conftest.$ac_ext
7093 /* This works around a problem in FreeBSD linker */
7094 #ifdef FREEBSD_WORKAROUND
7095 static const void *lt_preloaded_setup() {
7096 return lt__PROGRAM__LTX_preloaded_symbols;
7104 # Now try linking the two files.
7105 mv conftest.$ac_objext conftstm.$ac_objext
7106 lt_globsym_save_LIBS=$LIBS
7107 lt_globsym_save_CFLAGS=$CFLAGS
7108 LIBS=conftstm.$ac_objext
7109 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7111 (eval $ac_link) 2>&5
7113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7114 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7117 LIBS=$lt_globsym_save_LIBS
7118 CFLAGS=$lt_globsym_save_CFLAGS
7120 echo "cannot find nm_test_func in $nlist" >&5
7123 echo "cannot find nm_test_var in $nlist" >&5
7126 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7129 echo "$progname: failed program was:" >&5
7130 cat conftest.$ac_ext >&5
7132 rm -rf conftest* conftst*
7134 # Do not use the global_symbol_pipe unless it works.
7135 if test yes = "$pipe_works"; then
7138 lt_cv_sys_global_symbol_pipe=
7144 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7145 lt_cv_sys_global_symbol_to_cdecl=
7147 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7149 $as_echo "failed" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7152 $as_echo "ok" >&6; }
7155 # Response file support.
7156 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7157 nm_file_list_spec='@'
7158 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7159 nm_file_list_spec='@'
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7199 $as_echo_n "checking for sysroot... " >&6; }
7201 # Check whether --with-sysroot was given.
7202 if test "${with_sysroot+set}" = set; then :
7203 withval=$with_sysroot;
7210 case $with_sysroot in #(
7212 if test yes = "$GCC"; then
7213 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7217 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7223 $as_echo "$with_sysroot" >&6; }
7224 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7229 $as_echo "${lt_sysroot:-no}" >&6; }
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7236 $as_echo_n "checking for a working dd... " >&6; }
7237 if ${ac_cv_path_lt_DD+:} false; then :
7238 $as_echo_n "(cached) " >&6
7240 printf 0123456789abcdef0123456789abcdef >conftest.i
7241 cat conftest.i conftest.i >conftest2.i
7243 if test -z "$lt_DD"; then
7244 ac_path_lt_DD_found=false
7245 # Loop through the user's path and test for each of PROGNAME-LIST
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7250 test -z "$as_dir" && as_dir=.
7251 for ac_prog in dd; do
7252 for ac_exec_ext in '' $ac_executable_extensions; do
7253 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7254 as_fn_executable_p "$ac_path_lt_DD" || continue
7255 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7256 cmp -s conftest.i conftest.out \
7257 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7259 $ac_path_lt_DD_found && break 3
7264 if test -z "$ac_cv_path_lt_DD"; then
7268 ac_cv_path_lt_DD=$lt_DD
7271 rm -f conftest.i conftest2.i conftest.out
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7274 $as_echo "$ac_cv_path_lt_DD" >&6; }
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7278 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7279 if ${lt_cv_truncate_bin+:} false; then :
7280 $as_echo_n "(cached) " >&6
7282 printf 0123456789abcdef0123456789abcdef >conftest.i
7283 cat conftest.i conftest.i >conftest2.i
7285 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7286 cmp -s conftest.i conftest.out \
7287 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7289 rm -f conftest.i conftest2.i conftest.out
7290 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7293 $as_echo "$lt_cv_truncate_bin" >&6; }
7301 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7304 for cc_temp in $*""; do
7306 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7307 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7312 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7315 # Check whether --enable-libtool-lock was given.
7316 if test "${enable_libtool_lock+set}" = set; then :
7317 enableval=$enable_libtool_lock;
7320 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7322 # Some flags need to be propagated to the compiler or linker for good
7326 # Find out what ABI is being produced by ac_compile, and set mode
7327 # options accordingly.
7328 echo 'int i;' > conftest.$ac_ext
7329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7330 (eval $ac_compile) 2>&5
7332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7333 test $ac_status = 0; }; then
7334 case `/usr/bin/file conftest.$ac_objext` in
7346 # Find out what ABI is being produced by ac_compile, and set linker
7347 # options accordingly.
7348 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7350 (eval $ac_compile) 2>&5
7352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7353 test $ac_status = 0; }; then
7354 if test yes = "$lt_cv_prog_gnu_ld"; then
7355 case `/usr/bin/file conftest.$ac_objext` in
7357 LD="${LD-ld} -melf32bsmip"
7360 LD="${LD-ld} -melf32bmipn32"
7363 LD="${LD-ld} -melf64bmip"
7367 case `/usr/bin/file conftest.$ac_objext` in
7384 # Find out what ABI is being produced by ac_compile, and set linker
7385 # options accordingly.
7386 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7388 (eval $ac_compile) 2>&5
7390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7391 test $ac_status = 0; }; then
7393 case `/usr/bin/file conftest.$ac_objext` in
7401 case `/usr/bin/file conftest.$ac_objext` in
7403 emul="${emul}btsmip"
7406 emul="${emul}ltsmip"
7409 case `/usr/bin/file conftest.$ac_objext` in
7414 LD="${LD-ld} -m $emul"
7419 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7420 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7421 # Find out what ABI is being produced by ac_compile, and set linker
7422 # options accordingly. Note that the listed cases only cover the
7423 # situations where additional linker options are needed (such as when
7424 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7425 # vice versa); the common cases where no linker options are needed do
7426 # not appear in the list.
7427 echo 'int i;' > conftest.$ac_ext
7428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7429 (eval $ac_compile) 2>&5
7431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7432 test $ac_status = 0; }; then
7433 case `/usr/bin/file conftest.o` in
7436 x86_64-*kfreebsd*-gnu)
7437 LD="${LD-ld} -m elf_i386_fbsd"
7440 case `/usr/bin/file conftest.o` in
7442 LD="${LD-ld} -m elf32_x86_64"
7445 LD="${LD-ld} -m elf_i386"
7449 powerpc64le-*linux*)
7450 LD="${LD-ld} -m elf32lppclinux"
7453 LD="${LD-ld} -m elf32ppclinux"
7456 LD="${LD-ld} -m elf_s390"
7459 LD="${LD-ld} -m elf32_sparc"
7465 x86_64-*kfreebsd*-gnu)
7466 LD="${LD-ld} -m elf_x86_64_fbsd"
7469 LD="${LD-ld} -m elf_x86_64"
7472 LD="${LD-ld} -m elf64lppc"
7475 LD="${LD-ld} -m elf64ppc"
7477 s390*-*linux*|s390*-*tpf*)
7478 LD="${LD-ld} -m elf64_s390"
7481 LD="${LD-ld} -m elf64_sparc"
7491 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7493 CFLAGS="$CFLAGS -belf"
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7495 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7496 if ${lt_cv_cc_needs_belf+:} false; then :
7497 $as_echo_n "(cached) " >&6
7500 ac_cpp='$CPP $CPPFLAGS'
7501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7506 /* end confdefs.h. */
7516 if ac_fn_c_try_link "$LINENO"; then :
7517 lt_cv_cc_needs_belf=yes
7519 lt_cv_cc_needs_belf=no
7521 rm -f core conftest.err conftest.$ac_objext \
7522 conftest$ac_exeext conftest.$ac_ext
7524 ac_cpp='$CPP $CPPFLAGS'
7525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7531 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7532 if test yes != "$lt_cv_cc_needs_belf"; then
7533 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7538 # Find out what ABI is being produced by ac_compile, and set linker
7539 # options accordingly.
7540 echo 'int i;' > conftest.$ac_ext
7541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7542 (eval $ac_compile) 2>&5
7544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7545 test $ac_status = 0; }; then
7546 case `/usr/bin/file conftest.o` in
7548 case $lt_cv_prog_gnu_ld in
7551 i?86-*-solaris*|x86_64-*-solaris*)
7552 LD="${LD-ld} -m elf_x86_64"
7555 LD="${LD-ld} -m elf64_sparc"
7558 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7559 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7564 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7576 need_locks=$enable_libtool_lock
7578 if test -n "$ac_tool_prefix"; then
7579 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7580 set dummy ${ac_tool_prefix}mt; ac_word=$2
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7582 $as_echo_n "checking for $ac_word... " >&6; }
7583 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7584 $as_echo_n "(cached) " >&6
7586 if test -n "$MANIFEST_TOOL"; then
7587 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7596 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7607 if test -n "$MANIFEST_TOOL"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7609 $as_echo "$MANIFEST_TOOL" >&6; }
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7612 $as_echo "no" >&6; }
7617 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7618 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7619 # Extract the first word of "mt", so it can be a program name with args.
7620 set dummy mt; ac_word=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 $as_echo_n "checking for $ac_word... " >&6; }
7623 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7624 $as_echo_n "(cached) " >&6
7626 if test -n "$ac_ct_MANIFEST_TOOL"; then
7627 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7647 if test -n "$ac_ct_MANIFEST_TOOL"; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7649 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7655 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7658 case $cross_compiling:$ac_tool_warned in
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7662 ac_tool_warned=yes ;;
7664 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7667 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7670 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7672 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7673 if ${lt_cv_path_mainfest_tool+:} false; then :
7674 $as_echo_n "(cached) " >&6
7676 lt_cv_path_mainfest_tool=no
7677 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7678 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7679 cat conftest.err >&5
7680 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7681 lt_cv_path_mainfest_tool=yes
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7686 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7687 if test yes != "$lt_cv_path_mainfest_tool"; then
7697 rhapsody* | darwin*)
7698 if test -n "$ac_tool_prefix"; then
7699 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7700 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7702 $as_echo_n "checking for $ac_word... " >&6; }
7703 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7704 $as_echo_n "(cached) " >&6
7706 if test -n "$DSYMUTIL"; then
7707 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7713 test -z "$as_dir" && as_dir=.
7714 for ac_exec_ext in '' $ac_executable_extensions; do
7715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7727 if test -n "$DSYMUTIL"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7729 $as_echo "$DSYMUTIL" >&6; }
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732 $as_echo "no" >&6; }
7737 if test -z "$ac_cv_prog_DSYMUTIL"; then
7738 ac_ct_DSYMUTIL=$DSYMUTIL
7739 # Extract the first word of "dsymutil", so it can be a program name with args.
7740 set dummy dsymutil; ac_word=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7744 $as_echo_n "(cached) " >&6
7746 if test -n "$ac_ct_DSYMUTIL"; then
7747 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7767 if test -n "$ac_ct_DSYMUTIL"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7769 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7775 if test "x$ac_ct_DSYMUTIL" = x; then
7778 case $cross_compiling:$ac_tool_warned in
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7782 ac_tool_warned=yes ;;
7784 DSYMUTIL=$ac_ct_DSYMUTIL
7787 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7790 if test -n "$ac_tool_prefix"; then
7791 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7792 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794 $as_echo_n "checking for $ac_word... " >&6; }
7795 if ${ac_cv_prog_NMEDIT+:} false; then :
7796 $as_echo_n "(cached) " >&6
7798 if test -n "$NMEDIT"; then
7799 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 NMEDIT=$ac_cv_prog_NMEDIT
7819 if test -n "$NMEDIT"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7821 $as_echo "$NMEDIT" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824 $as_echo "no" >&6; }
7829 if test -z "$ac_cv_prog_NMEDIT"; then
7830 ac_ct_NMEDIT=$NMEDIT
7831 # Extract the first word of "nmedit", so it can be a program name with args.
7832 set dummy nmedit; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834 $as_echo_n "checking for $ac_word... " >&6; }
7835 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7836 $as_echo_n "(cached) " >&6
7838 if test -n "$ac_ct_NMEDIT"; then
7839 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7859 if test -n "$ac_ct_NMEDIT"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7861 $as_echo "$ac_ct_NMEDIT" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864 $as_echo "no" >&6; }
7867 if test "x$ac_ct_NMEDIT" = x; then
7870 case $cross_compiling:$ac_tool_warned in
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7874 ac_tool_warned=yes ;;
7876 NMEDIT=$ac_ct_NMEDIT
7879 NMEDIT="$ac_cv_prog_NMEDIT"
7882 if test -n "$ac_tool_prefix"; then
7883 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7884 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_LIPO+:} false; then :
7888 $as_echo_n "(cached) " >&6
7890 if test -n "$LIPO"; then
7891 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7910 LIPO=$ac_cv_prog_LIPO
7911 if test -n "$LIPO"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7913 $as_echo "$LIPO" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7921 if test -z "$ac_cv_prog_LIPO"; then
7923 # Extract the first word of "lipo", so it can be a program name with args.
7924 set dummy lipo; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7928 $as_echo_n "(cached) " >&6
7930 if test -n "$ac_ct_LIPO"; then
7931 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_ac_ct_LIPO="lipo"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7950 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7951 if test -n "$ac_ct_LIPO"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7953 $as_echo "$ac_ct_LIPO" >&6; }
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7959 if test "x$ac_ct_LIPO" = x; then
7962 case $cross_compiling:$ac_tool_warned in
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7966 ac_tool_warned=yes ;;
7971 LIPO="$ac_cv_prog_LIPO"
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}otool; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_OTOOL+:} false; then :
7980 $as_echo_n "(cached) " >&6
7982 if test -n "$OTOOL"; then
7983 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 OTOOL=$ac_cv_prog_OTOOL
8003 if test -n "$OTOOL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8005 $as_echo "$OTOOL" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8013 if test -z "$ac_cv_prog_OTOOL"; then
8015 # Extract the first word of "otool", so it can be a program name with args.
8016 set dummy otool; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8020 $as_echo_n "(cached) " >&6
8022 if test -n "$ac_ct_OTOOL"; then
8023 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_OTOOL="otool"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8043 if test -n "$ac_ct_OTOOL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8045 $as_echo "$ac_ct_OTOOL" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8051 if test "x$ac_ct_OTOOL" = x; then
8054 case $cross_compiling:$ac_tool_warned in
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8063 OTOOL="$ac_cv_prog_OTOOL"
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070 $as_echo_n "checking for $ac_word... " >&6; }
8071 if ${ac_cv_prog_OTOOL64+:} false; then :
8072 $as_echo_n "(cached) " >&6
8074 if test -n "$OTOOL64"; then
8075 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 OTOOL64=$ac_cv_prog_OTOOL64
8095 if test -n "$OTOOL64"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8097 $as_echo "$OTOOL64" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8105 if test -z "$ac_cv_prog_OTOOL64"; then
8106 ac_ct_OTOOL64=$OTOOL64
8107 # Extract the first word of "otool64", so it can be a program name with args.
8108 set dummy otool64; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8112 $as_echo_n "(cached) " >&6
8114 if test -n "$ac_ct_OTOOL64"; then
8115 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_ac_ct_OTOOL64="otool64"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8135 if test -n "$ac_ct_OTOOL64"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8137 $as_echo "$ac_ct_OTOOL64" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8143 if test "x$ac_ct_OTOOL64" = x; then
8146 case $cross_compiling:$ac_tool_warned in
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8150 ac_tool_warned=yes ;;
8152 OTOOL64=$ac_ct_OTOOL64
8155 OTOOL64="$ac_cv_prog_OTOOL64"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8185 $as_echo_n "checking for -single_module linker flag... " >&6; }
8186 if ${lt_cv_apple_cc_single_mod+:} false; then :
8187 $as_echo_n "(cached) " >&6
8189 lt_cv_apple_cc_single_mod=no
8190 if test -z "$LT_MULTI_MODULE"; then
8191 # By default we will add the -single_module flag. You can override
8192 # by either setting the environment variable LT_MULTI_MODULE
8193 # non-empty at configure time, or by adding -multi_module to the
8195 rm -rf libconftest.dylib*
8196 echo "int foo(void){return 1;}" > conftest.c
8197 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8198 -dynamiclib -Wl,-single_module conftest.c" >&5
8199 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8200 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8202 # If there is a non-empty error log, and "single_module"
8203 # appears in it, assume the flag caused a linker warning
8204 if test -s conftest.err && $GREP single_module conftest.err; then
8205 cat conftest.err >&5
8206 # Otherwise, if the output was created with a 0 exit code from
8207 # the compiler, it worked.
8208 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8209 lt_cv_apple_cc_single_mod=yes
8211 cat conftest.err >&5
8213 rm -rf libconftest.dylib*
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8218 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8221 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8222 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8223 $as_echo_n "(cached) " >&6
8225 lt_cv_ld_exported_symbols_list=no
8226 save_LDFLAGS=$LDFLAGS
8227 echo "_main" > conftest.sym
8228 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8230 /* end confdefs.h. */
8240 if ac_fn_c_try_link "$LINENO"; then :
8241 lt_cv_ld_exported_symbols_list=yes
8243 lt_cv_ld_exported_symbols_list=no
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 LDFLAGS=$save_LDFLAGS
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8251 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8254 $as_echo_n "checking for -force_load linker flag... " >&6; }
8255 if ${lt_cv_ld_force_load+:} false; then :
8256 $as_echo_n "(cached) " >&6
8258 lt_cv_ld_force_load=no
8259 cat > conftest.c << _LT_EOF
8260 int forced_loaded() { return 2;}
8262 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8263 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8264 echo "$AR cru libconftest.a conftest.o" >&5
8265 $AR cru libconftest.a conftest.o 2>&5
8266 echo "$RANLIB libconftest.a" >&5
8267 $RANLIB libconftest.a 2>&5
8268 cat > conftest.c << _LT_EOF
8269 int main() { return 0;}
8271 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8272 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8274 if test -s conftest.err && $GREP force_load conftest.err; then
8275 cat conftest.err >&5
8276 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8277 lt_cv_ld_force_load=yes
8279 cat conftest.err >&5
8281 rm -f conftest.err libconftest.a conftest conftest.c
8282 rm -rf conftest.dSYM
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8286 $as_echo "$lt_cv_ld_force_load" >&6; }
8288 rhapsody* | darwin1.[012])
8289 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8291 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8292 darwin*) # darwin 5.x on
8293 # if running on 10.5 or later, the deployment target defaults
8294 # to the OS version, if on x86, and 10.4, the deployment
8295 # target defaults to 10.4. Don't you love it?
8296 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8297 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8298 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8300 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8302 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8306 if test yes = "$lt_cv_apple_cc_single_mod"; then
8307 _lt_dar_single_mod='$single_module'
8309 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8310 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8312 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8314 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8315 _lt_dsymutil='~$DSYMUTIL $lib || :'
8322 # func_munge_path_list VARIABLE PATH
8323 # -----------------------------------
8324 # VARIABLE is name of variable containing _space_ separated list of
8325 # directories to be munged by the contents of PATH, which is string
8328 # string "DIR[ DIR]" will be prepended to VARIABLE
8330 # string "DIR[ DIR]" will be appended to VARIABLE
8331 # "DIRP[:DIRP]::[DIRA:]DIRA"
8332 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8333 # "DIRA[ DIRA]" will be appended to VARIABLE
8335 # VARIABLE will be replaced by "DIR[ DIR]"
8336 func_munge_path_list ()
8342 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8345 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8348 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8349 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8352 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8358 ac_cpp='$CPP $CPPFLAGS'
8359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8363 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8364 # On Suns, sometimes $CPP names a directory.
8365 if test -n "$CPP" && test -d "$CPP"; then
8368 if test -z "$CPP"; then
8369 if ${ac_cv_prog_CPP+:} false; then :
8370 $as_echo_n "(cached) " >&6
8372 # Double quotes because CPP needs to be expanded
8373 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8376 for ac_c_preproc_warn_flag in '' yes
8378 # Use a header file that comes with gcc, so configuring glibc
8379 # with a fresh cross-compiler works.
8380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8381 # <limits.h> exists even on freestanding compilers.
8382 # On the NeXT, cc -E runs the code through the compiler's parser,
8383 # not just through cpp. "Syntax error" is here to catch this case.
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8387 # include <limits.h>
8389 # include <assert.h>
8393 if ac_fn_c_try_cpp "$LINENO"; then :
8396 # Broken: fails on valid input.
8399 rm -f conftest.err conftest.i conftest.$ac_ext
8401 # OK, works on sane cases. Now check whether nonexistent headers
8402 # can be detected and how.
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 #include <ac_nonexistent.h>
8407 if ac_fn_c_try_cpp "$LINENO"; then :
8408 # Broken: success on invalid input.
8411 # Passes both tests.
8415 rm -f conftest.err conftest.i conftest.$ac_ext
8418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8419 rm -f conftest.i conftest.err conftest.$ac_ext
8420 if $ac_preproc_ok; then :
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8433 $as_echo "$CPP" >&6; }
8435 for ac_c_preproc_warn_flag in '' yes
8437 # Use a header file that comes with gcc, so configuring glibc
8438 # with a fresh cross-compiler works.
8439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8440 # <limits.h> exists even on freestanding compilers.
8441 # On the NeXT, cc -E runs the code through the compiler's parser,
8442 # not just through cpp. "Syntax error" is here to catch this case.
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8446 # include <limits.h>
8448 # include <assert.h>
8452 if ac_fn_c_try_cpp "$LINENO"; then :
8455 # Broken: fails on valid input.
8458 rm -f conftest.err conftest.i conftest.$ac_ext
8460 # OK, works on sane cases. Now check whether nonexistent headers
8461 # can be detected and how.
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8464 #include <ac_nonexistent.h>
8466 if ac_fn_c_try_cpp "$LINENO"; then :
8467 # Broken: success on invalid input.
8470 # Passes both tests.
8474 rm -f conftest.err conftest.i conftest.$ac_ext
8477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8478 rm -f conftest.i conftest.err conftest.$ac_ext
8479 if $ac_preproc_ok; then :
8482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8484 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8485 See \`config.log' for more details" "$LINENO" 5; }
8489 ac_cpp='$CPP $CPPFLAGS'
8490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8496 $as_echo_n "checking for ANSI C header files... " >&6; }
8497 if ${ac_cv_header_stdc+:} false; then :
8498 $as_echo_n "(cached) " >&6
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8515 if ac_fn_c_try_compile "$LINENO"; then :
8516 ac_cv_header_stdc=yes
8518 ac_cv_header_stdc=no
8520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8522 if test $ac_cv_header_stdc = yes; then
8523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8530 $EGREP "memchr" >/dev/null 2>&1; then :
8533 ac_cv_header_stdc=no
8539 if test $ac_cv_header_stdc = yes; then
8540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8547 $EGREP "free" >/dev/null 2>&1; then :
8550 ac_cv_header_stdc=no
8556 if test $ac_cv_header_stdc = yes; then
8557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8558 if test "$cross_compiling" = yes; then :
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8565 #if ((' ' & 0x0FF) == 0x020)
8566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8569 # define ISLOWER(c) \
8570 (('a' <= (c) && (c) <= 'i') \
8571 || ('j' <= (c) && (c) <= 'r') \
8572 || ('s' <= (c) && (c) <= 'z'))
8573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8581 for (i = 0; i < 256; i++)
8582 if (XOR (islower (i), ISLOWER (i))
8583 || toupper (i) != TOUPPER (i))
8588 if ac_fn_c_try_run "$LINENO"; then :
8591 ac_cv_header_stdc=no
8593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8594 conftest.$ac_objext conftest.beam conftest.$ac_ext
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8600 $as_echo "$ac_cv_header_stdc" >&6; }
8601 if test $ac_cv_header_stdc = yes; then
8603 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8607 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8608 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8609 inttypes.h stdint.h unistd.h
8611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8612 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8614 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8615 cat >>confdefs.h <<_ACEOF
8616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8624 for ac_header in dlfcn.h
8626 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8628 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8629 cat >>confdefs.h <<_ACEOF
8630 #define HAVE_DLFCN_H 1
8651 # Check whether --enable-shared was given.
8652 if test "${enable_shared+set}" = set; then :
8653 enableval=$enable_shared; p=${PACKAGE-default}
8655 yes) enable_shared=yes ;;
8656 no) enable_shared=no ;;
8659 # Look at the argument we got. We use all the common list separators.
8660 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8661 for pkg in $enableval; do
8663 if test "X$pkg" = "X$p"; then
8682 # Check whether --enable-static was given.
8683 if test "${enable_static+set}" = set; then :
8684 enableval=$enable_static; p=${PACKAGE-default}
8686 yes) enable_static=yes ;;
8687 no) enable_static=no ;;
8690 # Look at the argument we got. We use all the common list separators.
8691 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8692 for pkg in $enableval; do
8694 if test "X$pkg" = "X$p"; then
8714 # Check whether --with-pic was given.
8715 if test "${with_pic+set}" = set; then :
8716 withval=$with_pic; lt_p=${PACKAGE-default}
8718 yes|no) pic_mode=$withval ;;
8721 # Look at the argument we got. We use all the common list separators.
8722 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8723 for lt_pkg in $withval; do
8725 if test "X$lt_pkg" = "X$lt_p"; then
8743 # Check whether --enable-fast-install was given.
8744 if test "${enable_fast_install+set}" = set; then :
8745 enableval=$enable_fast_install; p=${PACKAGE-default}
8747 yes) enable_fast_install=yes ;;
8748 no) enable_fast_install=no ;;
8750 enable_fast_install=no
8751 # Look at the argument we got. We use all the common list separators.
8752 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8753 for pkg in $enableval; do
8755 if test "X$pkg" = "X$p"; then
8756 enable_fast_install=yes
8763 enable_fast_install=yes
8773 shared_archive_member_spec=
8774 case $host,$enable_shared in
8775 power*-*-aix[5-9]*,yes)
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8777 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8779 # Check whether --with-aix-soname was given.
8780 if test "${with_aix_soname+set}" = set; then :
8781 withval=$with_aix_soname; case $withval in
8785 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8788 lt_cv_with_aix_soname=$with_aix_soname
8790 if ${lt_cv_with_aix_soname+:} false; then :
8791 $as_echo_n "(cached) " >&6
8793 lt_cv_with_aix_soname=aix
8796 with_aix_soname=$lt_cv_with_aix_soname
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8800 $as_echo "$with_aix_soname" >&6; }
8801 if test aix != "$with_aix_soname"; then
8802 # For the AIX way of multilib, we name the shared archive member
8803 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8804 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8805 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8806 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8807 if test 64 = "${OBJECT_MODE-32}"; then
8808 shared_archive_member_spec=shr_64
8810 shared_archive_member_spec=shr
8828 # This can be used to rebuild libtool when needed
8829 LIBTOOL_DEPS=$ltmain
8831 # Always use our own libtool.
8832 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8863 test -z "$LN_S" && LN_S="ln -s"
8878 if test -n "${ZSH_VERSION+set}"; then
8879 setopt NO_GLOB_SUBST
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8883 $as_echo_n "checking for objdir... " >&6; }
8884 if ${lt_cv_objdir+:} false; then :
8885 $as_echo_n "(cached) " >&6
8887 rm -f .libs 2>/dev/null
8888 mkdir .libs 2>/dev/null
8889 if test -d .libs; then
8892 # MS-DOS does not allow filenames that begin with a dot.
8895 rmdir .libs 2>/dev/null
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8898 $as_echo "$lt_cv_objdir" >&6; }
8899 objdir=$lt_cv_objdir
8905 cat >>confdefs.h <<_ACEOF
8906 #define LT_OBJDIR "$lt_cv_objdir/"
8914 # AIX sometimes has problems with the GCC collect2 program. For some
8915 # reason, if we set the COLLECT_NAMES environment variable, the problems
8916 # vanish in a puff of smoke.
8917 if test set != "${COLLECT_NAMES+set}"; then
8919 export COLLECT_NAMES
8926 can_build_shared=yes
8928 # All known linkers require a '.a' archive for static linking (except MSVC,
8929 # which needs '.lib').
8932 with_gnu_ld=$lt_cv_prog_gnu_ld
8937 # Set sane defaults for various variables
8938 test -z "$CC" && CC=cc
8939 test -z "$LTCC" && LTCC=$CC
8940 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8941 test -z "$LD" && LD=ld
8942 test -z "$ac_objext" && ac_objext=o
8944 func_cc_basename $compiler
8945 cc_basename=$func_cc_basename_result
8948 # Only perform the check for file, if the check method requires it
8949 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8950 case $deplibs_check_method in
8952 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8954 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8955 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8956 $as_echo_n "(cached) " >&6
8960 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8963 lt_save_MAGIC_CMD=$MAGIC_CMD
8964 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8965 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8966 for ac_dir in $ac_dummy; do
8968 test -z "$ac_dir" && ac_dir=.
8969 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8970 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8971 if test -n "$file_magic_test_file"; then
8972 case $deplibs_check_method in
8974 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8975 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8977 $EGREP "$file_magic_regex" > /dev/null; then
8982 *** Warning: the command libtool uses to detect shared libraries,
8983 *** $file_magic_cmd, produces output that libtool cannot recognize.
8984 *** The result is that libtool may fail to recognize shared libraries
8985 *** as such. This will affect the creation of libtool libraries that
8986 *** depend on shared libraries, but programs linked with such libtool
8987 *** libraries will work regardless of this problem. Nevertheless, you
8988 *** may want to report the problem to your system manager and/or to
8989 *** bug-libtool@gnu.org
8999 MAGIC_CMD=$lt_save_MAGIC_CMD
9004 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9005 if test -n "$MAGIC_CMD"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9007 $as_echo "$MAGIC_CMD" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9017 if test -z "$lt_cv_path_MAGIC_CMD"; then
9018 if test -n "$ac_tool_prefix"; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9020 $as_echo_n "checking for file... " >&6; }
9021 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9022 $as_echo_n "(cached) " >&6
9026 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9029 lt_save_MAGIC_CMD=$MAGIC_CMD
9030 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9031 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9032 for ac_dir in $ac_dummy; do
9034 test -z "$ac_dir" && ac_dir=.
9035 if test -f "$ac_dir/file"; then
9036 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9037 if test -n "$file_magic_test_file"; then
9038 case $deplibs_check_method in
9040 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9041 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9042 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9043 $EGREP "$file_magic_regex" > /dev/null; then
9048 *** Warning: the command libtool uses to detect shared libraries,
9049 *** $file_magic_cmd, produces output that libtool cannot recognize.
9050 *** The result is that libtool may fail to recognize shared libraries
9051 *** as such. This will affect the creation of libtool libraries that
9052 *** depend on shared libraries, but programs linked with such libtool
9053 *** libraries will work regardless of this problem. Nevertheless, you
9054 *** may want to report the problem to your system manager and/or to
9055 *** bug-libtool@gnu.org
9065 MAGIC_CMD=$lt_save_MAGIC_CMD
9070 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9071 if test -n "$MAGIC_CMD"; then
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9073 $as_echo "$MAGIC_CMD" >&6; }
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076 $as_echo "no" >&6; }
9089 # Use C for the default configuration in the libtool script
9093 ac_cpp='$CPP $CPPFLAGS'
9094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9099 # Source file extension for C test sources.
9102 # Object file extension for compiled C test sources.
9106 # Code to be used in simple compile tests
9107 lt_simple_compile_test_code="int some_variable = 0;"
9109 # Code to be used in simple link tests
9110 lt_simple_link_test_code='int main(){return(0);}'
9118 # If no C compiler was specified, use CC.
9121 # If no C compiler flags were specified, use CFLAGS.
9122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9124 # Allow CC to be a program name with arguments.
9127 # Save the default compiler, since it gets overwritten when the other
9128 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9129 compiler_DEFAULT=$CC
9131 # save warnings/boilerplate of simple test code
9132 ac_outfile=conftest.$ac_objext
9133 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9134 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9135 _lt_compiler_boilerplate=`cat conftest.err`
9138 ac_outfile=conftest.$ac_objext
9139 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9140 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9141 _lt_linker_boilerplate=`cat conftest.err`
9145 if test -n "$compiler"; then
9147 lt_prog_compiler_no_builtin_flag=
9149 if test yes = "$GCC"; then
9150 case $cc_basename in
9152 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9154 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9158 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9159 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9160 $as_echo_n "(cached) " >&6
9162 lt_cv_prog_compiler_rtti_exceptions=no
9163 ac_outfile=conftest.$ac_objext
9164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9165 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9166 # Insert the option either (1) after the last *FLAGS variable, or
9167 # (2) before a word containing "conftest.", or (3) at the end.
9168 # Note that $ac_compile itself does not contain backslashes and begins
9169 # with a dollar sign (not a hyphen), so the echo should work correctly.
9170 # The option is referenced via a variable to avoid confusing sed.
9171 lt_compile=`echo "$ac_compile" | $SED \
9172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9174 -e 's:$: $lt_compiler_flag:'`
9175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9176 (eval "$lt_compile" 2>conftest.err)
9178 cat conftest.err >&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 if (exit $ac_status) && test -s "$ac_outfile"; then
9181 # The compiler can only warn and ignore the option if not recognized
9182 # So say no if there are warnings other than the usual output.
9183 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9184 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9185 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9186 lt_cv_prog_compiler_rtti_exceptions=yes
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9193 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9195 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9196 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9208 lt_prog_compiler_wl=
9209 lt_prog_compiler_pic=
9210 lt_prog_compiler_static=
9213 if test yes = "$GCC"; then
9214 lt_prog_compiler_wl='-Wl,'
9215 lt_prog_compiler_static='-static'
9219 # All AIX code is PIC.
9220 if test ia64 = "$host_cpu"; then
9221 # AIX 5 now supports IA64 processor
9222 lt_prog_compiler_static='-Bstatic'
9224 lt_prog_compiler_pic='-fPIC'
9230 # see comment about AmigaOS4 .so support
9231 lt_prog_compiler_pic='-fPIC'
9234 # FIXME: we need at least 68020 code to build shared libraries, but
9235 # adding the '-m68020' flag to GCC prevents building anything better,
9237 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9242 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9243 # PIC is the default for these OSes.
9246 mingw* | cygwin* | pw32* | os2* | cegcc*)
9247 # This hack is so that the source file can tell whether it is being
9248 # built for inclusion in a dll (and should export symbols for example).
9249 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9250 # (--disable-auto-import) libraries
9251 lt_prog_compiler_pic='-DDLL_EXPORT'
9254 lt_prog_compiler_static='$wl-static'
9259 darwin* | rhapsody*)
9260 # PIC is the default on this platform
9261 # Common symbols not allowed in MH_DYLIB files
9262 lt_prog_compiler_pic='-fno-common'
9266 # PIC is the default for Haiku.
9267 # The "-static" flag exists, but is broken.
9268 lt_prog_compiler_static=
9272 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9273 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9274 # sets the default TLS model and affects inlining.
9280 lt_prog_compiler_pic='-fPIC'
9286 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9287 # Instead, we relocate shared libraries at runtime.
9291 # Just because we use GCC doesn't mean we suddenly get shared libraries
9292 # on systems that don't support them.
9293 lt_prog_compiler_can_build_shared=no
9298 # QNX uses GNU C++, but need to define -shared option too, otherwise
9300 lt_prog_compiler_pic='-fPIC -shared'
9304 if test -d /usr/nec; then
9305 lt_prog_compiler_pic=-Kconform_pic
9310 lt_prog_compiler_pic='-fPIC'
9314 case $cc_basename in
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 lt_prog_compiler_wl='-Xlinker '
9317 if test -n "$lt_prog_compiler_pic"; then
9318 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9323 # PORTME Check for flag to pass linker flags through the system compiler.
9326 lt_prog_compiler_wl='-Wl,'
9327 if test ia64 = "$host_cpu"; then
9328 # AIX 5 now supports IA64 processor
9329 lt_prog_compiler_static='-Bstatic'
9331 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9335 darwin* | rhapsody*)
9336 # PIC is the default on this platform
9337 # Common symbols not allowed in MH_DYLIB files
9338 lt_prog_compiler_pic='-fno-common'
9339 case $cc_basename in
9341 # NAG Fortran compiler
9342 lt_prog_compiler_wl='-Wl,-Wl,,'
9343 lt_prog_compiler_pic='-PIC'
9344 lt_prog_compiler_static='-Bstatic'
9349 mingw* | cygwin* | pw32* | os2* | cegcc*)
9350 # This hack is so that the source file can tell whether it is being
9351 # built for inclusion in a dll (and should export symbols for example).
9352 lt_prog_compiler_pic='-DDLL_EXPORT'
9355 lt_prog_compiler_static='$wl-static'
9360 hpux9* | hpux10* | hpux11*)
9361 lt_prog_compiler_wl='-Wl,'
9362 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9369 lt_prog_compiler_pic='+Z'
9372 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9373 lt_prog_compiler_static='$wl-a ${wl}archive'
9376 irix5* | irix6* | nonstopux*)
9377 lt_prog_compiler_wl='-Wl,'
9378 # PIC (with -KPIC) is the default.
9379 lt_prog_compiler_static='-non_shared'
9382 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9383 case $cc_basename in
9384 # old Intel for x86_64, which still supported -KPIC.
9386 lt_prog_compiler_wl='-Wl,'
9387 lt_prog_compiler_pic='-KPIC'
9388 lt_prog_compiler_static='-static'
9390 # icc used to be incompatible with GCC.
9391 # ICC 10 doesn't accept -KPIC any more.
9393 lt_prog_compiler_wl='-Wl,'
9394 lt_prog_compiler_pic='-fPIC'
9395 lt_prog_compiler_static='-static'
9397 # Lahey Fortran 8.1.
9399 lt_prog_compiler_wl='-Wl,'
9400 lt_prog_compiler_pic='--shared'
9401 lt_prog_compiler_static='--static'
9404 # NAG Fortran compiler
9405 lt_prog_compiler_wl='-Wl,-Wl,,'
9406 lt_prog_compiler_pic='-PIC'
9407 lt_prog_compiler_static='-Bstatic'
9410 # Fabrice Bellard et al's Tiny C Compiler
9411 lt_prog_compiler_wl='-Wl,'
9412 lt_prog_compiler_pic='-fPIC'
9413 lt_prog_compiler_static='-static'
9415 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9416 # Portland Group compilers (*not* the Pentium gcc compiler,
9417 # which looks to be a dead project)
9418 lt_prog_compiler_wl='-Wl,'
9419 lt_prog_compiler_pic='-fpic'
9420 lt_prog_compiler_static='-Bstatic'
9423 lt_prog_compiler_wl='-Wl,'
9424 # All Alpha code is PIC.
9425 lt_prog_compiler_static='-non_shared'
9427 xl* | bgxl* | bgf* | mpixl*)
9428 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9429 lt_prog_compiler_wl='-Wl,'
9430 lt_prog_compiler_pic='-qpic'
9431 lt_prog_compiler_static='-qstaticlink'
9434 case `$CC -V 2>&1 | sed 5q` in
9435 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9436 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9439 lt_prog_compiler_wl=''
9441 *Sun\ F* | *Sun*Fortran*)
9442 lt_prog_compiler_pic='-KPIC'
9443 lt_prog_compiler_static='-Bstatic'
9444 lt_prog_compiler_wl='-Qoption ld '
9448 lt_prog_compiler_pic='-KPIC'
9449 lt_prog_compiler_static='-Bstatic'
9450 lt_prog_compiler_wl='-Wl,'
9452 *Intel*\ [CF]*Compiler*)
9453 lt_prog_compiler_wl='-Wl,'
9454 lt_prog_compiler_pic='-fPIC'
9455 lt_prog_compiler_static='-static'
9458 lt_prog_compiler_wl='-Wl,'
9459 lt_prog_compiler_pic='-fpic'
9460 lt_prog_compiler_static='-Bstatic'
9468 lt_prog_compiler_pic='-KPIC'
9469 lt_prog_compiler_static='-Bstatic'
9473 # QNX uses GNU C++, but need to define -shared option too, otherwise
9475 lt_prog_compiler_pic='-fPIC -shared'
9478 osf3* | osf4* | osf5*)
9479 lt_prog_compiler_wl='-Wl,'
9480 # All OSF/1 code is PIC.
9481 lt_prog_compiler_static='-non_shared'
9485 lt_prog_compiler_static='-non_shared'
9489 lt_prog_compiler_pic='-KPIC'
9490 lt_prog_compiler_static='-Bstatic'
9491 case $cc_basename in
9492 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9493 lt_prog_compiler_wl='-Qoption ld ';;
9495 lt_prog_compiler_wl='-Wl,';;
9500 lt_prog_compiler_wl='-Qoption ld '
9501 lt_prog_compiler_pic='-PIC'
9502 lt_prog_compiler_static='-Bstatic'
9505 sysv4 | sysv4.2uw2* | sysv4.3*)
9506 lt_prog_compiler_wl='-Wl,'
9507 lt_prog_compiler_pic='-KPIC'
9508 lt_prog_compiler_static='-Bstatic'
9512 if test -d /usr/nec; then
9513 lt_prog_compiler_pic='-Kconform_pic'
9514 lt_prog_compiler_static='-Bstatic'
9518 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9519 lt_prog_compiler_wl='-Wl,'
9520 lt_prog_compiler_pic='-KPIC'
9521 lt_prog_compiler_static='-Bstatic'
9525 lt_prog_compiler_wl='-Wl,'
9526 lt_prog_compiler_can_build_shared=no
9530 lt_prog_compiler_pic='-pic'
9531 lt_prog_compiler_static='-Bstatic'
9535 lt_prog_compiler_can_build_shared=no
9541 # For platforms that do not support PIC, -DPIC is meaningless:
9543 lt_prog_compiler_pic=
9546 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9551 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9552 if ${lt_cv_prog_compiler_pic+:} false; then :
9553 $as_echo_n "(cached) " >&6
9555 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9558 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9559 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9562 # Check to make sure the PIC flag actually works.
9564 if test -n "$lt_prog_compiler_pic"; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9566 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9567 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9568 $as_echo_n "(cached) " >&6
9570 lt_cv_prog_compiler_pic_works=no
9571 ac_outfile=conftest.$ac_objext
9572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9573 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9574 # Insert the option either (1) after the last *FLAGS variable, or
9575 # (2) before a word containing "conftest.", or (3) at the end.
9576 # Note that $ac_compile itself does not contain backslashes and begins
9577 # with a dollar sign (not a hyphen), so the echo should work correctly.
9578 # The option is referenced via a variable to avoid confusing sed.
9579 lt_compile=`echo "$ac_compile" | $SED \
9580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9582 -e 's:$: $lt_compiler_flag:'`
9583 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9584 (eval "$lt_compile" 2>conftest.err)
9586 cat conftest.err >&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 if (exit $ac_status) && test -s "$ac_outfile"; then
9589 # The compiler can only warn and ignore the option if not recognized
9590 # So say no if there are warnings other than the usual output.
9591 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9592 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9593 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9594 lt_cv_prog_compiler_pic_works=yes
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9601 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9603 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9604 case $lt_prog_compiler_pic in
9606 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9609 lt_prog_compiler_pic=
9610 lt_prog_compiler_can_build_shared=no
9626 # Check to make sure the static flag actually works.
9628 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9630 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9631 if ${lt_cv_prog_compiler_static_works+:} false; then :
9632 $as_echo_n "(cached) " >&6
9634 lt_cv_prog_compiler_static_works=no
9635 save_LDFLAGS=$LDFLAGS
9636 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9637 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9638 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9639 # The linker can only warn and ignore the option if not recognized
9640 # So say no if there are warnings
9641 if test -s conftest.err; then
9642 # Append any errors to the config.log.
9643 cat conftest.err 1>&5
9644 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9645 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9646 if diff conftest.exp conftest.er2 >/dev/null; then
9647 lt_cv_prog_compiler_static_works=yes
9650 lt_cv_prog_compiler_static_works=yes
9654 LDFLAGS=$save_LDFLAGS
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9658 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9660 if test yes = "$lt_cv_prog_compiler_static_works"; then
9663 lt_prog_compiler_static=
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9673 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9674 if ${lt_cv_prog_compiler_c_o+:} false; then :
9675 $as_echo_n "(cached) " >&6
9677 lt_cv_prog_compiler_c_o=no
9678 $RM -r conftest 2>/dev/null
9682 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9684 lt_compiler_flag="-o out/conftest2.$ac_objext"
9685 # Insert the option either (1) after the last *FLAGS variable, or
9686 # (2) before a word containing "conftest.", or (3) at the end.
9687 # Note that $ac_compile itself does not contain backslashes and begins
9688 # with a dollar sign (not a hyphen), so the echo should work correctly.
9689 lt_compile=`echo "$ac_compile" | $SED \
9690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9692 -e 's:$: $lt_compiler_flag:'`
9693 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9694 (eval "$lt_compile" 2>out/conftest.err)
9696 cat out/conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9700 # The compiler can only warn and ignore the option if not recognized
9701 # So say no if there are warnings
9702 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9703 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9704 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9705 lt_cv_prog_compiler_c_o=yes
9710 # SGI C++ compiler will create directory out/ii_files/ for
9711 # template instantiation
9712 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9713 $RM out/* && rmdir out
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9720 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9728 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9729 if ${lt_cv_prog_compiler_c_o+:} false; then :
9730 $as_echo_n "(cached) " >&6
9732 lt_cv_prog_compiler_c_o=no
9733 $RM -r conftest 2>/dev/null
9737 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9739 lt_compiler_flag="-o out/conftest2.$ac_objext"
9740 # Insert the option either (1) after the last *FLAGS variable, or
9741 # (2) before a word containing "conftest.", or (3) at the end.
9742 # Note that $ac_compile itself does not contain backslashes and begins
9743 # with a dollar sign (not a hyphen), so the echo should work correctly.
9744 lt_compile=`echo "$ac_compile" | $SED \
9745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9747 -e 's:$: $lt_compiler_flag:'`
9748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9749 (eval "$lt_compile" 2>out/conftest.err)
9751 cat out/conftest.err >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9755 # The compiler can only warn and ignore the option if not recognized
9756 # So say no if there are warnings
9757 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9758 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9759 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9760 lt_cv_prog_compiler_c_o=yes
9765 # SGI C++ compiler will create directory out/ii_files/ for
9766 # template instantiation
9767 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9768 $RM out/* && rmdir out
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9775 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9780 hard_links=nottested
9781 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9782 # do not overwrite the value of need_locks provided by the user
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9784 $as_echo_n "checking if we can lock with hard links... " >&6; }
9787 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9789 ln conftest.a conftest.b 2>&5 || hard_links=no
9790 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9792 $as_echo "$hard_links" >&6; }
9793 if test no = "$hard_links"; then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9795 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9808 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9811 allow_undefined_flag=
9812 always_export_symbols=no
9814 archive_expsym_cmds=
9815 compiler_needs_object=no
9816 enable_shared_with_static_runtimes=no
9817 export_dynamic_flag_spec=
9818 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9819 hardcode_automatic=no
9821 hardcode_direct_absolute=no
9822 hardcode_libdir_flag_spec=
9823 hardcode_libdir_separator=
9825 hardcode_shlibpath_var=unsupported
9827 link_all_deplibs=unknown
9830 old_archive_from_new_cmds=
9831 old_archive_from_expsyms_cmds=
9832 thread_safe_flag_spec=
9833 whole_archive_flag_spec=
9834 # include_expsyms should be a list of space-separated symbols to be *always*
9835 # included in the symbol list
9837 # exclude_expsyms can be an extended regexp of symbols to exclude
9838 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9839 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9840 # as well as any symbol that contains 'd'.
9841 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9842 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9843 # platforms (ab)use it in PIC code, but their linkers get confused if
9844 # the symbol is explicitly referenced. Since portable code cannot
9845 # rely on this symbol name, it's probably fine to never include it in
9846 # preloaded symbol tables.
9847 # Exclude shared library initialization/finalization symbols.
9848 extract_expsyms_cmds=
9851 cygwin* | mingw* | pw32* | cegcc*)
9852 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9853 # When not using gcc, we currently assume that we are using
9854 # Microsoft Visual C++.
9855 if test yes != "$GCC"; then
9860 # we just hope/assume this is gcc and not c89 (= MSVC++)
9870 # On some targets, GNU ld is compatible enough with the native linker
9871 # that we're better off using the native interface for both.
9872 lt_use_gnu_ld_interface=no
9873 if test yes = "$with_gnu_ld"; then
9876 # The AIX port of GNU ld has always aspired to compatibility
9877 # with the native linker. However, as the warning in the GNU ld
9878 # block says, versions before 2.19.5* couldn't really create working
9879 # shared libraries, regardless of the interface used.
9880 case `$LD -v 2>&1` in
9881 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9882 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9883 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9885 lt_use_gnu_ld_interface=yes
9890 lt_use_gnu_ld_interface=yes
9895 if test yes = "$lt_use_gnu_ld_interface"; then
9896 # If archive_cmds runs LD, not CC, wlarc should be empty
9899 # Set some defaults for GNU ld with shared library support. These
9900 # are reset later if shared libraries are not supported. Putting them
9901 # here allows them to be overridden if necessary.
9902 runpath_var=LD_RUN_PATH
9903 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9904 export_dynamic_flag_spec='$wl--export-dynamic'
9905 # ancient GNU ld didn't support --whole-archive et. al.
9906 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9907 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9909 whole_archive_flag_spec=
9911 supports_anon_versioning=no
9912 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9913 *GNU\ gold*) supports_anon_versioning=yes ;;
9914 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9915 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9916 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9917 *\ 2.11.*) ;; # other 2.11 versions
9918 *) supports_anon_versioning=yes ;;
9921 # See if GNU ld supports shared libraries.
9924 # On AIX/PPC, the GNU linker is very broken
9925 if test ia64 != "$host_cpu"; then
9929 *** Warning: the GNU linker, at least up to release 2.19, is reported
9930 *** to be unable to reliably create shared libraries on AIX.
9931 *** Therefore, libtool is disabling shared libraries support. If you
9932 *** really care for shared libraries, you may want to install binutils
9933 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9934 *** You will then need to restart the configuration process.
9943 # see comment about AmigaOS4 .so support
9944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9945 archive_expsym_cmds=''
9948 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)'
9949 hardcode_libdir_flag_spec='-L$libdir'
9950 hardcode_minus_L=yes
9956 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9957 allow_undefined_flag=unsupported
9958 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9959 # support --undefined. This deserves some investigation. FIXME
9960 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9966 cygwin* | mingw* | pw32* | cegcc*)
9967 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9968 # as there is no search path for DLLs.
9969 hardcode_libdir_flag_spec='-L$libdir'
9970 export_dynamic_flag_spec='$wl--export-all-symbols'
9971 allow_undefined_flag=unsupported
9972 always_export_symbols=no
9973 enable_shared_with_static_runtimes=yes
9974 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'
9975 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9977 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9978 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9979 # If the export-symbols file already is a .def file, use it as
9980 # is; otherwise, prepend EXPORTS...
9981 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9982 cp $export_symbols $output_objdir/$soname.def;
9984 echo EXPORTS > $output_objdir/$soname.def;
9985 cat $export_symbols >> $output_objdir/$soname.def;
9987 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9994 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9995 link_all_deplibs=yes
9999 hardcode_libdir_flag_spec='-L$libdir'
10000 hardcode_minus_L=yes
10001 allow_undefined_flag=unsupported
10003 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10004 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10005 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10006 $ECHO EXPORTS >> $output_objdir/$libname.def~
10007 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10008 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10009 emximp -o $lib $output_objdir/$libname.def'
10010 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10011 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10012 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10013 $ECHO EXPORTS >> $output_objdir/$libname.def~
10014 prefix_cmds="$SED"~
10015 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10016 prefix_cmds="$prefix_cmds -e 1d";
10018 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10019 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10020 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10021 emximp -o $lib $output_objdir/$libname.def'
10022 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10023 enable_shared_with_static_runtimes=yes
10028 hardcode_shlibpath_var=no
10029 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10030 export_dynamic_flag_spec='$wl-E'
10031 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10032 # Instead, shared libraries are loaded at an image base (0x10000000 by
10033 # default) and relocated if they conflict, which is a slow very memory
10034 # consuming and fragmenting process. To avoid this, we pick a random,
10035 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10036 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10037 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10038 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'
10041 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10043 if test linux-dietlibc = "$host_os"; then
10044 case $cc_basename in
10045 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10048 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10049 && test no = "$tmp_diet"
10051 tmp_addflag=' $pic_flag'
10052 tmp_sharedflag='-shared'
10053 case $cc_basename,$host_cpu in
10054 pgcc*) # Portland Group C compiler
10055 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'
10056 tmp_addflag=' $pic_flag'
10058 pgf77* | pgf90* | pgf95* | pgfortran*)
10059 # Portland Group f77 and f90 compilers
10060 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'
10061 tmp_addflag=' $pic_flag -Mnomain' ;;
10062 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10063 tmp_addflag=' -i_dynamic' ;;
10064 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10065 tmp_addflag=' -i_dynamic -nofor_main' ;;
10066 ifc* | ifort*) # Intel Fortran compiler
10067 tmp_addflag=' -nofor_main' ;;
10068 lf95*) # Lahey Fortran 8.1
10069 whole_archive_flag_spec=
10070 tmp_sharedflag='--shared' ;;
10071 nagfor*) # NAGFOR 5.3
10072 tmp_sharedflag='-Wl,-shared' ;;
10073 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10074 tmp_sharedflag='-qmkshrobj'
10076 nvcc*) # Cuda Compiler Driver 2.2
10077 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'
10078 compiler_needs_object=yes
10081 case `$CC -V 2>&1 | sed 5q` in
10082 *Sun\ C*) # Sun C 5.9
10083 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'
10084 compiler_needs_object=yes
10085 tmp_sharedflag='-G' ;;
10086 *Sun\ F*) # Sun Fortran 8.3
10087 tmp_sharedflag='-G' ;;
10089 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10091 if test yes = "$supports_anon_versioning"; then
10092 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10093 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10094 echo "local: *; };" >> $output_objdir/$libname.ver~
10095 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10098 case $cc_basename in
10100 export_dynamic_flag_spec='-rdynamic'
10102 xlf* | bgf* | bgxlf* | mpixlf*)
10103 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10104 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10105 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10106 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10107 if test yes = "$supports_anon_versioning"; then
10108 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10109 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10110 echo "local: *; };" >> $output_objdir/$libname.ver~
10111 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10121 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10122 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10125 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10126 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10131 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10135 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10136 *** create shared libraries on Solaris systems. Therefore, libtool
10137 *** is disabling shared libraries support. We urge you to upgrade GNU
10138 *** binutils to release 2.9.1 or newer. Another option is to modify
10139 *** your PATH or compiler configuration so that the native linker is
10140 *** used, and then restart.
10143 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10144 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10145 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10151 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10152 case `$LD -v 2>&1` in
10153 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10157 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10158 *** reliably create shared libraries on SCO systems. Therefore, libtool
10159 *** is disabling shared libraries support. We urge you to upgrade GNU
10160 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10161 *** your PATH or compiler configuration so that the native linker is
10162 *** used, and then restart.
10167 # For security reasons, it is highly recommended that you always
10168 # use absolute paths for naming shared libraries, and exclude the
10169 # DT_RUNPATH tag from executables and libraries. But doing so
10170 # requires that you compile everything twice, which is a pain.
10171 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10172 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10174 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10183 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10185 hardcode_direct=yes
10186 hardcode_shlibpath_var=no
10190 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10191 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10192 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10199 if test no = "$ld_shlibs"; then
10201 hardcode_libdir_flag_spec=
10202 export_dynamic_flag_spec=
10203 whole_archive_flag_spec=
10206 # PORTME fill in a description of your system's linker (not GNU ld)
10209 allow_undefined_flag=unsupported
10210 always_export_symbols=yes
10211 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'
10212 # Note: this linker hardcodes the directories in LIBPATH if there
10213 # are no directories specified by -L.
10214 hardcode_minus_L=yes
10215 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10216 # Neither direct hardcoding nor static linking is supported with a
10218 hardcode_direct=unsupported
10223 if test ia64 = "$host_cpu"; then
10224 # On IA64, the linker does run time linking by default, so we don't
10225 # have to do anything special.
10226 aix_use_runtimelinking=no
10227 exp_sym_flag='-Bexport'
10230 # If we're using GNU nm, then we don't want the "-C" option.
10231 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10232 # Without the "-l" option, or with the "-B" option, AIX nm treats
10233 # weak defined symbols like other global defined symbols, whereas
10234 # GNU nm marks them as "W".
10235 # While the 'weak' keyword is ignored in the Export File, we need
10236 # it in the Import File for the 'aix-soname' feature, so we have
10237 # to replace the "-B" option with "-P" for AIX nm.
10238 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10239 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10241 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10243 aix_use_runtimelinking=no
10245 # Test if we are trying to use run time linking or normal
10246 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10247 # have runtime linking enabled, and use it for executables.
10248 # For shared libraries, we enable/disable runtime linking
10249 # depending on the kind of the shared library created -
10250 # when "with_aix_soname,aix_use_runtimelinking" is:
10251 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10252 # "aix,yes" lib.so shared, rtl:yes, for executables
10253 # lib.a static archive
10254 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10255 # lib.a(lib.so.V) shared, rtl:no, for executables
10256 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10257 # lib.a(lib.so.V) shared, rtl:no
10258 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10259 # lib.a static archive
10260 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10261 for ld_flag in $LDFLAGS; do
10262 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10263 aix_use_runtimelinking=yes
10267 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10268 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10269 # so we don't have lib.a shared libs to link our executables.
10270 # We have to force runtime linking in this case.
10271 aix_use_runtimelinking=yes
10272 LDFLAGS="$LDFLAGS -Wl,-brtl"
10277 exp_sym_flag='-bexport'
10278 no_entry_flag='-bnoentry'
10281 # When large executables or shared objects are built, AIX ld can
10282 # have problems creating the table of contents. If linking a library
10283 # or program results in "error TOC overflow" add -mminimal-toc to
10284 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10285 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10288 hardcode_direct=yes
10289 hardcode_direct_absolute=yes
10290 hardcode_libdir_separator=':'
10291 link_all_deplibs=yes
10292 file_list_spec='$wl-f,'
10293 case $with_aix_soname,$aix_use_runtimelinking in
10294 aix,*) ;; # traditional, no import file
10295 svr4,* | *,yes) # use import file
10296 # The Import File defines what to hardcode.
10298 hardcode_direct_absolute=no
10302 if test yes = "$GCC"; then
10303 case $host_os in aix4.[012]|aix4.[012].*)
10304 # We only want to do this on AIX 4.2 and lower, the check
10305 # below for broken collect2 doesn't work under 4.3+
10306 collect2name=`$CC -print-prog-name=collect2`
10307 if test -f "$collect2name" &&
10308 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10310 # We have reworked collect2
10313 # We have old collect2
10314 hardcode_direct=unsupported
10315 # It fails to find uninstalled libraries when the uninstalled
10316 # path is not listed in the libpath. Setting hardcode_minus_L
10317 # to unsupported forces relinking
10318 hardcode_minus_L=yes
10319 hardcode_libdir_flag_spec='-L$libdir'
10320 hardcode_libdir_separator=
10324 shared_flag='-shared'
10325 if test yes = "$aix_use_runtimelinking"; then
10326 shared_flag="$shared_flag "'$wl-G'
10328 # Need to ensure runtime linking is disabled for the traditional
10329 # shared library, or the linker may eventually find shared libraries
10330 # /with/ Import File - we do not want to mix them.
10331 shared_flag_aix='-shared'
10332 shared_flag_svr4='-shared $wl-G'
10335 if test ia64 = "$host_cpu"; then
10336 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10337 # chokes on -Wl,-G. The following line is correct:
10340 if test yes = "$aix_use_runtimelinking"; then
10341 shared_flag='$wl-G'
10343 shared_flag='$wl-bM:SRE'
10345 shared_flag_aix='$wl-bM:SRE'
10346 shared_flag_svr4='$wl-G'
10350 export_dynamic_flag_spec='$wl-bexpall'
10351 # It seems that -bexpall does not export symbols beginning with
10352 # underscore (_), so it is better to generate a list of symbols to export.
10353 always_export_symbols=yes
10354 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10355 # Warning - without using the other runtime loading flags (-brtl),
10356 # -berok will link without error, but may produce a broken library.
10357 allow_undefined_flag='-berok'
10358 # Determine the default libpath from the value encoded in an
10359 # empty executable.
10360 if test set = "${lt_cv_aix_libpath+set}"; then
10361 aix_libpath=$lt_cv_aix_libpath
10363 if ${lt_cv_aix_libpath_+:} false; then :
10364 $as_echo_n "(cached) " >&6
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10377 if ac_fn_c_try_link "$LINENO"; then :
10379 lt_aix_libpath_sed='
10380 /Import File Strings/,/^$/ {
10382 s/^0 *\([^ ]*\) *$/\1/
10386 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10387 # Check for a 64-bit object if we didn't find anything.
10388 if test -z "$lt_cv_aix_libpath_"; then
10389 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 if test -z "$lt_cv_aix_libpath_"; then
10395 lt_cv_aix_libpath_=/usr/lib:/lib
10400 aix_libpath=$lt_cv_aix_libpath_
10403 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10404 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10406 if test ia64 = "$host_cpu"; then
10407 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10408 allow_undefined_flag="-z nodefs"
10409 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"
10411 # Determine the default libpath from the value encoded in an
10412 # empty executable.
10413 if test set = "${lt_cv_aix_libpath+set}"; then
10414 aix_libpath=$lt_cv_aix_libpath
10416 if ${lt_cv_aix_libpath_+:} false; then :
10417 $as_echo_n "(cached) " >&6
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10430 if ac_fn_c_try_link "$LINENO"; then :
10432 lt_aix_libpath_sed='
10433 /Import File Strings/,/^$/ {
10435 s/^0 *\([^ ]*\) *$/\1/
10439 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10440 # Check for a 64-bit object if we didn't find anything.
10441 if test -z "$lt_cv_aix_libpath_"; then
10442 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 if test -z "$lt_cv_aix_libpath_"; then
10448 lt_cv_aix_libpath_=/usr/lib:/lib
10453 aix_libpath=$lt_cv_aix_libpath_
10456 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10457 # Warning - without using the other run time loading flags,
10458 # -berok will link without error, but may produce a broken library.
10459 no_undefined_flag=' $wl-bernotok'
10460 allow_undefined_flag=' $wl-berok'
10461 if test yes = "$with_gnu_ld"; then
10462 # We only use this code for GNU lds that support --whole-archive.
10463 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10465 # Exported symbols can be pulled into shared objects from archives
10466 whole_archive_flag_spec='$convenience'
10468 archive_cmds_need_lc=yes
10469 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10470 # -brtl affects multiple linker settings, -berok does not and is overridden later
10471 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10472 if test svr4 != "$with_aix_soname"; then
10473 # This is similar to how AIX traditionally builds its shared libraries.
10474 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10476 if test aix != "$with_aix_soname"; then
10477 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10479 # used by -dlpreopen to get the symbols
10480 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10482 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10490 # see comment about AmigaOS4 .so support
10491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10492 archive_expsym_cmds=''
10495 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)'
10496 hardcode_libdir_flag_spec='-L$libdir'
10497 hardcode_minus_L=yes
10503 export_dynamic_flag_spec=-rdynamic
10506 cygwin* | mingw* | pw32* | cegcc*)
10507 # When not using gcc, we currently assume that we are using
10508 # Microsoft Visual C++.
10509 # hardcode_libdir_flag_spec is actually meaningless, as there is
10510 # no search path for DLLs.
10511 case $cc_basename in
10514 hardcode_libdir_flag_spec=' '
10515 allow_undefined_flag=unsupported
10516 always_export_symbols=yes
10518 # Tell ltmain to make .lib files, not .a files.
10520 # Tell ltmain to make .dll files, not .so files.
10522 # FIXME: Setting linknames here is a bad hack.
10523 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10524 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10525 cp "$export_symbols" "$output_objdir/$soname.def";
10526 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10528 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10530 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10532 # The linker will not automatically build a static lib if we build a DLL.
10533 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10534 enable_shared_with_static_runtimes=yes
10535 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10536 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10538 old_postinstall_cmds='chmod 644 $oldlib'
10539 postlink_cmds='lt_outputfile="@OUTPUT@"~
10540 lt_tool_outputfile="@TOOL_OUTPUT@"~
10541 case $lt_outputfile in
10544 lt_outputfile=$lt_outputfile.exe
10545 lt_tool_outputfile=$lt_tool_outputfile.exe
10548 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10549 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10550 $RM "$lt_outputfile.manifest";
10554 # Assume MSVC wrapper
10555 hardcode_libdir_flag_spec=' '
10556 allow_undefined_flag=unsupported
10557 # Tell ltmain to make .lib files, not .a files.
10559 # Tell ltmain to make .dll files, not .so files.
10561 # FIXME: Setting linknames here is a bad hack.
10562 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10563 # The linker will automatically build a .lib file if we build a DLL.
10564 old_archive_from_new_cmds='true'
10565 # FIXME: Should let the user specify the lib program.
10566 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10567 enable_shared_with_static_runtimes=yes
10572 darwin* | rhapsody*)
10575 archive_cmds_need_lc=no
10577 hardcode_automatic=yes
10578 hardcode_shlibpath_var=unsupported
10579 if test yes = "$lt_cv_ld_force_load"; then
10580 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\"`'
10583 whole_archive_flag_spec=''
10585 link_all_deplibs=yes
10586 allow_undefined_flag=$_lt_dar_allow_undefined
10587 case $cc_basename in
10588 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10589 *) _lt_dar_can_shared=$GCC ;;
10591 if test yes = "$_lt_dar_can_shared"; then
10592 output_verbose_link_cmd=func_echo_all
10593 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10594 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10595 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"
10596 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"
10605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10606 hardcode_libdir_flag_spec='-L$libdir'
10607 hardcode_shlibpath_var=no
10610 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10611 # support. Future versions do this automatically, but an explicit c++rt0.o
10612 # does not break anything, and helps significantly (at the cost of a little
10615 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10616 hardcode_libdir_flag_spec='-R$libdir'
10617 hardcode_direct=yes
10618 hardcode_shlibpath_var=no
10621 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10623 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10624 hardcode_direct=yes
10625 hardcode_minus_L=yes
10626 hardcode_shlibpath_var=no
10629 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10630 freebsd* | dragonfly*)
10631 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10632 hardcode_libdir_flag_spec='-R$libdir'
10633 hardcode_direct=yes
10634 hardcode_shlibpath_var=no
10638 if test yes = "$GCC"; then
10639 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10641 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10643 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10644 hardcode_libdir_separator=:
10645 hardcode_direct=yes
10647 # hardcode_minus_L: Not really in the search PATH,
10648 # but as the default location of the library.
10649 hardcode_minus_L=yes
10650 export_dynamic_flag_spec='$wl-E'
10654 if test yes,no = "$GCC,$with_gnu_ld"; then
10655 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10659 if test no = "$with_gnu_ld"; then
10660 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10661 hardcode_libdir_separator=:
10662 hardcode_direct=yes
10663 hardcode_direct_absolute=yes
10664 export_dynamic_flag_spec='$wl-E'
10665 # hardcode_minus_L: Not really in the search PATH,
10666 # but as the default location of the library.
10667 hardcode_minus_L=yes
10672 if test yes,no = "$GCC,$with_gnu_ld"; then
10675 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10678 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10681 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10687 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10690 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10694 # Older versions of the 11.00 compiler do not understand -b yet
10695 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10697 $as_echo_n "checking if $CC understands -b... " >&6; }
10698 if ${lt_cv_prog_compiler__b+:} false; then :
10699 $as_echo_n "(cached) " >&6
10701 lt_cv_prog_compiler__b=no
10702 save_LDFLAGS=$LDFLAGS
10703 LDFLAGS="$LDFLAGS -b"
10704 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10705 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10706 # The linker can only warn and ignore the option if not recognized
10707 # So say no if there are warnings
10708 if test -s conftest.err; then
10709 # Append any errors to the config.log.
10710 cat conftest.err 1>&5
10711 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10712 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10713 if diff conftest.exp conftest.er2 >/dev/null; then
10714 lt_cv_prog_compiler__b=yes
10717 lt_cv_prog_compiler__b=yes
10721 LDFLAGS=$save_LDFLAGS
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10725 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10727 if test yes = "$lt_cv_prog_compiler__b"; then
10728 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10730 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10736 if test no = "$with_gnu_ld"; then
10737 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10738 hardcode_libdir_separator=:
10743 hardcode_shlibpath_var=no
10746 hardcode_direct=yes
10747 hardcode_direct_absolute=yes
10748 export_dynamic_flag_spec='$wl-E'
10750 # hardcode_minus_L: Not really in the search PATH,
10751 # but as the default location of the library.
10752 hardcode_minus_L=yes
10758 irix5* | irix6* | nonstopux*)
10759 if test yes = "$GCC"; then
10760 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'
10761 # Try to use the -exported_symbol ld option, if it does not
10762 # work, assume that -exports_file does not work either and
10763 # implicitly export all symbols.
10764 # This should be the same for all languages, so no per-tag cache variable.
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10766 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10767 if ${lt_cv_irix_exported_symbol+:} false; then :
10768 $as_echo_n "(cached) " >&6
10770 save_LDFLAGS=$LDFLAGS
10771 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774 int foo (void) { return 0; }
10776 if ac_fn_c_try_link "$LINENO"; then :
10777 lt_cv_irix_exported_symbol=yes
10779 lt_cv_irix_exported_symbol=no
10781 rm -f core conftest.err conftest.$ac_objext \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LDFLAGS=$save_LDFLAGS
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10786 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10787 if test yes = "$lt_cv_irix_exported_symbol"; then
10788 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'
10791 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'
10792 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'
10794 archive_cmds_need_lc='no'
10795 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10796 hardcode_libdir_separator=:
10798 link_all_deplibs=yes
10802 case $cc_basename in
10804 # Fabrice Bellard et al's Tiny C Compiler
10806 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10812 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10813 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10815 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10817 hardcode_libdir_flag_spec='-R$libdir'
10818 hardcode_direct=yes
10819 hardcode_shlibpath_var=no
10823 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10824 hardcode_direct=yes
10825 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10826 hardcode_libdir_separator=:
10827 hardcode_shlibpath_var=no
10833 openbsd* | bitrig*)
10834 if test -f /usr/libexec/ld.so; then
10835 hardcode_direct=yes
10836 hardcode_shlibpath_var=no
10837 hardcode_direct_absolute=yes
10838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10839 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10840 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10841 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10842 export_dynamic_flag_spec='$wl-E'
10844 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10845 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10853 hardcode_libdir_flag_spec='-L$libdir'
10854 hardcode_minus_L=yes
10855 allow_undefined_flag=unsupported
10857 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10858 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10859 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10860 $ECHO EXPORTS >> $output_objdir/$libname.def~
10861 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10862 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10863 emximp -o $lib $output_objdir/$libname.def'
10864 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10865 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10866 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10867 $ECHO EXPORTS >> $output_objdir/$libname.def~
10868 prefix_cmds="$SED"~
10869 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10870 prefix_cmds="$prefix_cmds -e 1d";
10872 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10873 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10874 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10875 emximp -o $lib $output_objdir/$libname.def'
10876 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10877 enable_shared_with_static_runtimes=yes
10881 if test yes = "$GCC"; then
10882 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10883 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'
10885 allow_undefined_flag=' -expect_unresolved \*'
10886 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'
10888 archive_cmds_need_lc='no'
10889 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10890 hardcode_libdir_separator=:
10893 osf4* | osf5*) # as osf3* with the addition of -msym flag
10894 if test yes = "$GCC"; then
10895 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10896 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'
10897 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10899 allow_undefined_flag=' -expect_unresolved \*'
10900 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'
10901 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~
10902 $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'
10904 # Both c and cxx compiler support -rpath directly
10905 hardcode_libdir_flag_spec='-rpath $libdir'
10907 archive_cmds_need_lc='no'
10908 hardcode_libdir_separator=:
10912 no_undefined_flag=' -z defs'
10913 if test yes = "$GCC"; then
10915 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10916 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10917 $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'
10919 case `$CC -V 2>&1` in
10922 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10923 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10924 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10928 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10929 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10930 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10934 hardcode_libdir_flag_spec='-R$libdir'
10935 hardcode_shlibpath_var=no
10937 solaris2.[0-5] | solaris2.[0-5].*) ;;
10939 # The compiler driver will combine and reorder linker options,
10940 # but understands '-z linker_flag'. GCC discards it without '$wl',
10941 # but is careful enough not to reorder.
10942 # Supported since Solaris 2.6 (maybe 2.5.1?)
10943 if test yes = "$GCC"; then
10944 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10946 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10950 link_all_deplibs=yes
10954 if test sequent = "$host_vendor"; then
10955 # Use $CC to link under sequent, because it throws in some extra .o
10956 # files that make .init and .fini sections work.
10957 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10959 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10961 hardcode_libdir_flag_spec='-L$libdir'
10962 hardcode_direct=yes
10963 hardcode_minus_L=yes
10964 hardcode_shlibpath_var=no
10968 case $host_vendor in
10970 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10971 hardcode_direct=yes # is this really true???
10974 ## LD is ld it makes a PLAMLIB
10975 ## CC just makes a GrossModule.
10976 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10977 reload_cmds='$CC -r -o $output$reload_objs'
10981 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10982 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10985 runpath_var='LD_RUN_PATH'
10986 hardcode_shlibpath_var=no
10990 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10991 hardcode_shlibpath_var=no
10992 export_dynamic_flag_spec='-Bexport'
10996 if test -d /usr/nec; then
10997 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10998 hardcode_shlibpath_var=no
10999 runpath_var=LD_RUN_PATH
11000 hardcode_runpath_var=yes
11005 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11006 no_undefined_flag='$wl-z,text'
11007 archive_cmds_need_lc=no
11008 hardcode_shlibpath_var=no
11009 runpath_var='LD_RUN_PATH'
11011 if test yes = "$GCC"; then
11012 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11013 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11015 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11016 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11020 sysv5* | sco3.2v5* | sco5v6*)
11021 # Note: We CANNOT use -z defs as we might desire, because we do not
11022 # link with -lc, and that would cause any symbols used from libc to
11023 # always be unresolved, which means just about no library would
11024 # ever link correctly. If we're not using GNU ld we use -z text
11025 # though, which does catch some bad symbols but isn't as heavy-handed
11027 no_undefined_flag='$wl-z,text'
11028 allow_undefined_flag='$wl-z,nodefs'
11029 archive_cmds_need_lc=no
11030 hardcode_shlibpath_var=no
11031 hardcode_libdir_flag_spec='$wl-R,$libdir'
11032 hardcode_libdir_separator=':'
11033 link_all_deplibs=yes
11034 export_dynamic_flag_spec='$wl-Bexport'
11035 runpath_var='LD_RUN_PATH'
11037 if test yes = "$GCC"; then
11038 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11039 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11041 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11042 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11048 hardcode_libdir_flag_spec='-L$libdir'
11049 hardcode_shlibpath_var=no
11057 if test sni = "$host_vendor"; then
11059 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11060 export_dynamic_flag_spec='$wl-Blargedynsym'
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11067 $as_echo "$ld_shlibs" >&6; }
11068 test no = "$ld_shlibs" && can_build_shared=no
11070 with_gnu_ld=$with_gnu_ld
11087 # Do we need to explicitly link libc?
11089 case "x$archive_cmds_need_lc" in
11091 # Assume -lc should be added
11092 archive_cmds_need_lc=yes
11094 if test yes,yes = "$GCC,$enable_shared"; then
11095 case $archive_cmds in
11097 # FIXME: we may have to deal with multi-command sequences.
11100 # Test whether the compiler implicitly links with -lc since on some
11101 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11102 # to ld, don't add -lc before -lgcc.
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11104 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11105 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11106 $as_echo_n "(cached) " >&6
11109 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11111 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11112 (eval $ac_compile) 2>&5
11114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11115 test $ac_status = 0; } 2>conftest.err; then
11118 libobjs=conftest.$ac_objext
11120 wl=$lt_prog_compiler_wl
11121 pic_flag=$lt_prog_compiler_pic
11127 lt_save_allow_undefined_flag=$allow_undefined_flag
11128 allow_undefined_flag=
11129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11130 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11133 test $ac_status = 0; }
11135 lt_cv_archive_cmds_need_lc=no
11137 lt_cv_archive_cmds_need_lc=yes
11139 allow_undefined_flag=$lt_save_allow_undefined_flag
11141 cat conftest.err 1>&5
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11147 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11148 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11307 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11309 if test yes = "$GCC"; then
11311 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11312 *) lt_awk_arg='/^libraries:/' ;;
11315 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11316 *) lt_sed_strip_eq='s|=/|/|g' ;;
11318 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11319 case $lt_search_path_spec in
11321 # if the path contains ";" then we assume it to be the separator
11322 # otherwise default to the standard path separator (i.e. ":") - it is
11323 # assumed that no part of a normal pathname contains ";" but that should
11324 # okay in the real world where ";" in dirpaths is itself problematic.
11325 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11328 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11331 # Ok, now we have the path, separated by spaces, we can step through it
11332 # and add multilib dir if necessary...
11333 lt_tmp_lt_search_path_spec=
11334 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11335 # ...but if some path component already ends with the multilib dir we assume
11336 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11337 case "$lt_multi_os_dir; $lt_search_path_spec " in
11338 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11342 for lt_sys_path in $lt_search_path_spec; do
11343 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11344 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11345 elif test -n "$lt_multi_os_dir"; then
11346 test -d "$lt_sys_path" && \
11347 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11350 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11351 BEGIN {RS = " "; FS = "/|\n";} {
11354 for (lt_i = NF; lt_i > 0; lt_i--) {
11355 if ($lt_i != "" && $lt_i != ".") {
11356 if ($lt_i == "..") {
11359 if (lt_count == 0) {
11360 lt_foo = "/" $lt_i lt_foo;
11367 if (lt_foo != "") { lt_freq[lt_foo]++; }
11368 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11370 # AWK program above erroneously prepends '/' to C:/dos/paths
11373 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11374 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11376 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11378 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11380 library_names_spec=
11381 libname_spec='lib$name'
11385 postuninstall_cmds=
11389 shlibpath_overrides_runpath=unknown
11391 dynamic_linker="$host_os ld.so"
11392 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11393 need_lib_prefix=unknown
11394 hardcode_into_libs=no
11396 # when you set need_version to no, make sure it does not cause -set_version
11397 # flags to be left without arguments
11398 need_version=unknown
11404 version_type=linux # correct to gnu/linux during the next big refactor
11405 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11406 shlibpath_var=LIBPATH
11408 # AIX 3 has no versioning support, so we append a major version to the name.
11409 soname_spec='$libname$release$shared_ext$major'
11413 version_type=linux # correct to gnu/linux during the next big refactor
11416 hardcode_into_libs=yes
11417 if test ia64 = "$host_cpu"; then
11418 # AIX 5 supports IA64
11419 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11420 shlibpath_var=LD_LIBRARY_PATH
11422 # With GCC up to 2.95.x, collect2 would create an import file
11423 # for dependence libraries. The import file would start with
11424 # the line '#! .'. This would cause the generated library to
11425 # depend on '.', always an invalid library. This was fixed in
11426 # development snapshots of GCC prior to 3.0.
11428 aix4 | aix4.[01] | aix4.[01].*)
11429 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11431 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11434 can_build_shared=no
11438 # Using Import Files as archive members, it is possible to support
11439 # filename-based versioning of shared library archives on AIX. While
11440 # this would work for both with and without runtime linking, it will
11441 # prevent static linking of such archives. So we do filename-based
11442 # shared library versioning with .so extension only, which is used
11443 # when both runtime linking and shared linking is enabled.
11444 # Unfortunately, runtime linking may impact performance, so we do
11445 # not want this to be the default eventually. Also, we use the
11446 # versioned .so libs for executables only if there is the -brtl
11447 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11448 # To allow for filename-based versioning support, we need to create
11449 # libNAME.so.V as an archive file, containing:
11450 # *) an Import File, referring to the versioned filename of the
11451 # archive as well as the shared archive member, telling the
11452 # bitwidth (32 or 64) of that shared object, and providing the
11453 # list of exported symbols of that shared object, eventually
11454 # decorated with the 'weak' keyword
11455 # *) the shared object with the F_LOADONLY flag set, to really avoid
11456 # it being seen by the linker.
11457 # At run time we better use the real file rather than another symlink,
11458 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11460 case $with_aix_soname,$aix_use_runtimelinking in
11461 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11462 # soname into executable. Probably we can add versioning support to
11463 # collect2, so additional links can be useful in future.
11464 aix,yes) # traditional libtool
11465 dynamic_linker='AIX unversionable lib.so'
11466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11467 # instead of lib<name>.a to let people know that these are not
11468 # typical AIX shared libraries.
11469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11471 aix,no) # traditional AIX only
11472 dynamic_linker='AIX lib.a(lib.so.V)'
11473 # We preserve .a as extension for shared libraries through AIX4.2
11474 # and later when we are not doing run time linking.
11475 library_names_spec='$libname$release.a $libname.a'
11476 soname_spec='$libname$release$shared_ext$major'
11478 svr4,*) # full svr4 only
11479 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11480 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11481 # We do not specify a path in Import Files, so LIBPATH fires.
11482 shlibpath_overrides_runpath=yes
11484 *,yes) # both, prefer svr4
11485 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11486 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11487 # unpreferred sharedlib libNAME.a needs extra handling
11488 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11489 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11490 # We do not specify a path in Import Files, so LIBPATH fires.
11491 shlibpath_overrides_runpath=yes
11493 *,no) # both, prefer aix
11494 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11495 library_names_spec='$libname$release.a $libname.a'
11496 soname_spec='$libname$release$shared_ext$major'
11497 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11498 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11499 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11502 shlibpath_var=LIBPATH
11509 # Since July 2007 AmigaOS4 officially supports .so libraries.
11510 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11511 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11514 library_names_spec='$libname.ixlibrary $libname.a'
11515 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11516 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11522 library_names_spec='$libname$shared_ext'
11523 dynamic_linker="$host_os ld.so"
11524 shlibpath_var=LIBRARY_PATH
11528 version_type=linux # correct to gnu/linux during the next big refactor
11530 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11531 soname_spec='$libname$release$shared_ext$major'
11532 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11533 shlibpath_var=LD_LIBRARY_PATH
11534 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11535 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11536 # the default ld.so.conf also contains /usr/contrib/lib and
11537 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11538 # libtool to hard-code these into programs
11541 cygwin* | mingw* | pw32* | cegcc*)
11542 version_type=windows
11547 case $GCC,$cc_basename in
11550 library_names_spec='$libname.dll.a'
11551 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11552 postinstall_cmds='base_file=`basename \$file`~
11553 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11554 dldir=$destdir/`dirname \$dlpath`~
11555 test -d \$dldir || mkdir -p \$dldir~
11556 $install_prog $dir/$dlname \$dldir/$dlname~
11557 chmod a+x \$dldir/$dlname~
11558 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11559 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11561 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11562 dlpath=$dir/\$dldll~
11564 shlibpath_overrides_runpath=yes
11568 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11569 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11571 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11574 # MinGW DLLs use traditional 'lib' prefix
11575 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11578 # pw32 DLLs use 'pw' prefix rather than 'lib'
11579 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11582 dynamic_linker='Win32 ld.exe'
11587 libname_spec='$name'
11588 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11589 library_names_spec='$libname.dll.lib'
11593 sys_lib_search_path_spec=
11596 for lt_path in $LIB
11599 # Let DOS variable expansion print the short 8.3 style file name.
11600 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11601 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11604 # Convert to MSYS style.
11605 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11608 # Convert to unix form, then to dos form, then back to unix form
11609 # but this time dos style (no spaces!) so that the unix form looks
11610 # like /cygdrive/c/PROGRA~1:/cygdr...
11611 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11612 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11613 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11616 sys_lib_search_path_spec=$LIB
11617 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11618 # It is most probably a Windows format PATH.
11619 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11621 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11623 # FIXME: find the short name or the path components, as spaces are
11624 # common. (e.g. "Program Files" -> "PROGRA~1")
11628 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11629 postinstall_cmds='base_file=`basename \$file`~
11630 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11631 dldir=$destdir/`dirname \$dlpath`~
11632 test -d \$dldir || mkdir -p \$dldir~
11633 $install_prog $dir/$dlname \$dldir/$dlname'
11634 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11635 dlpath=$dir/\$dldll~
11637 shlibpath_overrides_runpath=yes
11638 dynamic_linker='Win32 link.exe'
11642 # Assume MSVC wrapper
11643 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11644 dynamic_linker='Win32 ld.exe'
11647 # FIXME: first we should search . and the directory the executable is in
11651 darwin* | rhapsody*)
11652 dynamic_linker="$host_os dyld"
11653 version_type=darwin
11656 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11657 soname_spec='$libname$release$major$shared_ext'
11658 shlibpath_overrides_runpath=yes
11659 shlibpath_var=DYLD_LIBRARY_PATH
11660 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11662 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11663 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11667 version_type=linux # correct to gnu/linux during the next big refactor
11670 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11671 soname_spec='$libname$release$shared_ext$major'
11672 shlibpath_var=LD_LIBRARY_PATH
11675 freebsd* | dragonfly*)
11676 # DragonFly does not have aout. When/if they implement a new
11677 # versioning mechanism, adjust this.
11678 if test -x /usr/bin/objformat; then
11679 objformat=`/usr/bin/objformat`
11682 freebsd[23].*) objformat=aout ;;
11683 *) objformat=elf ;;
11686 version_type=freebsd-$objformat
11687 case $version_type in
11689 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11690 soname_spec='$libname$release$shared_ext$major'
11695 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11699 shlibpath_var=LD_LIBRARY_PATH
11702 shlibpath_overrides_runpath=yes
11704 freebsd3.[01]* | freebsdelf3.[01]*)
11705 shlibpath_overrides_runpath=yes
11706 hardcode_into_libs=yes
11708 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11709 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11710 shlibpath_overrides_runpath=no
11711 hardcode_into_libs=yes
11713 *) # from 4.6 on, and DragonFly
11714 shlibpath_overrides_runpath=yes
11715 hardcode_into_libs=yes
11721 version_type=linux # correct to gnu/linux during the next big refactor
11724 dynamic_linker="$host_os runtime_loader"
11725 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11726 soname_spec='$libname$release$shared_ext$major'
11727 shlibpath_var=LIBRARY_PATH
11728 shlibpath_overrides_runpath=no
11729 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11730 hardcode_into_libs=yes
11733 hpux9* | hpux10* | hpux11*)
11734 # Give a soname corresponding to the major version so that dld.sl refuses to
11735 # link against other versions.
11742 hardcode_into_libs=yes
11743 dynamic_linker="$host_os dld.so"
11744 shlibpath_var=LD_LIBRARY_PATH
11745 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11747 soname_spec='$libname$release$shared_ext$major'
11748 if test 32 = "$HPUX_IA64_MODE"; then
11749 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11750 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11752 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11753 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11758 hardcode_into_libs=yes
11759 dynamic_linker="$host_os dld.sl"
11760 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11761 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11762 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11763 soname_spec='$libname$release$shared_ext$major'
11764 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11765 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11769 dynamic_linker="$host_os dld.sl"
11770 shlibpath_var=SHLIB_PATH
11771 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11772 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11773 soname_spec='$libname$release$shared_ext$major'
11776 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11777 postinstall_cmds='chmod 555 $lib'
11778 # or fails outright, so override atomically:
11779 install_override_mode=555
11783 version_type=linux # correct to gnu/linux during the next big refactor
11786 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11787 soname_spec='$libname$release$shared_ext$major'
11788 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11789 shlibpath_var=LD_LIBRARY_PATH
11790 shlibpath_overrides_runpath=no
11791 hardcode_into_libs=yes
11794 irix5* | irix6* | nonstopux*)
11796 nonstopux*) version_type=nonstopux ;;
11798 if test yes = "$lt_cv_prog_gnu_ld"; then
11799 version_type=linux # correct to gnu/linux during the next big refactor
11806 soname_spec='$libname$release$shared_ext$major'
11807 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11809 irix5* | nonstopux*)
11810 libsuff= shlibsuff=
11813 case $LD in # libtool.m4 will add one of these switches to LD
11814 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11815 libsuff= shlibsuff= libmagic=32-bit;;
11816 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11817 libsuff=32 shlibsuff=N32 libmagic=N32;;
11818 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11819 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11820 *) libsuff= shlibsuff= libmagic=never-match;;
11824 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11825 shlibpath_overrides_runpath=no
11826 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11827 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11828 hardcode_into_libs=yes
11831 # No shared lib support for Linux oldld, aout, or coff.
11832 linux*oldld* | linux*aout* | linux*coff*)
11837 version_type=none # Android doesn't support versioned libraries.
11840 library_names_spec='$libname$release$shared_ext'
11841 soname_spec='$libname$release$shared_ext'
11843 shlibpath_var=LD_LIBRARY_PATH
11844 shlibpath_overrides_runpath=yes
11846 # This implies no fast_install, which is unacceptable.
11847 # Some rework will be needed to allow for fast_install
11848 # before this can be enabled.
11849 hardcode_into_libs=yes
11851 dynamic_linker='Android linker'
11852 # Don't embed -rpath directories since the linker doesn't support them.
11853 hardcode_libdir_flag_spec='-L$libdir'
11856 # This must be glibc/ELF.
11857 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11858 version_type=linux # correct to gnu/linux during the next big refactor
11861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11862 soname_spec='$libname$release$shared_ext$major'
11863 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11864 shlibpath_var=LD_LIBRARY_PATH
11865 shlibpath_overrides_runpath=no
11867 # Some binutils ld are patched to set DT_RUNPATH
11868 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11869 $as_echo_n "(cached) " >&6
11871 lt_cv_shlibpath_overrides_runpath=no
11872 save_LDFLAGS=$LDFLAGS
11873 save_libdir=$libdir
11874 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11875 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11889 lt_cv_shlibpath_overrides_runpath=yes
11892 rm -f core conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11894 LDFLAGS=$save_LDFLAGS
11895 libdir=$save_libdir
11899 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11901 # This implies no fast_install, which is unacceptable.
11902 # Some rework will be needed to allow for fast_install
11903 # before this can be enabled.
11904 hardcode_into_libs=yes
11906 # Ideally, we could use ldconfig to report *all* directores which are
11907 # searched for libraries, however this is still not possible. Aside from not
11908 # being certain /sbin/ldconfig is available, command
11909 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11910 # even though it is searched at run-time. Try to do the best guess by
11911 # appending ld.so.conf contents (and includes) to the search path.
11912 if test -f /etc/ld.so.conf; then
11913 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' ' '`
11914 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11917 # We used to test for /lib/ld.so.1 and disable shared libraries on
11918 # powerpc, because MkLinux only supported shared libraries with the
11919 # GNU dynamic linker. Since this was broken with cross compilers,
11920 # most powerpc-linux boxes support dynamic linking these days and
11921 # people can always --disable-shared, the test was removed, and we
11922 # assume the GNU/Linux dynamic linker is in use.
11923 dynamic_linker='GNU/Linux ld.so'
11930 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11931 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11933 dynamic_linker='NetBSD (a.out) ld.so'
11935 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11936 soname_spec='$libname$release$shared_ext$major'
11937 dynamic_linker='NetBSD ld.elf_so'
11939 shlibpath_var=LD_LIBRARY_PATH
11940 shlibpath_overrides_runpath=yes
11941 hardcode_into_libs=yes
11945 version_type=linux # correct to gnu/linux during the next big refactor
11946 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11947 shlibpath_var=LD_LIBRARY_PATH
11948 shlibpath_overrides_runpath=yes
11955 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11956 soname_spec='$libname$release$shared_ext$major'
11957 shlibpath_var=LD_LIBRARY_PATH
11958 shlibpath_overrides_runpath=no
11959 hardcode_into_libs=yes
11960 dynamic_linker='ldqnx.so'
11963 openbsd* | bitrig*)
11965 sys_lib_dlsearch_path_spec=/usr/lib
11967 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11972 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11974 shlibpath_var=LD_LIBRARY_PATH
11975 shlibpath_overrides_runpath=yes
11979 libname_spec='$name'
11980 version_type=windows
11984 # OS/2 can only load a DLL with a base name of 8 characters or less.
11985 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11986 v=$($ECHO $release$versuffix | tr -d .-);
11987 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11988 $ECHO $n$v`$shared_ext'
11989 library_names_spec='${libname}_dll.$libext'
11990 dynamic_linker='OS/2 ld.exe'
11991 shlibpath_var=BEGINLIBPATH
11992 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11993 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11994 postinstall_cmds='base_file=`basename \$file`~
11995 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11996 dldir=$destdir/`dirname \$dlpath`~
11997 test -d \$dldir || mkdir -p \$dldir~
11998 $install_prog $dir/$dlname \$dldir/$dlname~
11999 chmod a+x \$dldir/$dlname~
12000 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12001 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12003 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12004 dlpath=$dir/\$dldll~
12008 osf3* | osf4* | osf5*)
12012 soname_spec='$libname$release$shared_ext$major'
12013 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12014 shlibpath_var=LD_LIBRARY_PATH
12015 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12016 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12024 version_type=linux # correct to gnu/linux during the next big refactor
12027 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12028 soname_spec='$libname$release$shared_ext$major'
12029 shlibpath_var=LD_LIBRARY_PATH
12030 shlibpath_overrides_runpath=yes
12031 hardcode_into_libs=yes
12032 # ldd complains unless libraries are executable
12033 postinstall_cmds='chmod +x $lib'
12038 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12039 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12040 shlibpath_var=LD_LIBRARY_PATH
12041 shlibpath_overrides_runpath=yes
12042 if test yes = "$with_gnu_ld"; then
12049 version_type=linux # correct to gnu/linux during the next big refactor
12050 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12051 soname_spec='$libname$release$shared_ext$major'
12052 shlibpath_var=LD_LIBRARY_PATH
12053 case $host_vendor in
12055 shlibpath_overrides_runpath=no
12057 runpath_var=LD_RUN_PATH
12065 shlibpath_overrides_runpath=no
12066 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12072 if test -d /usr/nec; then
12073 version_type=linux # correct to gnu/linux during the next big refactor
12074 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12075 soname_spec='$libname$shared_ext.$major'
12076 shlibpath_var=LD_LIBRARY_PATH
12080 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12084 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12085 soname_spec='$libname$release$shared_ext$major'
12086 shlibpath_var=LD_LIBRARY_PATH
12087 shlibpath_overrides_runpath=yes
12088 hardcode_into_libs=yes
12089 if test yes = "$with_gnu_ld"; then
12090 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12092 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12095 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12099 sys_lib_dlsearch_path_spec='/usr/lib'
12103 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12104 version_type=linux # correct to gnu/linux during the next big refactor
12107 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12108 shlibpath_var=LD_LIBRARY_PATH
12109 shlibpath_overrides_runpath=no
12110 hardcode_into_libs=yes
12114 version_type=linux # correct to gnu/linux during the next big refactor
12115 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12116 soname_spec='$libname$release$shared_ext$major'
12117 shlibpath_var=LD_LIBRARY_PATH
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12125 $as_echo "$dynamic_linker" >&6; }
12126 test no = "$dynamic_linker" && can_build_shared=no
12128 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12129 if test yes = "$GCC"; then
12130 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12133 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12134 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12137 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12138 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12141 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12142 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12144 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12145 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12147 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12148 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12247 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12249 if test -n "$hardcode_libdir_flag_spec" ||
12250 test -n "$runpath_var" ||
12251 test yes = "$hardcode_automatic"; then
12253 # We can hardcode non-existent directories.
12254 if test no != "$hardcode_direct" &&
12255 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12256 # have to relink, otherwise we might link with an installed library
12257 # when we should be linking with a yet-to-be-installed one
12258 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12259 test no != "$hardcode_minus_L"; then
12260 # Linking always hardcodes the temporary library directory.
12261 hardcode_action=relink
12263 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12264 hardcode_action=immediate
12267 # We cannot hardcode anything, or else we can only hardcode existing
12269 hardcode_action=unsupported
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12272 $as_echo "$hardcode_action" >&6; }
12274 if test relink = "$hardcode_action" ||
12275 test yes = "$inherit_rpath"; then
12276 # Fast installation is not supported
12277 enable_fast_install=no
12278 elif test yes = "$shlibpath_overrides_runpath" ||
12279 test no = "$enable_shared"; then
12280 # Fast installation is not necessary
12281 enable_fast_install=needless
12289 if test yes != "$enable_dlopen"; then
12290 enable_dlopen=unknown
12291 enable_dlopen_self=unknown
12292 enable_dlopen_self_static=unknown
12299 lt_cv_dlopen=load_add_on
12301 lt_cv_dlopen_self=yes
12304 mingw* | pw32* | cegcc*)
12305 lt_cv_dlopen=LoadLibrary
12310 lt_cv_dlopen=dlopen
12315 # if libdl is installed we need to link against it
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12317 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12318 if ${ac_cv_lib_dl_dlopen+:} false; then :
12319 $as_echo_n "(cached) " >&6
12321 ac_check_lib_save_LIBS=$LIBS
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 ac_cv_lib_dl_dlopen=yes
12344 ac_cv_lib_dl_dlopen=no
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 LIBS=$ac_check_lib_save_LIBS
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12351 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12352 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12353 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12358 lt_cv_dlopen_self=yes
12365 # Don't try to run any link tests for TPF. We know it's impossible
12366 # because TPF is a cross-compiler, and we know how we open DSOs.
12367 lt_cv_dlopen=dlopen
12369 lt_cv_dlopen_self=no
12373 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12374 if test "x$ac_cv_func_shl_load" = xyes; then :
12375 lt_cv_dlopen=shl_load
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12378 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12379 if ${ac_cv_lib_dld_shl_load+:} false; then :
12380 $as_echo_n "(cached) " >&6
12382 ac_check_lib_save_LIBS=$LIBS
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12397 return shl_load ();
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 ac_cv_lib_dld_shl_load=yes
12405 ac_cv_lib_dld_shl_load=no
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 LIBS=$ac_check_lib_save_LIBS
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12412 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12413 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12414 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12416 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12417 if test "x$ac_cv_func_dlopen" = xyes; then :
12418 lt_cv_dlopen=dlopen
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12421 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12422 if ${ac_cv_lib_dl_dlopen+:} false; then :
12423 $as_echo_n "(cached) " >&6
12425 ac_check_lib_save_LIBS=$LIBS
12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12445 if ac_fn_c_try_link "$LINENO"; then :
12446 ac_cv_lib_dl_dlopen=yes
12448 ac_cv_lib_dl_dlopen=no
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_lib_save_LIBS
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12455 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12456 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12457 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12460 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12461 if ${ac_cv_lib_svld_dlopen+:} false; then :
12462 $as_echo_n "(cached) " >&6
12464 ac_check_lib_save_LIBS=$LIBS
12465 LIBS="-lsvld $LIBS"
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12484 if ac_fn_c_try_link "$LINENO"; then :
12485 ac_cv_lib_svld_dlopen=yes
12487 ac_cv_lib_svld_dlopen=no
12489 rm -f core conftest.err conftest.$ac_objext \
12490 conftest$ac_exeext conftest.$ac_ext
12491 LIBS=$ac_check_lib_save_LIBS
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12494 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12495 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12496 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12499 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12500 if ${ac_cv_lib_dld_dld_link+:} false; then :
12501 $as_echo_n "(cached) " >&6
12503 ac_check_lib_save_LIBS=$LIBS
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12518 return dld_link ();
12523 if ac_fn_c_try_link "$LINENO"; then :
12524 ac_cv_lib_dld_dld_link=yes
12526 ac_cv_lib_dld_dld_link=no
12528 rm -f core conftest.err conftest.$ac_objext \
12529 conftest$ac_exeext conftest.$ac_ext
12530 LIBS=$ac_check_lib_save_LIBS
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12533 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12534 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12535 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12556 if test no = "$lt_cv_dlopen"; then
12562 case $lt_cv_dlopen in
12564 save_CPPFLAGS=$CPPFLAGS
12565 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12567 save_LDFLAGS=$LDFLAGS
12568 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12571 LIBS="$lt_cv_dlopen_libs $LIBS"
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12574 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12575 if ${lt_cv_dlopen_self+:} false; then :
12576 $as_echo_n "(cached) " >&6
12578 if test yes = "$cross_compiling"; then :
12579 lt_cv_dlopen_self=cross
12581 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12582 lt_status=$lt_dlunknown
12583 cat > conftest.$ac_ext <<_LT_EOF
12584 #line $LINENO "configure"
12585 #include "confdefs.h"
12594 # define LT_DLGLOBAL RTLD_GLOBAL
12597 # define LT_DLGLOBAL DL_GLOBAL
12599 # define LT_DLGLOBAL 0
12603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12604 find out it does not work in some platform. */
12605 #ifndef LT_DLLAZY_OR_NOW
12607 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12610 # define LT_DLLAZY_OR_NOW DL_LAZY
12613 # define LT_DLLAZY_OR_NOW RTLD_NOW
12616 # define LT_DLLAZY_OR_NOW DL_NOW
12618 # define LT_DLLAZY_OR_NOW 0
12625 /* When -fvisibility=hidden is used, assume the code has been annotated
12626 correspondingly for the symbols needed. */
12627 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12628 int fnord () __attribute__((visibility("default")));
12631 int fnord () { return 42; }
12634 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12635 int status = $lt_dlunknown;
12639 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12642 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12643 else puts (dlerror ());
12645 /* dlclose (self); */
12653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12654 (eval $ac_link) 2>&5
12656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12657 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12658 (./conftest; exit; ) >&5 2>/dev/null
12660 case x$lt_status in
12661 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12662 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12663 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12666 # compilation failed
12667 lt_cv_dlopen_self=no
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12675 $as_echo "$lt_cv_dlopen_self" >&6; }
12677 if test yes = "$lt_cv_dlopen_self"; then
12678 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12680 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12681 if ${lt_cv_dlopen_self_static+:} false; then :
12682 $as_echo_n "(cached) " >&6
12684 if test yes = "$cross_compiling"; then :
12685 lt_cv_dlopen_self_static=cross
12687 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12688 lt_status=$lt_dlunknown
12689 cat > conftest.$ac_ext <<_LT_EOF
12690 #line $LINENO "configure"
12691 #include "confdefs.h"
12700 # define LT_DLGLOBAL RTLD_GLOBAL
12703 # define LT_DLGLOBAL DL_GLOBAL
12705 # define LT_DLGLOBAL 0
12709 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12710 find out it does not work in some platform. */
12711 #ifndef LT_DLLAZY_OR_NOW
12713 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12716 # define LT_DLLAZY_OR_NOW DL_LAZY
12719 # define LT_DLLAZY_OR_NOW RTLD_NOW
12722 # define LT_DLLAZY_OR_NOW DL_NOW
12724 # define LT_DLLAZY_OR_NOW 0
12731 /* When -fvisibility=hidden is used, assume the code has been annotated
12732 correspondingly for the symbols needed. */
12733 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12734 int fnord () __attribute__((visibility("default")));
12737 int fnord () { return 42; }
12740 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12741 int status = $lt_dlunknown;
12745 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12748 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12749 else puts (dlerror ());
12751 /* dlclose (self); */
12759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12760 (eval $ac_link) 2>&5
12762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12763 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12764 (./conftest; exit; ) >&5 2>/dev/null
12766 case x$lt_status in
12767 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12768 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12769 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12772 # compilation failed
12773 lt_cv_dlopen_self_static=no
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12781 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12784 CPPFLAGS=$save_CPPFLAGS
12785 LDFLAGS=$save_LDFLAGS
12790 case $lt_cv_dlopen_self in
12791 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12792 *) enable_dlopen_self=unknown ;;
12795 case $lt_cv_dlopen_self_static in
12796 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12797 *) enable_dlopen_self_static=unknown ;;
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12820 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12821 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12822 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12823 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12825 $as_echo "yes" >&6; }
12827 # FIXME - insert some real tests, host_os isn't really good enough
12830 if test -n "$STRIP"; then
12831 striplib="$STRIP -x"
12832 old_striplib="$STRIP -S"
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12834 $as_echo "yes" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12837 $as_echo "no" >&6; }
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12842 $as_echo "no" >&6; }
12858 # Report what library types will actually be built
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12860 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12862 $as_echo "$can_build_shared" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12865 $as_echo_n "checking whether to build shared libraries... " >&6; }
12866 test no = "$can_build_shared" && enable_shared=no
12868 # On AIX, shared libraries and static libraries use the same namespace, and
12869 # are all built from PIC.
12872 test yes = "$enable_shared" && enable_static=no
12873 if test -n "$RANLIB"; then
12874 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12875 postinstall_cmds='$RANLIB $lib'
12880 if test ia64 != "$host_cpu"; then
12881 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12882 yes,aix,yes) ;; # shared object as lib.so file only
12883 yes,svr4,*) ;; # shared object as lib.so archive member only
12884 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12890 $as_echo "$enable_shared" >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12893 $as_echo_n "checking whether to build static libraries... " >&6; }
12894 # Make sure either enable_shared or enable_static is yes.
12895 test yes = "$enable_shared" || enable_static=yes
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12897 $as_echo "$enable_static" >&6; }
12904 ac_cpp='$CPP $CPPFLAGS'
12905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 ac_config_commands="$ac_config_commands libtool"
12930 # Only expand once:
12935 # Check for library functions that SQLite can optionally use.
12936 for ac_func in fdatasync usleep fullfsync localtime_r gmtime_r
12938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12941 cat >>confdefs.h <<_ACEOF
12942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12948 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
12949 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
12955 cat >>confdefs.h <<_ACEOF
12956 #define HAVE_DECL_STRERROR_R $ac_have_decl
12959 for ac_func in strerror_r
12961 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
12962 if test "x$ac_cv_func_strerror_r" = xyes; then :
12963 cat >>confdefs.h <<_ACEOF
12964 #define HAVE_STRERROR_R 1
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
12971 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
12972 if ${ac_cv_func_strerror_r_char_p+:} false; then :
12973 $as_echo_n "(cached) " >&6
12976 ac_cv_func_strerror_r_char_p=no
12977 if test $ac_cv_have_decl_strerror_r = yes; then
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12980 $ac_includes_default
12986 char x = *strerror_r (0, buf, sizeof buf);
12987 char *p = strerror_r (0, buf, sizeof buf);
12994 if ac_fn_c_try_compile "$LINENO"; then :
12995 ac_cv_func_strerror_r_char_p=yes
12997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12999 # strerror_r is not declared. Choose between
13000 # systems that have relatively inaccessible declarations for the
13001 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
13002 # former has a strerror_r that returns char*, while the latter
13003 # has a strerror_r that returns `int'.
13004 # This test should segfault on the DEC system.
13005 if test "$cross_compiling" = yes; then :
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13010 $ac_includes_default
13011 extern char *strerror_r ();
13016 char x = *strerror_r (0, buf, sizeof buf);
13017 return ! isalpha (x);
13022 if ac_fn_c_try_run "$LINENO"; then :
13023 ac_cv_func_strerror_r_char_p=yes
13025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13026 conftest.$ac_objext conftest.beam conftest.$ac_ext
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
13033 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
13034 if test $ac_cv_func_strerror_r_char_p = yes; then
13036 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
13041 ac_config_files="$ac_config_files Makefile sqlite3.pc"
13045 #-------------------------------------------------------------------------
13046 # Two options to enable readline compatible libraries:
13048 # --enable-editline
13049 # --enable-readline
13051 # Both are enabled by default. If, after command line processing both are
13052 # still enabled, the script searches for editline first and automatically
13053 # disables readline if it is found. So, to use readline explicitly, the
13054 # user must pass "--disable-editline". To disable command line editing
13055 # support altogether, "--disable-editline --disable-readline".
13057 # When searching for either library, check for headers before libraries
13058 # as some distros supply packages that contain libraries but not header
13059 # files, which come as a separate development package.
13061 # Check whether --enable-editline was given.
13062 if test "${enable_editline+set}" = set; then :
13063 enableval=$enable_editline;
13066 # Check whether --enable-readline was given.
13067 if test "${enable_readline+set}" = set; then :
13068 enableval=$enable_readline;
13072 if test x"$enable_editline" != xno ; then :
13074 for ac_header in editline/readline.h
13076 ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
13077 if test "x$ac_cv_header_editline_readline_h" = xyes; then :
13078 cat >>confdefs.h <<_ACEOF
13079 #define HAVE_EDITLINE_READLINE_H 1
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
13085 $as_echo_n "checking for library containing readline... " >&6; }
13086 if ${ac_cv_search_readline+:} false; then :
13087 $as_echo_n "(cached) " >&6
13089 ac_func_search_save_LIBS=$LIBS
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13103 return readline ();
13108 for ac_lib in '' edit; do
13109 if test -z "$ac_lib"; then
13110 ac_res="none required"
13113 LIBS="-l$ac_lib -ltinfo $ac_func_search_save_LIBS"
13115 if ac_fn_c_try_link "$LINENO"; then :
13116 ac_cv_search_readline=$ac_res
13118 rm -f core conftest.err conftest.$ac_objext \
13120 if ${ac_cv_search_readline+:} false; then :
13124 if ${ac_cv_search_readline+:} false; then :
13127 ac_cv_search_readline=no
13129 rm conftest.$ac_ext
13130 LIBS=$ac_func_search_save_LIBS
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
13133 $as_echo "$ac_cv_search_readline" >&6; }
13134 ac_res=$ac_cv_search_readline
13135 if test "$ac_res" != no; then :
13136 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13139 $as_echo "#define HAVE_EDITLINE 1" >>confdefs.h
13141 READLINE_LIBS="$LIBS -ltinfo"
13146 { ac_cv_search_readline=; unset ac_cv_search_readline;}
13156 if test x"$enable_readline" != xno ; then :
13158 for ac_header in readline/readline.h
13160 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
13161 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
13162 cat >>confdefs.h <<_ACEOF
13163 #define HAVE_READLINE_READLINE_H 1
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
13169 $as_echo_n "checking for library containing tgetent... " >&6; }
13170 if ${ac_cv_search_tgetent+:} false; then :
13171 $as_echo_n "(cached) " >&6
13173 ac_func_search_save_LIBS=$LIBS
13174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13177 /* Override any GCC internal prototype to avoid an error.
13178 Use char because int might match the return type of a GCC
13179 builtin and then its argument prototype would still apply. */
13192 for ac_lib in '' termcap curses ncurses ncursesw; do
13193 if test -z "$ac_lib"; then
13194 ac_res="none required"
13197 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13199 if ac_fn_c_try_link "$LINENO"; then :
13200 ac_cv_search_tgetent=$ac_res
13202 rm -f core conftest.err conftest.$ac_objext \
13204 if ${ac_cv_search_tgetent+:} false; then :
13208 if ${ac_cv_search_tgetent+:} false; then :
13211 ac_cv_search_tgetent=no
13213 rm conftest.$ac_ext
13214 LIBS=$ac_func_search_save_LIBS
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
13217 $as_echo "$ac_cv_search_tgetent" >&6; }
13218 ac_res=$ac_cv_search_tgetent
13219 if test "$ac_res" != no; then :
13220 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
13225 $as_echo_n "checking for library containing readline... " >&6; }
13226 if ${ac_cv_search_readline+:} false; then :
13227 $as_echo_n "(cached) " >&6
13229 ac_func_search_save_LIBS=$LIBS
13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13233 /* Override any GCC internal prototype to avoid an error.
13234 Use char because int might match the return type of a GCC
13235 builtin and then its argument prototype would still apply. */
13243 return readline ();
13248 for ac_lib in '' readline edit; do
13249 if test -z "$ac_lib"; then
13250 ac_res="none required"
13253 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13255 if ac_fn_c_try_link "$LINENO"; then :
13256 ac_cv_search_readline=$ac_res
13258 rm -f core conftest.err conftest.$ac_objext \
13260 if ${ac_cv_search_readline+:} false; then :
13264 if ${ac_cv_search_readline+:} false; then :
13267 ac_cv_search_readline=no
13269 rm conftest.$ac_ext
13270 LIBS=$ac_func_search_save_LIBS
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
13273 $as_echo "$ac_cv_search_readline" >&6; }
13274 ac_res=$ac_cv_search_readline
13275 if test "$ac_res" != no; then :
13276 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13279 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
13281 READLINE_LIBS=$LIBS
13295 #-----------------------------------------------------------------------
13297 #-----------------------------------------------------------------------
13298 # --enable-threadsafe
13300 # Check whether --enable-threadsafe was given.
13301 if test "${enable_threadsafe+set}" = set; then :
13302 enableval=$enable_threadsafe;
13304 enable_threadsafe=yes
13307 THREADSAFE_FLAGS=-DSQLITE_THREADSAFE=0
13308 if test x"$enable_threadsafe" != "xno"; then
13309 THREADSAFE_FLAGS="-D_REENTRANT=1 -DSQLITE_THREADSAFE=1"
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
13311 $as_echo_n "checking for library containing pthread_create... " >&6; }
13312 if ${ac_cv_search_pthread_create+:} false; then :
13313 $as_echo_n "(cached) " >&6
13315 ac_func_search_save_LIBS=$LIBS
13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13319 /* Override any GCC internal prototype to avoid an error.
13320 Use char because int might match the return type of a GCC
13321 builtin and then its argument prototype would still apply. */
13325 char pthread_create ();
13329 return pthread_create ();
13334 for ac_lib in '' pthread; do
13335 if test -z "$ac_lib"; then
13336 ac_res="none required"
13339 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13341 if ac_fn_c_try_link "$LINENO"; then :
13342 ac_cv_search_pthread_create=$ac_res
13344 rm -f core conftest.err conftest.$ac_objext \
13346 if ${ac_cv_search_pthread_create+:} false; then :
13350 if ${ac_cv_search_pthread_create+:} false; then :
13353 ac_cv_search_pthread_create=no
13355 rm conftest.$ac_ext
13356 LIBS=$ac_func_search_save_LIBS
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
13359 $as_echo "$ac_cv_search_pthread_create" >&6; }
13360 ac_res=$ac_cv_search_pthread_create
13361 if test "$ac_res" != no; then :
13362 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
13367 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
13368 if ${ac_cv_search_pthread_mutexattr_init+:} false; then :
13369 $as_echo_n "(cached) " >&6
13371 ac_func_search_save_LIBS=$LIBS
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13381 char pthread_mutexattr_init ();
13385 return pthread_mutexattr_init ();
13390 for ac_lib in '' pthread; do
13391 if test -z "$ac_lib"; then
13392 ac_res="none required"
13395 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13397 if ac_fn_c_try_link "$LINENO"; then :
13398 ac_cv_search_pthread_mutexattr_init=$ac_res
13400 rm -f core conftest.err conftest.$ac_objext \
13402 if ${ac_cv_search_pthread_mutexattr_init+:} false; then :
13406 if ${ac_cv_search_pthread_mutexattr_init+:} false; then :
13409 ac_cv_search_pthread_mutexattr_init=no
13411 rm conftest.$ac_ext
13412 LIBS=$ac_func_search_save_LIBS
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
13415 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
13416 ac_res=$ac_cv_search_pthread_mutexattr_init
13417 if test "$ac_res" != no; then :
13418 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13424 #-----------------------------------------------------------------------
13426 #-----------------------------------------------------------------------
13427 # --enable-dynamic-extensions
13429 # Check whether --enable-dynamic-extensions was given.
13430 if test "${enable_dynamic_extensions+set}" = set; then :
13431 enableval=$enable_dynamic_extensions;
13433 enable_dynamic_extensions=yes
13436 if test x"$enable_dynamic_extensions" != "xno"; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13438 $as_echo_n "checking for library containing dlopen... " >&6; }
13439 if ${ac_cv_search_dlopen+:} false; then :
13440 $as_echo_n "(cached) " >&6
13442 ac_func_search_save_LIBS=$LIBS
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13446 /* Override any GCC internal prototype to avoid an error.
13447 Use char because int might match the return type of a GCC
13448 builtin and then its argument prototype would still apply. */
13461 for ac_lib in '' dl; do
13462 if test -z "$ac_lib"; then
13463 ac_res="none required"
13466 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13468 if ac_fn_c_try_link "$LINENO"; then :
13469 ac_cv_search_dlopen=$ac_res
13471 rm -f core conftest.err conftest.$ac_objext \
13473 if ${ac_cv_search_dlopen+:} false; then :
13477 if ${ac_cv_search_dlopen+:} false; then :
13480 ac_cv_search_dlopen=no
13482 rm conftest.$ac_ext
13483 LIBS=$ac_func_search_save_LIBS
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13486 $as_echo "$ac_cv_search_dlopen" >&6; }
13487 ac_res=$ac_cv_search_dlopen
13488 if test "$ac_res" != no; then :
13489 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13494 DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for whether to support dynamic extensions" >&5
13497 $as_echo_n "checking for whether to support dynamic extensions... " >&6; }
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dynamic_extensions" >&5
13499 $as_echo "$enable_dynamic_extensions" >&6; }
13501 #-----------------------------------------------------------------------
13503 #-----------------------------------------------------------------------
13506 # Check whether --enable-fts5 was given.
13507 if test "${enable_fts5+set}" = set; then :
13508 enableval=$enable_fts5;
13513 if test x"$enable_fts5" = "xyes"; then
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
13515 $as_echo_n "checking for library containing log... " >&6; }
13516 if ${ac_cv_search_log+:} false; then :
13517 $as_echo_n "(cached) " >&6
13519 ac_func_search_save_LIBS=$LIBS
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13523 /* Override any GCC internal prototype to avoid an error.
13524 Use char because int might match the return type of a GCC
13525 builtin and then its argument prototype would still apply. */
13538 for ac_lib in '' m; do
13539 if test -z "$ac_lib"; then
13540 ac_res="none required"
13543 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13545 if ac_fn_c_try_link "$LINENO"; then :
13546 ac_cv_search_log=$ac_res
13548 rm -f core conftest.err conftest.$ac_objext \
13550 if ${ac_cv_search_log+:} false; then :
13554 if ${ac_cv_search_log+:} false; then :
13557 ac_cv_search_log=no
13559 rm conftest.$ac_ext
13560 LIBS=$ac_func_search_save_LIBS
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13563 $as_echo "$ac_cv_search_log" >&6; }
13564 ac_res=$ac_cv_search_log
13565 if test "$ac_res" != no; then :
13566 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13570 FTS5_FLAGS=-DSQLITE_ENABLE_FTS5
13573 #-----------------------------------------------------------------------
13575 #-----------------------------------------------------------------------
13578 # Check whether --enable-json1 was given.
13579 if test "${enable_json1+set}" = set; then :
13580 enableval=$enable_json1;
13585 if test x"$enable_json1" = "xyes"; then
13586 JSON1_FLAGS=-DSQLITE_ENABLE_JSON1
13589 #-----------------------------------------------------------------------
13591 #-----------------------------------------------------------------------
13594 # Check whether --enable-session was given.
13595 if test "${enable_session+set}" = set; then :
13596 enableval=$enable_session;
13601 if test x"$enable_session" = "xyes"; then
13602 SESSION_FLAGS="-DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_PREUPDATE_HOOK"
13605 #-----------------------------------------------------------------------
13607 #-----------------------------------------------------------------------
13608 # --enable-static-shell
13610 # Check whether --enable-static-shell was given.
13611 if test "${enable_static_shell+set}" = set; then :
13612 enableval=$enable_static_shell;
13614 enable_static_shell=yes
13617 if test x"$enable_static_shell" = "xyes"; then
13618 EXTRA_SHELL_OBJ=sqlite3-sqlite3.$OBJEXT
13620 EXTRA_SHELL_OBJ=libsqlite3.la
13623 #-----------------------------------------------------------------------
13625 for ac_func in posix_fallocate
13627 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
13628 if test "x$ac_cv_func_posix_fallocate" = xyes; then :
13629 cat >>confdefs.h <<_ACEOF
13630 #define HAVE_POSIX_FALLOCATE 1
13636 for ac_header in zlib.h
13638 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13639 if test "x$ac_cv_header_zlib_h" = xyes; then :
13640 cat >>confdefs.h <<_ACEOF
13641 #define HAVE_ZLIB_H 1
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5
13645 $as_echo_n "checking for library containing deflate... " >&6; }
13646 if ${ac_cv_search_deflate+:} false; then :
13647 $as_echo_n "(cached) " >&6
13649 ac_func_search_save_LIBS=$LIBS
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13668 for ac_lib in '' z; do
13669 if test -z "$ac_lib"; then
13670 ac_res="none required"
13673 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 ac_cv_search_deflate=$ac_res
13678 rm -f core conftest.err conftest.$ac_objext \
13680 if ${ac_cv_search_deflate+:} false; then :
13684 if ${ac_cv_search_deflate+:} false; then :
13687 ac_cv_search_deflate=no
13689 rm conftest.$ac_ext
13690 LIBS=$ac_func_search_save_LIBS
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5
13693 $as_echo "$ac_cv_search_deflate" >&6; }
13694 ac_res=$ac_cv_search_deflate
13695 if test "$ac_res" != no; then :
13696 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13697 ZLIB_FLAGS="-DSQLITE_HAVE_ZLIB"
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing system" >&5
13708 $as_echo_n "checking for library containing system... " >&6; }
13709 if ${ac_cv_search_system+:} false; then :
13710 $as_echo_n "(cached) " >&6
13712 ac_func_search_save_LIBS=$LIBS
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13716 /* Override any GCC internal prototype to avoid an error.
13717 Use char because int might match the return type of a GCC
13718 builtin and then its argument prototype would still apply. */
13731 for ac_lib in '' ; do
13732 if test -z "$ac_lib"; then
13733 ac_res="none required"
13736 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13738 if ac_fn_c_try_link "$LINENO"; then :
13739 ac_cv_search_system=$ac_res
13741 rm -f core conftest.err conftest.$ac_objext \
13743 if ${ac_cv_search_system+:} false; then :
13747 if ${ac_cv_search_system+:} false; then :
13750 ac_cv_search_system=no
13752 rm conftest.$ac_ext
13753 LIBS=$ac_func_search_save_LIBS
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_system" >&5
13756 $as_echo "$ac_cv_search_system" >&6; }
13757 ac_res=$ac_cv_search_system
13758 if test "$ac_res" != no; then :
13759 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13762 SHELL_CFLAGS="-DSQLITE_NOHAVE_SYSTEM"
13767 #-----------------------------------------------------------------------
13768 # UPDATE: Maybe it's better if users just set CFLAGS before invoking
13769 # configure. This option doesn't really add much...
13771 # --enable-tempstore
13773 # AC_ARG_ENABLE(tempstore, [AS_HELP_STRING(
13774 # [--enable-tempstore],
13775 # [in-memory temporary tables (never, no, yes, always) [default=no]])],
13776 # [], [enable_tempstore=no])
13777 # AC_MSG_CHECKING([for whether or not to store temp tables in-memory])
13778 # case "$enable_tempstore" in
13779 # never ) TEMP_STORE=0 ;;
13780 # no ) TEMP_STORE=1 ;;
13781 # always ) TEMP_STORE=3 ;;
13782 # yes ) TEMP_STORE=3 ;;
13785 # enable_tempstore=yes
13788 # AC_MSG_RESULT($enable_tempstore)
13789 # AC_SUBST(TEMP_STORE)
13790 #-----------------------------------------------------------------------
13792 cat >confcache <<\_ACEOF
13793 # This file is a shell script that caches the results of configure
13794 # tests run on this system so they can be shared between configure
13795 # scripts and configure runs, see configure's option --config-cache.
13796 # It is not useful on other systems. If it contains results you don't
13797 # want to keep, you may remove or edit it.
13799 # config.status only pays attention to the cache file if you give it
13800 # the --recheck option to rerun configure.
13802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13804 # following values.
13808 # The following way of writing the cache mishandles newlines in values,
13809 # but we know of no workaround that is simple, portable, and efficient.
13810 # So, we kill variables containing newlines.
13811 # Ultrix sh set writes to stderr and can't be redirected directly,
13812 # and sets the high bit in the cache file unless we assign to the vars.
13814 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13815 eval ac_val=\$$ac_var
13819 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13823 _ | IFS | as_nl) ;; #(
13824 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13825 *) { eval $ac_var=; unset $ac_var;} ;;
13831 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13832 *${as_nl}ac_space=\ *)
13833 # `set' does not quote correctly, so add quotes: double-quote
13834 # substitution turns \\\\ into \\, and sed turns \\ into \.
13837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13840 # `set' quotes correctly as required by POSIX, so do not add quotes.
13841 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13850 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13852 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13854 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13855 if test -w "$cache_file"; then
13856 if test "x$cache_file" != "x/dev/null"; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13858 $as_echo "$as_me: updating cache $cache_file" >&6;}
13859 if test ! -f "$cache_file" || test -h "$cache_file"; then
13860 cat confcache >"$cache_file"
13862 case $cache_file in #(
13864 mv -f confcache "$cache_file"$$ &&
13865 mv -f "$cache_file"$$ "$cache_file" ;; #(
13867 mv -f confcache "$cache_file" ;;
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13873 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13878 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13879 # Let make expand exec_prefix.
13880 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13882 # Transform confdefs.h into DEFS.
13883 # Protect against shell expansion while executing Makefile rules.
13884 # Protect against Makefile macro expansion.
13886 # If the first sed substitution is executed (which looks for macros that
13887 # take arguments), then branch to the quote section. Otherwise,
13888 # look for a macro that doesn't take arguments.
13898 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13900 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13904 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13917 DEFS=`sed -n "$ac_script" confdefs.h`
13923 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13924 # 1. Remove the extension, and $U if already installed.
13925 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13926 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13927 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13928 # will be set to the directory where LIBOBJS objects are built.
13929 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13930 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13932 LIBOBJS=$ac_libobjs
13934 LTLIBOBJS=$ac_ltlibobjs
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13938 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13939 if test -n "$am_sleep_pid"; then
13940 # Hide warnings about reused PIDs.
13941 wait $am_sleep_pid 2>/dev/null
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13944 $as_echo "done" >&6; }
13945 if test -n "$EXEEXT"; then
13947 am__EXEEXT_FALSE='#'
13949 am__EXEEXT_TRUE='#'
13953 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13954 as_fn_error $? "conditional \"AMDEP\" was never defined.
13955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13957 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13958 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13961 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13962 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13966 : "${CONFIG_STATUS=./config.status}"
13968 ac_clean_files_save=$ac_clean_files
13969 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13971 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13973 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13975 # Generated by $as_me.
13976 # Run this file to recreate the current configuration.
13977 # Compiler output produced by configure, useful for debugging
13978 # configure, is in config.log if it exists.
13981 ac_cs_recheck=false
13984 SHELL=\${CONFIG_SHELL-$SHELL}
13987 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13988 ## -------------------- ##
13989 ## M4sh Initialization. ##
13990 ## -------------------- ##
13992 # Be more Bourne compatible
13993 DUALCASE=1; export DUALCASE # for MKS sh
13994 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13997 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13998 # is contrary to our usage. Disable this feature.
13999 alias -g '${1+"$@"}'='"$@"'
14000 setopt NO_GLOB_SUBST
14002 case `(set -o) 2>/dev/null` in #(
14014 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14015 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14016 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14017 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14018 # Prefer a ksh shell builtin over an external printf program on Solaris,
14019 # but without wasting forks for bash or zsh.
14020 if test -z "$BASH_VERSION$ZSH_VERSION" \
14021 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14022 as_echo='print -r --'
14023 as_echo_n='print -rn --'
14024 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14025 as_echo='printf %s\n'
14026 as_echo_n='printf %s'
14028 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14029 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14030 as_echo_n='/usr/ucb/echo -n'
14032 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14033 as_echo_n_body='eval
14037 expr "X$arg" : "X\\(.*\\)$as_nl";
14038 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14040 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14042 export as_echo_n_body
14043 as_echo_n='sh -c $as_echo_n_body as_echo'
14045 export as_echo_body
14046 as_echo='sh -c $as_echo_body as_echo'
14049 # The user is always right.
14050 if test "${PATH_SEPARATOR+set}" != set; then
14052 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14053 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14060 # We need space, tab and new line, in precisely that order. Quoting is
14061 # there to prevent editors from complaining about space-tab.
14062 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14063 # splitting by setting IFS to empty value.)
14066 # Find who we are. Look in the path if we contain no directory separator.
14069 *[\\/]* ) as_myself=$0 ;;
14070 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14071 for as_dir in $PATH
14074 test -z "$as_dir" && as_dir=.
14075 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14081 # We did not find ourselves, most probably we were run as `sh COMMAND'
14082 # in which case we are not to be found in the path.
14083 if test "x$as_myself" = x; then
14086 if test ! -f "$as_myself"; then
14087 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14091 # Unset variables that we do not need and which cause bugs (e.g. in
14092 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14093 # suppresses any "Segmentation fault" message there. '((' could
14094 # trigger a bug in pdksh 5.2.14.
14095 for as_var in BASH_ENV ENV MAIL MAILPATH
14096 do eval test x\${$as_var+set} = xset \
14097 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14110 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14113 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14114 # ----------------------------------------
14115 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14116 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14117 # script with STATUS, using 1 if that was 0.
14120 as_status=$1; test $as_status -eq 0 && as_status=1
14122 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14123 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14125 $as_echo "$as_me: error: $2" >&2
14126 as_fn_exit $as_status
14130 # as_fn_set_status STATUS
14131 # -----------------------
14132 # Set $? to STATUS, without forking.
14133 as_fn_set_status ()
14136 } # as_fn_set_status
14138 # as_fn_exit STATUS
14139 # -----------------
14140 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14144 as_fn_set_status $1
14150 # Portably unset VAR.
14153 { eval $1=; unset $1;}
14155 as_unset=as_fn_unset
14156 # as_fn_append VAR VALUE
14157 # ----------------------
14158 # Append the text in VALUE to the end of the definition contained in VAR. Take
14159 # advantage of any shell optimizations that allow amortized linear growth over
14160 # repeated appends, instead of the typical quadratic growth present in naive
14162 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14163 eval 'as_fn_append ()
14174 # as_fn_arith ARG...
14175 # ------------------
14176 # Perform arithmetic evaluation on the ARGs, and store the result in the
14177 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14178 # must be portable across $(()) and expr.
14179 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14180 eval 'as_fn_arith ()
14187 as_val=`expr "$@" || test $? -eq 1`
14192 if expr a : '\(a\)' >/dev/null 2>&1 &&
14193 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14199 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14200 as_basename=basename
14205 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14211 as_me=`$as_basename -- "$0" ||
14212 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14213 X"$0" : 'X\(//\)$' \| \
14214 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14216 sed '/^.*\/\([^/][^/]*\)\/*$/{
14230 # Avoid depending upon Character Ranges.
14231 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14232 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14233 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14234 as_cr_digits='0123456789'
14235 as_cr_alnum=$as_cr_Letters$as_cr_digits
14237 ECHO_C= ECHO_N= ECHO_T=
14238 case `echo -n x` in #(((((
14240 case `echo 'xy\c'` in
14241 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14243 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14250 rm -f conf$$ conf$$.exe conf$$.file
14251 if test -d conf$$.dir; then
14252 rm -f conf$$.dir/conf$$.file
14255 mkdir conf$$.dir 2>/dev/null
14257 if (echo >conf$$.file) 2>/dev/null; then
14258 if ln -s conf$$.file conf$$ 2>/dev/null; then
14260 # ... but there are two gotchas:
14261 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14262 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14263 # In both cases, we have to default to `cp -pR'.
14264 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14266 elif ln conf$$.file conf$$ 2>/dev/null; then
14274 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14275 rmdir conf$$.dir 2>/dev/null
14280 # Create "$as_dir" as a directory, including parents if necessary.
14285 -*) as_dir=./$as_dir;;
14287 test -d "$as_dir" || eval $as_mkdir_p || {
14291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14292 *) as_qdir=$as_dir;;
14294 as_dirs="'$as_qdir' $as_dirs"
14295 as_dir=`$as_dirname -- "$as_dir" ||
14296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14297 X"$as_dir" : 'X\(//\)[^/]' \| \
14298 X"$as_dir" : 'X\(//\)$' \| \
14299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14300 $as_echo X"$as_dir" |
14301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14305 /^X\(\/\/\)[^/].*/{
14318 test -d "$as_dir" && break
14320 test -z "$as_dirs" || eval "mkdir $as_dirs"
14321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14325 if mkdir -p . 2>/dev/null; then
14326 as_mkdir_p='mkdir -p "$as_dir"'
14328 test -d ./-p && rmdir ./-p
14333 # as_fn_executable_p FILE
14334 # -----------------------
14335 # Test if FILE is an executable regular file.
14336 as_fn_executable_p ()
14338 test -f "$1" && test -x "$1"
14339 } # as_fn_executable_p
14340 as_test_x='test -x'
14341 as_executable_p=as_fn_executable_p
14343 # Sed expression to map a string onto a valid CPP name.
14344 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14346 # Sed expression to map a string onto a valid variable name.
14347 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14351 ## ----------------------------------- ##
14352 ## Main body of $CONFIG_STATUS script. ##
14353 ## ----------------------------------- ##
14355 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14358 # Save the log message, to keep $0 and so on meaningful, and to
14359 # report actual input values of CONFIG_FILES etc. instead of their
14360 # values after options handling.
14362 This file was extended by sqlite $as_me 3.23.1, which was
14363 generated by GNU Autoconf 2.69. Invocation command line was
14365 CONFIG_FILES = $CONFIG_FILES
14366 CONFIG_HEADERS = $CONFIG_HEADERS
14367 CONFIG_LINKS = $CONFIG_LINKS
14368 CONFIG_COMMANDS = $CONFIG_COMMANDS
14371 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14376 case $ac_config_files in *"
14377 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14383 # Files that config.status was made for.
14384 config_files="$ac_config_files"
14385 config_commands="$ac_config_commands"
14389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14391 \`$as_me' instantiates files and other configuration actions
14392 from templates according to the current configuration. Unless the files
14393 and actions are specified as TAGs, all are instantiated by default.
14395 Usage: $0 [OPTION]... [TAG]...
14397 -h, --help print this help, then exit
14398 -V, --version print version number and configuration settings, then exit
14399 --config print configuration, then exit
14400 -q, --quiet, --silent
14401 do not print progress messages
14402 -d, --debug don't remove temporary files
14403 --recheck update $as_me by reconfiguring in the same conditions
14404 --file=FILE[:TEMPLATE]
14405 instantiate the configuration file FILE
14407 Configuration files:
14410 Configuration commands:
14413 Report bugs to <http://www.sqlite.org>."
14416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14417 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14419 sqlite config.status 3.23.1
14420 configured by $0, generated by GNU Autoconf 2.69,
14421 with options \\"\$ac_cs_config\\"
14423 Copyright (C) 2012 Free Software Foundation, Inc.
14424 This config.status script is free software; the Free Software Foundation
14425 gives unlimited permission to copy, distribute and modify it."
14432 test -n "\$AWK" || AWK=awk
14435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14436 # The default lists apply if the user does not specify any file.
14442 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14443 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14447 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14459 # Handling of the options.
14460 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14462 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14463 $as_echo "$ac_cs_version"; exit ;;
14464 --config | --confi | --conf | --con | --co | --c )
14465 $as_echo "$ac_cs_config"; exit ;;
14466 --debug | --debu | --deb | --de | --d | -d )
14468 --file | --fil | --fi | --f )
14471 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14472 '') as_fn_error $? "missing file argument" ;;
14474 as_fn_append CONFIG_FILES " '$ac_optarg'"
14475 ac_need_defaults=false;;
14476 --he | --h | --help | --hel | -h )
14477 $as_echo "$ac_cs_usage"; exit ;;
14478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14479 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14482 # This is an error.
14483 -*) as_fn_error $? "unrecognized option: \`$1'
14484 Try \`$0 --help' for more information." ;;
14486 *) as_fn_append ac_config_targets " $1"
14487 ac_need_defaults=false ;;
14493 ac_configure_extra_args=
14495 if $ac_cs_silent; then
14497 ac_configure_extra_args="$ac_configure_extra_args --silent"
14501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14502 if \$ac_cs_recheck; then
14503 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14505 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14506 CONFIG_SHELL='$SHELL'
14507 export CONFIG_SHELL
14512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14517 ## Running $as_me. ##
14523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14527 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14530 # The HP-UX ksh and POSIX shell print the target directory to stdout
14531 # if CDPATH is set.
14532 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14534 sed_quote_subst='$sed_quote_subst'
14535 double_quote_subst='$double_quote_subst'
14536 delay_variable_subst='$delay_variable_subst'
14537 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14538 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14539 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14540 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14541 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14542 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14543 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14544 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14545 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14546 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14547 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14548 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14549 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14550 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14551 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14552 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14553 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14554 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14555 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14556 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14557 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14558 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14559 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14560 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14561 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14562 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14563 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14564 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14565 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14566 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14567 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14568 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14569 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14570 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14571 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14572 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14573 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14574 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14575 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14576 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14577 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14578 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14579 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14580 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14581 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14582 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14583 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14584 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14585 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14586 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14587 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14588 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14589 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14590 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14591 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14592 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14593 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14594 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14595 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"`'
14596 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14597 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14598 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14599 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14600 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14601 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14602 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14603 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14604 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14605 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14606 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14607 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14608 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14609 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14610 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14611 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14612 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14613 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14614 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14615 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14616 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14617 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14618 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14619 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14620 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14621 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14622 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14623 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14624 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14625 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14626 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14627 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14628 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14629 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14630 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14631 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14632 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14633 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14634 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14635 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14636 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14637 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14638 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14639 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14640 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14641 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14642 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14643 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14644 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14645 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14646 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14647 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14648 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14649 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14650 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14651 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14652 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14653 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14654 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14655 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14656 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14657 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14658 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14659 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14660 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14661 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14662 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14663 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14664 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14665 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14666 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14667 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14668 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14669 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14670 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14671 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14674 LTCFLAGS='$LTCFLAGS'
14675 compiler='$compiler_DEFAULT'
14677 # A function that is used when there is no print builtin or printf.
14678 func_fallback_echo ()
14680 eval 'cat <<_LTECHO_EOF
14685 # Quote evaled strings.
14700 deplibs_check_method \
14705 sharedlib_from_linklib_cmd \
14708 archiver_list_spec \
14714 lt_cv_sys_global_symbol_pipe \
14715 lt_cv_sys_global_symbol_to_cdecl \
14716 lt_cv_sys_global_symbol_to_import \
14717 lt_cv_sys_global_symbol_to_c_name_address \
14718 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14719 lt_cv_nm_interface \
14720 nm_file_list_spec \
14721 lt_cv_truncate_bin \
14722 lt_prog_compiler_no_builtin_flag \
14723 lt_prog_compiler_pic \
14724 lt_prog_compiler_wl \
14725 lt_prog_compiler_static \
14726 lt_cv_prog_compiler_c_o \
14735 export_dynamic_flag_spec \
14736 whole_archive_flag_spec \
14737 compiler_needs_object \
14739 allow_undefined_flag \
14740 no_undefined_flag \
14741 hardcode_libdir_flag_spec \
14742 hardcode_libdir_separator \
14746 variables_saved_for_relink \
14748 library_names_spec \
14750 install_override_mode \
14754 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14755 *[\\\\\\\`\\"\\\$]*)
14756 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14759 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14764 # Double-quote double-evaled strings.
14765 for var in reload_cmds \
14766 old_postinstall_cmds \
14767 old_postuninstall_cmds \
14769 extract_expsyms_cmds \
14770 old_archive_from_new_cmds \
14771 old_archive_from_expsyms_cmds \
14773 archive_expsym_cmds \
14775 module_expsym_cmds \
14776 export_symbols_cmds \
14780 postuninstall_cmds \
14782 sys_lib_search_path_spec \
14783 configure_time_dlsearch_path \
14784 configure_time_lt_sys_library_path; do
14785 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14786 *[\\\\\\\`\\"\\\$]*)
14787 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14790 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14795 ac_aux_dir='$ac_aux_dir'
14797 # See if we are running on zsh, and set the options that allow our
14798 # commands through without removal of \ escapes INIT.
14799 if test -n "\${ZSH_VERSION+set}"; then
14800 setopt NO_GLOB_SUBST
14814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14816 # Handling of arguments.
14817 for ac_config_target in $ac_config_targets
14819 case $ac_config_target in
14820 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14821 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14822 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14823 "sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
14825 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14830 # If the user did not use the arguments to specify the items to instantiate,
14831 # then the envvar interface is used. Set only those that are not.
14832 # We use the long form for the default assignment because of an extremely
14833 # bizarre bug on SunOS 4.1.3.
14834 if $ac_need_defaults; then
14835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14839 # Have a temporary directory for convenience. Make it in the build tree
14840 # simply because there is no reason against having it here, and in addition,
14841 # creating and moving files from /tmp can sometimes cause problems.
14842 # Hook for its removal unless debugging.
14843 # Note that there is a small window in which the directory will not be cleaned:
14844 # after its creation but before its name has been assigned to `$tmp'.
14848 trap 'exit_status=$?
14849 : "${ac_tmp:=$tmp}"
14850 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14852 trap 'as_fn_exit 1' 1 2 13 15
14854 # Create a (secure) tmp directory for tmp files.
14857 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14861 tmp=./conf$$-$RANDOM
14862 (umask 077 && mkdir "$tmp")
14863 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14866 # Set up the scripts for CONFIG_FILES section.
14867 # No need to generate them if there are no CONFIG_FILES.
14868 # This happens for instance with `./config.status config.h'.
14869 if test -n "$CONFIG_FILES"; then
14872 ac_cr=`echo X | tr X '\015'`
14873 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14874 # But we know of no other shell where ac_cr would be empty at this
14875 # point, so we can use a bashism as a fallback.
14876 if test "x$ac_cr" = x; then
14877 eval ac_cr=\$\'\\r\'
14879 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14880 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14883 ac_cs_awk_cr=$ac_cr
14886 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14891 echo "cat >conf$$subs.awk <<_ACEOF" &&
14892 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14894 } >conf$$subs.sh ||
14895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14896 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14898 for ac_last_try in false false false false false :; do
14899 . ./conf$$subs.sh ||
14900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14902 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14903 if test $ac_delim_n = $ac_delim_num; then
14905 elif $ac_last_try; then
14906 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14911 rm -f conf$$subs.sh
14913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14914 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14918 s/^/S["/; s/!.*/"]=/
14928 s/\(.\{148\}\)..*/\1/
14930 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14935 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14942 s/\(.\{148\}\)..*/\1/
14944 s/["\\]/\\&/g; s/^/"/; s/$/"/
14948 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14953 ' <conf$$subs.awk | sed '
14958 ' >>$CONFIG_STATUS || ac_write_fail=1
14959 rm -f conf$$subs.awk
14960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14962 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14963 for (key in S) S_is_set[key] = 1
14969 nfields = split(line, field, "@")
14971 len = length(field[1])
14972 for (i = 2; i < nfields; i++) {
14974 keylen = length(key)
14975 if (S_is_set[key]) {
14977 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14978 len += length(value) + length(field[++i])
14989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14990 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14991 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14994 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14995 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14998 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14999 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15000 # trailing colons and then remove the whole line if VPATH becomes empty
15001 # (actually we leave an empty line to preserve line numbers).
15002 if test "x$srcdir" = x.; then
15003 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15022 fi # test -n "$CONFIG_FILES"
15025 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
15030 :[FHLC]) ac_mode=$ac_tag; continue;;
15032 case $ac_mode$ac_tag in
15034 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15035 :[FH]-) ac_tag=-:-;;
15036 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15053 -) ac_f="$ac_tmp/stdin";;
15054 *) # Look for the file first in the build tree, then in the source tree
15055 # (if the path is not absolute). The absolute path cannot be DOS-style,
15056 # because $ac_f cannot contain `:'.
15060 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15062 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15064 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15065 as_fn_append ac_file_inputs " '$ac_f'"
15068 # Let's still pretend it is `configure' which instantiates (i.e., don't
15069 # use $as_me), people would be surprised to read:
15070 # /* config.h. Generated by config.status. */
15071 configure_input='Generated from '`
15072 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15074 if test x"$ac_file" != x-; then
15075 configure_input="$ac_file. $configure_input"
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15077 $as_echo "$as_me: creating $ac_file" >&6;}
15079 # Neutralize special characters interpreted by sed in replacement strings.
15080 case $configure_input in #(
15081 *\&* | *\|* | *\\* )
15082 ac_sed_conf_input=`$as_echo "$configure_input" |
15083 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15084 *) ac_sed_conf_input=$configure_input;;
15088 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15094 ac_dir=`$as_dirname -- "$ac_file" ||
15095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15096 X"$ac_file" : 'X\(//\)[^/]' \| \
15097 X"$ac_file" : 'X\(//\)$' \| \
15098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15099 $as_echo X"$ac_file" |
15100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15104 /^X\(\/\/\)[^/].*/{
15117 as_dir="$ac_dir"; as_fn_mkdir_p
15121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15123 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15124 # A ".." for each directory in $ac_dir_suffix.
15125 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15126 case $ac_top_builddir_sub in
15127 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15128 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15131 ac_abs_top_builddir=$ac_pwd
15132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15133 # for backward compatibility:
15134 ac_top_builddir=$ac_top_build_prefix
15137 .) # We are building in place.
15139 ac_top_srcdir=$ac_top_builddir_sub
15140 ac_abs_top_srcdir=$ac_pwd ;;
15141 [\\/]* | ?:[\\/]* ) # Absolute name.
15142 ac_srcdir=$srcdir$ac_dir_suffix;
15143 ac_top_srcdir=$srcdir
15144 ac_abs_top_srcdir=$srcdir ;;
15145 *) # Relative name.
15146 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15147 ac_top_srcdir=$ac_top_build_prefix$srcdir
15148 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15160 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15161 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15163 ac_MKDIR_P=$MKDIR_P
15165 [\\/$]* | ?:[\\/]* ) ;;
15166 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15171 # If the template does not know about datarootdir, expand it.
15172 # FIXME: This hack should be removed a few years after 2.60.
15173 ac_datarootdir_hack=; ac_datarootdir_seen=
15184 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15185 *datarootdir*) ac_datarootdir_seen=yes;;
15186 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15188 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15191 ac_datarootdir_hack='
15192 s&@datadir@&$datadir&g
15193 s&@docdir@&$docdir&g
15194 s&@infodir@&$infodir&g
15195 s&@localedir@&$localedir&g
15196 s&@mandir@&$mandir&g
15197 s&\\\${datarootdir}&$datarootdir&g' ;;
15201 # Neutralize VPATH when `$srcdir' = `.'.
15202 # Shell code in configure.ac might set extrasub.
15203 # FIXME: do we really want to maintain this feature?
15204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15205 ac_sed_extra="$ac_vpsub
15208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15211 s|@configure_input@|$ac_sed_conf_input|;t t
15212 s&@top_builddir@&$ac_top_builddir_sub&;t t
15213 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15214 s&@srcdir@&$ac_srcdir&;t t
15215 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15216 s&@top_srcdir@&$ac_top_srcdir&;t t
15217 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15218 s&@builddir@&$ac_builddir&;t t
15219 s&@abs_builddir@&$ac_abs_builddir&;t t
15220 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15221 s&@INSTALL@&$ac_INSTALL&;t t
15222 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15223 $ac_datarootdir_hack
15225 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15226 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15228 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15229 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15230 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15231 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15233 which seems to be undefined. Please make sure it is defined" >&5
15234 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15235 which seems to be undefined. Please make sure it is defined" >&2;}
15237 rm -f "$ac_tmp/stdin"
15239 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15240 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15242 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15247 $as_echo "$as_me: executing $ac_file commands" >&6;}
15252 case $ac_file$ac_mode in
15253 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15254 # Older Autoconf quotes --file arguments for eval, but not when files
15255 # are listed without --file. Let's play safe and only enable the eval
15256 # if we detect the quoting.
15257 case $CONFIG_FILES in
15258 *\'*) eval set x "$CONFIG_FILES" ;;
15259 *) set x $CONFIG_FILES ;;
15264 # Strip MF so we end up with the name of the file.
15265 mf=`echo "$mf" | sed -e 's/:.*$//'`
15266 # Check whether this is an Automake generated Makefile or not.
15267 # We used to match only the files named 'Makefile.in', but
15268 # some people rename them; so instead we look at the file content.
15269 # Grep'ing the first line is not enough: some people post-process
15270 # each Makefile.in and add a new line on top of each file to say so.
15271 # Grep'ing the whole file is not good either: AIX grep has a line
15272 # limit of 2048, but all sed's we know have understand at least 4000.
15273 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15274 dirpart=`$as_dirname -- "$mf" ||
15275 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15276 X"$mf" : 'X\(//\)[^/]' \| \
15277 X"$mf" : 'X\(//\)$' \| \
15278 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15284 /^X\(\/\/\)[^/].*/{
15300 # Extract the definition of DEPDIR, am__include, and am__quote
15301 # from the Makefile without running 'make'.
15302 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15303 test -z "$DEPDIR" && continue
15304 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15305 test -z "$am__include" && continue
15306 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15307 # Find all dependency output files, they are included files with
15308 # $(DEPDIR) in their names. We invoke sed twice because it is the
15309 # simplest approach to changing $(DEPDIR) to its actual value in the
15311 for file in `sed -n "
15312 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15313 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15314 # Make sure the directory exists.
15315 test -f "$dirpart/$file" && continue
15316 fdir=`$as_dirname -- "$file" ||
15317 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15318 X"$file" : 'X\(//\)[^/]' \| \
15319 X"$file" : 'X\(//\)$' \| \
15320 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15321 $as_echo X"$file" |
15322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15326 /^X\(\/\/\)[^/].*/{
15339 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15340 # echo "creating $dirpart/$file"
15341 echo '# dummy' > "$dirpart/$file"
15348 # See if we are running on zsh, and set the options that allow our
15349 # commands through without removal of \ escapes.
15350 if test -n "${ZSH_VERSION+set}"; then
15351 setopt NO_GLOB_SUBST
15355 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15358 cat <<_LT_EOF >> "$cfgfile"
15360 # Generated automatically by $as_me ($PACKAGE) $VERSION
15361 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15362 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15364 # Provide generalized library-building support services.
15365 # Written by Gordon Matzigkeit, 1996
15367 # Copyright (C) 2014 Free Software Foundation, Inc.
15368 # This is free software; see the source for copying conditions. There is NO
15369 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15371 # GNU Libtool is free software; you can redistribute it and/or modify
15372 # it under the terms of the GNU General Public License as published by
15373 # the Free Software Foundation; either version 2 of of the License, or
15374 # (at your option) any later version.
15376 # As a special exception to the GNU General Public License, if you
15377 # distribute this file as part of a program or library that is built
15378 # using GNU Libtool, you may include this file under the same
15379 # distribution terms that you use for the rest of that program.
15381 # GNU Libtool is distributed in the hope that it will be useful, but
15382 # WITHOUT ANY WARRANTY; without even the implied warranty of
15383 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15384 # GNU General Public License for more details.
15386 # You should have received a copy of the GNU General Public License
15387 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15390 # The names of the tagged configurations supported by this script.
15393 # Configured defaults for sys_lib_dlsearch_path munging.
15394 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15396 # ### BEGIN LIBTOOL CONFIG
15398 # Which release of libtool.m4 was used?
15399 macro_version=$macro_version
15400 macro_revision=$macro_revision
15402 # Whether or not to build shared libraries.
15403 build_libtool_libs=$enable_shared
15405 # Whether or not to build static libraries.
15406 build_old_libs=$enable_static
15408 # What type of objects to build.
15411 # Whether or not to optimize for fast installation.
15412 fast_install=$enable_fast_install
15414 # Shared archive member basename,for filename based shared library versioning on AIX.
15415 shared_archive_member_spec=$shared_archive_member_spec
15417 # Shell to use when invoking shell scripts.
15420 # An echo program that protects backslashes.
15423 # The PATH separator for the build system.
15424 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15427 host_alias=$host_alias
15431 # The build system.
15432 build_alias=$build_alias
15436 # A sed program that does not truncate output.
15439 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15440 Xsed="\$SED -e 1s/^X//"
15442 # A grep program that handles long lines.
15448 # A literal string matcher.
15451 # A BSD- or MS-compatible name lister.
15454 # Whether we need soft or hard links.
15457 # What is the maximum length of a command?
15458 max_cmd_len=$max_cmd_len
15460 # Object file suffix (normally "o").
15463 # Executable file suffix (normally "").
15466 # whether the shell understands "unset".
15469 # turn spaces into newlines.
15472 # turn newlines into spaces.
15475 # convert \$build file names to \$host format.
15476 to_host_file_cmd=$lt_cv_to_host_file_cmd
15478 # convert \$build files to toolchain format.
15479 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15481 # An object symbol dumper.
15482 OBJDUMP=$lt_OBJDUMP
15484 # Method to check whether dependent libraries are shared objects.
15485 deplibs_check_method=$lt_deplibs_check_method
15487 # Command to use when deplibs_check_method = "file_magic".
15488 file_magic_cmd=$lt_file_magic_cmd
15490 # How to find potential files when deplibs_check_method = "file_magic".
15491 file_magic_glob=$lt_file_magic_glob
15493 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15494 want_nocaseglob=$lt_want_nocaseglob
15496 # DLL creation program.
15497 DLLTOOL=$lt_DLLTOOL
15499 # Command to associate shared and link libraries.
15500 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15505 # Flags to create an archive.
15506 AR_FLAGS=$lt_AR_FLAGS
15508 # How to feed a file listing to the archiver.
15509 archiver_list_spec=$lt_archiver_list_spec
15511 # A symbol stripping program.
15514 # Commands used to install an old-style archive.
15516 old_postinstall_cmds=$lt_old_postinstall_cmds
15517 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15519 # Whether to use a lock for old archive extraction.
15520 lock_old_archive_extraction=$lock_old_archive_extraction
15525 # LTCC compiler flags.
15526 LTCFLAGS=$lt_CFLAGS
15528 # Take the output of nm and produce a listing of raw symbols and C names.
15529 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15531 # Transform the output of nm in a proper C declaration.
15532 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15534 # Transform the output of nm into a list of symbols to manually relocate.
15535 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15537 # Transform the output of nm in a C name address pair.
15538 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15540 # Transform the output of nm in a C name address pair when lib prefix is needed.
15541 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15543 # The name lister interface.
15544 nm_interface=$lt_lt_cv_nm_interface
15546 # Specify filename containing input files for \$NM.
15547 nm_file_list_spec=$lt_nm_file_list_spec
15549 # The root where to search for dependent libraries,and where our libraries should be installed.
15550 lt_sysroot=$lt_sysroot
15552 # Command to truncate a binary pipe.
15553 lt_truncate_bin=$lt_lt_cv_truncate_bin
15555 # The name of the directory that contains temporary libtool files.
15558 # Used to examine libraries when file_magic_cmd begins with "file".
15559 MAGIC_CMD=$MAGIC_CMD
15561 # Must we lock files when doing compilation?
15562 need_locks=$lt_need_locks
15565 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15567 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15568 DSYMUTIL=$lt_DSYMUTIL
15570 # Tool to change global to local symbols on Mac OS X.
15573 # Tool to manipulate fat objects and archives on Mac OS X.
15576 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15579 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15580 OTOOL64=$lt_OTOOL64
15582 # Old archive suffix (normally "a").
15585 # Shared library suffix (normally ".so").
15586 shrext_cmds=$lt_shrext_cmds
15588 # The commands to extract the exported symbol list from a shared archive.
15589 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15591 # Variables whose values should be saved in libtool wrapper scripts and
15592 # restored at link time.
15593 variables_saved_for_relink=$lt_variables_saved_for_relink
15595 # Do we need the "lib" prefix for modules?
15596 need_lib_prefix=$need_lib_prefix
15598 # Do we need a version for libraries?
15599 need_version=$need_version
15601 # Library versioning type.
15602 version_type=$version_type
15604 # Shared library runtime path variable.
15605 runpath_var=$runpath_var
15607 # Shared library path variable.
15608 shlibpath_var=$shlibpath_var
15610 # Is shlibpath searched before the hard-coded library search path?
15611 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15613 # Format of library name prefix.
15614 libname_spec=$lt_libname_spec
15616 # List of archive names. First name is the real one, the rest are links.
15617 # The last name is the one that the linker finds with -lNAME
15618 library_names_spec=$lt_library_names_spec
15620 # The coded name of the library, if different from the real name.
15621 soname_spec=$lt_soname_spec
15623 # Permission mode override for installation of shared libraries.
15624 install_override_mode=$lt_install_override_mode
15626 # Command to use after installation of a shared archive.
15627 postinstall_cmds=$lt_postinstall_cmds
15629 # Command to use after uninstallation of a shared archive.
15630 postuninstall_cmds=$lt_postuninstall_cmds
15632 # Commands used to finish a libtool library installation in a directory.
15633 finish_cmds=$lt_finish_cmds
15635 # As "finish_cmds", except a single script fragment to be evaled but
15637 finish_eval=$lt_finish_eval
15639 # Whether we should hardcode library paths into libraries.
15640 hardcode_into_libs=$hardcode_into_libs
15642 # Compile-time system search path for libraries.
15643 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15645 # Detected run-time system search path for libraries.
15646 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15648 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15649 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15651 # Whether dlopen is supported.
15652 dlopen_support=$enable_dlopen
15654 # Whether dlopen of programs is supported.
15655 dlopen_self=$enable_dlopen_self
15657 # Whether dlopen of statically linked programs is supported.
15658 dlopen_self_static=$enable_dlopen_self_static
15660 # Commands to strip libraries.
15661 old_striplib=$lt_old_striplib
15662 striplib=$lt_striplib
15665 # The linker used to build libraries.
15668 # How to create reloadable object files.
15669 reload_flag=$lt_reload_flag
15670 reload_cmds=$lt_reload_cmds
15672 # Commands used to build an old-style archive.
15673 old_archive_cmds=$lt_old_archive_cmds
15675 # A language specific compiler.
15678 # Is the compiler the GNU compiler?
15681 # Compiler flag to turn off builtin functions.
15682 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15684 # Additional compiler flags for building library objects.
15685 pic_flag=$lt_lt_prog_compiler_pic
15687 # How to pass a linker flag through the compiler.
15688 wl=$lt_lt_prog_compiler_wl
15690 # Compiler flag to prevent dynamic linking.
15691 link_static_flag=$lt_lt_prog_compiler_static
15693 # Does compiler simultaneously support -c and -o options?
15694 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15696 # Whether or not to add -lc for building shared libraries.
15697 build_libtool_need_lc=$archive_cmds_need_lc
15699 # Whether or not to disallow shared libs when runtime libs are static.
15700 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15702 # Compiler flag to allow reflexive dlopens.
15703 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15705 # Compiler flag to generate shared objects directly from archives.
15706 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15708 # Whether the compiler copes with passing no objects directly.
15709 compiler_needs_object=$lt_compiler_needs_object
15711 # Create an old-style archive from a shared archive.
15712 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15714 # Create a temporary old-style archive to link instead of a shared archive.
15715 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15717 # Commands used to build a shared archive.
15718 archive_cmds=$lt_archive_cmds
15719 archive_expsym_cmds=$lt_archive_expsym_cmds
15721 # Commands used to build a loadable module if different from building
15722 # a shared archive.
15723 module_cmds=$lt_module_cmds
15724 module_expsym_cmds=$lt_module_expsym_cmds
15726 # Whether we are building with GNU ld or not.
15727 with_gnu_ld=$lt_with_gnu_ld
15729 # Flag that allows shared libraries with undefined symbols to be built.
15730 allow_undefined_flag=$lt_allow_undefined_flag
15732 # Flag that enforces no undefined symbols.
15733 no_undefined_flag=$lt_no_undefined_flag
15735 # Flag to hardcode \$libdir into a binary during linking.
15736 # This must work even if \$libdir does not exist
15737 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15739 # Whether we need a single "-rpath" flag with a separated argument.
15740 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15742 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15743 # DIR into the resulting binary.
15744 hardcode_direct=$hardcode_direct
15746 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15747 # DIR into the resulting binary and the resulting library dependency is
15748 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15749 # library is relocated.
15750 hardcode_direct_absolute=$hardcode_direct_absolute
15752 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15753 # into the resulting binary.
15754 hardcode_minus_L=$hardcode_minus_L
15756 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15757 # into the resulting binary.
15758 hardcode_shlibpath_var=$hardcode_shlibpath_var
15760 # Set to "yes" if building a shared library automatically hardcodes DIR
15761 # into the library and all subsequent libraries and executables linked
15763 hardcode_automatic=$hardcode_automatic
15765 # Set to yes if linker adds runtime paths of dependent libraries
15766 # to runtime path list.
15767 inherit_rpath=$inherit_rpath
15769 # Whether libtool must link a program against all its dependency libraries.
15770 link_all_deplibs=$link_all_deplibs
15772 # Set to "yes" if exported symbols are required.
15773 always_export_symbols=$always_export_symbols
15775 # The commands to list exported symbols.
15776 export_symbols_cmds=$lt_export_symbols_cmds
15778 # Symbols that should not be listed in the preloaded symbols.
15779 exclude_expsyms=$lt_exclude_expsyms
15781 # Symbols that must always be exported.
15782 include_expsyms=$lt_include_expsyms
15784 # Commands necessary for linking programs (against libraries) with templates.
15785 prelink_cmds=$lt_prelink_cmds
15787 # Commands necessary for finishing linking programs.
15788 postlink_cmds=$lt_postlink_cmds
15790 # Specify filename containing input files.
15791 file_list_spec=$lt_file_list_spec
15793 # How to hardcode a shared library path into an executable.
15794 hardcode_action=$hardcode_action
15796 # ### END LIBTOOL CONFIG
15800 cat <<'_LT_EOF' >> "$cfgfile"
15802 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15804 # func_munge_path_list VARIABLE PATH
15805 # -----------------------------------
15806 # VARIABLE is name of variable containing _space_ separated list of
15807 # directories to be munged by the contents of PATH, which is string
15810 # string "DIR[ DIR]" will be prepended to VARIABLE
15812 # string "DIR[ DIR]" will be appended to VARIABLE
15813 # "DIRP[:DIRP]::[DIRA:]DIRA"
15814 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15815 # "DIRA[ DIRA]" will be appended to VARIABLE
15817 # VARIABLE will be replaced by "DIR[ DIR]"
15818 func_munge_path_list ()
15824 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15827 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15830 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15831 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15834 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15840 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15841 func_cc_basename ()
15843 for cc_temp in $*""; do
15845 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15846 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15851 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15855 # ### END FUNCTIONS SHARED WITH CONFIGURE
15861 cat <<\_LT_EOF >> "$cfgfile"
15862 # AIX sometimes has problems with the GCC collect2 program. For some
15863 # reason, if we set the COLLECT_NAMES environment variable, the problems
15864 # vanish in a puff of smoke.
15865 if test set != "${COLLECT_NAMES+set}"; then
15867 export COLLECT_NAMES
15874 ltmain=$ac_aux_dir/ltmain.sh
15877 # We use sed instead of cat because bash on DJGPP gets confused if
15878 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15879 # text mode, it properly converts lines to CR/LF. This bash problem
15880 # is reportedly fixed, but why not run on old versions too?
15881 sed '$q' "$ltmain" >> "$cfgfile" \
15882 || (rm -f "$cfgfile"; exit 1)
15884 mv -f "$cfgfile" "$ofile" ||
15885 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15896 ac_clean_files=$ac_clean_files_save
15898 test $ac_write_fail = 0 ||
15899 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15902 # configure is writing to config.log, and then calls config.status.
15903 # config.status does its own redirection, appending to config.log.
15904 # Unfortunately, on DOS this fails, as config.log is still kept open
15905 # by configure, so config.status won't be able to write to it; its
15906 # output is simply discarded. So we exec the FD to /dev/null,
15907 # effectively closing config.log, so it can be properly (re)opened and
15908 # appended to by config.status. When coming back to configure, we
15909 # need to make the FD available again.
15910 if test "$no_create" != yes; then
15912 ac_config_status_args=
15913 test "$silent" = yes &&
15914 ac_config_status_args="$ac_config_status_args --quiet"
15916 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15918 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15919 # would make configure fail if this is the last instruction.
15920 $ac_cs_success || as_fn_exit 1
15922 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15924 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}