2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlcipher 3.33.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='sqlcipher'
589 PACKAGE_TARNAME
='sqlcipher'
590 PACKAGE_VERSION
='3.33.0'
591 PACKAGE_STRING
='sqlcipher 3.33.0'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars
='LTLIBOBJS
741 program_transform_name
754 enable_option_checking
766 enable_cross_thread_connections
777 enable_load_extension
791 ac_precious_vars
='build_alias
804 # Initialize some variables set by options.
806 ac_init_version
=false
807 ac_unrecognized_opts
=
809 # The variables have the same names as the options, with
810 # dashes changed to underlines.
818 program_transform_name
=s
,x
,x
,
826 # Installation directory options.
827 # These are left unexpanded so users can "make install exec_prefix=/foo"
828 # and all the variables that are supposed to be based on exec_prefix
829 # by default will actually change.
830 # Use braces instead of parens because sh, perl, etc. also accept them.
831 # (The list follows the same order as the GNU Coding Standards.)
832 bindir
='${exec_prefix}/bin'
833 sbindir
='${exec_prefix}/sbin'
834 libexecdir
='${exec_prefix}/libexec'
835 datarootdir
='${prefix}/share'
836 datadir
='${datarootdir}'
837 sysconfdir
='${prefix}/etc'
838 sharedstatedir
='${prefix}/com'
839 localstatedir
='${prefix}/var'
840 runstatedir
='${localstatedir}/run'
841 includedir
='${prefix}/include'
842 oldincludedir
='/usr/include'
843 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
844 infodir
='${datarootdir}/info'
849 libdir
='${exec_prefix}/lib'
850 localedir
='${datarootdir}/locale'
851 mandir
='${datarootdir}/man'
857 # If the previous option needs an argument, assign it.
858 if test -n "$ac_prev"; then
859 eval $ac_prev=\
$ac_option
865 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
870 # Accept the important Cygnus configure options, so we can diagnose typos.
872 case $ac_dashdash$ac_option in
876 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
878 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
881 -build |
--build |
--buil |
--bui |
--bu)
882 ac_prev
=build_alias
;;
883 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
884 build_alias
=$ac_optarg ;;
886 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
887 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
888 ac_prev
=cache_file
;;
889 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
890 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
891 cache_file
=$ac_optarg ;;
894 cache_file
=config.cache
;;
896 -datadir |
--datadir |
--datadi |
--datad)
898 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
899 datadir
=$ac_optarg ;;
901 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
902 |
--dataroo |
--dataro |
--datar)
903 ac_prev
=datarootdir
;;
904 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
905 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
906 datarootdir
=$ac_optarg ;;
908 -disable-* |
--disable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error $?
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=no
;;
924 -docdir |
--docdir |
--docdi |
--doc |
--do)
926 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
929 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
931 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
934 -enable-* |
--enable-*)
935 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
938 as_fn_error $?
"invalid feature name: $ac_useropt"
939 ac_useropt_orig
=$ac_useropt
940 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946 ac_unrecognized_sep
=', ';;
948 eval enable_
$ac_useropt=\
$ac_optarg ;;
950 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
951 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
952 |
--exec |
--exe |
--ex)
953 ac_prev
=exec_prefix
;;
954 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
955 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
956 |
--exec=* |
--exe=* |
--ex=*)
957 exec_prefix
=$ac_optarg ;;
959 -gas |
--gas |
--ga |
--g)
960 # Obsolete; use --with-gas.
963 -help |
--help |
--hel |
--he |
-h)
965 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
966 ac_init_help
=recursive
;;
967 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
968 ac_init_help
=short
;;
970 -host |
--host |
--hos |
--ho)
971 ac_prev
=host_alias
;;
972 -host=* |
--host=* |
--hos=* |
--ho=*)
973 host_alias
=$ac_optarg ;;
975 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
977 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
979 htmldir
=$ac_optarg ;;
981 -includedir |
--includedir |
--includedi |
--included |
--include \
982 |
--includ |
--inclu |
--incl |
--inc)
983 ac_prev
=includedir
;;
984 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
985 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
986 includedir
=$ac_optarg ;;
988 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
990 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
991 infodir
=$ac_optarg ;;
993 -libdir |
--libdir |
--libdi |
--libd)
995 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
998 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
999 |
--libexe |
--libex |
--libe)
1000 ac_prev
=libexecdir
;;
1001 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1002 |
--libexe=* |
--libex=* |
--libe=*)
1003 libexecdir
=$ac_optarg ;;
1005 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1006 ac_prev
=localedir
;;
1007 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1008 localedir
=$ac_optarg ;;
1010 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1011 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1012 ac_prev
=localstatedir
;;
1013 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1014 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1015 localstatedir
=$ac_optarg ;;
1017 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1019 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1020 mandir
=$ac_optarg ;;
1022 -nfp |
--nfp |
--nf)
1023 # Obsolete; use --without-fp.
1026 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1027 |
--no-cr |
--no-c |
-n)
1030 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1031 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1034 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1035 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1036 |
--oldin |
--oldi |
--old |
--ol |
--o)
1037 ac_prev
=oldincludedir
;;
1038 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1039 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1040 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1041 oldincludedir
=$ac_optarg ;;
1043 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1045 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1046 prefix
=$ac_optarg ;;
1048 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1049 |
--program-pre |
--program-pr |
--program-p)
1050 ac_prev
=program_prefix
;;
1051 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1052 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1053 program_prefix
=$ac_optarg ;;
1055 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1056 |
--program-suf |
--program-su |
--program-s)
1057 ac_prev
=program_suffix
;;
1058 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1059 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1060 program_suffix
=$ac_optarg ;;
1062 -program-transform-name |
--program-transform-name \
1063 |
--program-transform-nam |
--program-transform-na \
1064 |
--program-transform-n |
--program-transform- \
1065 |
--program-transform |
--program-transfor \
1066 |
--program-transfo |
--program-transf \
1067 |
--program-trans |
--program-tran \
1068 |
--progr-tra |
--program-tr |
--program-t)
1069 ac_prev
=program_transform_name
;;
1070 -program-transform-name=* |
--program-transform-name=* \
1071 |
--program-transform-nam=* |
--program-transform-na=* \
1072 |
--program-transform-n=* |
--program-transform-=* \
1073 |
--program-transform=* |
--program-transfor=* \
1074 |
--program-transfo=* |
--program-transf=* \
1075 |
--program-trans=* |
--program-tran=* \
1076 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1077 program_transform_name
=$ac_optarg ;;
1079 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1081 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1082 pdfdir
=$ac_optarg ;;
1084 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1086 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1090 |
-silent |
--silent |
--silen |
--sile |
--sil)
1093 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1094 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1095 |
--run |
--ru |
--r)
1096 ac_prev
=runstatedir
;;
1097 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1098 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1099 |
--run=* |
--ru=* |
--r=*)
1100 runstatedir
=$ac_optarg ;;
1102 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1104 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1106 sbindir
=$ac_optarg ;;
1108 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1109 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1110 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1112 ac_prev
=sharedstatedir
;;
1113 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1114 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1115 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1117 sharedstatedir
=$ac_optarg ;;
1119 -site |
--site |
--sit)
1121 -site=* |
--site=* |
--sit=*)
1124 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1126 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1127 srcdir
=$ac_optarg ;;
1129 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1130 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1131 ac_prev
=sysconfdir
;;
1132 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1133 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1134 sysconfdir
=$ac_optarg ;;
1136 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1137 ac_prev
=target_alias
;;
1138 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1139 target_alias
=$ac_optarg ;;
1141 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1144 -version |
--version |
--versio |
--versi |
--vers |
-V)
1145 ac_init_version
=: ;;
1148 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1151 as_fn_error $?
"invalid package name: $ac_useropt"
1152 ac_useropt_orig
=$ac_useropt
1153 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159 ac_unrecognized_sep
=', ';;
1161 eval with_
$ac_useropt=\
$ac_optarg ;;
1163 -without-* |
--without-*)
1164 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1167 as_fn_error $?
"invalid package name: $ac_useropt"
1168 ac_useropt_orig
=$ac_useropt
1169 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1175 ac_unrecognized_sep
=', ';;
1177 eval with_
$ac_useropt=no
;;
1180 # Obsolete; use --with-x.
1183 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1184 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1185 ac_prev
=x_includes
;;
1186 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1187 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1188 x_includes
=$ac_optarg ;;
1190 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1191 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1192 ac_prev
=x_libraries
;;
1193 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1194 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1195 x_libraries
=$ac_optarg ;;
1197 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1198 Try \`$0 --help' for more information"
1202 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 case $ac_envvar in #(
1205 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1206 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1208 eval $ac_envvar=\
$ac_optarg
1209 export $ac_envvar ;;
1212 # FIXME: should be removed in autoconf 3.0.
1213 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1215 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222 if test -n "$ac_prev"; then
1223 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1224 as_fn_error $?
"missing argument to $ac_option"
1227 if test -n "$ac_unrecognized_opts"; then
1228 case $enable_option_checking in
1230 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1231 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235 # Check all directory arguments for consistency.
1236 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237 datadir sysconfdir sharedstatedir localstatedir includedir \
1238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239 libdir localedir mandir runstatedir
1241 eval ac_val
=\$
$ac_var
1242 # Remove trailing slashes.
1245 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246 eval $ac_var=\
$ac_val;;
1248 # Be sure to have absolute directory names.
1250 [\\/$
]* | ?
:[\\/]* ) continue;;
1251 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1253 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1256 # There might be people who depend on the old broken behavior: `$host'
1257 # used to hold the argument of --host etc.
1258 # FIXME: To remove some day.
1261 target
=$target_alias
1263 # FIXME: To remove some day.
1264 if test "x$host_alias" != x
; then
1265 if test "x$build_alias" = x
; then
1266 cross_compiling
=maybe
1267 elif test "x$build_alias" != "x$host_alias"; then
1273 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1275 test "$silent" = yes && exec 6>/dev
/null
1278 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1279 ac_ls_di
=`ls -di .` &&
1280 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1281 as_fn_error $?
"working directory cannot be determined"
1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283 as_fn_error $?
"pwd does not report name of working directory"
1286 # Find the source files, if location was not specified.
1287 if test -z "$srcdir"; then
1288 ac_srcdir_defaulted
=yes
1289 # Try the directory containing this script, then the parent directory.
1290 ac_confdir
=`$as_dirname -- "$as_myself" ||
1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292 X"$as_myself" : 'X\(//\)[^/]' \| \
1293 X"$as_myself" : 'X\(//\)$' \| \
1294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295 $as_echo X"$as_myself" |
1296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1318 ac_srcdir_defaulted
=no
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1321 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1322 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1324 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1328 # When building in place, set srcdir=.
1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
1332 # Remove unnecessary trailing slashes from srcdir.
1333 # Double slashes in file names in object file debugging info
1334 # mess up M-x gdb in Emacs.
1336 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338 for ac_var
in $ac_precious_vars; do
1339 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1340 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1341 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1342 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1346 # Report the --help message.
1348 if test "$ac_init_help" = "long"; then
1349 # Omit some internal or obsolete options to make the list less imposing.
1350 # This message is too long to be a string in the A/UX 3.1 sh.
1352 \`configure' configures sqlcipher 3.33.0 to adapt to many kinds of systems.
1354 Usage: $0 [OPTION]... [VAR=VALUE]...
1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357 VAR=VALUE. See below for descriptions of some of the useful variables.
1359 Defaults for the options are specified in brackets.
1362 -h, --help display this help and exit
1363 --help=short display options specific to this package
1364 --help=recursive display the short help of all the included packages
1365 -V, --version display version information and exit
1366 -q, --quiet, --silent do not print \`checking ...' messages
1367 --cache-file=FILE cache test results in FILE [disabled]
1368 -C, --config-cache alias for \`--cache-file=config.cache'
1369 -n, --no-create do not create output files
1370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372 Installation directories:
1373 --prefix=PREFIX install architecture-independent files in PREFIX
1374 [$ac_default_prefix]
1375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1378 By default, \`make install' will install all the files in
1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381 for instance \`--prefix=\$HOME'.
1383 For better control, use the options below.
1385 Fine tuning of the installation directories:
1386 --bindir=DIR user executables [EPREFIX/bin]
1387 --sbindir=DIR system admin executables [EPREFIX/sbin]
1388 --libexecdir=DIR program executables [EPREFIX/libexec]
1389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1392 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1393 --libdir=DIR object code libraries [EPREFIX/lib]
1394 --includedir=DIR C header files [PREFIX/include]
1395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1398 --infodir=DIR info documentation [DATAROOTDIR/info]
1399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1400 --mandir=DIR man documentation [DATAROOTDIR/man]
1401 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlcipher]
1402 --htmldir=DIR html documentation [DOCDIR]
1403 --dvidir=DIR dvi documentation [DOCDIR]
1404 --pdfdir=DIR pdf documentation [DOCDIR]
1405 --psdir=DIR ps documentation [DOCDIR]
1411 --build=BUILD configure
for building on BUILD
[guessed
]
1412 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1416 if test -n "$ac_init_help"; then
1417 case $ac_init_help in
1418 short | recursive
) echo "Configuration of sqlcipher 3.33.0:";;
1423 --disable-option-checking ignore unrecognized
--enable/--with options
1424 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1425 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1426 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1427 --enable-static[=PKGS
] build static libraries
[default
=yes]
1428 --enable-fast-install[=PKGS
]
1429 optimize
for fast installation
[default
=yes]
1430 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1431 --disable-largefile omit support
for large files
1432 --disable-threadsafe Disable mutexing
1433 --enable-cross-thread-connections
1434 Allow connection sharing across threads
1435 --enable-releasemode Support libtool link to release mode
1436 --enable-tempstore Use an in-ram database
for temporary tables
1437 (never
,no
,yes,always
)
1438 --disable-tcl do not build TCL extension
1439 --enable-editline enable BSD editline support
1440 --disable-readline disable readline support
1441 --enable-debug enable debugging
& verbose explain
1442 --disable-amalgamation Disable the amalgamation and instead build all files
1444 --disable-load-extension
1445 Disable loading of external extensions
1446 --enable-memsys5 Enable MEMSYS5
1447 --enable-memsys3 Enable MEMSYS3
1448 --enable-all Enable FTS4
, FTS5
, Geopoly
, JSON
, RTree
, Sessions
1449 --enable-fts3 Enable the FTS3 extension
1450 --enable-fts4 Enable the FTS4 extension
1451 --enable-fts5 Enable the FTS5 extension
1452 --enable-json1 Enable the JSON1 extension
1453 --enable-update-limit Enable the UPDATE
/DELETE LIMIT clause
1454 --enable-geopoly Enable the GEOPOLY extension
1455 --enable-rtree Enable the RTREE extension
1456 --enable-session Enable the SESSION extension
1457 --enable-gcov Enable coverage testing using gcov
1460 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1461 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1462 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1464 --with-aix-soname=aix|svr4|both
1465 shared library versioning
(aka
"SONAME") variant to
1466 provide on AIX
, [default
=aix
].
1467 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1468 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1469 compiler
's sysroot if not specified).
1470 --with-crypto-lib Specify which crypto library to use
1471 --with-tcl=DIR directory containing tcl configuration
1473 --with-readline-lib specify readline library
1474 --with-readline-inc specify readline include paths
1476 Some influential environment variables:
1477 CC C compiler command
1478 CFLAGS C compiler flags
1479 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1480 nonstandard directory <lib dir>
1481 LIBS libraries to pass to the linker, e.g. -l<library>
1482 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1483 you have headers in a nonstandard directory <include dir>
1485 User-defined run-time library search path.
1487 TCLLIBDIR Where to install tcl plugin
1489 Use these variables to override the choices made by `configure' or to
help
1490 it to
find libraries and programs with nonstandard names
/locations.
1492 Report bugs to the package provider.
1497 if test "$ac_init_help" = "recursive"; then
1498 # If there are subdirs, report their specific --help.
1499 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1500 test -d "$ac_dir" ||
1501 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1506 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1508 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1509 # A ".." for each directory in $ac_dir_suffix.
1510 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1511 case $ac_top_builddir_sub in
1512 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1513 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1516 ac_abs_top_builddir
=$ac_pwd
1517 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1518 # for backward compatibility:
1519 ac_top_builddir
=$ac_top_build_prefix
1522 .
) # We are building in place.
1524 ac_top_srcdir
=$ac_top_builddir_sub
1525 ac_abs_top_srcdir
=$ac_pwd ;;
1526 [\\/]* | ?
:[\\/]* ) # Absolute name.
1527 ac_srcdir
=$srcdir$ac_dir_suffix;
1528 ac_top_srcdir
=$srcdir
1529 ac_abs_top_srcdir
=$srcdir ;;
1531 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1532 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1533 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1535 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1537 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1538 # Check for guested configure.
1539 if test -f "$ac_srcdir/configure.gnu"; then
1541 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1542 elif test -f "$ac_srcdir/configure"; then
1544 $SHELL "$ac_srcdir/configure" --help=recursive
1546 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1548 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1552 test -n "$ac_init_help" && exit $ac_status
1553 if $ac_init_version; then
1555 sqlcipher configure
3.33.0
1556 generated by GNU Autoconf
2.69
1558 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1559 This configure
script is free software
; the Free Software Foundation
1560 gives unlimited permission to copy
, distribute and modify it.
1565 ## ------------------------ ##
1566 ## Autoconf initialization. ##
1567 ## ------------------------ ##
1569 # ac_fn_c_try_compile LINENO
1570 # --------------------------
1571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1572 ac_fn_c_try_compile
()
1574 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1575 rm -f conftest.
$ac_objext
1576 if { { ac_try
="$ac_compile"
1578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1579 *) ac_try_echo=$ac_try;;
1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_compile") 2>conftest.err
1585 if test -s conftest.err; then
1586 grep -v '^ *+' conftest.err >conftest.er1
1587 cat conftest.er1 >&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } && {
1592 test -z "$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1594 } && test -s conftest.$ac_objext; then :
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status $ac_retval
1605 } # ac_fn_c_try_compile
1607 # ac_fn_c_try_link LINENO
1608 # -----------------------
1609 # Try to link conftest.$ac_ext, and return whether this succeeded.
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 rm -f conftest.$ac_objext conftest$ac_exeext
1614 if { { ac_try="$ac_link"
1616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1617 *) ac_try_echo
=$ac_try;;
1619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_link") 2>conftest.err
1623 if test -s conftest.err
; then
1624 grep -v '^ *+' conftest.err
>conftest.er1
1625 cat conftest.er1
>&5
1626 mv -f conftest.er1 conftest.err
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } && {
1630 test -z "$ac_c_werror_flag" ||
1631 test ! -s conftest.err
1632 } && test -s conftest
$ac_exeext && {
1633 test "$cross_compiling" = yes ||
1634 test -x conftest
$ac_exeext
1638 $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.
$ac_ext >&5
1643 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1644 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1645 # interfere with the next link command; also delete a directory that is
1646 # left behind by Apple's compiler. We do this before executing the actions.
1647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status
$ac_retval
1651 } # ac_fn_c_try_link
1653 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1654 # -------------------------------------------------------
1655 # Tests whether HEADER exists and can be compiled using the include files in
1656 # INCLUDES, setting the cache variable VAR accordingly.
1657 ac_fn_c_check_header_compile
()
1659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1661 $as_echo_n "checking for $2... " >&6; }
1662 if eval \
${$3+:} false
; then :
1663 $as_echo_n "(cached) " >&6
1665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1670 if ac_fn_c_try_compile
"$LINENO"; then :
1675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679 $as_echo "$ac_res" >&6; }
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 } # ac_fn_c_check_header_compile
1684 # ac_fn_c_try_cpp LINENO
1685 # ----------------------
1686 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1689 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1690 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1699 if test -s conftest.err; then
1700 grep -v '^ *+' conftest.err >conftest.er1
1701 cat conftest.er1 >&5
1702 mv -f conftest.er1 conftest.err
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } > conftest.i && {
1706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1707 test ! -s conftest.err
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 as_fn_set_status $ac_retval
1721 # ac_fn_c_try_run LINENO
1722 # ----------------------
1723 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1724 # that executables *can* be run.
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 if { { ac_try="$ac_link"
1730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1731 *) ac_try_echo
=$ac_try;;
1733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_link") 2>&5
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1739 { { case "(($ac_try" in
1740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_try") 2>&5
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; }; }; then :
1751 $as_echo "$as_me: program exited with status $ac_status" >&5
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1755 ac_retval=$ac_status
1757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1763 # ac_fn_c_check_func LINENO FUNC VAR
1764 # ----------------------------------
1765 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1766 ac_fn_c_check_func ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1776 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1778 #define $2 innocuous_$2
1780 /* System header to define __stub macros and hopefully few prototypes,
1781 which can conflict with char $2 (); below.
1782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1783 <limits.h> exists even on freestanding compilers. */
1786 # include <limits.h>
1788 # include <assert.h>
1793 /* Override any GCC internal prototype to avoid an error.
1794 Use char because int might match the return type of a GCC
1795 builtin and then its argument prototype would still apply. */
1800 /* The GNU C library defines this for functions which it implements
1801 to always fail with ENOSYS. Some functions are actually named
1802 something starting with __ and the normal name is an alias. */
1803 #if defined __stub_$2 || defined __stub___$2
1815 if ac_fn_c_try_link "$LINENO"; then :
1820 rm -f core conftest.err conftest.$ac_objext \
1821 conftest$ac_exeext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_func
1830 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1831 # -------------------------------------------
1832 # Tests whether TYPE exists after having included INCLUDES, setting cache
1833 # variable VAR accordingly.
1834 ac_fn_c_check_type ()
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838 $as_echo_n "checking for $2... " >&6; }
1839 if eval \${$3+:} false; then :
1840 $as_echo_n "(cached) " >&6
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1855 if ac_fn_c_try_compile "$LINENO"; then :
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1868 if ac_fn_c_try_compile "$LINENO"; then :
1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_type
1884 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1887 # the include files in INCLUDES and setting the cache variable VAR
1889 ac_fn_c_check_header_mongrel ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 if eval \${$3+:} false; then :
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1902 # Is the header compilable?
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1904 $as_echo_n "checking $2 usability... " >&6; }
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911 ac_header_compiler=yes
1913 ac_header_compiler=no
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1917 $as_echo "$ac_header_compiler" >&6; }
1919 # Is the header present?
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1921 $as_echo_n "checking $2 presence... " >&6; }
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1926 if ac_fn_c_try_cpp "$LINENO"; then :
1927 ac_header_preproc=yes
1929 ac_header_preproc=no
1931 rm -f conftest.err conftest.i conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1933 $as_echo "$ac_header_preproc" >&6; }
1935 # So? What about this header?
1936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1939 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1945 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1947 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1949 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1951 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959 $as_echo_n "(cached) " >&6
1961 eval "$3=\$ac_header_compiler"
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_header_mongrel
1970 cat >config.log <<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1974 It was created by sqlcipher $as_me 3.33.0, which was
1975 generated by GNU Autoconf 2.69. Invocation command line was
1987 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1988 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1989 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1990 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1991 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1993 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1994 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1996 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1997 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1998 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1999 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2000 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2001 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2002 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 $as_echo "PATH: $as_dir"
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2035 ac_must_keep_next=false
2041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043 | -silent | --silent | --silen | --sile | --sil)
2046 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2049 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2051 as_fn_append ac_configure_args1 " '$ac_arg'"
2052 if test $ac_must_keep_next = true; then
2053 ac_must_keep_next=false # Got value, back to normal.
2056 *=* | --config-cache | -C | -disable-* | --disable-* \
2057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059 | -with-* | --with-* | -without-* | --without-* | --x)
2060 case "$ac_configure_args0 " in
2061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2064 -* ) ac_must_keep_next=true ;;
2067 as_fn_append ac_configure_args " '$ac_arg'"
2072 { ac_configure_args0=; unset ac_configure_args0;}
2073 { ac_configure_args1=; unset ac_configure_args1;}
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log. We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081 # Save into config.log some information that might help in debugging.
2085 $as_echo "## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##"
2089 # The following way of writing the cache mishandles newlines in values,
2091 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2092 eval ac_val=\$$ac_var
2096 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2100 _ | IFS | as_nl) ;; #(
2101 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102 *) { eval $ac_var=; unset $ac_var;} ;;
2107 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2108 *${as_nl}ac_space=\ *)
2110 "s/'\''/'\''\\\\'\'''\''/g;
2111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2121 $as_echo "## ----------------- ##
2122 ## Output variables. ##
2123 ## ----------------- ##"
2125 for ac_var in $ac_subst_vars
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 $as_echo "$ac_var='\''$ac_val'\''"
2135 if test -n "$ac_subst_files"; then
2136 $as_echo "## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##"
2140 for ac_var in $ac_subst_files
2142 eval ac_val=\$$ac_var
2144 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 $as_echo "$ac_var='\''$ac_val'\''"
2151 if test -s confdefs.h; then
2152 $as_echo "## ----------- ##
2159 test "$ac_signal" != 0 &&
2160 $as_echo "$as_me: caught signal $ac_signal"
2161 $as_echo "$as_me: exit $exit_status"
2163 rm -f core *.core core.conftest.* &&
2164 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2167 for ac_signal in 1 2 13 15; do
2168 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest* confdefs.h
2175 $as_echo "/* confdefs.h */" > confdefs.h
2177 # Predefined preprocessor variables.
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2208 if test -n "$CONFIG_SITE"; then
2209 # We do not want a PATH search for config.site.
2210 case $CONFIG_SITE in #((
2211 -*) ac_site_file1=./$CONFIG_SITE;;
2212 */*) ac_site_file1=$CONFIG_SITE;;
2213 *) ac_site_file1=./$CONFIG_SITE;;
2215 elif test "x$prefix" != xNONE; then
2216 ac_site_file1=$prefix/share/config.site
2217 ac_site_file2=$prefix/etc/config.site
2219 ac_site_file1=$ac_default_prefix/share/config.site
2220 ac_site_file2=$ac_default_prefix/etc/config.site
2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2224 test "x$ac_site_file" = xNONE && continue
2225 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228 sed 's/^/| /' "$ac_site_file" >&5
2230 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $? "failed to load site
script $ac_site_file
2233 See \
`config.log' for more details" "$LINENO" 5; }
2237 if test -r "$cache_file"; then
2238 # Some versions of bash will fail to source /dev/null (special files
2239 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2240 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
2244 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245 *) . "./$cache_file";;
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
2254 # Check that the precious variables saved in the cache have kept the same
2256 ac_cache_corrupted=false
2257 for ac_var in $ac_precious_vars; do
2258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259 eval ac_new_set=\$ac_env_${ac_var}_set
2260 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261 eval ac_new_val=\$ac_env_${ac_var}_value
2262 case $ac_old_set,$ac_new_set in
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2265 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266 ac_cache_corrupted=: ;;
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2269 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2270 ac_cache_corrupted=: ;;
2273 if test "x$ac_old_val" != "x$ac_new_val"; then
2274 # differences in whitespace do not lead to failure.
2275 ac_old_val_w=`echo x
$ac_old_val`
2276 ac_new_val_w=`echo x
$ac_new_val`
2277 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2279 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2280 ac_cache_corrupted=:
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2283 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2284 eval $ac_var=\$ac_old_val
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2287 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2289 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2292 # Pass precious variables to config.status.
2293 if test "$ac_new_set" = set; then
2295 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2296 *) ac_arg=$ac_var=$ac_new_val ;;
2298 case " $ac_configure_args " in
2299 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2300 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2304 if $ac_cache_corrupted; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2308 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2309 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2311 ## -------------------- ##
2312 ## Main body of script. ##
2313 ## -------------------- ##
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 sqlite_version_sanity_check=`cat $srcdir/VERSION |
tr -d '\n'`
2324 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2325 as_fn_error $? "configure script is out of date:
2326 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2327 top level VERSION file = $sqlite_version_sanity_check
2328 please regen with autoconf" "$LINENO" 5
2335 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2336 if test -f "$ac_dir/install-sh"; then
2338 ac_install_sh="$ac_aux_dir/install-sh -c"
2340 elif test -f "$ac_dir/install.sh"; then
2342 ac_install_sh="$ac_aux_dir/install.sh -c"
2344 elif test -f "$ac_dir/shtool"; then
2346 ac_install_sh="$ac_aux_dir/shtool install -c"
2350 if test -z "$ac_aux_dir"; then
2351 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2354 # These three variables are undocumented and unsupported,
2355 # and are intended to be withdrawn in a future Autoconf release.
2356 # They can cause serious problems if a builder's source tree is in a directory
2357 # whose full name contains unusual characters.
2358 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2359 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2360 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2366 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2371 macro_version='2.4.6'
2372 macro_revision='2.4.6'
2386 ltmain=$ac_aux_dir/ltmain.sh
2388 # Make sure we can run config.sub.
2389 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2390 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2393 $as_echo_n "checking build system type... " >&6; }
2394 if ${ac_cv_build+:} false; then :
2395 $as_echo_n "(cached) " >&6
2397 ac_build_alias=$build_alias
2398 test "x$ac_build_alias" = x &&
2399 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2400 test "x$ac_build_alias" = x &&
2401 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2402 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2403 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2407 $as_echo "$ac_cv_build" >&6; }
2408 case $ac_cv_build in
2410 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2413 ac_save_IFS=$IFS; IFS='-'
2419 # Remember, the first character of IFS is used to create $*,
2420 # except with old shells:
2423 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2427 $as_echo_n "checking host system type... " >&6; }
2428 if ${ac_cv_host+:} false; then :
2429 $as_echo_n "(cached) " >&6
2431 if test "x$host_alias" = x; then
2432 ac_cv_host=$ac_cv_build
2434 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2435 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2440 $as_echo "$ac_cv_host" >&6; }
2443 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2446 ac_save_IFS=$IFS; IFS='-'
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2456 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2459 # Backslashify metacharacters that are still active within
2460 # double-quoted strings.
2461 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
2463 # Same as above, but do not quote variable references.
2464 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
2466 # Sed substitution to delay expansion of an escaped shell variable in a
2467 # double_quote_subst'ed string.
2468 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2470 # Sed substitution to delay expansion of an escaped single quote.
2471 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2473 # Sed substitution to avoid accidental globbing in evaled expressions
2474 no_glob_subst='s/\*/\\\*/g'
2476 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2477 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2478 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
2481 $as_echo_n "checking how to print
strings...
" >&6; }
2482 # Test print first, because it will be a builtin if present.
2483 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
2484 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
2486 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
2489 # Use this function as a fallback that always works.
2490 func_fallback_echo ()
2492 eval 'cat <<_LTECHO_EOF
2496 ECHO='func_fallback_echo'
2499 # func_echo_all arg...
2500 # Invoke $ECHO with all args, space-separated.
2507 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
2508 $as_echo "printf" >&6; } ;;
2509 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
2510 $as_echo "print
-r" >&6; } ;;
2511 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
2512 $as_echo "cat" >&6; } ;;
2529 ac_cpp='$CPP $CPPFLAGS'
2530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533 if test -n "$ac_tool_prefix"; then
2534 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2535 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2537 $as_echo_n "checking
for $ac_word...
" >&6; }
2538 if ${ac_cv_prog_CC+:} false; then :
2539 $as_echo_n "(cached
) " >&6
2541 if test -n "$CC"; then
2542 ac_cv_prog_CC="$CC" # Let the user override the test.
2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 test -z "$as_dir" && as_dir=.
2549 for ac_exec_ext in '' $ac_executable_extensions; do
2550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2551 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2562 if test -n "$CC"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2564 $as_echo "$CC" >&6; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2567 $as_echo "no
" >&6; }
2572 if test -z "$ac_cv_prog_CC"; then
2574 # Extract the first word of "gcc
", so it can be a program name with args.
2575 set dummy gcc; ac_word=$2
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2577 $as_echo_n "checking
for $ac_word...
" >&6; }
2578 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2579 $as_echo_n "(cached
) " >&6
2581 if test -n "$ac_ct_CC"; then
2582 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir=.
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2591 ac_cv_prog_ac_ct_CC="gcc
"
2592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2601 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2602 if test -n "$ac_ct_CC"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2604 $as_echo "$ac_ct_CC" >&6; }
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2607 $as_echo "no
" >&6; }
2610 if test "x
$ac_ct_CC" = x; then
2613 case $cross_compiling:$ac_tool_warned in
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2616 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2617 ac_tool_warned=yes ;;
2625 if test -z "$CC"; then
2626 if test -n "$ac_tool_prefix"; then
2627 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2628 set dummy ${ac_tool_prefix}cc; ac_word=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2630 $as_echo_n "checking
for $ac_word...
" >&6; }
2631 if ${ac_cv_prog_CC+:} false; then :
2632 $as_echo_n "(cached
) " >&6
2634 if test -n "$CC"; then
2635 ac_cv_prog_CC="$CC" # Let the user override the test.
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir=.
2642 for ac_exec_ext in '' $ac_executable_extensions; do
2643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2644 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2655 if test -n "$CC"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2657 $as_echo "$CC" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2660 $as_echo "no
" >&6; }
2666 if test -z "$CC"; then
2667 # Extract the first word of "cc
", so it can be a program name with args.
2668 set dummy cc; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2670 $as_echo_n "checking
for $ac_word...
" >&6; }
2671 if ${ac_cv_prog_CC+:} false; then :
2672 $as_echo_n "(cached
) " >&6
2674 if test -n "$CC"; then
2675 ac_cv_prog_CC="$CC" # Let the user override the test.
2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 test -z "$as_dir" && as_dir=.
2683 for ac_exec_ext in '' $ac_executable_extensions; do
2684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2686 ac_prog_rejected=yes
2690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2697 if test $ac_prog_rejected = yes; then
2698 # We found a bogon in the path, so make sure we never use it.
2699 set dummy $ac_cv_prog_CC
2701 if test $# != 0; then
2702 # We chose a different compiler from the bogus one.
2703 # However, it has the same basename, so the bogon will be chosen
2704 # first if we set CC to just the basename; use the full file name.
2706 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2712 if test -n "$CC"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2714 $as_echo "$CC" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2717 $as_echo "no
" >&6; }
2722 if test -z "$CC"; then
2723 if test -n "$ac_tool_prefix"; then
2724 for ac_prog in cl.exe
2726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2729 $as_echo_n "checking
for $ac_word...
" >&6; }
2730 if ${ac_cv_prog_CC+:} false; then :
2731 $as_echo_n "(cached
) " >&6
2733 if test -n "$CC"; then
2734 ac_cv_prog_CC="$CC" # Let the user override the test.
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir=.
2741 for ac_exec_ext in '' $ac_executable_extensions; do
2742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2743 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2754 if test -n "$CC"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2756 $as_echo "$CC" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2759 $as_echo "no
" >&6; }
2763 test -n "$CC" && break
2766 if test -z "$CC"; then
2768 for ac_prog in cl.exe
2770 # Extract the first word of "$ac_prog", so it can be a program name with args.
2771 set dummy $ac_prog; ac_word=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2773 $as_echo_n "checking
for $ac_word...
" >&6; }
2774 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2775 $as_echo_n "(cached
) " >&6
2777 if test -n "$ac_ct_CC"; then
2778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_ac_ct_CC="$ac_prog"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2797 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2798 if test -n "$ac_ct_CC"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2800 $as_echo "$ac_ct_CC" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2803 $as_echo "no
" >&6; }
2807 test -n "$ac_ct_CC" && break
2810 if test "x
$ac_ct_CC" = x; then
2813 case $cross_compiling:$ac_tool_warned in
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2816 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2817 ac_tool_warned=yes ;;
2826 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2828 as_fn_error $? "no acceptable C compiler found in \$PATH
2829 See \`config.log' for more details
" "$LINENO" 5; }
2831 # Provide some information about the compiler.
2832 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2835 for ac_option in --version -v -V -qversion; do
2836 { { ac_try="$ac_compiler $ac_option >&5"
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2842 $as_echo "$ac_try_echo"; } >&5
2843 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2845 if test -s conftest.err; then
2847 ... rest of stderr output deleted ...
2848 10q' conftest.err >conftest.er1
2849 cat conftest.er1 >&5
2851 rm -f conftest.er1 conftest.err
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2853 test $ac_status = 0; }
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2867 ac_clean_files_save=$ac_clean_files
2868 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2869 # Try to create an executable without -o first, disregard a.out.
2870 # It will help us diagnose broken compilers, and finding out an intuition
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
2873 $as_echo_n "checking whether the C compiler works...
" >&6; }
2874 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2876 # The possible output files:
2877 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2880 for ac_file in $ac_files
2883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2884 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2889 if { { ac_try="$ac_link_default"
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;;
2894 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2895 $as_echo "$ac_try_echo"; } >&5
2896 (eval "$ac_link_default") 2>&5
2898 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2899 test $ac_status = 0; }; then :
2900 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2901 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2902 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2903 # so that the user can short-circuit this test for compilers unknown to
2905 for ac_file in $ac_files ''
2907 test -f "$ac_file" || continue
2909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2912 # We found the default executable, but exeext='' is most
2916 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2918 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2920 # We set ac_cv_exeext here because the later test for it is not
2921 # safe: cross compilers may not add the suffix if given an `-o'
2922 # argument, so we may need to know it at that point already.
2923 # Even if this section looks crufty: it has the advantage of
2930 test "$ac_cv_exeext" = no && ac_cv_exeext=
2935 if test -z "$ac_file"; then :
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2937 $as_echo "no
" >&6; }
2938 $as_echo "$as_me: failed program was
:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2943 as_fn_error 77 "C compiler cannot create executables
2944 See \`config.log' for more details
" "$LINENO" 5; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2947 $as_echo "yes" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
2950 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
2952 $as_echo "$ac_file" >&6; }
2953 ac_exeext=$ac_cv_exeext
2955 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2956 ac_clean_files=$ac_clean_files_save
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2958 $as_echo_n "checking
for suffix of executables...
" >&6; }
2959 if { { ac_try="$ac_link"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2965 $as_echo "$ac_try_echo"; } >&5
2966 (eval "$ac_link") 2>&5
2968 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2969 test $ac_status = 0; }; then :
2970 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2971 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2972 # work properly (i.e., refer to `conftest.exe'), while it won't with
2974 for ac_file in conftest.exe conftest conftest.*; do
2975 test -f "$ac_file" || continue
2977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2978 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2987 See \`config.log' for more details
" "$LINENO" 5; }
2989 rm -f conftest conftest$ac_cv_exeext
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2991 $as_echo "$ac_cv_exeext" >&6; }
2993 rm -f conftest.$ac_ext
2994 EXEEXT=$ac_cv_exeext
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3002 FILE *f = fopen ("conftest.out
", "w
");
3003 return ferror (f) || fclose (f) != 0;
3009 ac_clean_files="$ac_clean_files conftest.out
"
3010 # Check that the compiler produces executables we can run. If not, either
3011 # the compiler is broken, or we cross compile.
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3013 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3014 if test "$cross_compiling" != yes; then
3015 { { ac_try="$ac_link"
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022 (eval "$ac_link") 2>&5
3024 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3025 test $ac_status = 0; }
3026 if { ac_try='./conftest$ac_cv_exeext'
3027 { { case "(($ac_try" in
3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3032 $as_echo "$ac_try_echo"; } >&5
3033 (eval "$ac_try") 2>&5
3035 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3036 test $ac_status = 0; }; }; then
3039 if test "$cross_compiling" = maybe; then
3042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 as_fn_error $? "cannot run C compiled programs.
3045 If you meant to cross compile, use \`--host'.
3046 See \
`config.log' for more details" "$LINENO" 5; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3051 $as_echo "$cross_compiling" >&6; }
3053 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3054 ac_clean_files=$ac_clean_files_save
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3056 $as_echo_n "checking for suffix of object files... " >&6; }
3057 if ${ac_cv_objext+:} false; then :
3058 $as_echo_n "(cached) " >&6
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3071 rm -f conftest.o conftest.obj
3072 if { { ac_try="$ac_compile"
3074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3075 *) ac_try_echo
=$ac_try;;
3077 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3078 $as_echo "$ac_try_echo"; } >&5
3079 (eval "$ac_compile") 2>&5
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }; then :
3083 for ac_file
in conftest.o conftest.obj conftest.
*; do
3084 test -f "$ac_file" ||
continue;
3086 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3087 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3098 See \`config.log' for more details" "$LINENO" 5; }
3100 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3103 $as_echo "$ac_cv_objext" >&6; }
3104 OBJEXT
=$ac_cv_objext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3107 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3108 if ${ac_cv_c_compiler_gnu+:} false
; then :
3109 $as_echo_n "(cached) " >&6
3111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3125 if ac_fn_c_try_compile
"$LINENO"; then :
3130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3131 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3135 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3136 if test $ac_compiler_gnu = yes; then
3141 ac_test_CFLAGS
=${CFLAGS+set}
3142 ac_save_CFLAGS
=$CFLAGS
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3144 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3145 if ${ac_cv_prog_cc_g+:} false
; then :
3146 $as_echo_n "(cached) " >&6
3148 ac_save_c_werror_flag
=$ac_c_werror_flag
3149 ac_c_werror_flag
=yes
3152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3163 if ac_fn_c_try_compile
"$LINENO"; then :
3167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3178 if ac_fn_c_try_compile
"$LINENO"; then :
3181 ac_c_werror_flag
=$ac_save_c_werror_flag
3183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3194 if ac_fn_c_try_compile
"$LINENO"; then :
3197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3202 ac_c_werror_flag
=$ac_save_c_werror_flag
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3205 $as_echo "$ac_cv_prog_cc_g" >&6; }
3206 if test "$ac_test_CFLAGS" = set; then
3207 CFLAGS
=$ac_save_CFLAGS
3208 elif test $ac_cv_prog_cc_g = yes; then
3209 if test "$GCC" = yes; then
3215 if test "$GCC" = yes; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3222 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3223 if ${ac_cv_prog_cc_c89+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 ac_cv_prog_cc_c89
=no
3228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3234 struct buf { int x; };
3235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3236 static char *e (p, i)
3242 static char *f (char * (*g) (char **, int), char **p, ...)
3247 s = g (p, va_arg (v,int));
3252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3253 function prototypes and stuff, but not '\xHH' hex character constants.
3254 These don't provoke an error unfortunately, instead are silently treated
3255 as 'x'. The following induces an error, until -std is added to get
3256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3257 array size at least. It's necessary to write '\x00'==0 to get something
3258 that's true only with -std. */
3259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3262 inside strings and character constants. */
3264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3266 int test (int i, double x);
3267 struct s1 {int (*f) (int a);};
3268 struct s2 {int (*f) (double a);};
3269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3280 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3283 CC
="$ac_save_CC $ac_arg"
3284 if ac_fn_c_try_compile
"$LINENO"; then :
3285 ac_cv_prog_cc_c89
=$ac_arg
3287 rm -f core conftest.err conftest.
$ac_objext
3288 test "x$ac_cv_prog_cc_c89" != "xno" && break
3290 rm -f conftest.
$ac_ext
3295 case "x$ac_cv_prog_cc_c89" in
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3298 $as_echo "none needed" >&6; } ;;
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3301 $as_echo "unsupported" >&6; } ;;
3303 CC
="$CC $ac_cv_prog_cc_c89"
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3305 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3307 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3312 ac_cpp
='$CPP $CPPFLAGS'
3313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3318 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3319 if ${ac_cv_path_SED+:} false
; then :
3320 $as_echo_n "(cached) " >&6
3322 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3323 for ac_i
in 1 2 3 4 5 6 7; do
3324 ac_script
="$ac_script$as_nl$ac_script"
3326 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3327 { ac_script
=; unset ac_script
;}
3328 if test -z "$SED"; then
3329 ac_path_SED_found
=false
3330 # Loop through the user's path and test for each of PROGNAME-LIST
3331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3335 test -z "$as_dir" && as_dir
=.
3336 for ac_prog
in sed gsed
; do
3337 for ac_exec_ext
in '' $ac_executable_extensions; do
3338 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3339 as_fn_executable_p
"$ac_path_SED" ||
continue
3340 # Check for GNU ac_path_SED and select it if it is found.
3341 # Check for GNU $ac_path_SED
3342 case `"$ac_path_SED" --version 2>&1` in
3344 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3347 $as_echo_n 0123456789 >"conftest.in"
3350 cat "conftest.in" "conftest.in" >"conftest.tmp"
3351 mv "conftest.tmp" "conftest.in"
3352 cp "conftest.in" "conftest.nl"
3353 $as_echo '' >> "conftest.nl"
3354 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3355 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3356 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3357 if test $ac_count -gt ${ac_path_SED_max-0}; then
3358 # Best one so far, save it but keep looking for a better one
3359 ac_cv_path_SED
="$ac_path_SED"
3360 ac_path_SED_max
=$ac_count
3362 # 10*(2^10) chars as input seems more than enough
3363 test $ac_count -gt 10 && break
3365 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3368 $ac_path_SED_found && break 3
3373 if test -z "$ac_cv_path_SED"; then
3374 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3382 $as_echo "$ac_cv_path_SED" >&6; }
3383 SED
="$ac_cv_path_SED"
3386 test -z "$SED" && SED
=sed
3387 Xsed
="$SED -e 1s/^X//"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3400 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3401 if ${ac_cv_path_GREP+:} false
; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -z "$GREP"; then
3405 ac_path_GREP_found
=false
3406 # Loop through the user's path and test for each of PROGNAME-LIST
3407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3408 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3411 test -z "$as_dir" && as_dir
=.
3412 for ac_prog
in grep ggrep
; do
3413 for ac_exec_ext
in '' $ac_executable_extensions; do
3414 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3415 as_fn_executable_p
"$ac_path_GREP" ||
continue
3416 # Check for GNU ac_path_GREP and select it if it is found.
3417 # Check for GNU $ac_path_GREP
3418 case `"$ac_path_GREP" --version 2>&1` in
3420 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3423 $as_echo_n 0123456789 >"conftest.in"
3426 cat "conftest.in" "conftest.in" >"conftest.tmp"
3427 mv "conftest.tmp" "conftest.in"
3428 cp "conftest.in" "conftest.nl"
3429 $as_echo 'GREP' >> "conftest.nl"
3430 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3431 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3432 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3433 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3434 # Best one so far, save it but keep looking for a better one
3435 ac_cv_path_GREP
="$ac_path_GREP"
3436 ac_path_GREP_max
=$ac_count
3438 # 10*(2^10) chars as input seems more than enough
3439 test $ac_count -gt 10 && break
3441 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3444 $ac_path_GREP_found && break 3
3449 if test -z "$ac_cv_path_GREP"; then
3450 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3453 ac_cv_path_GREP
=$GREP
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3458 $as_echo "$ac_cv_path_GREP" >&6; }
3459 GREP
="$ac_cv_path_GREP"
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3463 $as_echo_n "checking for egrep... " >&6; }
3464 if ${ac_cv_path_EGREP+:} false
; then :
3465 $as_echo_n "(cached) " >&6
3467 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3468 then ac_cv_path_EGREP
="$GREP -E"
3470 if test -z "$EGREP"; then
3471 ac_path_EGREP_found
=false
3472 # Loop through the user's path and test for each of PROGNAME-LIST
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3474 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_prog
in egrep; do
3479 for ac_exec_ext
in '' $ac_executable_extensions; do
3480 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3481 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3482 # Check for GNU ac_path_EGREP and select it if it is found.
3483 # Check for GNU $ac_path_EGREP
3484 case `"$ac_path_EGREP" --version 2>&1` in
3486 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3489 $as_echo_n 0123456789 >"conftest.in"
3492 cat "conftest.in" "conftest.in" >"conftest.tmp"
3493 mv "conftest.tmp" "conftest.in"
3494 cp "conftest.in" "conftest.nl"
3495 $as_echo 'EGREP' >> "conftest.nl"
3496 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3497 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3498 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3499 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3500 # Best one so far, save it but keep looking for a better one
3501 ac_cv_path_EGREP
="$ac_path_EGREP"
3502 ac_path_EGREP_max
=$ac_count
3504 # 10*(2^10) chars as input seems more than enough
3505 test $ac_count -gt 10 && break
3507 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3510 $ac_path_EGREP_found && break 3
3515 if test -z "$ac_cv_path_EGREP"; then
3516 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3519 ac_cv_path_EGREP
=$EGREP
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3525 $as_echo "$ac_cv_path_EGREP" >&6; }
3526 EGREP
="$ac_cv_path_EGREP"
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3530 $as_echo_n "checking for fgrep... " >&6; }
3531 if ${ac_cv_path_FGREP+:} false
; then :
3532 $as_echo_n "(cached) " >&6
3534 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3535 then ac_cv_path_FGREP
="$GREP -F"
3537 if test -z "$FGREP"; then
3538 ac_path_FGREP_found
=false
3539 # Loop through the user's path and test for each of PROGNAME-LIST
3540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3541 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3544 test -z "$as_dir" && as_dir
=.
3545 for ac_prog
in fgrep
; do
3546 for ac_exec_ext
in '' $ac_executable_extensions; do
3547 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3548 as_fn_executable_p
"$ac_path_FGREP" ||
continue
3549 # Check for GNU ac_path_FGREP and select it if it is found.
3550 # Check for GNU $ac_path_FGREP
3551 case `"$ac_path_FGREP" --version 2>&1` in
3553 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3556 $as_echo_n 0123456789 >"conftest.in"
3559 cat "conftest.in" "conftest.in" >"conftest.tmp"
3560 mv "conftest.tmp" "conftest.in"
3561 cp "conftest.in" "conftest.nl"
3562 $as_echo 'FGREP' >> "conftest.nl"
3563 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3564 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3565 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3566 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3567 # Best one so far, save it but keep looking for a better one
3568 ac_cv_path_FGREP
="$ac_path_FGREP"
3569 ac_path_FGREP_max
=$ac_count
3571 # 10*(2^10) chars as input seems more than enough
3572 test $ac_count -gt 10 && break
3574 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3577 $ac_path_FGREP_found && break 3
3582 if test -z "$ac_cv_path_FGREP"; then
3583 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3586 ac_cv_path_FGREP
=$FGREP
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3592 $as_echo "$ac_cv_path_FGREP" >&6; }
3593 FGREP
="$ac_cv_path_FGREP"
3596 test -z "$GREP" && GREP
=grep
3616 # Check whether --with-gnu-ld was given.
3617 if test "${with_gnu_ld+set}" = set; then :
3618 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
3624 if test yes = "$GCC"; then
3625 # Check if gcc -print-prog-name=ld gives a path.
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3627 $as_echo_n "checking for ld used by $CC... " >&6; }
3630 # gcc leaves a trailing carriage return, which upsets mingw
3631 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3633 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3636 # Accept absolute paths.
3638 re_direlt
='/[^/][^/]*/\.\./'
3639 # Canonicalize the pathname of ld
3640 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3641 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3642 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3644 test -z "$LD" && LD
=$ac_prog
3647 # If it fails, then pretend we aren't using GCC.
3651 # If it is relative, then search for the first ld in PATH.
3655 elif test yes = "$with_gnu_ld"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3657 $as_echo_n "checking for GNU ld... " >&6; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3660 $as_echo_n "checking for non-GNU ld... " >&6; }
3662 if ${lt_cv_path_LD+:} false
; then :
3663 $as_echo_n "(cached) " >&6
3665 if test -z "$LD"; then
3666 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3667 for ac_dir
in $PATH; do
3669 test -z "$ac_dir" && ac_dir
=.
3670 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3671 lt_cv_path_LD
=$ac_dir/$ac_prog
3672 # Check to see if the program is GNU ld. I'd rather use --version,
3673 # but apparently some variants of GNU ld only accept -v.
3674 # Break only if it was the GNU/non-GNU ld that we prefer.
3675 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3676 *GNU
* |
*'with BFD'*)
3677 test no
!= "$with_gnu_ld" && break
3680 test yes != "$with_gnu_ld" && break
3687 lt_cv_path_LD
=$LD # Let the user override the test with a path.
3692 if test -n "$LD"; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3694 $as_echo "$LD" >&6; }
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 $as_echo "no" >&6; }
3699 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3701 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3702 if ${lt_cv_prog_gnu_ld+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3706 case `$LD -v 2>&1 </dev/null` in
3707 *GNU
* |
*'with BFD'*)
3708 lt_cv_prog_gnu_ld
=yes
3711 lt_cv_prog_gnu_ld
=no
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3716 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3717 with_gnu_ld
=$lt_cv_prog_gnu_ld
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3728 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3729 if ${lt_cv_path_NM+:} false
; then :
3730 $as_echo_n "(cached) " >&6
3732 if test -n "$NM"; then
3733 # Let the user override the test.
3736 lt_nm_to_check
=${ac_tool_prefix}nm
3737 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3738 lt_nm_to_check
="$lt_nm_to_check nm"
3740 for lt_tmp_nm
in $lt_nm_to_check; do
3741 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3742 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3744 test -z "$ac_dir" && ac_dir
=.
3745 tmp_nm
=$ac_dir/$lt_tmp_nm
3746 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
3747 # Check to see if the nm accepts a BSD-compat flag.
3748 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3749 # nm: unknown option "B" ignored
3750 # Tru64's nm complains that /dev/null is an invalid object file
3751 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3753 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
3754 *) lt_bad_file
=/dev
/null
;;
3756 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3757 *$lt_bad_file* |
*'Invalid file or object type'*)
3758 lt_cv_path_NM
="$tmp_nm -B"
3762 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3764 lt_cv_path_NM
="$tmp_nm -p"
3768 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3769 continue # so that we can try to find one that supports BSD flags
3778 : ${lt_cv_path_NM=no}
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3782 $as_echo "$lt_cv_path_NM" >&6; }
3783 if test no
!= "$lt_cv_path_NM"; then
3786 # Didn't find any BSD compatible name lister, look for dumpbin.
3787 if test -n "$DUMPBIN"; then :
3788 # Let the user override the test.
3790 if test -n "$ac_tool_prefix"; then
3791 for ac_prog
in dumpbin
"link -dump"
3793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3794 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -n "$DUMPBIN"; then
3801 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir
=.
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3810 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 DUMPBIN
=$ac_cv_prog_DUMPBIN
3821 if test -n "$DUMPBIN"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3823 $as_echo "$DUMPBIN" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$DUMPBIN" && break
3833 if test -z "$DUMPBIN"; then
3834 ac_ct_DUMPBIN
=$DUMPBIN
3835 for ac_prog
in dumpbin
"link -dump"
3837 # Extract the first word of "$ac_prog", so it can be a program name with args.
3838 set dummy
$ac_prog; ac_word
=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3842 $as_echo_n "(cached) " >&6
3844 if test -n "$ac_ct_DUMPBIN"; then
3845 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3851 test -z "$as_dir" && as_dir
=.
3852 for ac_exec_ext
in '' $ac_executable_extensions; do
3853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3854 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3865 if test -n "$ac_ct_DUMPBIN"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3867 $as_echo "$ac_ct_DUMPBIN" >&6; }
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$ac_ct_DUMPBIN" && break
3877 if test "x$ac_ct_DUMPBIN" = x
; then
3880 case $cross_compiling:$ac_tool_warned in
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884 ac_tool_warned
=yes ;;
3886 DUMPBIN
=$ac_ct_DUMPBIN
3890 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3892 DUMPBIN
="$DUMPBIN -symbols -headers"
3900 if test : != "$DUMPBIN"; then
3904 test -z "$NM" && NM
=nm
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3912 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3913 if ${lt_cv_nm_interface+:} false
; then :
3914 $as_echo_n "(cached) " >&6
3916 lt_cv_nm_interface
="BSD nm"
3917 echo "int some_variable = 0;" > conftest.
$ac_ext
3918 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
3919 (eval "$ac_compile" 2>conftest.err
)
3920 cat conftest.err
>&5
3921 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3922 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3923 cat conftest.err
>&5
3924 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
3925 cat conftest.out
>&5
3926 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3927 lt_cv_nm_interface
="MS dumpbin"
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3932 $as_echo "$lt_cv_nm_interface" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3935 $as_echo_n "checking whether ln -s works... " >&6; }
3937 if test "$LN_S" = "ln -s"; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3939 $as_echo "yes" >&6; }
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3942 $as_echo "no, using $LN_S" >&6; }
3945 # find the maximum length of command line arguments
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3947 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3948 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3949 $as_echo_n "(cached) " >&6
3956 # On DJGPP, this test can blow up pretty badly due to problems in libc
3957 # (any single argument exceeding 2000 bytes causes a buffer overrun
3958 # during glob expansion). Even if it were fixed, the result of this
3959 # check would be larger than it should be.
3960 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3964 # Under GNU Hurd, this test is not required because there is
3965 # no limit to the length of command line arguments.
3966 # Libtool will interpret -1 as no limit whatsoever
3967 lt_cv_sys_max_cmd_len
=-1;
3970 cygwin
* | mingw
* | cegcc
*)
3971 # On Win9x/ME, this test blows up -- it succeeds, but takes
3972 # about 5 minutes as the teststring grows exponentially.
3973 # Worse, since 9x/ME are not pre-emptively multitasking,
3974 # you end up with a "frozen" computer, even though with patience
3975 # the test eventually succeeds (with a max line length of 256k).
3976 # Instead, let's just punt: use the minimum linelength reported by
3977 # all of the supported platforms: 8192 (on NT/2K/XP).
3978 lt_cv_sys_max_cmd_len
=8192;
3982 # On MiNT this can take a long time and run out of memory.
3983 lt_cv_sys_max_cmd_len
=8192;
3987 # On AmigaOS with pdksh, this test takes hours, literally.
3988 # So we just punt and use a minimum line length of 8192.
3989 lt_cv_sys_max_cmd_len
=8192;
3992 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
3993 # This has been around since 386BSD, at least. Likely further.
3994 if test -x /sbin
/sysctl
; then
3995 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3996 elif test -x /usr
/sbin
/sysctl
; then
3997 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3999 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4001 # And add a safety zone
4002 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4003 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4007 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4008 lt_cv_sys_max_cmd_len
=196608
4012 # The test takes a long time on OS/2.
4013 lt_cv_sys_max_cmd_len
=8192
4017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4019 # nice to cause kernel panics so lets avoid the loop below.
4020 # First set a reasonable default.
4021 lt_cv_sys_max_cmd_len
=16384
4023 if test -x /sbin
/sysconfig
; then
4024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4025 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4030 lt_cv_sys_max_cmd_len
=102400
4032 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4033 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4034 if test -n "$kargmax"; then
4035 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4037 lt_cv_sys_max_cmd_len
=32768
4041 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4042 if test -n "$lt_cv_sys_max_cmd_len" && \
4043 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
4044 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4045 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4047 # Make teststring a little bigger before we do anything with it.
4048 # a 1K string should be a reasonable start.
4049 for i
in 1 2 3 4 5 6 7 8; do
4050 teststring
=$teststring$teststring
4052 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4053 # If test is not a shell built-in, we'll probably end up computing a
4054 # maximum length that is only half of the actual maximum length, but
4056 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
4057 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4058 test 17 != "$i" # 1/2 MB should be enough
4061 teststring
=$teststring$teststring
4063 # Only check the string length outside the loop.
4064 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4066 # Add a significant safety factor because C++ compilers can tack on
4067 # massive amounts of additional arguments before passing them to the
4068 # linker. It appears as though 1/2 is a usable value.
4069 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4076 if test -n "$lt_cv_sys_max_cmd_len"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4078 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4081 $as_echo "none" >&6; }
4083 max_cmd_len
=$lt_cv_sys_max_cmd_len
4094 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4104 # test EBCDIC or ASCII
4105 case `echo X|tr X '\101'` in
4106 A
) # ASCII based system
4107 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4108 lt_SP2NL
='tr \040 \012'
4109 lt_NL2SP
='tr \015\012 \040\040'
4111 *) # EBCDIC based system
4112 lt_SP2NL
='tr \100 \n'
4113 lt_NL2SP
='tr \r\n \100\100'
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4126 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4127 if ${lt_cv_to_host_file_cmd+:} false
; then :
4128 $as_echo_n "(cached) " >&6
4133 *-*-mingw* ) # actually msys
4134 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4137 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4139 * ) # otherwise, assume *nix
4140 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4146 *-*-mingw* ) # actually msys
4147 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4150 lt_cv_to_host_file_cmd
=func_convert_file_noop
4152 * ) # otherwise, assume *nix
4153 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4157 * ) # unhandled hosts (and "normal" native builds)
4158 lt_cv_to_host_file_cmd
=func_convert_file_noop
4164 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4166 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4173 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4174 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4175 $as_echo_n "(cached) " >&6
4177 #assume ordinary cross tools, or native build.
4178 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4182 *-*-mingw* ) # actually msys
4183 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4191 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4193 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4200 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4201 if ${lt_cv_ld_reload_flag+:} false
; then :
4202 $as_echo_n "(cached) " >&6
4204 lt_cv_ld_reload_flag
='-r'
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4207 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4208 reload_flag
=$lt_cv_ld_reload_flag
4209 case $reload_flag in
4211 *) reload_flag
=" $reload_flag" ;;
4213 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4215 cygwin
* | mingw
* | pw32
* | cegcc
*)
4216 if test yes != "$GCC"; then
4221 if test yes = "$GCC"; then
4222 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4224 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4237 if test -n "$ac_tool_prefix"; then
4238 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4239 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4243 $as_echo_n "(cached) " >&6
4245 if test -n "$OBJDUMP"; then
4246 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir
=.
4253 for ac_exec_ext
in '' $ac_executable_extensions; do
4254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4265 OBJDUMP
=$ac_cv_prog_OBJDUMP
4266 if test -n "$OBJDUMP"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4268 $as_echo "$OBJDUMP" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4276 if test -z "$ac_cv_prog_OBJDUMP"; then
4277 ac_ct_OBJDUMP
=$OBJDUMP
4278 # Extract the first word of "objdump", so it can be a program name with args.
4279 set dummy objdump
; ac_word
=$2
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4281 $as_echo_n "checking for $ac_word... " >&6; }
4282 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4283 $as_echo_n "(cached) " >&6
4285 if test -n "$ac_ct_OBJDUMP"; then
4286 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4306 if test -n "$ac_ct_OBJDUMP"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4308 $as_echo "$ac_ct_OBJDUMP" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4314 if test "x$ac_ct_OBJDUMP" = x
; then
4317 case $cross_compiling:$ac_tool_warned in
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4321 ac_tool_warned
=yes ;;
4323 OBJDUMP
=$ac_ct_OBJDUMP
4326 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4329 test -z "$OBJDUMP" && OBJDUMP
=objdump
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4340 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4341 if ${lt_cv_deplibs_check_method+:} false
; then :
4342 $as_echo_n "(cached) " >&6
4344 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4345 lt_cv_file_magic_test_file
=
4346 lt_cv_deplibs_check_method
='unknown'
4347 # Need to set the preceding variable on all platforms that support
4348 # interlibrary dependencies.
4349 # 'none' -- dependencies not supported.
4350 # 'unknown' -- same as none, but documents that we really don't know.
4351 # 'pass_all' -- all dependencies passed with no checks.
4352 # 'test_compile' -- check by making test program.
4353 # 'file_magic [[regex]]' -- check by looking for files in library path
4354 # that responds to the $file_magic_cmd with a given extended regex.
4355 # If you have 'file' or equivalent on your system and you're not sure
4356 # whether 'pass_all' will *always* work, you probably want this one.
4360 lt_cv_deplibs_check_method
=pass_all
4364 lt_cv_deplibs_check_method
=pass_all
4368 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4369 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4370 lt_cv_file_magic_test_file
=/shlib
/libc.so
4374 # func_win32_libid is a shell function defined in ltmain.sh
4375 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4376 lt_cv_file_magic_cmd
='func_win32_libid'
4380 # Base MSYS/MinGW do not provide the 'file' command needed by
4381 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4382 # unless we find 'file', for example because we are cross-compiling.
4383 if ( file / ) >/dev
/null
2>&1; then
4384 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4385 lt_cv_file_magic_cmd
='func_win32_libid'
4387 # Keep this pattern in sync with the one in func_win32_libid.
4388 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4389 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4394 # use the weaker test based on 'objdump'. See mingw*.
4395 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4396 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4399 darwin
* | rhapsody
*)
4400 lt_cv_deplibs_check_method
=pass_all
4403 freebsd
* | dragonfly
*)
4404 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4407 # Not sure whether the presence of OpenBSD here was a mistake.
4408 # Let's accept both of them until this is cleared up.
4409 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4410 lt_cv_file_magic_cmd
=/usr
/bin
/file
4411 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4415 lt_cv_deplibs_check_method
=pass_all
4420 lt_cv_deplibs_check_method
=pass_all
4423 hpux10.20
* | hpux11
*)
4424 lt_cv_file_magic_cmd
=/usr
/bin
/file
4427 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4428 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4431 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]'
4432 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4435 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4436 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4442 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4443 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4446 irix5
* | irix6
* | nonstopux
*)
4448 *-32|
*"-32 ") libmagic
=32-bit;;
4449 *-n32|
*"-n32 ") libmagic
=N32
;;
4450 *-64|
*"-64 ") libmagic
=64-bit;;
4451 *) libmagic
=never-match
;;
4453 lt_cv_deplibs_check_method
=pass_all
4456 # This must be glibc/ELF.
4457 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
4458 lt_cv_deplibs_check_method
=pass_all
4461 netbsd
* | netbsdelf
*-gnu)
4462 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4463 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4465 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4470 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4471 lt_cv_file_magic_cmd
=/usr
/bin
/file
4472 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4476 lt_cv_deplibs_check_method
=pass_all
4480 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4481 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4483 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4487 osf3
* | osf4
* | osf5
*)
4488 lt_cv_deplibs_check_method
=pass_all
4492 lt_cv_deplibs_check_method
=pass_all
4496 lt_cv_deplibs_check_method
=pass_all
4499 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4500 lt_cv_deplibs_check_method
=pass_all
4504 case $host_vendor in
4506 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]'
4507 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4510 lt_cv_deplibs_check_method
=pass_all
4513 lt_cv_file_magic_cmd
='/bin/file'
4514 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4517 lt_cv_file_magic_cmd
='/bin/file'
4518 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4519 lt_cv_file_magic_test_file
=/lib
/libc.so
4522 lt_cv_deplibs_check_method
=pass_all
4525 lt_cv_deplibs_check_method
=pass_all
4531 lt_cv_deplibs_check_method
=pass_all
4534 lt_cv_deplibs_check_method
=pass_all
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4540 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4544 if test "$build" = "$host"; then
4547 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
4550 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4556 file_magic_cmd
=$lt_cv_file_magic_cmd
4557 deplibs_check_method
=$lt_cv_deplibs_check_method
4558 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4581 if test -n "$ac_tool_prefix"; then
4582 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4583 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4587 $as_echo_n "(cached) " >&6
4589 if test -n "$DLLTOOL"; then
4590 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir
=.
4597 for ac_exec_ext
in '' $ac_executable_extensions; do
4598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 DLLTOOL
=$ac_cv_prog_DLLTOOL
4610 if test -n "$DLLTOOL"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4612 $as_echo "$DLLTOOL" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4620 if test -z "$ac_cv_prog_DLLTOOL"; then
4621 ac_ct_DLLTOOL
=$DLLTOOL
4622 # Extract the first word of "dlltool", so it can be a program name with args.
4623 set dummy dlltool
; ac_word
=$2
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4625 $as_echo_n "checking for $ac_word... " >&6; }
4626 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 if test -n "$ac_ct_DLLTOOL"; then
4630 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4636 test -z "$as_dir" && as_dir
=.
4637 for ac_exec_ext
in '' $ac_executable_extensions; do
4638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4639 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4650 if test -n "$ac_ct_DLLTOOL"; then
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4652 $as_echo "$ac_ct_DLLTOOL" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4658 if test "x$ac_ct_DLLTOOL" = x
; then
4661 case $cross_compiling:$ac_tool_warned in
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4665 ac_tool_warned
=yes ;;
4667 DLLTOOL
=$ac_ct_DLLTOOL
4670 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4673 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4685 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4686 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
4687 $as_echo_n "(cached) " >&6
4689 lt_cv_sharedlib_from_linklib_cmd
='unknown'
4692 cygwin
* | mingw
* | pw32
* | cegcc
*)
4693 # two different shell functions defined in ltmain.sh;
4694 # decide which one to use based on capabilities of $DLLTOOL
4695 case `$DLLTOOL --help 2>&1` in
4696 *--identify-strict*)
4697 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
4700 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
4705 # fallback: assume linklib IS sharedlib
4706 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4712 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4713 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
4714 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
4723 if test -n "$ac_tool_prefix"; then
4726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4727 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_AR+:} false
; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -n "$AR"; then
4734 ac_cv_prog_AR
="$AR" # Let the user override the test.
4736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir
=.
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 if test -n "$AR"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4756 $as_echo "$AR" >&6; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4763 test -n "$AR" && break
4766 if test -z "$AR"; then
4770 # Extract the first word of "$ac_prog", so it can be a program name with args.
4771 set dummy
$ac_prog; ac_word
=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -n "$ac_ct_AR"; then
4778 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir
=.
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_ac_ct_AR
="$ac_prog"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4798 if test -n "$ac_ct_AR"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4800 $as_echo "$ac_ct_AR" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4807 test -n "$ac_ct_AR" && break
4810 if test "x$ac_ct_AR" = x
; then
4813 case $cross_compiling:$ac_tool_warned in
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4817 ac_tool_warned
=yes ;;
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4837 $as_echo_n "checking for archiver @FILE support... " >&6; }
4838 if ${lt_cv_ar_at_file+:} false
; then :
4839 $as_echo_n "(cached) " >&6
4842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4843 /* end confdefs.h. */
4853 if ac_fn_c_try_compile
"$LINENO"; then :
4854 echo conftest.
$ac_objext > conftest.lst
4855 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4857 (eval $lt_ar_try) 2>&5
4859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4860 test $ac_status = 0; }
4861 if test 0 -eq "$ac_status"; then
4862 # Ensure the archiver fails upon bogus file names.
4863 rm -f conftest.
$ac_objext libconftest.a
4864 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4865 (eval $lt_ar_try) 2>&5
4867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4868 test $ac_status = 0; }
4869 if test 0 -ne "$ac_status"; then
4873 rm -f conftest.
* libconftest.a
4876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
4880 $as_echo "$lt_cv_ar_at_file" >&6; }
4882 if test no
= "$lt_cv_ar_at_file"; then
4885 archiver_list_spec
=$lt_cv_ar_at_file
4894 if test -n "$ac_tool_prefix"; then
4895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4896 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_STRIP+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$STRIP"; then
4903 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 STRIP
=$ac_cv_prog_STRIP
4923 if test -n "$STRIP"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4925 $as_echo "$STRIP" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test -z "$ac_cv_prog_STRIP"; then
4935 # Extract the first word of "strip", so it can be a program name with args.
4936 set dummy strip
; ac_word
=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4940 $as_echo_n "(cached) " >&6
4942 if test -n "$ac_ct_STRIP"; then
4943 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir
=.
4950 for ac_exec_ext
in '' $ac_executable_extensions; do
4951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_ac_ct_STRIP
="strip"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4963 if test -n "$ac_ct_STRIP"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4965 $as_echo "$ac_ct_STRIP" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4971 if test "x$ac_ct_STRIP" = x
; then
4974 case $cross_compiling:$ac_tool_warned in
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978 ac_tool_warned
=yes ;;
4983 STRIP
="$ac_cv_prog_STRIP"
4986 test -z "$STRIP" && STRIP
=:
4993 if test -n "$ac_tool_prefix"; then
4994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4995 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_RANLIB+:} false
; then :
4999 $as_echo_n "(cached) " >&6
5001 if test -n "$RANLIB"; then
5002 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir
=.
5009 for ac_exec_ext
in '' $ac_executable_extensions; do
5010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 RANLIB
=$ac_cv_prog_RANLIB
5022 if test -n "$RANLIB"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5024 $as_echo "$RANLIB" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5032 if test -z "$ac_cv_prog_RANLIB"; then
5033 ac_ct_RANLIB
=$RANLIB
5034 # Extract the first word of "ranlib", so it can be a program name with args.
5035 set dummy ranlib
; ac_word
=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -n "$ac_ct_RANLIB"; then
5042 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir
=.
5049 for ac_exec_ext
in '' $ac_executable_extensions; do
5050 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5062 if test -n "$ac_ct_RANLIB"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5064 $as_echo "$ac_ct_RANLIB" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5070 if test "x$ac_ct_RANLIB" = x
; then
5073 case $cross_compiling:$ac_tool_warned in
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned
=yes ;;
5079 RANLIB
=$ac_ct_RANLIB
5082 RANLIB
="$ac_cv_prog_RANLIB"
5085 test -z "$RANLIB" && RANLIB
=:
5092 # Determine commands to create old-style static archives.
5093 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5094 old_postinstall_cmds
='chmod 644 $oldlib'
5095 old_postuninstall_cmds
=
5097 if test -n "$RANLIB"; then
5100 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5103 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5106 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5111 lock_old_archive_extraction
=yes ;;
5113 lock_old_archive_extraction
=no
;;
5136 for ac_prog
in gawk mawk nawk
awk
5138 # Extract the first word of "$ac_prog", so it can be a program name with args.
5139 set dummy
$ac_prog; ac_word
=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_prog_AWK+:} false
; then :
5143 $as_echo_n "(cached) " >&6
5145 if test -n "$AWK"; then
5146 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5152 test -z "$as_dir" && as_dir
=.
5153 for ac_exec_ext
in '' $ac_executable_extensions; do
5154 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5155 ac_cv_prog_AWK
="$ac_prog"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 if test -n "$AWK"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5168 $as_echo "$AWK" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5175 test -n "$AWK" && break
5196 # If no C compiler was specified, use CC.
5199 # If no C compiler flags were specified, use CFLAGS.
5200 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5202 # Allow CC to be a program name with arguments.
5206 # Check for command to grab the raw symbol name followed by C symbol from nm.
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5208 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5209 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5213 # These are sane defaults that work on at least a few old systems.
5214 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5216 # Character class describing NM global symbol codes.
5217 symcode
='[BCDEGRST]'
5219 # Regexp to match symbols that can be accessed directly from C.
5220 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5222 # Define system-specific variables.
5227 cygwin
* | mingw
* | pw32
* | cegcc
*)
5228 symcode
='[ABCDGISTW]'
5231 if test ia64
= "$host_cpu"; then
5232 symcode
='[ABCDEGRST]'
5236 symcode
='[BCDEGRST]'
5239 symcode
='[BCDEGQRST]'
5250 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5258 # If we're using GNU nm, then use its standard symbol codes.
5259 case `$NM -V 2>&1` in
5260 *GNU
* |
*'with BFD'*)
5261 symcode
='[ABCDGIRSTW]' ;;
5264 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5265 # Gets list of data symbols to import.
5266 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5267 # Adjust the below global symbol transforms to fixup imported variables.
5268 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5269 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5270 lt_c_name_lib_hook
="\
5271 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5272 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5274 # Disable hooks by default.
5275 lt_cv_sys_global_symbol_to_import
=
5281 # Transform an extracted symbol line into a proper C declaration.
5282 # Some systems (esp. on ia64) link data and code symbols differently,
5283 # so use this general approach.
5284 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
5286 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5287 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5289 # Transform an extracted symbol line into symbol name and symbol address
5290 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
5292 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5293 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5295 # Transform an extracted symbol line into symbol name with lib prefix and
5297 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
5298 $lt_c_name_lib_hook\
5299 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5300 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5301 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5303 # Handle CRLF in mingw tool chain
5307 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5311 # Try without a prefix underscore, then with it.
5312 for ac_symprfx
in "" "_"; do
5314 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5315 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5317 # Write the raw and C identifiers.
5318 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5319 # Fake it for dumpbin and say T for any non-static function,
5320 # D for any global variable and I for any imported variable.
5321 # Also find C++ and __fastcall symbols from MSVC++,
5322 # which start with @ or ?.
5323 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5324 " {last_section=section; section=\$ 3};"\
5325 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5326 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5327 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5328 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5329 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5330 " \$ 0!~/External *\|/{next};"\
5331 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5332 " {if(hide[section]) next};"\
5333 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5334 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5335 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5336 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5337 " ' prfx=^$ac_symprfx"
5339 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5341 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5343 # Check to see that the pipe works correctly.
5347 cat > conftest.
$ac_ext <<_LT_EOF
5352 void nm_test_func(void);
5353 void nm_test_func(void){}
5357 int main(){nm_test_var='a';nm_test_func();return(0);}
5360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5361 (eval $ac_compile) 2>&5
5363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5364 test $ac_status = 0; }; then
5365 # Now try to grab the symbols.
5367 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
5368 if eval "$NM" conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist 2>&5 && test -s "$nlist"; then
5369 # Try sorting and uniquifying the output.
5370 if sort "$nlist" |
uniq > "$nlist"T
; then
5371 mv -f "$nlist"T
"$nlist"
5376 # Make sure that we snagged all the symbols we need.
5377 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5378 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5379 cat <<_LT_EOF > conftest.$ac_ext
5380 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5381 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5382 /* DATA imports from DLLs on WIN32 can't be const, because runtime
5383 relocations are performed -- see ld's documentation on pseudo-relocs. */
5384 # define LT_DLSYM_CONST
5385 #elif defined __osf__
5386 /* This system does not cope well with relocations in const data. */
5387 # define LT_DLSYM_CONST
5389 # define LT_DLSYM_CONST const
5397 # Now generate the symbol file.
5398 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5400 cat <<_LT_EOF >> conftest.$ac_ext
5402 /* The mapping between symbol names and symbols. */
5403 LT_DLSYM_CONST struct {
5407 lt__PROGRAM__LTX_preloaded_symbols[] =
5409 { "@PROGRAM@", (void *) 0 },
5411 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
5412 cat <<\_LT_EOF
>> conftest.
$ac_ext
5416 /* This works around a problem
in FreeBSD linker
*/
5417 #ifdef FREEBSD_WORKAROUND
5418 static const void
*lt_preloaded_setup
() {
5419 return lt__PROGRAM__LTX_preloaded_symbols
;
5427 # Now try linking the two files.
5428 mv conftest.
$ac_objext conftstm.
$ac_objext
5429 lt_globsym_save_LIBS
=$LIBS
5430 lt_globsym_save_CFLAGS
=$CFLAGS
5431 LIBS
=conftstm.
$ac_objext
5432 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5434 (eval $ac_link) 2>&5
5436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
5440 LIBS
=$lt_globsym_save_LIBS
5441 CFLAGS
=$lt_globsym_save_CFLAGS
5443 echo "cannot find nm_test_func in $nlist" >&5
5446 echo "cannot find nm_test_var in $nlist" >&5
5449 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5452 echo "$progname: failed program was:" >&5
5453 cat conftest.
$ac_ext >&5
5455 rm -rf conftest
* conftst
*
5457 # Do not use the global_symbol_pipe unless it works.
5458 if test yes = "$pipe_works"; then
5461 lt_cv_sys_global_symbol_pipe
=
5467 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5468 lt_cv_sys_global_symbol_to_cdecl
=
5470 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5472 $as_echo "failed" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5475 $as_echo "ok" >&6; }
5478 # Response file support.
5479 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5480 nm_file_list_spec
='@'
5481 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
5482 nm_file_list_spec
='@'
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5522 $as_echo_n "checking for sysroot... " >&6; }
5524 # Check whether --with-sysroot was given.
5525 if test "${with_sysroot+set}" = set; then :
5526 withval
=$with_sysroot;
5533 case $with_sysroot in #(
5535 if test yes = "$GCC"; then
5536 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5540 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5546 $as_echo "$with_sysroot" >&6; }
5547 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5552 $as_echo "${lt_sysroot:-no}" >&6; }
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
5559 $as_echo_n "checking for a working dd... " >&6; }
5560 if ${ac_cv_path_lt_DD+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5563 printf 0123456789abcdef0123456789abcdef
>conftest.i
5564 cat conftest.i conftest.i
>conftest2.i
5566 if test -z "$lt_DD"; then
5567 ac_path_lt_DD_found
=false
5568 # Loop through the user's path and test for each of PROGNAME-LIST
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_prog
in dd; do
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
5577 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
5578 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5579 cmp -s conftest.i conftest.out \
5580 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
5582 $ac_path_lt_DD_found && break 3
5587 if test -z "$ac_cv_path_lt_DD"; then
5591 ac_cv_path_lt_DD
=$lt_DD
5594 rm -f conftest.i conftest2.i conftest.out
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
5597 $as_echo "$ac_cv_path_lt_DD" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
5601 $as_echo_n "checking how to truncate binary pipes... " >&6; }
5602 if ${lt_cv_truncate_bin+:} false
; then :
5603 $as_echo_n "(cached) " >&6
5605 printf 0123456789abcdef0123456789abcdef
>conftest.i
5606 cat conftest.i conftest.i
>conftest2.i
5608 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5609 cmp -s conftest.i conftest.out \
5610 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
5612 rm -f conftest.i conftest2.i conftest.out
5613 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
5616 $as_echo "$lt_cv_truncate_bin" >&6; }
5624 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
5627 for cc_temp
in $
*""; do
5629 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
5630 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
5635 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
5638 # Check whether --enable-libtool-lock was given.
5639 if test "${enable_libtool_lock+set}" = set; then :
5640 enableval
=$enable_libtool_lock;
5643 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
5645 # Some flags need to be propagated to the compiler or linker for good
5649 # Find out what ABI is being produced by ac_compile, and set mode
5650 # options accordingly.
5651 echo 'int i;' > conftest.
$ac_ext
5652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5653 (eval $ac_compile) 2>&5
5655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5656 test $ac_status = 0; }; then
5657 case `/usr/bin/file conftest.$ac_objext` in
5669 # Find out what ABI is being produced by ac_compile, and set linker
5670 # options accordingly.
5671 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5673 (eval $ac_compile) 2>&5
5675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5676 test $ac_status = 0; }; then
5677 if test yes = "$lt_cv_prog_gnu_ld"; then
5678 case `/usr/bin/file conftest.$ac_objext` in
5680 LD
="${LD-ld} -melf32bsmip"
5683 LD
="${LD-ld} -melf32bmipn32"
5686 LD
="${LD-ld} -melf64bmip"
5690 case `/usr/bin/file conftest.$ac_objext` in
5707 # Find out what ABI is being produced by ac_compile, and set linker
5708 # options accordingly.
5709 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5711 (eval $ac_compile) 2>&5
5713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5714 test $ac_status = 0; }; then
5716 case `/usr/bin/file conftest.$ac_objext` in
5724 case `/usr/bin/file conftest.$ac_objext` in
5726 emul
="${emul}btsmip"
5729 emul
="${emul}ltsmip"
5732 case `/usr/bin/file conftest.$ac_objext` in
5737 LD
="${LD-ld} -m $emul"
5742 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
5743 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5744 # Find out what ABI is being produced by ac_compile, and set linker
5745 # options accordingly. Note that the listed cases only cover the
5746 # situations where additional linker options are needed (such as when
5747 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
5748 # vice versa); the common cases where no linker options are needed do
5749 # not appear in the list.
5750 echo 'int i;' > conftest.
$ac_ext
5751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5752 (eval $ac_compile) 2>&5
5754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5755 test $ac_status = 0; }; then
5756 case `/usr/bin/file conftest.o` in
5759 x86_64-
*kfreebsd
*-gnu)
5760 LD
="${LD-ld} -m elf_i386_fbsd"
5763 case `/usr/bin/file conftest.o` in
5765 LD
="${LD-ld} -m elf32_x86_64"
5768 LD
="${LD-ld} -m elf_i386"
5772 powerpc64le-
*linux
*)
5773 LD
="${LD-ld} -m elf32lppclinux"
5776 LD
="${LD-ld} -m elf32ppclinux"
5779 LD
="${LD-ld} -m elf_s390"
5782 LD
="${LD-ld} -m elf32_sparc"
5788 x86_64-
*kfreebsd
*-gnu)
5789 LD
="${LD-ld} -m elf_x86_64_fbsd"
5792 LD
="${LD-ld} -m elf_x86_64"
5795 LD
="${LD-ld} -m elf64lppc"
5798 LD
="${LD-ld} -m elf64ppc"
5800 s390
*-*linux
*|s390
*-*tpf
*)
5801 LD
="${LD-ld} -m elf64_s390"
5804 LD
="${LD-ld} -m elf64_sparc"
5814 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5816 CFLAGS
="$CFLAGS -belf"
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5818 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5819 if ${lt_cv_cc_needs_belf+:} false
; then :
5820 $as_echo_n "(cached) " >&6
5823 ac_cpp
='$CPP $CPPFLAGS'
5824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5839 if ac_fn_c_try_link
"$LINENO"; then :
5840 lt_cv_cc_needs_belf
=yes
5842 lt_cv_cc_needs_belf
=no
5844 rm -f core conftest.err conftest.
$ac_objext \
5845 conftest
$ac_exeext conftest.
$ac_ext
5847 ac_cpp
='$CPP $CPPFLAGS'
5848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5854 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5855 if test yes != "$lt_cv_cc_needs_belf"; then
5856 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 # Find out what ABI is being produced by ac_compile, and set linker
5862 # options accordingly.
5863 echo 'int i;' > conftest.
$ac_ext
5864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5865 (eval $ac_compile) 2>&5
5867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5868 test $ac_status = 0; }; then
5869 case `/usr/bin/file conftest.o` in
5871 case $lt_cv_prog_gnu_ld in
5874 i?
86-*-solaris*|x86_64-
*-solaris*)
5875 LD
="${LD-ld} -m elf_x86_64"
5878 LD
="${LD-ld} -m elf64_sparc"
5881 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5882 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
5887 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5899 need_locks
=$enable_libtool_lock
5901 if test -n "$ac_tool_prefix"; then
5902 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5903 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
5907 $as_echo_n "(cached) " >&6
5909 if test -n "$MANIFEST_TOOL"; then
5910 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
5912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir
=.
5917 for ac_exec_ext
in '' $ac_executable_extensions; do
5918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
5930 if test -n "$MANIFEST_TOOL"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5932 $as_echo "$MANIFEST_TOOL" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5940 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5941 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
5942 # Extract the first word of "mt", so it can be a program name with args.
5943 set dummy mt
; ac_word
=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -n "$ac_ct_MANIFEST_TOOL"; then
5950 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir
=.
5957 for ac_exec_ext
in '' $ac_executable_extensions; do
5958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5970 if test -n "$ac_ct_MANIFEST_TOOL"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5972 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5978 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
5981 case $cross_compiling:$ac_tool_warned in
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5985 ac_tool_warned
=yes ;;
5987 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
5990 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
5993 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5995 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5996 if ${lt_cv_path_mainfest_tool+:} false
; then :
5997 $as_echo_n "(cached) " >&6
5999 lt_cv_path_mainfest_tool
=no
6000 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6001 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6002 cat conftest.err
>&5
6003 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6004 lt_cv_path_mainfest_tool
=yes
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6009 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6010 if test yes != "$lt_cv_path_mainfest_tool"; then
6020 rhapsody
* | darwin
*)
6021 if test -n "$ac_tool_prefix"; then
6022 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6023 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6027 $as_echo_n "(cached) " >&6
6029 if test -n "$DSYMUTIL"; then
6030 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6036 test -z "$as_dir" && as_dir
=.
6037 for ac_exec_ext
in '' $ac_executable_extensions; do
6038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6039 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6050 if test -n "$DSYMUTIL"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6052 $as_echo "$DSYMUTIL" >&6; }
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6060 if test -z "$ac_cv_prog_DSYMUTIL"; then
6061 ac_ct_DSYMUTIL
=$DSYMUTIL
6062 # Extract the first word of "dsymutil", so it can be a program name with args.
6063 set dummy dsymutil
; ac_word
=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6067 $as_echo_n "(cached) " >&6
6069 if test -n "$ac_ct_DSYMUTIL"; then
6070 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6076 test -z "$as_dir" && as_dir
=.
6077 for ac_exec_ext
in '' $ac_executable_extensions; do
6078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6090 if test -n "$ac_ct_DSYMUTIL"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6092 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6098 if test "x$ac_ct_DSYMUTIL" = x
; then
6101 case $cross_compiling:$ac_tool_warned in
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105 ac_tool_warned
=yes ;;
6107 DSYMUTIL
=$ac_ct_DSYMUTIL
6110 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6113 if test -n "$ac_tool_prefix"; then
6114 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6115 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if ${ac_cv_prog_NMEDIT+:} false
; then :
6119 $as_echo_n "(cached) " >&6
6121 if test -n "$NMEDIT"; then
6122 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir
=.
6129 for ac_exec_ext
in '' $ac_executable_extensions; do
6130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 NMEDIT
=$ac_cv_prog_NMEDIT
6142 if test -n "$NMEDIT"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6144 $as_echo "$NMEDIT" >&6; }
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6152 if test -z "$ac_cv_prog_NMEDIT"; then
6153 ac_ct_NMEDIT
=$NMEDIT
6154 # Extract the first word of "nmedit", so it can be a program name with args.
6155 set dummy nmedit
; ac_word
=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6159 $as_echo_n "(cached) " >&6
6161 if test -n "$ac_ct_NMEDIT"; then
6162 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir
=.
6169 for ac_exec_ext
in '' $ac_executable_extensions; do
6170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6171 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6182 if test -n "$ac_ct_NMEDIT"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6184 $as_echo "$ac_ct_NMEDIT" >&6; }
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6190 if test "x$ac_ct_NMEDIT" = x
; then
6193 case $cross_compiling:$ac_tool_warned in
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned
=yes ;;
6199 NMEDIT
=$ac_ct_NMEDIT
6202 NMEDIT
="$ac_cv_prog_NMEDIT"
6205 if test -n "$ac_tool_prefix"; then
6206 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6207 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_LIPO+:} false
; then :
6211 $as_echo_n "(cached) " >&6
6213 if test -n "$LIPO"; then
6214 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir
=.
6221 for ac_exec_ext
in '' $ac_executable_extensions; do
6222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 LIPO
=$ac_cv_prog_LIPO
6234 if test -n "$LIPO"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6236 $as_echo "$LIPO" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6244 if test -z "$ac_cv_prog_LIPO"; then
6246 # Extract the first word of "lipo", so it can be a program name with args.
6247 set dummy lipo
; ac_word
=$2
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249 $as_echo_n "checking for $ac_word... " >&6; }
6250 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6251 $as_echo_n "(cached) " >&6
6253 if test -n "$ac_ct_LIPO"; then
6254 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir
=.
6261 for ac_exec_ext
in '' $ac_executable_extensions; do
6262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6263 ac_cv_prog_ac_ct_LIPO
="lipo"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6274 if test -n "$ac_ct_LIPO"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6276 $as_echo "$ac_ct_LIPO" >&6; }
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6282 if test "x$ac_ct_LIPO" = x
; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned
=yes ;;
6294 LIPO
="$ac_cv_prog_LIPO"
6297 if test -n "$ac_tool_prefix"; then
6298 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6299 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_OTOOL+:} false
; then :
6303 $as_echo_n "(cached) " >&6
6305 if test -n "$OTOOL"; then
6306 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir
=.
6313 for ac_exec_ext
in '' $ac_executable_extensions; do
6314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6315 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 OTOOL
=$ac_cv_prog_OTOOL
6326 if test -n "$OTOOL"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6328 $as_echo "$OTOOL" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6336 if test -z "$ac_cv_prog_OTOOL"; then
6338 # Extract the first word of "otool", so it can be a program name with args.
6339 set dummy otool
; ac_word
=$2
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341 $as_echo_n "checking for $ac_word... " >&6; }
6342 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6343 $as_echo_n "(cached) " >&6
6345 if test -n "$ac_ct_OTOOL"; then
6346 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir
=.
6353 for ac_exec_ext
in '' $ac_executable_extensions; do
6354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6355 ac_cv_prog_ac_ct_OTOOL
="otool"
6356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6366 if test -n "$ac_ct_OTOOL"; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6368 $as_echo "$ac_ct_OTOOL" >&6; }
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371 $as_echo "no" >&6; }
6374 if test "x$ac_ct_OTOOL" = x
; then
6377 case $cross_compiling:$ac_tool_warned in
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6381 ac_tool_warned
=yes ;;
6386 OTOOL
="$ac_cv_prog_OTOOL"
6389 if test -n "$ac_tool_prefix"; then
6390 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6391 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_OTOOL64+:} false
; then :
6395 $as_echo_n "(cached) " >&6
6397 if test -n "$OTOOL64"; then
6398 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir
=.
6405 for ac_exec_ext
in '' $ac_executable_extensions; do
6406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 OTOOL64
=$ac_cv_prog_OTOOL64
6418 if test -n "$OTOOL64"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6420 $as_echo "$OTOOL64" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6428 if test -z "$ac_cv_prog_OTOOL64"; then
6429 ac_ct_OTOOL64
=$OTOOL64
6430 # Extract the first word of "otool64", so it can be a program name with args.
6431 set dummy otool64
; ac_word
=$2
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433 $as_echo_n "checking for $ac_word... " >&6; }
6434 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6435 $as_echo_n "(cached) " >&6
6437 if test -n "$ac_ct_OTOOL64"; then
6438 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6444 test -z "$as_dir" && as_dir
=.
6445 for ac_exec_ext
in '' $ac_executable_extensions; do
6446 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6458 if test -n "$ac_ct_OTOOL64"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6460 $as_echo "$ac_ct_OTOOL64" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6466 if test "x$ac_ct_OTOOL64" = x
; then
6469 case $cross_compiling:$ac_tool_warned in
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6473 ac_tool_warned
=yes ;;
6475 OTOOL64
=$ac_ct_OTOOL64
6478 OTOOL64
="$ac_cv_prog_OTOOL64"
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6508 $as_echo_n "checking for -single_module linker flag... " >&6; }
6509 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6510 $as_echo_n "(cached) " >&6
6512 lt_cv_apple_cc_single_mod
=no
6513 if test -z "$LT_MULTI_MODULE"; then
6514 # By default we will add the -single_module flag. You can override
6515 # by either setting the environment variable LT_MULTI_MODULE
6516 # non-empty at configure time, or by adding -multi_module to the
6518 rm -rf libconftest.dylib
*
6519 echo "int foo(void){return 1;}" > conftest.c
6520 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6521 -dynamiclib -Wl,-single_module conftest.c" >&5
6522 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6523 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6525 # If there is a non-empty error log, and "single_module"
6526 # appears in it, assume the flag caused a linker warning
6527 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6528 cat conftest.err
>&5
6529 # Otherwise, if the output was created with a 0 exit code from
6530 # the compiler, it worked.
6531 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
6532 lt_cv_apple_cc_single_mod
=yes
6534 cat conftest.err
>&5
6536 rm -rf libconftest.dylib
*
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6541 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6544 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6545 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6546 $as_echo_n "(cached) " >&6
6548 lt_cv_ld_exported_symbols_list
=no
6549 save_LDFLAGS
=$LDFLAGS
6550 echo "_main" > conftest.sym
6551 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6563 if ac_fn_c_try_link
"$LINENO"; then :
6564 lt_cv_ld_exported_symbols_list
=yes
6566 lt_cv_ld_exported_symbols_list
=no
6568 rm -f core conftest.err conftest.
$ac_objext \
6569 conftest
$ac_exeext conftest.
$ac_ext
6570 LDFLAGS
=$save_LDFLAGS
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6574 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6577 $as_echo_n "checking for -force_load linker flag... " >&6; }
6578 if ${lt_cv_ld_force_load+:} false
; then :
6579 $as_echo_n "(cached) " >&6
6581 lt_cv_ld_force_load
=no
6582 cat > conftest.c
<< _LT_EOF
6583 int forced_loaded() { return 2;}
6585 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6586 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6587 echo "$AR cr libconftest.a conftest.o" >&5
6588 $AR cr libconftest.a conftest.o
2>&5
6589 echo "$RANLIB libconftest.a" >&5
6590 $RANLIB libconftest.a
2>&5
6591 cat > conftest.c
<< _LT_EOF
6592 int main() { return 0;}
6594 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6595 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6597 if test -s conftest.err
&& $GREP force_load conftest.err
; then
6598 cat conftest.err
>&5
6599 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
6600 lt_cv_ld_force_load
=yes
6602 cat conftest.err
>&5
6604 rm -f conftest.err libconftest.a conftest conftest.c
6605 rm -rf conftest.dSYM
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6609 $as_echo "$lt_cv_ld_force_load" >&6; }
6611 rhapsody
* | darwin1.
[012])
6612 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
6614 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6615 darwin
*) # darwin 5.x on
6616 # if running on 10.5 or later, the deployment target defaults
6617 # to the OS version, if on x86, and 10.4, the deployment
6618 # target defaults to 10.4. Don't you love it?
6619 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6620 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
6621 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6623 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6625 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6629 if test yes = "$lt_cv_apple_cc_single_mod"; then
6630 _lt_dar_single_mod
='$single_module'
6632 if test yes = "$lt_cv_ld_exported_symbols_list"; then
6633 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
6635 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
6637 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
6638 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6645 # func_munge_path_list VARIABLE PATH
6646 # -----------------------------------
6647 # VARIABLE is name of variable containing _space_ separated list of
6648 # directories to be munged by the contents of PATH, which is string
6651 # string "DIR[ DIR]" will be prepended to VARIABLE
6653 # string "DIR[ DIR]" will be appended to VARIABLE
6654 # "DIRP[:DIRP]::[DIRA:]DIRA"
6655 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
6656 # "DIRA[ DIRA]" will be appended to VARIABLE
6658 # VARIABLE will be replaced by "DIR[ DIR]"
6659 func_munge_path_list
()
6665 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
6668 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
6671 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
6672 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
6675 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
6681 ac_cpp
='$CPP $CPPFLAGS'
6682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6686 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6687 # On Suns, sometimes $CPP names a directory.
6688 if test -n "$CPP" && test -d "$CPP"; then
6691 if test -z "$CPP"; then
6692 if ${ac_cv_prog_CPP+:} false
; then :
6693 $as_echo_n "(cached) " >&6
6695 # Double quotes because CPP needs to be expanded
6696 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6699 for ac_c_preproc_warn_flag
in '' yes
6701 # Use a header file that comes with gcc, so configuring glibc
6702 # with a fresh cross-compiler works.
6703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6704 # <limits.h> exists even on freestanding compilers.
6705 # On the NeXT, cc -E runs the code through the compiler's parser,
6706 # not just through cpp. "Syntax error" is here to catch this case.
6707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6708 /* end confdefs.h. */
6710 # include <limits.h>
6712 # include <assert.h>
6716 if ac_fn_c_try_cpp
"$LINENO"; then :
6719 # Broken: fails on valid input.
6722 rm -f conftest.err conftest.i conftest.
$ac_ext
6724 # OK, works on sane cases. Now check whether nonexistent headers
6725 # can be detected and how.
6726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6728 #include <ac_nonexistent.h>
6730 if ac_fn_c_try_cpp
"$LINENO"; then :
6731 # Broken: success on invalid input.
6734 # Passes both tests.
6738 rm -f conftest.err conftest.i conftest.
$ac_ext
6741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6742 rm -f conftest.i conftest.err conftest.
$ac_ext
6743 if $ac_preproc_ok; then :
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6756 $as_echo "$CPP" >&6; }
6758 for ac_c_preproc_warn_flag
in '' yes
6760 # Use a header file that comes with gcc, so configuring glibc
6761 # with a fresh cross-compiler works.
6762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6763 # <limits.h> exists even on freestanding compilers.
6764 # On the NeXT, cc -E runs the code through the compiler's parser,
6765 # not just through cpp. "Syntax error" is here to catch this case.
6766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6767 /* end confdefs.h. */
6769 # include <limits.h>
6771 # include <assert.h>
6775 if ac_fn_c_try_cpp
"$LINENO"; then :
6778 # Broken: fails on valid input.
6781 rm -f conftest.err conftest.i conftest.
$ac_ext
6783 # OK, works on sane cases. Now check whether nonexistent headers
6784 # can be detected and how.
6785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6786 /* end confdefs.h. */
6787 #include <ac_nonexistent.h>
6789 if ac_fn_c_try_cpp
"$LINENO"; then :
6790 # Broken: success on invalid input.
6793 # Passes both tests.
6797 rm -f conftest.err conftest.i conftest.
$ac_ext
6800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6801 rm -f conftest.i conftest.err conftest.
$ac_ext
6802 if $ac_preproc_ok; then :
6805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6807 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6808 See \`config.log' for more details" "$LINENO" 5; }
6812 ac_cpp
='$CPP $CPPFLAGS'
6813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6819 $as_echo_n "checking for ANSI C header files... " >&6; }
6820 if ${ac_cv_header_stdc+:} false
; then :
6821 $as_echo_n "(cached) " >&6
6823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6838 if ac_fn_c_try_compile
"$LINENO"; then :
6839 ac_cv_header_stdc
=yes
6841 ac_cv_header_stdc
=no
6843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6845 if test $ac_cv_header_stdc = yes; then
6846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6853 $EGREP "memchr" >/dev
/null
2>&1; then :
6856 ac_cv_header_stdc
=no
6862 if test $ac_cv_header_stdc = yes; then
6863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6865 /* end confdefs.h. */
6869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6870 $EGREP "free" >/dev
/null
2>&1; then :
6873 ac_cv_header_stdc
=no
6879 if test $ac_cv_header_stdc = yes; then
6880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6881 if test "$cross_compiling" = yes; then :
6884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6885 /* end confdefs.h. */
6888 #if ((' ' & 0x0FF) == 0x020)
6889 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6890 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6892 # define ISLOWER(c) \
6893 (('a' <= (c) && (c) <= 'i') \
6894 || ('j' <= (c) && (c) <= 'r') \
6895 || ('s' <= (c) && (c) <= 'z'))
6896 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6904 for (i = 0; i < 256; i++)
6905 if (XOR (islower (i), ISLOWER (i))
6906 || toupper (i) != TOUPPER (i))
6911 if ac_fn_c_try_run
"$LINENO"; then :
6914 ac_cv_header_stdc
=no
6916 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6917 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6923 $as_echo "$ac_cv_header_stdc" >&6; }
6924 if test $ac_cv_header_stdc = yes; then
6926 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6931 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6932 inttypes.h stdint.h unistd.h
6934 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6935 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6937 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6938 cat >>confdefs.h
<<_ACEOF
6939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 for ac_header
in dlfcn.h
6949 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6951 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6952 cat >>confdefs.h
<<_ACEOF
6953 #define HAVE_DLFCN_H 1
6974 # Check whether --enable-shared was given.
6975 if test "${enable_shared+set}" = set; then :
6976 enableval
=$enable_shared; p
=${PACKAGE-default}
6978 yes) enable_shared
=yes ;;
6979 no
) enable_shared
=no
;;
6982 # Look at the argument we got. We use all the common list separators.
6983 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
6984 for pkg
in $enableval; do
6986 if test "X$pkg" = "X$p"; then
7005 # Check whether --enable-static was given.
7006 if test "${enable_static+set}" = set; then :
7007 enableval
=$enable_static; p
=${PACKAGE-default}
7009 yes) enable_static
=yes ;;
7010 no
) enable_static
=no
;;
7013 # Look at the argument we got. We use all the common list separators.
7014 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7015 for pkg
in $enableval; do
7017 if test "X$pkg" = "X$p"; then
7037 # Check whether --with-pic was given.
7038 if test "${with_pic+set}" = set; then :
7039 withval
=$with_pic; lt_p
=${PACKAGE-default}
7041 yes|no
) pic_mode
=$withval ;;
7044 # Look at the argument we got. We use all the common list separators.
7045 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7046 for lt_pkg
in $withval; do
7048 if test "X$lt_pkg" = "X$lt_p"; then
7066 # Check whether --enable-fast-install was given.
7067 if test "${enable_fast_install+set}" = set; then :
7068 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7070 yes) enable_fast_install
=yes ;;
7071 no
) enable_fast_install
=no
;;
7073 enable_fast_install
=no
7074 # Look at the argument we got. We use all the common list separators.
7075 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7076 for pkg
in $enableval; do
7078 if test "X$pkg" = "X$p"; then
7079 enable_fast_install
=yes
7086 enable_fast_install
=yes
7096 shared_archive_member_spec
=
7097 case $host,$enable_shared in
7098 power
*-*-aix[5-9]*,yes)
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7100 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7102 # Check whether --with-aix-soname was given.
7103 if test "${with_aix_soname+set}" = set; then :
7104 withval
=$with_aix_soname; case $withval in
7108 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7111 lt_cv_with_aix_soname
=$with_aix_soname
7113 if ${lt_cv_with_aix_soname+:} false
; then :
7114 $as_echo_n "(cached) " >&6
7116 lt_cv_with_aix_soname
=aix
7119 with_aix_soname
=$lt_cv_with_aix_soname
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7123 $as_echo "$with_aix_soname" >&6; }
7124 if test aix
!= "$with_aix_soname"; then
7125 # For the AIX way of multilib, we name the shared archive member
7126 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7127 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7128 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7129 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7130 if test 64 = "${OBJECT_MODE-32}"; then
7131 shared_archive_member_spec
=shr_64
7133 shared_archive_member_spec
=shr
7151 # This can be used to rebuild libtool when needed
7152 LIBTOOL_DEPS
=$ltmain
7154 # Always use our own libtool.
7155 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7186 test -z "$LN_S" && LN_S
="ln -s"
7201 if test -n "${ZSH_VERSION+set}"; then
7202 setopt NO_GLOB_SUBST
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7206 $as_echo_n "checking for objdir... " >&6; }
7207 if ${lt_cv_objdir+:} false
; then :
7208 $as_echo_n "(cached) " >&6
7210 rm -f .libs
2>/dev
/null
7211 mkdir .libs
2>/dev
/null
7212 if test -d .libs
; then
7215 # MS-DOS does not allow filenames that begin with a dot.
7218 rmdir .libs
2>/dev
/null
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7221 $as_echo "$lt_cv_objdir" >&6; }
7222 objdir
=$lt_cv_objdir
7228 cat >>confdefs.h
<<_ACEOF
7229 #define LT_OBJDIR "$lt_cv_objdir/"
7237 # AIX sometimes has problems with the GCC collect2 program. For some
7238 # reason, if we set the COLLECT_NAMES environment variable, the problems
7239 # vanish in a puff of smoke.
7240 if test set != "${COLLECT_NAMES+set}"; then
7242 export COLLECT_NAMES
7249 can_build_shared
=yes
7251 # All known linkers require a '.a' archive for static linking (except MSVC,
7252 # which needs '.lib').
7255 with_gnu_ld
=$lt_cv_prog_gnu_ld
7260 # Set sane defaults for various variables
7261 test -z "$CC" && CC
=cc
7262 test -z "$LTCC" && LTCC
=$CC
7263 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7264 test -z "$LD" && LD
=ld
7265 test -z "$ac_objext" && ac_objext
=o
7267 func_cc_basename
$compiler
7268 cc_basename
=$func_cc_basename_result
7271 # Only perform the check for file, if the check method requires it
7272 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7273 case $deplibs_check_method in
7275 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7277 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7278 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7279 $as_echo_n "(cached) " >&6
7283 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7286 lt_save_MAGIC_CMD
=$MAGIC_CMD
7287 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7288 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7289 for ac_dir
in $ac_dummy; do
7291 test -z "$ac_dir" && ac_dir
=.
7292 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7293 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
7294 if test -n "$file_magic_test_file"; then
7295 case $deplibs_check_method in
7297 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7298 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7299 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7300 $EGREP "$file_magic_regex" > /dev
/null
; then
7305 *** Warning: the command libtool uses to detect shared libraries,
7306 *** $file_magic_cmd, produces output that libtool cannot recognize.
7307 *** The result is that libtool may fail to recognize shared libraries
7308 *** as such. This will affect the creation of libtool libraries that
7309 *** depend on shared libraries, but programs linked with such libtool
7310 *** libraries will work regardless of this problem. Nevertheless, you
7311 *** may want to report the problem to your system manager and/or to
7312 *** bug-libtool@gnu.org
7322 MAGIC_CMD
=$lt_save_MAGIC_CMD
7327 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7328 if test -n "$MAGIC_CMD"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7330 $as_echo "$MAGIC_CMD" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7340 if test -z "$lt_cv_path_MAGIC_CMD"; then
7341 if test -n "$ac_tool_prefix"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7343 $as_echo_n "checking for file... " >&6; }
7344 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7345 $as_echo_n "(cached) " >&6
7349 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7352 lt_save_MAGIC_CMD
=$MAGIC_CMD
7353 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7354 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7355 for ac_dir
in $ac_dummy; do
7357 test -z "$ac_dir" && ac_dir
=.
7358 if test -f "$ac_dir/file"; then
7359 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
7360 if test -n "$file_magic_test_file"; then
7361 case $deplibs_check_method in
7363 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7364 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7365 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7366 $EGREP "$file_magic_regex" > /dev
/null
; then
7371 *** Warning: the command libtool uses to detect shared libraries,
7372 *** $file_magic_cmd, produces output that libtool cannot recognize.
7373 *** The result is that libtool may fail to recognize shared libraries
7374 *** as such. This will affect the creation of libtool libraries that
7375 *** depend on shared libraries, but programs linked with such libtool
7376 *** libraries will work regardless of this problem. Nevertheless, you
7377 *** may want to report the problem to your system manager and/or to
7378 *** bug-libtool@gnu.org
7388 MAGIC_CMD
=$lt_save_MAGIC_CMD
7393 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7394 if test -n "$MAGIC_CMD"; then
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7396 $as_echo "$MAGIC_CMD" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 $as_echo "no" >&6; }
7412 # Use C for the default configuration in the libtool script
7416 ac_cpp
='$CPP $CPPFLAGS'
7417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7422 # Source file extension for C test sources.
7425 # Object file extension for compiled C test sources.
7429 # Code to be used in simple compile tests
7430 lt_simple_compile_test_code
="int some_variable = 0;"
7432 # Code to be used in simple link tests
7433 lt_simple_link_test_code
='int main(){return(0);}'
7441 # If no C compiler was specified, use CC.
7444 # If no C compiler flags were specified, use CFLAGS.
7445 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7447 # Allow CC to be a program name with arguments.
7450 # Save the default compiler, since it gets overwritten when the other
7451 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7452 compiler_DEFAULT
=$CC
7454 # save warnings/boilerplate of simple test code
7455 ac_outfile
=conftest.
$ac_objext
7456 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7457 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7458 _lt_compiler_boilerplate
=`cat conftest.err`
7461 ac_outfile
=conftest.
$ac_objext
7462 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7463 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7464 _lt_linker_boilerplate
=`cat conftest.err`
7468 if test -n "$compiler"; then
7470 lt_prog_compiler_no_builtin_flag
=
7472 if test yes = "$GCC"; then
7473 case $cc_basename in
7475 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7477 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7481 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7482 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7483 $as_echo_n "(cached) " >&6
7485 lt_cv_prog_compiler_rtti_exceptions
=no
7486 ac_outfile
=conftest.
$ac_objext
7487 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7488 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
7489 # Insert the option either (1) after the last *FLAGS variable, or
7490 # (2) before a word containing "conftest.", or (3) at the end.
7491 # Note that $ac_compile itself does not contain backslashes and begins
7492 # with a dollar sign (not a hyphen), so the echo should work correctly.
7493 # The option is referenced via a variable to avoid confusing sed.
7494 lt_compile
=`echo "$ac_compile" | $SED \
7495 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7497 -e 's:$: $lt_compiler_flag:'`
7498 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7499 (eval "$lt_compile" 2>conftest.err
)
7501 cat conftest.err
>&5
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 if (exit $ac_status) && test -s "$ac_outfile"; then
7504 # The compiler can only warn and ignore the option if not recognized
7505 # So say no if there are warnings other than the usual output.
7506 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7507 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7508 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7509 lt_cv_prog_compiler_rtti_exceptions
=yes
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7516 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7518 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7519 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7531 lt_prog_compiler_wl
=
7532 lt_prog_compiler_pic
=
7533 lt_prog_compiler_static
=
7536 if test yes = "$GCC"; then
7537 lt_prog_compiler_wl
='-Wl,'
7538 lt_prog_compiler_static
='-static'
7542 # All AIX code is PIC.
7543 if test ia64
= "$host_cpu"; then
7544 # AIX 5 now supports IA64 processor
7545 lt_prog_compiler_static
='-Bstatic'
7547 lt_prog_compiler_pic
='-fPIC'
7553 # see comment about AmigaOS4 .so support
7554 lt_prog_compiler_pic
='-fPIC'
7557 # FIXME: we need at least 68020 code to build shared libraries, but
7558 # adding the '-m68020' flag to GCC prevents building anything better,
7560 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7565 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7566 # PIC is the default for these OSes.
7569 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7570 # This hack is so that the source file can tell whether it is being
7571 # built for inclusion in a dll (and should export symbols for example).
7572 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7573 # (--disable-auto-import) libraries
7574 lt_prog_compiler_pic
='-DDLL_EXPORT'
7577 lt_prog_compiler_static
='$wl-static'
7582 darwin
* | rhapsody
*)
7583 # PIC is the default on this platform
7584 # Common symbols not allowed in MH_DYLIB files
7585 lt_prog_compiler_pic
='-fno-common'
7589 # PIC is the default for Haiku.
7590 # The "-static" flag exists, but is broken.
7591 lt_prog_compiler_static
=
7595 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7596 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7597 # sets the default TLS model and affects inlining.
7603 lt_prog_compiler_pic
='-fPIC'
7609 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7610 # Instead, we relocate shared libraries at runtime.
7614 # Just because we use GCC doesn't mean we suddenly get shared libraries
7615 # on systems that don't support them.
7616 lt_prog_compiler_can_build_shared
=no
7621 # QNX uses GNU C++, but need to define -shared option too, otherwise
7623 lt_prog_compiler_pic
='-fPIC -shared'
7627 if test -d /usr
/nec
; then
7628 lt_prog_compiler_pic
=-Kconform_pic
7633 lt_prog_compiler_pic
='-fPIC'
7637 case $cc_basename in
7638 nvcc
*) # Cuda Compiler Driver 2.2
7639 lt_prog_compiler_wl
='-Xlinker '
7640 if test -n "$lt_prog_compiler_pic"; then
7641 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7646 # PORTME Check for flag to pass linker flags through the system compiler.
7649 lt_prog_compiler_wl
='-Wl,'
7650 if test ia64
= "$host_cpu"; then
7651 # AIX 5 now supports IA64 processor
7652 lt_prog_compiler_static
='-Bstatic'
7654 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7658 darwin
* | rhapsody
*)
7659 # PIC is the default on this platform
7660 # Common symbols not allowed in MH_DYLIB files
7661 lt_prog_compiler_pic
='-fno-common'
7662 case $cc_basename in
7664 # NAG Fortran compiler
7665 lt_prog_compiler_wl
='-Wl,-Wl,,'
7666 lt_prog_compiler_pic
='-PIC'
7667 lt_prog_compiler_static
='-Bstatic'
7672 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7673 # This hack is so that the source file can tell whether it is being
7674 # built for inclusion in a dll (and should export symbols for example).
7675 lt_prog_compiler_pic
='-DDLL_EXPORT'
7678 lt_prog_compiler_static
='$wl-static'
7683 hpux9
* | hpux10
* | hpux11
*)
7684 lt_prog_compiler_wl
='-Wl,'
7685 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7692 lt_prog_compiler_pic
='+Z'
7695 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7696 lt_prog_compiler_static
='$wl-a ${wl}archive'
7699 irix5
* | irix6
* | nonstopux
*)
7700 lt_prog_compiler_wl
='-Wl,'
7701 # PIC (with -KPIC) is the default.
7702 lt_prog_compiler_static
='-non_shared'
7705 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7706 case $cc_basename in
7707 # old Intel for x86_64, which still supported -KPIC.
7709 lt_prog_compiler_wl
='-Wl,'
7710 lt_prog_compiler_pic
='-KPIC'
7711 lt_prog_compiler_static
='-static'
7713 # flang / f18. f95 an alias for gfortran or flang on Debian
7714 flang
* | f18
* | f95
*)
7715 lt_prog_compiler_wl
='-Wl,'
7716 lt_prog_compiler_pic
='-fPIC'
7717 lt_prog_compiler_static
='-static'
7719 # icc used to be incompatible with GCC.
7720 # ICC 10 doesn't accept -KPIC any more.
7722 lt_prog_compiler_wl
='-Wl,'
7723 lt_prog_compiler_pic
='-fPIC'
7724 lt_prog_compiler_static
='-static'
7726 # Lahey Fortran 8.1.
7728 lt_prog_compiler_wl
='-Wl,'
7729 lt_prog_compiler_pic
='--shared'
7730 lt_prog_compiler_static
='--static'
7733 # NAG Fortran compiler
7734 lt_prog_compiler_wl
='-Wl,-Wl,,'
7735 lt_prog_compiler_pic
='-PIC'
7736 lt_prog_compiler_static
='-Bstatic'
7739 # Fabrice Bellard et al's Tiny C Compiler
7740 lt_prog_compiler_wl
='-Wl,'
7741 lt_prog_compiler_pic
='-fPIC'
7742 lt_prog_compiler_static
='-static'
7744 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7745 # Portland Group compilers (*not* the Pentium gcc compiler,
7746 # which looks to be a dead project)
7747 lt_prog_compiler_wl
='-Wl,'
7748 lt_prog_compiler_pic
='-fpic'
7749 lt_prog_compiler_static
='-Bstatic'
7752 lt_prog_compiler_wl
='-Wl,'
7753 # All Alpha code is PIC.
7754 lt_prog_compiler_static
='-non_shared'
7756 xl
* | bgxl
* | bgf
* | mpixl
*)
7757 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7758 lt_prog_compiler_wl
='-Wl,'
7759 lt_prog_compiler_pic
='-qpic'
7760 lt_prog_compiler_static
='-qstaticlink'
7763 case `$CC -V 2>&1 | sed 5q` in
7764 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
7765 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7766 lt_prog_compiler_pic
='-KPIC'
7767 lt_prog_compiler_static
='-Bstatic'
7768 lt_prog_compiler_wl
=''
7770 *Sun\ F
* |
*Sun
*Fortran
*)
7771 lt_prog_compiler_pic
='-KPIC'
7772 lt_prog_compiler_static
='-Bstatic'
7773 lt_prog_compiler_wl
='-Qoption ld '
7777 lt_prog_compiler_pic
='-KPIC'
7778 lt_prog_compiler_static
='-Bstatic'
7779 lt_prog_compiler_wl
='-Wl,'
7781 *Intel
*\
[CF
]*Compiler
*)
7782 lt_prog_compiler_wl
='-Wl,'
7783 lt_prog_compiler_pic
='-fPIC'
7784 lt_prog_compiler_static
='-static'
7787 lt_prog_compiler_wl
='-Wl,'
7788 lt_prog_compiler_pic
='-fpic'
7789 lt_prog_compiler_static
='-Bstatic'
7797 lt_prog_compiler_pic
='-KPIC'
7798 lt_prog_compiler_static
='-Bstatic'
7802 # QNX uses GNU C++, but need to define -shared option too, otherwise
7804 lt_prog_compiler_pic
='-fPIC -shared'
7807 osf3
* | osf4
* | osf5
*)
7808 lt_prog_compiler_wl
='-Wl,'
7809 # All OSF/1 code is PIC.
7810 lt_prog_compiler_static
='-non_shared'
7814 lt_prog_compiler_static
='-non_shared'
7818 lt_prog_compiler_pic
='-KPIC'
7819 lt_prog_compiler_static
='-Bstatic'
7820 case $cc_basename in
7821 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7822 lt_prog_compiler_wl
='-Qoption ld ';;
7824 lt_prog_compiler_wl
='-Wl,';;
7829 lt_prog_compiler_wl
='-Qoption ld '
7830 lt_prog_compiler_pic
='-PIC'
7831 lt_prog_compiler_static
='-Bstatic'
7834 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7835 lt_prog_compiler_wl
='-Wl,'
7836 lt_prog_compiler_pic
='-KPIC'
7837 lt_prog_compiler_static
='-Bstatic'
7841 if test -d /usr
/nec
; then
7842 lt_prog_compiler_pic
='-Kconform_pic'
7843 lt_prog_compiler_static
='-Bstatic'
7847 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7848 lt_prog_compiler_wl
='-Wl,'
7849 lt_prog_compiler_pic
='-KPIC'
7850 lt_prog_compiler_static
='-Bstatic'
7854 lt_prog_compiler_wl
='-Wl,'
7855 lt_prog_compiler_can_build_shared
=no
7859 lt_prog_compiler_pic
='-pic'
7860 lt_prog_compiler_static
='-Bstatic'
7864 lt_prog_compiler_can_build_shared
=no
7870 # For platforms that do not support PIC, -DPIC is meaningless:
7872 lt_prog_compiler_pic
=
7875 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7880 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7881 if ${lt_cv_prog_compiler_pic+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7884 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7887 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7888 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7891 # Check to make sure the PIC flag actually works.
7893 if test -n "$lt_prog_compiler_pic"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7895 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7896 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7897 $as_echo_n "(cached) " >&6
7899 lt_cv_prog_compiler_pic_works
=no
7900 ac_outfile
=conftest.
$ac_objext
7901 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7902 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
7903 # Insert the option either (1) after the last *FLAGS variable, or
7904 # (2) before a word containing "conftest.", or (3) at the end.
7905 # Note that $ac_compile itself does not contain backslashes and begins
7906 # with a dollar sign (not a hyphen), so the echo should work correctly.
7907 # The option is referenced via a variable to avoid confusing sed.
7908 lt_compile
=`echo "$ac_compile" | $SED \
7909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7911 -e 's:$: $lt_compiler_flag:'`
7912 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7913 (eval "$lt_compile" 2>conftest.err
)
7915 cat conftest.err
>&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 if (exit $ac_status) && test -s "$ac_outfile"; then
7918 # The compiler can only warn and ignore the option if not recognized
7919 # So say no if there are warnings other than the usual output.
7920 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7921 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7922 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7923 lt_cv_prog_compiler_pic_works
=yes
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7930 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7932 if test yes = "$lt_cv_prog_compiler_pic_works"; then
7933 case $lt_prog_compiler_pic in
7935 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7938 lt_prog_compiler_pic
=
7939 lt_prog_compiler_can_build_shared
=no
7955 # Check to make sure the static flag actually works.
7957 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7959 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7960 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7961 $as_echo_n "(cached) " >&6
7963 lt_cv_prog_compiler_static_works
=no
7964 save_LDFLAGS
=$LDFLAGS
7965 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7966 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7967 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7968 # The linker can only warn and ignore the option if not recognized
7969 # So say no if there are warnings
7970 if test -s conftest.err
; then
7971 # Append any errors to the config.log.
7972 cat conftest.err
1>&5
7973 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7974 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7975 if diff conftest.exp conftest.er2
>/dev
/null
; then
7976 lt_cv_prog_compiler_static_works
=yes
7979 lt_cv_prog_compiler_static_works
=yes
7983 LDFLAGS
=$save_LDFLAGS
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7987 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7989 if test yes = "$lt_cv_prog_compiler_static_works"; then
7992 lt_prog_compiler_static
=
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8003 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8004 $as_echo_n "(cached) " >&6
8006 lt_cv_prog_compiler_c_o
=no
8007 $RM -r conftest
2>/dev
/null
8011 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8013 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8014 # Insert the option either (1) after the last *FLAGS variable, or
8015 # (2) before a word containing "conftest.", or (3) at the end.
8016 # Note that $ac_compile itself does not contain backslashes and begins
8017 # with a dollar sign (not a hyphen), so the echo should work correctly.
8018 lt_compile
=`echo "$ac_compile" | $SED \
8019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8021 -e 's:$: $lt_compiler_flag:'`
8022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8023 (eval "$lt_compile" 2>out
/conftest.err
)
8025 cat out
/conftest.err
>&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8029 # The compiler can only warn and ignore the option if not recognized
8030 # So say no if there are warnings
8031 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8032 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8033 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8034 lt_cv_prog_compiler_c_o
=yes
8039 # SGI C++ compiler will create directory out/ii_files/ for
8040 # template instantiation
8041 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8042 $RM out
/* && rmdir out
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8057 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8058 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 lt_cv_prog_compiler_c_o
=no
8062 $RM -r conftest
2>/dev
/null
8066 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8068 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8069 # Insert the option either (1) after the last *FLAGS variable, or
8070 # (2) before a word containing "conftest.", or (3) at the end.
8071 # Note that $ac_compile itself does not contain backslashes and begins
8072 # with a dollar sign (not a hyphen), so the echo should work correctly.
8073 lt_compile
=`echo "$ac_compile" | $SED \
8074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8075 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8076 -e 's:$: $lt_compiler_flag:'`
8077 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8078 (eval "$lt_compile" 2>out
/conftest.err
)
8080 cat out
/conftest.err
>&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8084 # The compiler can only warn and ignore the option if not recognized
8085 # So say no if there are warnings
8086 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8087 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8088 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8089 lt_cv_prog_compiler_c_o
=yes
8094 # SGI C++ compiler will create directory out/ii_files/ for
8095 # template instantiation
8096 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8097 $RM out
/* && rmdir out
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8104 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8109 hard_links
=nottested
8110 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8111 # do not overwrite the value of need_locks provided by the user
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8113 $as_echo_n "checking if we can lock with hard links... " >&6; }
8116 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8118 ln conftest.a conftest.b
2>&5 || hard_links
=no
8119 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8121 $as_echo "$hard_links" >&6; }
8122 if test no
= "$hard_links"; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8124 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8137 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8140 allow_undefined_flag
=
8141 always_export_symbols
=no
8143 archive_expsym_cmds
=
8144 compiler_needs_object
=no
8145 enable_shared_with_static_runtimes
=no
8146 export_dynamic_flag_spec
=
8147 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8148 hardcode_automatic
=no
8150 hardcode_direct_absolute
=no
8151 hardcode_libdir_flag_spec
=
8152 hardcode_libdir_separator
=
8154 hardcode_shlibpath_var
=unsupported
8156 link_all_deplibs
=unknown
8159 old_archive_from_new_cmds
=
8160 old_archive_from_expsyms_cmds
=
8161 thread_safe_flag_spec
=
8162 whole_archive_flag_spec
=
8163 # include_expsyms should be a list of space-separated symbols to be *always*
8164 # included in the symbol list
8166 # exclude_expsyms can be an extended regexp of symbols to exclude
8167 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8168 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8169 # as well as any symbol that contains 'd'.
8170 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8171 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8172 # platforms (ab)use it in PIC code, but their linkers get confused if
8173 # the symbol is explicitly referenced. Since portable code cannot
8174 # rely on this symbol name, it's probably fine to never include it in
8175 # preloaded symbol tables.
8176 # Exclude shared library initialization/finalization symbols.
8177 extract_expsyms_cmds
=
8180 cygwin
* | mingw
* | pw32
* | cegcc
*)
8181 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8182 # When not using gcc, we currently assume that we are using
8183 # Microsoft Visual C++.
8184 if test yes != "$GCC"; then
8189 # we just hope/assume this is gcc and not c89 (= MSVC++)
8195 linux
* | k
*bsd
*-gnu | gnu
*)
8202 # On some targets, GNU ld is compatible enough with the native linker
8203 # that we're better off using the native interface for both.
8204 lt_use_gnu_ld_interface
=no
8205 if test yes = "$with_gnu_ld"; then
8208 # The AIX port of GNU ld has always aspired to compatibility
8209 # with the native linker. However, as the warning in the GNU ld
8210 # block says, versions before 2.19.5* couldn't really create working
8211 # shared libraries, regardless of the interface used.
8212 case `$LD -v 2>&1` in
8213 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8214 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8215 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8217 lt_use_gnu_ld_interface
=yes
8222 lt_use_gnu_ld_interface
=yes
8227 if test yes = "$lt_use_gnu_ld_interface"; then
8228 # If archive_cmds runs LD, not CC, wlarc should be empty
8231 # Set some defaults for GNU ld with shared library support. These
8232 # are reset later if shared libraries are not supported. Putting them
8233 # here allows them to be overridden if necessary.
8234 runpath_var
=LD_RUN_PATH
8235 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8236 export_dynamic_flag_spec
='$wl--export-dynamic'
8237 # ancient GNU ld didn't support --whole-archive et. al.
8238 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8239 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8241 whole_archive_flag_spec
=
8243 supports_anon_versioning
=no
8244 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8245 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8246 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8247 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8248 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8249 *\
2.11.
*) ;; # other 2.11 versions
8250 *) supports_anon_versioning
=yes ;;
8253 # See if GNU ld supports shared libraries.
8256 # On AIX/PPC, the GNU linker is very broken
8257 if test ia64
!= "$host_cpu"; then
8261 *** Warning: the GNU linker, at least up to release 2.19, is reported
8262 *** to be unable to reliably create shared libraries on AIX.
8263 *** Therefore, libtool is disabling shared libraries support. If you
8264 *** really care for shared libraries, you may want to install binutils
8265 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8266 *** You will then need to restart the configuration process.
8275 # see comment about AmigaOS4 .so support
8276 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8277 archive_expsym_cmds
=''
8280 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)'
8281 hardcode_libdir_flag_spec
='-L$libdir'
8282 hardcode_minus_L
=yes
8288 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8289 allow_undefined_flag
=unsupported
8290 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8291 # support --undefined. This deserves some investigation. FIXME
8292 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8298 cygwin
* | mingw
* | pw32
* | cegcc
*)
8299 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8300 # as there is no search path for DLLs.
8301 hardcode_libdir_flag_spec
='-L$libdir'
8302 export_dynamic_flag_spec
='$wl--export-all-symbols'
8303 allow_undefined_flag
=unsupported
8304 always_export_symbols
=no
8305 enable_shared_with_static_runtimes
=yes
8306 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'
8307 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8309 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8310 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8311 # If the export-symbols file already is a .def file, use it as
8312 # is; otherwise, prepend EXPORTS...
8313 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8314 cp $export_symbols $output_objdir/$soname.def;
8316 echo EXPORTS > $output_objdir/$soname.def;
8317 cat $export_symbols >> $output_objdir/$soname.def;
8319 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8326 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8327 link_all_deplibs
=yes
8331 hardcode_libdir_flag_spec
='-L$libdir'
8332 hardcode_minus_L
=yes
8333 allow_undefined_flag
=unsupported
8335 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8336 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8337 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8338 $ECHO EXPORTS >> $output_objdir/$libname.def~
8339 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8340 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8341 emximp -o $lib $output_objdir/$libname.def'
8342 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8343 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8344 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8345 $ECHO EXPORTS >> $output_objdir/$libname.def~
8347 if test EXPORTS = "`$SED 1q $export_symbols`"; then
8348 prefix_cmds="$prefix_cmds -e 1d";
8350 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8351 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8352 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8353 emximp -o $lib $output_objdir/$libname.def'
8354 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8355 enable_shared_with_static_runtimes
=yes
8360 hardcode_shlibpath_var
=no
8361 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
8362 export_dynamic_flag_spec
='$wl-E'
8363 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8364 # Instead, shared libraries are loaded at an image base (0x10000000 by
8365 # default) and relocated if they conflict, which is a slow very memory
8366 # consuming and fragmenting process. To avoid this, we pick a random,
8367 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8368 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8369 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8370 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'
8373 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8375 if test linux-dietlibc
= "$host_os"; then
8376 case $cc_basename in
8377 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8380 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8381 && test no
= "$tmp_diet"
8383 tmp_addflag
=' $pic_flag'
8384 tmp_sharedflag
='-shared'
8385 case $cc_basename,$host_cpu in
8386 pgcc
*) # Portland Group C compiler
8387 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'
8388 tmp_addflag
=' $pic_flag'
8390 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8391 # Portland Group f77 and f90 compilers
8392 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'
8393 tmp_addflag
=' $pic_flag -Mnomain' ;;
8394 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8395 tmp_addflag
=' -i_dynamic' ;;
8396 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8397 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8398 ifc
* | ifort
*) # Intel Fortran compiler
8399 tmp_addflag
=' -nofor_main' ;;
8400 lf95
*) # Lahey Fortran 8.1
8401 whole_archive_flag_spec
=
8402 tmp_sharedflag
='--shared' ;;
8403 nagfor
*) # NAGFOR 5.3
8404 tmp_sharedflag
='-Wl,-shared' ;;
8405 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8406 tmp_sharedflag
='-qmkshrobj'
8408 nvcc
*) # Cuda Compiler Driver 2.2
8409 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'
8410 compiler_needs_object
=yes
8413 case `$CC -V 2>&1 | sed 5q` in
8414 *Sun\ C
*) # Sun C 5.9
8415 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'
8416 compiler_needs_object
=yes
8417 tmp_sharedflag
='-G' ;;
8418 *Sun\ F
*) # Sun Fortran 8.3
8419 tmp_sharedflag
='-G' ;;
8421 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8423 if test yes = "$supports_anon_versioning"; then
8424 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8425 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8426 echo "local: *; };" >> $output_objdir/$libname.ver~
8427 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8430 case $cc_basename in
8432 export_dynamic_flag_spec
='-rdynamic'
8434 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8435 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8436 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8437 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8438 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8439 if test yes = "$supports_anon_versioning"; then
8440 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8441 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8442 echo "local: *; };" >> $output_objdir/$libname.ver~
8443 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8452 netbsd
* | netbsdelf
*-gnu)
8453 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8454 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8457 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8458 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8463 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8468 *** create shared libraries on Solaris systems. Therefore, libtool
8469 *** is disabling shared libraries support. We urge you to upgrade GNU
8470 *** binutils to release 2.9.1 or newer. Another option is to modify
8471 *** your PATH or compiler configuration so that the native linker is
8472 *** used, and then restart.
8475 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8476 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8477 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8483 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8484 case `$LD -v 2>&1` in
8485 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8490 *** reliably create shared libraries on SCO systems. Therefore, libtool
8491 *** is disabling shared libraries support. We urge you to upgrade GNU
8492 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8493 *** your PATH or compiler configuration so that the native linker is
8494 *** used, and then restart.
8499 # For security reasons, it is highly recommended that you always
8500 # use absolute paths for naming shared libraries, and exclude the
8501 # DT_RUNPATH tag from executables and libraries. But doing so
8502 # requires that you compile everything twice, which is a pain.
8503 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8504 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8505 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8506 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8515 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8518 hardcode_shlibpath_var
=no
8522 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8523 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8524 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8531 if test no
= "$ld_shlibs"; then
8533 hardcode_libdir_flag_spec
=
8534 export_dynamic_flag_spec
=
8535 whole_archive_flag_spec
=
8538 # PORTME fill in a description of your system's linker (not GNU ld)
8541 allow_undefined_flag
=unsupported
8542 always_export_symbols
=yes
8543 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'
8544 # Note: this linker hardcodes the directories in LIBPATH if there
8545 # are no directories specified by -L.
8546 hardcode_minus_L
=yes
8547 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8548 # Neither direct hardcoding nor static linking is supported with a
8550 hardcode_direct
=unsupported
8555 if test ia64
= "$host_cpu"; then
8556 # On IA64, the linker does run time linking by default, so we don't
8557 # have to do anything special.
8558 aix_use_runtimelinking
=no
8559 exp_sym_flag
='-Bexport'
8562 # If we're using GNU nm, then we don't want the "-C" option.
8563 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
8564 # Without the "-l" option, or with the "-B" option, AIX nm treats
8565 # weak defined symbols like other global defined symbols, whereas
8566 # GNU nm marks them as "W".
8567 # While the 'weak' keyword is ignored in the Export File, we need
8568 # it in the Import File for the 'aix-soname' feature, so we have
8569 # to replace the "-B" option with "-P" for AIX nm.
8570 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8571 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'
8573 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'
8575 aix_use_runtimelinking
=no
8577 # Test if we are trying to use run time linking or normal
8578 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8579 # have runtime linking enabled, and use it for executables.
8580 # For shared libraries, we enable/disable runtime linking
8581 # depending on the kind of the shared library created -
8582 # when "with_aix_soname,aix_use_runtimelinking" is:
8583 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
8584 # "aix,yes" lib.so shared, rtl:yes, for executables
8585 # lib.a static archive
8586 # "both,no" lib.so.V(shr.o) shared, rtl:yes
8587 # lib.a(lib.so.V) shared, rtl:no, for executables
8588 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
8589 # lib.a(lib.so.V) shared, rtl:no
8590 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
8591 # lib.a static archive
8592 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8593 for ld_flag
in $LDFLAGS; do
8594 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
8595 aix_use_runtimelinking
=yes
8599 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
8600 # With aix-soname=svr4, we create the lib.so.V shared archives only,
8601 # so we don't have lib.a shared libs to link our executables.
8602 # We have to force runtime linking in this case.
8603 aix_use_runtimelinking
=yes
8604 LDFLAGS
="$LDFLAGS -Wl,-brtl"
8609 exp_sym_flag
='-bexport'
8610 no_entry_flag
='-bnoentry'
8613 # When large executables or shared objects are built, AIX ld can
8614 # have problems creating the table of contents. If linking a library
8615 # or program results in "error TOC overflow" add -mminimal-toc to
8616 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8617 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8621 hardcode_direct_absolute
=yes
8622 hardcode_libdir_separator
=':'
8623 link_all_deplibs
=yes
8624 file_list_spec
='$wl-f,'
8625 case $with_aix_soname,$aix_use_runtimelinking in
8626 aix
,*) ;; # traditional, no import file
8627 svr4
,* |
*,yes) # use import file
8628 # The Import File defines what to hardcode.
8630 hardcode_direct_absolute
=no
8634 if test yes = "$GCC"; then
8635 case $host_os in aix4.
[012]|aix4.
[012].
*)
8636 # We only want to do this on AIX 4.2 and lower, the check
8637 # below for broken collect2 doesn't work under 4.3+
8638 collect2name
=`$CC -print-prog-name=collect2`
8639 if test -f "$collect2name" &&
8640 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8642 # We have reworked collect2
8645 # We have old collect2
8646 hardcode_direct
=unsupported
8647 # It fails to find uninstalled libraries when the uninstalled
8648 # path is not listed in the libpath. Setting hardcode_minus_L
8649 # to unsupported forces relinking
8650 hardcode_minus_L
=yes
8651 hardcode_libdir_flag_spec
='-L$libdir'
8652 hardcode_libdir_separator
=
8656 shared_flag
='-shared'
8657 if test yes = "$aix_use_runtimelinking"; then
8658 shared_flag
="$shared_flag "'$wl-G'
8660 # Need to ensure runtime linking is disabled for the traditional
8661 # shared library, or the linker may eventually find shared libraries
8662 # /with/ Import File - we do not want to mix them.
8663 shared_flag_aix
='-shared'
8664 shared_flag_svr4
='-shared $wl-G'
8667 if test ia64
= "$host_cpu"; then
8668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8669 # chokes on -Wl,-G. The following line is correct:
8672 if test yes = "$aix_use_runtimelinking"; then
8675 shared_flag
='$wl-bM:SRE'
8677 shared_flag_aix
='$wl-bM:SRE'
8678 shared_flag_svr4
='$wl-G'
8682 export_dynamic_flag_spec
='$wl-bexpall'
8683 # It seems that -bexpall does not export symbols beginning with
8684 # underscore (_), so it is better to generate a list of symbols to export.
8685 always_export_symbols
=yes
8686 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
8687 # Warning - without using the other runtime loading flags (-brtl),
8688 # -berok will link without error, but may produce a broken library.
8689 allow_undefined_flag
='-berok'
8690 # Determine the default libpath from the value encoded in an
8692 if test set = "${lt_cv_aix_libpath+set}"; then
8693 aix_libpath
=$lt_cv_aix_libpath
8695 if ${lt_cv_aix_libpath_+:} false
; then :
8696 $as_echo_n "(cached) " >&6
8698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8709 if ac_fn_c_try_link
"$LINENO"; then :
8711 lt_aix_libpath_sed
='
8712 /Import File Strings/,/^$/ {
8714 s/^0 *\([^ ]*\) *$/\1/
8718 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8719 # Check for a 64-bit object if we didn't find anything.
8720 if test -z "$lt_cv_aix_libpath_"; then
8721 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8724 rm -f core conftest.err conftest.
$ac_objext \
8725 conftest
$ac_exeext conftest.
$ac_ext
8726 if test -z "$lt_cv_aix_libpath_"; then
8727 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8732 aix_libpath
=$lt_cv_aix_libpath_
8735 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8736 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
8738 if test ia64
= "$host_cpu"; then
8739 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
8740 allow_undefined_flag
="-z nodefs"
8741 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"
8743 # Determine the default libpath from the value encoded in an
8745 if test set = "${lt_cv_aix_libpath+set}"; then
8746 aix_libpath
=$lt_cv_aix_libpath
8748 if ${lt_cv_aix_libpath_+:} false
; then :
8749 $as_echo_n "(cached) " >&6
8751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8762 if ac_fn_c_try_link
"$LINENO"; then :
8764 lt_aix_libpath_sed
='
8765 /Import File Strings/,/^$/ {
8767 s/^0 *\([^ ]*\) *$/\1/
8771 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8772 # Check for a 64-bit object if we didn't find anything.
8773 if test -z "$lt_cv_aix_libpath_"; then
8774 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8777 rm -f core conftest.err conftest.
$ac_objext \
8778 conftest
$ac_exeext conftest.
$ac_ext
8779 if test -z "$lt_cv_aix_libpath_"; then
8780 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8785 aix_libpath
=$lt_cv_aix_libpath_
8788 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8789 # Warning - without using the other run time loading flags,
8790 # -berok will link without error, but may produce a broken library.
8791 no_undefined_flag
=' $wl-bernotok'
8792 allow_undefined_flag
=' $wl-berok'
8793 if test yes = "$with_gnu_ld"; then
8794 # We only use this code for GNU lds that support --whole-archive.
8795 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
8797 # Exported symbols can be pulled into shared objects from archives
8798 whole_archive_flag_spec
='$convenience'
8800 archive_cmds_need_lc
=yes
8801 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
8802 # -brtl affects multiple linker settings, -berok does not and is overridden later
8803 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
8804 if test svr4
!= "$with_aix_soname"; then
8805 # This is similar to how AIX traditionally builds its shared libraries.
8806 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'
8808 if test aix
!= "$with_aix_soname"; then
8809 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'
8811 # used by -dlpreopen to get the symbols
8812 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
8814 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
8822 # see comment about AmigaOS4 .so support
8823 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8824 archive_expsym_cmds
=''
8827 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)'
8828 hardcode_libdir_flag_spec
='-L$libdir'
8829 hardcode_minus_L
=yes
8835 export_dynamic_flag_spec
=-rdynamic
8838 cygwin
* | mingw
* | pw32
* | cegcc
*)
8839 # When not using gcc, we currently assume that we are using
8840 # Microsoft Visual C++.
8841 # hardcode_libdir_flag_spec is actually meaningless, as there is
8842 # no search path for DLLs.
8843 case $cc_basename in
8846 hardcode_libdir_flag_spec
=' '
8847 allow_undefined_flag
=unsupported
8848 always_export_symbols
=yes
8850 # Tell ltmain to make .lib files, not .a files.
8852 # Tell ltmain to make .dll files, not .so files.
8854 # FIXME: Setting linknames here is a bad hack.
8855 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
8856 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8857 cp "$export_symbols" "$output_objdir/$soname.def";
8858 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
8860 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
8862 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8864 # The linker will not automatically build a static lib if we build a DLL.
8865 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8866 enable_shared_with_static_runtimes
=yes
8867 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8868 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8870 old_postinstall_cmds
='chmod 644 $oldlib'
8871 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8872 lt_tool_outputfile="@TOOL_OUTPUT@"~
8873 case $lt_outputfile in
8876 lt_outputfile=$lt_outputfile.exe
8877 lt_tool_outputfile=$lt_tool_outputfile.exe
8880 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
8881 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8882 $RM "$lt_outputfile.manifest";
8886 # Assume MSVC wrapper
8887 hardcode_libdir_flag_spec
=' '
8888 allow_undefined_flag
=unsupported
8889 # Tell ltmain to make .lib files, not .a files.
8891 # Tell ltmain to make .dll files, not .so files.
8893 # FIXME: Setting linknames here is a bad hack.
8894 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8895 # The linker will automatically build a .lib file if we build a DLL.
8896 old_archive_from_new_cmds
='true'
8897 # FIXME: Should let the user specify the lib program.
8898 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8899 enable_shared_with_static_runtimes
=yes
8904 darwin
* | rhapsody
*)
8907 archive_cmds_need_lc
=no
8909 hardcode_automatic
=yes
8910 hardcode_shlibpath_var
=unsupported
8911 if test yes = "$lt_cv_ld_force_load"; then
8912 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\"`'
8915 whole_archive_flag_spec
=''
8917 link_all_deplibs
=yes
8918 allow_undefined_flag
=$_lt_dar_allow_undefined
8919 case $cc_basename in
8920 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
8921 *) _lt_dar_can_shared
=$GCC ;;
8923 if test yes = "$_lt_dar_can_shared"; then
8924 output_verbose_link_cmd
=func_echo_all
8925 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
8926 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
8927 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"
8928 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"
8937 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8938 hardcode_libdir_flag_spec
='-L$libdir'
8939 hardcode_shlibpath_var
=no
8942 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8943 # support. Future versions do this automatically, but an explicit c++rt0.o
8944 # does not break anything, and helps significantly (at the cost of a little
8947 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8948 hardcode_libdir_flag_spec
='-R$libdir'
8950 hardcode_shlibpath_var
=no
8953 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8955 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8957 hardcode_minus_L
=yes
8958 hardcode_shlibpath_var
=no
8961 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8962 freebsd
* | dragonfly
*)
8963 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8964 hardcode_libdir_flag_spec
='-R$libdir'
8966 hardcode_shlibpath_var
=no
8970 if test yes = "$GCC"; then
8971 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'
8973 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'
8975 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8976 hardcode_libdir_separator
=:
8979 # hardcode_minus_L: Not really in the search PATH,
8980 # but as the default location of the library.
8981 hardcode_minus_L
=yes
8982 export_dynamic_flag_spec
='$wl-E'
8986 if test yes,no
= "$GCC,$with_gnu_ld"; then
8987 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8989 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8991 if test no
= "$with_gnu_ld"; then
8992 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8993 hardcode_libdir_separator
=:
8995 hardcode_direct_absolute
=yes
8996 export_dynamic_flag_spec
='$wl-E'
8997 # hardcode_minus_L: Not really in the search PATH,
8998 # but as the default location of the library.
8999 hardcode_minus_L
=yes
9004 if test yes,no
= "$GCC,$with_gnu_ld"; then
9007 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9010 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9013 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9019 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9022 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9026 # Older versions of the 11.00 compiler do not understand -b yet
9027 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9029 $as_echo_n "checking if $CC understands -b... " >&6; }
9030 if ${lt_cv_prog_compiler__b+:} false
; then :
9031 $as_echo_n "(cached) " >&6
9033 lt_cv_prog_compiler__b
=no
9034 save_LDFLAGS
=$LDFLAGS
9035 LDFLAGS
="$LDFLAGS -b"
9036 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9037 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9038 # The linker can only warn and ignore the option if not recognized
9039 # So say no if there are warnings
9040 if test -s conftest.err
; then
9041 # Append any errors to the config.log.
9042 cat conftest.err
1>&5
9043 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9044 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9045 if diff conftest.exp conftest.er2
>/dev
/null
; then
9046 lt_cv_prog_compiler__b
=yes
9049 lt_cv_prog_compiler__b
=yes
9053 LDFLAGS
=$save_LDFLAGS
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9057 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9059 if test yes = "$lt_cv_prog_compiler__b"; then
9060 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9062 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9068 if test no
= "$with_gnu_ld"; then
9069 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9070 hardcode_libdir_separator
=:
9075 hardcode_shlibpath_var
=no
9079 hardcode_direct_absolute
=yes
9080 export_dynamic_flag_spec
='$wl-E'
9082 # hardcode_minus_L: Not really in the search PATH,
9083 # but as the default location of the library.
9084 hardcode_minus_L
=yes
9090 irix5
* | irix6
* | nonstopux
*)
9091 if test yes = "$GCC"; then
9092 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'
9093 # Try to use the -exported_symbol ld option, if it does not
9094 # work, assume that -exports_file does not work either and
9095 # implicitly export all symbols.
9096 # This should be the same for all languages, so no per-tag cache variable.
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9098 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9099 if ${lt_cv_irix_exported_symbol+:} false
; then :
9100 $as_echo_n "(cached) " >&6
9102 save_LDFLAGS
=$LDFLAGS
9103 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 int foo (void) { return 0; }
9108 if ac_fn_c_try_link
"$LINENO"; then :
9109 lt_cv_irix_exported_symbol
=yes
9111 lt_cv_irix_exported_symbol
=no
9113 rm -f core conftest.err conftest.
$ac_objext \
9114 conftest
$ac_exeext conftest.
$ac_ext
9115 LDFLAGS
=$save_LDFLAGS
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9118 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9119 if test yes = "$lt_cv_irix_exported_symbol"; then
9120 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'
9124 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'
9125 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'
9127 archive_cmds_need_lc
='no'
9128 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9129 hardcode_libdir_separator
=:
9131 link_all_deplibs
=yes
9135 case $cc_basename in
9137 # Fabrice Bellard et al's Tiny C Compiler
9139 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9144 netbsd
* | netbsdelf
*-gnu)
9145 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9146 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9148 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9150 hardcode_libdir_flag_spec
='-R$libdir'
9152 hardcode_shlibpath_var
=no
9156 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9158 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9159 hardcode_libdir_separator
=:
9160 hardcode_shlibpath_var
=no
9167 if test -f /usr
/libexec
/ld.so
; then
9169 hardcode_shlibpath_var
=no
9170 hardcode_direct_absolute
=yes
9171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9172 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9173 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9174 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9175 export_dynamic_flag_spec
='$wl-E'
9177 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9178 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9186 hardcode_libdir_flag_spec
='-L$libdir'
9187 hardcode_minus_L
=yes
9188 allow_undefined_flag
=unsupported
9190 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9191 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9192 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9193 $ECHO EXPORTS >> $output_objdir/$libname.def~
9194 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9195 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9196 emximp -o $lib $output_objdir/$libname.def'
9197 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9198 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9199 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9200 $ECHO EXPORTS >> $output_objdir/$libname.def~
9202 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9203 prefix_cmds="$prefix_cmds -e 1d";
9205 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9206 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9207 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9208 emximp -o $lib $output_objdir/$libname.def'
9209 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9210 enable_shared_with_static_runtimes
=yes
9214 if test yes = "$GCC"; then
9215 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9216 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'
9218 allow_undefined_flag
=' -expect_unresolved \*'
9219 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'
9221 archive_cmds_need_lc
='no'
9222 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9223 hardcode_libdir_separator
=:
9226 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9227 if test yes = "$GCC"; then
9228 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9229 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'
9230 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9232 allow_undefined_flag
=' -expect_unresolved \*'
9233 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'
9234 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~
9235 $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'
9237 # Both c and cxx compiler support -rpath directly
9238 hardcode_libdir_flag_spec
='-rpath $libdir'
9240 archive_cmds_need_lc
='no'
9241 hardcode_libdir_separator
=:
9245 no_undefined_flag
=' -z defs'
9246 if test yes = "$GCC"; then
9248 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9249 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9250 $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'
9252 case `$CC -V 2>&1` in
9255 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9256 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9257 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9261 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9262 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9263 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9267 hardcode_libdir_flag_spec
='-R$libdir'
9268 hardcode_shlibpath_var
=no
9270 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9272 # The compiler driver will combine and reorder linker options,
9273 # but understands '-z linker_flag'. GCC discards it without '$wl',
9274 # but is careful enough not to reorder.
9275 # Supported since Solaris 2.6 (maybe 2.5.1?)
9276 if test yes = "$GCC"; then
9277 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9279 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9283 link_all_deplibs
=yes
9287 if test sequent
= "$host_vendor"; then
9288 # Use $CC to link under sequent, because it throws in some extra .o
9289 # files that make .init and .fini sections work.
9290 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9292 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9294 hardcode_libdir_flag_spec
='-L$libdir'
9296 hardcode_minus_L
=yes
9297 hardcode_shlibpath_var
=no
9301 case $host_vendor in
9303 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9304 hardcode_direct
=yes # is this really true???
9307 ## LD is ld it makes a PLAMLIB
9308 ## CC just makes a GrossModule.
9309 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9310 reload_cmds
='$CC -r -o $output$reload_objs'
9314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9315 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9318 runpath_var
='LD_RUN_PATH'
9319 hardcode_shlibpath_var
=no
9323 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9324 hardcode_shlibpath_var
=no
9325 export_dynamic_flag_spec
='-Bexport'
9329 if test -d /usr
/nec
; then
9330 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9331 hardcode_shlibpath_var
=no
9332 runpath_var
=LD_RUN_PATH
9333 hardcode_runpath_var
=yes
9338 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9339 no_undefined_flag
='$wl-z,text'
9340 archive_cmds_need_lc
=no
9341 hardcode_shlibpath_var
=no
9342 runpath_var
='LD_RUN_PATH'
9344 if test yes = "$GCC"; then
9345 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9346 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9349 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9353 sysv5
* | sco3.2v5
* | sco5v6
*)
9354 # Note: We CANNOT use -z defs as we might desire, because we do not
9355 # link with -lc, and that would cause any symbols used from libc to
9356 # always be unresolved, which means just about no library would
9357 # ever link correctly. If we're not using GNU ld we use -z text
9358 # though, which does catch some bad symbols but isn't as heavy-handed
9360 no_undefined_flag
='$wl-z,text'
9361 allow_undefined_flag
='$wl-z,nodefs'
9362 archive_cmds_need_lc
=no
9363 hardcode_shlibpath_var
=no
9364 hardcode_libdir_flag_spec
='$wl-R,$libdir'
9365 hardcode_libdir_separator
=':'
9366 link_all_deplibs
=yes
9367 export_dynamic_flag_spec
='$wl-Bexport'
9368 runpath_var
='LD_RUN_PATH'
9370 if test yes = "$GCC"; then
9371 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9372 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9374 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9375 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9380 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9381 hardcode_libdir_flag_spec
='-L$libdir'
9382 hardcode_shlibpath_var
=no
9390 if test sni
= "$host_vendor"; then
9392 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9393 export_dynamic_flag_spec
='$wl-Blargedynsym'
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9400 $as_echo "$ld_shlibs" >&6; }
9401 test no
= "$ld_shlibs" && can_build_shared
=no
9403 with_gnu_ld
=$with_gnu_ld
9420 # Do we need to explicitly link libc?
9422 case "x$archive_cmds_need_lc" in
9424 # Assume -lc should be added
9425 archive_cmds_need_lc
=yes
9427 if test yes,yes = "$GCC,$enable_shared"; then
9428 case $archive_cmds in
9430 # FIXME: we may have to deal with multi-command sequences.
9433 # Test whether the compiler implicitly links with -lc since on some
9434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9435 # to ld, don't add -lc before -lgcc.
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9437 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9438 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9442 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9445 (eval $ac_compile) 2>&5
9447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9448 test $ac_status = 0; } 2>conftest.err
; then
9451 libobjs
=conftest.
$ac_objext
9453 wl
=$lt_prog_compiler_wl
9454 pic_flag
=$lt_prog_compiler_pic
9460 lt_save_allow_undefined_flag
=$allow_undefined_flag
9461 allow_undefined_flag
=
9462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9463 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9466 test $ac_status = 0; }
9468 lt_cv_archive_cmds_need_lc
=no
9470 lt_cv_archive_cmds_need_lc
=yes
9472 allow_undefined_flag
=$lt_save_allow_undefined_flag
9474 cat conftest.err
1>&5
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9480 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9481 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9640 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9642 if test yes = "$GCC"; then
9644 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
9645 *) lt_awk_arg
='/^libraries:/' ;;
9648 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
9649 *) lt_sed_strip_eq
='s|=/|/|g' ;;
9651 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9652 case $lt_search_path_spec in
9654 # if the path contains ";" then we assume it to be the separator
9655 # otherwise default to the standard path separator (i.e. ":") - it is
9656 # assumed that no part of a normal pathname contains ";" but that should
9657 # okay in the real world where ";" in dirpaths is itself problematic.
9658 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9661 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9664 # Ok, now we have the path, separated by spaces, we can step through it
9665 # and add multilib dir if necessary...
9666 lt_tmp_lt_search_path_spec
=
9667 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9668 # ...but if some path component already ends with the multilib dir we assume
9669 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
9670 case "$lt_multi_os_dir; $lt_search_path_spec " in
9671 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
9675 for lt_sys_path
in $lt_search_path_spec; do
9676 if test -d "$lt_sys_path$lt_multi_os_dir"; then
9677 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
9678 elif test -n "$lt_multi_os_dir"; then
9679 test -d "$lt_sys_path" && \
9680 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9683 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9684 BEGIN {RS = " "; FS = "/|\n";} {
9687 for (lt_i = NF; lt_i > 0; lt_i--) {
9688 if ($lt_i != "" && $lt_i != ".") {
9689 if ($lt_i == "..") {
9692 if (lt_count == 0) {
9693 lt_foo = "/" $lt_i lt_foo;
9700 if (lt_foo != "") { lt_freq[lt_foo]++; }
9701 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9703 # AWK program above erroneously prepends '/' to C:/dos/paths
9706 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9707 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
9709 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9711 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9714 libname_spec
='lib$name'
9722 shlibpath_overrides_runpath
=unknown
9724 dynamic_linker
="$host_os ld.so"
9725 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9726 need_lib_prefix
=unknown
9727 hardcode_into_libs
=no
9729 # when you set need_version to no, make sure it does not cause -set_version
9730 # flags to be left without arguments
9731 need_version
=unknown
9737 version_type
=linux
# correct to gnu/linux during the next big refactor
9738 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
9739 shlibpath_var
=LIBPATH
9741 # AIX 3 has no versioning support, so we append a major version to the name.
9742 soname_spec
='$libname$release$shared_ext$major'
9746 version_type
=linux
# correct to gnu/linux during the next big refactor
9749 hardcode_into_libs
=yes
9750 if test ia64
= "$host_cpu"; then
9751 # AIX 5 supports IA64
9752 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
9753 shlibpath_var
=LD_LIBRARY_PATH
9755 # With GCC up to 2.95.x, collect2 would create an import file
9756 # for dependence libraries. The import file would start with
9757 # the line '#! .'. This would cause the generated library to
9758 # depend on '.', always an invalid library. This was fixed in
9759 # development snapshots of GCC prior to 3.0.
9761 aix4 | aix4.
[01] | aix4.
[01].
*)
9762 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9764 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
9771 # Using Import Files as archive members, it is possible to support
9772 # filename-based versioning of shared library archives on AIX. While
9773 # this would work for both with and without runtime linking, it will
9774 # prevent static linking of such archives. So we do filename-based
9775 # shared library versioning with .so extension only, which is used
9776 # when both runtime linking and shared linking is enabled.
9777 # Unfortunately, runtime linking may impact performance, so we do
9778 # not want this to be the default eventually. Also, we use the
9779 # versioned .so libs for executables only if there is the -brtl
9780 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
9781 # To allow for filename-based versioning support, we need to create
9782 # libNAME.so.V as an archive file, containing:
9783 # *) an Import File, referring to the versioned filename of the
9784 # archive as well as the shared archive member, telling the
9785 # bitwidth (32 or 64) of that shared object, and providing the
9786 # list of exported symbols of that shared object, eventually
9787 # decorated with the 'weak' keyword
9788 # *) the shared object with the F_LOADONLY flag set, to really avoid
9789 # it being seen by the linker.
9790 # At run time we better use the real file rather than another symlink,
9791 # but for link time we create the symlink libNAME.so -> libNAME.so.V
9793 case $with_aix_soname,$aix_use_runtimelinking in
9794 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
9795 # soname into executable. Probably we can add versioning support to
9796 # collect2, so additional links can be useful in future.
9797 aix
,yes) # traditional libtool
9798 dynamic_linker
='AIX unversionable lib.so'
9799 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9800 # instead of lib<name>.a to let people know that these are not
9801 # typical AIX shared libraries.
9802 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9804 aix
,no
) # traditional AIX only
9805 dynamic_linker
='AIX lib.a(lib.so.V)'
9806 # We preserve .a as extension for shared libraries through AIX4.2
9807 # and later when we are not doing run time linking.
9808 library_names_spec
='$libname$release.a $libname.a'
9809 soname_spec
='$libname$release$shared_ext$major'
9811 svr4
,*) # full svr4 only
9812 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
9813 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9814 # We do not specify a path in Import Files, so LIBPATH fires.
9815 shlibpath_overrides_runpath
=yes
9817 *,yes) # both, prefer svr4
9818 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
9819 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9820 # unpreferred sharedlib libNAME.a needs extra handling
9821 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"'
9822 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"'
9823 # We do not specify a path in Import Files, so LIBPATH fires.
9824 shlibpath_overrides_runpath
=yes
9826 *,no
) # both, prefer aix
9827 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
9828 library_names_spec
='$libname$release.a $libname.a'
9829 soname_spec
='$libname$release$shared_ext$major'
9830 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
9831 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)'
9832 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"'
9835 shlibpath_var
=LIBPATH
9842 # Since July 2007 AmigaOS4 officially supports .so libraries.
9843 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9844 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9847 library_names_spec
='$libname.ixlibrary $libname.a'
9848 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9849 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'
9855 library_names_spec
='$libname$shared_ext'
9856 dynamic_linker
="$host_os ld.so"
9857 shlibpath_var
=LIBRARY_PATH
9861 version_type
=linux
# correct to gnu/linux during the next big refactor
9863 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9864 soname_spec
='$libname$release$shared_ext$major'
9865 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9866 shlibpath_var
=LD_LIBRARY_PATH
9867 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9868 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9869 # the default ld.so.conf also contains /usr/contrib/lib and
9870 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9871 # libtool to hard-code these into programs
9874 cygwin
* | mingw
* | pw32
* | cegcc
*)
9875 version_type
=windows
9880 case $GCC,$cc_basename in
9883 library_names_spec
='$libname.dll.a'
9884 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9885 postinstall_cmds
='base_file=`basename \$file`~
9886 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9887 dldir=$destdir/`dirname \$dlpath`~
9888 test -d \$dldir || mkdir -p \$dldir~
9889 $install_prog $dir/$dlname \$dldir/$dlname~
9890 chmod a+x \$dldir/$dlname~
9891 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9892 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9894 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9895 dlpath=$dir/\$dldll~
9897 shlibpath_overrides_runpath
=yes
9901 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9902 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9904 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9907 # MinGW DLLs use traditional 'lib' prefix
9908 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9911 # pw32 DLLs use 'pw' prefix rather than 'lib'
9912 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9915 dynamic_linker
='Win32 ld.exe'
9920 libname_spec
='$name'
9921 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9922 library_names_spec
='$libname.dll.lib'
9926 sys_lib_search_path_spec
=
9932 # Let DOS variable expansion print the short 8.3 style file name.
9933 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9934 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9937 # Convert to MSYS style.
9938 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9941 # Convert to unix form, then to dos form, then back to unix form
9942 # but this time dos style (no spaces!) so that the unix form looks
9943 # like /cygdrive/c/PROGRA~1:/cygdr...
9944 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9945 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9946 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9949 sys_lib_search_path_spec
=$LIB
9950 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9951 # It is most probably a Windows format PATH.
9952 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9954 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9956 # FIXME: find the short name or the path components, as spaces are
9957 # common. (e.g. "Program Files" -> "PROGRA~1")
9961 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9962 postinstall_cmds
='base_file=`basename \$file`~
9963 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9964 dldir=$destdir/`dirname \$dlpath`~
9965 test -d \$dldir || mkdir -p \$dldir~
9966 $install_prog $dir/$dlname \$dldir/$dlname'
9967 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9968 dlpath=$dir/\$dldll~
9970 shlibpath_overrides_runpath
=yes
9971 dynamic_linker
='Win32 link.exe'
9975 # Assume MSVC wrapper
9976 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
9977 dynamic_linker
='Win32 ld.exe'
9980 # FIXME: first we should search . and the directory the executable is in
9984 darwin
* | rhapsody
*)
9985 dynamic_linker
="$host_os dyld"
9989 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
9990 soname_spec
='$libname$release$major$shared_ext'
9991 shlibpath_overrides_runpath
=yes
9992 shlibpath_var
=DYLD_LIBRARY_PATH
9993 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9995 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9996 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10000 version_type
=linux
# correct to gnu/linux during the next big refactor
10003 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10004 soname_spec
='$libname$release$shared_ext$major'
10005 shlibpath_var
=LD_LIBRARY_PATH
10008 freebsd
* | dragonfly
*)
10009 # DragonFly does not have aout. When/if they implement a new
10010 # versioning mechanism, adjust this.
10011 if test -x /usr
/bin
/objformat
; then
10012 objformat
=`/usr/bin/objformat`
10015 freebsd
[23].
*) objformat
=aout
;;
10016 *) objformat
=elf
;;
10019 version_type
=freebsd-
$objformat
10020 case $version_type in
10022 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10023 soname_spec
='$libname$release$shared_ext$major'
10028 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10032 shlibpath_var
=LD_LIBRARY_PATH
10035 shlibpath_overrides_runpath
=yes
10037 freebsd3.
[01]* | freebsdelf3.
[01]*)
10038 shlibpath_overrides_runpath
=yes
10039 hardcode_into_libs
=yes
10041 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10042 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10043 shlibpath_overrides_runpath
=no
10044 hardcode_into_libs
=yes
10046 *) # from 4.6 on, and DragonFly
10047 shlibpath_overrides_runpath
=yes
10048 hardcode_into_libs
=yes
10054 version_type
=linux
# correct to gnu/linux during the next big refactor
10057 dynamic_linker
="$host_os runtime_loader"
10058 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10059 soname_spec
='$libname$release$shared_ext$major'
10060 shlibpath_var
=LIBRARY_PATH
10061 shlibpath_overrides_runpath
=no
10062 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10063 hardcode_into_libs
=yes
10066 hpux9
* | hpux10
* | hpux11
*)
10067 # Give a soname corresponding to the major version so that dld.sl refuses to
10068 # link against other versions.
10075 hardcode_into_libs
=yes
10076 dynamic_linker
="$host_os dld.so"
10077 shlibpath_var
=LD_LIBRARY_PATH
10078 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10079 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10080 soname_spec
='$libname$release$shared_ext$major'
10081 if test 32 = "$HPUX_IA64_MODE"; then
10082 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10083 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10085 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10086 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10091 hardcode_into_libs
=yes
10092 dynamic_linker
="$host_os dld.sl"
10093 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10094 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10095 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10096 soname_spec
='$libname$release$shared_ext$major'
10097 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10098 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10102 dynamic_linker
="$host_os dld.sl"
10103 shlibpath_var
=SHLIB_PATH
10104 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10105 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10106 soname_spec
='$libname$release$shared_ext$major'
10109 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10110 postinstall_cmds
='chmod 555 $lib'
10111 # or fails outright, so override atomically:
10112 install_override_mode
=555
10116 version_type
=linux
# correct to gnu/linux during the next big refactor
10119 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10120 soname_spec
='$libname$release$shared_ext$major'
10121 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10122 shlibpath_var
=LD_LIBRARY_PATH
10123 shlibpath_overrides_runpath
=no
10124 hardcode_into_libs
=yes
10127 irix5
* | irix6
* | nonstopux
*)
10129 nonstopux
*) version_type
=nonstopux
;;
10131 if test yes = "$lt_cv_prog_gnu_ld"; then
10132 version_type
=linux
# correct to gnu/linux during the next big refactor
10139 soname_spec
='$libname$release$shared_ext$major'
10140 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10142 irix5
* | nonstopux
*)
10143 libsuff
= shlibsuff
=
10146 case $LD in # libtool.m4 will add one of these switches to LD
10147 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10148 libsuff
= shlibsuff
= libmagic
=32-bit;;
10149 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10150 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10151 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10152 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10153 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10157 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10158 shlibpath_overrides_runpath
=no
10159 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10160 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10161 hardcode_into_libs
=yes
10164 # No shared lib support for Linux oldld, aout, or coff.
10165 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10170 version_type
=none
# Android doesn't support versioned libraries.
10173 library_names_spec
='$libname$release$shared_ext'
10174 soname_spec
='$libname$release$shared_ext'
10176 shlibpath_var
=LD_LIBRARY_PATH
10177 shlibpath_overrides_runpath
=yes
10179 # This implies no fast_install, which is unacceptable.
10180 # Some rework will be needed to allow for fast_install
10181 # before this can be enabled.
10182 hardcode_into_libs
=yes
10184 dynamic_linker
='Android linker'
10185 # Don't embed -rpath directories since the linker doesn't support them.
10186 hardcode_libdir_flag_spec
='-L$libdir'
10189 # This must be glibc/ELF.
10190 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10191 version_type
=linux
# correct to gnu/linux during the next big refactor
10194 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10195 soname_spec
='$libname$release$shared_ext$major'
10196 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10197 shlibpath_var
=LD_LIBRARY_PATH
10198 shlibpath_overrides_runpath
=no
10200 # Some binutils ld are patched to set DT_RUNPATH
10201 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10202 $as_echo_n "(cached) " >&6
10204 lt_cv_shlibpath_overrides_runpath
=no
10205 save_LDFLAGS
=$LDFLAGS
10206 save_libdir
=$libdir
10207 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10208 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10220 if ac_fn_c_try_link
"$LINENO"; then :
10221 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10222 lt_cv_shlibpath_overrides_runpath
=yes
10225 rm -f core conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 LDFLAGS
=$save_LDFLAGS
10228 libdir
=$save_libdir
10232 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10234 # This implies no fast_install, which is unacceptable.
10235 # Some rework will be needed to allow for fast_install
10236 # before this can be enabled.
10237 hardcode_into_libs
=yes
10239 # Ideally, we could use ldconfig to report *all* directores which are
10240 # searched for libraries, however this is still not possible. Aside from not
10241 # being certain /sbin/ldconfig is available, command
10242 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10243 # even though it is searched at run-time. Try to do the best guess by
10244 # appending ld.so.conf contents (and includes) to the search path.
10245 if test -f /etc
/ld.so.conf
; then
10246 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' ' '`
10247 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10250 # We used to test for /lib/ld.so.1 and disable shared libraries on
10251 # powerpc, because MkLinux only supported shared libraries with the
10252 # GNU dynamic linker. Since this was broken with cross compilers,
10253 # most powerpc-linux boxes support dynamic linking these days and
10254 # people can always --disable-shared, the test was removed, and we
10255 # assume the GNU/Linux dynamic linker is in use.
10256 dynamic_linker
='GNU/Linux ld.so'
10263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10264 soname_spec
='${libname}${release}${shared_ext}$major'
10265 shlibpath_var
=LD_LIBRARY_PATH
10266 shlibpath_overrides_runpath
=no
10267 hardcode_into_libs
=yes
10268 dynamic_linker
='NetBSD ld.elf_so'
10275 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10276 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10277 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10278 dynamic_linker
='NetBSD (a.out) ld.so'
10280 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10281 soname_spec
='$libname$release$shared_ext$major'
10282 dynamic_linker
='NetBSD ld.elf_so'
10284 shlibpath_var
=LD_LIBRARY_PATH
10285 shlibpath_overrides_runpath
=yes
10286 hardcode_into_libs
=yes
10290 version_type
=linux
# correct to gnu/linux during the next big refactor
10291 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10292 shlibpath_var
=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath
=yes
10300 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10301 soname_spec
='$libname$release$shared_ext$major'
10302 shlibpath_var
=LD_LIBRARY_PATH
10303 shlibpath_overrides_runpath
=no
10304 hardcode_into_libs
=yes
10305 dynamic_linker
='ldqnx.so'
10308 openbsd
* | bitrig
*)
10310 sys_lib_dlsearch_path_spec
=/usr
/lib
10312 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10317 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10318 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10319 shlibpath_var
=LD_LIBRARY_PATH
10320 shlibpath_overrides_runpath
=yes
10324 libname_spec
='$name'
10325 version_type
=windows
10329 # OS/2 can only load a DLL with a base name of 8 characters or less.
10330 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
10331 v=$($ECHO $release$versuffix | tr -d .-);
10332 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10333 $ECHO $n$v`$shared_ext'
10334 library_names_spec
='${libname}_dll.$libext'
10335 dynamic_linker
='OS/2 ld.exe'
10336 shlibpath_var
=BEGINLIBPATH
10337 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10338 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10339 postinstall_cmds
='base_file=`basename \$file`~
10340 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10341 dldir=$destdir/`dirname \$dlpath`~
10342 test -d \$dldir || mkdir -p \$dldir~
10343 $install_prog $dir/$dlname \$dldir/$dlname~
10344 chmod a+x \$dldir/$dlname~
10345 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10346 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10348 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10349 dlpath=$dir/\$dldll~
10353 osf3
* | osf4
* | osf5
*)
10357 soname_spec
='$libname$release$shared_ext$major'
10358 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10359 shlibpath_var
=LD_LIBRARY_PATH
10360 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10361 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10369 version_type
=linux
# correct to gnu/linux during the next big refactor
10372 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10373 soname_spec
='$libname$release$shared_ext$major'
10374 shlibpath_var
=LD_LIBRARY_PATH
10375 shlibpath_overrides_runpath
=yes
10376 hardcode_into_libs
=yes
10377 # ldd complains unless libraries are executable
10378 postinstall_cmds
='chmod +x $lib'
10383 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10384 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10385 shlibpath_var
=LD_LIBRARY_PATH
10386 shlibpath_overrides_runpath
=yes
10387 if test yes = "$with_gnu_ld"; then
10394 version_type
=linux
# correct to gnu/linux during the next big refactor
10395 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10396 soname_spec
='$libname$release$shared_ext$major'
10397 shlibpath_var
=LD_LIBRARY_PATH
10398 case $host_vendor in
10400 shlibpath_overrides_runpath
=no
10402 runpath_var
=LD_RUN_PATH
10410 shlibpath_overrides_runpath
=no
10411 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10417 if test -d /usr
/nec
; then
10418 version_type
=linux
# correct to gnu/linux during the next big refactor
10419 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10420 soname_spec
='$libname$shared_ext.$major'
10421 shlibpath_var
=LD_LIBRARY_PATH
10425 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10429 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10430 soname_spec
='$libname$release$shared_ext$major'
10431 shlibpath_var
=LD_LIBRARY_PATH
10432 shlibpath_overrides_runpath
=yes
10433 hardcode_into_libs
=yes
10434 if test yes = "$with_gnu_ld"; then
10435 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10437 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10440 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10444 sys_lib_dlsearch_path_spec
='/usr/lib'
10448 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10449 version_type
=linux
# correct to gnu/linux during the next big refactor
10452 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10453 shlibpath_var
=LD_LIBRARY_PATH
10454 shlibpath_overrides_runpath
=no
10455 hardcode_into_libs
=yes
10459 version_type
=linux
# correct to gnu/linux during the next big refactor
10460 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10461 soname_spec
='$libname$release$shared_ext$major'
10462 shlibpath_var
=LD_LIBRARY_PATH
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10470 $as_echo "$dynamic_linker" >&6; }
10471 test no
= "$dynamic_linker" && can_build_shared
=no
10473 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10474 if test yes = "$GCC"; then
10475 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10478 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10479 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
10482 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10483 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
10486 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
10487 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
10489 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
10490 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
10492 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
10493 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10592 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10594 if test -n "$hardcode_libdir_flag_spec" ||
10595 test -n "$runpath_var" ||
10596 test yes = "$hardcode_automatic"; then
10598 # We can hardcode non-existent directories.
10599 if test no
!= "$hardcode_direct" &&
10600 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10601 # have to relink, otherwise we might link with an installed library
10602 # when we should be linking with a yet-to-be-installed one
10603 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
10604 test no
!= "$hardcode_minus_L"; then
10605 # Linking always hardcodes the temporary library directory.
10606 hardcode_action
=relink
10608 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10609 hardcode_action
=immediate
10612 # We cannot hardcode anything, or else we can only hardcode existing
10614 hardcode_action
=unsupported
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10617 $as_echo "$hardcode_action" >&6; }
10619 if test relink
= "$hardcode_action" ||
10620 test yes = "$inherit_rpath"; then
10621 # Fast installation is not supported
10622 enable_fast_install
=no
10623 elif test yes = "$shlibpath_overrides_runpath" ||
10624 test no
= "$enable_shared"; then
10625 # Fast installation is not necessary
10626 enable_fast_install
=needless
10634 if test yes != "$enable_dlopen"; then
10635 enable_dlopen
=unknown
10636 enable_dlopen_self
=unknown
10637 enable_dlopen_self_static
=unknown
10644 lt_cv_dlopen
=load_add_on
10646 lt_cv_dlopen_self
=yes
10649 mingw
* | pw32
* | cegcc
*)
10650 lt_cv_dlopen
=LoadLibrary
10655 lt_cv_dlopen
=dlopen
10660 # if libdl is installed we need to link against it
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10662 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10663 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10664 $as_echo_n "(cached) " >&6
10666 ac_check_lib_save_LIBS
=$LIBS
10668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10686 if ac_fn_c_try_link
"$LINENO"; then :
10687 ac_cv_lib_dl_dlopen
=yes
10689 ac_cv_lib_dl_dlopen
=no
10691 rm -f core conftest.err conftest.
$ac_objext \
10692 conftest
$ac_exeext conftest.
$ac_ext
10693 LIBS
=$ac_check_lib_save_LIBS
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10696 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10697 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10698 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10703 lt_cv_dlopen_self
=yes
10710 # Don't try to run any link tests for TPF. We know it's impossible
10711 # because TPF is a cross-compiler, and we know how we open DSOs.
10712 lt_cv_dlopen
=dlopen
10714 lt_cv_dlopen_self
=no
10718 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10719 if test "x$ac_cv_func_shl_load" = xyes
; then :
10720 lt_cv_dlopen
=shl_load
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10723 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10724 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10725 $as_echo_n "(cached) " >&6
10727 ac_check_lib_save_LIBS
=$LIBS
10729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10732 /* Override any GCC internal prototype to avoid an error.
10733 Use char because int might match the return type of a GCC
10734 builtin and then its argument prototype would still apply. */
10742 return shl_load ();
10747 if ac_fn_c_try_link
"$LINENO"; then :
10748 ac_cv_lib_dld_shl_load
=yes
10750 ac_cv_lib_dld_shl_load
=no
10752 rm -f core conftest.err conftest.
$ac_objext \
10753 conftest
$ac_exeext conftest.
$ac_ext
10754 LIBS
=$ac_check_lib_save_LIBS
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10757 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10758 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10759 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
10761 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10762 if test "x$ac_cv_func_dlopen" = xyes
; then :
10763 lt_cv_dlopen
=dlopen
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10766 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10767 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10768 $as_echo_n "(cached) " >&6
10770 ac_check_lib_save_LIBS
=$LIBS
10772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10775 /* Override any GCC internal prototype to avoid an error.
10776 Use char because int might match the return type of a GCC
10777 builtin and then its argument prototype would still apply. */
10790 if ac_fn_c_try_link
"$LINENO"; then :
10791 ac_cv_lib_dl_dlopen
=yes
10793 ac_cv_lib_dl_dlopen
=no
10795 rm -f core conftest.err conftest.
$ac_objext \
10796 conftest
$ac_exeext conftest.
$ac_ext
10797 LIBS
=$ac_check_lib_save_LIBS
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10800 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10801 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10802 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10805 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10806 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10807 $as_echo_n "(cached) " >&6
10809 ac_check_lib_save_LIBS
=$LIBS
10810 LIBS
="-lsvld $LIBS"
10811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10829 if ac_fn_c_try_link
"$LINENO"; then :
10830 ac_cv_lib_svld_dlopen
=yes
10832 ac_cv_lib_svld_dlopen
=no
10834 rm -f core conftest.err conftest.
$ac_objext \
10835 conftest
$ac_exeext conftest.
$ac_ext
10836 LIBS
=$ac_check_lib_save_LIBS
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10839 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10840 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10841 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10844 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10845 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10846 $as_echo_n "(cached) " >&6
10848 ac_check_lib_save_LIBS
=$LIBS
10850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10863 return dld_link ();
10868 if ac_fn_c_try_link
"$LINENO"; then :
10869 ac_cv_lib_dld_dld_link
=yes
10871 ac_cv_lib_dld_dld_link
=no
10873 rm -f core conftest.err conftest.
$ac_objext \
10874 conftest
$ac_exeext conftest.
$ac_ext
10875 LIBS
=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10878 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10879 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10880 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
10901 if test no
= "$lt_cv_dlopen"; then
10907 case $lt_cv_dlopen in
10909 save_CPPFLAGS
=$CPPFLAGS
10910 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10912 save_LDFLAGS
=$LDFLAGS
10913 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10916 LIBS
="$lt_cv_dlopen_libs $LIBS"
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10919 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10920 if ${lt_cv_dlopen_self+:} false
; then :
10921 $as_echo_n "(cached) " >&6
10923 if test yes = "$cross_compiling"; then :
10924 lt_cv_dlopen_self
=cross
10926 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10927 lt_status
=$lt_dlunknown
10928 cat > conftest.
$ac_ext <<_LT_EOF
10929 #line $LINENO "configure"
10930 #include "confdefs.h"
10939 # define LT_DLGLOBAL RTLD_GLOBAL
10942 # define LT_DLGLOBAL DL_GLOBAL
10944 # define LT_DLGLOBAL 0
10948 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10949 find out it does not work in some platform. */
10950 #ifndef LT_DLLAZY_OR_NOW
10952 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10955 # define LT_DLLAZY_OR_NOW DL_LAZY
10958 # define LT_DLLAZY_OR_NOW RTLD_NOW
10961 # define LT_DLLAZY_OR_NOW DL_NOW
10963 # define LT_DLLAZY_OR_NOW 0
10970 /* When -fvisibility=hidden is used, assume the code has been annotated
10971 correspondingly for the symbols needed. */
10972 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10973 int fnord () __attribute__((visibility("default")));
10976 int fnord () { return 42; }
10979 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10980 int status = $lt_dlunknown;
10984 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10987 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10988 else puts (dlerror ());
10990 /* dlclose (self); */
10998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10999 (eval $ac_link) 2>&5
11001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11002 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11003 (.
/conftest
; exit; ) >&5 2>/dev
/null
11005 case x
$lt_status in
11006 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11007 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11008 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11011 # compilation failed
11012 lt_cv_dlopen_self
=no
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11020 $as_echo "$lt_cv_dlopen_self" >&6; }
11022 if test yes = "$lt_cv_dlopen_self"; then
11023 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11025 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11026 if ${lt_cv_dlopen_self_static+:} false
; then :
11027 $as_echo_n "(cached) " >&6
11029 if test yes = "$cross_compiling"; then :
11030 lt_cv_dlopen_self_static
=cross
11032 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11033 lt_status
=$lt_dlunknown
11034 cat > conftest.
$ac_ext <<_LT_EOF
11035 #line $LINENO "configure"
11036 #include "confdefs.h"
11045 # define LT_DLGLOBAL RTLD_GLOBAL
11048 # define LT_DLGLOBAL DL_GLOBAL
11050 # define LT_DLGLOBAL 0
11054 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11055 find out it does not work in some platform. */
11056 #ifndef LT_DLLAZY_OR_NOW
11058 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11061 # define LT_DLLAZY_OR_NOW DL_LAZY
11064 # define LT_DLLAZY_OR_NOW RTLD_NOW
11067 # define LT_DLLAZY_OR_NOW DL_NOW
11069 # define LT_DLLAZY_OR_NOW 0
11076 /* When -fvisibility=hidden is used, assume the code has been annotated
11077 correspondingly for the symbols needed. */
11078 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11079 int fnord () __attribute__((visibility("default")));
11082 int fnord () { return 42; }
11085 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11086 int status = $lt_dlunknown;
11090 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11093 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11094 else puts (dlerror ());
11096 /* dlclose (self); */
11104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11105 (eval $ac_link) 2>&5
11107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11108 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11109 (.
/conftest
; exit; ) >&5 2>/dev
/null
11111 case x
$lt_status in
11112 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11113 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11114 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11117 # compilation failed
11118 lt_cv_dlopen_self_static
=no
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11126 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11129 CPPFLAGS
=$save_CPPFLAGS
11130 LDFLAGS
=$save_LDFLAGS
11135 case $lt_cv_dlopen_self in
11136 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11137 *) enable_dlopen_self
=unknown
;;
11140 case $lt_cv_dlopen_self_static in
11141 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11142 *) enable_dlopen_self_static
=unknown
;;
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11165 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11166 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11167 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11168 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11170 $as_echo "yes" >&6; }
11172 # FIXME - insert some real tests, host_os isn't really good enough
11175 if test -n "$STRIP"; then
11176 striplib
="$STRIP -x"
11177 old_striplib
="$STRIP -S"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11179 $as_echo "yes" >&6; }
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11182 $as_echo "no" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11187 $as_echo "no" >&6; }
11203 # Report what library types will actually be built
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11205 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11207 $as_echo "$can_build_shared" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11210 $as_echo_n "checking whether to build shared libraries... " >&6; }
11211 test no
= "$can_build_shared" && enable_shared
=no
11213 # On AIX, shared libraries and static libraries use the same namespace, and
11214 # are all built from PIC.
11217 test yes = "$enable_shared" && enable_static
=no
11218 if test -n "$RANLIB"; then
11219 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11220 postinstall_cmds
='$RANLIB $lib'
11225 if test ia64
!= "$host_cpu"; then
11226 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11227 yes,aix
,yes) ;; # shared object as lib.so file only
11228 yes,svr4
,*) ;; # shared object as lib.so archive member only
11229 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11235 $as_echo "$enable_shared" >&6; }
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11238 $as_echo_n "checking whether to build static libraries... " >&6; }
11239 # Make sure either enable_shared or enable_static is yes.
11240 test yes = "$enable_shared" || enable_static
=yes
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11242 $as_echo "$enable_static" >&6; }
11249 ac_cpp
='$CPP $CPPFLAGS'
11250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11270 ac_config_commands
="$ac_config_commands libtool"
11275 # Only expand once:
11278 # Find a good install program. We prefer a C program (faster),
11279 # so one script is as good as another. But avoid the broken or
11280 # incompatible versions:
11281 # SysV /etc/install, /usr/sbin/install
11282 # SunOS /usr/etc/install
11283 # IRIX /sbin/install
11285 # AmigaOS /C/install, which installs bootblocks on floppy discs
11286 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11287 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11288 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11289 # OS/2's system install, which has a completely different semantic
11290 # ./install, which can be erroneously created by make from ./install.sh.
11291 # Reject install programs that cannot install multiple files.
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11293 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11294 if test -z "$INSTALL"; then
11295 if ${ac_cv_path_install+:} false
; then :
11296 $as_echo_n "(cached) " >&6
11298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11299 for as_dir
in $PATH
11302 test -z "$as_dir" && as_dir
=.
11303 # Account for people who put trailing slashes in PATH elements.
11304 case $as_dir/ in #((
11305 .
/ | .
// |
/[cC
]/* | \
11306 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11307 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
11310 # OSF1 and SCO ODT 3.0 have their own names for install.
11311 # Don't use installbsd from OSF since it installs stuff as root
11313 for ac_prog
in ginstall scoinst
install; do
11314 for ac_exec_ext
in '' $ac_executable_extensions; do
11315 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
11316 if test $ac_prog = install &&
11317 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11318 # AIX install. It has an incompatible calling convention.
11320 elif test $ac_prog = install &&
11321 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11322 # program-specific install script used by HP pwplus--don't use.
11325 rm -rf conftest.one conftest.two conftest.dir
11326 echo one
> conftest.one
11327 echo two
> conftest.two
11329 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11330 test -s conftest.one
&& test -s conftest.two
&&
11331 test -s conftest.dir
/conftest.one
&&
11332 test -s conftest.dir
/conftest.two
11334 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11347 rm -rf conftest.one conftest.two conftest.dir
11350 if test "${ac_cv_path_install+set}" = set; then
11351 INSTALL
=$ac_cv_path_install
11353 # As a last resort, use the slow shell script. Don't cache a
11354 # value for INSTALL within a source directory, because that will
11355 # break other packages using the cache if that directory is
11356 # removed, or if the value is a relative name.
11357 INSTALL
=$ac_install_sh
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11361 $as_echo "$INSTALL" >&6; }
11363 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11364 # It thinks the first close brace ends the variable substitution.
11365 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11367 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11369 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11373 # Enable large file support (if special flags are necessary)
11375 # Check whether --enable-largefile was given.
11376 if test "${enable_largefile+set}" = set; then :
11377 enableval
=$enable_largefile;
11380 if test "$enable_largefile" != no
; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11383 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11384 if ${ac_cv_sys_largefile_CC+:} false
; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_cv_sys_largefile_CC
=no
11388 if test "$GCC" != yes; then
11391 # IRIX 6.2 and later do not support large files by default,
11392 # so use the C compiler's -n32 option if that helps.
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 #include <sys/types.h>
11396 /* Check that off_t can represent 2**63 - 1 correctly.
11397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11398 since some C++ compilers masquerading as C compilers
11399 incorrectly reject 9223372036854775807. */
11400 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11402 && LARGE_OFF_T % 2147483647 == 1)
11412 if ac_fn_c_try_compile
"$LINENO"; then :
11415 rm -f core conftest.err conftest.
$ac_objext
11417 if ac_fn_c_try_compile
"$LINENO"; then :
11418 ac_cv_sys_largefile_CC
=' -n32'; break
11420 rm -f core conftest.err conftest.
$ac_objext
11424 rm -f conftest.
$ac_ext
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11428 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11429 if test "$ac_cv_sys_largefile_CC" != no
; then
11430 CC
=$CC$ac_cv_sys_largefile_CC
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11434 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11435 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11436 $as_echo_n "(cached) " >&6
11439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11441 #include <sys/types.h>
11442 /* Check that off_t can represent 2**63 - 1 correctly.
11443 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11444 since some C++ compilers masquerading as C compilers
11445 incorrectly reject 9223372036854775807. */
11446 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11447 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11448 && LARGE_OFF_T % 2147483647 == 1)
11458 if ac_fn_c_try_compile
"$LINENO"; then :
11459 ac_cv_sys_file_offset_bits
=no
; break
11461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11464 #define _FILE_OFFSET_BITS 64
11465 #include <sys/types.h>
11466 /* Check that off_t can represent 2**63 - 1 correctly.
11467 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11468 since some C++ compilers masquerading as C compilers
11469 incorrectly reject 9223372036854775807. */
11470 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11471 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11472 && LARGE_OFF_T % 2147483647 == 1)
11482 if ac_fn_c_try_compile
"$LINENO"; then :
11483 ac_cv_sys_file_offset_bits
=64; break
11485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11486 ac_cv_sys_file_offset_bits
=unknown
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11491 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11492 case $ac_cv_sys_file_offset_bits in #(
11495 cat >>confdefs.h
<<_ACEOF
11496 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11501 if test $ac_cv_sys_file_offset_bits = unknown
; then
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11503 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11504 if ${ac_cv_sys_large_files+:} false
; then :
11505 $as_echo_n "(cached) " >&6
11508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510 #include <sys/types.h>
11511 /* Check that off_t can represent 2**63 - 1 correctly.
11512 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11513 since some C++ compilers masquerading as C compilers
11514 incorrectly reject 9223372036854775807. */
11515 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11516 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11517 && LARGE_OFF_T % 2147483647 == 1)
11527 if ac_fn_c_try_compile
"$LINENO"; then :
11528 ac_cv_sys_large_files
=no
; break
11530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11533 #define _LARGE_FILES 1
11534 #include <sys/types.h>
11535 /* Check that off_t can represent 2**63 - 1 correctly.
11536 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11537 since some C++ compilers masquerading as C compilers
11538 incorrectly reject 9223372036854775807. */
11539 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
11540 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11541 && LARGE_OFF_T % 2147483647 == 1)
11551 if ac_fn_c_try_compile
"$LINENO"; then :
11552 ac_cv_sys_large_files
=1; break
11554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11555 ac_cv_sys_large_files
=unknown
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11560 $as_echo "$ac_cv_sys_large_files" >&6; }
11561 case $ac_cv_sys_large_files in #(
11564 cat >>confdefs.h
<<_ACEOF
11565 #define _LARGE_FILES $ac_cv_sys_large_files
11577 # Check for needed/wanted data types
11578 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
11579 if test "x$ac_cv_type_int8_t" = xyes
; then :
11581 cat >>confdefs.h
<<_ACEOF
11582 #define HAVE_INT8_T 1
11587 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
11588 if test "x$ac_cv_type_int16_t" = xyes
; then :
11590 cat >>confdefs.h
<<_ACEOF
11591 #define HAVE_INT16_T 1
11596 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
11597 if test "x$ac_cv_type_int32_t" = xyes
; then :
11599 cat >>confdefs.h
<<_ACEOF
11600 #define HAVE_INT32_T 1
11605 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
11606 if test "x$ac_cv_type_int64_t" = xyes
; then :
11608 cat >>confdefs.h
<<_ACEOF
11609 #define HAVE_INT64_T 1
11614 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
11615 if test "x$ac_cv_type_intptr_t" = xyes
; then :
11617 cat >>confdefs.h
<<_ACEOF
11618 #define HAVE_INTPTR_T 1
11623 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
11624 if test "x$ac_cv_type_uint8_t" = xyes
; then :
11626 cat >>confdefs.h
<<_ACEOF
11627 #define HAVE_UINT8_T 1
11632 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
11633 if test "x$ac_cv_type_uint16_t" = xyes
; then :
11635 cat >>confdefs.h
<<_ACEOF
11636 #define HAVE_UINT16_T 1
11641 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
11642 if test "x$ac_cv_type_uint32_t" = xyes
; then :
11644 cat >>confdefs.h
<<_ACEOF
11645 #define HAVE_UINT32_T 1
11650 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
11651 if test "x$ac_cv_type_uint64_t" = xyes
; then :
11653 cat >>confdefs.h
<<_ACEOF
11654 #define HAVE_UINT64_T 1
11659 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
11660 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
11662 cat >>confdefs.h
<<_ACEOF
11663 #define HAVE_UINTPTR_T 1
11671 # Check for needed/wanted headers
11672 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
11674 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11675 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11676 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11677 cat >>confdefs.h
<<_ACEOF
11678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11687 # Figure out whether or not we have these functions
11689 for ac_func
in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul
usleep utime pread pread64 pwrite pwrite64
11691 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11692 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11693 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11694 cat >>confdefs.h
<<_ACEOF
11695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11703 # By default, we use the amalgamation (this may be changed below...)
11708 # See whether we can run specific tclsh versions known to work well;
11709 # if not, then we fall back to plain tclsh.
11710 # TODO: try other versions before falling back?
11712 for ac_prog
in tclsh8.7 tclsh8.6 tclsh8.5 tclsh
11714 # Extract the first word of "$ac_prog", so it can be a program name with args.
11715 set dummy
$ac_prog; ac_word
=$2
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11717 $as_echo_n "checking for $ac_word... " >&6; }
11718 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
11719 $as_echo_n "(cached) " >&6
11721 if test -n "$TCLSH_CMD"; then
11722 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
11724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11725 for as_dir
in $PATH
11728 test -z "$as_dir" && as_dir
=.
11729 for ac_exec_ext
in '' $ac_executable_extensions; do
11730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11731 ac_cv_prog_TCLSH_CMD
="$ac_prog"
11732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11741 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
11742 if test -n "$TCLSH_CMD"; then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
11744 $as_echo "$TCLSH_CMD" >&6; }
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11747 $as_echo "no" >&6; }
11751 test -n "$TCLSH_CMD" && break
11753 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
11755 if test "$TCLSH_CMD" = "none"; then
11756 # If we can't find a local tclsh, then building the amalgamation will fail.
11757 # We act as though --disable-amalgamation has been used.
11758 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
11765 if test "x${TCLLIBDIR+set}" != "xset" ; then
11766 TCLLIBDIR
='$(libdir)'
11767 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
11771 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
11775 # Set up an appropriate program prefix
11777 if test "$program_prefix" = "NONE"; then
11782 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
11784 $as_echo "$as_me: Version set to $VERSION" >&6;}
11786 RELEASE
=`cat $srcdir/VERSION`
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
11788 $as_echo "$as_me: Release set to $RELEASE" >&6;}
11790 VERSION_NUMBER
=`cat $srcdir/VERSION \
11791 | sed 's/[^0-9]/ /g' \
11792 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
11794 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
11798 # Locate a compiler for the build machine. This compiler should
11799 # generate command-line programs that run on the build machine.
11801 if test x
"$cross_compiling" = xno
; then
11803 BUILD_CFLAGS
=$CFLAGS
11805 if test "${BUILD_CC+set}" != set; then
11806 for ac_prog
in gcc cc cl
11808 # Extract the first word of "$ac_prog", so it can be a program name with args.
11809 set dummy
$ac_prog; ac_word
=$2
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11811 $as_echo_n "checking for $ac_word... " >&6; }
11812 if ${ac_cv_prog_BUILD_CC+:} false
; then :
11813 $as_echo_n "(cached) " >&6
11815 if test -n "$BUILD_CC"; then
11816 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
11818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11819 for as_dir
in $PATH
11822 test -z "$as_dir" && as_dir
=.
11823 for ac_exec_ext
in '' $ac_executable_extensions; do
11824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11825 ac_cv_prog_BUILD_CC
="$ac_prog"
11826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11835 BUILD_CC
=$ac_cv_prog_BUILD_CC
11836 if test -n "$BUILD_CC"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
11838 $as_echo "$BUILD_CC" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841 $as_echo "no" >&6; }
11845 test -n "$BUILD_CC" && break
11849 if test "${BUILD_CFLAGS+set}" != set; then
11856 # Do we want to support multithreaded use of sqlite
11858 # Check whether --enable-threadsafe was given.
11859 if test "${enable_threadsafe+set}" = set; then :
11860 enableval
=$enable_threadsafe;
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
11864 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
11865 if test "$enable_threadsafe" = "no"; then
11866 SQLITE_THREADSAFE
=0
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11870 SQLITE_THREADSAFE
=1
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11872 $as_echo "yes" >&6; }
11876 if test "$SQLITE_THREADSAFE" = "1"; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
11878 $as_echo_n "checking for library containing pthread_create... " >&6; }
11879 if ${ac_cv_search_pthread_create+:} false
; then :
11880 $as_echo_n "(cached) " >&6
11882 ac_func_search_save_LIBS
=$LIBS
11883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11892 char pthread_create ();
11896 return pthread_create ();
11901 for ac_lib
in '' pthread
; do
11902 if test -z "$ac_lib"; then
11903 ac_res
="none required"
11906 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11908 if ac_fn_c_try_link
"$LINENO"; then :
11909 ac_cv_search_pthread_create
=$ac_res
11911 rm -f core conftest.err conftest.
$ac_objext \
11913 if ${ac_cv_search_pthread_create+:} false
; then :
11917 if ${ac_cv_search_pthread_create+:} false
; then :
11920 ac_cv_search_pthread_create
=no
11922 rm conftest.
$ac_ext
11923 LIBS
=$ac_func_search_save_LIBS
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
11926 $as_echo "$ac_cv_search_pthread_create" >&6; }
11927 ac_res
=$ac_cv_search_pthread_create
11928 if test "$ac_res" != no
; then :
11929 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
11934 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
11935 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11936 $as_echo_n "(cached) " >&6
11938 ac_func_search_save_LIBS
=$LIBS
11939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11948 char pthread_mutexattr_init ();
11952 return pthread_mutexattr_init ();
11957 for ac_lib
in '' pthread
; do
11958 if test -z "$ac_lib"; then
11959 ac_res
="none required"
11962 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11964 if ac_fn_c_try_link
"$LINENO"; then :
11965 ac_cv_search_pthread_mutexattr_init
=$ac_res
11967 rm -f core conftest.err conftest.
$ac_objext \
11969 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11973 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11976 ac_cv_search_pthread_mutexattr_init
=no
11978 rm conftest.
$ac_ext
11979 LIBS
=$ac_func_search_save_LIBS
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
11982 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
11983 ac_res
=$ac_cv_search_pthread_mutexattr_init
11984 if test "$ac_res" != no
; then :
11985 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11992 # Which crypto library do we use
11995 # Check whether --with-crypto-lib was given.
11996 if test "${with_crypto_lib+set}" = set; then :
11997 withval
=$with_crypto_lib; crypto_lib
=$withval
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto library to use" >&5
12001 $as_echo_n "checking for crypto library to use... " >&6; }
12002 if test "$crypto_lib" = "none"; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
12004 $as_echo "none" >&6; }
12006 if test "$crypto_lib" = "commoncrypto"; then
12007 CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
12008 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: commoncrypto" >&5
12010 $as_echo "commoncrypto" >&6; }
12012 if test "$crypto_lib" = "libtomcrypt"; then
12013 CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
12014 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtomcrypt" >&5
12016 $as_echo "libtomcrypt" >&6; }
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
12018 $as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
12019 if ${ac_cv_lib_tomcrypt_register_cipher+:} false
; then :
12020 $as_echo_n "(cached) " >&6
12022 ac_check_lib_save_LIBS
=$LIBS
12023 LIBS
="-ltomcrypt $LIBS"
12024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12033 char register_cipher ();
12037 return register_cipher ();
12042 if ac_fn_c_try_link
"$LINENO"; then :
12043 ac_cv_lib_tomcrypt_register_cipher
=yes
12045 ac_cv_lib_tomcrypt_register_cipher
=no
12047 rm -f core conftest.err conftest.
$ac_objext \
12048 conftest
$ac_exeext conftest.
$ac_ext
12049 LIBS
=$ac_check_lib_save_LIBS
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
12052 $as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
12053 if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes
; then :
12054 cat >>confdefs.h
<<_ACEOF
12055 #define HAVE_LIBTOMCRYPT 1
12058 LIBS
="-ltomcrypt $LIBS"
12061 as_fn_error $?
"Library crypto not found. Install libtomcrypt!\"" "$LINENO" 5
12065 if test "$crypto_lib" = "nss"; then
12066 CFLAGS
+=" -DSQLCIPHER_CRYPTO_NSS"
12067 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_NSS"
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: nss3" >&5
12069 $as_echo "nss3" >&6; }
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PK11_Decrypt in -lnss3" >&5
12071 $as_echo_n "checking for PK11_Decrypt in -lnss3... " >&6; }
12072 if ${ac_cv_lib_nss3_PK11_Decrypt+:} false
; then :
12073 $as_echo_n "(cached) " >&6
12075 ac_check_lib_save_LIBS
=$LIBS
12076 LIBS
="-lnss3 $LIBS"
12077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 /* Override any GCC internal prototype to avoid an error.
12081 Use char because int might match the return type of a GCC
12082 builtin and then its argument prototype would still apply. */
12086 char PK11_Decrypt ();
12090 return PK11_Decrypt ();
12095 if ac_fn_c_try_link
"$LINENO"; then :
12096 ac_cv_lib_nss3_PK11_Decrypt
=yes
12098 ac_cv_lib_nss3_PK11_Decrypt
=no
12100 rm -f core conftest.err conftest.
$ac_objext \
12101 conftest
$ac_exeext conftest.
$ac_ext
12102 LIBS
=$ac_check_lib_save_LIBS
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_PK11_Decrypt" >&5
12105 $as_echo "$ac_cv_lib_nss3_PK11_Decrypt" >&6; }
12106 if test "x$ac_cv_lib_nss3_PK11_Decrypt" = xyes
; then :
12107 cat >>confdefs.h
<<_ACEOF
12108 #define HAVE_LIBNSS3 1
12111 LIBS
="-lnss3 $LIBS"
12114 as_fn_error $?
"Library crypto not found. Install nss!\"" "$LINENO" 5
12118 CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12119 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: openssl" >&5
12121 $as_echo "openssl" >&6; }
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
12123 $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
12124 if ${ac_cv_lib_crypto_HMAC_Init_ex+:} false
; then :
12125 $as_echo_n "(cached) " >&6
12127 ac_check_lib_save_LIBS
=$LIBS
12128 LIBS
="-lcrypto $LIBS"
12129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12138 char HMAC_Init_ex ();
12142 return HMAC_Init_ex ();
12147 if ac_fn_c_try_link
"$LINENO"; then :
12148 ac_cv_lib_crypto_HMAC_Init_ex
=yes
12150 ac_cv_lib_crypto_HMAC_Init_ex
=no
12152 rm -f core conftest.err conftest.
$ac_objext \
12153 conftest
$ac_exeext conftest.
$ac_ext
12154 LIBS
=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
12157 $as_echo "$ac_cv_lib_crypto_HMAC_Init_ex" >&6; }
12158 if test "x$ac_cv_lib_crypto_HMAC_Init_ex" = xyes
; then :
12159 cat >>confdefs.h
<<_ACEOF
12160 #define HAVE_LIBCRYPTO 1
12163 LIBS
="-lcrypto $LIBS"
12166 as_fn_error $?
"Library crypto not found. Install openssl!\"" "$LINENO" 5
12175 # Do we want to allow a connection created in one thread to be used
12176 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
12177 # due to bugs in the threading implementations. This is thus off by default.
12179 # Check whether --enable-cross-thread-connections was given.
12180 if test "${enable_cross_thread_connections+set}" = set; then :
12181 enableval
=$enable_cross_thread_connections;
12183 enable_xthreadconnect
=no
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to allow connections to be shared across threads" >&5
12187 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12188 if test "$enable_xthreadconnect" = "no"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12193 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12195 $as_echo "yes" >&6; }
12200 # Do we want to support release
12202 # Check whether --enable-releasemode was given.
12203 if test "${enable_releasemode+set}" = set; then :
12204 enableval
=$enable_releasemode;
12206 enable_releasemode
=no
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
12210 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12211 if test "$enable_releasemode" = "no"; then
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12214 $as_echo "no" >&6; }
12216 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12218 $as_echo "yes" >&6; }
12223 # Do we want temporary databases in memory
12225 # Check whether --enable-tempstore was given.
12226 if test "${enable_tempstore+set}" = set; then :
12227 enableval
=$enable_tempstore;
12229 enable_tempstore
=no
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
12233 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12234 case "$enable_tempstore" in
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
12238 $as_echo "never" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12243 $as_echo "no" >&6; }
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12248 $as_echo "yes" >&6; }
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
12253 $as_echo "always" >&6; }
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12258 $as_echo "no" >&6; }
12265 # Lots of things are different if we are compiling for Windows using
12266 # the CYGWIN environment. So check for that special case and handle
12267 # things accordingly.
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
12270 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12271 if test "$config_BUILD_EXEEXT" = ".exe"; then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12274 $as_echo "yes" >&6; }
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
12277 $as_echo "unknown" >&6; }
12279 if test "$CYGWIN" != "yes"; then
12282 *cygwin
* ) CYGWIN
=yes;;
12287 if test "$CYGWIN" = "yes"; then
12290 BUILD_EXEEXT
=$EXEEXT
12292 if test x
"$cross_compiling" = xno
; then
12293 TARGET_EXEEXT
=$BUILD_EXEEXT
12295 TARGET_EXEEXT
=$config_TARGET_EXEEXT
12297 if test "$TARGET_EXEEXT" = ".exe"; then
12300 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
12304 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
12313 # Figure out all the parameters needed to compile against Tcl.
12315 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12316 # macros in the in the tcl.m4 file of the standard TCL distribution.
12317 # Those macros could not be used directly since we have to make some
12318 # minor changes to accomodate systems that do not have TCL installed.
12320 # Check whether --enable-tcl was given.
12321 if test "${enable_tcl+set}" = set; then :
12322 enableval
=$enable_tcl; use_tcl
=$enableval
12327 if test "${use_tcl}" = "yes" ; then
12329 # Check whether --with-tcl was given.
12330 if test "${with_tcl+set}" = set; then :
12331 withval
=$with_tcl; with_tclconfig
=${withval}
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
12335 $as_echo_n "checking for Tcl configuration... " >&6; }
12336 if ${ac_cv_c_tclconfig+:} false
; then :
12337 $as_echo_n "(cached) " >&6
12340 # First check to see if --with-tcl was specified.
12341 if test x
"${with_tclconfig}" != x
; then
12342 if test -f "${with_tclconfig}/tclConfig.sh" ; then
12343 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
12345 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
12349 # Start autosearch by asking tclsh
12350 if test x
"${ac_cv_c_tclconfig}" = x
; then
12351 if test x
"$cross_compiling" = xno
; then
12352 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12354 if test -f "$i/tclConfig.sh" ; then
12355 ac_cv_c_tclconfig
="$i"
12362 # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
12363 # So try again after applying corrections.
12364 if test x
"${ac_cv_c_tclconfig}" = x
; then
12365 if test x
"$cross_compiling" = xno
; then
12366 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
12368 if test -f "$i/tclConfig.sh" ; then
12369 ac_cv_c_tclconfig
="$i"
12376 # Recent versions of Xcode on Macs hid the tclConfig.sh file
12377 # in a strange place.
12378 if test x
"${ac_cv_c_tclconfig}" = x
; then
12379 if test x
"$cross_compiling" = xno
; then
12380 for i
in /Applications
/Xcode.app
/Contents
/Developer
/Platforms
/MacOSX.platform
/Developer
/SDKs
/MacOSX
*.sdk
/usr
/lib
12382 if test -f "$i/tclConfig.sh" ; then
12383 ac_cv_c_tclconfig
="$i"
12390 # then check for a private Tcl installation
12391 if test x
"${ac_cv_c_tclconfig}" = x
; then
12394 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12395 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12396 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12398 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12399 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12400 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12402 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12403 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12404 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12406 if test -f "$i/unix/tclConfig.sh" ; then
12407 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12413 # check in a few common install locations
12414 if test x
"${ac_cv_c_tclconfig}" = x
; then
12416 `ls -d ${libdir} 2>/dev/null` \
12417 `ls -d /usr/local/lib 2>/dev/null` \
12418 `ls -d /usr/contrib/lib 2>/dev/null` \
12419 `ls -d /usr/lib 2>/dev/null`
12421 if test -f "$i/tclConfig.sh" ; then
12422 ac_cv_c_tclconfig
=`(cd $i; pwd)`
12428 # check in a few other private locations
12429 if test x
"${ac_cv_c_tclconfig}" = x
; then
12432 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12433 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12434 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12436 if test -f "$i/unix/tclConfig.sh" ; then
12437 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12446 if test x
"${ac_cv_c_tclconfig}" = x
; then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
12449 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12451 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12453 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12455 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12457 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12460 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12461 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
12463 $as_echo "loading" >&6; }
12464 .
$TCL_BIN_DIR/tclConfig.sh
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
12467 $as_echo "file not found" >&6; }
12471 # If the TCL_BIN_DIR is the build directory (not the install directory),
12472 # then set the common variable name to the value of the build variables.
12473 # For example, the variable TCL_LIB_SPEC will be set to the value
12474 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12475 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12476 # installed and uninstalled version of Tcl.
12479 if test -f $TCL_BIN_DIR/Makefile
; then
12480 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
12481 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
12482 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
12486 # eval is required to do the TCL_DBGX substitution
12489 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12490 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12491 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12493 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12494 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12495 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12512 if test "${use_tcl}" = "no" ; then
12520 # Figure out what C libraries are required to compile programs
12521 # that use "readline()" library.
12523 TARGET_READLINE_LIBS
=""
12524 TARGET_READLINE_INC
=""
12525 TARGET_HAVE_READLINE
=0
12526 TARGET_HAVE_EDITLINE
=0
12527 # Check whether --enable-editline was given.
12528 if test "${enable_editline+set}" = set; then :
12529 enableval
=$enable_editline; with_editline
=$enableval
12534 # Check whether --enable-readline was given.
12535 if test "${enable_readline+set}" = set; then :
12536 enableval
=$enable_readline; with_readline
=$enableval
12542 if test x
"$with_editline" != xno
; then
12545 TARGET_HAVE_EDITLINE
=1
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
12547 $as_echo_n "checking for library containing readline... " >&6; }
12548 if ${ac_cv_search_readline+:} false
; then :
12549 $as_echo_n "(cached) " >&6
12551 ac_func_search_save_LIBS
=$LIBS
12552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12555 /* Override any GCC internal prototype to avoid an error.
12556 Use char because int might match the return type of a GCC
12557 builtin and then its argument prototype would still apply. */
12565 return readline ();
12570 for ac_lib
in '' edit
; do
12571 if test -z "$ac_lib"; then
12572 ac_res
="none required"
12575 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12577 if ac_fn_c_try_link
"$LINENO"; then :
12578 ac_cv_search_readline
=$ac_res
12580 rm -f core conftest.err conftest.
$ac_objext \
12582 if ${ac_cv_search_readline+:} false
; then :
12586 if ${ac_cv_search_readline+:} false
; then :
12589 ac_cv_search_readline
=no
12591 rm conftest.
$ac_ext
12592 LIBS
=$ac_func_search_save_LIBS
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
12595 $as_echo "$ac_cv_search_readline" >&6; }
12596 ac_res
=$ac_cv_search_readline
12597 if test "$ac_res" != no
; then :
12598 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12601 TARGET_HAVE_EDITLINE
=0
12604 TARGET_READLINE_LIBS
=$LIBS
12607 if test x
"$with_readline" != xno
; then
12611 # Check whether --with-readline-lib was given.
12612 if test "${with_readline_lib+set}" = set; then :
12613 withval
=$with_readline_lib; with_readline_lib
=$withval
12615 with_readline_lib
="auto"
12618 if test "x$with_readline_lib" = xauto
; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
12622 $as_echo_n "checking for library containing tgetent... " >&6; }
12623 if ${ac_cv_search_tgetent+:} false
; then :
12624 $as_echo_n "(cached) " >&6
12626 ac_func_search_save_LIBS
=$LIBS
12627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12630 /* Override any GCC internal prototype to avoid an error.
12631 Use char because int might match the return type of a GCC
12632 builtin and then its argument prototype would still apply. */
12645 for ac_lib
in '' readline ncurses curses termcap
; do
12646 if test -z "$ac_lib"; then
12647 ac_res
="none required"
12650 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12652 if ac_fn_c_try_link
"$LINENO"; then :
12653 ac_cv_search_tgetent
=$ac_res
12655 rm -f core conftest.err conftest.
$ac_objext \
12657 if ${ac_cv_search_tgetent+:} false
; then :
12661 if ${ac_cv_search_tgetent+:} false
; then :
12664 ac_cv_search_tgetent
=no
12666 rm conftest.
$ac_ext
12667 LIBS
=$ac_func_search_save_LIBS
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
12670 $as_echo "$ac_cv_search_tgetent" >&6; }
12671 ac_res
=$ac_cv_search_tgetent
12672 if test "$ac_res" != no
; then :
12673 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
12680 $as_echo_n "checking for readline in -lreadline... " >&6; }
12681 if ${ac_cv_lib_readline_readline+:} false
; then :
12682 $as_echo_n "(cached) " >&6
12684 ac_check_lib_save_LIBS
=$LIBS
12685 LIBS
="-lreadline $LIBS"
12686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12699 return readline ();
12704 if ac_fn_c_try_link
"$LINENO"; then :
12705 ac_cv_lib_readline_readline
=yes
12707 ac_cv_lib_readline_readline
=no
12709 rm -f core conftest.err conftest.
$ac_objext \
12710 conftest
$ac_exeext conftest.
$ac_ext
12711 LIBS
=$ac_check_lib_save_LIBS
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
12714 $as_echo "$ac_cv_lib_readline_readline" >&6; }
12715 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
12716 TARGET_READLINE_LIBS
="-lreadline"
12721 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
12724 TARGET_READLINE_LIBS
="$with_readline_lib"
12728 # Check whether --with-readline-inc was given.
12729 if test "${with_readline_inc+set}" = set; then :
12730 withval
=$with_readline_inc; with_readline_inc
=$withval
12732 with_readline_inc
="auto"
12735 if test "x$with_readline_inc" = xauto
; then
12736 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
12737 if test "x$ac_cv_header_readline_h" = xyes
; then :
12742 if test "$cross_compiling" != yes; then
12743 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
12744 for subdir
in include include
/readline
; do
12745 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
12747 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
12748 if eval \
${$as_ac_File+:} false
; then :
12749 $as_echo_n "(cached) " >&6
12751 test "$cross_compiling" = yes &&
12752 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
12753 if test -r "$dir/$subdir/readline.h"; then
12754 eval "$as_ac_File=yes"
12756 eval "$as_ac_File=no"
12759 eval ac_res
=\$
$as_ac_File
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12761 $as_echo "$ac_res" >&6; }
12762 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
12766 if test "$found" = "yes"; then
12767 TARGET_READLINE_INC
="-I$dir/$subdir"
12771 test "$found" = "yes" && break
12779 TARGET_READLINE_INC
="$with_readline_inc"
12782 if test x
"$found" = xno
; then
12783 TARGET_READLINE_LIBS
=""
12784 TARGET_READLINE_INC
=""
12785 TARGET_HAVE_READLINE
=0
12787 TARGET_HAVE_READLINE
=1
12797 # Figure out what C libraries are required to compile programs
12798 # that use "fdatasync()" function.
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
12801 $as_echo_n "checking for library containing fdatasync... " >&6; }
12802 if ${ac_cv_search_fdatasync+:} false
; then :
12803 $as_echo_n "(cached) " >&6
12805 ac_func_search_save_LIBS
=$LIBS
12806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12809 /* Override any GCC internal prototype to avoid an error.
12810 Use char because int might match the return type of a GCC
12811 builtin and then its argument prototype would still apply. */
12819 return fdatasync ();
12824 for ac_lib
in '' rt
; do
12825 if test -z "$ac_lib"; then
12826 ac_res
="none required"
12829 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12831 if ac_fn_c_try_link
"$LINENO"; then :
12832 ac_cv_search_fdatasync
=$ac_res
12834 rm -f core conftest.err conftest.
$ac_objext \
12836 if ${ac_cv_search_fdatasync+:} false
; then :
12840 if ${ac_cv_search_fdatasync+:} false
; then :
12843 ac_cv_search_fdatasync
=no
12845 rm conftest.
$ac_ext
12846 LIBS
=$ac_func_search_save_LIBS
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
12849 $as_echo "$ac_cv_search_fdatasync" >&6; }
12850 ac_res
=$ac_cv_search_fdatasync
12851 if test "$ac_res" != no
; then :
12852 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12858 # check for debug enabled
12859 # Check whether --enable-debug was given.
12860 if test "${enable_debug+set}" = set; then :
12861 enableval
=$enable_debug;
12864 if test "${enable_debug}" = "yes" ; then
12865 TARGET_DEBUG
="-DSQLITE_DEBUG=1 -DSQLITE_ENABLE_SELECTTRACE -DSQLITE_ENABLE_WHERETRACE -O0"
12867 TARGET_DEBUG
="-DNDEBUG"
12872 # See whether we should use the amalgamation to build
12873 # Check whether --enable-amalgamation was given.
12874 if test "${enable_amalgamation+set}" = set; then :
12875 enableval
=$enable_amalgamation;
12878 if test "${enable_amalgamation}" = "no" ; then
12884 # Look for zlib. Only needed by extensions and by the sqlite3.exe shell
12885 for ac_header
in zlib.h
12887 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12888 if test "x$ac_cv_header_zlib_h" = xyes
; then :
12889 cat >>confdefs.h
<<_ACEOF
12890 #define HAVE_ZLIB_H 1
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5
12898 $as_echo_n "checking for library containing deflate... " >&6; }
12899 if ${ac_cv_search_deflate+:} false
; then :
12900 $as_echo_n "(cached) " >&6
12902 ac_func_search_save_LIBS
=$LIBS
12903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12921 for ac_lib
in '' z
; do
12922 if test -z "$ac_lib"; then
12923 ac_res
="none required"
12926 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12928 if ac_fn_c_try_link
"$LINENO"; then :
12929 ac_cv_search_deflate
=$ac_res
12931 rm -f core conftest.err conftest.
$ac_objext \
12933 if ${ac_cv_search_deflate+:} false
; then :
12937 if ${ac_cv_search_deflate+:} false
; then :
12940 ac_cv_search_deflate
=no
12942 rm conftest.
$ac_ext
12943 LIBS
=$ac_func_search_save_LIBS
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5
12946 $as_echo "$ac_cv_search_deflate" >&6; }
12947 ac_res
=$ac_cv_search_deflate
12948 if test "$ac_res" != no
; then :
12949 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12950 HAVE_ZLIB
="-DSQLITE_HAVE_ZLIB=1"
12958 # See whether we should allow loadable extensions
12959 # Check whether --enable-load-extension was given.
12960 if test "${enable_load_extension+set}" = set; then :
12961 enableval
=$enable_load_extension;
12963 enable_load_extension
=yes
12966 if test "${enable_load_extension}" = "yes" ; then
12967 OPT_FEATURE_FLAGS
=""
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12969 $as_echo_n "checking for library containing dlopen... " >&6; }
12970 if ${ac_cv_search_dlopen+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 ac_func_search_save_LIBS
=$LIBS
12974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 /* Override any GCC internal prototype to avoid an error.
12978 Use char because int might match the return type of a GCC
12979 builtin and then its argument prototype would still apply. */
12992 for ac_lib
in '' dl
; do
12993 if test -z "$ac_lib"; then
12994 ac_res
="none required"
12997 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12999 if ac_fn_c_try_link
"$LINENO"; then :
13000 ac_cv_search_dlopen
=$ac_res
13002 rm -f core conftest.err conftest.
$ac_objext \
13004 if ${ac_cv_search_dlopen+:} false
; then :
13008 if ${ac_cv_search_dlopen+:} false
; then :
13011 ac_cv_search_dlopen
=no
13013 rm conftest.
$ac_ext
13014 LIBS
=$ac_func_search_save_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13017 $as_echo "$ac_cv_search_dlopen" >&6; }
13018 ac_res
=$ac_cv_search_dlopen
13019 if test "$ac_res" != no
; then :
13020 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13025 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
13029 # Do we want to support memsys3 and/or memsys5
13031 # Check whether --enable-memsys5 was given.
13032 if test "${enable_memsys5+set}" = set; then :
13033 enableval
=$enable_memsys5;
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS5" >&5
13037 $as_echo_n "checking whether to support MEMSYS5... " >&6; }
13038 if test "${enable_memsys5}" = "yes"; then
13039 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS5"
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13041 $as_echo "yes" >&6; }
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13044 $as_echo "no" >&6; }
13046 # Check whether --enable-memsys3 was given.
13047 if test "${enable_memsys3+set}" = set; then :
13048 enableval
=$enable_memsys3;
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS3" >&5
13052 $as_echo_n "checking whether to support MEMSYS3... " >&6; }
13053 if test "${enable_memsys3}" = "yes" -a "${enable_memsys5}" = "no"; then
13054 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS3"
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13056 $as_echo "yes" >&6; }
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13059 $as_echo "no" >&6; }
13063 # The --enable-extensions argument is short-hand to enable
13064 # multiple extensions.
13065 # Check whether --enable-all was given.
13066 if test "${enable_all+set}" = set; then :
13067 enableval
=$enable_all;
13072 # See whether we should enable Full Text Search extensions
13073 # Check whether --enable-fts3 was given.
13074 if test "${enable_fts3+set}" = set; then :
13075 enableval
=$enable_fts3;
13078 if test "${enable_fts3}" = "yes" ; then
13079 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS3"
13081 # Check whether --enable-fts4 was given.
13082 if test "${enable_fts4+set}" = set; then :
13083 enableval
=$enable_fts4;
13086 if test "${enable_fts4}" = "yes" -o "${enable_all}" = "yes" ; then
13087 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS4"
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
13089 $as_echo_n "checking for library containing log... " >&6; }
13090 if ${ac_cv_search_log+:} false
; then :
13091 $as_echo_n "(cached) " >&6
13093 ac_func_search_save_LIBS
=$LIBS
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13097 /* Override any GCC internal prototype to avoid an error.
13098 Use char because int might match the return type of a GCC
13099 builtin and then its argument prototype would still apply. */
13112 for ac_lib
in '' m
; do
13113 if test -z "$ac_lib"; then
13114 ac_res
="none required"
13117 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13119 if ac_fn_c_try_link
"$LINENO"; then :
13120 ac_cv_search_log
=$ac_res
13122 rm -f core conftest.err conftest.
$ac_objext \
13124 if ${ac_cv_search_log+:} false
; then :
13128 if ${ac_cv_search_log+:} false
; then :
13131 ac_cv_search_log
=no
13133 rm conftest.
$ac_ext
13134 LIBS
=$ac_func_search_save_LIBS
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13137 $as_echo "$ac_cv_search_log" >&6; }
13138 ac_res
=$ac_cv_search_log
13139 if test "$ac_res" != no
; then :
13140 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13145 # Check whether --enable-fts5 was given.
13146 if test "${enable_fts5+set}" = set; then :
13147 enableval
=$enable_fts5;
13150 if test "${enable_fts5}" = "yes" -o "${enable_all}" = "yes" ; then
13151 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS5"
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
13153 $as_echo_n "checking for library containing log... " >&6; }
13154 if ${ac_cv_search_log+:} false
; then :
13155 $as_echo_n "(cached) " >&6
13157 ac_func_search_save_LIBS
=$LIBS
13158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13161 /* Override any GCC internal prototype to avoid an error.
13162 Use char because int might match the return type of a GCC
13163 builtin and then its argument prototype would still apply. */
13176 for ac_lib
in '' m
; do
13177 if test -z "$ac_lib"; then
13178 ac_res
="none required"
13181 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13183 if ac_fn_c_try_link
"$LINENO"; then :
13184 ac_cv_search_log
=$ac_res
13186 rm -f core conftest.err conftest.
$ac_objext \
13188 if ${ac_cv_search_log+:} false
; then :
13192 if ${ac_cv_search_log+:} false
; then :
13195 ac_cv_search_log
=no
13197 rm conftest.
$ac_ext
13198 LIBS
=$ac_func_search_save_LIBS
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13201 $as_echo "$ac_cv_search_log" >&6; }
13202 ac_res
=$ac_cv_search_log
13203 if test "$ac_res" != no
; then :
13204 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13211 # See whether we should enable JSON1
13212 # Check whether --enable-json1 was given.
13213 if test "${enable_json1+set}" = set; then :
13214 enableval
=$enable_json1;
13217 if test "${enable_json1}" = "yes" -o "${enable_all}" = "yes" ; then
13218 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_JSON1"
13222 # See whether we should enable the LIMIT clause on UPDATE and DELETE
13224 # Check whether --enable-update-limit was given.
13225 if test "${enable_update_limit+set}" = set; then :
13226 enableval
=$enable_update_limit;
13229 if test "${enable_update_limit}" = "yes" ; then
13230 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT"
13234 # See whether we should enable GEOPOLY
13235 # Check whether --enable-geopoly was given.
13236 if test "${enable_geopoly+set}" = set; then :
13237 enableval
=$enable_geopoly; enable_geopoly
=yes
13242 if test "${enable_geopoly}" = "yes" -o "${enable_all}" = "yes" ; then
13243 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_GEOPOLY"
13248 # See whether we should enable RTREE
13249 # Check whether --enable-rtree was given.
13250 if test "${enable_rtree+set}" = set; then :
13251 enableval
=$enable_rtree;
13254 if test "${enable_rtree}" = "yes" ; then
13255 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_RTREE"
13259 # See whether we should enable the SESSION extension
13260 # Check whether --enable-session was given.
13261 if test "${enable_session+set}" = set; then :
13262 enableval
=$enable_session;
13265 if test "${enable_session}" = "yes" -o "${enable_all}" = "yes" ; then
13266 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_SESSION"
13267 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_PREUPDATE_HOOK"
13271 # attempt to duplicate any OMITS and ENABLES into the ${OPT_FEATURE_FLAGS} parameter
13272 for option
in $CFLAGS $CPPFLAGS
13275 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13276 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13282 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13284 for option
in $CFLAGS
13288 -DSQLITE_ENABLE*) ;;
13289 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
13292 CFLAGS
=$ac_temp_CFLAGS
13295 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13296 ac_temp_CPPFLAGS
=""
13297 for option
in $CPPFLAGS
13301 -DSQLITE_ENABLE*) ;;
13302 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
13305 CPPFLAGS
=$ac_temp_CPPFLAGS
13308 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13309 ac_temp_BUILD_CFLAGS
=""
13310 for option
in $BUILD_CFLAGS
13314 -DSQLITE_ENABLE*) ;;
13315 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
13318 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
13322 # See whether we should use GCOV
13323 # Check whether --enable-gcov was given.
13324 if test "${enable_gcov+set}" = set; then :
13325 enableval
=$enable_gcov;
13328 if test "${use_gcov}" = "yes" ; then
13337 # Output the config header
13338 ac_config_headers
="$ac_config_headers config.h"
13342 # Generate the output files.
13345 ac_config_files
="$ac_config_files Makefile sqlcipher.pc"
13347 cat >confcache
<<\_ACEOF
13348 # This file is a shell script that caches the results of configure
13349 # tests run on this system so they can be shared between configure
13350 # scripts and configure runs, see configure's option --config-cache.
13351 # It is not useful on other systems. If it contains results you don't
13352 # want to keep, you may remove or edit it.
13354 # config.status only pays attention to the cache file if you give it
13355 # the --recheck option to rerun configure.
13357 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13358 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13359 # following values.
13363 # The following way of writing the cache mishandles newlines in values,
13364 # but we know of no workaround that is simple, portable, and efficient.
13365 # So, we kill variables containing newlines.
13366 # Ultrix sh set writes to stderr and can't be redirected directly,
13367 # and sets the high bit in the cache file unless we assign to the vars.
13369 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13370 eval ac_val
=\$
$ac_var
13374 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13375 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13378 _ | IFS | as_nl
) ;; #(
13379 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13380 *) { eval $ac_var=; unset $ac_var;} ;;
13386 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13387 *${as_nl}ac_space
=\
*)
13388 # `set' does not quote correctly, so add quotes: double-quote
13389 # substitution turns \\\\ into \\, and sed turns \\ into \.
13392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13395 # `set' quotes correctly as required by POSIX, so do not add quotes.
13396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13407 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13409 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13410 if test -w "$cache_file"; then
13411 if test "x$cache_file" != "x/dev/null"; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13413 $as_echo "$as_me: updating cache $cache_file" >&6;}
13414 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13415 cat confcache
>"$cache_file"
13417 case $cache_file in #(
13419 mv -f confcache
"$cache_file"$$
&&
13420 mv -f "$cache_file"$$
"$cache_file" ;; #(
13422 mv -f confcache
"$cache_file" ;;
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13428 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13433 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13434 # Let make expand exec_prefix.
13435 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13437 DEFS
=-DHAVE_CONFIG_H
13442 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13443 # 1. Remove the extension, and $U if already installed.
13444 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13445 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13447 # will be set to the directory where LIBOBJS objects are built.
13448 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13449 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13451 LIBOBJS
=$ac_libobjs
13453 LTLIBOBJS
=$ac_ltlibobjs
13457 : "${CONFIG_STATUS=./config.status}"
13459 ac_clean_files_save
=$ac_clean_files
13460 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13466 # Generated by $as_me.
13467 # Run this file to recreate the current configuration.
13468 # Compiler output produced by configure, useful for debugging
13469 # configure, is in config.log if it exists.
13472 ac_cs_recheck=false
13475 SHELL=\${CONFIG_SHELL-$SHELL}
13478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13479 ## -------------------- ##
13480 ## M4sh Initialization. ##
13481 ## -------------------- ##
13483 # Be more Bourne compatible
13484 DUALCASE
=1; export DUALCASE
# for MKS sh
13485 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13489 # is contrary to our usage. Disable this feature.
13490 alias -g '${1+"$@"}'='"$@"'
13491 setopt NO_GLOB_SUBST
13493 case `(set -o) 2>/dev/null` in #(
13505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13506 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13509 # Prefer a ksh shell builtin over an external printf program on Solaris,
13510 # but without wasting forks for bash or zsh.
13511 if test -z "$BASH_VERSION$ZSH_VERSION" \
13512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13513 as_echo='print
-r --'
13514 as_echo_n='print
-rn --'
13515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13516 as_echo='printf %s
\n'
13517 as_echo_n='printf %s
'
13519 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13520 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13521 as_echo_n='/usr
/ucb
/echo -n'
13523 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13524 as_echo_n_body='eval
13528 expr "X$arg" : "X\\(.*\\)$as_nl";
13529 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13531 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13533 export as_echo_n_body
13534 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13536 export as_echo_body
13537 as_echo='sh
-c $as_echo_body as_echo
'
13540 # The user is always right.
13541 if test "${PATH_SEPARATOR+set}" != set; then
13543 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13544 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13551 # We need space, tab and new line, in precisely that order. Quoting is
13552 # there to prevent editors from complaining about space-tab.
13553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13554 # splitting by setting IFS to empty value.)
13557 # Find who we are. Look in the path if we contain no directory separator.
13560 *[\\/]* ) as_myself=$0 ;;
13561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13562 for as_dir in $PATH
13565 test -z "$as_dir" && as_dir=.
13566 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13572 # We did not find ourselves, most probably we were run as `sh COMMAND'
13573 # in which case we are not to be found in the path.
13574 if test "x$as_myself" = x
; then
13577 if test ! -f "$as_myself"; then
13578 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13582 # Unset variables that we do not need and which cause bugs (e.g. in
13583 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13584 # suppresses any "Segmentation fault" message there. '((' could
13585 # trigger a bug in pdksh 5.2.14.
13586 for as_var
in BASH_ENV ENV MAIL MAILPATH
13587 do eval test x\
${$as_var+set} = xset \
13588 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13601 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13604 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13605 # ----------------------------------------
13606 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13607 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13608 # script with STATUS, using 1 if that was 0.
13611 as_status
=$1; test $as_status -eq 0 && as_status
=1
13613 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13614 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13616 $as_echo "$as_me: error: $2" >&2
13617 as_fn_exit
$as_status
13621 # as_fn_set_status STATUS
13622 # -----------------------
13623 # Set $? to STATUS, without forking.
13624 as_fn_set_status
()
13627 } # as_fn_set_status
13629 # as_fn_exit STATUS
13630 # -----------------
13631 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13635 as_fn_set_status
$1
13641 # Portably unset VAR.
13644 { eval $1=; unset $1;}
13646 as_unset
=as_fn_unset
13647 # as_fn_append VAR VALUE
13648 # ----------------------
13649 # Append the text in VALUE to the end of the definition contained in VAR. Take
13650 # advantage of any shell optimizations that allow amortized linear growth over
13651 # repeated appends, instead of the typical quadratic growth present in naive
13653 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13654 eval 'as_fn_append ()
13665 # as_fn_arith ARG...
13666 # ------------------
13667 # Perform arithmetic evaluation on the ARGs, and store the result in the
13668 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13669 # must be portable across $(()) and expr.
13670 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13671 eval 'as_fn_arith ()
13678 as_val
=`expr "$@" || test $? -eq 1`
13683 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13684 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13690 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13691 as_basename
=basename
13696 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13702 as_me
=`$as_basename -- "$0" ||
13703 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13704 X"$0" : 'X\(//\)$' \| \
13705 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13707 sed '/^.*\/\([^/][^/]*\)\/*$/{
13721 # Avoid depending upon Character Ranges.
13722 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13723 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13724 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13725 as_cr_digits
='0123456789'
13726 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13728 ECHO_C
= ECHO_N
= ECHO_T
=
13729 case `echo -n x` in #(((((
13731 case `echo 'xy\c'` in
13732 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13734 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13741 rm -f conf$$ conf$$.exe conf$$.
file
13742 if test -d conf$$.dir
; then
13743 rm -f conf$$.dir
/conf$$.
file
13746 mkdir conf$$.dir
2>/dev
/null
13748 if (echo >conf$$.
file) 2>/dev
/null
; then
13749 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13751 # ... but there are two gotchas:
13752 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13753 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13754 # In both cases, we have to default to `cp -pR'.
13755 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13757 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13765 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13766 rmdir conf$$.dir
2>/dev
/null
13771 # Create "$as_dir" as a directory, including parents if necessary.
13776 -*) as_dir
=.
/$as_dir;;
13778 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13782 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13783 *) as_qdir
=$as_dir;;
13785 as_dirs
="'$as_qdir' $as_dirs"
13786 as_dir
=`$as_dirname -- "$as_dir" ||
13787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13788 X"$as_dir" : 'X\(//\)[^/]' \| \
13789 X"$as_dir" : 'X\(//\)$' \| \
13790 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13791 $as_echo X"$as_dir" |
13792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13796 /^X\(\/\/\)[^/].*/{
13809 test -d "$as_dir" && break
13811 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13812 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13816 if mkdir
-p .
2>/dev
/null
; then
13817 as_mkdir_p
='mkdir -p "$as_dir"'
13819 test -d .
/-p && rmdir .
/-p
13824 # as_fn_executable_p FILE
13825 # -----------------------
13826 # Test if FILE is an executable regular file.
13827 as_fn_executable_p
()
13829 test -f "$1" && test -x "$1"
13830 } # as_fn_executable_p
13831 as_test_x
='test -x'
13832 as_executable_p
=as_fn_executable_p
13834 # Sed expression to map a string onto a valid CPP name.
13835 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13837 # Sed expression to map a string onto a valid variable name.
13838 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13842 ## ----------------------------------- ##
13843 ## Main body of $CONFIG_STATUS script. ##
13844 ## ----------------------------------- ##
13846 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13849 # Save the log message, to keep $0 and so on meaningful, and to
13850 # report actual input values of CONFIG_FILES etc. instead of their
13851 # values after options handling.
13853 This file was extended by sqlcipher $as_me 3.33.0, which was
13854 generated by GNU Autoconf 2.69. Invocation command line was
13856 CONFIG_FILES = $CONFIG_FILES
13857 CONFIG_HEADERS = $CONFIG_HEADERS
13858 CONFIG_LINKS = $CONFIG_LINKS
13859 CONFIG_COMMANDS = $CONFIG_COMMANDS
13862 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13867 case $ac_config_files in *"
13868 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13871 case $ac_config_headers in *"
13872 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13877 # Files that config.status was made for.
13878 config_files="$ac_config_files"
13879 config_headers="$ac_config_headers"
13880 config_commands="$ac_config_commands"
13884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13886 \`$as_me' instantiates files and other configuration actions
13887 from templates according to the current configuration. Unless the files
13888 and actions are specified as TAGs, all are instantiated by default.
13890 Usage: $0 [OPTION]... [TAG]...
13892 -h, --help print this help, then exit
13893 -V, --version print version number and configuration settings, then exit
13894 --config print configuration, then exit
13895 -q, --quiet, --silent
13896 do not print progress messages
13897 -d, --debug don't remove temporary files
13898 --recheck update $as_me by reconfiguring in the same conditions
13899 --file=FILE[:TEMPLATE]
13900 instantiate the configuration file FILE
13901 --header=FILE[:TEMPLATE]
13902 instantiate the configuration header FILE
13904 Configuration files:
13907 Configuration headers:
13910 Configuration commands:
13913 Report bugs to the package provider."
13916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13917 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13919 sqlcipher config.status 3.33.0
13920 configured by $0, generated by GNU Autoconf 2.69,
13921 with options \\"\$ac_cs_config\\"
13923 Copyright (C) 2012 Free Software Foundation, Inc.
13924 This config.status script is free software; the Free Software Foundation
13925 gives unlimited permission to copy, distribute and modify it."
13931 test -n "\$AWK" || AWK=awk
13934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13935 # The default lists apply if the user does not specify any file.
13941 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13942 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13946 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13958 # Handling of the options.
13959 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13961 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13962 $as_echo "$ac_cs_version"; exit ;;
13963 --config |
--confi |
--conf |
--con |
--co |
--c )
13964 $as_echo "$ac_cs_config"; exit ;;
13965 --debug |
--debu |
--deb |
--de |
--d |
-d )
13967 --file |
--fil |
--fi |
--f )
13970 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13971 '') as_fn_error $?
"missing file argument" ;;
13973 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13974 ac_need_defaults
=false
;;
13975 --header |
--heade |
--head |
--hea )
13978 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13980 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13981 ac_need_defaults
=false
;;
13983 # Conflict between --help and --header
13984 as_fn_error $?
"ambiguous option: \`$1'
13985 Try \`$0 --help' for more information.";;
13986 --help |
--hel |
-h )
13987 $as_echo "$ac_cs_usage"; exit ;;
13988 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13989 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13992 # This is an error.
13993 -*) as_fn_error $?
"unrecognized option: \`$1'
13994 Try \`$0 --help' for more information." ;;
13996 *) as_fn_append ac_config_targets
" $1"
13997 ac_need_defaults
=false
;;
14003 ac_configure_extra_args
=
14005 if $ac_cs_silent; then
14007 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14012 if \$ac_cs_recheck; then
14013 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14015 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14016 CONFIG_SHELL='$SHELL'
14017 export CONFIG_SHELL
14022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14026 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14027 ## Running $as_me. ##
14033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14039 # The HP-UX ksh and POSIX shell print the target directory to stdout
14040 # if CDPATH is set.
14041 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14043 sed_quote_subst='$sed_quote_subst'
14044 double_quote_subst='$double_quote_subst'
14045 delay_variable_subst='$delay_variable_subst'
14046 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14047 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14048 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14049 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14050 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14051 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14052 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14053 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14054 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14055 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14056 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14057 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14058 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14059 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14060 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14061 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14062 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14063 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14064 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14065 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14066 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14067 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14068 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14069 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14070 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14071 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14072 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14073 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14074 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14075 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14076 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14077 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14078 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14079 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14080 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14081 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14082 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14083 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14084 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14085 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14086 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14087 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14088 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14089 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14090 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14091 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14092 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14093 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14094 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14095 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14096 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14097 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14098 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14099 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14100 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14101 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14102 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14103 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14104 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"`'
14105 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14106 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14107 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14108 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14109 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14110 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14111 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14112 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14113 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14114 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14115 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14116 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14117 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14118 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14119 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14120 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14121 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14122 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14123 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14124 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14125 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14126 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14127 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14128 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14129 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14130 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14131 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14132 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14133 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14134 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14135 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14136 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14137 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14138 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14139 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14140 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14141 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14142 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14143 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14144 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14145 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14146 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14147 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14148 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14149 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14150 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14151 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14152 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14153 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14154 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14155 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14156 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14157 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14158 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14159 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14160 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14161 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14162 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14163 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14164 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14165 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14166 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14167 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14168 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14169 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14170 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14171 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14172 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14173 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14174 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14175 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14176 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14177 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14178 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14179 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14180 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14183 LTCFLAGS='$LTCFLAGS'
14184 compiler='$compiler_DEFAULT'
14186 # A function that is used when there is no print builtin or printf.
14187 func_fallback_echo ()
14189 eval 'cat <<_LTECHO_EOF
14194 # Quote evaled strings.
14209 deplibs_check_method \
14214 sharedlib_from_linklib_cmd \
14217 archiver_list_spec \
14223 lt_cv_sys_global_symbol_pipe \
14224 lt_cv_sys_global_symbol_to_cdecl \
14225 lt_cv_sys_global_symbol_to_import \
14226 lt_cv_sys_global_symbol_to_c_name_address \
14227 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14228 lt_cv_nm_interface \
14229 nm_file_list_spec \
14230 lt_cv_truncate_bin \
14231 lt_prog_compiler_no_builtin_flag \
14232 lt_prog_compiler_pic \
14233 lt_prog_compiler_wl \
14234 lt_prog_compiler_static \
14235 lt_cv_prog_compiler_c_o \
14244 export_dynamic_flag_spec \
14245 whole_archive_flag_spec \
14246 compiler_needs_object \
14248 allow_undefined_flag \
14249 no_undefined_flag \
14250 hardcode_libdir_flag_spec \
14251 hardcode_libdir_separator \
14255 variables_saved_for_relink \
14257 library_names_spec \
14259 install_override_mode \
14263 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14264 *[\\\\\\\`\\"\\\$]*)
14265 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14268 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14273 # Double-quote double-evaled strings.
14274 for var in reload_cmds \
14275 old_postinstall_cmds \
14276 old_postuninstall_cmds \
14278 extract_expsyms_cmds \
14279 old_archive_from_new_cmds \
14280 old_archive_from_expsyms_cmds \
14282 archive_expsym_cmds \
14284 module_expsym_cmds \
14285 export_symbols_cmds \
14289 postuninstall_cmds \
14291 sys_lib_search_path_spec \
14292 configure_time_dlsearch_path \
14293 configure_time_lt_sys_library_path; do
14294 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14295 *[\\\\\\\`\\"\\\$]*)
14296 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14299 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14304 ac_aux_dir='$ac_aux_dir'
14306 # See if we are running on zsh, and set the options that allow our
14307 # commands through without removal of \ escapes INIT.
14308 if test -n "\${ZSH_VERSION+set}"; then
14309 setopt NO_GLOB_SUBST
14323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14325 # Handling of arguments.
14326 for ac_config_target
in $ac_config_targets
14328 case $ac_config_target in
14329 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14330 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14331 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14332 "sqlcipher.pc") CONFIG_FILES
="$CONFIG_FILES sqlcipher.pc" ;;
14334 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14339 # If the user did not use the arguments to specify the items to instantiate,
14340 # then the envvar interface is used. Set only those that are not.
14341 # We use the long form for the default assignment because of an extremely
14342 # bizarre bug on SunOS 4.1.3.
14343 if $ac_need_defaults; then
14344 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14345 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14349 # Have a temporary directory for convenience. Make it in the build tree
14350 # simply because there is no reason against having it here, and in addition,
14351 # creating and moving files from /tmp can sometimes cause problems.
14352 # Hook for its removal unless debugging.
14353 # Note that there is a small window in which the directory will not be cleaned:
14354 # after its creation but before its name has been assigned to `$tmp'.
14358 trap 'exit_status=$?
14359 : "${ac_tmp:=$tmp}"
14360 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14362 trap 'as_fn_exit 1' 1 2 13 15
14364 # Create a (secure) tmp directory for tmp files.
14367 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14371 tmp
=.
/conf$$
-$RANDOM
14372 (umask 077 && mkdir
"$tmp")
14373 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14376 # Set up the scripts for CONFIG_FILES section.
14377 # No need to generate them if there are no CONFIG_FILES.
14378 # This happens for instance with `./config.status config.h'.
14379 if test -n "$CONFIG_FILES"; then
14382 ac_cr
=`echo X | tr X '\015'`
14383 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14384 # But we know of no other shell where ac_cr would be empty at this
14385 # point, so we can use a bashism as a fallback.
14386 if test "x$ac_cr" = x
; then
14387 eval ac_cr
=\$
\'\\r
\'
14389 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14390 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14393 ac_cs_awk_cr
=$ac_cr
14396 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14401 echo "cat >conf$$subs.awk <<_ACEOF" &&
14402 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14404 } >conf$$subs.sh ||
14405 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14406 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14408 for ac_last_try in false false false false false :; do
14409 . ./conf$$subs.sh ||
14410 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14412 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14413 if test $ac_delim_n = $ac_delim_num; then
14415 elif $ac_last_try; then
14416 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14418 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14421 rm -f conf$$subs.sh
14423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14424 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14428 s/^/S["/; s
/!.
*/"]=/
14438 s/\(.\{148\}\)..*/\1/
14440 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14445 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14452 s/\(.\{148\}\)..*/\1/
14454 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14458 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14463 ' <conf$$subs.awk | sed '
14468 ' >>$CONFIG_STATUS || ac_write_fail=1
14469 rm -f conf$$subs.awk
14470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14472 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14473 for (key in S) S_is_set[key] = 1
14479 nfields = split(line, field, "@
")
14481 len = length(field[1])
14482 for (i = 2; i < nfields; i++) {
14484 keylen = length(key)
14485 if (S_is_set[key]) {
14487 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14488 len += length(value) + length(field[++i])
14499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14500 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14501 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14504 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14505 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14508 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14509 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14510 # trailing colons and then remove the whole line if VPATH becomes empty
14511 # (actually we leave an empty line to preserve line numbers).
14512 if test "x
$srcdir" = x.; then
14513 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14532 fi # test -n "$CONFIG_FILES"
14534 # Set up the scripts for CONFIG_HEADERS section.
14535 # No need to generate them if there are no CONFIG_HEADERS.
14536 # This happens for instance with `./config.status Makefile'.
14537 if test -n "$CONFIG_HEADERS"; then
14538 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14542 # Transform confdefs.h into an awk script `defines.awk', embedded as
14543 # here-document in config.status, that substitutes the proper values into
14544 # config.h.in to produce config.h.
14546 # Create a delimiter string that does not exist in confdefs.h, to ease
14547 # handling of long lines.
14549 for ac_last_try in false false :; do
14550 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14551 if test -z "$ac_tt"; then
14553 elif $ac_last_try; then
14554 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14556 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14560 # For the awk script, D is an array of macro values keyed by name,
14561 # likewise P contains macro parameters if any. Preserve backslash
14562 # newline sequences.
14564 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14566 s/.\{148\}/&'"$ac_delim"'/g
14569 s/^[ ]*#[ ]*define[ ][ ]*/ /
14576 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14578 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14583 D["\
1"]=" \
3\\\\\\n
"\\/p
14585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14590 s/.\{148\}/&'"$ac_delim"'/g
14595 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14598 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14600 ' <confdefs.h | sed '
14601 s/'"$ac_delim"'/"\\\
14602 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14605 for (key in D) D_is_set[key] = 1
14608 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14610 split(line, arg, " ")
14611 if (arg[1] == "#") {
14615 defundef
= substr
(arg
[1], 2)
14618 split(mac1
, mac2
, "(") #)
14620 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14621 if (D_is_set
[macro
]) {
14622 # Preserve the white space surrounding the "#".
14623 print prefix
"define", macro P
[macro
] D
[macro
]
14626 # Replace #undef with comments. This is necessary, for example,
14627 # in the case of _POSIX_SOURCE, which is predefined and required
14628 # on some systems where configure will not decide to define it.
14629 if (defundef
== "undef") {
14630 print
"/*", prefix defundef
, macro
, "*/"
14638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14639 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14640 fi # test -n "$CONFIG_HEADERS"
14643 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14648 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14650 case $ac_mode$ac_tag in
14652 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14653 :[FH
]-) ac_tag
=-:-;;
14654 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14671 -) ac_f
="$ac_tmp/stdin";;
14672 *) # Look for the file first in the build tree, then in the source tree
14673 # (if the path is not absolute). The absolute path cannot be DOS-style,
14674 # because $ac_f cannot contain `:'.
14678 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14680 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14682 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14683 as_fn_append ac_file_inputs
" '$ac_f'"
14686 # Let's still pretend it is `configure' which instantiates (i.e., don't
14687 # use $as_me), people would be surprised to read:
14688 # /* config.h. Generated by config.status. */
14689 configure_input
='Generated from '`
14690 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14692 if test x
"$ac_file" != x-
; then
14693 configure_input
="$ac_file. $configure_input"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14695 $as_echo "$as_me: creating $ac_file" >&6;}
14697 # Neutralize special characters interpreted by sed in replacement strings.
14698 case $configure_input in #(
14699 *\
&* |
*\|
* |
*\\* )
14700 ac_sed_conf_input
=`$as_echo "$configure_input" |
14701 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14702 *) ac_sed_conf_input
=$configure_input;;
14706 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14707 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14712 ac_dir
=`$as_dirname -- "$ac_file" ||
14713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14714 X"$ac_file" : 'X\(//\)[^/]' \| \
14715 X"$ac_file" : 'X\(//\)$' \| \
14716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14717 $as_echo X"$ac_file" |
14718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14722 /^X\(\/\/\)[^/].*/{
14735 as_dir
="$ac_dir"; as_fn_mkdir_p
14739 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14741 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14742 # A ".." for each directory in $ac_dir_suffix.
14743 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14744 case $ac_top_builddir_sub in
14745 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14746 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14749 ac_abs_top_builddir
=$ac_pwd
14750 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14751 # for backward compatibility:
14752 ac_top_builddir
=$ac_top_build_prefix
14755 .
) # We are building in place.
14757 ac_top_srcdir
=$ac_top_builddir_sub
14758 ac_abs_top_srcdir
=$ac_pwd ;;
14759 [\\/]* | ?
:[\\/]* ) # Absolute name.
14760 ac_srcdir
=$srcdir$ac_dir_suffix;
14761 ac_top_srcdir
=$srcdir
14762 ac_abs_top_srcdir
=$srcdir ;;
14763 *) # Relative name.
14764 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14765 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14766 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14768 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14778 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14779 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14784 # If the template does not know about datarootdir, expand it.
14785 # FIXME: This hack should be removed a few years after 2.60.
14786 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14797 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14798 *datarootdir
*) ac_datarootdir_seen
=yes;;
14799 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14801 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14804 ac_datarootdir_hack='
14805 s&@datadir@&$datadir&g
14806 s&@docdir@&$docdir&g
14807 s&@infodir@&$infodir&g
14808 s&@localedir@&$localedir&g
14809 s&@mandir@&$mandir&g
14810 s&\\\${datarootdir}&$datarootdir&g' ;;
14814 # Neutralize VPATH when `$srcdir' = `.'.
14815 # Shell code in configure.ac might set extrasub.
14816 # FIXME: do we really want to maintain this feature?
14817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14818 ac_sed_extra="$ac_vpsub
14821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14823 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14824 s|@configure_input@|
$ac_sed_conf_input|
;t t
14825 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14826 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14827 s
&@srcdir@
&$ac_srcdir&;t t
14828 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14829 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14830 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14831 s
&@builddir@
&$ac_builddir&;t t
14832 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14833 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14834 s
&@INSTALL@
&$ac_INSTALL&;t t
14835 $ac_datarootdir_hack
14837 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14838 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14840 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14841 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14842 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14843 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14845 which seems to be undefined. Please make sure it is defined" >&5
14846 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14847 which seems to be undefined. Please make sure it is defined" >&2;}
14849 rm -f "$ac_tmp/stdin"
14851 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14852 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14860 if test x"$ac_file" != x-; then
14862 $as_echo "/* $configure_input */" \
14863 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14864 } >"$ac_tmp/config.h" \
14865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14866 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14868 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14871 mv "$ac_tmp/config.h" "$ac_file" \
14872 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14875 $as_echo "/* $configure_input */" \
14876 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14877 || as_fn_error $? "could not create -" "$LINENO" 5
14881 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14882 $as_echo "$as_me: executing $ac_file commands" >&6;}
14887 case $ac_file$ac_mode in
14890 # See if we are running on zsh, and set the options that allow our
14891 # commands through without removal of \ escapes.
14892 if test -n "${ZSH_VERSION+set}"; then
14893 setopt NO_GLOB_SUBST
14897 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14900 cat <<_LT_EOF >> "$cfgfile"
14902 # Generated automatically by $as_me ($PACKAGE) $VERSION
14903 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14905 # Provide generalized library-building support services.
14906 # Written by Gordon Matzigkeit, 1996
14908 # Copyright (C) 2014 Free Software Foundation, Inc.
14909 # This is free software; see the source for copying conditions. There is NO
14910 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14912 # GNU Libtool is free software; you can redistribute it and/or modify
14913 # it under the terms of the GNU General Public License as published by
14914 # the Free Software Foundation; either version 2 of of the License, or
14915 # (at your option) any later version.
14917 # As a special exception to the GNU General Public License, if you
14918 # distribute this file as part of a program or library that is built
14919 # using GNU Libtool, you may include this file under the same
14920 # distribution terms that you use for the rest of that program.
14922 # GNU Libtool is distributed in the hope that it will be useful, but
14923 # WITHOUT ANY WARRANTY; without even the implied warranty of
14924 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14925 # GNU General Public License for more details.
14927 # You should have received a copy of the GNU General Public License
14928 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14931 # The names of the tagged configurations supported by this script.
14934 # Configured defaults for sys_lib_dlsearch_path munging.
14935 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14937 # ### BEGIN LIBTOOL CONFIG
14939 # Which release of libtool.m4 was used?
14940 macro_version=$macro_version
14941 macro_revision=$macro_revision
14943 # Whether or not to build shared libraries.
14944 build_libtool_libs=$enable_shared
14946 # Whether or not to build static libraries.
14947 build_old_libs=$enable_static
14949 # What type of objects to build.
14952 # Whether or not to optimize for fast installation.
14953 fast_install=$enable_fast_install
14955 # Shared archive member basename,for filename based shared library versioning on AIX.
14956 shared_archive_member_spec=$shared_archive_member_spec
14958 # Shell to use when invoking shell scripts.
14961 # An echo program that protects backslashes.
14964 # The PATH separator for the build system.
14965 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14968 host_alias=$host_alias
14972 # The build system.
14973 build_alias=$build_alias
14977 # A sed program that does not truncate output.
14980 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14981 Xsed="\$SED -e 1s/^X//"
14983 # A grep program that handles long lines.
14989 # A literal string matcher.
14992 # A BSD- or MS-compatible name lister.
14995 # Whether we need soft or hard links.
14998 # What is the maximum length of a command?
14999 max_cmd_len=$max_cmd_len
15001 # Object file suffix (normally "o").
15004 # Executable file suffix (normally "").
15007 # whether the shell understands "unset".
15010 # turn spaces into newlines.
15013 # turn newlines into spaces.
15016 # convert \$build file names to \$host format.
15017 to_host_file_cmd=$lt_cv_to_host_file_cmd
15019 # convert \$build files to toolchain format.
15020 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15022 # An object symbol dumper.
15023 OBJDUMP=$lt_OBJDUMP
15025 # Method to check whether dependent libraries are shared objects.
15026 deplibs_check_method=$lt_deplibs_check_method
15028 # Command to use when deplibs_check_method = "file_magic".
15029 file_magic_cmd=$lt_file_magic_cmd
15031 # How to find potential files when deplibs_check_method = "file_magic".
15032 file_magic_glob=$lt_file_magic_glob
15034 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15035 want_nocaseglob=$lt_want_nocaseglob
15037 # DLL creation program.
15038 DLLTOOL=$lt_DLLTOOL
15040 # Command to associate shared and link libraries.
15041 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15046 # Flags to create an archive.
15047 AR_FLAGS=$lt_AR_FLAGS
15049 # How to feed a file listing to the archiver.
15050 archiver_list_spec=$lt_archiver_list_spec
15052 # A symbol stripping program.
15055 # Commands used to install an old-style archive.
15057 old_postinstall_cmds=$lt_old_postinstall_cmds
15058 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15060 # Whether to use a lock for old archive extraction.
15061 lock_old_archive_extraction=$lock_old_archive_extraction
15066 # LTCC compiler flags.
15067 LTCFLAGS=$lt_CFLAGS
15069 # Take the output of nm and produce a listing of raw symbols and C names.
15070 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15072 # Transform the output of nm in a proper C declaration.
15073 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15075 # Transform the output of nm into a list of symbols to manually relocate.
15076 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15078 # Transform the output of nm in a C name address pair.
15079 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15081 # Transform the output of nm in a C name address pair when lib prefix is needed.
15082 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15084 # The name lister interface.
15085 nm_interface=$lt_lt_cv_nm_interface
15087 # Specify filename containing input files for \$NM.
15088 nm_file_list_spec=$lt_nm_file_list_spec
15090 # The root where to search for dependent libraries,and where our libraries should be installed.
15091 lt_sysroot=$lt_sysroot
15093 # Command to truncate a binary pipe.
15094 lt_truncate_bin=$lt_lt_cv_truncate_bin
15096 # The name of the directory that contains temporary libtool files.
15099 # Used to examine libraries when file_magic_cmd begins with "file".
15100 MAGIC_CMD=$MAGIC_CMD
15102 # Must we lock files when doing compilation?
15103 need_locks=$lt_need_locks
15106 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15108 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15109 DSYMUTIL=$lt_DSYMUTIL
15111 # Tool to change global to local symbols on Mac OS X.
15114 # Tool to manipulate fat objects and archives on Mac OS X.
15117 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15120 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15121 OTOOL64=$lt_OTOOL64
15123 # Old archive suffix (normally "a").
15126 # Shared library suffix (normally ".so").
15127 shrext_cmds=$lt_shrext_cmds
15129 # The commands to extract the exported symbol list from a shared archive.
15130 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15132 # Variables whose values should be saved in libtool wrapper scripts and
15133 # restored at link time.
15134 variables_saved_for_relink=$lt_variables_saved_for_relink
15136 # Do we need the "lib" prefix for modules?
15137 need_lib_prefix=$need_lib_prefix
15139 # Do we need a version for libraries?
15140 need_version=$need_version
15142 # Library versioning type.
15143 version_type=$version_type
15145 # Shared library runtime path variable.
15146 runpath_var=$runpath_var
15148 # Shared library path variable.
15149 shlibpath_var=$shlibpath_var
15151 # Is shlibpath searched before the hard-coded library search path?
15152 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15154 # Format of library name prefix.
15155 libname_spec=$lt_libname_spec
15157 # List of archive names. First name is the real one, the rest are links.
15158 # The last name is the one that the linker finds with -lNAME
15159 library_names_spec=$lt_library_names_spec
15161 # The coded name of the library, if different from the real name.
15162 soname_spec=$lt_soname_spec
15164 # Permission mode override for installation of shared libraries.
15165 install_override_mode=$lt_install_override_mode
15167 # Command to use after installation of a shared archive.
15168 postinstall_cmds=$lt_postinstall_cmds
15170 # Command to use after uninstallation of a shared archive.
15171 postuninstall_cmds=$lt_postuninstall_cmds
15173 # Commands used to finish a libtool library installation in a directory.
15174 finish_cmds=$lt_finish_cmds
15176 # As "finish_cmds", except a single script fragment to be evaled but
15178 finish_eval=$lt_finish_eval
15180 # Whether we should hardcode library paths into libraries.
15181 hardcode_into_libs=$hardcode_into_libs
15183 # Compile-time system search path for libraries.
15184 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15186 # Detected run-time system search path for libraries.
15187 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15189 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15190 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15192 # Whether dlopen is supported.
15193 dlopen_support=$enable_dlopen
15195 # Whether dlopen of programs is supported.
15196 dlopen_self=$enable_dlopen_self
15198 # Whether dlopen of statically linked programs is supported.
15199 dlopen_self_static=$enable_dlopen_self_static
15201 # Commands to strip libraries.
15202 old_striplib=$lt_old_striplib
15203 striplib=$lt_striplib
15206 # The linker used to build libraries.
15209 # How to create reloadable object files.
15210 reload_flag=$lt_reload_flag
15211 reload_cmds=$lt_reload_cmds
15213 # Commands used to build an old-style archive.
15214 old_archive_cmds=$lt_old_archive_cmds
15216 # A language specific compiler.
15219 # Is the compiler the GNU compiler?
15222 # Compiler flag to turn off builtin functions.
15223 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15225 # Additional compiler flags for building library objects.
15226 pic_flag=$lt_lt_prog_compiler_pic
15228 # How to pass a linker flag through the compiler.
15229 wl=$lt_lt_prog_compiler_wl
15231 # Compiler flag to prevent dynamic linking.
15232 link_static_flag=$lt_lt_prog_compiler_static
15234 # Does compiler simultaneously support -c and -o options?
15235 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15237 # Whether or not to add -lc for building shared libraries.
15238 build_libtool_need_lc=$archive_cmds_need_lc
15240 # Whether or not to disallow shared libs when runtime libs are static.
15241 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15243 # Compiler flag to allow reflexive dlopens.
15244 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15246 # Compiler flag to generate shared objects directly from archives.
15247 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15249 # Whether the compiler copes with passing no objects directly.
15250 compiler_needs_object=$lt_compiler_needs_object
15252 # Create an old-style archive from a shared archive.
15253 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15255 # Create a temporary old-style archive to link instead of a shared archive.
15256 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15258 # Commands used to build a shared archive.
15259 archive_cmds=$lt_archive_cmds
15260 archive_expsym_cmds=$lt_archive_expsym_cmds
15262 # Commands used to build a loadable module if different from building
15263 # a shared archive.
15264 module_cmds=$lt_module_cmds
15265 module_expsym_cmds=$lt_module_expsym_cmds
15267 # Whether we are building with GNU ld or not.
15268 with_gnu_ld=$lt_with_gnu_ld
15270 # Flag that allows shared libraries with undefined symbols to be built.
15271 allow_undefined_flag=$lt_allow_undefined_flag
15273 # Flag that enforces no undefined symbols.
15274 no_undefined_flag=$lt_no_undefined_flag
15276 # Flag to hardcode \$libdir into a binary during linking.
15277 # This must work even if \$libdir does not exist
15278 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15280 # Whether we need a single "-rpath" flag with a separated argument.
15281 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15283 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15284 # DIR into the resulting binary.
15285 hardcode_direct=$hardcode_direct
15287 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15288 # DIR into the resulting binary and the resulting library dependency is
15289 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15290 # library is relocated.
15291 hardcode_direct_absolute=$hardcode_direct_absolute
15293 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15294 # into the resulting binary.
15295 hardcode_minus_L=$hardcode_minus_L
15297 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15298 # into the resulting binary.
15299 hardcode_shlibpath_var=$hardcode_shlibpath_var
15301 # Set to "yes" if building a shared library automatically hardcodes DIR
15302 # into the library and all subsequent libraries and executables linked
15304 hardcode_automatic=$hardcode_automatic
15306 # Set to yes if linker adds runtime paths of dependent libraries
15307 # to runtime path list.
15308 inherit_rpath=$inherit_rpath
15310 # Whether libtool must link a program against all its dependency libraries.
15311 link_all_deplibs=$link_all_deplibs
15313 # Set to "yes" if exported symbols are required.
15314 always_export_symbols=$always_export_symbols
15316 # The commands to list exported symbols.
15317 export_symbols_cmds=$lt_export_symbols_cmds
15319 # Symbols that should not be listed in the preloaded symbols.
15320 exclude_expsyms=$lt_exclude_expsyms
15322 # Symbols that must always be exported.
15323 include_expsyms=$lt_include_expsyms
15325 # Commands necessary for linking programs (against libraries) with templates.
15326 prelink_cmds=$lt_prelink_cmds
15328 # Commands necessary for finishing linking programs.
15329 postlink_cmds=$lt_postlink_cmds
15331 # Specify filename containing input files.
15332 file_list_spec=$lt_file_list_spec
15334 # How to hardcode a shared library path into an executable.
15335 hardcode_action=$hardcode_action
15337 # ### END LIBTOOL CONFIG
15341 cat <<'_LT_EOF' >> "$cfgfile"
15343 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15345 # func_munge_path_list VARIABLE PATH
15346 # -----------------------------------
15347 # VARIABLE is name of variable containing _space_ separated list of
15348 # directories to be munged by the contents of PATH, which is string
15351 # string "DIR[ DIR]" will be prepended to VARIABLE
15353 # string "DIR[ DIR]" will be appended to VARIABLE
15354 # "DIRP[:DIRP]::[DIRA:]DIRA"
15355 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15356 # "DIRA[ DIRA]" will be appended to VARIABLE
15358 # VARIABLE will be replaced by "DIR[ DIR]"
15359 func_munge_path_list ()
15365 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'` \$$1\"
15368 eval $1=\"\$$1 `$ECHO $2 | $SED 's
/:/ /g
'`\"
15371 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's
/.
*:://' -e 's
/:/ /g
'`\"
15372 eval $1=\"`$ECHO $2 | $SED -e 's
/::.
*//' -e 's
/:/ /g
'`\ \$$1\"
15375 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'`\"
15381 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15382 func_cc_basename ()
15384 for cc_temp in $*""; do
15386 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15387 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15392 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15396 # ### END FUNCTIONS SHARED WITH CONFIGURE
15402 cat <<\_LT_EOF >> "$cfgfile"
15403 # AIX sometimes has problems with the GCC collect2 program. For some
15404 # reason, if we set the COLLECT_NAMES environment variable, the problems
15405 # vanish in a puff of smoke.
15406 if test set != "${COLLECT_NAMES+set}"; then
15408 export COLLECT_NAMES
15415 ltmain=$ac_aux_dir/ltmain.sh
15418 # We use sed instead of cat because bash on DJGPP gets confused if
15419 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15420 # text mode, it properly converts lines to CR/LF. This bash problem
15421 # is reportedly fixed, but why not run on old versions too?
15422 sed '$q' "$ltmain" >> "$cfgfile" \
15423 || (rm -f "$cfgfile"; exit 1)
15425 mv -f "$cfgfile" "$ofile" ||
15426 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15437 ac_clean_files=$ac_clean_files_save
15439 test $ac_write_fail = 0 ||
15440 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15443 # configure is writing to config.log, and then calls config.status.
15444 # config.status does its own redirection, appending to config.log.
15445 # Unfortunately, on DOS this fails, as config.log is still kept open
15446 # by configure, so config.status won't be able to
write to it
; its
15447 # output is simply discarded. So we exec the FD to /dev/null,
15448 # effectively closing config.log, so it can be properly (re)opened and
15449 # appended to by config.status. When coming back to configure, we
15450 # need to make the FD available again.
15451 if test "$no_create" != yes; then
15453 ac_config_status_args
=
15454 test "$silent" = yes &&
15455 ac_config_status_args
="$ac_config_status_args --quiet"
15457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15460 # would make configure fail if this is the last instruction.
15461 $ac_cs_success || as_fn_exit
1
15463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}