2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlite 3.14.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.14.1'
594 PACKAGE_STRING='sqlite 3.14.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
643 DYNAMIC_EXTENSION_FLAGS
707 INSTALL_STRIP_PROGRAM
749 program_transform_name
762 enable_option_checking
765 enable_dependency_tracking
777 enable_dynamic_extensions
783 ac_precious_vars='build_alias
795 # Initialize some variables set by options.
797 ac_init_version=false
798 ac_unrecognized_opts=
800 # The variables have the same names as the options, with
801 # dashes changed to underlines.
809 program_transform_name=s,x,x,
817 # Installation directory options.
818 # These are left unexpanded so users can "make install exec_prefix=/foo"
819 # and all the variables that are supposed to be based on exec_prefix
820 # by default will actually change.
821 # Use braces instead of parens because sh, perl, etc. also accept them.
822 # (The list follows the same order as the GNU Coding Standards.)
823 bindir='${exec_prefix}/bin'
824 sbindir='${exec_prefix}/sbin'
825 libexecdir='${exec_prefix}/libexec'
826 datarootdir='${prefix}/share'
827 datadir='${datarootdir}'
828 sysconfdir='${prefix}/etc'
829 sharedstatedir='${prefix}/com'
830 localstatedir='${prefix}/var'
831 includedir='${prefix}/include'
832 oldincludedir='/usr/include'
833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
834 infodir='${datarootdir}/info'
839 libdir='${exec_prefix}/lib'
840 localedir='${datarootdir}/locale'
841 mandir='${datarootdir}/man'
847 # If the previous option needs an argument, assign it.
848 if test -n "$ac_prev"; then
849 eval $ac_prev=\$ac_option
855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902 as_fn_error $? "invalid feature name: $ac_useropt"
903 ac_useropt_orig=$ac_useropt
904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
910 ac_unrecognized_sep=', ';;
912 eval enable_$ac_useropt=no ;;
914 -docdir | --docdir | --docdi | --doc | --do)
916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 -enable-* | --enable-*)
925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 as_fn_error $? "invalid feature name: $ac_useropt"
929 ac_useropt_orig=$ac_useropt
930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
936 ac_unrecognized_sep=', ';;
938 eval enable_$ac_useropt=\$ac_optarg ;;
940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
942 | --exec | --exe | --ex)
943 ac_prev=exec_prefix ;;
944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
946 | --exec=* | --exe=* | --ex=*)
947 exec_prefix=$ac_optarg ;;
949 -gas | --gas | --ga | --g)
950 # Obsolete; use --with-gas.
953 -help | --help | --hel | --he | -h)
955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
956 ac_init_help=recursive ;;
957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
958 ac_init_help=short ;;
960 -host | --host | --hos | --ho)
961 ac_prev=host_alias ;;
962 -host=* | --host=* | --hos=* | --ho=*)
963 host_alias=$ac_optarg ;;
965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
969 htmldir=$ac_optarg ;;
971 -includedir | --includedir | --includedi | --included | --include \
972 | --includ | --inclu | --incl | --inc)
973 ac_prev=includedir ;;
974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
975 | --includ=* | --inclu=* | --incl=* | --inc=*)
976 includedir=$ac_optarg ;;
978 -infodir | --infodir | --infodi | --infod | --info | --inf)
980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
981 infodir=$ac_optarg ;;
983 -libdir | --libdir | --libdi | --libd)
985 -libdir=* | --libdir=* | --libdi=* | --libd=*)
988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
989 | --libexe | --libex | --libe)
990 ac_prev=libexecdir ;;
991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
992 | --libexe=* | --libex=* | --libe=*)
993 libexecdir=$ac_optarg ;;
995 -localedir | --localedir | --localedi | --localed | --locale)
997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
998 localedir=$ac_optarg ;;
1000 -localstatedir | --localstatedir | --localstatedi | --localstated \
1001 | --localstate | --localstat | --localsta | --localst | --locals)
1002 ac_prev=localstatedir ;;
1003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1005 localstatedir=$ac_optarg ;;
1007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1010 mandir=$ac_optarg ;;
1012 -nfp | --nfp | --nf)
1013 # Obsolete; use --without-fp.
1016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1017 | --no-cr | --no-c | -n)
1020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1026 | --oldin | --oldi | --old | --ol | --o)
1027 ac_prev=oldincludedir ;;
1028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1031 oldincludedir=$ac_optarg ;;
1033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1036 prefix=$ac_optarg ;;
1038 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1039 | --program-pre | --program-pr | --program-p)
1040 ac_prev=program_prefix ;;
1041 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1043 program_prefix=$ac_optarg ;;
1045 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1046 | --program-suf | --program-su | --program-s)
1047 ac_prev=program_suffix ;;
1048 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1050 program_suffix=$ac_optarg ;;
1052 -program-transform-name | --program-transform-name \
1053 | --program-transform-nam | --program-transform-na \
1054 | --program-transform-n | --program-transform- \
1055 | --program-transform | --program-transfor \
1056 | --program-transfo | --program-transf \
1057 | --program-trans | --program-tran \
1058 | --progr-tra | --program-tr | --program-t)
1059 ac_prev=program_transform_name ;;
1060 -program-transform-name=* | --program-transform-name=* \
1061 | --program-transform-nam=* | --program-transform-na=* \
1062 | --program-transform-n=* | --program-transform-=* \
1063 | --program-transform=* | --program-transfor=* \
1064 | --program-transfo=* | --program-transf=* \
1065 | --program-trans=* | --program-tran=* \
1066 | --progr-tra=* | --program-tr=* | --program-t=*)
1067 program_transform_name=$ac_optarg ;;
1069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1072 pdfdir=$ac_optarg ;;
1074 -psdir | --psdir | --psdi | --psd | --ps)
1076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1080 | -silent | --silent | --silen | --sile | --sil)
1083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087 sbindir=$ac_optarg ;;
1089 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1091 | --sharedst | --shareds | --shared | --share | --shar \
1093 ac_prev=sharedstatedir ;;
1094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1098 sharedstatedir=$ac_optarg ;;
1100 -site | --site | --sit)
1102 -site=* | --site=* | --sit=*)
1105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1108 srcdir=$ac_optarg ;;
1110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1111 | --syscon | --sysco | --sysc | --sys | --sy)
1112 ac_prev=sysconfdir ;;
1113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1115 sysconfdir=$ac_optarg ;;
1117 -target | --target | --targe | --targ | --tar | --ta | --t)
1118 ac_prev=target_alias ;;
1119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1120 target_alias=$ac_optarg ;;
1122 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1125 -version | --version | --versio | --versi | --vers | -V)
1126 ac_init_version=: ;;
1129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1132 as_fn_error $? "invalid package name: $ac_useropt"
1133 ac_useropt_orig=$ac_useropt
1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1140 ac_unrecognized_sep=', ';;
1142 eval with_$ac_useropt=\$ac_optarg ;;
1144 -without-* | --without-*)
1145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1148 as_fn_error $? "invalid package name: $ac_useropt"
1149 ac_useropt_orig=$ac_useropt
1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1151 case $ac_user_opts in
1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1156 ac_unrecognized_sep=', ';;
1158 eval with_$ac_useropt=no ;;
1161 # Obsolete; use --with-x.
1164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1165 | --x-incl | --x-inc | --x-in | --x-i)
1166 ac_prev=x_includes ;;
1167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1169 x_includes=$ac_optarg ;;
1171 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1173 ac_prev=x_libraries ;;
1174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1176 x_libraries=$ac_optarg ;;
1178 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1179 Try \`$0 --help' for more information"
1183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1184 # Reject names that are not valid shell variable names.
1185 case $ac_envvar in #(
1186 '' | [0-9]* | *[!_$as_cr_alnum]* )
1187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1189 eval $ac_envvar=\$ac_optarg
1190 export $ac_envvar ;;
1193 # FIXME: should be removed in autoconf 3.0.
1194 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1196 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1203 if test -n "$ac_prev"; then
1204 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1205 as_fn_error $? "missing argument to $ac_option"
1208 if test -n "$ac_unrecognized_opts"; then
1209 case $enable_option_checking in
1211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1212 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1216 # Check all directory arguments for consistency.
1217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1218 datadir sysconfdir sharedstatedir localstatedir includedir \
1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1220 libdir localedir mandir
1222 eval ac_val=\$$ac_var
1223 # Remove trailing slashes.
1226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1227 eval $ac_var=\$ac_val;;
1229 # Be sure to have absolute directory names.
1231 [\\/$]* | ?:[\\/]* ) continue;;
1232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1237 # There might be people who depend on the old broken behavior: `$host'
1238 # used to hold the argument of --host etc.
1239 # FIXME: To remove some day.
1242 target=$target_alias
1244 # FIXME: To remove some day.
1245 if test "x$host_alias" != x; then
1246 if test "x$build_alias" = x; then
1247 cross_compiling=maybe
1248 elif test "x$build_alias" != "x$host_alias"; then
1254 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1256 test "$silent" = yes && exec 6>/dev/null
1259 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1260 ac_ls_di=`ls -di .` &&
1261 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1262 as_fn_error $? "working directory cannot be determined"
1263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1264 as_fn_error $? "pwd does not report name of working directory"
1267 # Find the source files, if location was not specified.
1268 if test -z "$srcdir"; then
1269 ac_srcdir_defaulted=yes
1270 # Try the directory containing this script, then the parent directory.
1271 ac_confdir=`$as_dirname -- "$as_myself" ||
1272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1273 X"$as_myself" : 'X\(//\)[^/]' \| \
1274 X"$as_myself" : 'X\(//\)$' \| \
1275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1276 $as_echo X"$as_myself" |
1277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1299 ac_srcdir_defaulted=no
1301 if test ! -r "$srcdir/$ac_unique_file"; then
1302 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1303 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1305 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1309 # When building in place, set srcdir=.
1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
1313 # Remove unnecessary trailing slashes from srcdir.
1314 # Double slashes in file names in object file debugging info
1315 # mess up M-x gdb in Emacs.
1317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319 for ac_var in $ac_precious_vars; do
1320 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1321 eval ac_env_${ac_var}_value=\$${ac_var}
1322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1323 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1327 # Report the --help message.
1329 if test "$ac_init_help" = "long"; then
1330 # Omit some internal or obsolete options to make the list less imposing.
1331 # This message is too long to be a string in the A/UX 3.1 sh.
1333 \`configure' configures sqlite 3.14.1 to adapt to many kinds of systems.
1335 Usage: $0 [OPTION]... [VAR=VALUE]...
1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1338 VAR=VALUE. See below for descriptions of some of the useful variables.
1340 Defaults for the options are specified in brackets.
1343 -h, --help display this help and exit
1344 --help=short display options specific to this package
1345 --help=recursive display the short help of all the included packages
1346 -V, --version display version information and exit
1347 -q, --quiet, --silent do not print \`checking ...' messages
1348 --cache-file=FILE cache test results in FILE [disabled]
1349 -C, --config-cache alias for \`--cache-file=config.cache'
1350 -n, --no-create do not create output files
1351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1353 Installation directories:
1354 --prefix=PREFIX install architecture-independent files in PREFIX
1355 [$ac_default_prefix]
1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1359 By default, \`make install' will install all the files in
1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362 for instance \`--prefix=\$HOME'.
1364 For better control, use the options below.
1366 Fine tuning of the installation directories:
1367 --bindir=DIR user executables [EPREFIX/bin]
1368 --sbindir=DIR system admin executables [EPREFIX/sbin]
1369 --libexecdir=DIR program executables [EPREFIX/libexec]
1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1373 --libdir=DIR object code libraries [EPREFIX/lib]
1374 --includedir=DIR C header files [PREFIX/include]
1375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1378 --infodir=DIR info documentation [DATAROOTDIR/info]
1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1380 --mandir=DIR man documentation [DATAROOTDIR/man]
1381 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1382 --htmldir=DIR html documentation [DOCDIR]
1383 --dvidir=DIR dvi documentation [DOCDIR]
1384 --pdfdir=DIR pdf documentation [DOCDIR]
1385 --psdir=DIR ps documentation [DOCDIR]
1391 --program-prefix=PREFIX prepend PREFIX to installed program names
1392 --program-suffix=SUFFIX append SUFFIX to installed program names
1393 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1396 --build=BUILD configure for building on BUILD [guessed]
1397 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short | recursive ) echo "Configuration of sqlite 3.14.1:";;
1408 --disable-option-checking ignore unrecognized --enable/--with options
1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1411 --enable-silent-rules less verbose build output (undo: "make V=1")
1412 --disable-silent-rules verbose build output (undo: "make V=0")
1413 --disable-largefile omit support for large files
1414 --enable-dependency-tracking
1415 do not reject slow dependency extractors
1416 --disable-dependency-tracking
1417 speeds up one-time build
1418 --enable-shared[=PKGS] build shared libraries [default=yes]
1419 --enable-static[=PKGS] build static libraries [default=yes]
1420 --enable-fast-install[=PKGS]
1421 optimize for fast installation [default=yes]
1422 --disable-libtool-lock avoid locking (might break parallel builds)
1423 --enable-editline use BSD libedit
1424 --enable-readline use readline
1425 --enable-threadsafe build a thread-safe library [default=yes]
1426 --enable-dynamic-extensions
1427 support loadable extensions [default=yes]
1428 --enable-fts5 include fts5 support [default=no]
1429 --enable-json1 include json1 support [default=no]
1430 --enable-session enable the session extension [default=no]
1431 --enable-static-shell statically link libsqlite3 into shell tool
1435 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1436 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1437 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1439 --with-aix-soname=aix|svr4|both
1440 shared library versioning (aka "SONAME") variant to
1441 provide on AIX, [default=aix].
1442 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1443 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1444 compiler's sysroot if not specified).
1446 Some influential environment variables:
1447 CC C compiler command
1448 CFLAGS C compiler flags
1449 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1450 nonstandard directory <lib dir>
1451 LIBS libraries to pass to the linker, e.g. -l<library>
1452 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1453 you have headers in a nonstandard directory <include dir>
1455 User-defined run-time library search path.
1458 Use these variables to override the choices made by `configure' or to help
1459 it to find libraries and programs with nonstandard names/locations.
1461 Report bugs to <http://www.sqlite.org>.
1466 if test "$ac_init_help" = "recursive"; then
1467 # If there are subdirs, report their specific --help.
1468 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469 test -d "$ac_dir" ||
1470 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478 # A ".." for each directory in $ac_dir_suffix.
1479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480 case $ac_top_builddir_sub in
1481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1491 .) # We are building in place.
1493 ac_top_srcdir=$ac_top_builddir_sub
1494 ac_abs_top_srcdir=$ac_pwd ;;
1495 [\\/]* | ?:[\\/]* ) # Absolute name.
1496 ac_srcdir=$srcdir$ac_dir_suffix;
1497 ac_top_srcdir=$srcdir
1498 ac_abs_top_srcdir=$srcdir ;;
1500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501 ac_top_srcdir=$ac_top_build_prefix$srcdir
1502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506 cd "$ac_dir" || { ac_status=$?; continue; }
1507 # Check for guested configure.
1508 if test -f "$ac_srcdir/configure.gnu"; then
1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511 elif test -f "$ac_srcdir/configure"; then
1513 $SHELL "$ac_srcdir/configure" --help=recursive
1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517 cd "$ac_pwd" || { ac_status=$?; break; }
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1524 sqlite configure 3.14.1
1525 generated by GNU Autoconf 2.69
1527 Copyright (C) 2012 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1538 # ac_fn_c_try_compile LINENO
1539 # --------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 rm -f conftest.$ac_objext
1545 if { { ac_try="$ac_compile"
1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err; then
1555 grep -v '^ *+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_c_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval
1574 } # ac_fn_c_try_compile
1576 # ac_fn_c_try_link LINENO
1577 # -----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 rm -f conftest.$ac_objext conftest$ac_exeext
1583 if { { ac_try="$ac_link"
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_link") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } && {
1599 test -z "$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1601 } && test -s conftest$ac_exeext && {
1602 test "$cross_compiling" = yes ||
1603 test -x conftest$ac_exeext
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614 # interfere with the next link command; also delete a directory that is
1615 # left behind by Apple's compiler. We do this before executing the actions.
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1620 } # ac_fn_c_try_link
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_try_cpp LINENO
1654 # ----------------------
1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 if { { ac_try="$ac_cpp conftest.$ac_ext"
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } > conftest.i && {
1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1732 # ac_fn_c_check_func LINENO FUNC VAR
1733 # ----------------------------------
1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1747 #define $2 innocuous_$2
1749 /* System header to define __stub macros and hopefully few prototypes,
1750 which can conflict with char $2 (); below.
1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752 <limits.h> exists even on freestanding compilers. */
1755 # include <limits.h>
1757 # include <assert.h>
1762 /* Override any GCC internal prototype to avoid an error.
1763 Use char because int might match the return type of a GCC
1764 builtin and then its argument prototype would still apply. */
1769 /* The GNU C library defines this for functions which it implements
1770 to always fail with ENOSYS. Some functions are actually named
1771 something starting with __ and the normal name is an alias. */
1772 #if defined __stub_$2 || defined __stub___$2
1784 if ac_fn_c_try_link "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext \
1790 conftest$ac_exeext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 } # ac_fn_c_check_func
1799 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1800 # ---------------------------------------------
1801 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1803 ac_fn_c_check_decl ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 as_decl_name=`echo $2|sed 's/ *(.*//'`
1807 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1809 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1819 #ifndef $as_decl_name
1821 (void) $as_decl_use;
1823 (void) $as_decl_name;
1831 if ac_fn_c_try_compile "$LINENO"; then :
1836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 } # ac_fn_c_check_decl
1845 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1846 # -------------------------------------------------------
1847 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1848 # the include files in INCLUDES and setting the cache variable VAR
1850 ac_fn_c_check_header_mongrel ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 if eval \${$3+:} false; then :
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1855 $as_echo_n "checking for $2... " >&6; }
1856 if eval \${$3+:} false; then :
1857 $as_echo_n "(cached) " >&6
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1863 # Is the header compilable?
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1865 $as_echo_n "checking $2 usability... " >&6; }
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1871 if ac_fn_c_try_compile "$LINENO"; then :
1872 ac_header_compiler=yes
1874 ac_header_compiler=no
1876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1878 $as_echo "$ac_header_compiler" >&6; }
1880 # Is the header present?
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1882 $as_echo_n "checking $2 presence... " >&6; }
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1887 if ac_fn_c_try_cpp "$LINENO"; then :
1888 ac_header_preproc=yes
1890 ac_header_preproc=no
1892 rm -f conftest.err conftest.i conftest.$ac_ext
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1894 $as_echo "$ac_header_preproc" >&6; }
1896 # So? What about this header?
1897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1900 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1902 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1906 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1908 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1910 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1912 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1914 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1915 ( $as_echo "## ------------------------------------ ##
1916 ## Report this to http://www.sqlite.org ##
1917 ## ------------------------------------ ##"
1918 ) | sed "s/^/$as_me: WARNING: /" >&2
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922 $as_echo_n "checking for $2... " >&6; }
1923 if eval \${$3+:} false; then :
1924 $as_echo_n "(cached) " >&6
1926 eval "$3=\$ac_header_compiler"
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934 } # ac_fn_c_check_header_mongrel
1935 cat >config.log <<_ACEOF
1936 This file contains any messages produced by compilers while
1937 running configure, to aid debugging if configure makes a mistake.
1939 It was created by sqlite $as_me 3.14.1, which was
1940 generated by GNU Autoconf 2.69. Invocation command line was
1952 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1953 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1954 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1955 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1956 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1958 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1959 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1961 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1962 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1963 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1964 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1965 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1966 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1967 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 $as_echo "PATH: $as_dir"
1992 # Keep a trace of the command line.
1993 # Strip out --no-create and --no-recursion so they do not pile up.
1994 # Strip out --silent because we don't want to record it for future runs.
1995 # Also quote any args containing shell meta-characters.
1996 # Make two passes to allow for proper duplicate-argument suppression.
2000 ac_must_keep_next=false
2006 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2008 | -silent | --silent | --silen | --sile | --sil)
2011 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2016 as_fn_append ac_configure_args1 " '$ac_arg'"
2017 if test $ac_must_keep_next = true; then
2018 ac_must_keep_next=false # Got value, back to normal.
2021 *=* | --config-cache | -C | -disable-* | --disable-* \
2022 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2023 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2024 | -with-* | --with-* | -without-* | --without-* | --x)
2025 case "$ac_configure_args0 " in
2026 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2029 -* ) ac_must_keep_next=true ;;
2032 as_fn_append ac_configure_args " '$ac_arg'"
2037 { ac_configure_args0=; unset ac_configure_args0;}
2038 { ac_configure_args1=; unset ac_configure_args1;}
2040 # When interrupted or exit'd, cleanup temporary files, and complete
2041 # config.log. We remove comments because anyway the quotes in there
2042 # would cause problems or look ugly.
2043 # WARNING: Use '\'' to represent an apostrophe within the trap.
2044 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2045 trap 'exit_status=$?
2046 # Save into config.log some information that might help in debugging.
2050 $as_echo "## ---------------- ##
2051 ## Cache variables. ##
2052 ## ---------------- ##"
2054 # The following way of writing the cache mishandles newlines in values,
2056 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2057 eval ac_val=\$$ac_var
2061 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2062 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2065 _ | IFS | as_nl) ;; #(
2066 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2067 *) { eval $ac_var=; unset $ac_var;} ;;
2072 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2073 *${as_nl}ac_space=\ *)
2075 "s/'\''/'\''\\\\'\'''\''/g;
2076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2079 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2086 $as_echo "## ----------------- ##
2087 ## Output variables. ##
2088 ## ----------------- ##"
2090 for ac_var in $ac_subst_vars
2092 eval ac_val=\$$ac_var
2094 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2096 $as_echo "$ac_var='\''$ac_val'\''"
2100 if test -n "$ac_subst_files"; then
2101 $as_echo "## ------------------- ##
2102 ## File substitutions. ##
2103 ## ------------------- ##"
2105 for ac_var in $ac_subst_files
2107 eval ac_val=\$$ac_var
2109 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2111 $as_echo "$ac_var='\''$ac_val'\''"
2116 if test -s confdefs.h; then
2117 $as_echo "## ----------- ##
2124 test "$ac_signal" != 0 &&
2125 $as_echo "$as_me: caught signal $ac_signal"
2126 $as_echo "$as_me: exit $exit_status"
2128 rm -f core *.core core.conftest.* &&
2129 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2132 for ac_signal in 1 2 13 15; do
2133 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2138 rm -f -r conftest* confdefs.h
2140 $as_echo "/* confdefs.h */" > confdefs.h
2142 # Predefined preprocessor variables.
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_NAME "$PACKAGE_NAME"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_STRING "$PACKAGE_STRING"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_URL "$PACKAGE_URL"
2169 # Let the site file select an alternate cache file if it wants to.
2170 # Prefer an explicitly selected file to automatically selected ones.
2173 if test -n "$CONFIG_SITE"; then
2174 # We do not want a PATH search for config.site.
2175 case $CONFIG_SITE in #((
2176 -*) ac_site_file1=./$CONFIG_SITE;;
2177 */*) ac_site_file1=$CONFIG_SITE;;
2178 *) ac_site_file1=./$CONFIG_SITE;;
2180 elif test "x$prefix" != xNONE; then
2181 ac_site_file1=$prefix/share/config.site
2182 ac_site_file2=$prefix/etc/config.site
2184 ac_site_file1=$ac_default_prefix/share/config.site
2185 ac_site_file2=$ac_default_prefix/etc/config.site
2187 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2189 test "x$ac_site_file" = xNONE && continue
2190 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2192 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2193 sed 's/^/| /' "$ac_site_file" >&5
2195 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2197 as_fn_error $? "failed to load site script $ac_site_file
2198 See \`config.log' for more details" "$LINENO" 5; }
2202 if test -r "$cache_file"; then
2203 # Some versions of bash will fail to source /dev/null (special files
2204 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2205 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2207 $as_echo "$as_me: loading cache $cache_file" >&6;}
2209 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2210 *) . "./$cache_file";;
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2215 $as_echo "$as_me: creating cache $cache_file" >&6;}
2219 # Check that the precious variables saved in the cache have kept the same
2221 ac_cache_corrupted=false
2222 for ac_var in $ac_precious_vars; do
2223 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2224 eval ac_new_set=\$ac_env_${ac_var}_set
2225 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2226 eval ac_new_val=\$ac_env_${ac_var}_value
2227 case $ac_old_set,$ac_new_set in
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2230 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2231 ac_cache_corrupted=: ;;
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2234 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2235 ac_cache_corrupted=: ;;
2238 if test "x$ac_old_val" != "x$ac_new_val"; then
2239 # differences in whitespace do not lead to failure.
2240 ac_old_val_w=`echo x $ac_old_val`
2241 ac_new_val_w=`echo x $ac_new_val`
2242 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2244 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2245 ac_cache_corrupted=:
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2248 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2249 eval $ac_var=\$ac_old_val
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2252 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2254 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2257 # Pass precious variables to config.status.
2258 if test "$ac_new_set" = set; then
2260 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2261 *) ac_arg=$ac_var=$ac_new_val ;;
2263 case " $ac_configure_args " in
2264 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2265 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2269 if $ac_cache_corrupted; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2273 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2274 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2276 ## -------------------- ##
2277 ## Main body of script. ##
2278 ## -------------------- ##
2281 ac_cpp='$CPP $CPPFLAGS'
2282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2290 am__api_version='1.15'
2293 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2294 if test -f "$ac_dir/install-sh"; then
2296 ac_install_sh="$ac_aux_dir/install-sh -c"
2298 elif test -f "$ac_dir/install.sh"; then
2300 ac_install_sh="$ac_aux_dir/install.sh -c"
2302 elif test -f "$ac_dir/shtool"; then
2304 ac_install_sh="$ac_aux_dir/shtool install -c"
2308 if test -z "$ac_aux_dir"; then
2309 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2312 # These three variables are undocumented and unsupported,
2313 # and are intended to be withdrawn in a future Autoconf release.
2314 # They can cause serious problems if a builder's source tree is in a directory
2315 # whose full name contains unusual characters.
2316 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2317 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2318 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2321 # Find a good install program. We prefer a C program (faster),
2322 # so one script is as good as another. But avoid the broken or
2323 # incompatible versions:
2324 # SysV /etc/install, /usr/sbin/install
2325 # SunOS /usr/etc/install
2326 # IRIX /sbin/install
2328 # AmigaOS /C/install, which installs bootblocks on floppy discs
2329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2332 # OS/2's system install, which has a completely different semantic
2333 # ./install, which can be erroneously created by make from ./install.sh.
2334 # Reject install programs that cannot install multiple files.
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2336 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2337 if test -z "$INSTALL"; then
2338 if ${ac_cv_path_install+:} false; then :
2339 $as_echo_n "(cached) " >&6
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir=.
2346 # Account for people who put trailing slashes in PATH elements.
2347 case $as_dir/ in #((
2348 ./ | .// | /[cC]/* | \
2349 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2350 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2353 # OSF1 and SCO ODT 3.0 have their own names for install.
2354 # Don't use installbsd from OSF since it installs stuff as root
2356 for ac_prog in ginstall scoinst install; do
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2359 if test $ac_prog = install &&
2360 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361 # AIX install. It has an incompatible calling convention.
2363 elif test $ac_prog = install &&
2364 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365 # program-specific install script used by HP pwplus--don't use.
2368 rm -rf conftest.one conftest.two conftest.dir
2369 echo one > conftest.one
2370 echo two > conftest.two
2372 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2373 test -s conftest.one && test -s conftest.two &&
2374 test -s conftest.dir/conftest.one &&
2375 test -s conftest.dir/conftest.two
2377 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2390 rm -rf conftest.one conftest.two conftest.dir
2393 if test "${ac_cv_path_install+set}" = set; then
2394 INSTALL=$ac_cv_path_install
2396 # As a last resort, use the slow shell script. Don't cache a
2397 # value for INSTALL within a source directory, because that will
2398 # break other packages using the cache if that directory is
2399 # removed, or if the value is a relative name.
2400 INSTALL=$ac_install_sh
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2404 $as_echo "$INSTALL" >&6; }
2406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2407 # It thinks the first close brace ends the variable substitution.
2408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2412 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2415 $as_echo_n "checking whether build environment is sane... " >&6; }
2416 # Reject unsafe characters in $srcdir or the absolute working directory
2417 # name. Accept space and tab only in the latter.
2421 *[\\\"\#\$\&\'\`$am_lf]*)
2422 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2425 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2426 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2429 # Do 'set' in a subshell so we don't clobber the current shell's
2430 # arguments. Must try -L first in case configure is actually a
2431 # symlink; some systems play weird games with the mod time of symlinks
2432 # (eg FreeBSD returns the mod time of the symlink's containing
2436 for am_try in 1 2; do
2437 echo "timestamp, slept: $am_has_slept" > conftest.file
2438 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2439 if test "$*" = "X"; then
2441 set X `ls -t "$srcdir/configure" conftest.file`
2443 if test "$*" != "X $srcdir/configure conftest.file" \
2444 && test "$*" != "X conftest.file $srcdir/configure"; then
2446 # If neither matched, then we have a broken ls. This can happen
2447 # if, for instance, CONFIG_SHELL is bash and it inherits a
2448 # broken ls alias from the environment. This has actually
2449 # happened. Such a system could not be considered "sane".
2450 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2451 alias in your environment" "$LINENO" 5
2453 if test "$2" = conftest.file || test $am_try -eq 2; then
2460 test "$2" = conftest.file
2466 as_fn_error $? "newly created file is older than distributed files!
2467 Check your system clock" "$LINENO" 5
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2470 $as_echo "yes" >&6; }
2471 # If we didn't sleep, we still need to ensure time stamps of config.status and
2472 # generated files are strictly newer.
2474 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2481 test "$program_prefix" != NONE &&
2482 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2483 # Use a double $ so make ignores it.
2484 test "$program_suffix" != NONE &&
2485 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2486 # Double any \ or $.
2487 # By default was `s,x,x', remove it if useless.
2488 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2489 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2491 # Expand $ac_aux_dir to an absolute path.
2492 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2494 if test x"${MISSING+set}" != xset; then
2497 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2499 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2502 # Use eval to expand $SHELL
2503 if eval "$MISSING --is-lightweight"; then
2504 am_missing_run="$MISSING "
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2508 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2511 if test x"${install_sh+set}" != xset; then
2514 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2516 install_sh="\${SHELL} $am_aux_dir/install-sh"
2520 # Installed binaries are usually stripped using 'strip' when the user
2521 # run "make install-strip". However 'strip' might not be the right
2522 # tool to use in cross-compilation environments, therefore Automake
2523 # will honor the 'STRIP' environment variable to overrule this program.
2524 if test "$cross_compiling" != no; then
2525 if test -n "$ac_tool_prefix"; then
2526 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2527 set dummy ${ac_tool_prefix}strip; ac_word=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if ${ac_cv_prog_STRIP+:} false; then :
2531 $as_echo_n "(cached) " >&6
2533 if test -n "$STRIP"; then
2534 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 STRIP=$ac_cv_prog_STRIP
2554 if test -n "$STRIP"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2556 $as_echo "$STRIP" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2564 if test -z "$ac_cv_prog_STRIP"; then
2566 # Extract the first word of "strip", so it can be a program name with args.
2567 set dummy strip; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$ac_ct_STRIP"; then
2574 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583 ac_cv_prog_ac_ct_STRIP="strip"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2594 if test -n "$ac_ct_STRIP"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2596 $as_echo "$ac_ct_STRIP" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2602 if test "x$ac_ct_STRIP" = x; then
2605 case $cross_compiling:$ac_tool_warned in
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2609 ac_tool_warned=yes ;;
2614 STRIP="$ac_cv_prog_STRIP"
2618 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2621 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2622 if test -z "$MKDIR_P"; then
2623 if ${ac_cv_path_mkdir+:} false; then :
2624 $as_echo_n "(cached) " >&6
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2630 test -z "$as_dir" && as_dir=.
2631 for ac_prog in mkdir gmkdir; do
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2634 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2635 'mkdir (GNU coreutils) '* | \
2636 'mkdir (coreutils) '* | \
2637 'mkdir (fileutils) '4.1*)
2638 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2648 test -d ./--version && rmdir ./--version
2649 if test "${ac_cv_path_mkdir+set}" = set; then
2650 MKDIR_P="$ac_cv_path_mkdir -p"
2652 # As a last resort, use the slow shell script. Don't cache a
2653 # value for MKDIR_P within a source directory, because that will
2654 # break other packages using the cache if that directory is
2655 # removed, or if the value is a relative name.
2656 MKDIR_P="$ac_install_sh -d"
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2660 $as_echo "$MKDIR_P" >&6; }
2662 for ac_prog in gawk mawk nawk awk
2664 # Extract the first word of "$ac_prog", so it can be a program name with args.
2665 set dummy $ac_prog; ac_word=$2
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667 $as_echo_n "checking for $ac_word... " >&6; }
2668 if ${ac_cv_prog_AWK+:} false; then :
2669 $as_echo_n "(cached) " >&6
2671 if test -n "$AWK"; then
2672 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2681 ac_cv_prog_AWK="$ac_prog"
2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 if test -n "$AWK"; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2694 $as_echo "$AWK" >&6; }
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697 $as_echo "no" >&6; }
2701 test -n "$AWK" && break
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2705 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2707 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2708 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2709 $as_echo_n "(cached) " >&6
2711 cat >conftest.make <<\_ACEOF
2714 @echo '@@@%%%=$(MAKE)=@@@%%%'
2716 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2717 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2719 eval ac_cv_prog_make_${ac_make}_set=yes;;
2721 eval ac_cv_prog_make_${ac_make}_set=no;;
2725 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2727 $as_echo "yes" >&6; }
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731 $as_echo "no" >&6; }
2732 SET_MAKE="MAKE=${MAKE-make}"
2735 rm -rf .tst 2>/dev/null
2736 mkdir .tst 2>/dev/null
2737 if test -d .tst; then
2742 rmdir .tst 2>/dev/null
2744 # Check whether --enable-silent-rules was given.
2745 if test "${enable_silent_rules+set}" = set; then :
2746 enableval=$enable_silent_rules;
2749 case $enable_silent_rules in # (((
2750 yes) AM_DEFAULT_VERBOSITY=0;;
2751 no) AM_DEFAULT_VERBOSITY=1;;
2752 *) AM_DEFAULT_VERBOSITY=1;;
2754 am_make=${MAKE-make}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2756 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2757 if ${am_cv_make_support_nested_variables+:} false; then :
2758 $as_echo_n "(cached) " >&6
2760 if $as_echo 'TRUE=$(BAR$(V))
2766 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2767 am_cv_make_support_nested_variables=yes
2769 am_cv_make_support_nested_variables=no
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2773 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2774 if test $am_cv_make_support_nested_variables = yes; then
2776 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2778 AM_V=$AM_DEFAULT_VERBOSITY
2779 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2783 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2784 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2785 # is not polluted with repeated "-I."
2786 am__isrc=' -I$(srcdir)'
2787 # test to see if srcdir already configured
2788 if test -f $srcdir/config.status; then
2789 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2793 # test whether we have cygpath
2794 if test -z "$CYGPATH_W"; then
2795 if (cygpath --version) >/dev/null 2>/dev/null; then
2796 CYGPATH_W='cygpath -w'
2803 # Define the identity of the package.
2808 cat >>confdefs.h <<_ACEOF
2809 #define PACKAGE "$PACKAGE"
2813 cat >>confdefs.h <<_ACEOF
2814 #define VERSION "$VERSION"
2817 # Some tools Automake needs.
2819 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2822 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2825 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2828 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2831 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2833 # For better backward compatibility. To be removed once Automake 1.9.x
2834 # dies out for good. For more background, see:
2835 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2836 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2837 mkdir_p='$(MKDIR_P)'
2839 # We need awk for the "check" target (and possibly the TAP driver). The
2840 # system "awk" is bad on some platforms.
2841 # Always define AMTAR for backward compatibility. Yes, it's still used
2842 # in the wild :-( We should find a proper way to deprecate it ...
2846 # We'll loop over all known methods to create a tar archive until one works.
2847 _am_tools='gnutar pax cpio none'
2849 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2856 # POSIX will say in a future version that running "rm -f" with no argument
2857 # is OK; and we want to be able to make that assumption in our Makefile
2858 # recipes. So use an aggressive probe to check that the usage we want is
2859 # actually supported "in the wild" to an acceptable degree.
2860 # See automake bug#10828.
2861 # To make any issue more visible, cause the running configure to be aborted
2862 # by default if the 'rm' program in use doesn't match our expectations; the
2863 # user can still override this though.
2864 if rm -f && rm -fr && rm -rf; then : OK; else
2868 Your 'rm' program seems unable to run without file operands specified
2869 on the command line, even when the '-f' option is present. This is contrary
2870 to the behaviour of most rm programs out there, and not conforming with
2871 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2873 Please tell bug-automake@gnu.org about your system, including the value
2874 of your $PATH and any error possibly output before this message. This
2875 can help us improve future automake versions.
2878 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2879 echo 'Configuration will proceed anyway, since you have set the' >&2
2880 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2884 Aborting the configuration process, to ensure you take notice of the issue.
2886 You can download and install GNU coreutils to get an 'rm' implementation
2887 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2889 If you want to complete the configuration process using your problematic
2890 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2891 to "yes", and re-run configure.
2894 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2899 DEPDIR="${am__leading_dot}deps"
2901 ac_config_commands="$ac_config_commands depfiles"
2904 am_make=${MAKE-make}
2905 cat > confinc << 'END'
2907 @echo this is the am__doit target
2910 # If we don't find an include directive, just comment out the code.
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2912 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2916 # First try GNU make style include.
2917 echo "include confinc" > confmf
2918 # Ignore all kinds of additional output from 'make'.
2919 case `$am_make -s -f confmf 2> /dev/null` in #(
2920 *the\ am__doit\ target*)
2926 # Now try BSD make style include.
2927 if test "$am__include" = "#"; then
2928 echo '.include "confinc"' > confmf
2929 case `$am_make -s -f confmf 2> /dev/null` in #(
2930 *the\ am__doit\ target*)
2931 am__include=.include
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2940 $as_echo "$_am_result" >&6; }
2941 rm -f confinc confmf
2943 # Check whether --enable-dependency-tracking was given.
2944 if test "${enable_dependency_tracking+set}" = set; then :
2945 enableval=$enable_dependency_tracking;
2948 if test "x$enable_dependency_tracking" != xno; then
2949 am_depcomp="$ac_aux_dir/depcomp"
2953 if test "x$enable_dependency_tracking" != xno; then
2963 ac_cpp='$CPP $CPPFLAGS'
2964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2967 if test -n "$ac_tool_prefix"; then
2968 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2969 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_CC+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC="$CC" # Let the user override the test.
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test -n "$CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3006 if test -z "$ac_cv_prog_CC"; then
3008 # Extract the first word of "gcc", so it can be a program name with args.
3009 set dummy gcc; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$ac_ct_CC"; then
3016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 ac_cv_prog_ac_ct_CC="gcc"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3036 if test -n "$ac_ct_CC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3038 $as_echo "$ac_ct_CC" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3044 if test "x$ac_ct_CC" = x; then
3047 case $cross_compiling:$ac_tool_warned in
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3051 ac_tool_warned=yes ;;
3059 if test -z "$CC"; then
3060 if test -n "$ac_tool_prefix"; then
3061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3062 set dummy ${ac_tool_prefix}cc; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if ${ac_cv_prog_CC+:} false; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC="$CC" # Let the user override the test.
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_CC="${ac_tool_prefix}cc"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3091 $as_echo "$CC" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3100 if test -z "$CC"; then
3101 # Extract the first word of "cc", so it can be a program name with args.
3102 set dummy cc; ac_word=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if ${ac_cv_prog_CC+:} false; then :
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$CC"; then
3109 ac_cv_prog_CC="$CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3120 ac_prog_rejected=yes
3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test $ac_prog_rejected = yes; then
3132 # We found a bogon in the path, so make sure we never use it.
3133 set dummy $ac_cv_prog_CC
3135 if test $# != 0; then
3136 # We chose a different compiler from the bogus one.
3137 # However, it has the same basename, so the bogon will be chosen
3138 # first if we set CC to just the basename; use the full file name.
3140 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3146 if test -n "$CC"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148 $as_echo "$CC" >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3156 if test -z "$CC"; then
3157 if test -n "$ac_tool_prefix"; then
3158 for ac_prog in cl.exe
3160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if ${ac_cv_prog_CC+:} false; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC="$CC" # Let the user override the test.
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3177 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 if test -n "$CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3197 test -n "$CC" && break
3200 if test -z "$CC"; then
3202 for ac_prog in cl.exe
3204 # Extract the first word of "$ac_prog", so it can be a program name with args.
3205 set dummy $ac_prog; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 if test -n "$ac_ct_CC"; then
3212 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221 ac_cv_prog_ac_ct_CC="$ac_prog"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3232 if test -n "$ac_ct_CC"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3234 $as_echo "$ac_ct_CC" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3241 test -n "$ac_ct_CC" && break
3244 if test "x$ac_ct_CC" = x; then
3247 case $cross_compiling:$ac_tool_warned in
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3251 ac_tool_warned=yes ;;
3260 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error $? "no acceptable C compiler found in \$PATH
3263 See \`config.log' for more details" "$LINENO" 5; }
3265 # Provide some information about the compiler.
3266 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3269 for ac_option in --version -v -V -qversion; do
3270 { { ac_try="$ac_compiler $ac_option >&5"
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3276 $as_echo "$ac_try_echo"; } >&5
3277 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3279 if test -s conftest.err; then
3281 ... rest of stderr output deleted ...
3282 10q' conftest.err >conftest.er1
3283 cat conftest.er1 >&5
3285 rm -f conftest.er1 conftest.err
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3301 ac_clean_files_save=$ac_clean_files
3302 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3303 # Try to create an executable without -o first, disregard a.out.
3304 # It will help us diagnose broken compilers, and finding out an intuition
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3307 $as_echo_n "checking whether the C compiler works... " >&6; }
3308 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3310 # The possible output files:
3311 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3314 for ac_file in $ac_files
3317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3318 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3323 if { { ac_try="$ac_link_default"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_link_default") 2>&5
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; }; then :
3334 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3335 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3336 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3337 # so that the user can short-circuit this test for compilers unknown to
3339 for ac_file in $ac_files ''
3341 test -f "$ac_file" || continue
3343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3346 # We found the default executable, but exeext='' is most
3350 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3354 # We set ac_cv_exeext here because the later test for it is not
3355 # safe: cross compilers may not add the suffix if given an `-o'
3356 # argument, so we may need to know it at that point already.
3357 # Even if this section looks crufty: it has the advantage of
3364 test "$ac_cv_exeext" = no && ac_cv_exeext=
3369 if test -z "$ac_file"; then :
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3372 $as_echo "$as_me: failed program was:" >&5
3373 sed 's/^/| /' conftest.$ac_ext >&5
3375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 as_fn_error 77 "C compiler cannot create executables
3378 See \`config.log' for more details" "$LINENO" 5; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3381 $as_echo "yes" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3384 $as_echo_n "checking for C compiler default output file name... " >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3386 $as_echo "$ac_file" >&6; }
3387 ac_exeext=$ac_cv_exeext
3389 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3390 ac_clean_files=$ac_clean_files_save
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3392 $as_echo_n "checking for suffix of executables... " >&6; }
3393 if { { ac_try="$ac_link"
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_link") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; then :
3404 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3405 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3406 # work properly (i.e., refer to `conftest.exe'), while it won't with
3408 for ac_file in conftest.exe conftest conftest.*; do
3409 test -f "$ac_file" || continue
3411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3412 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3421 See \`config.log' for more details" "$LINENO" 5; }
3423 rm -f conftest conftest$ac_cv_exeext
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3425 $as_echo "$ac_cv_exeext" >&6; }
3427 rm -f conftest.$ac_ext
3428 EXEEXT=$ac_cv_exeext
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3436 FILE *f = fopen ("conftest.out", "w");
3437 return ferror (f) || fclose (f) != 0;
3443 ac_clean_files="$ac_clean_files conftest.out"
3444 # Check that the compiler produces executables we can run. If not, either
3445 # the compiler is broken, or we cross compile.
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3447 $as_echo_n "checking whether we are cross compiling... " >&6; }
3448 if test "$cross_compiling" != yes; then
3449 { { ac_try="$ac_link"
3451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456 (eval "$ac_link") 2>&5
3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459 test $ac_status = 0; }
3460 if { ac_try='./conftest$ac_cv_exeext'
3461 { { case "(($ac_try" in
3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3466 $as_echo "$ac_try_echo"; } >&5
3467 (eval "$ac_try") 2>&5
3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470 test $ac_status = 0; }; }; then
3473 if test "$cross_compiling" = maybe; then
3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 as_fn_error $? "cannot run C compiled programs.
3479 If you meant to cross compile, use \`--host'.
3480 See \`config.log' for more details" "$LINENO" 5; }
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3485 $as_echo "$cross_compiling" >&6; }
3487 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3488 ac_clean_files=$ac_clean_files_save
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3490 $as_echo_n "checking for suffix of object files... " >&6; }
3491 if ${ac_cv_objext+:} false; then :
3492 $as_echo_n "(cached) " >&6
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3505 rm -f conftest.o conftest.obj
3506 if { { ac_try="$ac_compile"
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3512 $as_echo "$ac_try_echo"; } >&5
3513 (eval "$ac_compile") 2>&5
3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3516 test $ac_status = 0; }; then :
3517 for ac_file in conftest.o conftest.obj conftest.*; do
3518 test -f "$ac_file" || continue;
3520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3521 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3526 $as_echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error $? "cannot compute suffix of object files: cannot compile
3532 See \`config.log' for more details" "$LINENO" 5; }
3534 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3537 $as_echo "$ac_cv_objext" >&6; }
3538 OBJEXT=$ac_cv_objext
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3541 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3542 if ${ac_cv_c_compiler_gnu+:} false; then :
3543 $as_echo_n "(cached) " >&6
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3569 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3570 if test $ac_compiler_gnu = yes; then
3575 ac_test_CFLAGS=${CFLAGS+set}
3576 ac_save_CFLAGS=$CFLAGS
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3578 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3579 if ${ac_cv_prog_cc_g+:} false; then :
3580 $as_echo_n "(cached) " >&6
3582 ac_save_c_werror_flag=$ac_c_werror_flag
3583 ac_c_werror_flag=yes
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile "$LINENO"; then :
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3612 if ac_fn_c_try_compile "$LINENO"; then :
3615 ac_c_werror_flag=$ac_save_c_werror_flag
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 if ac_fn_c_try_compile "$LINENO"; then :
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 ac_c_werror_flag=$ac_save_c_werror_flag
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3639 $as_echo "$ac_cv_prog_cc_g" >&6; }
3640 if test "$ac_test_CFLAGS" = set; then
3641 CFLAGS=$ac_save_CFLAGS
3642 elif test $ac_cv_prog_cc_g = yes; then
3643 if test "$GCC" = yes; then
3649 if test "$GCC" = yes; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3656 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3657 if ${ac_cv_prog_cc_c89+:} false; then :
3658 $as_echo_n "(cached) " >&6
3660 ac_cv_prog_cc_c89=no
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3667 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3668 struct buf { int x; };
3669 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3670 static char *e (p, i)
3676 static char *f (char * (*g) (char **, int), char **p, ...)
3681 s = g (p, va_arg (v,int));
3686 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3687 function prototypes and stuff, but not '\xHH' hex character constants.
3688 These don't provoke an error unfortunately, instead are silently treated
3689 as 'x'. The following induces an error, until -std is added to get
3690 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3691 array size at least. It's necessary to write '\x00'==0 to get something
3692 that's true only with -std. */
3693 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3695 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3696 inside strings and character constants. */
3698 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3700 int test (int i, double x);
3701 struct s1 {int (*f) (int a);};
3702 struct s2 {int (*f) (double a);};
3703 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3709 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3714 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3715 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3717 CC="$ac_save_CC $ac_arg"
3718 if ac_fn_c_try_compile "$LINENO"; then :
3719 ac_cv_prog_cc_c89=$ac_arg
3721 rm -f core conftest.err conftest.$ac_objext
3722 test "x$ac_cv_prog_cc_c89" != "xno" && break
3724 rm -f conftest.$ac_ext
3729 case "x$ac_cv_prog_cc_c89" in
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3732 $as_echo "none needed" >&6; } ;;
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3735 $as_echo "unsupported" >&6; } ;;
3737 CC="$CC $ac_cv_prog_cc_c89"
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3739 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3741 if test "x$ac_cv_prog_cc_c89" != xno; then :
3746 ac_cpp='$CPP $CPPFLAGS'
3747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3752 ac_cpp='$CPP $CPPFLAGS'
3753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3757 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3758 if ${am_cv_prog_cc_c_o+:} false; then :
3759 $as_echo_n "(cached) " >&6
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 # Make sure it works both with $CC and with simple cc.
3773 # Following AC_PROG_CC_C_O, we do the test twice because some
3774 # compilers refuse to overwrite an existing .o file with -o,
3775 # though they will create one.
3776 am_cv_prog_cc_c_o=yes
3778 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3779 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } \
3783 && test -f conftest2.$ac_objext; then
3786 am_cv_prog_cc_c_o=no
3790 rm -f core conftest*
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3794 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3795 if test "$am_cv_prog_cc_c_o" != yes; then
3796 # Losing compiler, so override with the script.
3797 # FIXME: It is wrong to rewrite CC.
3798 # But if we don't then we get into trouble of one sort or another.
3799 # A longer-term fix would be to have automake use am__CC in this case,
3800 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3801 CC="$am_aux_dir/compile $CC"
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 depcc="$CC" am_compiler_list=
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3813 $as_echo_n "checking dependency style of $depcc... " >&6; }
3814 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3818 # We make a subdir and do the tests there. Otherwise we can end up
3819 # making bogus files that we don't know about and never remove. For
3820 # instance it was reported that on HP-UX the gcc test will end up
3821 # making a dummy file named 'D' -- because '-MD' means "put the output
3825 # Copy depcomp to subdir because otherwise we won't find it if we're
3826 # using a relative directory.
3827 cp "$am_depcomp" conftest.dir
3829 # We will build objects and dependencies in a subdirectory because
3830 # it helps to detect inapplicable dependency modes. For instance
3831 # both Tru64's cc and ICC support -MD to output dependencies as a
3832 # side effect of compilation, but ICC will put the dependencies in
3833 # the current directory while Tru64 will put them in the object
3837 am_cv_CC_dependencies_compiler_type=none
3838 if test "$am_compiler_list" = ""; then
3839 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3842 case " $depcc " in #(
3843 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3846 for depmode in $am_compiler_list; do
3847 # Setup a source with many dependencies, because some compilers
3848 # like to wrap large dependency lists on column 80 (with \), and
3849 # we should not choose a depcomp mode which is confused by this.
3851 # We need to recreate these files for each test, as the compiler may
3852 # overwrite some of them when testing with obscure command lines.
3853 # This happens at least with the AIX C compiler.
3855 for i in 1 2 3 4 5 6; do
3856 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3857 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3858 # Solaris 10 /bin/sh.
3859 echo '/* dummy */' > sub/conftst$i.h
3861 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3864 # mode. It turns out that the SunPro C++ compiler does not properly
3865 # handle '-M -o', and we need to detect this. Also, some Intel
3866 # versions had trouble with output in subdirs.
3867 am__obj=sub/conftest.${OBJEXT-o}
3868 am__minus_obj="-o $am__obj"
3871 # This depmode causes a compiler race in universal mode.
3872 test "$am__universal" = false || continue
3875 # After this tag, mechanisms are not by side-effect, so they'll
3876 # only be used when explicitly requested.
3877 if test "x$enable_dependency_tracking" = xyes; then
3883 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3884 # This compiler won't grok '-c -o', but also, the minuso test has
3885 # not run yet. These depmodes are late enough in the game, and
3886 # so weak that their functioning should not be impacted.
3887 am__obj=conftest.${OBJEXT-o}
3892 if depmode=$depmode \
3893 source=sub/conftest.c object=$am__obj \
3894 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3895 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3896 >/dev/null 2>conftest.err &&
3897 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3898 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3899 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3900 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3901 # icc doesn't choke on unknown options, it will just issue warnings
3902 # or remarks (even with -Werror). So we grep stderr for any message
3903 # that says an option was ignored or not supported.
3904 # When given -MP, icc 7.0 and 7.1 complain thusly:
3905 # icc: Command line warning: ignoring option '-M'; no argument required
3906 # The diagnosis changed in icc 8.0:
3907 # icc: Command line remark: option '-MP' not supported
3908 if (grep 'ignoring option' conftest.err ||
3909 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3910 am_cv_CC_dependencies_compiler_type=$depmode
3919 am_cv_CC_dependencies_compiler_type=none
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3924 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3925 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3928 test "x$enable_dependency_tracking" != xno \
3929 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3931 am__fastdepCC_FALSE='#'
3933 am__fastdepCC_TRUE='#'
3934 am__fastdepCC_FALSE=
3939 # Check whether --enable-largefile was given.
3940 if test "${enable_largefile+set}" = set; then :
3941 enableval=$enable_largefile;
3944 if test "$enable_largefile" != no; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3947 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3948 if ${ac_cv_sys_largefile_CC+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_cv_sys_largefile_CC=no
3952 if test "$GCC" != yes; then
3955 # IRIX 6.2 and later do not support large files by default,
3956 # so use the C compiler's -n32 option if that helps.
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3959 #include <sys/types.h>
3960 /* Check that off_t can represent 2**63 - 1 correctly.
3961 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3962 since some C++ compilers masquerading as C compilers
3963 incorrectly reject 9223372036854775807. */
3964 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3965 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3966 && LARGE_OFF_T % 2147483647 == 1)
3976 if ac_fn_c_try_compile "$LINENO"; then :
3979 rm -f core conftest.err conftest.$ac_objext
3981 if ac_fn_c_try_compile "$LINENO"; then :
3982 ac_cv_sys_largefile_CC=' -n32'; break
3984 rm -f core conftest.err conftest.$ac_objext
3988 rm -f conftest.$ac_ext
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3992 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3993 if test "$ac_cv_sys_largefile_CC" != no; then
3994 CC=$CC$ac_cv_sys_largefile_CC
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3998 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3999 if ${ac_cv_sys_file_offset_bits+:} false; then :
4000 $as_echo_n "(cached) " >&6
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4005 #include <sys/types.h>
4006 /* Check that off_t can represent 2**63 - 1 correctly.
4007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4008 since some C++ compilers masquerading as C compilers
4009 incorrectly reject 9223372036854775807. */
4010 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4012 && LARGE_OFF_T % 2147483647 == 1)
4022 if ac_fn_c_try_compile "$LINENO"; then :
4023 ac_cv_sys_file_offset_bits=no; break
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4028 #define _FILE_OFFSET_BITS 64
4029 #include <sys/types.h>
4030 /* Check that off_t can represent 2**63 - 1 correctly.
4031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4032 since some C++ compilers masquerading as C compilers
4033 incorrectly reject 9223372036854775807. */
4034 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4036 && LARGE_OFF_T % 2147483647 == 1)
4046 if ac_fn_c_try_compile "$LINENO"; then :
4047 ac_cv_sys_file_offset_bits=64; break
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 ac_cv_sys_file_offset_bits=unknown
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4055 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4056 case $ac_cv_sys_file_offset_bits in #(
4059 cat >>confdefs.h <<_ACEOF
4060 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4065 if test $ac_cv_sys_file_offset_bits = unknown; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4067 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4068 if ${ac_cv_sys_large_files+:} false; then :
4069 $as_echo_n "(cached) " >&6
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4074 #include <sys/types.h>
4075 /* Check that off_t can represent 2**63 - 1 correctly.
4076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4077 since some C++ compilers masquerading as C compilers
4078 incorrectly reject 9223372036854775807. */
4079 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4081 && LARGE_OFF_T % 2147483647 == 1)
4091 if ac_fn_c_try_compile "$LINENO"; then :
4092 ac_cv_sys_large_files=no; break
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4097 #define _LARGE_FILES 1
4098 #include <sys/types.h>
4099 /* Check that off_t can represent 2**63 - 1 correctly.
4100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4101 since some C++ compilers masquerading as C compilers
4102 incorrectly reject 9223372036854775807. */
4103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4105 && LARGE_OFF_T % 2147483647 == 1)
4115 if ac_fn_c_try_compile "$LINENO"; then :
4116 ac_cv_sys_large_files=1; break
4118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4119 ac_cv_sys_large_files=unknown
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4124 $as_echo "$ac_cv_sys_large_files" >&6; }
4125 case $ac_cv_sys_large_files in #(
4128 cat >>confdefs.h <<_ACEOF
4129 #define _LARGE_FILES $ac_cv_sys_large_files
4140 # Check for required programs.
4142 ac_cpp='$CPP $CPPFLAGS'
4143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4146 if test -n "$ac_tool_prefix"; then
4147 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4148 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150 $as_echo_n "checking for $ac_word... " >&6; }
4151 if ${ac_cv_prog_CC+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 if test -n "$CC"; then
4155 ac_cv_prog_CC="$CC" # Let the user override the test.
4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir=.
4162 for ac_exec_ext in '' $ac_executable_extensions; do
4163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4164 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4175 if test -n "$CC"; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4177 $as_echo "$CC" >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 $as_echo "no" >&6; }
4185 if test -z "$ac_cv_prog_CC"; then
4187 # Extract the first word of "gcc", so it can be a program name with args.
4188 set dummy gcc; ac_word=$2
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190 $as_echo_n "checking for $ac_word... " >&6; }
4191 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -n "$ac_ct_CC"; then
4195 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir=.
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4204 ac_cv_prog_ac_ct_CC="gcc"
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4215 if test -n "$ac_ct_CC"; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4217 $as_echo "$ac_ct_CC" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220 $as_echo "no" >&6; }
4223 if test "x$ac_ct_CC" = x; then
4226 case $cross_compiling:$ac_tool_warned in
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4230 ac_tool_warned=yes ;;
4238 if test -z "$CC"; then
4239 if test -n "$ac_tool_prefix"; then
4240 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4241 set dummy ${ac_tool_prefix}cc; ac_word=$2
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4243 $as_echo_n "checking for $ac_word... " >&6; }
4244 if ${ac_cv_prog_CC+:} false; then :
4245 $as_echo_n "(cached) " >&6
4247 if test -n "$CC"; then
4248 ac_cv_prog_CC="$CC" # Let the user override the test.
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_CC="${ac_tool_prefix}cc"
4258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 if test -n "$CC"; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4270 $as_echo "$CC" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4279 if test -z "$CC"; then
4280 # Extract the first word of "cc", so it can be a program name with args.
4281 set dummy cc; ac_word=$2
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4283 $as_echo_n "checking for $ac_word... " >&6; }
4284 if ${ac_cv_prog_CC+:} false; then :
4285 $as_echo_n "(cached) " >&6
4287 if test -n "$CC"; then
4288 ac_cv_prog_CC="$CC" # Let the user override the test.
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4299 ac_prog_rejected=yes
4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 if test $ac_prog_rejected = yes; then
4311 # We found a bogon in the path, so make sure we never use it.
4312 set dummy $ac_cv_prog_CC
4314 if test $# != 0; then
4315 # We chose a different compiler from the bogus one.
4316 # However, it has the same basename, so the bogon will be chosen
4317 # first if we set CC to just the basename; use the full file name.
4319 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4325 if test -n "$CC"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4327 $as_echo "$CC" >&6; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4335 if test -z "$CC"; then
4336 if test -n "$ac_tool_prefix"; then
4337 for ac_prog in cl.exe
4339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if ${ac_cv_prog_CC+:} false; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -n "$CC"; then
4347 ac_cv_prog_CC="$CC" # Let the user override the test.
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir=.
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4356 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 if test -n "$CC"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4369 $as_echo "$CC" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4376 test -n "$CC" && break
4379 if test -z "$CC"; then
4381 for ac_prog in cl.exe
4383 # Extract the first word of "$ac_prog", so it can be a program name with args.
4384 set dummy $ac_prog; ac_word=$2
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386 $as_echo_n "checking for $ac_word... " >&6; }
4387 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4388 $as_echo_n "(cached) " >&6
4390 if test -n "$ac_ct_CC"; then
4391 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4400 ac_cv_prog_ac_ct_CC="$ac_prog"
4401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4411 if test -n "$ac_ct_CC"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4413 $as_echo "$ac_ct_CC" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4420 test -n "$ac_ct_CC" && break
4423 if test "x$ac_ct_CC" = x; then
4426 case $cross_compiling:$ac_tool_warned in
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4430 ac_tool_warned=yes ;;
4439 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4441 as_fn_error $? "no acceptable C compiler found in \$PATH
4442 See \`config.log' for more details" "$LINENO" 5; }
4444 # Provide some information about the compiler.
4445 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4448 for ac_option in --version -v -V -qversion; do
4449 { { ac_try="$ac_compiler $ac_option >&5"
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4455 $as_echo "$ac_try_echo"; } >&5
4456 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4458 if test -s conftest.err; then
4460 ... rest of stderr output deleted ...
4461 10q' conftest.err >conftest.er1
4462 cat conftest.er1 >&5
4464 rm -f conftest.er1 conftest.err
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4470 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4471 if ${ac_cv_c_compiler_gnu+:} false; then :
4472 $as_echo_n "(cached) " >&6
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4488 if ac_fn_c_try_compile "$LINENO"; then :
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4498 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4499 if test $ac_compiler_gnu = yes; then
4504 ac_test_CFLAGS=${CFLAGS+set}
4505 ac_save_CFLAGS=$CFLAGS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4507 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4508 if ${ac_cv_prog_cc_g+:} false; then :
4509 $as_echo_n "(cached) " >&6
4511 ac_save_c_werror_flag=$ac_c_werror_flag
4512 ac_c_werror_flag=yes
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4526 if ac_fn_c_try_compile "$LINENO"; then :
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4541 if ac_fn_c_try_compile "$LINENO"; then :
4544 ac_c_werror_flag=$ac_save_c_werror_flag
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4557 if ac_fn_c_try_compile "$LINENO"; then :
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 ac_c_werror_flag=$ac_save_c_werror_flag
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4568 $as_echo "$ac_cv_prog_cc_g" >&6; }
4569 if test "$ac_test_CFLAGS" = set; then
4570 CFLAGS=$ac_save_CFLAGS
4571 elif test $ac_cv_prog_cc_g = yes; then
4572 if test "$GCC" = yes; then
4578 if test "$GCC" = yes; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4585 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4586 if ${ac_cv_prog_cc_c89+:} false; then :
4587 $as_echo_n "(cached) " >&6
4589 ac_cv_prog_cc_c89=no
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4596 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4597 struct buf { int x; };
4598 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4599 static char *e (p, i)
4605 static char *f (char * (*g) (char **, int), char **p, ...)
4610 s = g (p, va_arg (v,int));
4615 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4616 function prototypes and stuff, but not '\xHH' hex character constants.
4617 These don't provoke an error unfortunately, instead are silently treated
4618 as 'x'. The following induces an error, until -std is added to get
4619 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4620 array size at least. It's necessary to write '\x00'==0 to get something
4621 that's true only with -std. */
4622 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4624 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4625 inside strings and character constants. */
4627 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4629 int test (int i, double x);
4630 struct s1 {int (*f) (int a);};
4631 struct s2 {int (*f) (double a);};
4632 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4638 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4643 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4644 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4646 CC="$ac_save_CC $ac_arg"
4647 if ac_fn_c_try_compile "$LINENO"; then :
4648 ac_cv_prog_cc_c89=$ac_arg
4650 rm -f core conftest.err conftest.$ac_objext
4651 test "x$ac_cv_prog_cc_c89" != "xno" && break
4653 rm -f conftest.$ac_ext
4658 case "x$ac_cv_prog_cc_c89" in
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4661 $as_echo "none needed" >&6; } ;;
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4664 $as_echo "unsupported" >&6; } ;;
4666 CC="$CC $ac_cv_prog_cc_c89"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4668 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4670 if test "x$ac_cv_prog_cc_c89" != xno; then :
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4681 ac_cpp='$CPP $CPPFLAGS'
4682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4686 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4687 if ${am_cv_prog_cc_c_o+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4701 # Make sure it works both with $CC and with simple cc.
4702 # Following AC_PROG_CC_C_O, we do the test twice because some
4703 # compilers refuse to overwrite an existing .o file with -o,
4704 # though they will create one.
4705 am_cv_prog_cc_c_o=yes
4707 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4708 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } \
4712 && test -f conftest2.$ac_objext; then
4715 am_cv_prog_cc_c_o=no
4719 rm -f core conftest*
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4723 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4724 if test "$am_cv_prog_cc_c_o" != yes; then
4725 # Losing compiler, so override with the script.
4726 # FIXME: It is wrong to rewrite CC.
4727 # But if we don't then we get into trouble of one sort or another.
4728 # A longer-term fix would be to have automake use am__CC in this case,
4729 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4730 CC="$am_aux_dir/compile $CC"
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4739 depcc="$CC" am_compiler_list=
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4742 $as_echo_n "checking dependency style of $depcc... " >&6; }
4743 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4744 $as_echo_n "(cached) " >&6
4746 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4747 # We make a subdir and do the tests there. Otherwise we can end up
4748 # making bogus files that we don't know about and never remove. For
4749 # instance it was reported that on HP-UX the gcc test will end up
4750 # making a dummy file named 'D' -- because '-MD' means "put the output
4754 # Copy depcomp to subdir because otherwise we won't find it if we're
4755 # using a relative directory.
4756 cp "$am_depcomp" conftest.dir
4758 # We will build objects and dependencies in a subdirectory because
4759 # it helps to detect inapplicable dependency modes. For instance
4760 # both Tru64's cc and ICC support -MD to output dependencies as a
4761 # side effect of compilation, but ICC will put the dependencies in
4762 # the current directory while Tru64 will put them in the object
4766 am_cv_CC_dependencies_compiler_type=none
4767 if test "$am_compiler_list" = ""; then
4768 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4771 case " $depcc " in #(
4772 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4775 for depmode in $am_compiler_list; do
4776 # Setup a source with many dependencies, because some compilers
4777 # like to wrap large dependency lists on column 80 (with \), and
4778 # we should not choose a depcomp mode which is confused by this.
4780 # We need to recreate these files for each test, as the compiler may
4781 # overwrite some of them when testing with obscure command lines.
4782 # This happens at least with the AIX C compiler.
4784 for i in 1 2 3 4 5 6; do
4785 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4786 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4787 # Solaris 10 /bin/sh.
4788 echo '/* dummy */' > sub/conftst$i.h
4790 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4792 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4793 # mode. It turns out that the SunPro C++ compiler does not properly
4794 # handle '-M -o', and we need to detect this. Also, some Intel
4795 # versions had trouble with output in subdirs.
4796 am__obj=sub/conftest.${OBJEXT-o}
4797 am__minus_obj="-o $am__obj"
4800 # This depmode causes a compiler race in universal mode.
4801 test "$am__universal" = false || continue
4804 # After this tag, mechanisms are not by side-effect, so they'll
4805 # only be used when explicitly requested.
4806 if test "x$enable_dependency_tracking" = xyes; then
4812 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4813 # This compiler won't grok '-c -o', but also, the minuso test has
4814 # not run yet. These depmodes are late enough in the game, and
4815 # so weak that their functioning should not be impacted.
4816 am__obj=conftest.${OBJEXT-o}
4821 if depmode=$depmode \
4822 source=sub/conftest.c object=$am__obj \
4823 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4824 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4825 >/dev/null 2>conftest.err &&
4826 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4827 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4828 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4829 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4830 # icc doesn't choke on unknown options, it will just issue warnings
4831 # or remarks (even with -Werror). So we grep stderr for any message
4832 # that says an option was ignored or not supported.
4833 # When given -MP, icc 7.0 and 7.1 complain thusly:
4834 # icc: Command line warning: ignoring option '-M'; no argument required
4835 # The diagnosis changed in icc 8.0:
4836 # icc: Command line remark: option '-MP' not supported
4837 if (grep 'ignoring option' conftest.err ||
4838 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4839 am_cv_CC_dependencies_compiler_type=$depmode
4848 am_cv_CC_dependencies_compiler_type=none
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4853 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4854 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4857 test "x$enable_dependency_tracking" != xno \
4858 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4860 am__fastdepCC_FALSE='#'
4862 am__fastdepCC_TRUE='#'
4863 am__fastdepCC_FALSE=
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4870 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4875 macro_version='2.4.6'
4876 macro_revision='2.4.6'
4890 ltmain=$ac_aux_dir/ltmain.sh
4892 # Make sure we can run config.sub.
4893 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4894 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4897 $as_echo_n "checking build system type... " >&6; }
4898 if ${ac_cv_build+:} false; then :
4899 $as_echo_n "(cached) " >&6
4901 ac_build_alias=$build_alias
4902 test "x$ac_build_alias" = x &&
4903 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4904 test "x$ac_build_alias" = x &&
4905 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4906 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4907 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4911 $as_echo "$ac_cv_build" >&6; }
4912 case $ac_cv_build in
4914 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4917 ac_save_IFS=$IFS; IFS='-'
4923 # Remember, the first character of IFS is used to create $*,
4924 # except with old shells:
4927 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4931 $as_echo_n "checking host system type... " >&6; }
4932 if ${ac_cv_host+:} false; then :
4933 $as_echo_n "(cached) " >&6
4935 if test "x$host_alias" = x; then
4936 ac_cv_host=$ac_cv_build
4938 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4939 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4944 $as_echo "$ac_cv_host" >&6; }
4947 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4950 ac_save_IFS=$IFS; IFS='-'
4956 # Remember, the first character of IFS is used to create $*,
4957 # except with old shells:
4960 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4963 # Backslashify metacharacters that are still active within
4964 # double-quoted strings.
4965 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4967 # Same as above, but do not quote variable references.
4968 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4970 # Sed substitution to delay expansion of an escaped shell variable in a
4971 # double_quote_subst'ed string.
4972 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4974 # Sed substitution to delay expansion of an escaped single quote.
4975 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4977 # Sed substitution to avoid accidental globbing in evaled expressions
4978 no_glob_subst='s/\*/\\\*/g'
4980 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4981 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4982 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4985 $as_echo_n "checking how to print strings... " >&6; }
4986 # Test print first, because it will be a builtin if present.
4987 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4988 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4990 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4993 # Use this function as a fallback that always works.
4994 func_fallback_echo ()
4996 eval 'cat <<_LTECHO_EOF
5000 ECHO='func_fallback_echo'
5003 # func_echo_all arg...
5004 # Invoke $ECHO with all args, space-separated.
5011 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5012 $as_echo "printf" >&6; } ;;
5013 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5014 $as_echo "print -r" >&6; } ;;
5015 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5016 $as_echo "cat" >&6; } ;;
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5033 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5034 if ${ac_cv_path_SED+:} false; then :
5035 $as_echo_n "(cached) " >&6
5037 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5038 for ac_i in 1 2 3 4 5 6 7; do
5039 ac_script="$ac_script$as_nl$ac_script"
5041 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5042 { ac_script=; unset ac_script;}
5043 if test -z "$SED"; then
5044 ac_path_SED_found=false
5045 # Loop through the user's path and test for each of PROGNAME-LIST
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir=.
5051 for ac_prog in sed gsed; do
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5054 as_fn_executable_p "$ac_path_SED" || continue
5055 # Check for GNU ac_path_SED and select it if it is found.
5056 # Check for GNU $ac_path_SED
5057 case `"$ac_path_SED" --version 2>&1` in
5059 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5062 $as_echo_n 0123456789 >"conftest.in"
5065 cat "conftest.in" "conftest.in" >"conftest.tmp"
5066 mv "conftest.tmp" "conftest.in"
5067 cp "conftest.in" "conftest.nl"
5068 $as_echo '' >> "conftest.nl"
5069 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5070 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5071 as_fn_arith $ac_count + 1 && ac_count=$as_val
5072 if test $ac_count -gt ${ac_path_SED_max-0}; then
5073 # Best one so far, save it but keep looking for a better one
5074 ac_cv_path_SED="$ac_path_SED"
5075 ac_path_SED_max=$ac_count
5077 # 10*(2^10) chars as input seems more than enough
5078 test $ac_count -gt 10 && break
5080 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5083 $ac_path_SED_found && break 3
5088 if test -z "$ac_cv_path_SED"; then
5089 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5097 $as_echo "$ac_cv_path_SED" >&6; }
5098 SED="$ac_cv_path_SED"
5101 test -z "$SED" && SED=sed
5102 Xsed="$SED -e 1s/^X//"
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5115 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5116 if ${ac_cv_path_GREP+:} false; then :
5117 $as_echo_n "(cached) " >&6
5119 if test -z "$GREP"; then
5120 ac_path_GREP_found=false
5121 # Loop through the user's path and test for each of PROGNAME-LIST
5122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5126 test -z "$as_dir" && as_dir=.
5127 for ac_prog in grep ggrep; do
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5130 as_fn_executable_p "$ac_path_GREP" || continue
5131 # Check for GNU ac_path_GREP and select it if it is found.
5132 # Check for GNU $ac_path_GREP
5133 case `"$ac_path_GREP" --version 2>&1` in
5135 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5138 $as_echo_n 0123456789 >"conftest.in"
5141 cat "conftest.in" "conftest.in" >"conftest.tmp"
5142 mv "conftest.tmp" "conftest.in"
5143 cp "conftest.in" "conftest.nl"
5144 $as_echo 'GREP' >> "conftest.nl"
5145 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5146 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5147 as_fn_arith $ac_count + 1 && ac_count=$as_val
5148 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5149 # Best one so far, save it but keep looking for a better one
5150 ac_cv_path_GREP="$ac_path_GREP"
5151 ac_path_GREP_max=$ac_count
5153 # 10*(2^10) chars as input seems more than enough
5154 test $ac_count -gt 10 && break
5156 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5159 $ac_path_GREP_found && break 3
5164 if test -z "$ac_cv_path_GREP"; then
5165 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5168 ac_cv_path_GREP=$GREP
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5173 $as_echo "$ac_cv_path_GREP" >&6; }
5174 GREP="$ac_cv_path_GREP"
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5178 $as_echo_n "checking for egrep... " >&6; }
5179 if ${ac_cv_path_EGREP+:} false; then :
5180 $as_echo_n "(cached) " >&6
5182 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5183 then ac_cv_path_EGREP="$GREP -E"
5185 if test -z "$EGREP"; then
5186 ac_path_EGREP_found=false
5187 # Loop through the user's path and test for each of PROGNAME-LIST
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5192 test -z "$as_dir" && as_dir=.
5193 for ac_prog in egrep; do
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5196 as_fn_executable_p "$ac_path_EGREP" || continue
5197 # Check for GNU ac_path_EGREP and select it if it is found.
5198 # Check for GNU $ac_path_EGREP
5199 case `"$ac_path_EGREP" --version 2>&1` in
5201 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5204 $as_echo_n 0123456789 >"conftest.in"
5207 cat "conftest.in" "conftest.in" >"conftest.tmp"
5208 mv "conftest.tmp" "conftest.in"
5209 cp "conftest.in" "conftest.nl"
5210 $as_echo 'EGREP' >> "conftest.nl"
5211 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5212 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5213 as_fn_arith $ac_count + 1 && ac_count=$as_val
5214 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5215 # Best one so far, save it but keep looking for a better one
5216 ac_cv_path_EGREP="$ac_path_EGREP"
5217 ac_path_EGREP_max=$ac_count
5219 # 10*(2^10) chars as input seems more than enough
5220 test $ac_count -gt 10 && break
5222 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5225 $ac_path_EGREP_found && break 3
5230 if test -z "$ac_cv_path_EGREP"; then
5231 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5234 ac_cv_path_EGREP=$EGREP
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5240 $as_echo "$ac_cv_path_EGREP" >&6; }
5241 EGREP="$ac_cv_path_EGREP"
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5245 $as_echo_n "checking for fgrep... " >&6; }
5246 if ${ac_cv_path_FGREP+:} false; then :
5247 $as_echo_n "(cached) " >&6
5249 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5250 then ac_cv_path_FGREP="$GREP -F"
5252 if test -z "$FGREP"; then
5253 ac_path_FGREP_found=false
5254 # Loop through the user's path and test for each of PROGNAME-LIST
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5259 test -z "$as_dir" && as_dir=.
5260 for ac_prog in fgrep; do
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5263 as_fn_executable_p "$ac_path_FGREP" || continue
5264 # Check for GNU ac_path_FGREP and select it if it is found.
5265 # Check for GNU $ac_path_FGREP
5266 case `"$ac_path_FGREP" --version 2>&1` in
5268 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5271 $as_echo_n 0123456789 >"conftest.in"
5274 cat "conftest.in" "conftest.in" >"conftest.tmp"
5275 mv "conftest.tmp" "conftest.in"
5276 cp "conftest.in" "conftest.nl"
5277 $as_echo 'FGREP' >> "conftest.nl"
5278 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5279 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5280 as_fn_arith $ac_count + 1 && ac_count=$as_val
5281 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5282 # Best one so far, save it but keep looking for a better one
5283 ac_cv_path_FGREP="$ac_path_FGREP"
5284 ac_path_FGREP_max=$ac_count
5286 # 10*(2^10) chars as input seems more than enough
5287 test $ac_count -gt 10 && break
5289 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5292 $ac_path_FGREP_found && break 3
5297 if test -z "$ac_cv_path_FGREP"; then
5298 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5301 ac_cv_path_FGREP=$FGREP
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5307 $as_echo "$ac_cv_path_FGREP" >&6; }
5308 FGREP="$ac_cv_path_FGREP"
5311 test -z "$GREP" && GREP=grep
5331 # Check whether --with-gnu-ld was given.
5332 if test "${with_gnu_ld+set}" = set; then :
5333 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5339 if test yes = "$GCC"; then
5340 # Check if gcc -print-prog-name=ld gives a path.
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5342 $as_echo_n "checking for ld used by $CC... " >&6; }
5345 # gcc leaves a trailing carriage return, which upsets mingw
5346 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5348 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5351 # Accept absolute paths.
5353 re_direlt='/[^/][^/]*/\.\./'
5354 # Canonicalize the pathname of ld
5355 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5356 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5357 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5359 test -z "$LD" && LD=$ac_prog
5362 # If it fails, then pretend we aren't using GCC.
5366 # If it is relative, then search for the first ld in PATH.
5370 elif test yes = "$with_gnu_ld"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5372 $as_echo_n "checking for GNU ld... " >&6; }
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5375 $as_echo_n "checking for non-GNU ld... " >&6; }
5377 if ${lt_cv_path_LD+:} false; then :
5378 $as_echo_n "(cached) " >&6
5380 if test -z "$LD"; then
5381 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5382 for ac_dir in $PATH; do
5384 test -z "$ac_dir" && ac_dir=.
5385 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5386 lt_cv_path_LD=$ac_dir/$ac_prog
5387 # Check to see if the program is GNU ld. I'd rather use --version,
5388 # but apparently some variants of GNU ld only accept -v.
5389 # Break only if it was the GNU/non-GNU ld that we prefer.
5390 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5391 *GNU* | *'with BFD'*)
5392 test no != "$with_gnu_ld" && break
5395 test yes != "$with_gnu_ld" && break
5402 lt_cv_path_LD=$LD # Let the user override the test with a path.
5407 if test -n "$LD"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5409 $as_echo "$LD" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5414 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5416 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5417 if ${lt_cv_prog_gnu_ld+:} false; then :
5418 $as_echo_n "(cached) " >&6
5420 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5421 case `$LD -v 2>&1 </dev/null` in
5422 *GNU* | *'with BFD'*)
5423 lt_cv_prog_gnu_ld=yes
5426 lt_cv_prog_gnu_ld=no
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5431 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5432 with_gnu_ld=$lt_cv_prog_gnu_ld
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5443 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5444 if ${lt_cv_path_NM+:} false; then :
5445 $as_echo_n "(cached) " >&6
5447 if test -n "$NM"; then
5448 # Let the user override the test.
5451 lt_nm_to_check=${ac_tool_prefix}nm
5452 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5453 lt_nm_to_check="$lt_nm_to_check nm"
5455 for lt_tmp_nm in $lt_nm_to_check; do
5456 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5457 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5459 test -z "$ac_dir" && ac_dir=.
5460 tmp_nm=$ac_dir/$lt_tmp_nm
5461 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5462 # Check to see if the nm accepts a BSD-compat flag.
5463 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5464 # nm: unknown option "B" ignored
5465 # Tru64's nm complains that /dev/null is an invalid object file
5466 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5468 mingw*) lt_bad_file=conftest.nm/nofile ;;
5469 *) lt_bad_file=/dev/null ;;
5471 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5472 *$lt_bad_file* | *'Invalid file or object type'*)
5473 lt_cv_path_NM="$tmp_nm -B"
5477 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5479 lt_cv_path_NM="$tmp_nm -p"
5483 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5484 continue # so that we can try to find one that supports BSD flags
5493 : ${lt_cv_path_NM=no}
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5497 $as_echo "$lt_cv_path_NM" >&6; }
5498 if test no != "$lt_cv_path_NM"; then
5501 # Didn't find any BSD compatible name lister, look for dumpbin.
5502 if test -n "$DUMPBIN"; then :
5503 # Let the user override the test.
5505 if test -n "$ac_tool_prefix"; then
5506 for ac_prog in dumpbin "link -dump"
5508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5509 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_DUMPBIN+:} false; then :
5513 $as_echo_n "(cached) " >&6
5515 if test -n "$DUMPBIN"; then
5516 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 DUMPBIN=$ac_cv_prog_DUMPBIN
5536 if test -n "$DUMPBIN"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5538 $as_echo "$DUMPBIN" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5545 test -n "$DUMPBIN" && break
5548 if test -z "$DUMPBIN"; then
5549 ac_ct_DUMPBIN=$DUMPBIN
5550 for ac_prog in dumpbin "link -dump"
5552 # Extract the first word of "$ac_prog", so it can be a program name with args.
5553 set dummy $ac_prog; ac_word=$2
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555 $as_echo_n "checking for $ac_word... " >&6; }
5556 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5557 $as_echo_n "(cached) " >&6
5559 if test -n "$ac_ct_DUMPBIN"; then
5560 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 test -z "$as_dir" && as_dir=.
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5580 if test -n "$ac_ct_DUMPBIN"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5582 $as_echo "$ac_ct_DUMPBIN" >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585 $as_echo "no" >&6; }
5589 test -n "$ac_ct_DUMPBIN" && break
5592 if test "x$ac_ct_DUMPBIN" = x; then
5595 case $cross_compiling:$ac_tool_warned in
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned=yes ;;
5601 DUMPBIN=$ac_ct_DUMPBIN
5605 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5607 DUMPBIN="$DUMPBIN -symbols -headers"
5615 if test : != "$DUMPBIN"; then
5619 test -z "$NM" && NM=nm
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5627 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5628 if ${lt_cv_nm_interface+:} false; then :
5629 $as_echo_n "(cached) " >&6
5631 lt_cv_nm_interface="BSD nm"
5632 echo "int some_variable = 0;" > conftest.$ac_ext
5633 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5634 (eval "$ac_compile" 2>conftest.err)
5635 cat conftest.err >&5
5636 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5637 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5638 cat conftest.err >&5
5639 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5640 cat conftest.out >&5
5641 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5642 lt_cv_nm_interface="MS dumpbin"
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5647 $as_echo "$lt_cv_nm_interface" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5650 $as_echo_n "checking whether ln -s works... " >&6; }
5652 if test "$LN_S" = "ln -s"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5654 $as_echo "yes" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5657 $as_echo "no, using $LN_S" >&6; }
5660 # find the maximum length of command line arguments
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5662 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5663 if ${lt_cv_sys_max_cmd_len+:} false; then :
5664 $as_echo_n "(cached) " >&6
5671 # On DJGPP, this test can blow up pretty badly due to problems in libc
5672 # (any single argument exceeding 2000 bytes causes a buffer overrun
5673 # during glob expansion). Even if it were fixed, the result of this
5674 # check would be larger than it should be.
5675 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5679 # Under GNU Hurd, this test is not required because there is
5680 # no limit to the length of command line arguments.
5681 # Libtool will interpret -1 as no limit whatsoever
5682 lt_cv_sys_max_cmd_len=-1;
5685 cygwin* | mingw* | cegcc*)
5686 # On Win9x/ME, this test blows up -- it succeeds, but takes
5687 # about 5 minutes as the teststring grows exponentially.
5688 # Worse, since 9x/ME are not pre-emptively multitasking,
5689 # you end up with a "frozen" computer, even though with patience
5690 # the test eventually succeeds (with a max line length of 256k).
5691 # Instead, let's just punt: use the minimum linelength reported by
5692 # all of the supported platforms: 8192 (on NT/2K/XP).
5693 lt_cv_sys_max_cmd_len=8192;
5697 # On MiNT this can take a long time and run out of memory.
5698 lt_cv_sys_max_cmd_len=8192;
5702 # On AmigaOS with pdksh, this test takes hours, literally.
5703 # So we just punt and use a minimum line length of 8192.
5704 lt_cv_sys_max_cmd_len=8192;
5707 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5708 # This has been around since 386BSD, at least. Likely further.
5709 if test -x /sbin/sysctl; then
5710 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5711 elif test -x /usr/sbin/sysctl; then
5712 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5714 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5716 # And add a safety zone
5717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5722 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5723 lt_cv_sys_max_cmd_len=196608
5727 # The test takes a long time on OS/2.
5728 lt_cv_sys_max_cmd_len=8192
5732 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5733 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5734 # nice to cause kernel panics so lets avoid the loop below.
5735 # First set a reasonable default.
5736 lt_cv_sys_max_cmd_len=16384
5738 if test -x /sbin/sysconfig; then
5739 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5740 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5745 lt_cv_sys_max_cmd_len=102400
5747 sysv5* | sco5v6* | sysv4.2uw2*)
5748 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5749 if test -n "$kargmax"; then
5750 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5752 lt_cv_sys_max_cmd_len=32768
5756 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5757 if test -n "$lt_cv_sys_max_cmd_len" && \
5758 test undefined != "$lt_cv_sys_max_cmd_len"; then
5759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5760 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5762 # Make teststring a little bigger before we do anything with it.
5763 # a 1K string should be a reasonable start.
5764 for i in 1 2 3 4 5 6 7 8; do
5765 teststring=$teststring$teststring
5767 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5768 # If test is not a shell built-in, we'll probably end up computing a
5769 # maximum length that is only half of the actual maximum length, but
5771 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5772 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5773 test 17 != "$i" # 1/2 MB should be enough
5776 teststring=$teststring$teststring
5778 # Only check the string length outside the loop.
5779 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5781 # Add a significant safety factor because C++ compilers can tack on
5782 # massive amounts of additional arguments before passing them to the
5783 # linker. It appears as though 1/2 is a usable value.
5784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5791 if test -n "$lt_cv_sys_max_cmd_len"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5793 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5796 $as_echo "none" >&6; }
5798 max_cmd_len=$lt_cv_sys_max_cmd_len
5809 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5819 # test EBCDIC or ASCII
5820 case `echo X|tr X '\101'` in
5821 A) # ASCII based system
5822 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5823 lt_SP2NL='tr \040 \012'
5824 lt_NL2SP='tr \015\012 \040\040'
5826 *) # EBCDIC based system
5827 lt_SP2NL='tr \100 \n'
5828 lt_NL2SP='tr \r\n \100\100'
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5841 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5842 if ${lt_cv_to_host_file_cmd+:} false; then :
5843 $as_echo_n "(cached) " >&6
5848 *-*-mingw* ) # actually msys
5849 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5852 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5854 * ) # otherwise, assume *nix
5855 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5861 *-*-mingw* ) # actually msys
5862 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5865 lt_cv_to_host_file_cmd=func_convert_file_noop
5867 * ) # otherwise, assume *nix
5868 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5872 * ) # unhandled hosts (and "normal" native builds)
5873 lt_cv_to_host_file_cmd=func_convert_file_noop
5879 to_host_file_cmd=$lt_cv_to_host_file_cmd
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5881 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5888 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5889 if ${lt_cv_to_tool_file_cmd+:} false; then :
5890 $as_echo_n "(cached) " >&6
5892 #assume ordinary cross tools, or native build.
5893 lt_cv_to_tool_file_cmd=func_convert_file_noop
5897 *-*-mingw* ) # actually msys
5898 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5906 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5908 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5915 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5916 if ${lt_cv_ld_reload_flag+:} false; then :
5917 $as_echo_n "(cached) " >&6
5919 lt_cv_ld_reload_flag='-r'
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5922 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5923 reload_flag=$lt_cv_ld_reload_flag
5924 case $reload_flag in
5926 *) reload_flag=" $reload_flag" ;;
5928 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5930 cygwin* | mingw* | pw32* | cegcc*)
5931 if test yes != "$GCC"; then
5936 if test yes = "$GCC"; then
5937 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5939 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5952 if test -n "$ac_tool_prefix"; then
5953 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_OBJDUMP+:} false; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -n "$OBJDUMP"; then
5961 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 OBJDUMP=$ac_cv_prog_OBJDUMP
5981 if test -n "$OBJDUMP"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5983 $as_echo "$OBJDUMP" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test -z "$ac_cv_prog_OBJDUMP"; then
5992 ac_ct_OBJDUMP=$OBJDUMP
5993 # Extract the first word of "objdump", so it can be a program name with args.
5994 set dummy objdump; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$ac_ct_OBJDUMP"; then
6001 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6021 if test -n "$ac_ct_OBJDUMP"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6023 $as_echo "$ac_ct_OBJDUMP" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6029 if test "x$ac_ct_OBJDUMP" = x; then
6032 case $cross_compiling:$ac_tool_warned in
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6038 OBJDUMP=$ac_ct_OBJDUMP
6041 OBJDUMP="$ac_cv_prog_OBJDUMP"
6044 test -z "$OBJDUMP" && OBJDUMP=objdump
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6055 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6056 if ${lt_cv_deplibs_check_method+:} false; then :
6057 $as_echo_n "(cached) " >&6
6059 lt_cv_file_magic_cmd='$MAGIC_CMD'
6060 lt_cv_file_magic_test_file=
6061 lt_cv_deplibs_check_method='unknown'
6062 # Need to set the preceding variable on all platforms that support
6063 # interlibrary dependencies.
6064 # 'none' -- dependencies not supported.
6065 # 'unknown' -- same as none, but documents that we really don't know.
6066 # 'pass_all' -- all dependencies passed with no checks.
6067 # 'test_compile' -- check by making test program.
6068 # 'file_magic [[regex]]' -- check by looking for files in library path
6069 # that responds to the $file_magic_cmd with a given extended regex.
6070 # If you have 'file' or equivalent on your system and you're not sure
6071 # whether 'pass_all' will *always* work, you probably want this one.
6075 lt_cv_deplibs_check_method=pass_all
6079 lt_cv_deplibs_check_method=pass_all
6083 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6084 lt_cv_file_magic_cmd='/usr/bin/file -L'
6085 lt_cv_file_magic_test_file=/shlib/libc.so
6089 # func_win32_libid is a shell function defined in ltmain.sh
6090 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6091 lt_cv_file_magic_cmd='func_win32_libid'
6095 # Base MSYS/MinGW do not provide the 'file' command needed by
6096 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6097 # unless we find 'file', for example because we are cross-compiling.
6098 if ( file / ) >/dev/null 2>&1; then
6099 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6100 lt_cv_file_magic_cmd='func_win32_libid'
6102 # Keep this pattern in sync with the one in func_win32_libid.
6103 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6104 lt_cv_file_magic_cmd='$OBJDUMP -f'
6109 # use the weaker test based on 'objdump'. See mingw*.
6110 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6111 lt_cv_file_magic_cmd='$OBJDUMP -f'
6114 darwin* | rhapsody*)
6115 lt_cv_deplibs_check_method=pass_all
6118 freebsd* | dragonfly*)
6119 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6122 # Not sure whether the presence of OpenBSD here was a mistake.
6123 # Let's accept both of them until this is cleared up.
6124 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6125 lt_cv_file_magic_cmd=/usr/bin/file
6126 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6130 lt_cv_deplibs_check_method=pass_all
6135 lt_cv_deplibs_check_method=pass_all
6138 hpux10.20* | hpux11*)
6139 lt_cv_file_magic_cmd=/usr/bin/file
6142 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6143 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6146 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]'
6147 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6150 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6151 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6157 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6158 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6161 irix5* | irix6* | nonstopux*)
6163 *-32|*"-32 ") libmagic=32-bit;;
6164 *-n32|*"-n32 ") libmagic=N32;;
6165 *-64|*"-64 ") libmagic=64-bit;;
6166 *) libmagic=never-match;;
6168 lt_cv_deplibs_check_method=pass_all
6171 # This must be glibc/ELF.
6172 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6173 lt_cv_deplibs_check_method=pass_all
6177 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6178 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6180 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6186 lt_cv_file_magic_cmd=/usr/bin/file
6187 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6191 lt_cv_deplibs_check_method=pass_all
6195 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6196 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6202 osf3* | osf4* | osf5*)
6203 lt_cv_deplibs_check_method=pass_all
6207 lt_cv_deplibs_check_method=pass_all
6211 lt_cv_deplibs_check_method=pass_all
6214 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6215 lt_cv_deplibs_check_method=pass_all
6219 case $host_vendor in
6221 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]'
6222 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6225 lt_cv_deplibs_check_method=pass_all
6228 lt_cv_file_magic_cmd='/bin/file'
6229 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6232 lt_cv_file_magic_cmd='/bin/file'
6233 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6234 lt_cv_file_magic_test_file=/lib/libc.so
6237 lt_cv_deplibs_check_method=pass_all
6240 lt_cv_deplibs_check_method=pass_all
6246 lt_cv_deplibs_check_method=pass_all
6249 lt_cv_deplibs_check_method=pass_all
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6255 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6259 if test "$build" = "$host"; then
6262 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6265 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6271 file_magic_cmd=$lt_cv_file_magic_cmd
6272 deplibs_check_method=$lt_cv_deplibs_check_method
6273 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6296 if test -n "$ac_tool_prefix"; then
6297 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6298 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_DLLTOOL+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 if test -n "$DLLTOOL"; then
6305 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 DLLTOOL=$ac_cv_prog_DLLTOOL
6325 if test -n "$DLLTOOL"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6327 $as_echo "$DLLTOOL" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6335 if test -z "$ac_cv_prog_DLLTOOL"; then
6336 ac_ct_DLLTOOL=$DLLTOOL
6337 # Extract the first word of "dlltool", so it can be a program name with args.
6338 set dummy dlltool; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$ac_ct_DLLTOOL"; then
6345 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6365 if test -n "$ac_ct_DLLTOOL"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6367 $as_echo "$ac_ct_DLLTOOL" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6373 if test "x$ac_ct_DLLTOOL" = x; then
6376 case $cross_compiling:$ac_tool_warned in
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380 ac_tool_warned=yes ;;
6382 DLLTOOL=$ac_ct_DLLTOOL
6385 DLLTOOL="$ac_cv_prog_DLLTOOL"
6388 test -z "$DLLTOOL" && DLLTOOL=dlltool
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6400 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6401 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6402 $as_echo_n "(cached) " >&6
6404 lt_cv_sharedlib_from_linklib_cmd='unknown'
6407 cygwin* | mingw* | pw32* | cegcc*)
6408 # two different shell functions defined in ltmain.sh;
6409 # decide which one to use based on capabilities of $DLLTOOL
6410 case `$DLLTOOL --help 2>&1` in
6411 *--identify-strict*)
6412 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6415 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6420 # fallback: assume linklib IS sharedlib
6421 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6427 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6428 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6429 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6437 if test -n "$ac_tool_prefix"; then
6440 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6441 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_AR+:} false; then :
6445 $as_echo_n "(cached) " >&6
6447 if test -n "$AR"; then
6448 ac_cv_prog_AR="$AR" # Let the user override the test.
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 if test -n "$AR"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6470 $as_echo "$AR" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6477 test -n "$AR" && break
6480 if test -z "$AR"; then
6484 # Extract the first word of "$ac_prog", so it can be a program name with args.
6485 set dummy $ac_prog; ac_word=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487 $as_echo_n "checking for $ac_word... " >&6; }
6488 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6489 $as_echo_n "(cached) " >&6
6491 if test -n "$ac_ct_AR"; then
6492 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_AR="$ac_prog"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6512 if test -n "$ac_ct_AR"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6514 $as_echo "$ac_ct_AR" >&6; }
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517 $as_echo "no" >&6; }
6521 test -n "$ac_ct_AR" && break
6524 if test "x$ac_ct_AR" = x; then
6527 case $cross_compiling:$ac_tool_warned in
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6531 ac_tool_warned=yes ;;
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6551 $as_echo_n "checking for archiver @FILE support... " >&6; }
6552 if ${lt_cv_ar_at_file+:} false; then :
6553 $as_echo_n "(cached) " >&6
6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6557 /* end confdefs.h. */
6567 if ac_fn_c_try_compile "$LINENO"; then :
6568 echo conftest.$ac_objext > conftest.lst
6569 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6570 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6571 (eval $lt_ar_try) 2>&5
6573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6574 test $ac_status = 0; }
6575 if test 0 -eq "$ac_status"; then
6576 # Ensure the archiver fails upon bogus file names.
6577 rm -f conftest.$ac_objext libconftest.a
6578 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6579 (eval $lt_ar_try) 2>&5
6581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582 test $ac_status = 0; }
6583 if test 0 -ne "$ac_status"; then
6587 rm -f conftest.* libconftest.a
6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6594 $as_echo "$lt_cv_ar_at_file" >&6; }
6596 if test no = "$lt_cv_ar_at_file"; then
6599 archiver_list_spec=$lt_cv_ar_at_file
6608 if test -n "$ac_tool_prefix"; then
6609 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6610 set dummy ${ac_tool_prefix}strip; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612 $as_echo_n "checking for $ac_word... " >&6; }
6613 if ${ac_cv_prog_STRIP+:} false; then :
6614 $as_echo_n "(cached) " >&6
6616 if test -n "$STRIP"; then
6617 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6626 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 STRIP=$ac_cv_prog_STRIP
6637 if test -n "$STRIP"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6639 $as_echo "$STRIP" >&6; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6647 if test -z "$ac_cv_prog_STRIP"; then
6649 # Extract the first word of "strip", so it can be a program name with args.
6650 set dummy strip; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6654 $as_echo_n "(cached) " >&6
6656 if test -n "$ac_ct_STRIP"; then
6657 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_ac_ct_STRIP="strip"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6677 if test -n "$ac_ct_STRIP"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6679 $as_echo "$ac_ct_STRIP" >&6; }
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6685 if test "x$ac_ct_STRIP" = x; then
6688 case $cross_compiling:$ac_tool_warned in
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6692 ac_tool_warned=yes ;;
6697 STRIP="$ac_cv_prog_STRIP"
6700 test -z "$STRIP" && STRIP=:
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if ${ac_cv_prog_RANLIB+:} false; then :
6713 $as_echo_n "(cached) " >&6
6715 if test -n "$RANLIB"; then
6716 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 RANLIB=$ac_cv_prog_RANLIB
6736 if test -n "$RANLIB"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6738 $as_echo "$RANLIB" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6746 if test -z "$ac_cv_prog_RANLIB"; then
6747 ac_ct_RANLIB=$RANLIB
6748 # Extract the first word of "ranlib", so it can be a program name with args.
6749 set dummy ranlib; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 if test -n "$ac_ct_RANLIB"; then
6756 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_ac_ct_RANLIB="ranlib"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6776 if test -n "$ac_ct_RANLIB"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6778 $as_echo "$ac_ct_RANLIB" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6784 if test "x$ac_ct_RANLIB" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6791 ac_tool_warned=yes ;;
6793 RANLIB=$ac_ct_RANLIB
6796 RANLIB="$ac_cv_prog_RANLIB"
6799 test -z "$RANLIB" && RANLIB=:
6806 # Determine commands to create old-style static archives.
6807 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6808 old_postinstall_cmds='chmod 644 $oldlib'
6809 old_postuninstall_cmds=
6811 if test -n "$RANLIB"; then
6814 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6817 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6820 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6825 lock_old_archive_extraction=yes ;;
6827 lock_old_archive_extraction=no ;;
6868 # If no C compiler was specified, use CC.
6871 # If no C compiler flags were specified, use CFLAGS.
6872 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6874 # Allow CC to be a program name with arguments.
6878 # Check for command to grab the raw symbol name followed by C symbol from nm.
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6880 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6881 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6882 $as_echo_n "(cached) " >&6
6885 # These are sane defaults that work on at least a few old systems.
6886 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6888 # Character class describing NM global symbol codes.
6889 symcode='[BCDEGRST]'
6891 # Regexp to match symbols that can be accessed directly from C.
6892 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6894 # Define system-specific variables.
6899 cygwin* | mingw* | pw32* | cegcc*)
6900 symcode='[ABCDGISTW]'
6903 if test ia64 = "$host_cpu"; then
6904 symcode='[ABCDEGRST]'
6908 symcode='[BCDEGRST]'
6911 symcode='[BCDEGQRST]'
6922 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6930 # If we're using GNU nm, then use its standard symbol codes.
6931 case `$NM -V 2>&1` in
6932 *GNU* | *'with BFD'*)
6933 symcode='[ABCDGIRSTW]' ;;
6936 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6937 # Gets list of data symbols to import.
6938 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6939 # Adjust the below global symbol transforms to fixup imported variables.
6940 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6941 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6942 lt_c_name_lib_hook="\
6943 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6944 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6946 # Disable hooks by default.
6947 lt_cv_sys_global_symbol_to_import=
6953 # Transform an extracted symbol line into a proper C declaration.
6954 # Some systems (esp. on ia64) link data and code symbols differently,
6955 # so use this general approach.
6956 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6958 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6959 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6961 # Transform an extracted symbol line into symbol name and symbol address
6962 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6964 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6965 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6967 # Transform an extracted symbol line into symbol name with lib prefix and
6969 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6970 $lt_c_name_lib_hook\
6971 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6972 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6973 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6975 # Handle CRLF in mingw tool chain
6979 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6983 # Try without a prefix underscore, then with it.
6984 for ac_symprfx in "" "_"; do
6986 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6987 symxfrm="\\1 $ac_symprfx\\2 \\2"
6989 # Write the raw and C identifiers.
6990 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6991 # Fake it for dumpbin and say T for any non-static function,
6992 # D for any global variable and I for any imported variable.
6993 # Also find C++ and __fastcall symbols from MSVC++,
6994 # which start with @ or ?.
6995 lt_cv_sys_global_symbol_pipe="$AWK '"\
6996 " {last_section=section; section=\$ 3};"\
6997 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6998 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6999 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7000 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7001 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7002 " \$ 0!~/External *\|/{next};"\
7003 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7004 " {if(hide[section]) next};"\
7005 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7006 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7007 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7008 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7009 " ' prfx=^$ac_symprfx"
7011 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7013 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7015 # Check to see that the pipe works correctly.
7019 cat > conftest.$ac_ext <<_LT_EOF
7024 void nm_test_func(void);
7025 void nm_test_func(void){}
7029 int main(){nm_test_var='a';nm_test_func();return(0);}
7032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7033 (eval $ac_compile) 2>&5
7035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7036 test $ac_status = 0; }; then
7037 # Now try to grab the symbols.
7039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7040 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7043 test $ac_status = 0; } && test -s "$nlist"; then
7044 # Try sorting and uniquifying the output.
7045 if sort "$nlist" | uniq > "$nlist"T; then
7046 mv -f "$nlist"T "$nlist"
7051 # Make sure that we snagged all the symbols we need.
7052 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7053 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7054 cat <<_LT_EOF > conftest.$ac_ext
7055 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7056 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7057 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7058 relocations are performed -- see ld's documentation on pseudo-relocs. */
7059 # define LT_DLSYM_CONST
7060 #elif defined __osf__
7061 /* This system does not cope well with relocations in const data. */
7062 # define LT_DLSYM_CONST
7064 # define LT_DLSYM_CONST const
7072 # Now generate the symbol file.
7073 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7075 cat <<_LT_EOF >> conftest.$ac_ext
7077 /* The mapping between symbol names and symbols. */
7078 LT_DLSYM_CONST struct {
7082 lt__PROGRAM__LTX_preloaded_symbols[] =
7084 { "@PROGRAM@", (void *) 0 },
7086 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7087 cat <<\_LT_EOF >> conftest.$ac_ext
7091 /* This works around a problem in FreeBSD linker */
7092 #ifdef FREEBSD_WORKAROUND
7093 static const void *lt_preloaded_setup() {
7094 return lt__PROGRAM__LTX_preloaded_symbols;
7102 # Now try linking the two files.
7103 mv conftest.$ac_objext conftstm.$ac_objext
7104 lt_globsym_save_LIBS=$LIBS
7105 lt_globsym_save_CFLAGS=$CFLAGS
7106 LIBS=conftstm.$ac_objext
7107 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7109 (eval $ac_link) 2>&5
7111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7112 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7115 LIBS=$lt_globsym_save_LIBS
7116 CFLAGS=$lt_globsym_save_CFLAGS
7118 echo "cannot find nm_test_func in $nlist" >&5
7121 echo "cannot find nm_test_var in $nlist" >&5
7124 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7127 echo "$progname: failed program was:" >&5
7128 cat conftest.$ac_ext >&5
7130 rm -rf conftest* conftst*
7132 # Do not use the global_symbol_pipe unless it works.
7133 if test yes = "$pipe_works"; then
7136 lt_cv_sys_global_symbol_pipe=
7142 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7143 lt_cv_sys_global_symbol_to_cdecl=
7145 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7147 $as_echo "failed" >&6; }
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7150 $as_echo "ok" >&6; }
7153 # Response file support.
7154 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7155 nm_file_list_spec='@'
7156 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7157 nm_file_list_spec='@'
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7197 $as_echo_n "checking for sysroot... " >&6; }
7199 # Check whether --with-sysroot was given.
7200 if test "${with_sysroot+set}" = set; then :
7201 withval=$with_sysroot;
7208 case $with_sysroot in #(
7210 if test yes = "$GCC"; then
7211 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7215 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7221 $as_echo "$with_sysroot" >&6; }
7222 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7227 $as_echo "${lt_sysroot:-no}" >&6; }
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7234 $as_echo_n "checking for a working dd... " >&6; }
7235 if ${ac_cv_path_lt_DD+:} false; then :
7236 $as_echo_n "(cached) " >&6
7238 printf 0123456789abcdef0123456789abcdef >conftest.i
7239 cat conftest.i conftest.i >conftest2.i
7241 if test -z "$lt_DD"; then
7242 ac_path_lt_DD_found=false
7243 # Loop through the user's path and test for each of PROGNAME-LIST
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir=.
7249 for ac_prog in dd; do
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7252 as_fn_executable_p "$ac_path_lt_DD" || continue
7253 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7254 cmp -s conftest.i conftest.out \
7255 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7257 $ac_path_lt_DD_found && break 3
7262 if test -z "$ac_cv_path_lt_DD"; then
7266 ac_cv_path_lt_DD=$lt_DD
7269 rm -f conftest.i conftest2.i conftest.out
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7272 $as_echo "$ac_cv_path_lt_DD" >&6; }
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7276 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7277 if ${lt_cv_truncate_bin+:} false; then :
7278 $as_echo_n "(cached) " >&6
7280 printf 0123456789abcdef0123456789abcdef >conftest.i
7281 cat conftest.i conftest.i >conftest2.i
7283 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7284 cmp -s conftest.i conftest.out \
7285 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7287 rm -f conftest.i conftest2.i conftest.out
7288 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7291 $as_echo "$lt_cv_truncate_bin" >&6; }
7299 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7302 for cc_temp in $*""; do
7304 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7305 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7310 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7313 # Check whether --enable-libtool-lock was given.
7314 if test "${enable_libtool_lock+set}" = set; then :
7315 enableval=$enable_libtool_lock;
7318 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7320 # Some flags need to be propagated to the compiler or linker for good
7324 # Find out what ABI is being produced by ac_compile, and set mode
7325 # options accordingly.
7326 echo 'int i;' > conftest.$ac_ext
7327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7328 (eval $ac_compile) 2>&5
7330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7331 test $ac_status = 0; }; then
7332 case `/usr/bin/file conftest.$ac_objext` in
7344 # Find out what ABI is being produced by ac_compile, and set linker
7345 # options accordingly.
7346 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7347 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7348 (eval $ac_compile) 2>&5
7350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7351 test $ac_status = 0; }; then
7352 if test yes = "$lt_cv_prog_gnu_ld"; then
7353 case `/usr/bin/file conftest.$ac_objext` in
7355 LD="${LD-ld} -melf32bsmip"
7358 LD="${LD-ld} -melf32bmipn32"
7361 LD="${LD-ld} -melf64bmip"
7365 case `/usr/bin/file conftest.$ac_objext` in
7382 # Find out what ABI is being produced by ac_compile, and set linker
7383 # options accordingly.
7384 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7386 (eval $ac_compile) 2>&5
7388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7389 test $ac_status = 0; }; then
7391 case `/usr/bin/file conftest.$ac_objext` in
7399 case `/usr/bin/file conftest.$ac_objext` in
7401 emul="${emul}btsmip"
7404 emul="${emul}ltsmip"
7407 case `/usr/bin/file conftest.$ac_objext` in
7412 LD="${LD-ld} -m $emul"
7417 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7418 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7419 # Find out what ABI is being produced by ac_compile, and set linker
7420 # options accordingly. Note that the listed cases only cover the
7421 # situations where additional linker options are needed (such as when
7422 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7423 # vice versa); the common cases where no linker options are needed do
7424 # not appear in the list.
7425 echo 'int i;' > conftest.$ac_ext
7426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7427 (eval $ac_compile) 2>&5
7429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7430 test $ac_status = 0; }; then
7431 case `/usr/bin/file conftest.o` in
7434 x86_64-*kfreebsd*-gnu)
7435 LD="${LD-ld} -m elf_i386_fbsd"
7438 case `/usr/bin/file conftest.o` in
7440 LD="${LD-ld} -m elf32_x86_64"
7443 LD="${LD-ld} -m elf_i386"
7447 powerpc64le-*linux*)
7448 LD="${LD-ld} -m elf32lppclinux"
7451 LD="${LD-ld} -m elf32ppclinux"
7454 LD="${LD-ld} -m elf_s390"
7457 LD="${LD-ld} -m elf32_sparc"
7463 x86_64-*kfreebsd*-gnu)
7464 LD="${LD-ld} -m elf_x86_64_fbsd"
7467 LD="${LD-ld} -m elf_x86_64"
7470 LD="${LD-ld} -m elf64lppc"
7473 LD="${LD-ld} -m elf64ppc"
7475 s390*-*linux*|s390*-*tpf*)
7476 LD="${LD-ld} -m elf64_s390"
7479 LD="${LD-ld} -m elf64_sparc"
7489 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7491 CFLAGS="$CFLAGS -belf"
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7493 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7494 if ${lt_cv_cc_needs_belf+:} false; then :
7495 $as_echo_n "(cached) " >&6
7498 ac_cpp='$CPP $CPPFLAGS'
7499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7514 if ac_fn_c_try_link "$LINENO"; then :
7515 lt_cv_cc_needs_belf=yes
7517 lt_cv_cc_needs_belf=no
7519 rm -f core conftest.err conftest.$ac_objext \
7520 conftest$ac_exeext conftest.$ac_ext
7522 ac_cpp='$CPP $CPPFLAGS'
7523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7529 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7530 if test yes != "$lt_cv_cc_needs_belf"; then
7531 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7536 # Find out what ABI is being produced by ac_compile, and set linker
7537 # options accordingly.
7538 echo 'int i;' > conftest.$ac_ext
7539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7540 (eval $ac_compile) 2>&5
7542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7543 test $ac_status = 0; }; then
7544 case `/usr/bin/file conftest.o` in
7546 case $lt_cv_prog_gnu_ld in
7549 i?86-*-solaris*|x86_64-*-solaris*)
7550 LD="${LD-ld} -m elf_x86_64"
7553 LD="${LD-ld} -m elf64_sparc"
7556 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7557 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7562 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7574 need_locks=$enable_libtool_lock
7576 if test -n "$ac_tool_prefix"; then
7577 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7578 set dummy ${ac_tool_prefix}mt; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7580 $as_echo_n "checking for $ac_word... " >&6; }
7581 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7582 $as_echo_n "(cached) " >&6
7584 if test -n "$MANIFEST_TOOL"; then
7585 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7594 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7605 if test -n "$MANIFEST_TOOL"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7607 $as_echo "$MANIFEST_TOOL" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610 $as_echo "no" >&6; }
7615 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7616 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7617 # Extract the first word of "mt", so it can be a program name with args.
7618 set dummy mt; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7622 $as_echo_n "(cached) " >&6
7624 if test -n "$ac_ct_MANIFEST_TOOL"; then
7625 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7645 if test -n "$ac_ct_MANIFEST_TOOL"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7647 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7653 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7656 case $cross_compiling:$ac_tool_warned in
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7660 ac_tool_warned=yes ;;
7662 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7665 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7668 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7670 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7671 if ${lt_cv_path_mainfest_tool+:} false; then :
7672 $as_echo_n "(cached) " >&6
7674 lt_cv_path_mainfest_tool=no
7675 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7676 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7677 cat conftest.err >&5
7678 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7679 lt_cv_path_mainfest_tool=yes
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7684 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7685 if test yes != "$lt_cv_path_mainfest_tool"; then
7695 rhapsody* | darwin*)
7696 if test -n "$ac_tool_prefix"; then
7697 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7698 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7700 $as_echo_n "checking for $ac_word... " >&6; }
7701 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7702 $as_echo_n "(cached) " >&6
7704 if test -n "$DSYMUTIL"; then
7705 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7725 if test -n "$DSYMUTIL"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7727 $as_echo "$DSYMUTIL" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7730 $as_echo "no" >&6; }
7735 if test -z "$ac_cv_prog_DSYMUTIL"; then
7736 ac_ct_DSYMUTIL=$DSYMUTIL
7737 # Extract the first word of "dsymutil", so it can be a program name with args.
7738 set dummy dsymutil; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7742 $as_echo_n "(cached) " >&6
7744 if test -n "$ac_ct_DSYMUTIL"; then
7745 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7764 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7765 if test -n "$ac_ct_DSYMUTIL"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7767 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770 $as_echo "no" >&6; }
7773 if test "x$ac_ct_DSYMUTIL" = x; then
7776 case $cross_compiling:$ac_tool_warned in
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7780 ac_tool_warned=yes ;;
7782 DSYMUTIL=$ac_ct_DSYMUTIL
7785 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7788 if test -n "$ac_tool_prefix"; then
7789 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7790 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792 $as_echo_n "checking for $ac_word... " >&6; }
7793 if ${ac_cv_prog_NMEDIT+:} false; then :
7794 $as_echo_n "(cached) " >&6
7796 if test -n "$NMEDIT"; then
7797 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7816 NMEDIT=$ac_cv_prog_NMEDIT
7817 if test -n "$NMEDIT"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7819 $as_echo "$NMEDIT" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7822 $as_echo "no" >&6; }
7827 if test -z "$ac_cv_prog_NMEDIT"; then
7828 ac_ct_NMEDIT=$NMEDIT
7829 # Extract the first word of "nmedit", so it can be a program name with args.
7830 set dummy nmedit; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7834 $as_echo_n "(cached) " >&6
7836 if test -n "$ac_ct_NMEDIT"; then
7837 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7857 if test -n "$ac_ct_NMEDIT"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7859 $as_echo "$ac_ct_NMEDIT" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7865 if test "x$ac_ct_NMEDIT" = x; then
7868 case $cross_compiling:$ac_tool_warned in
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7872 ac_tool_warned=yes ;;
7874 NMEDIT=$ac_ct_NMEDIT
7877 NMEDIT="$ac_cv_prog_NMEDIT"
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_LIPO+:} false; then :
7886 $as_echo_n "(cached) " >&6
7888 if test -n "$LIPO"; then
7889 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 LIPO=$ac_cv_prog_LIPO
7909 if test -n "$LIPO"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7911 $as_echo "$LIPO" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7919 if test -z "$ac_cv_prog_LIPO"; then
7921 # Extract the first word of "lipo", so it can be a program name with args.
7922 set dummy lipo; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7926 $as_echo_n "(cached) " >&6
7928 if test -n "$ac_ct_LIPO"; then
7929 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_ac_ct_LIPO="lipo"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7949 if test -n "$ac_ct_LIPO"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7951 $as_echo "$ac_ct_LIPO" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7957 if test "x$ac_ct_LIPO" = x; then
7960 case $cross_compiling:$ac_tool_warned in
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7964 ac_tool_warned=yes ;;
7969 LIPO="$ac_cv_prog_LIPO"
7972 if test -n "$ac_tool_prefix"; then
7973 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7974 set dummy ${ac_tool_prefix}otool; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 $as_echo_n "checking for $ac_word... " >&6; }
7977 if ${ac_cv_prog_OTOOL+:} false; then :
7978 $as_echo_n "(cached) " >&6
7980 if test -n "$OTOOL"; then
7981 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 OTOOL=$ac_cv_prog_OTOOL
8001 if test -n "$OTOOL"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8003 $as_echo "$OTOOL" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8011 if test -z "$ac_cv_prog_OTOOL"; then
8013 # Extract the first word of "otool", so it can be a program name with args.
8014 set dummy otool; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8018 $as_echo_n "(cached) " >&6
8020 if test -n "$ac_ct_OTOOL"; then
8021 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_ac_ct_OTOOL="otool"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8041 if test -n "$ac_ct_OTOOL"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8043 $as_echo "$ac_ct_OTOOL" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8049 if test "x$ac_ct_OTOOL" = x; then
8052 case $cross_compiling:$ac_tool_warned in
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8056 ac_tool_warned=yes ;;
8061 OTOOL="$ac_cv_prog_OTOOL"
8064 if test -n "$ac_tool_prefix"; then
8065 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8066 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_OTOOL64+:} false; then :
8070 $as_echo_n "(cached) " >&6
8072 if test -n "$OTOOL64"; then
8073 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 OTOOL64=$ac_cv_prog_OTOOL64
8093 if test -n "$OTOOL64"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8095 $as_echo "$OTOOL64" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8103 if test -z "$ac_cv_prog_OTOOL64"; then
8104 ac_ct_OTOOL64=$OTOOL64
8105 # Extract the first word of "otool64", so it can be a program name with args.
8106 set dummy otool64; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8108 $as_echo_n "checking for $ac_word... " >&6; }
8109 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8110 $as_echo_n "(cached) " >&6
8112 if test -n "$ac_ct_OTOOL64"; then
8113 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8122 ac_cv_prog_ac_ct_OTOOL64="otool64"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8132 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8133 if test -n "$ac_ct_OTOOL64"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8135 $as_echo "$ac_ct_OTOOL64" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8138 $as_echo "no" >&6; }
8141 if test "x$ac_ct_OTOOL64" = x; then
8144 case $cross_compiling:$ac_tool_warned in
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8148 ac_tool_warned=yes ;;
8150 OTOOL64=$ac_ct_OTOOL64
8153 OTOOL64="$ac_cv_prog_OTOOL64"
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8183 $as_echo_n "checking for -single_module linker flag... " >&6; }
8184 if ${lt_cv_apple_cc_single_mod+:} false; then :
8185 $as_echo_n "(cached) " >&6
8187 lt_cv_apple_cc_single_mod=no
8188 if test -z "$LT_MULTI_MODULE"; then
8189 # By default we will add the -single_module flag. You can override
8190 # by either setting the environment variable LT_MULTI_MODULE
8191 # non-empty at configure time, or by adding -multi_module to the
8193 rm -rf libconftest.dylib*
8194 echo "int foo(void){return 1;}" > conftest.c
8195 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8196 -dynamiclib -Wl,-single_module conftest.c" >&5
8197 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8198 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8200 # If there is a non-empty error log, and "single_module"
8201 # appears in it, assume the flag caused a linker warning
8202 if test -s conftest.err && $GREP single_module conftest.err; then
8203 cat conftest.err >&5
8204 # Otherwise, if the output was created with a 0 exit code from
8205 # the compiler, it worked.
8206 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8207 lt_cv_apple_cc_single_mod=yes
8209 cat conftest.err >&5
8211 rm -rf libconftest.dylib*
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8216 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8219 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8220 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8221 $as_echo_n "(cached) " >&6
8223 lt_cv_ld_exported_symbols_list=no
8224 save_LDFLAGS=$LDFLAGS
8225 echo "_main" > conftest.sym
8226 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8238 if ac_fn_c_try_link "$LINENO"; then :
8239 lt_cv_ld_exported_symbols_list=yes
8241 lt_cv_ld_exported_symbols_list=no
8243 rm -f core conftest.err conftest.$ac_objext \
8244 conftest$ac_exeext conftest.$ac_ext
8245 LDFLAGS=$save_LDFLAGS
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8249 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8252 $as_echo_n "checking for -force_load linker flag... " >&6; }
8253 if ${lt_cv_ld_force_load+:} false; then :
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_ld_force_load=no
8257 cat > conftest.c << _LT_EOF
8258 int forced_loaded() { return 2;}
8260 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8261 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8262 echo "$AR cru libconftest.a conftest.o" >&5
8263 $AR cru libconftest.a conftest.o 2>&5
8264 echo "$RANLIB libconftest.a" >&5
8265 $RANLIB libconftest.a 2>&5
8266 cat > conftest.c << _LT_EOF
8267 int main() { return 0;}
8269 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8270 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8272 if test -s conftest.err && $GREP force_load conftest.err; then
8273 cat conftest.err >&5
8274 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8275 lt_cv_ld_force_load=yes
8277 cat conftest.err >&5
8279 rm -f conftest.err libconftest.a conftest conftest.c
8280 rm -rf conftest.dSYM
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8284 $as_echo "$lt_cv_ld_force_load" >&6; }
8286 rhapsody* | darwin1.[012])
8287 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8289 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8290 darwin*) # darwin 5.x on
8291 # if running on 10.5 or later, the deployment target defaults
8292 # to the OS version, if on x86, and 10.4, the deployment
8293 # target defaults to 10.4. Don't you love it?
8294 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8295 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8296 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8298 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8300 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8304 if test yes = "$lt_cv_apple_cc_single_mod"; then
8305 _lt_dar_single_mod='$single_module'
8307 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8308 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8310 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8312 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8313 _lt_dsymutil='~$DSYMUTIL $lib || :'
8320 # func_munge_path_list VARIABLE PATH
8321 # -----------------------------------
8322 # VARIABLE is name of variable containing _space_ separated list of
8323 # directories to be munged by the contents of PATH, which is string
8326 # string "DIR[ DIR]" will be prepended to VARIABLE
8328 # string "DIR[ DIR]" will be appended to VARIABLE
8329 # "DIRP[:DIRP]::[DIRA:]DIRA"
8330 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8331 # "DIRA[ DIRA]" will be appended to VARIABLE
8333 # VARIABLE will be replaced by "DIR[ DIR]"
8334 func_munge_path_list ()
8340 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8343 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8346 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8347 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8350 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8356 ac_cpp='$CPP $CPPFLAGS'
8357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8361 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8362 # On Suns, sometimes $CPP names a directory.
8363 if test -n "$CPP" && test -d "$CPP"; then
8366 if test -z "$CPP"; then
8367 if ${ac_cv_prog_CPP+:} false; then :
8368 $as_echo_n "(cached) " >&6
8370 # Double quotes because CPP needs to be expanded
8371 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8374 for ac_c_preproc_warn_flag in '' yes
8376 # Use a header file that comes with gcc, so configuring glibc
8377 # with a fresh cross-compiler works.
8378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8379 # <limits.h> exists even on freestanding compilers.
8380 # On the NeXT, cc -E runs the code through the compiler's parser,
8381 # not just through cpp. "Syntax error" is here to catch this case.
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8385 # include <limits.h>
8387 # include <assert.h>
8391 if ac_fn_c_try_cpp "$LINENO"; then :
8394 # Broken: fails on valid input.
8397 rm -f conftest.err conftest.i conftest.$ac_ext
8399 # OK, works on sane cases. Now check whether nonexistent headers
8400 # can be detected and how.
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8403 #include <ac_nonexistent.h>
8405 if ac_fn_c_try_cpp "$LINENO"; then :
8406 # Broken: success on invalid input.
8409 # Passes both tests.
8413 rm -f conftest.err conftest.i conftest.$ac_ext
8416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8417 rm -f conftest.i conftest.err conftest.$ac_ext
8418 if $ac_preproc_ok; then :
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8431 $as_echo "$CPP" >&6; }
8433 for ac_c_preproc_warn_flag in '' yes
8435 # Use a header file that comes with gcc, so configuring glibc
8436 # with a fresh cross-compiler works.
8437 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8438 # <limits.h> exists even on freestanding compilers.
8439 # On the NeXT, cc -E runs the code through the compiler's parser,
8440 # not just through cpp. "Syntax error" is here to catch this case.
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8444 # include <limits.h>
8446 # include <assert.h>
8450 if ac_fn_c_try_cpp "$LINENO"; then :
8453 # Broken: fails on valid input.
8456 rm -f conftest.err conftest.i conftest.$ac_ext
8458 # OK, works on sane cases. Now check whether nonexistent headers
8459 # can be detected and how.
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 #include <ac_nonexistent.h>
8464 if ac_fn_c_try_cpp "$LINENO"; then :
8465 # Broken: success on invalid input.
8468 # Passes both tests.
8472 rm -f conftest.err conftest.i conftest.$ac_ext
8475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8476 rm -f conftest.i conftest.err conftest.$ac_ext
8477 if $ac_preproc_ok; then :
8480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8482 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8483 See \`config.log' for more details" "$LINENO" 5; }
8487 ac_cpp='$CPP $CPPFLAGS'
8488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8494 $as_echo_n "checking for ANSI C header files... " >&6; }
8495 if ${ac_cv_header_stdc+:} false; then :
8496 $as_echo_n "(cached) " >&6
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8513 if ac_fn_c_try_compile "$LINENO"; then :
8514 ac_cv_header_stdc=yes
8516 ac_cv_header_stdc=no
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8520 if test $ac_cv_header_stdc = yes; then
8521 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8528 $EGREP "memchr" >/dev/null 2>&1; then :
8531 ac_cv_header_stdc=no
8537 if test $ac_cv_header_stdc = yes; then
8538 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8545 $EGREP "free" >/dev/null 2>&1; then :
8548 ac_cv_header_stdc=no
8554 if test $ac_cv_header_stdc = yes; then
8555 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8556 if test "$cross_compiling" = yes; then :
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8563 #if ((' ' & 0x0FF) == 0x020)
8564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8567 # define ISLOWER(c) \
8568 (('a' <= (c) && (c) <= 'i') \
8569 || ('j' <= (c) && (c) <= 'r') \
8570 || ('s' <= (c) && (c) <= 'z'))
8571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8579 for (i = 0; i < 256; i++)
8580 if (XOR (islower (i), ISLOWER (i))
8581 || toupper (i) != TOUPPER (i))
8586 if ac_fn_c_try_run "$LINENO"; then :
8589 ac_cv_header_stdc=no
8591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8592 conftest.$ac_objext conftest.beam conftest.$ac_ext
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8598 $as_echo "$ac_cv_header_stdc" >&6; }
8599 if test $ac_cv_header_stdc = yes; then
8601 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8605 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8606 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8607 inttypes.h stdint.h unistd.h
8609 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8610 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8612 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8613 cat >>confdefs.h <<_ACEOF
8614 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8622 for ac_header in dlfcn.h
8624 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8626 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8627 cat >>confdefs.h <<_ACEOF
8628 #define HAVE_DLFCN_H 1
8649 # Check whether --enable-shared was given.
8650 if test "${enable_shared+set}" = set; then :
8651 enableval=$enable_shared; p=${PACKAGE-default}
8653 yes) enable_shared=yes ;;
8654 no) enable_shared=no ;;
8657 # Look at the argument we got. We use all the common list separators.
8658 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8659 for pkg in $enableval; do
8661 if test "X$pkg" = "X$p"; then
8680 # Check whether --enable-static was given.
8681 if test "${enable_static+set}" = set; then :
8682 enableval=$enable_static; p=${PACKAGE-default}
8684 yes) enable_static=yes ;;
8685 no) enable_static=no ;;
8688 # Look at the argument we got. We use all the common list separators.
8689 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8690 for pkg in $enableval; do
8692 if test "X$pkg" = "X$p"; then
8712 # Check whether --with-pic was given.
8713 if test "${with_pic+set}" = set; then :
8714 withval=$with_pic; lt_p=${PACKAGE-default}
8716 yes|no) pic_mode=$withval ;;
8719 # Look at the argument we got. We use all the common list separators.
8720 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8721 for lt_pkg in $withval; do
8723 if test "X$lt_pkg" = "X$lt_p"; then
8741 # Check whether --enable-fast-install was given.
8742 if test "${enable_fast_install+set}" = set; then :
8743 enableval=$enable_fast_install; p=${PACKAGE-default}
8745 yes) enable_fast_install=yes ;;
8746 no) enable_fast_install=no ;;
8748 enable_fast_install=no
8749 # Look at the argument we got. We use all the common list separators.
8750 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8751 for pkg in $enableval; do
8753 if test "X$pkg" = "X$p"; then
8754 enable_fast_install=yes
8761 enable_fast_install=yes
8771 shared_archive_member_spec=
8772 case $host,$enable_shared in
8773 power*-*-aix[5-9]*,yes)
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8775 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8777 # Check whether --with-aix-soname was given.
8778 if test "${with_aix_soname+set}" = set; then :
8779 withval=$with_aix_soname; case $withval in
8783 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8786 lt_cv_with_aix_soname=$with_aix_soname
8788 if ${lt_cv_with_aix_soname+:} false; then :
8789 $as_echo_n "(cached) " >&6
8791 lt_cv_with_aix_soname=aix
8794 with_aix_soname=$lt_cv_with_aix_soname
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8798 $as_echo "$with_aix_soname" >&6; }
8799 if test aix != "$with_aix_soname"; then
8800 # For the AIX way of multilib, we name the shared archive member
8801 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8802 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8803 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8804 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8805 if test 64 = "${OBJECT_MODE-32}"; then
8806 shared_archive_member_spec=shr_64
8808 shared_archive_member_spec=shr
8826 # This can be used to rebuild libtool when needed
8827 LIBTOOL_DEPS=$ltmain
8829 # Always use our own libtool.
8830 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8861 test -z "$LN_S" && LN_S="ln -s"
8876 if test -n "${ZSH_VERSION+set}"; then
8877 setopt NO_GLOB_SUBST
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8881 $as_echo_n "checking for objdir... " >&6; }
8882 if ${lt_cv_objdir+:} false; then :
8883 $as_echo_n "(cached) " >&6
8885 rm -f .libs 2>/dev/null
8886 mkdir .libs 2>/dev/null
8887 if test -d .libs; then
8890 # MS-DOS does not allow filenames that begin with a dot.
8893 rmdir .libs 2>/dev/null
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8896 $as_echo "$lt_cv_objdir" >&6; }
8897 objdir=$lt_cv_objdir
8903 cat >>confdefs.h <<_ACEOF
8904 #define LT_OBJDIR "$lt_cv_objdir/"
8912 # AIX sometimes has problems with the GCC collect2 program. For some
8913 # reason, if we set the COLLECT_NAMES environment variable, the problems
8914 # vanish in a puff of smoke.
8915 if test set != "${COLLECT_NAMES+set}"; then
8917 export COLLECT_NAMES
8924 can_build_shared=yes
8926 # All known linkers require a '.a' archive for static linking (except MSVC,
8927 # which needs '.lib').
8930 with_gnu_ld=$lt_cv_prog_gnu_ld
8935 # Set sane defaults for various variables
8936 test -z "$CC" && CC=cc
8937 test -z "$LTCC" && LTCC=$CC
8938 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8939 test -z "$LD" && LD=ld
8940 test -z "$ac_objext" && ac_objext=o
8942 func_cc_basename $compiler
8943 cc_basename=$func_cc_basename_result
8946 # Only perform the check for file, if the check method requires it
8947 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8948 case $deplibs_check_method in
8950 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8952 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8953 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8954 $as_echo_n "(cached) " >&6
8958 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8961 lt_save_MAGIC_CMD=$MAGIC_CMD
8962 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8963 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8964 for ac_dir in $ac_dummy; do
8966 test -z "$ac_dir" && ac_dir=.
8967 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8968 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8969 if test -n "$file_magic_test_file"; then
8970 case $deplibs_check_method in
8972 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8973 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8974 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8975 $EGREP "$file_magic_regex" > /dev/null; then
8980 *** Warning: the command libtool uses to detect shared libraries,
8981 *** $file_magic_cmd, produces output that libtool cannot recognize.
8982 *** The result is that libtool may fail to recognize shared libraries
8983 *** as such. This will affect the creation of libtool libraries that
8984 *** depend on shared libraries, but programs linked with such libtool
8985 *** libraries will work regardless of this problem. Nevertheless, you
8986 *** may want to report the problem to your system manager and/or to
8987 *** bug-libtool@gnu.org
8997 MAGIC_CMD=$lt_save_MAGIC_CMD
9002 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9003 if test -n "$MAGIC_CMD"; then
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9005 $as_echo "$MAGIC_CMD" >&6; }
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9008 $as_echo "no" >&6; }
9015 if test -z "$lt_cv_path_MAGIC_CMD"; then
9016 if test -n "$ac_tool_prefix"; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9018 $as_echo_n "checking for file... " >&6; }
9019 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9020 $as_echo_n "(cached) " >&6
9024 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9027 lt_save_MAGIC_CMD=$MAGIC_CMD
9028 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9029 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9030 for ac_dir in $ac_dummy; do
9032 test -z "$ac_dir" && ac_dir=.
9033 if test -f "$ac_dir/file"; then
9034 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9035 if test -n "$file_magic_test_file"; then
9036 case $deplibs_check_method in
9038 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9039 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9040 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9041 $EGREP "$file_magic_regex" > /dev/null; then
9046 *** Warning: the command libtool uses to detect shared libraries,
9047 *** $file_magic_cmd, produces output that libtool cannot recognize.
9048 *** The result is that libtool may fail to recognize shared libraries
9049 *** as such. This will affect the creation of libtool libraries that
9050 *** depend on shared libraries, but programs linked with such libtool
9051 *** libraries will work regardless of this problem. Nevertheless, you
9052 *** may want to report the problem to your system manager and/or to
9053 *** bug-libtool@gnu.org
9063 MAGIC_CMD=$lt_save_MAGIC_CMD
9068 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9069 if test -n "$MAGIC_CMD"; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9071 $as_echo "$MAGIC_CMD" >&6; }
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9074 $as_echo "no" >&6; }
9087 # Use C for the default configuration in the libtool script
9091 ac_cpp='$CPP $CPPFLAGS'
9092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9097 # Source file extension for C test sources.
9100 # Object file extension for compiled C test sources.
9104 # Code to be used in simple compile tests
9105 lt_simple_compile_test_code="int some_variable = 0;"
9107 # Code to be used in simple link tests
9108 lt_simple_link_test_code='int main(){return(0);}'
9116 # If no C compiler was specified, use CC.
9119 # If no C compiler flags were specified, use CFLAGS.
9120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9122 # Allow CC to be a program name with arguments.
9125 # Save the default compiler, since it gets overwritten when the other
9126 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9127 compiler_DEFAULT=$CC
9129 # save warnings/boilerplate of simple test code
9130 ac_outfile=conftest.$ac_objext
9131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9133 _lt_compiler_boilerplate=`cat conftest.err`
9136 ac_outfile=conftest.$ac_objext
9137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9139 _lt_linker_boilerplate=`cat conftest.err`
9143 if test -n "$compiler"; then
9145 lt_prog_compiler_no_builtin_flag=
9147 if test yes = "$GCC"; then
9148 case $cc_basename in
9150 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9152 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9156 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9157 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9158 $as_echo_n "(cached) " >&6
9160 lt_cv_prog_compiler_rtti_exceptions=no
9161 ac_outfile=conftest.$ac_objext
9162 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9163 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9164 # Insert the option either (1) after the last *FLAGS variable, or
9165 # (2) before a word containing "conftest.", or (3) at the end.
9166 # Note that $ac_compile itself does not contain backslashes and begins
9167 # with a dollar sign (not a hyphen), so the echo should work correctly.
9168 # The option is referenced via a variable to avoid confusing sed.
9169 lt_compile=`echo "$ac_compile" | $SED \
9170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9172 -e 's:$: $lt_compiler_flag:'`
9173 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9174 (eval "$lt_compile" 2>conftest.err)
9176 cat conftest.err >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 if (exit $ac_status) && test -s "$ac_outfile"; then
9179 # The compiler can only warn and ignore the option if not recognized
9180 # So say no if there are warnings other than the usual output.
9181 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9182 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9183 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9184 lt_cv_prog_compiler_rtti_exceptions=yes
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9191 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9193 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9194 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9206 lt_prog_compiler_wl=
9207 lt_prog_compiler_pic=
9208 lt_prog_compiler_static=
9211 if test yes = "$GCC"; then
9212 lt_prog_compiler_wl='-Wl,'
9213 lt_prog_compiler_static='-static'
9217 # All AIX code is PIC.
9218 if test ia64 = "$host_cpu"; then
9219 # AIX 5 now supports IA64 processor
9220 lt_prog_compiler_static='-Bstatic'
9222 lt_prog_compiler_pic='-fPIC'
9228 # see comment about AmigaOS4 .so support
9229 lt_prog_compiler_pic='-fPIC'
9232 # FIXME: we need at least 68020 code to build shared libraries, but
9233 # adding the '-m68020' flag to GCC prevents building anything better,
9235 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9240 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9241 # PIC is the default for these OSes.
9244 mingw* | cygwin* | pw32* | os2* | cegcc*)
9245 # This hack is so that the source file can tell whether it is being
9246 # built for inclusion in a dll (and should export symbols for example).
9247 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9248 # (--disable-auto-import) libraries
9249 lt_prog_compiler_pic='-DDLL_EXPORT'
9252 lt_prog_compiler_static='$wl-static'
9257 darwin* | rhapsody*)
9258 # PIC is the default on this platform
9259 # Common symbols not allowed in MH_DYLIB files
9260 lt_prog_compiler_pic='-fno-common'
9264 # PIC is the default for Haiku.
9265 # The "-static" flag exists, but is broken.
9266 lt_prog_compiler_static=
9270 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9271 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9272 # sets the default TLS model and affects inlining.
9278 lt_prog_compiler_pic='-fPIC'
9284 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9285 # Instead, we relocate shared libraries at runtime.
9289 # Just because we use GCC doesn't mean we suddenly get shared libraries
9290 # on systems that don't support them.
9291 lt_prog_compiler_can_build_shared=no
9296 # QNX uses GNU C++, but need to define -shared option too, otherwise
9298 lt_prog_compiler_pic='-fPIC -shared'
9302 if test -d /usr/nec; then
9303 lt_prog_compiler_pic=-Kconform_pic
9308 lt_prog_compiler_pic='-fPIC'
9312 case $cc_basename in
9313 nvcc*) # Cuda Compiler Driver 2.2
9314 lt_prog_compiler_wl='-Xlinker '
9315 if test -n "$lt_prog_compiler_pic"; then
9316 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9321 # PORTME Check for flag to pass linker flags through the system compiler.
9324 lt_prog_compiler_wl='-Wl,'
9325 if test ia64 = "$host_cpu"; then
9326 # AIX 5 now supports IA64 processor
9327 lt_prog_compiler_static='-Bstatic'
9329 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9333 darwin* | rhapsody*)
9334 # PIC is the default on this platform
9335 # Common symbols not allowed in MH_DYLIB files
9336 lt_prog_compiler_pic='-fno-common'
9337 case $cc_basename in
9339 # NAG Fortran compiler
9340 lt_prog_compiler_wl='-Wl,-Wl,,'
9341 lt_prog_compiler_pic='-PIC'
9342 lt_prog_compiler_static='-Bstatic'
9347 mingw* | cygwin* | pw32* | os2* | cegcc*)
9348 # This hack is so that the source file can tell whether it is being
9349 # built for inclusion in a dll (and should export symbols for example).
9350 lt_prog_compiler_pic='-DDLL_EXPORT'
9353 lt_prog_compiler_static='$wl-static'
9358 hpux9* | hpux10* | hpux11*)
9359 lt_prog_compiler_wl='-Wl,'
9360 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9367 lt_prog_compiler_pic='+Z'
9370 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9371 lt_prog_compiler_static='$wl-a ${wl}archive'
9374 irix5* | irix6* | nonstopux*)
9375 lt_prog_compiler_wl='-Wl,'
9376 # PIC (with -KPIC) is the default.
9377 lt_prog_compiler_static='-non_shared'
9380 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9381 case $cc_basename in
9382 # old Intel for x86_64, which still supported -KPIC.
9384 lt_prog_compiler_wl='-Wl,'
9385 lt_prog_compiler_pic='-KPIC'
9386 lt_prog_compiler_static='-static'
9388 # icc used to be incompatible with GCC.
9389 # ICC 10 doesn't accept -KPIC any more.
9391 lt_prog_compiler_wl='-Wl,'
9392 lt_prog_compiler_pic='-fPIC'
9393 lt_prog_compiler_static='-static'
9395 # Lahey Fortran 8.1.
9397 lt_prog_compiler_wl='-Wl,'
9398 lt_prog_compiler_pic='--shared'
9399 lt_prog_compiler_static='--static'
9402 # NAG Fortran compiler
9403 lt_prog_compiler_wl='-Wl,-Wl,,'
9404 lt_prog_compiler_pic='-PIC'
9405 lt_prog_compiler_static='-Bstatic'
9408 # Fabrice Bellard et al's Tiny C Compiler
9409 lt_prog_compiler_wl='-Wl,'
9410 lt_prog_compiler_pic='-fPIC'
9411 lt_prog_compiler_static='-static'
9413 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9414 # Portland Group compilers (*not* the Pentium gcc compiler,
9415 # which looks to be a dead project)
9416 lt_prog_compiler_wl='-Wl,'
9417 lt_prog_compiler_pic='-fpic'
9418 lt_prog_compiler_static='-Bstatic'
9421 lt_prog_compiler_wl='-Wl,'
9422 # All Alpha code is PIC.
9423 lt_prog_compiler_static='-non_shared'
9425 xl* | bgxl* | bgf* | mpixl*)
9426 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9427 lt_prog_compiler_wl='-Wl,'
9428 lt_prog_compiler_pic='-qpic'
9429 lt_prog_compiler_static='-qstaticlink'
9432 case `$CC -V 2>&1 | sed 5q` in
9433 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9434 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9435 lt_prog_compiler_pic='-KPIC'
9436 lt_prog_compiler_static='-Bstatic'
9437 lt_prog_compiler_wl=''
9439 *Sun\ F* | *Sun*Fortran*)
9440 lt_prog_compiler_pic='-KPIC'
9441 lt_prog_compiler_static='-Bstatic'
9442 lt_prog_compiler_wl='-Qoption ld '
9446 lt_prog_compiler_pic='-KPIC'
9447 lt_prog_compiler_static='-Bstatic'
9448 lt_prog_compiler_wl='-Wl,'
9450 *Intel*\ [CF]*Compiler*)
9451 lt_prog_compiler_wl='-Wl,'
9452 lt_prog_compiler_pic='-fPIC'
9453 lt_prog_compiler_static='-static'
9456 lt_prog_compiler_wl='-Wl,'
9457 lt_prog_compiler_pic='-fpic'
9458 lt_prog_compiler_static='-Bstatic'
9466 lt_prog_compiler_pic='-KPIC'
9467 lt_prog_compiler_static='-Bstatic'
9471 # QNX uses GNU C++, but need to define -shared option too, otherwise
9473 lt_prog_compiler_pic='-fPIC -shared'
9476 osf3* | osf4* | osf5*)
9477 lt_prog_compiler_wl='-Wl,'
9478 # All OSF/1 code is PIC.
9479 lt_prog_compiler_static='-non_shared'
9483 lt_prog_compiler_static='-non_shared'
9487 lt_prog_compiler_pic='-KPIC'
9488 lt_prog_compiler_static='-Bstatic'
9489 case $cc_basename in
9490 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9491 lt_prog_compiler_wl='-Qoption ld ';;
9493 lt_prog_compiler_wl='-Wl,';;
9498 lt_prog_compiler_wl='-Qoption ld '
9499 lt_prog_compiler_pic='-PIC'
9500 lt_prog_compiler_static='-Bstatic'
9503 sysv4 | sysv4.2uw2* | sysv4.3*)
9504 lt_prog_compiler_wl='-Wl,'
9505 lt_prog_compiler_pic='-KPIC'
9506 lt_prog_compiler_static='-Bstatic'
9510 if test -d /usr/nec; then
9511 lt_prog_compiler_pic='-Kconform_pic'
9512 lt_prog_compiler_static='-Bstatic'
9516 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9517 lt_prog_compiler_wl='-Wl,'
9518 lt_prog_compiler_pic='-KPIC'
9519 lt_prog_compiler_static='-Bstatic'
9523 lt_prog_compiler_wl='-Wl,'
9524 lt_prog_compiler_can_build_shared=no
9528 lt_prog_compiler_pic='-pic'
9529 lt_prog_compiler_static='-Bstatic'
9533 lt_prog_compiler_can_build_shared=no
9539 # For platforms that do not support PIC, -DPIC is meaningless:
9541 lt_prog_compiler_pic=
9544 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9549 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9550 if ${lt_cv_prog_compiler_pic+:} false; then :
9551 $as_echo_n "(cached) " >&6
9553 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9556 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9557 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9560 # Check to make sure the PIC flag actually works.
9562 if test -n "$lt_prog_compiler_pic"; then
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9564 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9565 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9566 $as_echo_n "(cached) " >&6
9568 lt_cv_prog_compiler_pic_works=no
9569 ac_outfile=conftest.$ac_objext
9570 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9571 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9572 # Insert the option either (1) after the last *FLAGS variable, or
9573 # (2) before a word containing "conftest.", or (3) at the end.
9574 # Note that $ac_compile itself does not contain backslashes and begins
9575 # with a dollar sign (not a hyphen), so the echo should work correctly.
9576 # The option is referenced via a variable to avoid confusing sed.
9577 lt_compile=`echo "$ac_compile" | $SED \
9578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9580 -e 's:$: $lt_compiler_flag:'`
9581 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9582 (eval "$lt_compile" 2>conftest.err)
9584 cat conftest.err >&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 if (exit $ac_status) && test -s "$ac_outfile"; then
9587 # The compiler can only warn and ignore the option if not recognized
9588 # So say no if there are warnings other than the usual output.
9589 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9590 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9591 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9592 lt_cv_prog_compiler_pic_works=yes
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9599 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9601 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9602 case $lt_prog_compiler_pic in
9604 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9607 lt_prog_compiler_pic=
9608 lt_prog_compiler_can_build_shared=no
9624 # Check to make sure the static flag actually works.
9626 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9628 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9629 if ${lt_cv_prog_compiler_static_works+:} false; then :
9630 $as_echo_n "(cached) " >&6
9632 lt_cv_prog_compiler_static_works=no
9633 save_LDFLAGS=$LDFLAGS
9634 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9635 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9636 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9637 # The linker can only warn and ignore the option if not recognized
9638 # So say no if there are warnings
9639 if test -s conftest.err; then
9640 # Append any errors to the config.log.
9641 cat conftest.err 1>&5
9642 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9643 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9644 if diff conftest.exp conftest.er2 >/dev/null; then
9645 lt_cv_prog_compiler_static_works=yes
9648 lt_cv_prog_compiler_static_works=yes
9652 LDFLAGS=$save_LDFLAGS
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9656 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9658 if test yes = "$lt_cv_prog_compiler_static_works"; then
9661 lt_prog_compiler_static=
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9671 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9672 if ${lt_cv_prog_compiler_c_o+:} false; then :
9673 $as_echo_n "(cached) " >&6
9675 lt_cv_prog_compiler_c_o=no
9676 $RM -r conftest 2>/dev/null
9680 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9682 lt_compiler_flag="-o out/conftest2.$ac_objext"
9683 # Insert the option either (1) after the last *FLAGS variable, or
9684 # (2) before a word containing "conftest.", or (3) at the end.
9685 # Note that $ac_compile itself does not contain backslashes and begins
9686 # with a dollar sign (not a hyphen), so the echo should work correctly.
9687 lt_compile=`echo "$ac_compile" | $SED \
9688 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9689 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9690 -e 's:$: $lt_compiler_flag:'`
9691 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9692 (eval "$lt_compile" 2>out/conftest.err)
9694 cat out/conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9698 # The compiler can only warn and ignore the option if not recognized
9699 # So say no if there are warnings
9700 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9701 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9702 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9703 lt_cv_prog_compiler_c_o=yes
9708 # SGI C++ compiler will create directory out/ii_files/ for
9709 # template instantiation
9710 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9711 $RM out/* && rmdir out
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9718 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9726 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9727 if ${lt_cv_prog_compiler_c_o+:} false; then :
9728 $as_echo_n "(cached) " >&6
9730 lt_cv_prog_compiler_c_o=no
9731 $RM -r conftest 2>/dev/null
9735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9737 lt_compiler_flag="-o out/conftest2.$ac_objext"
9738 # Insert the option either (1) after the last *FLAGS variable, or
9739 # (2) before a word containing "conftest.", or (3) at the end.
9740 # Note that $ac_compile itself does not contain backslashes and begins
9741 # with a dollar sign (not a hyphen), so the echo should work correctly.
9742 lt_compile=`echo "$ac_compile" | $SED \
9743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9745 -e 's:$: $lt_compiler_flag:'`
9746 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9747 (eval "$lt_compile" 2>out/conftest.err)
9749 cat out/conftest.err >&5
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9753 # The compiler can only warn and ignore the option if not recognized
9754 # So say no if there are warnings
9755 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9756 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9757 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9758 lt_cv_prog_compiler_c_o=yes
9763 # SGI C++ compiler will create directory out/ii_files/ for
9764 # template instantiation
9765 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9766 $RM out/* && rmdir out
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9773 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9778 hard_links=nottested
9779 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9780 # do not overwrite the value of need_locks provided by the user
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9782 $as_echo_n "checking if we can lock with hard links... " >&6; }
9785 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9787 ln conftest.a conftest.b 2>&5 || hard_links=no
9788 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9790 $as_echo "$hard_links" >&6; }
9791 if test no = "$hard_links"; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9793 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9806 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9809 allow_undefined_flag=
9810 always_export_symbols=no
9812 archive_expsym_cmds=
9813 compiler_needs_object=no
9814 enable_shared_with_static_runtimes=no
9815 export_dynamic_flag_spec=
9816 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9817 hardcode_automatic=no
9819 hardcode_direct_absolute=no
9820 hardcode_libdir_flag_spec=
9821 hardcode_libdir_separator=
9823 hardcode_shlibpath_var=unsupported
9825 link_all_deplibs=unknown
9828 old_archive_from_new_cmds=
9829 old_archive_from_expsyms_cmds=
9830 thread_safe_flag_spec=
9831 whole_archive_flag_spec=
9832 # include_expsyms should be a list of space-separated symbols to be *always*
9833 # included in the symbol list
9835 # exclude_expsyms can be an extended regexp of symbols to exclude
9836 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9837 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9838 # as well as any symbol that contains 'd'.
9839 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9840 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9841 # platforms (ab)use it in PIC code, but their linkers get confused if
9842 # the symbol is explicitly referenced. Since portable code cannot
9843 # rely on this symbol name, it's probably fine to never include it in
9844 # preloaded symbol tables.
9845 # Exclude shared library initialization/finalization symbols.
9846 extract_expsyms_cmds=
9849 cygwin* | mingw* | pw32* | cegcc*)
9850 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9851 # When not using gcc, we currently assume that we are using
9852 # Microsoft Visual C++.
9853 if test yes != "$GCC"; then
9858 # we just hope/assume this is gcc and not c89 (= MSVC++)
9868 # On some targets, GNU ld is compatible enough with the native linker
9869 # that we're better off using the native interface for both.
9870 lt_use_gnu_ld_interface=no
9871 if test yes = "$with_gnu_ld"; then
9874 # The AIX port of GNU ld has always aspired to compatibility
9875 # with the native linker. However, as the warning in the GNU ld
9876 # block says, versions before 2.19.5* couldn't really create working
9877 # shared libraries, regardless of the interface used.
9878 case `$LD -v 2>&1` in
9879 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9880 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9881 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9883 lt_use_gnu_ld_interface=yes
9888 lt_use_gnu_ld_interface=yes
9893 if test yes = "$lt_use_gnu_ld_interface"; then
9894 # If archive_cmds runs LD, not CC, wlarc should be empty
9897 # Set some defaults for GNU ld with shared library support. These
9898 # are reset later if shared libraries are not supported. Putting them
9899 # here allows them to be overridden if necessary.
9900 runpath_var=LD_RUN_PATH
9901 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9902 export_dynamic_flag_spec='$wl--export-dynamic'
9903 # ancient GNU ld didn't support --whole-archive et. al.
9904 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9905 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9907 whole_archive_flag_spec=
9909 supports_anon_versioning=no
9910 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9911 *GNU\ gold*) supports_anon_versioning=yes ;;
9912 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9913 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9914 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9915 *\ 2.11.*) ;; # other 2.11 versions
9916 *) supports_anon_versioning=yes ;;
9919 # See if GNU ld supports shared libraries.
9922 # On AIX/PPC, the GNU linker is very broken
9923 if test ia64 != "$host_cpu"; then
9927 *** Warning: the GNU linker, at least up to release 2.19, is reported
9928 *** to be unable to reliably create shared libraries on AIX.
9929 *** Therefore, libtool is disabling shared libraries support. If you
9930 *** really care for shared libraries, you may want to install binutils
9931 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9932 *** You will then need to restart the configuration process.
9941 # see comment about AmigaOS4 .so support
9942 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9943 archive_expsym_cmds=''
9946 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)'
9947 hardcode_libdir_flag_spec='-L$libdir'
9948 hardcode_minus_L=yes
9954 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9955 allow_undefined_flag=unsupported
9956 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9957 # support --undefined. This deserves some investigation. FIXME
9958 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9964 cygwin* | mingw* | pw32* | cegcc*)
9965 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9966 # as there is no search path for DLLs.
9967 hardcode_libdir_flag_spec='-L$libdir'
9968 export_dynamic_flag_spec='$wl--export-all-symbols'
9969 allow_undefined_flag=unsupported
9970 always_export_symbols=no
9971 enable_shared_with_static_runtimes=yes
9972 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'
9973 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9975 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9976 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9977 # If the export-symbols file already is a .def file, use it as
9978 # is; otherwise, prepend EXPORTS...
9979 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9980 cp $export_symbols $output_objdir/$soname.def;
9982 echo EXPORTS > $output_objdir/$soname.def;
9983 cat $export_symbols >> $output_objdir/$soname.def;
9985 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9992 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9993 link_all_deplibs=yes
9997 hardcode_libdir_flag_spec='-L$libdir'
9998 hardcode_minus_L=yes
9999 allow_undefined_flag=unsupported
10001 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10002 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10003 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10004 $ECHO EXPORTS >> $output_objdir/$libname.def~
10005 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10006 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10007 emximp -o $lib $output_objdir/$libname.def'
10008 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10009 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10010 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10011 $ECHO EXPORTS >> $output_objdir/$libname.def~
10012 prefix_cmds="$SED"~
10013 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10014 prefix_cmds="$prefix_cmds -e 1d";
10016 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10017 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10018 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10019 emximp -o $lib $output_objdir/$libname.def'
10020 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10021 enable_shared_with_static_runtimes=yes
10026 hardcode_shlibpath_var=no
10027 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10028 export_dynamic_flag_spec='$wl-E'
10029 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10030 # Instead, shared libraries are loaded at an image base (0x10000000 by
10031 # default) and relocated if they conflict, which is a slow very memory
10032 # consuming and fragmenting process. To avoid this, we pick a random,
10033 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10034 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10035 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10036 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'
10039 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10041 if test linux-dietlibc = "$host_os"; then
10042 case $cc_basename in
10043 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10046 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10047 && test no = "$tmp_diet"
10049 tmp_addflag=' $pic_flag'
10050 tmp_sharedflag='-shared'
10051 case $cc_basename,$host_cpu in
10052 pgcc*) # Portland Group C compiler
10053 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'
10054 tmp_addflag=' $pic_flag'
10056 pgf77* | pgf90* | pgf95* | pgfortran*)
10057 # Portland Group f77 and f90 compilers
10058 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'
10059 tmp_addflag=' $pic_flag -Mnomain' ;;
10060 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10061 tmp_addflag=' -i_dynamic' ;;
10062 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10063 tmp_addflag=' -i_dynamic -nofor_main' ;;
10064 ifc* | ifort*) # Intel Fortran compiler
10065 tmp_addflag=' -nofor_main' ;;
10066 lf95*) # Lahey Fortran 8.1
10067 whole_archive_flag_spec=
10068 tmp_sharedflag='--shared' ;;
10069 nagfor*) # NAGFOR 5.3
10070 tmp_sharedflag='-Wl,-shared' ;;
10071 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10072 tmp_sharedflag='-qmkshrobj'
10074 nvcc*) # Cuda Compiler Driver 2.2
10075 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'
10076 compiler_needs_object=yes
10079 case `$CC -V 2>&1 | sed 5q` in
10080 *Sun\ C*) # Sun C 5.9
10081 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'
10082 compiler_needs_object=yes
10083 tmp_sharedflag='-G' ;;
10084 *Sun\ F*) # Sun Fortran 8.3
10085 tmp_sharedflag='-G' ;;
10087 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10089 if test yes = "$supports_anon_versioning"; then
10090 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10091 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10092 echo "local: *; };" >> $output_objdir/$libname.ver~
10093 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10096 case $cc_basename in
10098 export_dynamic_flag_spec='-rdynamic'
10100 xlf* | bgf* | bgxlf* | mpixlf*)
10101 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10102 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10103 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10104 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10105 if test yes = "$supports_anon_versioning"; then
10106 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10107 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10108 echo "local: *; };" >> $output_objdir/$libname.ver~
10109 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10119 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10120 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10123 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10124 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10129 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10133 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10134 *** create shared libraries on Solaris systems. Therefore, libtool
10135 *** is disabling shared libraries support. We urge you to upgrade GNU
10136 *** binutils to release 2.9.1 or newer. Another option is to modify
10137 *** your PATH or compiler configuration so that the native linker is
10138 *** used, and then restart.
10141 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10142 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10143 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10149 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10150 case `$LD -v 2>&1` in
10151 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10155 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10156 *** reliably create shared libraries on SCO systems. Therefore, libtool
10157 *** is disabling shared libraries support. We urge you to upgrade GNU
10158 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10159 *** your PATH or compiler configuration so that the native linker is
10160 *** used, and then restart.
10165 # For security reasons, it is highly recommended that you always
10166 # use absolute paths for naming shared libraries, and exclude the
10167 # DT_RUNPATH tag from executables and libraries. But doing so
10168 # requires that you compile everything twice, which is a pain.
10169 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10170 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10171 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10172 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10181 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10183 hardcode_direct=yes
10184 hardcode_shlibpath_var=no
10188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10189 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10190 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10197 if test no = "$ld_shlibs"; then
10199 hardcode_libdir_flag_spec=
10200 export_dynamic_flag_spec=
10201 whole_archive_flag_spec=
10204 # PORTME fill in a description of your system's linker (not GNU ld)
10207 allow_undefined_flag=unsupported
10208 always_export_symbols=yes
10209 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'
10210 # Note: this linker hardcodes the directories in LIBPATH if there
10211 # are no directories specified by -L.
10212 hardcode_minus_L=yes
10213 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10214 # Neither direct hardcoding nor static linking is supported with a
10216 hardcode_direct=unsupported
10221 if test ia64 = "$host_cpu"; then
10222 # On IA64, the linker does run time linking by default, so we don't
10223 # have to do anything special.
10224 aix_use_runtimelinking=no
10225 exp_sym_flag='-Bexport'
10228 # If we're using GNU nm, then we don't want the "-C" option.
10229 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10230 # Without the "-l" option, or with the "-B" option, AIX nm treats
10231 # weak defined symbols like other global defined symbols, whereas
10232 # GNU nm marks them as "W".
10233 # While the 'weak' keyword is ignored in the Export File, we need
10234 # it in the Import File for the 'aix-soname' feature, so we have
10235 # to replace the "-B" option with "-P" for AIX nm.
10236 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10237 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'
10239 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'
10241 aix_use_runtimelinking=no
10243 # Test if we are trying to use run time linking or normal
10244 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10245 # have runtime linking enabled, and use it for executables.
10246 # For shared libraries, we enable/disable runtime linking
10247 # depending on the kind of the shared library created -
10248 # when "with_aix_soname,aix_use_runtimelinking" is:
10249 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10250 # "aix,yes" lib.so shared, rtl:yes, for executables
10251 # lib.a static archive
10252 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10253 # lib.a(lib.so.V) shared, rtl:no, for executables
10254 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10255 # lib.a(lib.so.V) shared, rtl:no
10256 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10257 # lib.a static archive
10258 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10259 for ld_flag in $LDFLAGS; do
10260 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10261 aix_use_runtimelinking=yes
10265 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10266 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10267 # so we don't have lib.a shared libs to link our executables.
10268 # We have to force runtime linking in this case.
10269 aix_use_runtimelinking=yes
10270 LDFLAGS="$LDFLAGS -Wl,-brtl"
10275 exp_sym_flag='-bexport'
10276 no_entry_flag='-bnoentry'
10279 # When large executables or shared objects are built, AIX ld can
10280 # have problems creating the table of contents. If linking a library
10281 # or program results in "error TOC overflow" add -mminimal-toc to
10282 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10283 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10286 hardcode_direct=yes
10287 hardcode_direct_absolute=yes
10288 hardcode_libdir_separator=':'
10289 link_all_deplibs=yes
10290 file_list_spec='$wl-f,'
10291 case $with_aix_soname,$aix_use_runtimelinking in
10292 aix,*) ;; # traditional, no import file
10293 svr4,* | *,yes) # use import file
10294 # The Import File defines what to hardcode.
10296 hardcode_direct_absolute=no
10300 if test yes = "$GCC"; then
10301 case $host_os in aix4.[012]|aix4.[012].*)
10302 # We only want to do this on AIX 4.2 and lower, the check
10303 # below for broken collect2 doesn't work under 4.3+
10304 collect2name=`$CC -print-prog-name=collect2`
10305 if test -f "$collect2name" &&
10306 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10308 # We have reworked collect2
10311 # We have old collect2
10312 hardcode_direct=unsupported
10313 # It fails to find uninstalled libraries when the uninstalled
10314 # path is not listed in the libpath. Setting hardcode_minus_L
10315 # to unsupported forces relinking
10316 hardcode_minus_L=yes
10317 hardcode_libdir_flag_spec='-L$libdir'
10318 hardcode_libdir_separator=
10322 shared_flag='-shared'
10323 if test yes = "$aix_use_runtimelinking"; then
10324 shared_flag="$shared_flag "'$wl-G'
10326 # Need to ensure runtime linking is disabled for the traditional
10327 # shared library, or the linker may eventually find shared libraries
10328 # /with/ Import File - we do not want to mix them.
10329 shared_flag_aix='-shared'
10330 shared_flag_svr4='-shared $wl-G'
10333 if test ia64 = "$host_cpu"; then
10334 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10335 # chokes on -Wl,-G. The following line is correct:
10338 if test yes = "$aix_use_runtimelinking"; then
10339 shared_flag='$wl-G'
10341 shared_flag='$wl-bM:SRE'
10343 shared_flag_aix='$wl-bM:SRE'
10344 shared_flag_svr4='$wl-G'
10348 export_dynamic_flag_spec='$wl-bexpall'
10349 # It seems that -bexpall does not export symbols beginning with
10350 # underscore (_), so it is better to generate a list of symbols to export.
10351 always_export_symbols=yes
10352 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10353 # Warning - without using the other runtime loading flags (-brtl),
10354 # -berok will link without error, but may produce a broken library.
10355 allow_undefined_flag='-berok'
10356 # Determine the default libpath from the value encoded in an
10357 # empty executable.
10358 if test set = "${lt_cv_aix_libpath+set}"; then
10359 aix_libpath=$lt_cv_aix_libpath
10361 if ${lt_cv_aix_libpath_+:} false; then :
10362 $as_echo_n "(cached) " >&6
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10375 if ac_fn_c_try_link "$LINENO"; then :
10377 lt_aix_libpath_sed='
10378 /Import File Strings/,/^$/ {
10380 s/^0 *\([^ ]*\) *$/\1/
10384 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10385 # Check for a 64-bit object if we didn't find anything.
10386 if test -z "$lt_cv_aix_libpath_"; then
10387 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 if test -z "$lt_cv_aix_libpath_"; then
10393 lt_cv_aix_libpath_=/usr/lib:/lib
10398 aix_libpath=$lt_cv_aix_libpath_
10401 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10402 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
10404 if test ia64 = "$host_cpu"; then
10405 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10406 allow_undefined_flag="-z nodefs"
10407 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"
10409 # Determine the default libpath from the value encoded in an
10410 # empty executable.
10411 if test set = "${lt_cv_aix_libpath+set}"; then
10412 aix_libpath=$lt_cv_aix_libpath
10414 if ${lt_cv_aix_libpath_+:} false; then :
10415 $as_echo_n "(cached) " >&6
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10428 if ac_fn_c_try_link "$LINENO"; then :
10430 lt_aix_libpath_sed='
10431 /Import File Strings/,/^$/ {
10433 s/^0 *\([^ ]*\) *$/\1/
10437 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10438 # Check for a 64-bit object if we didn't find anything.
10439 if test -z "$lt_cv_aix_libpath_"; then
10440 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10443 rm -f core conftest.err conftest.$ac_objext \
10444 conftest$ac_exeext conftest.$ac_ext
10445 if test -z "$lt_cv_aix_libpath_"; then
10446 lt_cv_aix_libpath_=/usr/lib:/lib
10451 aix_libpath=$lt_cv_aix_libpath_
10454 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10455 # Warning - without using the other run time loading flags,
10456 # -berok will link without error, but may produce a broken library.
10457 no_undefined_flag=' $wl-bernotok'
10458 allow_undefined_flag=' $wl-berok'
10459 if test yes = "$with_gnu_ld"; then
10460 # We only use this code for GNU lds that support --whole-archive.
10461 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10463 # Exported symbols can be pulled into shared objects from archives
10464 whole_archive_flag_spec='$convenience'
10466 archive_cmds_need_lc=yes
10467 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10468 # -brtl affects multiple linker settings, -berok does not and is overridden later
10469 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10470 if test svr4 != "$with_aix_soname"; then
10471 # This is similar to how AIX traditionally builds its shared libraries.
10472 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'
10474 if test aix != "$with_aix_soname"; then
10475 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'
10477 # used by -dlpreopen to get the symbols
10478 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10480 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10488 # see comment about AmigaOS4 .so support
10489 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10490 archive_expsym_cmds=''
10493 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)'
10494 hardcode_libdir_flag_spec='-L$libdir'
10495 hardcode_minus_L=yes
10501 export_dynamic_flag_spec=-rdynamic
10504 cygwin* | mingw* | pw32* | cegcc*)
10505 # When not using gcc, we currently assume that we are using
10506 # Microsoft Visual C++.
10507 # hardcode_libdir_flag_spec is actually meaningless, as there is
10508 # no search path for DLLs.
10509 case $cc_basename in
10512 hardcode_libdir_flag_spec=' '
10513 allow_undefined_flag=unsupported
10514 always_export_symbols=yes
10516 # Tell ltmain to make .lib files, not .a files.
10518 # Tell ltmain to make .dll files, not .so files.
10520 # FIXME: Setting linknames here is a bad hack.
10521 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10522 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10523 cp "$export_symbols" "$output_objdir/$soname.def";
10524 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10526 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10528 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10530 # The linker will not automatically build a static lib if we build a DLL.
10531 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10532 enable_shared_with_static_runtimes=yes
10533 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10534 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10536 old_postinstall_cmds='chmod 644 $oldlib'
10537 postlink_cmds='lt_outputfile="@OUTPUT@"~
10538 lt_tool_outputfile="@TOOL_OUTPUT@"~
10539 case $lt_outputfile in
10542 lt_outputfile=$lt_outputfile.exe
10543 lt_tool_outputfile=$lt_tool_outputfile.exe
10546 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10547 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10548 $RM "$lt_outputfile.manifest";
10552 # Assume MSVC wrapper
10553 hardcode_libdir_flag_spec=' '
10554 allow_undefined_flag=unsupported
10555 # Tell ltmain to make .lib files, not .a files.
10557 # Tell ltmain to make .dll files, not .so files.
10559 # FIXME: Setting linknames here is a bad hack.
10560 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10561 # The linker will automatically build a .lib file if we build a DLL.
10562 old_archive_from_new_cmds='true'
10563 # FIXME: Should let the user specify the lib program.
10564 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10565 enable_shared_with_static_runtimes=yes
10570 darwin* | rhapsody*)
10573 archive_cmds_need_lc=no
10575 hardcode_automatic=yes
10576 hardcode_shlibpath_var=unsupported
10577 if test yes = "$lt_cv_ld_force_load"; then
10578 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\"`'
10581 whole_archive_flag_spec=''
10583 link_all_deplibs=yes
10584 allow_undefined_flag=$_lt_dar_allow_undefined
10585 case $cc_basename in
10586 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10587 *) _lt_dar_can_shared=$GCC ;;
10589 if test yes = "$_lt_dar_can_shared"; then
10590 output_verbose_link_cmd=func_echo_all
10591 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10592 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10593 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"
10594 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"
10603 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10604 hardcode_libdir_flag_spec='-L$libdir'
10605 hardcode_shlibpath_var=no
10608 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10609 # support. Future versions do this automatically, but an explicit c++rt0.o
10610 # does not break anything, and helps significantly (at the cost of a little
10613 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10614 hardcode_libdir_flag_spec='-R$libdir'
10615 hardcode_direct=yes
10616 hardcode_shlibpath_var=no
10619 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10621 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10622 hardcode_direct=yes
10623 hardcode_minus_L=yes
10624 hardcode_shlibpath_var=no
10627 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10628 freebsd* | dragonfly*)
10629 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10630 hardcode_libdir_flag_spec='-R$libdir'
10631 hardcode_direct=yes
10632 hardcode_shlibpath_var=no
10636 if test yes = "$GCC"; then
10637 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'
10639 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'
10641 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10642 hardcode_libdir_separator=:
10643 hardcode_direct=yes
10645 # hardcode_minus_L: Not really in the search PATH,
10646 # but as the default location of the library.
10647 hardcode_minus_L=yes
10648 export_dynamic_flag_spec='$wl-E'
10652 if test yes,no = "$GCC,$with_gnu_ld"; then
10653 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10655 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10657 if test no = "$with_gnu_ld"; then
10658 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10659 hardcode_libdir_separator=:
10660 hardcode_direct=yes
10661 hardcode_direct_absolute=yes
10662 export_dynamic_flag_spec='$wl-E'
10663 # hardcode_minus_L: Not really in the search PATH,
10664 # but as the default location of the library.
10665 hardcode_minus_L=yes
10670 if test yes,no = "$GCC,$with_gnu_ld"; then
10673 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10679 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10692 # Older versions of the 11.00 compiler do not understand -b yet
10693 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10695 $as_echo_n "checking if $CC understands -b... " >&6; }
10696 if ${lt_cv_prog_compiler__b+:} false; then :
10697 $as_echo_n "(cached) " >&6
10699 lt_cv_prog_compiler__b=no
10700 save_LDFLAGS=$LDFLAGS
10701 LDFLAGS="$LDFLAGS -b"
10702 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10703 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10704 # The linker can only warn and ignore the option if not recognized
10705 # So say no if there are warnings
10706 if test -s conftest.err; then
10707 # Append any errors to the config.log.
10708 cat conftest.err 1>&5
10709 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10710 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10711 if diff conftest.exp conftest.er2 >/dev/null; then
10712 lt_cv_prog_compiler__b=yes
10715 lt_cv_prog_compiler__b=yes
10719 LDFLAGS=$save_LDFLAGS
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10723 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10725 if test yes = "$lt_cv_prog_compiler__b"; then
10726 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10728 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10734 if test no = "$with_gnu_ld"; then
10735 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10736 hardcode_libdir_separator=:
10741 hardcode_shlibpath_var=no
10744 hardcode_direct=yes
10745 hardcode_direct_absolute=yes
10746 export_dynamic_flag_spec='$wl-E'
10748 # hardcode_minus_L: Not really in the search PATH,
10749 # but as the default location of the library.
10750 hardcode_minus_L=yes
10756 irix5* | irix6* | nonstopux*)
10757 if test yes = "$GCC"; then
10758 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'
10759 # Try to use the -exported_symbol ld option, if it does not
10760 # work, assume that -exports_file does not work either and
10761 # implicitly export all symbols.
10762 # This should be the same for all languages, so no per-tag cache variable.
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10764 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10765 if ${lt_cv_irix_exported_symbol+:} false; then :
10766 $as_echo_n "(cached) " >&6
10768 save_LDFLAGS=$LDFLAGS
10769 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10772 int foo (void) { return 0; }
10774 if ac_fn_c_try_link "$LINENO"; then :
10775 lt_cv_irix_exported_symbol=yes
10777 lt_cv_irix_exported_symbol=no
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LDFLAGS=$save_LDFLAGS
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10784 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10785 if test yes = "$lt_cv_irix_exported_symbol"; then
10786 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'
10789 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'
10790 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'
10792 archive_cmds_need_lc='no'
10793 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10794 hardcode_libdir_separator=:
10796 link_all_deplibs=yes
10800 case $cc_basename in
10802 # Fabrice Bellard et al's Tiny C Compiler
10804 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10810 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10811 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10813 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10815 hardcode_libdir_flag_spec='-R$libdir'
10816 hardcode_direct=yes
10817 hardcode_shlibpath_var=no
10821 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10822 hardcode_direct=yes
10823 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10824 hardcode_libdir_separator=:
10825 hardcode_shlibpath_var=no
10831 openbsd* | bitrig*)
10832 if test -f /usr/libexec/ld.so; then
10833 hardcode_direct=yes
10834 hardcode_shlibpath_var=no
10835 hardcode_direct_absolute=yes
10836 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10837 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10839 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10840 export_dynamic_flag_spec='$wl-E'
10842 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10843 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10851 hardcode_libdir_flag_spec='-L$libdir'
10852 hardcode_minus_L=yes
10853 allow_undefined_flag=unsupported
10855 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10856 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10857 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10858 $ECHO EXPORTS >> $output_objdir/$libname.def~
10859 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10860 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10861 emximp -o $lib $output_objdir/$libname.def'
10862 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10863 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10864 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10865 $ECHO EXPORTS >> $output_objdir/$libname.def~
10866 prefix_cmds="$SED"~
10867 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10868 prefix_cmds="$prefix_cmds -e 1d";
10870 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10871 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10872 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10873 emximp -o $lib $output_objdir/$libname.def'
10874 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10875 enable_shared_with_static_runtimes=yes
10879 if test yes = "$GCC"; then
10880 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10881 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'
10883 allow_undefined_flag=' -expect_unresolved \*'
10884 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'
10886 archive_cmds_need_lc='no'
10887 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10888 hardcode_libdir_separator=:
10891 osf4* | osf5*) # as osf3* with the addition of -msym flag
10892 if test yes = "$GCC"; then
10893 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10894 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'
10895 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10897 allow_undefined_flag=' -expect_unresolved \*'
10898 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'
10899 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~
10900 $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'
10902 # Both c and cxx compiler support -rpath directly
10903 hardcode_libdir_flag_spec='-rpath $libdir'
10905 archive_cmds_need_lc='no'
10906 hardcode_libdir_separator=:
10910 no_undefined_flag=' -z defs'
10911 if test yes = "$GCC"; then
10913 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10915 $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'
10917 case `$CC -V 2>&1` in
10920 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10921 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10922 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10926 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10928 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10932 hardcode_libdir_flag_spec='-R$libdir'
10933 hardcode_shlibpath_var=no
10935 solaris2.[0-5] | solaris2.[0-5].*) ;;
10937 # The compiler driver will combine and reorder linker options,
10938 # but understands '-z linker_flag'. GCC discards it without '$wl',
10939 # but is careful enough not to reorder.
10940 # Supported since Solaris 2.6 (maybe 2.5.1?)
10941 if test yes = "$GCC"; then
10942 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10944 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10948 link_all_deplibs=yes
10952 if test sequent = "$host_vendor"; then
10953 # Use $CC to link under sequent, because it throws in some extra .o
10954 # files that make .init and .fini sections work.
10955 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10957 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10959 hardcode_libdir_flag_spec='-L$libdir'
10960 hardcode_direct=yes
10961 hardcode_minus_L=yes
10962 hardcode_shlibpath_var=no
10966 case $host_vendor in
10968 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10969 hardcode_direct=yes # is this really true???
10972 ## LD is ld it makes a PLAMLIB
10973 ## CC just makes a GrossModule.
10974 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10975 reload_cmds='$CC -r -o $output$reload_objs'
10979 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10980 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10983 runpath_var='LD_RUN_PATH'
10984 hardcode_shlibpath_var=no
10988 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10989 hardcode_shlibpath_var=no
10990 export_dynamic_flag_spec='-Bexport'
10994 if test -d /usr/nec; then
10995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10996 hardcode_shlibpath_var=no
10997 runpath_var=LD_RUN_PATH
10998 hardcode_runpath_var=yes
11003 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11004 no_undefined_flag='$wl-z,text'
11005 archive_cmds_need_lc=no
11006 hardcode_shlibpath_var=no
11007 runpath_var='LD_RUN_PATH'
11009 if test yes = "$GCC"; then
11010 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11011 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11013 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11014 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11018 sysv5* | sco3.2v5* | sco5v6*)
11019 # Note: We CANNOT use -z defs as we might desire, because we do not
11020 # link with -lc, and that would cause any symbols used from libc to
11021 # always be unresolved, which means just about no library would
11022 # ever link correctly. If we're not using GNU ld we use -z text
11023 # though, which does catch some bad symbols but isn't as heavy-handed
11025 no_undefined_flag='$wl-z,text'
11026 allow_undefined_flag='$wl-z,nodefs'
11027 archive_cmds_need_lc=no
11028 hardcode_shlibpath_var=no
11029 hardcode_libdir_flag_spec='$wl-R,$libdir'
11030 hardcode_libdir_separator=':'
11031 link_all_deplibs=yes
11032 export_dynamic_flag_spec='$wl-Bexport'
11033 runpath_var='LD_RUN_PATH'
11035 if test yes = "$GCC"; then
11036 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11037 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11039 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11040 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11046 hardcode_libdir_flag_spec='-L$libdir'
11047 hardcode_shlibpath_var=no
11055 if test sni = "$host_vendor"; then
11057 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11058 export_dynamic_flag_spec='$wl-Blargedynsym'
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11065 $as_echo "$ld_shlibs" >&6; }
11066 test no = "$ld_shlibs" && can_build_shared=no
11068 with_gnu_ld=$with_gnu_ld
11085 # Do we need to explicitly link libc?
11087 case "x$archive_cmds_need_lc" in
11089 # Assume -lc should be added
11090 archive_cmds_need_lc=yes
11092 if test yes,yes = "$GCC,$enable_shared"; then
11093 case $archive_cmds in
11095 # FIXME: we may have to deal with multi-command sequences.
11098 # Test whether the compiler implicitly links with -lc since on some
11099 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11100 # to ld, don't add -lc before -lgcc.
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11102 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11103 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11104 $as_echo_n "(cached) " >&6
11107 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11110 (eval $ac_compile) 2>&5
11112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11113 test $ac_status = 0; } 2>conftest.err; then
11116 libobjs=conftest.$ac_objext
11118 wl=$lt_prog_compiler_wl
11119 pic_flag=$lt_prog_compiler_pic
11125 lt_save_allow_undefined_flag=$allow_undefined_flag
11126 allow_undefined_flag=
11127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11128 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11131 test $ac_status = 0; }
11133 lt_cv_archive_cmds_need_lc=no
11135 lt_cv_archive_cmds_need_lc=yes
11137 allow_undefined_flag=$lt_save_allow_undefined_flag
11139 cat conftest.err 1>&5
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11145 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11146 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11305 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11307 if test yes = "$GCC"; then
11309 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11310 *) lt_awk_arg='/^libraries:/' ;;
11313 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11314 *) lt_sed_strip_eq='s|=/|/|g' ;;
11316 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11317 case $lt_search_path_spec in
11319 # if the path contains ";" then we assume it to be the separator
11320 # otherwise default to the standard path separator (i.e. ":") - it is
11321 # assumed that no part of a normal pathname contains ";" but that should
11322 # okay in the real world where ";" in dirpaths is itself problematic.
11323 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11326 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11329 # Ok, now we have the path, separated by spaces, we can step through it
11330 # and add multilib dir if necessary...
11331 lt_tmp_lt_search_path_spec=
11332 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11333 # ...but if some path component already ends with the multilib dir we assume
11334 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11335 case "$lt_multi_os_dir; $lt_search_path_spec " in
11336 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11340 for lt_sys_path in $lt_search_path_spec; do
11341 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11342 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11343 elif test -n "$lt_multi_os_dir"; then
11344 test -d "$lt_sys_path" && \
11345 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11348 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11349 BEGIN {RS = " "; FS = "/|\n";} {
11352 for (lt_i = NF; lt_i > 0; lt_i--) {
11353 if ($lt_i != "" && $lt_i != ".") {
11354 if ($lt_i == "..") {
11357 if (lt_count == 0) {
11358 lt_foo = "/" $lt_i lt_foo;
11365 if (lt_foo != "") { lt_freq[lt_foo]++; }
11366 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11368 # AWK program above erroneously prepends '/' to C:/dos/paths
11371 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11372 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11374 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11376 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11378 library_names_spec=
11379 libname_spec='lib$name'
11383 postuninstall_cmds=
11387 shlibpath_overrides_runpath=unknown
11389 dynamic_linker="$host_os ld.so"
11390 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11391 need_lib_prefix=unknown
11392 hardcode_into_libs=no
11394 # when you set need_version to no, make sure it does not cause -set_version
11395 # flags to be left without arguments
11396 need_version=unknown
11402 version_type=linux # correct to gnu/linux during the next big refactor
11403 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11404 shlibpath_var=LIBPATH
11406 # AIX 3 has no versioning support, so we append a major version to the name.
11407 soname_spec='$libname$release$shared_ext$major'
11411 version_type=linux # correct to gnu/linux during the next big refactor
11414 hardcode_into_libs=yes
11415 if test ia64 = "$host_cpu"; then
11416 # AIX 5 supports IA64
11417 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11418 shlibpath_var=LD_LIBRARY_PATH
11420 # With GCC up to 2.95.x, collect2 would create an import file
11421 # for dependence libraries. The import file would start with
11422 # the line '#! .'. This would cause the generated library to
11423 # depend on '.', always an invalid library. This was fixed in
11424 # development snapshots of GCC prior to 3.0.
11426 aix4 | aix4.[01] | aix4.[01].*)
11427 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11429 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11432 can_build_shared=no
11436 # Using Import Files as archive members, it is possible to support
11437 # filename-based versioning of shared library archives on AIX. While
11438 # this would work for both with and without runtime linking, it will
11439 # prevent static linking of such archives. So we do filename-based
11440 # shared library versioning with .so extension only, which is used
11441 # when both runtime linking and shared linking is enabled.
11442 # Unfortunately, runtime linking may impact performance, so we do
11443 # not want this to be the default eventually. Also, we use the
11444 # versioned .so libs for executables only if there is the -brtl
11445 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11446 # To allow for filename-based versioning support, we need to create
11447 # libNAME.so.V as an archive file, containing:
11448 # *) an Import File, referring to the versioned filename of the
11449 # archive as well as the shared archive member, telling the
11450 # bitwidth (32 or 64) of that shared object, and providing the
11451 # list of exported symbols of that shared object, eventually
11452 # decorated with the 'weak' keyword
11453 # *) the shared object with the F_LOADONLY flag set, to really avoid
11454 # it being seen by the linker.
11455 # At run time we better use the real file rather than another symlink,
11456 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11458 case $with_aix_soname,$aix_use_runtimelinking in
11459 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11460 # soname into executable. Probably we can add versioning support to
11461 # collect2, so additional links can be useful in future.
11462 aix,yes) # traditional libtool
11463 dynamic_linker='AIX unversionable lib.so'
11464 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11465 # instead of lib<name>.a to let people know that these are not
11466 # typical AIX shared libraries.
11467 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11469 aix,no) # traditional AIX only
11470 dynamic_linker='AIX lib.a(lib.so.V)'
11471 # We preserve .a as extension for shared libraries through AIX4.2
11472 # and later when we are not doing run time linking.
11473 library_names_spec='$libname$release.a $libname.a'
11474 soname_spec='$libname$release$shared_ext$major'
11476 svr4,*) # full svr4 only
11477 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11478 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11479 # We do not specify a path in Import Files, so LIBPATH fires.
11480 shlibpath_overrides_runpath=yes
11482 *,yes) # both, prefer svr4
11483 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11484 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11485 # unpreferred sharedlib libNAME.a needs extra handling
11486 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"'
11487 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"'
11488 # We do not specify a path in Import Files, so LIBPATH fires.
11489 shlibpath_overrides_runpath=yes
11491 *,no) # both, prefer aix
11492 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11493 library_names_spec='$libname$release.a $libname.a'
11494 soname_spec='$libname$release$shared_ext$major'
11495 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11496 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)'
11497 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"'
11500 shlibpath_var=LIBPATH
11507 # Since July 2007 AmigaOS4 officially supports .so libraries.
11508 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11509 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11512 library_names_spec='$libname.ixlibrary $libname.a'
11513 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11514 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'
11520 library_names_spec='$libname$shared_ext'
11521 dynamic_linker="$host_os ld.so"
11522 shlibpath_var=LIBRARY_PATH
11526 version_type=linux # correct to gnu/linux during the next big refactor
11528 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11529 soname_spec='$libname$release$shared_ext$major'
11530 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11531 shlibpath_var=LD_LIBRARY_PATH
11532 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11533 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11534 # the default ld.so.conf also contains /usr/contrib/lib and
11535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11536 # libtool to hard-code these into programs
11539 cygwin* | mingw* | pw32* | cegcc*)
11540 version_type=windows
11545 case $GCC,$cc_basename in
11548 library_names_spec='$libname.dll.a'
11549 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11550 postinstall_cmds='base_file=`basename \$file`~
11551 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11552 dldir=$destdir/`dirname \$dlpath`~
11553 test -d \$dldir || mkdir -p \$dldir~
11554 $install_prog $dir/$dlname \$dldir/$dlname~
11555 chmod a+x \$dldir/$dlname~
11556 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11557 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11559 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11560 dlpath=$dir/\$dldll~
11562 shlibpath_overrides_runpath=yes
11566 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11567 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11569 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11572 # MinGW DLLs use traditional 'lib' prefix
11573 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11576 # pw32 DLLs use 'pw' prefix rather than 'lib'
11577 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11580 dynamic_linker='Win32 ld.exe'
11585 libname_spec='$name'
11586 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11587 library_names_spec='$libname.dll.lib'
11591 sys_lib_search_path_spec=
11594 for lt_path in $LIB
11597 # Let DOS variable expansion print the short 8.3 style file name.
11598 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11599 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11602 # Convert to MSYS style.
11603 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11606 # Convert to unix form, then to dos form, then back to unix form
11607 # but this time dos style (no spaces!) so that the unix form looks
11608 # like /cygdrive/c/PROGRA~1:/cygdr...
11609 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11610 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11611 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11614 sys_lib_search_path_spec=$LIB
11615 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11616 # It is most probably a Windows format PATH.
11617 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11619 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11621 # FIXME: find the short name or the path components, as spaces are
11622 # common. (e.g. "Program Files" -> "PROGRA~1")
11626 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11627 postinstall_cmds='base_file=`basename \$file`~
11628 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11629 dldir=$destdir/`dirname \$dlpath`~
11630 test -d \$dldir || mkdir -p \$dldir~
11631 $install_prog $dir/$dlname \$dldir/$dlname'
11632 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11633 dlpath=$dir/\$dldll~
11635 shlibpath_overrides_runpath=yes
11636 dynamic_linker='Win32 link.exe'
11640 # Assume MSVC wrapper
11641 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11642 dynamic_linker='Win32 ld.exe'
11645 # FIXME: first we should search . and the directory the executable is in
11649 darwin* | rhapsody*)
11650 dynamic_linker="$host_os dyld"
11651 version_type=darwin
11654 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11655 soname_spec='$libname$release$major$shared_ext'
11656 shlibpath_overrides_runpath=yes
11657 shlibpath_var=DYLD_LIBRARY_PATH
11658 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11660 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11661 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11665 version_type=linux # correct to gnu/linux during the next big refactor
11668 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11669 soname_spec='$libname$release$shared_ext$major'
11670 shlibpath_var=LD_LIBRARY_PATH
11673 freebsd* | dragonfly*)
11674 # DragonFly does not have aout. When/if they implement a new
11675 # versioning mechanism, adjust this.
11676 if test -x /usr/bin/objformat; then
11677 objformat=`/usr/bin/objformat`
11680 freebsd[23].*) objformat=aout ;;
11681 *) objformat=elf ;;
11684 version_type=freebsd-$objformat
11685 case $version_type in
11687 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11688 soname_spec='$libname$release$shared_ext$major'
11693 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11697 shlibpath_var=LD_LIBRARY_PATH
11700 shlibpath_overrides_runpath=yes
11702 freebsd3.[01]* | freebsdelf3.[01]*)
11703 shlibpath_overrides_runpath=yes
11704 hardcode_into_libs=yes
11706 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11707 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11708 shlibpath_overrides_runpath=no
11709 hardcode_into_libs=yes
11711 *) # from 4.6 on, and DragonFly
11712 shlibpath_overrides_runpath=yes
11713 hardcode_into_libs=yes
11719 version_type=linux # correct to gnu/linux during the next big refactor
11722 dynamic_linker="$host_os runtime_loader"
11723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11724 soname_spec='$libname$release$shared_ext$major'
11725 shlibpath_var=LIBRARY_PATH
11726 shlibpath_overrides_runpath=no
11727 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11728 hardcode_into_libs=yes
11731 hpux9* | hpux10* | hpux11*)
11732 # Give a soname corresponding to the major version so that dld.sl refuses to
11733 # link against other versions.
11740 hardcode_into_libs=yes
11741 dynamic_linker="$host_os dld.so"
11742 shlibpath_var=LD_LIBRARY_PATH
11743 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11745 soname_spec='$libname$release$shared_ext$major'
11746 if test 32 = "$HPUX_IA64_MODE"; then
11747 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11748 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11750 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11751 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11756 hardcode_into_libs=yes
11757 dynamic_linker="$host_os dld.sl"
11758 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11759 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11760 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11761 soname_spec='$libname$release$shared_ext$major'
11762 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11763 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11767 dynamic_linker="$host_os dld.sl"
11768 shlibpath_var=SHLIB_PATH
11769 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11770 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11771 soname_spec='$libname$release$shared_ext$major'
11774 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11775 postinstall_cmds='chmod 555 $lib'
11776 # or fails outright, so override atomically:
11777 install_override_mode=555
11781 version_type=linux # correct to gnu/linux during the next big refactor
11784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11785 soname_spec='$libname$release$shared_ext$major'
11786 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11787 shlibpath_var=LD_LIBRARY_PATH
11788 shlibpath_overrides_runpath=no
11789 hardcode_into_libs=yes
11792 irix5* | irix6* | nonstopux*)
11794 nonstopux*) version_type=nonstopux ;;
11796 if test yes = "$lt_cv_prog_gnu_ld"; then
11797 version_type=linux # correct to gnu/linux during the next big refactor
11804 soname_spec='$libname$release$shared_ext$major'
11805 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11807 irix5* | nonstopux*)
11808 libsuff= shlibsuff=
11811 case $LD in # libtool.m4 will add one of these switches to LD
11812 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11813 libsuff= shlibsuff= libmagic=32-bit;;
11814 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11815 libsuff=32 shlibsuff=N32 libmagic=N32;;
11816 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11817 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11818 *) libsuff= shlibsuff= libmagic=never-match;;
11822 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11823 shlibpath_overrides_runpath=no
11824 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11825 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11826 hardcode_into_libs=yes
11829 # No shared lib support for Linux oldld, aout, or coff.
11830 linux*oldld* | linux*aout* | linux*coff*)
11835 version_type=none # Android doesn't support versioned libraries.
11838 library_names_spec='$libname$release$shared_ext'
11839 soname_spec='$libname$release$shared_ext'
11841 shlibpath_var=LD_LIBRARY_PATH
11842 shlibpath_overrides_runpath=yes
11844 # This implies no fast_install, which is unacceptable.
11845 # Some rework will be needed to allow for fast_install
11846 # before this can be enabled.
11847 hardcode_into_libs=yes
11849 dynamic_linker='Android linker'
11850 # Don't embed -rpath directories since the linker doesn't support them.
11851 hardcode_libdir_flag_spec='-L$libdir'
11854 # This must be glibc/ELF.
11855 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11856 version_type=linux # correct to gnu/linux during the next big refactor
11859 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11860 soname_spec='$libname$release$shared_ext$major'
11861 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11862 shlibpath_var=LD_LIBRARY_PATH
11863 shlibpath_overrides_runpath=no
11865 # Some binutils ld are patched to set DT_RUNPATH
11866 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11867 $as_echo_n "(cached) " >&6
11869 lt_cv_shlibpath_overrides_runpath=no
11870 save_LDFLAGS=$LDFLAGS
11871 save_libdir=$libdir
11872 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11873 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11885 if ac_fn_c_try_link "$LINENO"; then :
11886 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11887 lt_cv_shlibpath_overrides_runpath=yes
11890 rm -f core conftest.err conftest.$ac_objext \
11891 conftest$ac_exeext conftest.$ac_ext
11892 LDFLAGS=$save_LDFLAGS
11893 libdir=$save_libdir
11897 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11899 # This implies no fast_install, which is unacceptable.
11900 # Some rework will be needed to allow for fast_install
11901 # before this can be enabled.
11902 hardcode_into_libs=yes
11904 # Ideally, we could use ldconfig to report *all* directores which are
11905 # searched for libraries, however this is still not possible. Aside from not
11906 # being certain /sbin/ldconfig is available, command
11907 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11908 # even though it is searched at run-time. Try to do the best guess by
11909 # appending ld.so.conf contents (and includes) to the search path.
11910 if test -f /etc/ld.so.conf; then
11911 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' ' '`
11912 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11915 # We used to test for /lib/ld.so.1 and disable shared libraries on
11916 # powerpc, because MkLinux only supported shared libraries with the
11917 # GNU dynamic linker. Since this was broken with cross compilers,
11918 # most powerpc-linux boxes support dynamic linking these days and
11919 # people can always --disable-shared, the test was removed, and we
11920 # assume the GNU/Linux dynamic linker is in use.
11921 dynamic_linker='GNU/Linux ld.so'
11928 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11929 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11931 dynamic_linker='NetBSD (a.out) ld.so'
11933 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11934 soname_spec='$libname$release$shared_ext$major'
11935 dynamic_linker='NetBSD ld.elf_so'
11937 shlibpath_var=LD_LIBRARY_PATH
11938 shlibpath_overrides_runpath=yes
11939 hardcode_into_libs=yes
11943 version_type=linux # correct to gnu/linux during the next big refactor
11944 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11945 shlibpath_var=LD_LIBRARY_PATH
11946 shlibpath_overrides_runpath=yes
11953 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11954 soname_spec='$libname$release$shared_ext$major'
11955 shlibpath_var=LD_LIBRARY_PATH
11956 shlibpath_overrides_runpath=no
11957 hardcode_into_libs=yes
11958 dynamic_linker='ldqnx.so'
11961 openbsd* | bitrig*)
11963 sys_lib_dlsearch_path_spec=/usr/lib
11965 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11970 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11971 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11972 shlibpath_var=LD_LIBRARY_PATH
11973 shlibpath_overrides_runpath=yes
11977 libname_spec='$name'
11978 version_type=windows
11982 # OS/2 can only load a DLL with a base name of 8 characters or less.
11983 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11984 v=$($ECHO $release$versuffix | tr -d .-);
11985 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11986 $ECHO $n$v`$shared_ext'
11987 library_names_spec='${libname}_dll.$libext'
11988 dynamic_linker='OS/2 ld.exe'
11989 shlibpath_var=BEGINLIBPATH
11990 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11991 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11992 postinstall_cmds='base_file=`basename \$file`~
11993 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11994 dldir=$destdir/`dirname \$dlpath`~
11995 test -d \$dldir || mkdir -p \$dldir~
11996 $install_prog $dir/$dlname \$dldir/$dlname~
11997 chmod a+x \$dldir/$dlname~
11998 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11999 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12001 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12002 dlpath=$dir/\$dldll~
12006 osf3* | osf4* | osf5*)
12010 soname_spec='$libname$release$shared_ext$major'
12011 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12012 shlibpath_var=LD_LIBRARY_PATH
12013 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12014 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12022 version_type=linux # correct to gnu/linux during the next big refactor
12025 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12026 soname_spec='$libname$release$shared_ext$major'
12027 shlibpath_var=LD_LIBRARY_PATH
12028 shlibpath_overrides_runpath=yes
12029 hardcode_into_libs=yes
12030 # ldd complains unless libraries are executable
12031 postinstall_cmds='chmod +x $lib'
12036 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12037 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12038 shlibpath_var=LD_LIBRARY_PATH
12039 shlibpath_overrides_runpath=yes
12040 if test yes = "$with_gnu_ld"; then
12047 version_type=linux # correct to gnu/linux during the next big refactor
12048 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12049 soname_spec='$libname$release$shared_ext$major'
12050 shlibpath_var=LD_LIBRARY_PATH
12051 case $host_vendor in
12053 shlibpath_overrides_runpath=no
12055 runpath_var=LD_RUN_PATH
12063 shlibpath_overrides_runpath=no
12064 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12070 if test -d /usr/nec; then
12071 version_type=linux # correct to gnu/linux during the next big refactor
12072 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12073 soname_spec='$libname$shared_ext.$major'
12074 shlibpath_var=LD_LIBRARY_PATH
12078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12082 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12083 soname_spec='$libname$release$shared_ext$major'
12084 shlibpath_var=LD_LIBRARY_PATH
12085 shlibpath_overrides_runpath=yes
12086 hardcode_into_libs=yes
12087 if test yes = "$with_gnu_ld"; then
12088 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12090 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12093 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12097 sys_lib_dlsearch_path_spec='/usr/lib'
12101 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12102 version_type=linux # correct to gnu/linux during the next big refactor
12105 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12106 shlibpath_var=LD_LIBRARY_PATH
12107 shlibpath_overrides_runpath=no
12108 hardcode_into_libs=yes
12112 version_type=linux # correct to gnu/linux during the next big refactor
12113 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12114 soname_spec='$libname$release$shared_ext$major'
12115 shlibpath_var=LD_LIBRARY_PATH
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12123 $as_echo "$dynamic_linker" >&6; }
12124 test no = "$dynamic_linker" && can_build_shared=no
12126 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12127 if test yes = "$GCC"; then
12128 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12131 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12132 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12135 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12136 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12139 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12140 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12142 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12143 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12145 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12146 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12245 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12247 if test -n "$hardcode_libdir_flag_spec" ||
12248 test -n "$runpath_var" ||
12249 test yes = "$hardcode_automatic"; then
12251 # We can hardcode non-existent directories.
12252 if test no != "$hardcode_direct" &&
12253 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12254 # have to relink, otherwise we might link with an installed library
12255 # when we should be linking with a yet-to-be-installed one
12256 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12257 test no != "$hardcode_minus_L"; then
12258 # Linking always hardcodes the temporary library directory.
12259 hardcode_action=relink
12261 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12262 hardcode_action=immediate
12265 # We cannot hardcode anything, or else we can only hardcode existing
12267 hardcode_action=unsupported
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12270 $as_echo "$hardcode_action" >&6; }
12272 if test relink = "$hardcode_action" ||
12273 test yes = "$inherit_rpath"; then
12274 # Fast installation is not supported
12275 enable_fast_install=no
12276 elif test yes = "$shlibpath_overrides_runpath" ||
12277 test no = "$enable_shared"; then
12278 # Fast installation is not necessary
12279 enable_fast_install=needless
12287 if test yes != "$enable_dlopen"; then
12288 enable_dlopen=unknown
12289 enable_dlopen_self=unknown
12290 enable_dlopen_self_static=unknown
12297 lt_cv_dlopen=load_add_on
12299 lt_cv_dlopen_self=yes
12302 mingw* | pw32* | cegcc*)
12303 lt_cv_dlopen=LoadLibrary
12308 lt_cv_dlopen=dlopen
12313 # if libdl is installed we need to link against it
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12315 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12316 if ${ac_cv_lib_dl_dlopen+:} false; then :
12317 $as_echo_n "(cached) " >&6
12319 ac_check_lib_save_LIBS=$LIBS
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 ac_cv_lib_dl_dlopen=yes
12342 ac_cv_lib_dl_dlopen=no
12344 rm -f core conftest.err conftest.$ac_objext \
12345 conftest$ac_exeext conftest.$ac_ext
12346 LIBS=$ac_check_lib_save_LIBS
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12349 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12350 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12351 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12356 lt_cv_dlopen_self=yes
12363 # Don't try to run any link tests for TPF. We know it's impossible
12364 # because TPF is a cross-compiler, and we know how we open DSOs.
12365 lt_cv_dlopen=dlopen
12367 lt_cv_dlopen_self=no
12371 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12372 if test "x$ac_cv_func_shl_load" = xyes; then :
12373 lt_cv_dlopen=shl_load
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12376 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12377 if ${ac_cv_lib_dld_shl_load+:} false; then :
12378 $as_echo_n "(cached) " >&6
12380 ac_check_lib_save_LIBS=$LIBS
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 /* Override any GCC internal prototype to avoid an error.
12386 Use char because int might match the return type of a GCC
12387 builtin and then its argument prototype would still apply. */
12395 return shl_load ();
12400 if ac_fn_c_try_link "$LINENO"; then :
12401 ac_cv_lib_dld_shl_load=yes
12403 ac_cv_lib_dld_shl_load=no
12405 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 LIBS=$ac_check_lib_save_LIBS
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12410 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12411 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12412 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12414 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12415 if test "x$ac_cv_func_dlopen" = xyes; then :
12416 lt_cv_dlopen=dlopen
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12419 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12420 if ${ac_cv_lib_dl_dlopen+:} false; then :
12421 $as_echo_n "(cached) " >&6
12423 ac_check_lib_save_LIBS=$LIBS
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12443 if ac_fn_c_try_link "$LINENO"; then :
12444 ac_cv_lib_dl_dlopen=yes
12446 ac_cv_lib_dl_dlopen=no
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_lib_save_LIBS
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12453 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12454 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12455 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12458 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12459 if ${ac_cv_lib_svld_dlopen+:} false; then :
12460 $as_echo_n "(cached) " >&6
12462 ac_check_lib_save_LIBS=$LIBS
12463 LIBS="-lsvld $LIBS"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12482 if ac_fn_c_try_link "$LINENO"; then :
12483 ac_cv_lib_svld_dlopen=yes
12485 ac_cv_lib_svld_dlopen=no
12487 rm -f core conftest.err conftest.$ac_objext \
12488 conftest$ac_exeext conftest.$ac_ext
12489 LIBS=$ac_check_lib_save_LIBS
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12492 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12493 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12494 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12497 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12498 if ${ac_cv_lib_dld_dld_link+:} false; then :
12499 $as_echo_n "(cached) " >&6
12501 ac_check_lib_save_LIBS=$LIBS
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12506 /* Override any GCC internal prototype to avoid an error.
12507 Use char because int might match the return type of a GCC
12508 builtin and then its argument prototype would still apply. */
12516 return dld_link ();
12521 if ac_fn_c_try_link "$LINENO"; then :
12522 ac_cv_lib_dld_dld_link=yes
12524 ac_cv_lib_dld_dld_link=no
12526 rm -f core conftest.err conftest.$ac_objext \
12527 conftest$ac_exeext conftest.$ac_ext
12528 LIBS=$ac_check_lib_save_LIBS
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12531 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12532 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12533 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12554 if test no = "$lt_cv_dlopen"; then
12560 case $lt_cv_dlopen in
12562 save_CPPFLAGS=$CPPFLAGS
12563 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12565 save_LDFLAGS=$LDFLAGS
12566 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12569 LIBS="$lt_cv_dlopen_libs $LIBS"
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12572 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12573 if ${lt_cv_dlopen_self+:} false; then :
12574 $as_echo_n "(cached) " >&6
12576 if test yes = "$cross_compiling"; then :
12577 lt_cv_dlopen_self=cross
12579 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12580 lt_status=$lt_dlunknown
12581 cat > conftest.$ac_ext <<_LT_EOF
12582 #line $LINENO "configure"
12583 #include "confdefs.h"
12592 # define LT_DLGLOBAL RTLD_GLOBAL
12595 # define LT_DLGLOBAL DL_GLOBAL
12597 # define LT_DLGLOBAL 0
12601 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12602 find out it does not work in some platform. */
12603 #ifndef LT_DLLAZY_OR_NOW
12605 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12608 # define LT_DLLAZY_OR_NOW DL_LAZY
12611 # define LT_DLLAZY_OR_NOW RTLD_NOW
12614 # define LT_DLLAZY_OR_NOW DL_NOW
12616 # define LT_DLLAZY_OR_NOW 0
12623 /* When -fvisibility=hidden is used, assume the code has been annotated
12624 correspondingly for the symbols needed. */
12625 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12626 int fnord () __attribute__((visibility("default")));
12629 int fnord () { return 42; }
12632 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12633 int status = $lt_dlunknown;
12637 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12640 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12641 else puts (dlerror ());
12643 /* dlclose (self); */
12651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12652 (eval $ac_link) 2>&5
12654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12655 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12656 (./conftest; exit; ) >&5 2>/dev/null
12658 case x$lt_status in
12659 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12660 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12661 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12664 # compilation failed
12665 lt_cv_dlopen_self=no
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12673 $as_echo "$lt_cv_dlopen_self" >&6; }
12675 if test yes = "$lt_cv_dlopen_self"; then
12676 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12678 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12679 if ${lt_cv_dlopen_self_static+:} false; then :
12680 $as_echo_n "(cached) " >&6
12682 if test yes = "$cross_compiling"; then :
12683 lt_cv_dlopen_self_static=cross
12685 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12686 lt_status=$lt_dlunknown
12687 cat > conftest.$ac_ext <<_LT_EOF
12688 #line $LINENO "configure"
12689 #include "confdefs.h"
12698 # define LT_DLGLOBAL RTLD_GLOBAL
12701 # define LT_DLGLOBAL DL_GLOBAL
12703 # define LT_DLGLOBAL 0
12707 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12708 find out it does not work in some platform. */
12709 #ifndef LT_DLLAZY_OR_NOW
12711 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12714 # define LT_DLLAZY_OR_NOW DL_LAZY
12717 # define LT_DLLAZY_OR_NOW RTLD_NOW
12720 # define LT_DLLAZY_OR_NOW DL_NOW
12722 # define LT_DLLAZY_OR_NOW 0
12729 /* When -fvisibility=hidden is used, assume the code has been annotated
12730 correspondingly for the symbols needed. */
12731 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12732 int fnord () __attribute__((visibility("default")));
12735 int fnord () { return 42; }
12738 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12739 int status = $lt_dlunknown;
12743 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12746 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12747 else puts (dlerror ());
12749 /* dlclose (self); */
12757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12758 (eval $ac_link) 2>&5
12760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12761 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12762 (./conftest; exit; ) >&5 2>/dev/null
12764 case x$lt_status in
12765 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12766 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12767 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12770 # compilation failed
12771 lt_cv_dlopen_self_static=no
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12779 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12782 CPPFLAGS=$save_CPPFLAGS
12783 LDFLAGS=$save_LDFLAGS
12788 case $lt_cv_dlopen_self in
12789 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12790 *) enable_dlopen_self=unknown ;;
12793 case $lt_cv_dlopen_self_static in
12794 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12795 *) enable_dlopen_self_static=unknown ;;
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12818 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12819 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12820 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12821 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12823 $as_echo "yes" >&6; }
12825 # FIXME - insert some real tests, host_os isn't really good enough
12828 if test -n "$STRIP"; then
12829 striplib="$STRIP -x"
12830 old_striplib="$STRIP -S"
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12832 $as_echo "yes" >&6; }
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12835 $as_echo "no" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 $as_echo "no" >&6; }
12856 # Report what library types will actually be built
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12858 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12860 $as_echo "$can_build_shared" >&6; }
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12863 $as_echo_n "checking whether to build shared libraries... " >&6; }
12864 test no = "$can_build_shared" && enable_shared=no
12866 # On AIX, shared libraries and static libraries use the same namespace, and
12867 # are all built from PIC.
12870 test yes = "$enable_shared" && enable_static=no
12871 if test -n "$RANLIB"; then
12872 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12873 postinstall_cmds='$RANLIB $lib'
12878 if test ia64 != "$host_cpu"; then
12879 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12880 yes,aix,yes) ;; # shared object as lib.so file only
12881 yes,svr4,*) ;; # shared object as lib.so archive member only
12882 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12888 $as_echo "$enable_shared" >&6; }
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12891 $as_echo_n "checking whether to build static libraries... " >&6; }
12892 # Make sure either enable_shared or enable_static is yes.
12893 test yes = "$enable_shared" || enable_static=yes
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12895 $as_echo "$enable_static" >&6; }
12902 ac_cpp='$CPP $CPPFLAGS'
12903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12923 ac_config_commands="$ac_config_commands libtool"
12928 # Only expand once:
12933 # Check for library functions that SQLite can optionally use.
12934 for ac_func in fdatasync usleep fullfsync localtime_r gmtime_r
12936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12938 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12939 cat >>confdefs.h <<_ACEOF
12940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12946 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
12947 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
12953 cat >>confdefs.h <<_ACEOF
12954 #define HAVE_DECL_STRERROR_R $ac_have_decl
12957 for ac_func in strerror_r
12959 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
12960 if test "x$ac_cv_func_strerror_r" = xyes; then :
12961 cat >>confdefs.h <<_ACEOF
12962 #define HAVE_STRERROR_R 1
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
12969 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
12970 if ${ac_cv_func_strerror_r_char_p+:} false; then :
12971 $as_echo_n "(cached) " >&6
12974 ac_cv_func_strerror_r_char_p=no
12975 if test $ac_cv_have_decl_strerror_r = yes; then
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12978 $ac_includes_default
12984 char x = *strerror_r (0, buf, sizeof buf);
12985 char *p = strerror_r (0, buf, sizeof buf);
12992 if ac_fn_c_try_compile "$LINENO"; then :
12993 ac_cv_func_strerror_r_char_p=yes
12995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12997 # strerror_r is not declared. Choose between
12998 # systems that have relatively inaccessible declarations for the
12999 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
13000 # former has a strerror_r that returns char*, while the latter
13001 # has a strerror_r that returns `int'.
13002 # This test should segfault on the DEC system.
13003 if test "$cross_compiling" = yes; then :
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13008 $ac_includes_default
13009 extern char *strerror_r ();
13014 char x = *strerror_r (0, buf, sizeof buf);
13015 return ! isalpha (x);
13020 if ac_fn_c_try_run "$LINENO"; then :
13021 ac_cv_func_strerror_r_char_p=yes
13023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13024 conftest.$ac_objext conftest.beam conftest.$ac_ext
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
13031 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
13032 if test $ac_cv_func_strerror_r_char_p = yes; then
13034 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
13039 ac_config_files="$ac_config_files Makefile sqlite3.pc"
13043 #-------------------------------------------------------------------------
13044 # Two options to enable readline compatible libraries:
13046 # --enable-editline
13047 # --enable-readline
13049 # Both are enabled by default. If, after command line processing both are
13050 # still enabled, the script searches for editline first and automatically
13051 # disables readline if it is found. So, to use readline explicitly, the
13052 # user must pass "--disable-editline". To disable command line editing
13053 # support altogether, "--disable-editline --disable-readline".
13055 # When searching for either library, check for headers before libraries
13056 # as some distros supply packages that contain libraries but not header
13057 # files, which come as a separate development package.
13059 # Check whether --enable-editline was given.
13060 if test "${enable_editline+set}" = set; then :
13061 enableval=$enable_editline;
13064 # Check whether --enable-readline was given.
13065 if test "${enable_readline+set}" = set; then :
13066 enableval=$enable_readline;
13070 if test x"$enable_editline" != xno ; then :
13072 for ac_header in editline/readline.h
13074 ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
13075 if test "x$ac_cv_header_editline_readline_h" = xyes; then :
13076 cat >>confdefs.h <<_ACEOF
13077 #define HAVE_EDITLINE_READLINE_H 1
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
13083 $as_echo_n "checking for library containing readline... " >&6; }
13084 if ${ac_cv_search_readline+:} false; then :
13085 $as_echo_n "(cached) " >&6
13087 ac_func_search_save_LIBS=$LIBS
13088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13091 /* Override any GCC internal prototype to avoid an error.
13092 Use char because int might match the return type of a GCC
13093 builtin and then its argument prototype would still apply. */
13101 return readline ();
13106 for ac_lib in '' edit; do
13107 if test -z "$ac_lib"; then
13108 ac_res="none required"
13111 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13113 if ac_fn_c_try_link "$LINENO"; then :
13114 ac_cv_search_readline=$ac_res
13116 rm -f core conftest.err conftest.$ac_objext \
13118 if ${ac_cv_search_readline+:} false; then :
13122 if ${ac_cv_search_readline+:} false; then :
13125 ac_cv_search_readline=no
13127 rm conftest.$ac_ext
13128 LIBS=$ac_func_search_save_LIBS
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
13131 $as_echo "$ac_cv_search_readline" >&6; }
13132 ac_res=$ac_cv_search_readline
13133 if test "$ac_res" != no; then :
13134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13137 $as_echo "#define HAVE_EDITLINE 1" >>confdefs.h
13139 READLINE_LIBS=$LIBS
13144 { ac_cv_search_readline=; unset ac_cv_search_readline;}
13154 if test x"$enable_readline" != xno ; then :
13156 for ac_header in readline/readline.h
13158 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
13159 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
13160 cat >>confdefs.h <<_ACEOF
13161 #define HAVE_READLINE_READLINE_H 1
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
13167 $as_echo_n "checking for library containing tgetent... " >&6; }
13168 if ${ac_cv_search_tgetent+:} false; then :
13169 $as_echo_n "(cached) " >&6
13171 ac_func_search_save_LIBS=$LIBS
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13190 for ac_lib in '' termcap curses ncurses ncursesw; do
13191 if test -z "$ac_lib"; then
13192 ac_res="none required"
13195 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13197 if ac_fn_c_try_link "$LINENO"; then :
13198 ac_cv_search_tgetent=$ac_res
13200 rm -f core conftest.err conftest.$ac_objext \
13202 if ${ac_cv_search_tgetent+:} false; then :
13206 if ${ac_cv_search_tgetent+:} false; then :
13209 ac_cv_search_tgetent=no
13211 rm conftest.$ac_ext
13212 LIBS=$ac_func_search_save_LIBS
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
13215 $as_echo "$ac_cv_search_tgetent" >&6; }
13216 ac_res=$ac_cv_search_tgetent
13217 if test "$ac_res" != no; then :
13218 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
13223 $as_echo_n "checking for library containing readline... " >&6; }
13224 if ${ac_cv_search_readline+:} false; then :
13225 $as_echo_n "(cached) " >&6
13227 ac_func_search_save_LIBS=$LIBS
13228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13231 /* Override any GCC internal prototype to avoid an error.
13232 Use char because int might match the return type of a GCC
13233 builtin and then its argument prototype would still apply. */
13241 return readline ();
13246 for ac_lib in '' readline edit; do
13247 if test -z "$ac_lib"; then
13248 ac_res="none required"
13251 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13253 if ac_fn_c_try_link "$LINENO"; then :
13254 ac_cv_search_readline=$ac_res
13256 rm -f core conftest.err conftest.$ac_objext \
13258 if ${ac_cv_search_readline+:} false; then :
13262 if ${ac_cv_search_readline+:} false; then :
13265 ac_cv_search_readline=no
13267 rm conftest.$ac_ext
13268 LIBS=$ac_func_search_save_LIBS
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
13271 $as_echo "$ac_cv_search_readline" >&6; }
13272 ac_res=$ac_cv_search_readline
13273 if test "$ac_res" != no; then :
13274 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13277 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
13279 READLINE_LIBS=$LIBS
13293 #-----------------------------------------------------------------------
13295 #-----------------------------------------------------------------------
13296 # --enable-threadsafe
13298 # Check whether --enable-threadsafe was given.
13299 if test "${enable_threadsafe+set}" = set; then :
13300 enableval=$enable_threadsafe;
13302 enable_threadsafe=yes
13305 THREADSAFE_FLAGS=-DSQLITE_THREADSAFE=0
13306 if test x"$enable_threadsafe" != "xno"; then
13307 THREADSAFE_FLAGS="-D_REENTRANT=1 -DSQLITE_THREADSAFE=1"
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
13309 $as_echo_n "checking for library containing pthread_create... " >&6; }
13310 if ${ac_cv_search_pthread_create+:} false; then :
13311 $as_echo_n "(cached) " >&6
13313 ac_func_search_save_LIBS=$LIBS
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13317 /* Override any GCC internal prototype to avoid an error.
13318 Use char because int might match the return type of a GCC
13319 builtin and then its argument prototype would still apply. */
13323 char pthread_create ();
13327 return pthread_create ();
13332 for ac_lib in '' pthread; do
13333 if test -z "$ac_lib"; then
13334 ac_res="none required"
13337 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 ac_cv_search_pthread_create=$ac_res
13342 rm -f core conftest.err conftest.$ac_objext \
13344 if ${ac_cv_search_pthread_create+:} false; then :
13348 if ${ac_cv_search_pthread_create+:} false; then :
13351 ac_cv_search_pthread_create=no
13353 rm conftest.$ac_ext
13354 LIBS=$ac_func_search_save_LIBS
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
13357 $as_echo "$ac_cv_search_pthread_create" >&6; }
13358 ac_res=$ac_cv_search_pthread_create
13359 if test "$ac_res" != no; then :
13360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
13365 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
13366 if ${ac_cv_search_pthread_mutexattr_init+:} false; then :
13367 $as_echo_n "(cached) " >&6
13369 ac_func_search_save_LIBS=$LIBS
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13379 char pthread_mutexattr_init ();
13383 return pthread_mutexattr_init ();
13388 for ac_lib in '' pthread; do
13389 if test -z "$ac_lib"; then
13390 ac_res="none required"
13393 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13395 if ac_fn_c_try_link "$LINENO"; then :
13396 ac_cv_search_pthread_mutexattr_init=$ac_res
13398 rm -f core conftest.err conftest.$ac_objext \
13400 if ${ac_cv_search_pthread_mutexattr_init+:} false; then :
13404 if ${ac_cv_search_pthread_mutexattr_init+:} false; then :
13407 ac_cv_search_pthread_mutexattr_init=no
13409 rm conftest.$ac_ext
13410 LIBS=$ac_func_search_save_LIBS
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
13413 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
13414 ac_res=$ac_cv_search_pthread_mutexattr_init
13415 if test "$ac_res" != no; then :
13416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13422 #-----------------------------------------------------------------------
13424 #-----------------------------------------------------------------------
13425 # --enable-dynamic-extensions
13427 # Check whether --enable-dynamic-extensions was given.
13428 if test "${enable_dynamic_extensions+set}" = set; then :
13429 enableval=$enable_dynamic_extensions;
13431 enable_dynamic_extensions=yes
13434 if test x"$enable_dynamic_extensions" != "xno"; then
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13436 $as_echo_n "checking for library containing dlopen... " >&6; }
13437 if ${ac_cv_search_dlopen+:} false; then :
13438 $as_echo_n "(cached) " >&6
13440 ac_func_search_save_LIBS=$LIBS
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13459 for ac_lib in '' dl; do
13460 if test -z "$ac_lib"; then
13461 ac_res="none required"
13464 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13466 if ac_fn_c_try_link "$LINENO"; then :
13467 ac_cv_search_dlopen=$ac_res
13469 rm -f core conftest.err conftest.$ac_objext \
13471 if ${ac_cv_search_dlopen+:} false; then :
13475 if ${ac_cv_search_dlopen+:} false; then :
13478 ac_cv_search_dlopen=no
13480 rm conftest.$ac_ext
13481 LIBS=$ac_func_search_save_LIBS
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13484 $as_echo "$ac_cv_search_dlopen" >&6; }
13485 ac_res=$ac_cv_search_dlopen
13486 if test "$ac_res" != no; then :
13487 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13492 DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for whether to support dynamic extensions" >&5
13495 $as_echo_n "checking for whether to support dynamic extensions... " >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dynamic_extensions" >&5
13497 $as_echo "$enable_dynamic_extensions" >&6; }
13499 #-----------------------------------------------------------------------
13501 #-----------------------------------------------------------------------
13504 # Check whether --enable-fts5 was given.
13505 if test "${enable_fts5+set}" = set; then :
13506 enableval=$enable_fts5;
13511 if test x"$enable_fts5" = "xyes"; then
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
13513 $as_echo_n "checking for library containing log... " >&6; }
13514 if ${ac_cv_search_log+:} false; then :
13515 $as_echo_n "(cached) " >&6
13517 ac_func_search_save_LIBS=$LIBS
13518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13521 /* Override any GCC internal prototype to avoid an error.
13522 Use char because int might match the return type of a GCC
13523 builtin and then its argument prototype would still apply. */
13536 for ac_lib in '' m; do
13537 if test -z "$ac_lib"; then
13538 ac_res="none required"
13541 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13543 if ac_fn_c_try_link "$LINENO"; then :
13544 ac_cv_search_log=$ac_res
13546 rm -f core conftest.err conftest.$ac_objext \
13548 if ${ac_cv_search_log+:} false; then :
13552 if ${ac_cv_search_log+:} false; then :
13555 ac_cv_search_log=no
13557 rm conftest.$ac_ext
13558 LIBS=$ac_func_search_save_LIBS
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13561 $as_echo "$ac_cv_search_log" >&6; }
13562 ac_res=$ac_cv_search_log
13563 if test "$ac_res" != no; then :
13564 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13568 FTS5_FLAGS=-DSQLITE_ENABLE_FTS5
13571 #-----------------------------------------------------------------------
13573 #-----------------------------------------------------------------------
13576 # Check whether --enable-json1 was given.
13577 if test "${enable_json1+set}" = set; then :
13578 enableval=$enable_json1;
13583 if test x"$enable_json1" = "xyes"; then
13584 JSON1_FLAGS=-DSQLITE_ENABLE_JSON1
13587 #-----------------------------------------------------------------------
13589 #-----------------------------------------------------------------------
13592 # Check whether --enable-session was given.
13593 if test "${enable_session+set}" = set; then :
13594 enableval=$enable_session;
13599 if test x"$enable_session" = "xyes"; then
13600 SESSION_FLAGS="-DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_PREUPDATE_HOOK"
13603 #-----------------------------------------------------------------------
13605 #-----------------------------------------------------------------------
13606 # --enable-static-shell
13608 # Check whether --enable-static-shell was given.
13609 if test "${enable_static_shell+set}" = set; then :
13610 enableval=$enable_static_shell;
13612 enable_static_shell=yes
13615 if test x"$enable_static_shell" = "xyes"; then
13616 EXTRA_SHELL_OBJ=sqlite3-sqlite3.$OBJEXT
13618 EXTRA_SHELL_OBJ=libsqlite3.la
13621 #-----------------------------------------------------------------------
13623 for ac_func in posix_fallocate
13625 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
13626 if test "x$ac_cv_func_posix_fallocate" = xyes; then :
13627 cat >>confdefs.h <<_ACEOF
13628 #define HAVE_POSIX_FALLOCATE 1
13635 #-----------------------------------------------------------------------
13636 # UPDATE: Maybe it's better if users just set CFLAGS before invoking
13637 # configure. This option doesn't really add much...
13639 # --enable-tempstore
13641 # AC_ARG_ENABLE(tempstore, [AS_HELP_STRING(
13642 # [--enable-tempstore],
13643 # [in-memory temporary tables (never, no, yes, always) [default=no]])],
13644 # [], [enable_tempstore=no])
13645 # AC_MSG_CHECKING([for whether or not to store temp tables in-memory])
13646 # case "$enable_tempstore" in
13647 # never ) TEMP_STORE=0 ;;
13648 # no ) TEMP_STORE=1 ;;
13649 # always ) TEMP_STORE=3 ;;
13650 # yes ) TEMP_STORE=3 ;;
13653 # enable_tempstore=yes
13656 # AC_MSG_RESULT($enable_tempstore)
13657 # AC_SUBST(TEMP_STORE)
13658 #-----------------------------------------------------------------------
13660 cat >confcache <<\_ACEOF
13661 # This file is a shell script that caches the results of configure
13662 # tests run on this system so they can be shared between configure
13663 # scripts and configure runs, see configure's option --config-cache.
13664 # It is not useful on other systems. If it contains results you don't
13665 # want to keep, you may remove or edit it.
13667 # config.status only pays attention to the cache file if you give it
13668 # the --recheck option to rerun configure.
13670 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13671 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13672 # following values.
13676 # The following way of writing the cache mishandles newlines in values,
13677 # but we know of no workaround that is simple, portable, and efficient.
13678 # So, we kill variables containing newlines.
13679 # Ultrix sh set writes to stderr and can't be redirected directly,
13680 # and sets the high bit in the cache file unless we assign to the vars.
13682 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13683 eval ac_val=\$$ac_var
13687 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13691 _ | IFS | as_nl) ;; #(
13692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13693 *) { eval $ac_var=; unset $ac_var;} ;;
13699 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13700 *${as_nl}ac_space=\ *)
13701 # `set' does not quote correctly, so add quotes: double-quote
13702 # substitution turns \\\\ into \\, and sed turns \\ into \.
13705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13708 # `set' quotes correctly as required by POSIX, so do not add quotes.
13709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13720 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13722 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13723 if test -w "$cache_file"; then
13724 if test "x$cache_file" != "x/dev/null"; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13726 $as_echo "$as_me: updating cache $cache_file" >&6;}
13727 if test ! -f "$cache_file" || test -h "$cache_file"; then
13728 cat confcache >"$cache_file"
13730 case $cache_file in #(
13732 mv -f confcache "$cache_file"$$ &&
13733 mv -f "$cache_file"$$ "$cache_file" ;; #(
13735 mv -f confcache "$cache_file" ;;
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13741 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13746 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13747 # Let make expand exec_prefix.
13748 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13750 # Transform confdefs.h into DEFS.
13751 # Protect against shell expansion while executing Makefile rules.
13752 # Protect against Makefile macro expansion.
13754 # If the first sed substitution is executed (which looks for macros that
13755 # take arguments), then branch to the quote section. Otherwise,
13756 # look for a macro that doesn't take arguments.
13766 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13768 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13772 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13785 DEFS=`sed -n "$ac_script" confdefs.h`
13791 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13792 # 1. Remove the extension, and $U if already installed.
13793 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13794 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13795 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13796 # will be set to the directory where LIBOBJS objects are built.
13797 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13798 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13800 LIBOBJS=$ac_libobjs
13802 LTLIBOBJS=$ac_ltlibobjs
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13806 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13807 if test -n "$am_sleep_pid"; then
13808 # Hide warnings about reused PIDs.
13809 wait $am_sleep_pid 2>/dev/null
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13812 $as_echo "done" >&6; }
13813 if test -n "$EXEEXT"; then
13815 am__EXEEXT_FALSE='#'
13817 am__EXEEXT_TRUE='#'
13821 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13822 as_fn_error $? "conditional \"AMDEP\" was never defined.
13823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13825 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13826 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13829 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13830 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13834 : "${CONFIG_STATUS=./config.status}"
13836 ac_clean_files_save=$ac_clean_files
13837 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13839 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13841 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13843 # Generated by $as_me.
13844 # Run this file to recreate the current configuration.
13845 # Compiler output produced by configure, useful for debugging
13846 # configure, is in config.log if it exists.
13849 ac_cs_recheck=false
13852 SHELL=\${CONFIG_SHELL-$SHELL}
13855 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13856 ## -------------------- ##
13857 ## M4sh Initialization. ##
13858 ## -------------------- ##
13860 # Be more Bourne compatible
13861 DUALCASE=1; export DUALCASE # for MKS sh
13862 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13865 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13866 # is contrary to our usage. Disable this feature.
13867 alias -g '${1+"$@"}'='"$@"'
13868 setopt NO_GLOB_SUBST
13870 case `(set -o) 2>/dev/null` in #(
13882 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13883 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13884 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13885 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13886 # Prefer a ksh shell builtin over an external printf program on Solaris,
13887 # but without wasting forks for bash or zsh.
13888 if test -z "$BASH_VERSION$ZSH_VERSION" \
13889 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13890 as_echo='print -r --'
13891 as_echo_n='print -rn --'
13892 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13893 as_echo='printf %s\n'
13894 as_echo_n='printf %s'
13896 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13897 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13898 as_echo_n='/usr/ucb/echo -n'
13900 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13901 as_echo_n_body='eval
13905 expr "X$arg" : "X\\(.*\\)$as_nl";
13906 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13908 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13910 export as_echo_n_body
13911 as_echo_n='sh -c $as_echo_n_body as_echo'
13913 export as_echo_body
13914 as_echo='sh -c $as_echo_body as_echo'
13917 # The user is always right.
13918 if test "${PATH_SEPARATOR+set}" != set; then
13920 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13921 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13928 # We need space, tab and new line, in precisely that order. Quoting is
13929 # there to prevent editors from complaining about space-tab.
13930 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13931 # splitting by setting IFS to empty value.)
13934 # Find who we are. Look in the path if we contain no directory separator.
13937 *[\\/]* ) as_myself=$0 ;;
13938 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13939 for as_dir in $PATH
13942 test -z "$as_dir" && as_dir=.
13943 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13949 # We did not find ourselves, most probably we were run as `sh COMMAND'
13950 # in which case we are not to be found in the path.
13951 if test "x$as_myself" = x; then
13954 if test ! -f "$as_myself"; then
13955 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13959 # Unset variables that we do not need and which cause bugs (e.g. in
13960 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13961 # suppresses any "Segmentation fault" message there. '((' could
13962 # trigger a bug in pdksh 5.2.14.
13963 for as_var in BASH_ENV ENV MAIL MAILPATH
13964 do eval test x\${$as_var+set} = xset \
13965 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13978 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13981 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13982 # ----------------------------------------
13983 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13984 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13985 # script with STATUS, using 1 if that was 0.
13988 as_status=$1; test $as_status -eq 0 && as_status=1
13990 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13991 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13993 $as_echo "$as_me: error: $2" >&2
13994 as_fn_exit $as_status
13998 # as_fn_set_status STATUS
13999 # -----------------------
14000 # Set $? to STATUS, without forking.
14001 as_fn_set_status ()
14004 } # as_fn_set_status
14006 # as_fn_exit STATUS
14007 # -----------------
14008 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14012 as_fn_set_status $1
14018 # Portably unset VAR.
14021 { eval $1=; unset $1;}
14023 as_unset=as_fn_unset
14024 # as_fn_append VAR VALUE
14025 # ----------------------
14026 # Append the text in VALUE to the end of the definition contained in VAR. Take
14027 # advantage of any shell optimizations that allow amortized linear growth over
14028 # repeated appends, instead of the typical quadratic growth present in naive
14030 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14031 eval 'as_fn_append ()
14042 # as_fn_arith ARG...
14043 # ------------------
14044 # Perform arithmetic evaluation on the ARGs, and store the result in the
14045 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14046 # must be portable across $(()) and expr.
14047 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14048 eval 'as_fn_arith ()
14055 as_val=`expr "$@" || test $? -eq 1`
14060 if expr a : '\(a\)' >/dev/null 2>&1 &&
14061 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14067 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14068 as_basename=basename
14073 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14079 as_me=`$as_basename -- "$0" ||
14080 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14081 X"$0" : 'X\(//\)$' \| \
14082 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14084 sed '/^.*\/\([^/][^/]*\)\/*$/{
14098 # Avoid depending upon Character Ranges.
14099 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14100 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14101 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14102 as_cr_digits='0123456789'
14103 as_cr_alnum=$as_cr_Letters$as_cr_digits
14105 ECHO_C= ECHO_N= ECHO_T=
14106 case `echo -n x` in #(((((
14108 case `echo 'xy\c'` in
14109 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14111 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14118 rm -f conf$$ conf$$.exe conf$$.file
14119 if test -d conf$$.dir; then
14120 rm -f conf$$.dir/conf$$.file
14123 mkdir conf$$.dir 2>/dev/null
14125 if (echo >conf$$.file) 2>/dev/null; then
14126 if ln -s conf$$.file conf$$ 2>/dev/null; then
14128 # ... but there are two gotchas:
14129 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14130 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14131 # In both cases, we have to default to `cp -pR'.
14132 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14134 elif ln conf$$.file conf$$ 2>/dev/null; then
14142 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14143 rmdir conf$$.dir 2>/dev/null
14148 # Create "$as_dir" as a directory, including parents if necessary.
14153 -*) as_dir=./$as_dir;;
14155 test -d "$as_dir" || eval $as_mkdir_p || {
14159 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14160 *) as_qdir=$as_dir;;
14162 as_dirs="'$as_qdir' $as_dirs"
14163 as_dir=`$as_dirname -- "$as_dir" ||
14164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14165 X"$as_dir" : 'X\(//\)[^/]' \| \
14166 X"$as_dir" : 'X\(//\)$' \| \
14167 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14168 $as_echo X"$as_dir" |
14169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14173 /^X\(\/\/\)[^/].*/{
14186 test -d "$as_dir" && break
14188 test -z "$as_dirs" || eval "mkdir $as_dirs"
14189 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14193 if mkdir -p . 2>/dev/null; then
14194 as_mkdir_p='mkdir -p "$as_dir"'
14196 test -d ./-p && rmdir ./-p
14201 # as_fn_executable_p FILE
14202 # -----------------------
14203 # Test if FILE is an executable regular file.
14204 as_fn_executable_p ()
14206 test -f "$1" && test -x "$1"
14207 } # as_fn_executable_p
14208 as_test_x='test -x'
14209 as_executable_p=as_fn_executable_p
14211 # Sed expression to map a string onto a valid CPP name.
14212 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14214 # Sed expression to map a string onto a valid variable name.
14215 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14219 ## ----------------------------------- ##
14220 ## Main body of $CONFIG_STATUS script. ##
14221 ## ----------------------------------- ##
14223 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14226 # Save the log message, to keep $0 and so on meaningful, and to
14227 # report actual input values of CONFIG_FILES etc. instead of their
14228 # values after options handling.
14230 This file was extended by sqlite $as_me 3.14.1, which was
14231 generated by GNU Autoconf 2.69. Invocation command line was
14233 CONFIG_FILES = $CONFIG_FILES
14234 CONFIG_HEADERS = $CONFIG_HEADERS
14235 CONFIG_LINKS = $CONFIG_LINKS
14236 CONFIG_COMMANDS = $CONFIG_COMMANDS
14239 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14244 case $ac_config_files in *"
14245 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14251 # Files that config.status was made for.
14252 config_files="$ac_config_files"
14253 config_commands="$ac_config_commands"
14257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14259 \`$as_me' instantiates files and other configuration actions
14260 from templates according to the current configuration. Unless the files
14261 and actions are specified as TAGs, all are instantiated by default.
14263 Usage: $0 [OPTION]... [TAG]...
14265 -h, --help print this help, then exit
14266 -V, --version print version number and configuration settings, then exit
14267 --config print configuration, then exit
14268 -q, --quiet, --silent
14269 do not print progress messages
14270 -d, --debug don't remove temporary files
14271 --recheck update $as_me by reconfiguring in the same conditions
14272 --file=FILE[:TEMPLATE]
14273 instantiate the configuration file FILE
14275 Configuration files:
14278 Configuration commands:
14281 Report bugs to <http://www.sqlite.org>."
14284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14285 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14287 sqlite config.status 3.14.1
14288 configured by $0, generated by GNU Autoconf 2.69,
14289 with options \\"\$ac_cs_config\\"
14291 Copyright (C) 2012 Free Software Foundation, Inc.
14292 This config.status script is free software; the Free Software Foundation
14293 gives unlimited permission to copy, distribute and modify it."
14300 test -n "\$AWK" || AWK=awk
14303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14304 # The default lists apply if the user does not specify any file.
14310 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14311 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14315 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14327 # Handling of the options.
14328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14330 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14331 $as_echo "$ac_cs_version"; exit ;;
14332 --config | --confi | --conf | --con | --co | --c )
14333 $as_echo "$ac_cs_config"; exit ;;
14334 --debug | --debu | --deb | --de | --d | -d )
14336 --file | --fil | --fi | --f )
14339 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14340 '') as_fn_error $? "missing file argument" ;;
14342 as_fn_append CONFIG_FILES " '$ac_optarg'"
14343 ac_need_defaults=false;;
14344 --he | --h | --help | --hel | -h )
14345 $as_echo "$ac_cs_usage"; exit ;;
14346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14347 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14350 # This is an error.
14351 -*) as_fn_error $? "unrecognized option: \`$1'
14352 Try \`$0 --help' for more information." ;;
14354 *) as_fn_append ac_config_targets " $1"
14355 ac_need_defaults=false ;;
14361 ac_configure_extra_args=
14363 if $ac_cs_silent; then
14365 ac_configure_extra_args="$ac_configure_extra_args --silent"
14369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14370 if \$ac_cs_recheck; then
14371 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14373 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14374 CONFIG_SHELL='$SHELL'
14375 export CONFIG_SHELL
14380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14385 ## Running $as_me. ##
14391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14395 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14398 # The HP-UX ksh and POSIX shell print the target directory to stdout
14399 # if CDPATH is set.
14400 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14402 sed_quote_subst='$sed_quote_subst'
14403 double_quote_subst='$double_quote_subst'
14404 delay_variable_subst='$delay_variable_subst'
14405 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14406 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14407 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14408 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14409 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14410 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14411 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14412 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14413 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14414 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14415 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14416 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14417 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14418 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14419 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14420 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14421 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14422 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14423 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14424 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14425 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14426 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14427 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14428 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14429 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14430 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14431 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14432 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14433 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14434 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14435 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14436 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14437 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14438 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14439 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14440 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14441 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14442 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14443 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14444 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14445 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14446 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14447 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14448 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14449 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14450 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14451 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14452 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14453 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14454 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14455 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14456 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14457 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14458 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14459 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14460 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14461 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14462 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14463 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"`'
14464 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14465 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14466 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14467 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14468 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14469 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14470 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14471 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14472 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14473 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14474 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14475 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14476 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14477 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14478 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14479 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14480 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14481 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14482 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14483 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14484 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14485 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14486 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14487 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14488 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14489 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14490 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14491 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14492 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14493 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14494 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14495 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14496 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14497 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14498 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14499 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14500 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14501 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14502 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14503 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14504 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14505 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14506 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14507 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14508 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14509 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14510 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14511 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14512 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14513 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14514 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14515 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14516 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14517 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14518 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14519 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14520 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14521 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14522 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14523 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14524 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14525 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14526 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14527 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14528 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14529 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14530 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14531 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14532 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14533 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14534 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14535 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14536 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14537 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14538 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14539 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14542 LTCFLAGS='$LTCFLAGS'
14543 compiler='$compiler_DEFAULT'
14545 # A function that is used when there is no print builtin or printf.
14546 func_fallback_echo ()
14548 eval 'cat <<_LTECHO_EOF
14553 # Quote evaled strings.
14568 deplibs_check_method \
14573 sharedlib_from_linklib_cmd \
14576 archiver_list_spec \
14582 lt_cv_sys_global_symbol_pipe \
14583 lt_cv_sys_global_symbol_to_cdecl \
14584 lt_cv_sys_global_symbol_to_import \
14585 lt_cv_sys_global_symbol_to_c_name_address \
14586 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14587 lt_cv_nm_interface \
14588 nm_file_list_spec \
14589 lt_cv_truncate_bin \
14590 lt_prog_compiler_no_builtin_flag \
14591 lt_prog_compiler_pic \
14592 lt_prog_compiler_wl \
14593 lt_prog_compiler_static \
14594 lt_cv_prog_compiler_c_o \
14603 export_dynamic_flag_spec \
14604 whole_archive_flag_spec \
14605 compiler_needs_object \
14607 allow_undefined_flag \
14608 no_undefined_flag \
14609 hardcode_libdir_flag_spec \
14610 hardcode_libdir_separator \
14614 variables_saved_for_relink \
14616 library_names_spec \
14618 install_override_mode \
14622 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14623 *[\\\\\\\`\\"\\\$]*)
14624 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14627 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14632 # Double-quote double-evaled strings.
14633 for var in reload_cmds \
14634 old_postinstall_cmds \
14635 old_postuninstall_cmds \
14637 extract_expsyms_cmds \
14638 old_archive_from_new_cmds \
14639 old_archive_from_expsyms_cmds \
14641 archive_expsym_cmds \
14643 module_expsym_cmds \
14644 export_symbols_cmds \
14648 postuninstall_cmds \
14650 sys_lib_search_path_spec \
14651 configure_time_dlsearch_path \
14652 configure_time_lt_sys_library_path; do
14653 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14654 *[\\\\\\\`\\"\\\$]*)
14655 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14658 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14663 ac_aux_dir='$ac_aux_dir'
14665 # See if we are running on zsh, and set the options that allow our
14666 # commands through without removal of \ escapes INIT.
14667 if test -n "\${ZSH_VERSION+set}"; then
14668 setopt NO_GLOB_SUBST
14682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14684 # Handling of arguments.
14685 for ac_config_target in $ac_config_targets
14687 case $ac_config_target in
14688 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14689 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14690 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14691 "sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
14693 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14698 # If the user did not use the arguments to specify the items to instantiate,
14699 # then the envvar interface is used. Set only those that are not.
14700 # We use the long form for the default assignment because of an extremely
14701 # bizarre bug on SunOS 4.1.3.
14702 if $ac_need_defaults; then
14703 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14704 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14707 # Have a temporary directory for convenience. Make it in the build tree
14708 # simply because there is no reason against having it here, and in addition,
14709 # creating and moving files from /tmp can sometimes cause problems.
14710 # Hook for its removal unless debugging.
14711 # Note that there is a small window in which the directory will not be cleaned:
14712 # after its creation but before its name has been assigned to `$tmp'.
14716 trap 'exit_status=$?
14717 : "${ac_tmp:=$tmp}"
14718 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14720 trap 'as_fn_exit 1' 1 2 13 15
14722 # Create a (secure) tmp directory for tmp files.
14725 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14729 tmp=./conf$$-$RANDOM
14730 (umask 077 && mkdir "$tmp")
14731 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14734 # Set up the scripts for CONFIG_FILES section.
14735 # No need to generate them if there are no CONFIG_FILES.
14736 # This happens for instance with `./config.status config.h'.
14737 if test -n "$CONFIG_FILES"; then
14740 ac_cr=`echo X | tr X '\015'`
14741 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14742 # But we know of no other shell where ac_cr would be empty at this
14743 # point, so we can use a bashism as a fallback.
14744 if test "x$ac_cr" = x; then
14745 eval ac_cr=\$\'\\r\'
14747 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14748 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14751 ac_cs_awk_cr=$ac_cr
14754 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14759 echo "cat >conf$$subs.awk <<_ACEOF" &&
14760 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14762 } >conf$$subs.sh ||
14763 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14764 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14766 for ac_last_try in false false false false false :; do
14767 . ./conf$$subs.sh ||
14768 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14770 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14771 if test $ac_delim_n = $ac_delim_num; then
14773 elif $ac_last_try; then
14774 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14776 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14779 rm -f conf$$subs.sh
14781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14782 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14786 s/^/S["/; s/!.*/"]=/
14796 s/\(.\{148\}\)..*/\1/
14798 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14803 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14810 s/\(.\{148\}\)..*/\1/
14812 s/["\\]/\\&/g; s/^/"/; s/$/"/
14816 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14821 ' <conf$$subs.awk | sed '
14826 ' >>$CONFIG_STATUS || ac_write_fail=1
14827 rm -f conf$$subs.awk
14828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14830 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14831 for (key in S) S_is_set[key] = 1
14837 nfields = split(line, field, "@")
14839 len = length(field[1])
14840 for (i = 2; i < nfields; i++) {
14842 keylen = length(key)
14843 if (S_is_set[key]) {
14845 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14846 len += length(value) + length(field[++i])
14857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14858 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14859 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14862 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14863 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14866 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14867 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14868 # trailing colons and then remove the whole line if VPATH becomes empty
14869 # (actually we leave an empty line to preserve line numbers).
14870 if test "x$srcdir" = x.; then
14871 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14890 fi # test -n "$CONFIG_FILES"
14893 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
14898 :[FHLC]) ac_mode=$ac_tag; continue;;
14900 case $ac_mode$ac_tag in
14902 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14903 :[FH]-) ac_tag=-:-;;
14904 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14921 -) ac_f="$ac_tmp/stdin";;
14922 *) # Look for the file first in the build tree, then in the source tree
14923 # (if the path is not absolute). The absolute path cannot be DOS-style,
14924 # because $ac_f cannot contain `:'.
14928 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14930 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14932 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14933 as_fn_append ac_file_inputs " '$ac_f'"
14936 # Let's still pretend it is `configure' which instantiates (i.e., don't
14937 # use $as_me), people would be surprised to read:
14938 # /* config.h. Generated by config.status. */
14939 configure_input='Generated from '`
14940 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14942 if test x"$ac_file" != x-; then
14943 configure_input="$ac_file. $configure_input"
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14945 $as_echo "$as_me: creating $ac_file" >&6;}
14947 # Neutralize special characters interpreted by sed in replacement strings.
14948 case $configure_input in #(
14949 *\&* | *\|* | *\\* )
14950 ac_sed_conf_input=`$as_echo "$configure_input" |
14951 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14952 *) ac_sed_conf_input=$configure_input;;
14956 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14962 ac_dir=`$as_dirname -- "$ac_file" ||
14963 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14964 X"$ac_file" : 'X\(//\)[^/]' \| \
14965 X"$ac_file" : 'X\(//\)$' \| \
14966 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14967 $as_echo X"$ac_file" |
14968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14972 /^X\(\/\/\)[^/].*/{
14985 as_dir="$ac_dir"; as_fn_mkdir_p
14989 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14991 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14992 # A ".." for each directory in $ac_dir_suffix.
14993 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14994 case $ac_top_builddir_sub in
14995 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14996 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14999 ac_abs_top_builddir=$ac_pwd
15000 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15001 # for backward compatibility:
15002 ac_top_builddir=$ac_top_build_prefix
15005 .) # We are building in place.
15007 ac_top_srcdir=$ac_top_builddir_sub
15008 ac_abs_top_srcdir=$ac_pwd ;;
15009 [\\/]* | ?:[\\/]* ) # Absolute name.
15010 ac_srcdir=$srcdir$ac_dir_suffix;
15011 ac_top_srcdir=$srcdir
15012 ac_abs_top_srcdir=$srcdir ;;
15013 *) # Relative name.
15014 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15015 ac_top_srcdir=$ac_top_build_prefix$srcdir
15016 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15018 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15028 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15029 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15031 ac_MKDIR_P=$MKDIR_P
15033 [\\/$]* | ?:[\\/]* ) ;;
15034 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15039 # If the template does not know about datarootdir, expand it.
15040 # FIXME: This hack should be removed a few years after 2.60.
15041 ac_datarootdir_hack=; ac_datarootdir_seen=
15052 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15053 *datarootdir*) ac_datarootdir_seen=yes;;
15054 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15056 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15059 ac_datarootdir_hack='
15060 s&@datadir@&$datadir&g
15061 s&@docdir@&$docdir&g
15062 s&@infodir@&$infodir&g
15063 s&@localedir@&$localedir&g
15064 s&@mandir@&$mandir&g
15065 s&\\\${datarootdir}&$datarootdir&g' ;;
15069 # Neutralize VPATH when `$srcdir' = `.'.
15070 # Shell code in configure.ac might set extrasub.
15071 # FIXME: do we really want to maintain this feature?
15072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15073 ac_sed_extra="$ac_vpsub
15076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15078 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15079 s|@configure_input@|$ac_sed_conf_input|;t t
15080 s&@top_builddir@&$ac_top_builddir_sub&;t t
15081 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15082 s&@srcdir@&$ac_srcdir&;t t
15083 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15084 s&@top_srcdir@&$ac_top_srcdir&;t t
15085 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15086 s&@builddir@&$ac_builddir&;t t
15087 s&@abs_builddir@&$ac_abs_builddir&;t t
15088 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15089 s&@INSTALL@&$ac_INSTALL&;t t
15090 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15091 $ac_datarootdir_hack
15093 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15094 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15096 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15097 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15098 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15099 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15101 which seems to be undefined. Please make sure it is defined" >&5
15102 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15103 which seems to be undefined. Please make sure it is defined" >&2;}
15105 rm -f "$ac_tmp/stdin"
15107 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15108 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15110 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15114 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15115 $as_echo "$as_me: executing $ac_file commands" >&6;}
15120 case $ac_file$ac_mode in
15121 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15122 # Older Autoconf quotes --file arguments for eval, but not when files
15123 # are listed without --file. Let's play safe and only enable the eval
15124 # if we detect the quoting.
15125 case $CONFIG_FILES in
15126 *\'*) eval set x "$CONFIG_FILES" ;;
15127 *) set x $CONFIG_FILES ;;
15132 # Strip MF so we end up with the name of the file.
15133 mf=`echo "$mf" | sed -e 's/:.*$//'`
15134 # Check whether this is an Automake generated Makefile or not.
15135 # We used to match only the files named 'Makefile.in', but
15136 # some people rename them; so instead we look at the file content.
15137 # Grep'ing the first line is not enough: some people post-process
15138 # each Makefile.in and add a new line on top of each file to say so.
15139 # Grep'ing the whole file is not good either: AIX grep has a line
15140 # limit of 2048, but all sed's we know have understand at least 4000.
15141 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15142 dirpart=`$as_dirname -- "$mf" ||
15143 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15144 X"$mf" : 'X\(//\)[^/]' \| \
15145 X"$mf" : 'X\(//\)$' \| \
15146 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15152 /^X\(\/\/\)[^/].*/{
15168 # Extract the definition of DEPDIR, am__include, and am__quote
15169 # from the Makefile without running 'make'.
15170 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15171 test -z "$DEPDIR" && continue
15172 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15173 test -z "$am__include" && continue
15174 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15175 # Find all dependency output files, they are included files with
15176 # $(DEPDIR) in their names. We invoke sed twice because it is the
15177 # simplest approach to changing $(DEPDIR) to its actual value in the
15179 for file in `sed -n "
15180 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15181 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15182 # Make sure the directory exists.
15183 test -f "$dirpart/$file" && continue
15184 fdir=`$as_dirname -- "$file" ||
15185 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15186 X"$file" : 'X\(//\)[^/]' \| \
15187 X"$file" : 'X\(//\)$' \| \
15188 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15189 $as_echo X"$file" |
15190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15194 /^X\(\/\/\)[^/].*/{
15207 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15208 # echo "creating $dirpart/$file"
15209 echo '# dummy' > "$dirpart/$file"
15216 # See if we are running on zsh, and set the options that allow our
15217 # commands through without removal of \ escapes.
15218 if test -n "${ZSH_VERSION+set}"; then
15219 setopt NO_GLOB_SUBST
15223 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15226 cat <<_LT_EOF >> "$cfgfile"
15228 # Generated automatically by $as_me ($PACKAGE) $VERSION
15229 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15230 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15232 # Provide generalized library-building support services.
15233 # Written by Gordon Matzigkeit, 1996
15235 # Copyright (C) 2014 Free Software Foundation, Inc.
15236 # This is free software; see the source for copying conditions. There is NO
15237 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15239 # GNU Libtool is free software; you can redistribute it and/or modify
15240 # it under the terms of the GNU General Public License as published by
15241 # the Free Software Foundation; either version 2 of of the License, or
15242 # (at your option) any later version.
15244 # As a special exception to the GNU General Public License, if you
15245 # distribute this file as part of a program or library that is built
15246 # using GNU Libtool, you may include this file under the same
15247 # distribution terms that you use for the rest of that program.
15249 # GNU Libtool is distributed in the hope that it will be useful, but
15250 # WITHOUT ANY WARRANTY; without even the implied warranty of
15251 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15252 # GNU General Public License for more details.
15254 # You should have received a copy of the GNU General Public License
15255 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15258 # The names of the tagged configurations supported by this script.
15261 # Configured defaults for sys_lib_dlsearch_path munging.
15262 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15264 # ### BEGIN LIBTOOL CONFIG
15266 # Which release of libtool.m4 was used?
15267 macro_version=$macro_version
15268 macro_revision=$macro_revision
15270 # Whether or not to build shared libraries.
15271 build_libtool_libs=$enable_shared
15273 # Whether or not to build static libraries.
15274 build_old_libs=$enable_static
15276 # What type of objects to build.
15279 # Whether or not to optimize for fast installation.
15280 fast_install=$enable_fast_install
15282 # Shared archive member basename,for filename based shared library versioning on AIX.
15283 shared_archive_member_spec=$shared_archive_member_spec
15285 # Shell to use when invoking shell scripts.
15288 # An echo program that protects backslashes.
15291 # The PATH separator for the build system.
15292 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15295 host_alias=$host_alias
15299 # The build system.
15300 build_alias=$build_alias
15304 # A sed program that does not truncate output.
15307 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15308 Xsed="\$SED -e 1s/^X//"
15310 # A grep program that handles long lines.
15316 # A literal string matcher.
15319 # A BSD- or MS-compatible name lister.
15322 # Whether we need soft or hard links.
15325 # What is the maximum length of a command?
15326 max_cmd_len=$max_cmd_len
15328 # Object file suffix (normally "o").
15331 # Executable file suffix (normally "").
15334 # whether the shell understands "unset".
15337 # turn spaces into newlines.
15340 # turn newlines into spaces.
15343 # convert \$build file names to \$host format.
15344 to_host_file_cmd=$lt_cv_to_host_file_cmd
15346 # convert \$build files to toolchain format.
15347 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15349 # An object symbol dumper.
15350 OBJDUMP=$lt_OBJDUMP
15352 # Method to check whether dependent libraries are shared objects.
15353 deplibs_check_method=$lt_deplibs_check_method
15355 # Command to use when deplibs_check_method = "file_magic".
15356 file_magic_cmd=$lt_file_magic_cmd
15358 # How to find potential files when deplibs_check_method = "file_magic".
15359 file_magic_glob=$lt_file_magic_glob
15361 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15362 want_nocaseglob=$lt_want_nocaseglob
15364 # DLL creation program.
15365 DLLTOOL=$lt_DLLTOOL
15367 # Command to associate shared and link libraries.
15368 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15373 # Flags to create an archive.
15374 AR_FLAGS=$lt_AR_FLAGS
15376 # How to feed a file listing to the archiver.
15377 archiver_list_spec=$lt_archiver_list_spec
15379 # A symbol stripping program.
15382 # Commands used to install an old-style archive.
15384 old_postinstall_cmds=$lt_old_postinstall_cmds
15385 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15387 # Whether to use a lock for old archive extraction.
15388 lock_old_archive_extraction=$lock_old_archive_extraction
15393 # LTCC compiler flags.
15394 LTCFLAGS=$lt_CFLAGS
15396 # Take the output of nm and produce a listing of raw symbols and C names.
15397 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15399 # Transform the output of nm in a proper C declaration.
15400 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15402 # Transform the output of nm into a list of symbols to manually relocate.
15403 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15405 # Transform the output of nm in a C name address pair.
15406 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15408 # Transform the output of nm in a C name address pair when lib prefix is needed.
15409 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15411 # The name lister interface.
15412 nm_interface=$lt_lt_cv_nm_interface
15414 # Specify filename containing input files for \$NM.
15415 nm_file_list_spec=$lt_nm_file_list_spec
15417 # The root where to search for dependent libraries,and where our libraries should be installed.
15418 lt_sysroot=$lt_sysroot
15420 # Command to truncate a binary pipe.
15421 lt_truncate_bin=$lt_lt_cv_truncate_bin
15423 # The name of the directory that contains temporary libtool files.
15426 # Used to examine libraries when file_magic_cmd begins with "file".
15427 MAGIC_CMD=$MAGIC_CMD
15429 # Must we lock files when doing compilation?
15430 need_locks=$lt_need_locks
15433 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15435 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15436 DSYMUTIL=$lt_DSYMUTIL
15438 # Tool to change global to local symbols on Mac OS X.
15441 # Tool to manipulate fat objects and archives on Mac OS X.
15444 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15447 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15448 OTOOL64=$lt_OTOOL64
15450 # Old archive suffix (normally "a").
15453 # Shared library suffix (normally ".so").
15454 shrext_cmds=$lt_shrext_cmds
15456 # The commands to extract the exported symbol list from a shared archive.
15457 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15459 # Variables whose values should be saved in libtool wrapper scripts and
15460 # restored at link time.
15461 variables_saved_for_relink=$lt_variables_saved_for_relink
15463 # Do we need the "lib" prefix for modules?
15464 need_lib_prefix=$need_lib_prefix
15466 # Do we need a version for libraries?
15467 need_version=$need_version
15469 # Library versioning type.
15470 version_type=$version_type
15472 # Shared library runtime path variable.
15473 runpath_var=$runpath_var
15475 # Shared library path variable.
15476 shlibpath_var=$shlibpath_var
15478 # Is shlibpath searched before the hard-coded library search path?
15479 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15481 # Format of library name prefix.
15482 libname_spec=$lt_libname_spec
15484 # List of archive names. First name is the real one, the rest are links.
15485 # The last name is the one that the linker finds with -lNAME
15486 library_names_spec=$lt_library_names_spec
15488 # The coded name of the library, if different from the real name.
15489 soname_spec=$lt_soname_spec
15491 # Permission mode override for installation of shared libraries.
15492 install_override_mode=$lt_install_override_mode
15494 # Command to use after installation of a shared archive.
15495 postinstall_cmds=$lt_postinstall_cmds
15497 # Command to use after uninstallation of a shared archive.
15498 postuninstall_cmds=$lt_postuninstall_cmds
15500 # Commands used to finish a libtool library installation in a directory.
15501 finish_cmds=$lt_finish_cmds
15503 # As "finish_cmds", except a single script fragment to be evaled but
15505 finish_eval=$lt_finish_eval
15507 # Whether we should hardcode library paths into libraries.
15508 hardcode_into_libs=$hardcode_into_libs
15510 # Compile-time system search path for libraries.
15511 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15513 # Detected run-time system search path for libraries.
15514 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15516 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15517 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15519 # Whether dlopen is supported.
15520 dlopen_support=$enable_dlopen
15522 # Whether dlopen of programs is supported.
15523 dlopen_self=$enable_dlopen_self
15525 # Whether dlopen of statically linked programs is supported.
15526 dlopen_self_static=$enable_dlopen_self_static
15528 # Commands to strip libraries.
15529 old_striplib=$lt_old_striplib
15530 striplib=$lt_striplib
15533 # The linker used to build libraries.
15536 # How to create reloadable object files.
15537 reload_flag=$lt_reload_flag
15538 reload_cmds=$lt_reload_cmds
15540 # Commands used to build an old-style archive.
15541 old_archive_cmds=$lt_old_archive_cmds
15543 # A language specific compiler.
15546 # Is the compiler the GNU compiler?
15549 # Compiler flag to turn off builtin functions.
15550 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15552 # Additional compiler flags for building library objects.
15553 pic_flag=$lt_lt_prog_compiler_pic
15555 # How to pass a linker flag through the compiler.
15556 wl=$lt_lt_prog_compiler_wl
15558 # Compiler flag to prevent dynamic linking.
15559 link_static_flag=$lt_lt_prog_compiler_static
15561 # Does compiler simultaneously support -c and -o options?
15562 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15564 # Whether or not to add -lc for building shared libraries.
15565 build_libtool_need_lc=$archive_cmds_need_lc
15567 # Whether or not to disallow shared libs when runtime libs are static.
15568 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15570 # Compiler flag to allow reflexive dlopens.
15571 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15573 # Compiler flag to generate shared objects directly from archives.
15574 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15576 # Whether the compiler copes with passing no objects directly.
15577 compiler_needs_object=$lt_compiler_needs_object
15579 # Create an old-style archive from a shared archive.
15580 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15582 # Create a temporary old-style archive to link instead of a shared archive.
15583 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15585 # Commands used to build a shared archive.
15586 archive_cmds=$lt_archive_cmds
15587 archive_expsym_cmds=$lt_archive_expsym_cmds
15589 # Commands used to build a loadable module if different from building
15590 # a shared archive.
15591 module_cmds=$lt_module_cmds
15592 module_expsym_cmds=$lt_module_expsym_cmds
15594 # Whether we are building with GNU ld or not.
15595 with_gnu_ld=$lt_with_gnu_ld
15597 # Flag that allows shared libraries with undefined symbols to be built.
15598 allow_undefined_flag=$lt_allow_undefined_flag
15600 # Flag that enforces no undefined symbols.
15601 no_undefined_flag=$lt_no_undefined_flag
15603 # Flag to hardcode \$libdir into a binary during linking.
15604 # This must work even if \$libdir does not exist
15605 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15607 # Whether we need a single "-rpath" flag with a separated argument.
15608 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15610 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15611 # DIR into the resulting binary.
15612 hardcode_direct=$hardcode_direct
15614 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15615 # DIR into the resulting binary and the resulting library dependency is
15616 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15617 # library is relocated.
15618 hardcode_direct_absolute=$hardcode_direct_absolute
15620 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15621 # into the resulting binary.
15622 hardcode_minus_L=$hardcode_minus_L
15624 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15625 # into the resulting binary.
15626 hardcode_shlibpath_var=$hardcode_shlibpath_var
15628 # Set to "yes" if building a shared library automatically hardcodes DIR
15629 # into the library and all subsequent libraries and executables linked
15631 hardcode_automatic=$hardcode_automatic
15633 # Set to yes if linker adds runtime paths of dependent libraries
15634 # to runtime path list.
15635 inherit_rpath=$inherit_rpath
15637 # Whether libtool must link a program against all its dependency libraries.
15638 link_all_deplibs=$link_all_deplibs
15640 # Set to "yes" if exported symbols are required.
15641 always_export_symbols=$always_export_symbols
15643 # The commands to list exported symbols.
15644 export_symbols_cmds=$lt_export_symbols_cmds
15646 # Symbols that should not be listed in the preloaded symbols.
15647 exclude_expsyms=$lt_exclude_expsyms
15649 # Symbols that must always be exported.
15650 include_expsyms=$lt_include_expsyms
15652 # Commands necessary for linking programs (against libraries) with templates.
15653 prelink_cmds=$lt_prelink_cmds
15655 # Commands necessary for finishing linking programs.
15656 postlink_cmds=$lt_postlink_cmds
15658 # Specify filename containing input files.
15659 file_list_spec=$lt_file_list_spec
15661 # How to hardcode a shared library path into an executable.
15662 hardcode_action=$hardcode_action
15664 # ### END LIBTOOL CONFIG
15668 cat <<'_LT_EOF' >> "$cfgfile"
15670 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15672 # func_munge_path_list VARIABLE PATH
15673 # -----------------------------------
15674 # VARIABLE is name of variable containing _space_ separated list of
15675 # directories to be munged by the contents of PATH, which is string
15678 # string "DIR[ DIR]" will be prepended to VARIABLE
15680 # string "DIR[ DIR]" will be appended to VARIABLE
15681 # "DIRP[:DIRP]::[DIRA:]DIRA"
15682 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15683 # "DIRA[ DIRA]" will be appended to VARIABLE
15685 # VARIABLE will be replaced by "DIR[ DIR]"
15686 func_munge_path_list ()
15692 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15695 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15698 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15699 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15702 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15708 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15709 func_cc_basename ()
15711 for cc_temp in $*""; do
15713 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15714 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15719 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15723 # ### END FUNCTIONS SHARED WITH CONFIGURE
15729 cat <<\_LT_EOF >> "$cfgfile"
15730 # AIX sometimes has problems with the GCC collect2 program. For some
15731 # reason, if we set the COLLECT_NAMES environment variable, the problems
15732 # vanish in a puff of smoke.
15733 if test set != "${COLLECT_NAMES+set}"; then
15735 export COLLECT_NAMES
15742 ltmain=$ac_aux_dir/ltmain.sh
15745 # We use sed instead of cat because bash on DJGPP gets confused if
15746 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15747 # text mode, it properly converts lines to CR/LF. This bash problem
15748 # is reportedly fixed, but why not run on old versions too?
15749 sed '$q' "$ltmain" >> "$cfgfile" \
15750 || (rm -f "$cfgfile"; exit 1)
15752 mv -f "$cfgfile" "$ofile" ||
15753 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15764 ac_clean_files=$ac_clean_files_save
15766 test $ac_write_fail = 0 ||
15767 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15770 # configure is writing to config.log, and then calls config.status.
15771 # config.status does its own redirection, appending to config.log.
15772 # Unfortunately, on DOS this fails, as config.log is still kept open
15773 # by configure, so config.status won't be able to write to it; its
15774 # output is simply discarded. So we exec the FD to /dev/null,
15775 # effectively closing config.log, so it can be properly (re)opened and
15776 # appended to by config.status. When coming back to configure, we
15777 # need to make the FD available again.
15778 if test "$no_create" != yes; then
15780 ac_config_status_args=
15781 test "$silent" = yes &&
15782 ac_config_status_args="$ac_config_status_args --quiet"
15784 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15786 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15787 # would make configure fail if this is the last instruction.
15788 $ac_cs_success || as_fn_exit 1
15790 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15792 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}