2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlcipher 3.32.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.32.0'
591 PACKAGE_STRING
='sqlcipher 3.32.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
740 program_transform_name
753 enable_option_checking
765 enable_cross_thread_connections
776 enable_load_extension
790 ac_precious_vars
='build_alias
803 # Initialize some variables set by options.
805 ac_init_version
=false
806 ac_unrecognized_opts
=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name
=s
,x
,x
,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir
='${exec_prefix}/bin'
832 sbindir
='${exec_prefix}/sbin'
833 libexecdir
='${exec_prefix}/libexec'
834 datarootdir
='${prefix}/share'
835 datadir
='${datarootdir}'
836 sysconfdir
='${prefix}/etc'
837 sharedstatedir
='${prefix}/com'
838 localstatedir
='${prefix}/var'
839 includedir
='${prefix}/include'
840 oldincludedir
='/usr/include'
841 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir
='${datarootdir}/info'
847 libdir
='${exec_prefix}/lib'
848 localedir
='${datarootdir}/locale'
849 mandir
='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\
$ac_option
863 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868 # Accept the important Cygnus configure options, so we can diagnose typos.
870 case $ac_dashdash$ac_option in
874 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
876 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
879 -build |
--build |
--buil |
--bui |
--bu)
880 ac_prev
=build_alias
;;
881 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
882 build_alias
=$ac_optarg ;;
884 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
885 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
886 ac_prev
=cache_file
;;
887 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
888 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
889 cache_file
=$ac_optarg ;;
892 cache_file
=config.cache
;;
894 -datadir |
--datadir |
--datadi |
--datad)
896 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
897 datadir
=$ac_optarg ;;
899 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
900 |
--dataroo |
--dataro |
--datar)
901 ac_prev
=datarootdir
;;
902 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
903 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
904 datarootdir
=$ac_optarg ;;
906 -disable-* |
--disable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=no
;;
922 -docdir |
--docdir |
--docdi |
--doc |
--do)
924 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
927 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
929 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
932 -enable-* |
--enable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error $?
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=\
$ac_optarg ;;
948 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
949 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
950 |
--exec |
--exe |
--ex)
951 ac_prev
=exec_prefix
;;
952 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
953 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
954 |
--exec=* |
--exe=* |
--ex=*)
955 exec_prefix
=$ac_optarg ;;
957 -gas |
--gas |
--ga |
--g)
958 # Obsolete; use --with-gas.
961 -help |
--help |
--hel |
--he |
-h)
963 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
964 ac_init_help
=recursive
;;
965 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
966 ac_init_help
=short
;;
968 -host |
--host |
--hos |
--ho)
969 ac_prev
=host_alias
;;
970 -host=* |
--host=* |
--hos=* |
--ho=*)
971 host_alias
=$ac_optarg ;;
973 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
975 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
977 htmldir
=$ac_optarg ;;
979 -includedir |
--includedir |
--includedi |
--included |
--include \
980 |
--includ |
--inclu |
--incl |
--inc)
981 ac_prev
=includedir
;;
982 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
983 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
984 includedir
=$ac_optarg ;;
986 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
988 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
989 infodir
=$ac_optarg ;;
991 -libdir |
--libdir |
--libdi |
--libd)
993 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
996 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
997 |
--libexe |
--libex |
--libe)
998 ac_prev
=libexecdir
;;
999 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1000 |
--libexe=* |
--libex=* |
--libe=*)
1001 libexecdir
=$ac_optarg ;;
1003 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1004 ac_prev
=localedir
;;
1005 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1006 localedir
=$ac_optarg ;;
1008 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1009 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1010 ac_prev
=localstatedir
;;
1011 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1012 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1013 localstatedir
=$ac_optarg ;;
1015 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1017 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1018 mandir
=$ac_optarg ;;
1020 -nfp |
--nfp |
--nf)
1021 # Obsolete; use --without-fp.
1024 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1025 |
--no-cr |
--no-c |
-n)
1028 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1029 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1032 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1033 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1034 |
--oldin |
--oldi |
--old |
--ol |
--o)
1035 ac_prev
=oldincludedir
;;
1036 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1037 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1038 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1039 oldincludedir
=$ac_optarg ;;
1041 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1043 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1044 prefix
=$ac_optarg ;;
1046 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1047 |
--program-pre |
--program-pr |
--program-p)
1048 ac_prev
=program_prefix
;;
1049 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1050 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1051 program_prefix
=$ac_optarg ;;
1053 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1054 |
--program-suf |
--program-su |
--program-s)
1055 ac_prev
=program_suffix
;;
1056 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1057 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1058 program_suffix
=$ac_optarg ;;
1060 -program-transform-name |
--program-transform-name \
1061 |
--program-transform-nam |
--program-transform-na \
1062 |
--program-transform-n |
--program-transform- \
1063 |
--program-transform |
--program-transfor \
1064 |
--program-transfo |
--program-transf \
1065 |
--program-trans |
--program-tran \
1066 |
--progr-tra |
--program-tr |
--program-t)
1067 ac_prev
=program_transform_name
;;
1068 -program-transform-name=* |
--program-transform-name=* \
1069 |
--program-transform-nam=* |
--program-transform-na=* \
1070 |
--program-transform-n=* |
--program-transform-=* \
1071 |
--program-transform=* |
--program-transfor=* \
1072 |
--program-transfo=* |
--program-transf=* \
1073 |
--program-trans=* |
--program-tran=* \
1074 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1075 program_transform_name
=$ac_optarg ;;
1077 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1079 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1080 pdfdir
=$ac_optarg ;;
1082 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1084 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1087 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1088 |
-silent |
--silent |
--silen |
--sile |
--sil)
1091 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1093 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1095 sbindir
=$ac_optarg ;;
1097 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1098 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1099 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1101 ac_prev
=sharedstatedir
;;
1102 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1103 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1104 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1106 sharedstatedir
=$ac_optarg ;;
1108 -site |
--site |
--sit)
1110 -site=* |
--site=* |
--sit=*)
1113 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1115 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1116 srcdir
=$ac_optarg ;;
1118 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1119 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1120 ac_prev
=sysconfdir
;;
1121 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1122 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1123 sysconfdir
=$ac_optarg ;;
1125 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1126 ac_prev
=target_alias
;;
1127 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1128 target_alias
=$ac_optarg ;;
1130 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1133 -version |
--version |
--versio |
--versi |
--vers |
-V)
1134 ac_init_version
=: ;;
1137 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error $?
"invalid package name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=\
$ac_optarg ;;
1152 -without-* |
--without-*)
1153 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 as_fn_error $?
"invalid package name: $ac_useropt"
1157 ac_useropt_orig
=$ac_useropt
1158 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep
=', ';;
1166 eval with_
$ac_useropt=no
;;
1169 # Obsolete; use --with-x.
1172 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1173 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1174 ac_prev
=x_includes
;;
1175 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1176 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1177 x_includes
=$ac_optarg ;;
1179 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1180 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1181 ac_prev
=x_libraries
;;
1182 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1183 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1184 x_libraries
=$ac_optarg ;;
1186 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1187 Try \`$0 --help' for more information"
1191 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 case $ac_envvar in #(
1194 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1195 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1197 eval $ac_envvar=\
$ac_optarg
1198 export $ac_envvar ;;
1201 # FIXME: should be removed in autoconf 3.0.
1202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1211 if test -n "$ac_prev"; then
1212 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1213 as_fn_error $?
"missing argument to $ac_option"
1216 if test -n "$ac_unrecognized_opts"; then
1217 case $enable_option_checking in
1219 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 # Check all directory arguments for consistency.
1225 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226 datadir sysconfdir sharedstatedir localstatedir includedir \
1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228 libdir localedir mandir
1230 eval ac_val
=\$
$ac_var
1231 # Remove trailing slashes.
1234 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235 eval $ac_var=\
$ac_val;;
1237 # Be sure to have absolute directory names.
1239 [\\/$
]* | ?
:[\\/]* ) continue;;
1240 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1242 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1245 # There might be people who depend on the old broken behavior: `$host'
1246 # used to hold the argument of --host etc.
1247 # FIXME: To remove some day.
1250 target
=$target_alias
1252 # FIXME: To remove some day.
1253 if test "x$host_alias" != x
; then
1254 if test "x$build_alias" = x
; then
1255 cross_compiling
=maybe
1256 elif test "x$build_alias" != "x$host_alias"; then
1262 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1264 test "$silent" = yes && exec 6>/dev
/null
1267 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di
=`ls -di .` &&
1269 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error $?
"working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error $?
"pwd does not report name of working directory"
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted
=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir
=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 $as_echo X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1307 ac_srcdir_defaulted
=no
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1311 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1313 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1325 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 for ac_var
in $ac_precious_vars; do
1328 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1330 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1335 # Report the --help message.
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1341 \`configure' configures sqlcipher 3.32.0 to adapt to many kinds of systems.
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1348 Defaults for the options are specified in brackets.
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print \`checking ...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for \`--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1367 By default, \`make install' will install all the files in
1368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370 for instance \`--prefix=\$HOME'.
1372 For better control, use the options below.
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlcipher]
1390 --htmldir=DIR html documentation [DOCDIR]
1391 --dvidir=DIR dvi documentation [DOCDIR]
1392 --pdfdir=DIR pdf documentation [DOCDIR]
1393 --psdir=DIR ps documentation [DOCDIR]
1399 --build=BUILD configure
for building on BUILD
[guessed
]
1400 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1404 if test -n "$ac_init_help"; then
1405 case $ac_init_help in
1406 short | recursive
) echo "Configuration of sqlcipher 3.32.0:";;
1411 --disable-option-checking ignore unrecognized
--enable/--with options
1412 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1413 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1414 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1415 --enable-static[=PKGS
] build static libraries
[default
=yes]
1416 --enable-fast-install[=PKGS
]
1417 optimize
for fast installation
[default
=yes]
1418 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1419 --disable-largefile omit support
for large files
1420 --disable-threadsafe Disable mutexing
1421 --enable-cross-thread-connections
1422 Allow connection sharing across threads
1423 --enable-releasemode Support libtool link to release mode
1424 --enable-tempstore Use an in-ram database
for temporary tables
1425 (never
,no
,yes,always
)
1426 --disable-tcl do not build TCL extension
1427 --enable-editline enable BSD editline support
1428 --disable-readline disable readline support
1429 --enable-debug enable debugging
& verbose explain
1430 --disable-amalgamation Disable the amalgamation and instead build all files
1432 --disable-load-extension
1433 Disable loading of external extensions
1434 --enable-memsys5 Enable MEMSYS5
1435 --enable-memsys3 Enable MEMSYS3
1436 --enable-all Enable FTS4
, FTS5
, Geopoly
, JSON
, RTree
, Sessions
1437 --enable-fts3 Enable the FTS3 extension
1438 --enable-fts4 Enable the FTS4 extension
1439 --enable-fts5 Enable the FTS5 extension
1440 --enable-json1 Enable the JSON1 extension
1441 --enable-update-limit Enable the UPDATE
/DELETE LIMIT clause
1442 --enable-geopoly Enable the GEOPOLY extension
1443 --enable-rtree Enable the RTREE extension
1444 --enable-session Enable the SESSION extension
1445 --enable-gcov Enable coverage testing using gcov
1448 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1449 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1450 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1452 --with-aix-soname=aix|svr4|both
1453 shared library versioning
(aka
"SONAME") variant to
1454 provide on AIX
, [default
=aix
].
1455 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1456 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1457 compiler
's sysroot if not specified).
1458 --with-crypto-lib Specify which crypto library to use
1459 --with-tcl=DIR directory containing tcl configuration
1461 --with-readline-lib specify readline library
1462 --with-readline-inc specify readline include paths
1464 Some influential environment variables:
1465 CC C compiler command
1466 CFLAGS C compiler flags
1467 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1468 nonstandard directory <lib dir>
1469 LIBS libraries to pass to the linker, e.g. -l<library>
1470 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1471 you have headers in a nonstandard directory <include dir>
1473 User-defined run-time library search path.
1475 TCLLIBDIR Where to install tcl plugin
1477 Use these variables to override the choices made by `configure' or to
help
1478 it to
find libraries and programs with nonstandard names
/locations.
1480 Report bugs to the package provider.
1485 if test "$ac_init_help" = "recursive"; then
1486 # If there are subdirs, report their specific --help.
1487 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1488 test -d "$ac_dir" ||
1489 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1494 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1496 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1497 # A ".." for each directory in $ac_dir_suffix.
1498 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1499 case $ac_top_builddir_sub in
1500 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1501 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1504 ac_abs_top_builddir
=$ac_pwd
1505 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1506 # for backward compatibility:
1507 ac_top_builddir
=$ac_top_build_prefix
1510 .
) # We are building in place.
1512 ac_top_srcdir
=$ac_top_builddir_sub
1513 ac_abs_top_srcdir
=$ac_pwd ;;
1514 [\\/]* | ?
:[\\/]* ) # Absolute name.
1515 ac_srcdir
=$srcdir$ac_dir_suffix;
1516 ac_top_srcdir
=$srcdir
1517 ac_abs_top_srcdir
=$srcdir ;;
1519 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1520 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1521 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1523 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1525 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1526 # Check for guested configure.
1527 if test -f "$ac_srcdir/configure.gnu"; then
1529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1530 elif test -f "$ac_srcdir/configure"; then
1532 $SHELL "$ac_srcdir/configure" --help=recursive
1534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1540 test -n "$ac_init_help" && exit $ac_status
1541 if $ac_init_version; then
1543 sqlcipher configure
3.32.0
1544 generated by GNU Autoconf
2.69
1546 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1547 This configure
script is free software
; the Free Software Foundation
1548 gives unlimited permission to copy
, distribute and modify it.
1553 ## ------------------------ ##
1554 ## Autoconf initialization. ##
1555 ## ------------------------ ##
1557 # ac_fn_c_try_compile LINENO
1558 # --------------------------
1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_c_try_compile
()
1562 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1563 rm -f conftest.
$ac_objext
1564 if { { ac_try
="$ac_compile"
1566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_compile") 2>conftest.err
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest.$ac_objext; then :
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status $ac_retval
1593 } # ac_fn_c_try_compile
1595 # ac_fn_c_try_link LINENO
1596 # -----------------------
1597 # Try to link conftest.$ac_ext, and return whether this succeeded.
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext conftest$ac_exeext
1602 if { { ac_try="$ac_link"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_link") 2>conftest.err
1611 if test -s conftest.err
; then
1612 grep -v '^ *+' conftest.err
>conftest.er1
1613 cat conftest.er1
>&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest
$ac_exeext && {
1621 test "$cross_compiling" = yes ||
1622 test -x conftest
$ac_exeext
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.
$ac_ext >&5
1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1633 # interfere with the next link command; also delete a directory that is
1634 # left behind by Apple's compiler. We do this before executing the actions.
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status
$ac_retval
1639 } # ac_fn_c_try_link
1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists and can be compiled using the include files in
1644 # INCLUDES, setting the cache variable VAR accordingly.
1645 ac_fn_c_check_header_compile
()
1647 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if eval \
${$3+:} false
; then :
1651 $as_echo_n "(cached) " >&6
1653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1658 if ac_fn_c_try_compile
"$LINENO"; then :
1663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 } # ac_fn_c_check_header_compile
1672 # ac_fn_c_try_cpp LINENO
1673 # ----------------------
1674 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1678 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } > conftest.i && {
1694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1709 # ac_fn_c_try_run LINENO
1710 # ----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1712 # that executables *can* be run.
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if { { ac_try="$ac_link"
1718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1719 *) ac_try_echo
=$ac_try;;
1721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>&5
1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1727 { { case "(($ac_try" in
1728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_try") 2>&5
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; }; }; then :
1739 $as_echo "$as_me: program exited with status $ac_status" >&5
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=$ac_status
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1751 # ac_fn_c_check_func LINENO FUNC VAR
1752 # ----------------------------------
1753 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1754 ac_fn_c_check_func ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1758 $as_echo_n "checking for $2... " >&6; }
1759 if eval \${$3+:} false; then :
1760 $as_echo_n "(cached) " >&6
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1766 #define $2 innocuous_$2
1768 /* System header to define __stub macros and hopefully few prototypes,
1769 which can conflict with char $2 (); below.
1770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1771 <limits.h> exists even on freestanding compilers. */
1774 # include <limits.h>
1776 # include <assert.h>
1781 /* Override any GCC internal prototype to avoid an error.
1782 Use char because int might match the return type of a GCC
1783 builtin and then its argument prototype would still apply. */
1788 /* The GNU C library defines this for functions which it implements
1789 to always fail with ENOSYS. Some functions are actually named
1790 something starting with __ and the normal name is an alias. */
1791 #if defined __stub_$2 || defined __stub___$2
1803 if ac_fn_c_try_link "$LINENO"; then :
1808 rm -f core conftest.err conftest.$ac_objext \
1809 conftest$ac_exeext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 } # ac_fn_c_check_func
1818 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1819 # -------------------------------------------
1820 # Tests whether TYPE exists after having included INCLUDES, setting cache
1821 # variable VAR accordingly.
1822 ac_fn_c_check_type ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828 $as_echo_n "(cached) " >&6
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1843 if ac_fn_c_try_compile "$LINENO"; then :
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1856 if ac_fn_c_try_compile "$LINENO"; then :
1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 } # ac_fn_c_check_type
1872 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1873 # -------------------------------------------------------
1874 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1875 # the include files in INCLUDES and setting the cache variable VAR
1877 ac_fn_c_check_header_mongrel ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if eval \${$3+:} false; then :
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884 $as_echo_n "(cached) " >&6
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1890 # Is the header compilable?
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1892 $as_echo_n "checking $2 usability... " >&6; }
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1898 if ac_fn_c_try_compile "$LINENO"; then :
1899 ac_header_compiler=yes
1901 ac_header_compiler=no
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1905 $as_echo "$ac_header_compiler" >&6; }
1907 # Is the header present?
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1909 $as_echo_n "checking $2 presence... " >&6; }
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1914 if ac_fn_c_try_cpp "$LINENO"; then :
1915 ac_header_preproc=yes
1917 ac_header_preproc=no
1919 rm -f conftest.err conftest.i conftest.$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1921 $as_echo "$ac_header_preproc" >&6; }
1923 # So? What about this header?
1924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1927 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1929 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1933 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1935 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1937 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1939 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval \${$3+:} false; then :
1947 $as_echo_n "(cached) " >&6
1949 eval "$3=\$ac_header_compiler"
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957 } # ac_fn_c_check_header_mongrel
1958 cat >config.log <<_ACEOF
1959 This file contains any messages produced by compilers while
1960 running configure, to aid debugging if configure makes a mistake.
1962 It was created by sqlcipher $as_me 3.32.0, which was
1963 generated by GNU Autoconf 2.69. Invocation command line was
1975 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1976 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1977 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1978 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1979 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1981 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1982 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1984 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1985 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1986 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1987 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1988 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1989 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1990 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir=.
1999 $as_echo "PATH: $as_dir"
2015 # Keep a trace of the command line.
2016 # Strip out --no-create and --no-recursion so they do not pile up.
2017 # Strip out --silent because we don't want to record it for future runs.
2018 # Also quote any args containing shell meta-characters.
2019 # Make two passes to allow for proper duplicate-argument suppression.
2023 ac_must_keep_next=false
2029 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2031 | -silent | --silent | --silen | --sile | --sil)
2034 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2037 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2039 as_fn_append ac_configure_args1 " '$ac_arg'"
2040 if test $ac_must_keep_next = true; then
2041 ac_must_keep_next=false # Got value, back to normal.
2044 *=* | --config-cache | -C | -disable-* | --disable-* \
2045 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2046 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2047 | -with-* | --with-* | -without-* | --without-* | --x)
2048 case "$ac_configure_args0 " in
2049 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2052 -* ) ac_must_keep_next=true ;;
2055 as_fn_append ac_configure_args " '$ac_arg'"
2060 { ac_configure_args0=; unset ac_configure_args0;}
2061 { ac_configure_args1=; unset ac_configure_args1;}
2063 # When interrupted or exit'd, cleanup temporary files, and complete
2064 # config.log. We remove comments because anyway the quotes in there
2065 # would cause problems or look ugly.
2066 # WARNING: Use '\'' to represent an apostrophe within the trap.
2067 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2068 trap 'exit_status=$?
2069 # Save into config.log some information that might help in debugging.
2073 $as_echo "## ---------------- ##
2074 ## Cache variables. ##
2075 ## ---------------- ##"
2077 # The following way of writing the cache mishandles newlines in values,
2079 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2080 eval ac_val=\$$ac_var
2084 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2085 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2088 _ | IFS | as_nl) ;; #(
2089 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2090 *) { eval $ac_var=; unset $ac_var;} ;;
2095 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2096 *${as_nl}ac_space=\ *)
2098 "s/'\''/'\''\\\\'\'''\''/g;
2099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2109 $as_echo "## ----------------- ##
2110 ## Output variables. ##
2111 ## ----------------- ##"
2113 for ac_var in $ac_subst_vars
2115 eval ac_val=\$$ac_var
2117 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2119 $as_echo "$ac_var='\''$ac_val'\''"
2123 if test -n "$ac_subst_files"; then
2124 $as_echo "## ------------------- ##
2125 ## File substitutions. ##
2126 ## ------------------- ##"
2128 for ac_var in $ac_subst_files
2130 eval ac_val=\$$ac_var
2132 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2134 $as_echo "$ac_var='\''$ac_val'\''"
2139 if test -s confdefs.h; then
2140 $as_echo "## ----------- ##
2147 test "$ac_signal" != 0 &&
2148 $as_echo "$as_me: caught signal $ac_signal"
2149 $as_echo "$as_me: exit $exit_status"
2151 rm -f core *.core core.conftest.* &&
2152 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2155 for ac_signal in 1 2 13 15; do
2156 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2160 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2161 rm -f -r conftest* confdefs.h
2163 $as_echo "/* confdefs.h */" > confdefs.h
2165 # Predefined preprocessor variables.
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_NAME "$PACKAGE_NAME"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_STRING "$PACKAGE_STRING"
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_URL "$PACKAGE_URL"
2192 # Let the site file select an alternate cache file if it wants to.
2193 # Prefer an explicitly selected file to automatically selected ones.
2196 if test -n "$CONFIG_SITE"; then
2197 # We do not want a PATH search for config.site.
2198 case $CONFIG_SITE in #((
2199 -*) ac_site_file1=./$CONFIG_SITE;;
2200 */*) ac_site_file1=$CONFIG_SITE;;
2201 *) ac_site_file1=./$CONFIG_SITE;;
2203 elif test "x$prefix" != xNONE; then
2204 ac_site_file1=$prefix/share/config.site
2205 ac_site_file2=$prefix/etc/config.site
2207 ac_site_file1=$ac_default_prefix/share/config.site
2208 ac_site_file2=$ac_default_prefix/etc/config.site
2210 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2212 test "x$ac_site_file" = xNONE && continue
2213 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2215 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2216 sed 's/^/| /' "$ac_site_file" >&5
2218 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2220 as_fn_error $? "failed to load site
script $ac_site_file
2221 See \
`config.log' for more details" "$LINENO" 5; }
2225 if test -r "$cache_file"; then
2226 # Some versions of bash will fail to source /dev/null (special files
2227 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2228 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2230 $as_echo "$as_me: loading cache $cache_file" >&6;}
2232 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2233 *) . "./$cache_file";;
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2238 $as_echo "$as_me: creating cache $cache_file" >&6;}
2242 # Check that the precious variables saved in the cache have kept the same
2244 ac_cache_corrupted=false
2245 for ac_var in $ac_precious_vars; do
2246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2247 eval ac_new_set=\$ac_env_${ac_var}_set
2248 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2249 eval ac_new_val=\$ac_env_${ac_var}_value
2250 case $ac_old_set,$ac_new_set in
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2253 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2254 ac_cache_corrupted=: ;;
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2257 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2258 ac_cache_corrupted=: ;;
2261 if test "x$ac_old_val" != "x$ac_new_val"; then
2262 # differences in whitespace do not lead to failure.
2263 ac_old_val_w=`echo x
$ac_old_val`
2264 ac_new_val_w=`echo x
$ac_new_val`
2265 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2267 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2268 ac_cache_corrupted=:
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2271 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2272 eval $ac_var=\$ac_old_val
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2275 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2277 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2280 # Pass precious variables to config.status.
2281 if test "$ac_new_set" = set; then
2283 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2284 *) ac_arg=$ac_var=$ac_new_val ;;
2286 case " $ac_configure_args " in
2287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2288 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2292 if $ac_cache_corrupted; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2296 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2297 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2299 ## -------------------- ##
2300 ## Main body of script. ##
2301 ## -------------------- ##
2304 ac_cpp='$CPP $CPPFLAGS'
2305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311 sqlite_version_sanity_check=`cat $srcdir/VERSION |
tr -d '\n'`
2312 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2313 as_fn_error $? "configure script is out of date:
2314 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2315 top level VERSION file = $sqlite_version_sanity_check
2316 please regen with autoconf" "$LINENO" 5
2323 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2324 if test -f "$ac_dir/install-sh"; then
2326 ac_install_sh="$ac_aux_dir/install-sh -c"
2328 elif test -f "$ac_dir/install.sh"; then
2330 ac_install_sh="$ac_aux_dir/install.sh -c"
2332 elif test -f "$ac_dir/shtool"; then
2334 ac_install_sh="$ac_aux_dir/shtool install -c"
2338 if test -z "$ac_aux_dir"; then
2339 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2342 # These three variables are undocumented and unsupported,
2343 # and are intended to be withdrawn in a future Autoconf release.
2344 # They can cause serious problems if a builder's source tree is in a directory
2345 # whose full name contains unusual characters.
2346 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2347 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2348 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2354 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2359 macro_version='2.4.6'
2360 macro_revision='2.4.6'
2374 ltmain=$ac_aux_dir/ltmain.sh
2376 # Make sure we can run config.sub.
2377 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2378 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2381 $as_echo_n "checking build system type... " >&6; }
2382 if ${ac_cv_build+:} false; then :
2383 $as_echo_n "(cached) " >&6
2385 ac_build_alias=$build_alias
2386 test "x$ac_build_alias" = x &&
2387 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2388 test "x$ac_build_alias" = x &&
2389 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2390 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2391 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2395 $as_echo "$ac_cv_build" >&6; }
2396 case $ac_cv_build in
2398 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2401 ac_save_IFS=$IFS; IFS='-'
2407 # Remember, the first character of IFS is used to create $*,
2408 # except with old shells:
2411 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2415 $as_echo_n "checking host system type... " >&6; }
2416 if ${ac_cv_host+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 if test "x$host_alias" = x; then
2420 ac_cv_host=$ac_cv_build
2422 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2423 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2428 $as_echo "$ac_cv_host" >&6; }
2431 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2434 ac_save_IFS=$IFS; IFS='-'
2440 # Remember, the first character of IFS is used to create $*,
2441 # except with old shells:
2444 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2447 # Backslashify metacharacters that are still active within
2448 # double-quoted strings.
2449 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
2451 # Same as above, but do not quote variable references.
2452 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
2454 # Sed substitution to delay expansion of an escaped shell variable in a
2455 # double_quote_subst'ed string.
2456 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2458 # Sed substitution to delay expansion of an escaped single quote.
2459 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2461 # Sed substitution to avoid accidental globbing in evaled expressions
2462 no_glob_subst='s/\*/\\\*/g'
2464 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2465 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2466 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
2469 $as_echo_n "checking how to print
strings...
" >&6; }
2470 # Test print first, because it will be a builtin if present.
2471 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
2472 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
2474 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
2477 # Use this function as a fallback that always works.
2478 func_fallback_echo ()
2480 eval 'cat <<_LTECHO_EOF
2484 ECHO='func_fallback_echo'
2487 # func_echo_all arg...
2488 # Invoke $ECHO with all args, space-separated.
2495 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
2496 $as_echo "printf" >&6; } ;;
2497 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
2498 $as_echo "print
-r" >&6; } ;;
2499 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
2500 $as_echo "cat" >&6; } ;;
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2525 $as_echo_n "checking
for $ac_word...
" >&6; }
2526 if ${ac_cv_prog_CC+:} false; then :
2527 $as_echo_n "(cached
) " >&6
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$CC"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2552 $as_echo "$CC" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2555 $as_echo "no
" >&6; }
2560 if test -z "$ac_cv_prog_CC"; then
2562 # Extract the first word of "gcc
", so it can be a program name with args.
2563 set dummy gcc; ac_word=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2565 $as_echo_n "checking
for $ac_word...
" >&6; }
2566 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2567 $as_echo_n "(cached
) " >&6
2569 if test -n "$ac_ct_CC"; then
2570 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2579 ac_cv_prog_ac_ct_CC="gcc
"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2589 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2590 if test -n "$ac_ct_CC"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2592 $as_echo "$ac_ct_CC" >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2595 $as_echo "no
" >&6; }
2598 if test "x
$ac_ct_CC" = x; then
2601 case $cross_compiling:$ac_tool_warned in
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2604 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2605 ac_tool_warned=yes ;;
2613 if test -z "$CC"; then
2614 if test -n "$ac_tool_prefix"; then
2615 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2616 set dummy ${ac_tool_prefix}cc; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2618 $as_echo_n "checking
for $ac_word...
" >&6; }
2619 if ${ac_cv_prog_CC+:} false; then :
2620 $as_echo_n "(cached
) " >&6
2622 if test -n "$CC"; then
2623 ac_cv_prog_CC="$CC" # Let the user override the test.
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2632 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2645 $as_echo "$CC" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2648 $as_echo "no
" >&6; }
2654 if test -z "$CC"; then
2655 # Extract the first word of "cc
", so it can be a program name with args.
2656 set dummy cc; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2658 $as_echo_n "checking
for $ac_word...
" >&6; }
2659 if ${ac_cv_prog_CC+:} false; then :
2660 $as_echo_n "(cached
) " >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC="$CC" # Let the user override the test.
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir=.
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2674 ac_prog_rejected=yes
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2685 if test $ac_prog_rejected = yes; then
2686 # We found a bogon in the path, so make sure we never use it.
2687 set dummy $ac_cv_prog_CC
2689 if test $# != 0; then
2690 # We chose a different compiler from the bogus one.
2691 # However, it has the same basename, so the bogon will be chosen
2692 # first if we set CC to just the basename; use the full file name.
2694 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2700 if test -n "$CC"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2702 $as_echo "$CC" >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2705 $as_echo "no
" >&6; }
2710 if test -z "$CC"; then
2711 if test -n "$ac_tool_prefix"; then
2712 for ac_prog in cl.exe
2714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2715 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2717 $as_echo_n "checking
for $ac_word...
" >&6; }
2718 if ${ac_cv_prog_CC+:} false; then :
2719 $as_echo_n "(cached
) " >&6
2721 if test -n "$CC"; then
2722 ac_cv_prog_CC="$CC" # Let the user override the test.
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2742 if test -n "$CC"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2744 $as_echo "$CC" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2747 $as_echo "no
" >&6; }
2751 test -n "$CC" && break
2754 if test -z "$CC"; then
2756 for ac_prog in cl.exe
2758 # Extract the first word of "$ac_prog", so it can be a program name with args.
2759 set dummy $ac_prog; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2761 $as_echo_n "checking
for $ac_word...
" >&6; }
2762 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2763 $as_echo_n "(cached
) " >&6
2765 if test -n "$ac_ct_CC"; then
2766 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2775 ac_cv_prog_ac_ct_CC="$ac_prog"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2785 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2786 if test -n "$ac_ct_CC"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2788 $as_echo "$ac_ct_CC" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2791 $as_echo "no
" >&6; }
2795 test -n "$ac_ct_CC" && break
2798 if test "x
$ac_ct_CC" = x; then
2801 case $cross_compiling:$ac_tool_warned in
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2804 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2805 ac_tool_warned=yes ;;
2814 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error $? "no acceptable C compiler found in \$PATH
2817 See \`config.log' for more details
" "$LINENO" 5; }
2819 # Provide some information about the compiler.
2820 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2823 for ac_option in --version -v -V -qversion; do
2824 { { ac_try="$ac_compiler $ac_option >&5"
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2829 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830 $as_echo "$ac_try_echo"; } >&5
2831 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2833 if test -s conftest.err; then
2835 ... rest of stderr output deleted ...
2836 10q' conftest.err >conftest.er1
2837 cat conftest.er1 >&5
2839 rm -f conftest.er1 conftest.err
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2841 test $ac_status = 0; }
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2855 ac_clean_files_save=$ac_clean_files
2856 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2857 # Try to create an executable without -o first, disregard a.out.
2858 # It will help us diagnose broken compilers, and finding out an intuition
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
2861 $as_echo_n "checking whether the C compiler works...
" >&6; }
2862 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2864 # The possible output files:
2865 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2868 for ac_file in $ac_files
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2872 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2877 if { { ac_try="$ac_link_default"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_link_default") 2>&5
2886 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2887 test $ac_status = 0; }; then :
2888 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2889 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2890 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2891 # so that the user can short-circuit this test for compilers unknown to
2893 for ac_file in $ac_files ''
2895 test -f "$ac_file" || continue
2897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2900 # We found the default executable, but exeext='' is most
2904 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2906 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908 # We set ac_cv_exeext here because the later test for it is not
2909 # safe: cross compilers may not add the suffix if given an `-o'
2910 # argument, so we may need to know it at that point already.
2911 # Even if this section looks crufty: it has the advantage of
2918 test "$ac_cv_exeext" = no && ac_cv_exeext=
2923 if test -z "$ac_file"; then :
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2925 $as_echo "no
" >&6; }
2926 $as_echo "$as_me: failed program was
:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2931 as_fn_error 77 "C compiler cannot create executables
2932 See \`config.log' for more details
" "$LINENO" 5; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2935 $as_echo "yes" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
2938 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
2940 $as_echo "$ac_file" >&6; }
2941 ac_exeext=$ac_cv_exeext
2943 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2944 ac_clean_files=$ac_clean_files_save
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2946 $as_echo_n "checking
for suffix of executables...
" >&6; }
2947 if { { ac_try="$ac_link"
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_link") 2>&5
2956 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2957 test $ac_status = 0; }; then :
2958 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2959 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2960 # work properly (i.e., refer to `conftest.exe'), while it won't with
2962 for ac_file in conftest.exe conftest conftest.*; do
2963 test -f "$ac_file" || continue
2965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2966 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2975 See \`config.log' for more details
" "$LINENO" 5; }
2977 rm -f conftest conftest$ac_cv_exeext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2979 $as_echo "$ac_cv_exeext" >&6; }
2981 rm -f conftest.$ac_ext
2982 EXEEXT=$ac_cv_exeext
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2990 FILE *f = fopen ("conftest.out
", "w
");
2991 return ferror (f) || fclose (f) != 0;
2997 ac_clean_files="$ac_clean_files conftest.out
"
2998 # Check that the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3001 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3002 if test "$cross_compiling" != yes; then
3003 { { ac_try="$ac_link"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_link") 2>&5
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3013 test $ac_status = 0; }
3014 if { ac_try='./conftest$ac_cv_exeext'
3015 { { case "(($ac_try" in
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3019 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3020 $as_echo "$ac_try_echo"; } >&5
3021 (eval "$ac_try") 2>&5
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3024 test $ac_status = 0; }; }; then
3027 if test "$cross_compiling" = maybe; then
3030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error $? "cannot run C compiled programs.
3033 If you meant to cross compile, use \`--host'.
3034 See \
`config.log' for more details" "$LINENO" 5; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3039 $as_echo "$cross_compiling" >&6; }
3041 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3042 ac_clean_files=$ac_clean_files_save
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3044 $as_echo_n "checking for suffix of object files... " >&6; }
3045 if ${ac_cv_objext+:} false; then :
3046 $as_echo_n "(cached) " >&6
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3059 rm -f conftest.o conftest.obj
3060 if { { ac_try="$ac_compile"
3062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3063 *) ac_try_echo
=$ac_try;;
3065 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_compile") 2>&5
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070 test $ac_status = 0; }; then :
3071 for ac_file
in conftest.o conftest.obj conftest.
*; do
3072 test -f "$ac_file" ||
continue;
3074 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3075 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3080 $as_echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.
$ac_ext >&5
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details" "$LINENO" 5; }
3088 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3091 $as_echo "$ac_cv_objext" >&6; }
3092 OBJEXT
=$ac_cv_objext
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3095 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3096 if ${ac_cv_c_compiler_gnu+:} false
; then :
3097 $as_echo_n "(cached) " >&6
3099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3113 if ac_fn_c_try_compile
"$LINENO"; then :
3118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3119 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3123 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3124 if test $ac_compiler_gnu = yes; then
3129 ac_test_CFLAGS
=${CFLAGS+set}
3130 ac_save_CFLAGS
=$CFLAGS
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3132 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3133 if ${ac_cv_prog_cc_g+:} false
; then :
3134 $as_echo_n "(cached) " >&6
3136 ac_save_c_werror_flag
=$ac_c_werror_flag
3137 ac_c_werror_flag
=yes
3140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3151 if ac_fn_c_try_compile
"$LINENO"; then :
3155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3166 if ac_fn_c_try_compile
"$LINENO"; then :
3169 ac_c_werror_flag
=$ac_save_c_werror_flag
3171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 if ac_fn_c_try_compile
"$LINENO"; then :
3185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3190 ac_c_werror_flag
=$ac_save_c_werror_flag
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3193 $as_echo "$ac_cv_prog_cc_g" >&6; }
3194 if test "$ac_test_CFLAGS" = set; then
3195 CFLAGS
=$ac_save_CFLAGS
3196 elif test $ac_cv_prog_cc_g = yes; then
3197 if test "$GCC" = yes; then
3203 if test "$GCC" = yes; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3210 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3211 if ${ac_cv_prog_cc_c89+:} false
; then :
3212 $as_echo_n "(cached) " >&6
3214 ac_cv_prog_cc_c89
=no
3216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3221 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3222 struct buf { int x; };
3223 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3224 static char *e (p, i)
3230 static char *f (char * (*g) (char **, int), char **p, ...)
3235 s = g (p, va_arg (v,int));
3240 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3241 function prototypes and stuff, but not '\xHH' hex character constants.
3242 These don't provoke an error unfortunately, instead are silently treated
3243 as 'x'. The following induces an error, until -std is added to get
3244 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3245 array size at least. It's necessary to write '\x00'==0 to get something
3246 that's true only with -std. */
3247 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3249 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3250 inside strings and character constants. */
3252 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3254 int test (int i, double x);
3255 struct s1 {int (*f) (int a);};
3256 struct s2 {int (*f) (double a);};
3257 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3263 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3268 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3269 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3271 CC
="$ac_save_CC $ac_arg"
3272 if ac_fn_c_try_compile
"$LINENO"; then :
3273 ac_cv_prog_cc_c89
=$ac_arg
3275 rm -f core conftest.err conftest.
$ac_objext
3276 test "x$ac_cv_prog_cc_c89" != "xno" && break
3278 rm -f conftest.
$ac_ext
3283 case "x$ac_cv_prog_cc_c89" in
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3286 $as_echo "none needed" >&6; } ;;
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3289 $as_echo "unsupported" >&6; } ;;
3291 CC
="$CC $ac_cv_prog_cc_c89"
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3293 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3295 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3300 ac_cpp
='$CPP $CPPFLAGS'
3301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3306 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3307 if ${ac_cv_path_SED+:} false
; then :
3308 $as_echo_n "(cached) " >&6
3310 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3311 for ac_i
in 1 2 3 4 5 6 7; do
3312 ac_script
="$ac_script$as_nl$ac_script"
3314 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3315 { ac_script
=; unset ac_script
;}
3316 if test -z "$SED"; then
3317 ac_path_SED_found
=false
3318 # Loop through the user's path and test for each of PROGNAME-LIST
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_prog
in sed gsed
; do
3325 for ac_exec_ext
in '' $ac_executable_extensions; do
3326 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3327 as_fn_executable_p
"$ac_path_SED" ||
continue
3328 # Check for GNU ac_path_SED and select it if it is found.
3329 # Check for GNU $ac_path_SED
3330 case `"$ac_path_SED" --version 2>&1` in
3332 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3335 $as_echo_n 0123456789 >"conftest.in"
3338 cat "conftest.in" "conftest.in" >"conftest.tmp"
3339 mv "conftest.tmp" "conftest.in"
3340 cp "conftest.in" "conftest.nl"
3341 $as_echo '' >> "conftest.nl"
3342 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3343 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3344 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3345 if test $ac_count -gt ${ac_path_SED_max-0}; then
3346 # Best one so far, save it but keep looking for a better one
3347 ac_cv_path_SED
="$ac_path_SED"
3348 ac_path_SED_max
=$ac_count
3350 # 10*(2^10) chars as input seems more than enough
3351 test $ac_count -gt 10 && break
3353 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3356 $ac_path_SED_found && break 3
3361 if test -z "$ac_cv_path_SED"; then
3362 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3370 $as_echo "$ac_cv_path_SED" >&6; }
3371 SED
="$ac_cv_path_SED"
3374 test -z "$SED" && SED
=sed
3375 Xsed
="$SED -e 1s/^X//"
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3388 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3389 if ${ac_cv_path_GREP+:} false
; then :
3390 $as_echo_n "(cached) " >&6
3392 if test -z "$GREP"; then
3393 ac_path_GREP_found
=false
3394 # Loop through the user's path and test for each of PROGNAME-LIST
3395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3396 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3399 test -z "$as_dir" && as_dir
=.
3400 for ac_prog
in grep ggrep
; do
3401 for ac_exec_ext
in '' $ac_executable_extensions; do
3402 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3403 as_fn_executable_p
"$ac_path_GREP" ||
continue
3404 # Check for GNU ac_path_GREP and select it if it is found.
3405 # Check for GNU $ac_path_GREP
3406 case `"$ac_path_GREP" --version 2>&1` in
3408 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3411 $as_echo_n 0123456789 >"conftest.in"
3414 cat "conftest.in" "conftest.in" >"conftest.tmp"
3415 mv "conftest.tmp" "conftest.in"
3416 cp "conftest.in" "conftest.nl"
3417 $as_echo 'GREP' >> "conftest.nl"
3418 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3419 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3420 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3421 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3422 # Best one so far, save it but keep looking for a better one
3423 ac_cv_path_GREP
="$ac_path_GREP"
3424 ac_path_GREP_max
=$ac_count
3426 # 10*(2^10) chars as input seems more than enough
3427 test $ac_count -gt 10 && break
3429 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3432 $ac_path_GREP_found && break 3
3437 if test -z "$ac_cv_path_GREP"; then
3438 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3441 ac_cv_path_GREP
=$GREP
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3446 $as_echo "$ac_cv_path_GREP" >&6; }
3447 GREP
="$ac_cv_path_GREP"
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3451 $as_echo_n "checking for egrep... " >&6; }
3452 if ${ac_cv_path_EGREP+:} false
; then :
3453 $as_echo_n "(cached) " >&6
3455 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3456 then ac_cv_path_EGREP
="$GREP -E"
3458 if test -z "$EGREP"; then
3459 ac_path_EGREP_found
=false
3460 # Loop through the user's path and test for each of PROGNAME-LIST
3461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3462 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3465 test -z "$as_dir" && as_dir
=.
3466 for ac_prog
in egrep; do
3467 for ac_exec_ext
in '' $ac_executable_extensions; do
3468 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3469 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3470 # Check for GNU ac_path_EGREP and select it if it is found.
3471 # Check for GNU $ac_path_EGREP
3472 case `"$ac_path_EGREP" --version 2>&1` in
3474 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3477 $as_echo_n 0123456789 >"conftest.in"
3480 cat "conftest.in" "conftest.in" >"conftest.tmp"
3481 mv "conftest.tmp" "conftest.in"
3482 cp "conftest.in" "conftest.nl"
3483 $as_echo 'EGREP' >> "conftest.nl"
3484 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3485 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3486 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3487 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3488 # Best one so far, save it but keep looking for a better one
3489 ac_cv_path_EGREP
="$ac_path_EGREP"
3490 ac_path_EGREP_max
=$ac_count
3492 # 10*(2^10) chars as input seems more than enough
3493 test $ac_count -gt 10 && break
3495 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3498 $ac_path_EGREP_found && break 3
3503 if test -z "$ac_cv_path_EGREP"; then
3504 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3507 ac_cv_path_EGREP
=$EGREP
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3513 $as_echo "$ac_cv_path_EGREP" >&6; }
3514 EGREP
="$ac_cv_path_EGREP"
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3518 $as_echo_n "checking for fgrep... " >&6; }
3519 if ${ac_cv_path_FGREP+:} false
; then :
3520 $as_echo_n "(cached) " >&6
3522 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3523 then ac_cv_path_FGREP
="$GREP -F"
3525 if test -z "$FGREP"; then
3526 ac_path_FGREP_found
=false
3527 # Loop through the user's path and test for each of PROGNAME-LIST
3528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3532 test -z "$as_dir" && as_dir
=.
3533 for ac_prog
in fgrep
; do
3534 for ac_exec_ext
in '' $ac_executable_extensions; do
3535 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3536 as_fn_executable_p
"$ac_path_FGREP" ||
continue
3537 # Check for GNU ac_path_FGREP and select it if it is found.
3538 # Check for GNU $ac_path_FGREP
3539 case `"$ac_path_FGREP" --version 2>&1` in
3541 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3544 $as_echo_n 0123456789 >"conftest.in"
3547 cat "conftest.in" "conftest.in" >"conftest.tmp"
3548 mv "conftest.tmp" "conftest.in"
3549 cp "conftest.in" "conftest.nl"
3550 $as_echo 'FGREP' >> "conftest.nl"
3551 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3552 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3553 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3554 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3555 # Best one so far, save it but keep looking for a better one
3556 ac_cv_path_FGREP
="$ac_path_FGREP"
3557 ac_path_FGREP_max
=$ac_count
3559 # 10*(2^10) chars as input seems more than enough
3560 test $ac_count -gt 10 && break
3562 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3565 $ac_path_FGREP_found && break 3
3570 if test -z "$ac_cv_path_FGREP"; then
3571 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3574 ac_cv_path_FGREP
=$FGREP
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3580 $as_echo "$ac_cv_path_FGREP" >&6; }
3581 FGREP
="$ac_cv_path_FGREP"
3584 test -z "$GREP" && GREP
=grep
3604 # Check whether --with-gnu-ld was given.
3605 if test "${with_gnu_ld+set}" = set; then :
3606 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
3612 if test yes = "$GCC"; then
3613 # Check if gcc -print-prog-name=ld gives a path.
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3615 $as_echo_n "checking for ld used by $CC... " >&6; }
3618 # gcc leaves a trailing carriage return, which upsets mingw
3619 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3621 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3624 # Accept absolute paths.
3626 re_direlt
='/[^/][^/]*/\.\./'
3627 # Canonicalize the pathname of ld
3628 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3629 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3630 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3632 test -z "$LD" && LD
=$ac_prog
3635 # If it fails, then pretend we aren't using GCC.
3639 # If it is relative, then search for the first ld in PATH.
3643 elif test yes = "$with_gnu_ld"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3645 $as_echo_n "checking for GNU ld... " >&6; }
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3648 $as_echo_n "checking for non-GNU ld... " >&6; }
3650 if ${lt_cv_path_LD+:} false
; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -z "$LD"; then
3654 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3655 for ac_dir
in $PATH; do
3657 test -z "$ac_dir" && ac_dir
=.
3658 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3659 lt_cv_path_LD
=$ac_dir/$ac_prog
3660 # Check to see if the program is GNU ld. I'd rather use --version,
3661 # but apparently some variants of GNU ld only accept -v.
3662 # Break only if it was the GNU/non-GNU ld that we prefer.
3663 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3664 *GNU
* |
*'with BFD'*)
3665 test no
!= "$with_gnu_ld" && break
3668 test yes != "$with_gnu_ld" && break
3675 lt_cv_path_LD
=$LD # Let the user override the test with a path.
3680 if test -n "$LD"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3682 $as_echo "$LD" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3687 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3689 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3690 if ${lt_cv_prog_gnu_ld+:} false
; then :
3691 $as_echo_n "(cached) " >&6
3693 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3694 case `$LD -v 2>&1 </dev/null` in
3695 *GNU
* |
*'with BFD'*)
3696 lt_cv_prog_gnu_ld
=yes
3699 lt_cv_prog_gnu_ld
=no
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3704 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3705 with_gnu_ld
=$lt_cv_prog_gnu_ld
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3716 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3717 if ${lt_cv_path_NM+:} false
; then :
3718 $as_echo_n "(cached) " >&6
3720 if test -n "$NM"; then
3721 # Let the user override the test.
3724 lt_nm_to_check
=${ac_tool_prefix}nm
3725 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3726 lt_nm_to_check
="$lt_nm_to_check nm"
3728 for lt_tmp_nm
in $lt_nm_to_check; do
3729 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3730 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3732 test -z "$ac_dir" && ac_dir
=.
3733 tmp_nm
=$ac_dir/$lt_tmp_nm
3734 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
3735 # Check to see if the nm accepts a BSD-compat flag.
3736 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3737 # nm: unknown option "B" ignored
3738 # Tru64's nm complains that /dev/null is an invalid object file
3739 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3741 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
3742 *) lt_bad_file
=/dev
/null
;;
3744 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3745 *$lt_bad_file* |
*'Invalid file or object type'*)
3746 lt_cv_path_NM
="$tmp_nm -B"
3750 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3752 lt_cv_path_NM
="$tmp_nm -p"
3756 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3757 continue # so that we can try to find one that supports BSD flags
3766 : ${lt_cv_path_NM=no}
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3770 $as_echo "$lt_cv_path_NM" >&6; }
3771 if test no
!= "$lt_cv_path_NM"; then
3774 # Didn't find any BSD compatible name lister, look for dumpbin.
3775 if test -n "$DUMPBIN"; then :
3776 # Let the user override the test.
3778 if test -n "$ac_tool_prefix"; then
3779 for ac_prog
in dumpbin
"link -dump"
3781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3782 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3786 $as_echo_n "(cached) " >&6
3788 if test -n "$DUMPBIN"; then
3789 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir
=.
3796 for ac_exec_ext
in '' $ac_executable_extensions; do
3797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3798 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 DUMPBIN
=$ac_cv_prog_DUMPBIN
3809 if test -n "$DUMPBIN"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3811 $as_echo "$DUMPBIN" >&6; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3818 test -n "$DUMPBIN" && break
3821 if test -z "$DUMPBIN"; then
3822 ac_ct_DUMPBIN
=$DUMPBIN
3823 for ac_prog
in dumpbin
"link -dump"
3825 # Extract the first word of "$ac_prog", so it can be a program name with args.
3826 set dummy
$ac_prog; ac_word
=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3830 $as_echo_n "(cached) " >&6
3832 if test -n "$ac_ct_DUMPBIN"; then
3833 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir
=.
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3853 if test -n "$ac_ct_DUMPBIN"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3855 $as_echo "$ac_ct_DUMPBIN" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3862 test -n "$ac_ct_DUMPBIN" && break
3865 if test "x$ac_ct_DUMPBIN" = x
; then
3868 case $cross_compiling:$ac_tool_warned in
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3872 ac_tool_warned
=yes ;;
3874 DUMPBIN
=$ac_ct_DUMPBIN
3878 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3880 DUMPBIN
="$DUMPBIN -symbols -headers"
3888 if test : != "$DUMPBIN"; then
3892 test -z "$NM" && NM
=nm
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3900 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3901 if ${lt_cv_nm_interface+:} false
; then :
3902 $as_echo_n "(cached) " >&6
3904 lt_cv_nm_interface
="BSD nm"
3905 echo "int some_variable = 0;" > conftest.
$ac_ext
3906 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
3907 (eval "$ac_compile" 2>conftest.err
)
3908 cat conftest.err
>&5
3909 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3910 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3911 cat conftest.err
>&5
3912 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
3913 cat conftest.out
>&5
3914 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3915 lt_cv_nm_interface
="MS dumpbin"
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3920 $as_echo "$lt_cv_nm_interface" >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3923 $as_echo_n "checking whether ln -s works... " >&6; }
3925 if test "$LN_S" = "ln -s"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3927 $as_echo "yes" >&6; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3930 $as_echo "no, using $LN_S" >&6; }
3933 # find the maximum length of command line arguments
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3935 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3936 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3937 $as_echo_n "(cached) " >&6
3944 # On DJGPP, this test can blow up pretty badly due to problems in libc
3945 # (any single argument exceeding 2000 bytes causes a buffer overrun
3946 # during glob expansion). Even if it were fixed, the result of this
3947 # check would be larger than it should be.
3948 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3952 # Under GNU Hurd, this test is not required because there is
3953 # no limit to the length of command line arguments.
3954 # Libtool will interpret -1 as no limit whatsoever
3955 lt_cv_sys_max_cmd_len
=-1;
3958 cygwin
* | mingw
* | cegcc
*)
3959 # On Win9x/ME, this test blows up -- it succeeds, but takes
3960 # about 5 minutes as the teststring grows exponentially.
3961 # Worse, since 9x/ME are not pre-emptively multitasking,
3962 # you end up with a "frozen" computer, even though with patience
3963 # the test eventually succeeds (with a max line length of 256k).
3964 # Instead, let's just punt: use the minimum linelength reported by
3965 # all of the supported platforms: 8192 (on NT/2K/XP).
3966 lt_cv_sys_max_cmd_len
=8192;
3970 # On MiNT this can take a long time and run out of memory.
3971 lt_cv_sys_max_cmd_len
=8192;
3975 # On AmigaOS with pdksh, this test takes hours, literally.
3976 # So we just punt and use a minimum line length of 8192.
3977 lt_cv_sys_max_cmd_len
=8192;
3980 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
3981 # This has been around since 386BSD, at least. Likely further.
3982 if test -x /sbin
/sysctl
; then
3983 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3984 elif test -x /usr
/sbin
/sysctl
; then
3985 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3987 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3989 # And add a safety zone
3990 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3991 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3995 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3996 lt_cv_sys_max_cmd_len
=196608
4000 # The test takes a long time on OS/2.
4001 lt_cv_sys_max_cmd_len
=8192
4005 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4006 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4007 # nice to cause kernel panics so lets avoid the loop below.
4008 # First set a reasonable default.
4009 lt_cv_sys_max_cmd_len
=16384
4011 if test -x /sbin
/sysconfig
; then
4012 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4013 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4018 lt_cv_sys_max_cmd_len
=102400
4020 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4021 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4022 if test -n "$kargmax"; then
4023 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4025 lt_cv_sys_max_cmd_len
=32768
4029 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4030 if test -n "$lt_cv_sys_max_cmd_len" && \
4031 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
4032 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4033 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4035 # Make teststring a little bigger before we do anything with it.
4036 # a 1K string should be a reasonable start.
4037 for i
in 1 2 3 4 5 6 7 8; do
4038 teststring
=$teststring$teststring
4040 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4041 # If test is not a shell built-in, we'll probably end up computing a
4042 # maximum length that is only half of the actual maximum length, but
4044 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
4045 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4046 test 17 != "$i" # 1/2 MB should be enough
4049 teststring
=$teststring$teststring
4051 # Only check the string length outside the loop.
4052 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4054 # Add a significant safety factor because C++ compilers can tack on
4055 # massive amounts of additional arguments before passing them to the
4056 # linker. It appears as though 1/2 is a usable value.
4057 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4064 if test -n "$lt_cv_sys_max_cmd_len"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4066 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4069 $as_echo "none" >&6; }
4071 max_cmd_len
=$lt_cv_sys_max_cmd_len
4082 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4092 # test EBCDIC or ASCII
4093 case `echo X|tr X '\101'` in
4094 A
) # ASCII based system
4095 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4096 lt_SP2NL
='tr \040 \012'
4097 lt_NL2SP
='tr \015\012 \040\040'
4099 *) # EBCDIC based system
4100 lt_SP2NL
='tr \100 \n'
4101 lt_NL2SP
='tr \r\n \100\100'
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4114 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4115 if ${lt_cv_to_host_file_cmd+:} false
; then :
4116 $as_echo_n "(cached) " >&6
4121 *-*-mingw* ) # actually msys
4122 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4125 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4127 * ) # otherwise, assume *nix
4128 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4134 *-*-mingw* ) # actually msys
4135 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4138 lt_cv_to_host_file_cmd
=func_convert_file_noop
4140 * ) # otherwise, assume *nix
4141 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4145 * ) # unhandled hosts (and "normal" native builds)
4146 lt_cv_to_host_file_cmd
=func_convert_file_noop
4152 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4154 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4161 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4162 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4163 $as_echo_n "(cached) " >&6
4165 #assume ordinary cross tools, or native build.
4166 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4170 *-*-mingw* ) # actually msys
4171 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4179 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4181 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4188 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4189 if ${lt_cv_ld_reload_flag+:} false
; then :
4190 $as_echo_n "(cached) " >&6
4192 lt_cv_ld_reload_flag
='-r'
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4195 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4196 reload_flag
=$lt_cv_ld_reload_flag
4197 case $reload_flag in
4199 *) reload_flag
=" $reload_flag" ;;
4201 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4203 cygwin
* | mingw
* | pw32
* | cegcc
*)
4204 if test yes != "$GCC"; then
4209 if test yes = "$GCC"; then
4210 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4212 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4225 if test -n "$ac_tool_prefix"; then
4226 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4227 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4231 $as_echo_n "(cached) " >&6
4233 if test -n "$OBJDUMP"; then
4234 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir
=.
4241 for ac_exec_ext
in '' $ac_executable_extensions; do
4242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4243 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 OBJDUMP
=$ac_cv_prog_OBJDUMP
4254 if test -n "$OBJDUMP"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4256 $as_echo "$OBJDUMP" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4264 if test -z "$ac_cv_prog_OBJDUMP"; then
4265 ac_ct_OBJDUMP
=$OBJDUMP
4266 # Extract the first word of "objdump", so it can be a program name with args.
4267 set dummy objdump
; ac_word
=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4271 $as_echo_n "(cached) " >&6
4273 if test -n "$ac_ct_OBJDUMP"; then
4274 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir
=.
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4294 if test -n "$ac_ct_OBJDUMP"; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4296 $as_echo "$ac_ct_OBJDUMP" >&6; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4302 if test "x$ac_ct_OBJDUMP" = x
; then
4305 case $cross_compiling:$ac_tool_warned in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4309 ac_tool_warned
=yes ;;
4311 OBJDUMP
=$ac_ct_OBJDUMP
4314 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4317 test -z "$OBJDUMP" && OBJDUMP
=objdump
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4328 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4329 if ${lt_cv_deplibs_check_method+:} false
; then :
4330 $as_echo_n "(cached) " >&6
4332 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4333 lt_cv_file_magic_test_file
=
4334 lt_cv_deplibs_check_method
='unknown'
4335 # Need to set the preceding variable on all platforms that support
4336 # interlibrary dependencies.
4337 # 'none' -- dependencies not supported.
4338 # 'unknown' -- same as none, but documents that we really don't know.
4339 # 'pass_all' -- all dependencies passed with no checks.
4340 # 'test_compile' -- check by making test program.
4341 # 'file_magic [[regex]]' -- check by looking for files in library path
4342 # that responds to the $file_magic_cmd with a given extended regex.
4343 # If you have 'file' or equivalent on your system and you're not sure
4344 # whether 'pass_all' will *always* work, you probably want this one.
4348 lt_cv_deplibs_check_method
=pass_all
4352 lt_cv_deplibs_check_method
=pass_all
4356 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4357 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4358 lt_cv_file_magic_test_file
=/shlib
/libc.so
4362 # func_win32_libid is a shell function defined in ltmain.sh
4363 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4364 lt_cv_file_magic_cmd
='func_win32_libid'
4368 # Base MSYS/MinGW do not provide the 'file' command needed by
4369 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4370 # unless we find 'file', for example because we are cross-compiling.
4371 if ( file / ) >/dev
/null
2>&1; then
4372 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4373 lt_cv_file_magic_cmd
='func_win32_libid'
4375 # Keep this pattern in sync with the one in func_win32_libid.
4376 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4377 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4382 # use the weaker test based on 'objdump'. See mingw*.
4383 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4384 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4387 darwin
* | rhapsody
*)
4388 lt_cv_deplibs_check_method
=pass_all
4391 freebsd
* | dragonfly
*)
4392 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4395 # Not sure whether the presence of OpenBSD here was a mistake.
4396 # Let's accept both of them until this is cleared up.
4397 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4398 lt_cv_file_magic_cmd
=/usr
/bin
/file
4399 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4403 lt_cv_deplibs_check_method
=pass_all
4408 lt_cv_deplibs_check_method
=pass_all
4411 hpux10.20
* | hpux11
*)
4412 lt_cv_file_magic_cmd
=/usr
/bin
/file
4415 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4416 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4419 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]'
4420 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4423 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4424 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4430 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4431 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4434 irix5
* | irix6
* | nonstopux
*)
4436 *-32|
*"-32 ") libmagic
=32-bit;;
4437 *-n32|
*"-n32 ") libmagic
=N32
;;
4438 *-64|
*"-64 ") libmagic
=64-bit;;
4439 *) libmagic
=never-match
;;
4441 lt_cv_deplibs_check_method
=pass_all
4444 # This must be glibc/ELF.
4445 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
4446 lt_cv_deplibs_check_method
=pass_all
4450 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4451 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4453 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4458 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4459 lt_cv_file_magic_cmd
=/usr
/bin
/file
4460 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4464 lt_cv_deplibs_check_method
=pass_all
4468 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4469 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4471 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4475 osf3
* | osf4
* | osf5
*)
4476 lt_cv_deplibs_check_method
=pass_all
4480 lt_cv_deplibs_check_method
=pass_all
4484 lt_cv_deplibs_check_method
=pass_all
4487 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4488 lt_cv_deplibs_check_method
=pass_all
4492 case $host_vendor in
4494 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]'
4495 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4498 lt_cv_deplibs_check_method
=pass_all
4501 lt_cv_file_magic_cmd
='/bin/file'
4502 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4505 lt_cv_file_magic_cmd
='/bin/file'
4506 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4507 lt_cv_file_magic_test_file
=/lib
/libc.so
4510 lt_cv_deplibs_check_method
=pass_all
4513 lt_cv_deplibs_check_method
=pass_all
4519 lt_cv_deplibs_check_method
=pass_all
4522 lt_cv_deplibs_check_method
=pass_all
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4528 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4532 if test "$build" = "$host"; then
4535 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
4538 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4544 file_magic_cmd
=$lt_cv_file_magic_cmd
4545 deplibs_check_method
=$lt_cv_deplibs_check_method
4546 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4569 if test -n "$ac_tool_prefix"; then
4570 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4571 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$DLLTOOL"; then
4578 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir
=.
4585 for ac_exec_ext
in '' $ac_executable_extensions; do
4586 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4597 DLLTOOL
=$ac_cv_prog_DLLTOOL
4598 if test -n "$DLLTOOL"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4600 $as_echo "$DLLTOOL" >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4608 if test -z "$ac_cv_prog_DLLTOOL"; then
4609 ac_ct_DLLTOOL
=$DLLTOOL
4610 # Extract the first word of "dlltool", so it can be a program name with args.
4611 set dummy dlltool
; ac_word
=$2
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$ac_ct_DLLTOOL"; then
4618 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4638 if test -n "$ac_ct_DLLTOOL"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4640 $as_echo "$ac_ct_DLLTOOL" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4646 if test "x$ac_ct_DLLTOOL" = x
; then
4649 case $cross_compiling:$ac_tool_warned in
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4653 ac_tool_warned
=yes ;;
4655 DLLTOOL
=$ac_ct_DLLTOOL
4658 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4661 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4673 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4674 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
4675 $as_echo_n "(cached) " >&6
4677 lt_cv_sharedlib_from_linklib_cmd
='unknown'
4680 cygwin
* | mingw
* | pw32
* | cegcc
*)
4681 # two different shell functions defined in ltmain.sh;
4682 # decide which one to use based on capabilities of $DLLTOOL
4683 case `$DLLTOOL --help 2>&1` in
4684 *--identify-strict*)
4685 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
4688 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
4693 # fallback: assume linklib IS sharedlib
4694 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4700 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4701 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
4702 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
4711 if test -n "$ac_tool_prefix"; then
4714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4715 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4717 $as_echo_n "checking for $ac_word... " >&6; }
4718 if ${ac_cv_prog_AR+:} false
; then :
4719 $as_echo_n "(cached) " >&6
4721 if test -n "$AR"; then
4722 ac_cv_prog_AR
="$AR" # Let the user override the test.
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 if test -n "$AR"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4744 $as_echo "$AR" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4751 test -n "$AR" && break
4754 if test -z "$AR"; then
4758 # Extract the first word of "$ac_prog", so it can be a program name with args.
4759 set dummy
$ac_prog; ac_word
=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -n "$ac_ct_AR"; then
4766 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir
=.
4773 for ac_exec_ext
in '' $ac_executable_extensions; do
4774 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4775 ac_cv_prog_ac_ct_AR
="$ac_prog"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4786 if test -n "$ac_ct_AR"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4788 $as_echo "$ac_ct_AR" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4795 test -n "$ac_ct_AR" && break
4798 if test "x$ac_ct_AR" = x
; then
4801 case $cross_compiling:$ac_tool_warned in
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4805 ac_tool_warned
=yes ;;
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4825 $as_echo_n "checking for archiver @FILE support... " >&6; }
4826 if ${lt_cv_ar_at_file+:} false
; then :
4827 $as_echo_n "(cached) " >&6
4830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4841 if ac_fn_c_try_compile
"$LINENO"; then :
4842 echo conftest.
$ac_objext > conftest.lst
4843 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4844 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4845 (eval $lt_ar_try) 2>&5
4847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4848 test $ac_status = 0; }
4849 if test 0 -eq "$ac_status"; then
4850 # Ensure the archiver fails upon bogus file names.
4851 rm -f conftest.
$ac_objext libconftest.a
4852 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4853 (eval $lt_ar_try) 2>&5
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; }
4857 if test 0 -ne "$ac_status"; then
4861 rm -f conftest.
* libconftest.a
4864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
4868 $as_echo "$lt_cv_ar_at_file" >&6; }
4870 if test no
= "$lt_cv_ar_at_file"; then
4873 archiver_list_spec
=$lt_cv_ar_at_file
4882 if test -n "$ac_tool_prefix"; then
4883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4884 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_STRIP+:} false
; then :
4888 $as_echo_n "(cached) " >&6
4890 if test -n "$STRIP"; then
4891 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4897 test -z "$as_dir" && as_dir
=.
4898 for ac_exec_ext
in '' $ac_executable_extensions; do
4899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 STRIP
=$ac_cv_prog_STRIP
4911 if test -n "$STRIP"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4913 $as_echo "$STRIP" >&6; }
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4921 if test -z "$ac_cv_prog_STRIP"; then
4923 # Extract the first word of "strip", so it can be a program name with args.
4924 set dummy strip
; ac_word
=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$ac_ct_STRIP"; then
4931 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir
=.
4938 for ac_exec_ext
in '' $ac_executable_extensions; do
4939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_ac_ct_STRIP
="strip"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4951 if test -n "$ac_ct_STRIP"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4953 $as_echo "$ac_ct_STRIP" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4959 if test "x$ac_ct_STRIP" = x
; then
4962 case $cross_compiling:$ac_tool_warned in
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned
=yes ;;
4971 STRIP
="$ac_cv_prog_STRIP"
4974 test -z "$STRIP" && STRIP
=:
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_RANLIB+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$RANLIB"; then
4990 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 RANLIB
=$ac_cv_prog_RANLIB
5010 if test -n "$RANLIB"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5012 $as_echo "$RANLIB" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_RANLIB"; then
5021 ac_ct_RANLIB
=$RANLIB
5022 # Extract the first word of "ranlib", so it can be a program name with args.
5023 set dummy ranlib
; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_RANLIB"; then
5030 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5050 if test -n "$ac_ct_RANLIB"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5052 $as_echo "$ac_ct_RANLIB" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_RANLIB" = x
; then
5061 case $cross_compiling:$ac_tool_warned in
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned
=yes ;;
5067 RANLIB
=$ac_ct_RANLIB
5070 RANLIB
="$ac_cv_prog_RANLIB"
5073 test -z "$RANLIB" && RANLIB
=:
5080 # Determine commands to create old-style static archives.
5081 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5082 old_postinstall_cmds
='chmod 644 $oldlib'
5083 old_postuninstall_cmds
=
5085 if test -n "$RANLIB"; then
5088 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5091 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5094 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5099 lock_old_archive_extraction
=yes ;;
5101 lock_old_archive_extraction
=no
;;
5124 for ac_prog
in gawk mawk nawk
awk
5126 # Extract the first word of "$ac_prog", so it can be a program name with args.
5127 set dummy
$ac_prog; ac_word
=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_AWK+:} false
; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$AWK"; then
5134 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5143 ac_cv_prog_AWK
="$ac_prog"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 if test -n "$AWK"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5156 $as_echo "$AWK" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5163 test -n "$AWK" && break
5184 # If no C compiler was specified, use CC.
5187 # If no C compiler flags were specified, use CFLAGS.
5188 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5190 # Allow CC to be a program name with arguments.
5194 # Check for command to grab the raw symbol name followed by C symbol from nm.
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5196 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5197 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5198 $as_echo_n "(cached) " >&6
5201 # These are sane defaults that work on at least a few old systems.
5202 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5204 # Character class describing NM global symbol codes.
5205 symcode
='[BCDEGRST]'
5207 # Regexp to match symbols that can be accessed directly from C.
5208 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5210 # Define system-specific variables.
5215 cygwin
* | mingw
* | pw32
* | cegcc
*)
5216 symcode
='[ABCDGISTW]'
5219 if test ia64
= "$host_cpu"; then
5220 symcode
='[ABCDEGRST]'
5224 symcode
='[BCDEGRST]'
5227 symcode
='[BCDEGQRST]'
5238 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5246 # If we're using GNU nm, then use its standard symbol codes.
5247 case `$NM -V 2>&1` in
5248 *GNU
* |
*'with BFD'*)
5249 symcode
='[ABCDGIRSTW]' ;;
5252 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5253 # Gets list of data symbols to import.
5254 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5255 # Adjust the below global symbol transforms to fixup imported variables.
5256 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5257 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5258 lt_c_name_lib_hook
="\
5259 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5260 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5262 # Disable hooks by default.
5263 lt_cv_sys_global_symbol_to_import
=
5269 # Transform an extracted symbol line into a proper C declaration.
5270 # Some systems (esp. on ia64) link data and code symbols differently,
5271 # so use this general approach.
5272 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
5274 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5275 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5277 # Transform an extracted symbol line into symbol name and symbol address
5278 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
5280 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5281 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5283 # Transform an extracted symbol line into symbol name with lib prefix and
5285 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
5286 $lt_c_name_lib_hook\
5287 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5288 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5289 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5291 # Handle CRLF in mingw tool chain
5295 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5299 # Try without a prefix underscore, then with it.
5300 for ac_symprfx
in "" "_"; do
5302 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5303 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5305 # Write the raw and C identifiers.
5306 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5307 # Fake it for dumpbin and say T for any non-static function,
5308 # D for any global variable and I for any imported variable.
5309 # Also find C++ and __fastcall symbols from MSVC++,
5310 # which start with @ or ?.
5311 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5312 " {last_section=section; section=\$ 3};"\
5313 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5314 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5315 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5316 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5317 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5318 " \$ 0!~/External *\|/{next};"\
5319 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5320 " {if(hide[section]) next};"\
5321 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5322 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5323 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5324 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5325 " ' prfx=^$ac_symprfx"
5327 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5329 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5331 # Check to see that the pipe works correctly.
5335 cat > conftest.
$ac_ext <<_LT_EOF
5340 void nm_test_func(void);
5341 void nm_test_func(void){}
5345 int main(){nm_test_var='a';nm_test_func();return(0);}
5348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5349 (eval $ac_compile) 2>&5
5351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5352 test $ac_status = 0; }; then
5353 # Now try to grab the symbols.
5355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5356 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5359 test $ac_status = 0; } && test -s "$nlist"; then
5360 # Try sorting and uniquifying the output.
5361 if sort "$nlist" |
uniq > "$nlist"T
; then
5362 mv -f "$nlist"T
"$nlist"
5367 # Make sure that we snagged all the symbols we need.
5368 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5369 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5370 cat <<_LT_EOF > conftest.$ac_ext
5371 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5372 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5373 /* DATA imports from DLLs on WIN32 can't be const, because runtime
5374 relocations are performed -- see ld's documentation on pseudo-relocs. */
5375 # define LT_DLSYM_CONST
5376 #elif defined __osf__
5377 /* This system does not cope well with relocations in const data. */
5378 # define LT_DLSYM_CONST
5380 # define LT_DLSYM_CONST const
5388 # Now generate the symbol file.
5389 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5391 cat <<_LT_EOF >> conftest.$ac_ext
5393 /* The mapping between symbol names and symbols. */
5394 LT_DLSYM_CONST struct {
5398 lt__PROGRAM__LTX_preloaded_symbols[] =
5400 { "@PROGRAM@", (void *) 0 },
5402 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
5403 cat <<\_LT_EOF
>> conftest.
$ac_ext
5407 /* This works around a problem
in FreeBSD linker
*/
5408 #ifdef FREEBSD_WORKAROUND
5409 static const void
*lt_preloaded_setup
() {
5410 return lt__PROGRAM__LTX_preloaded_symbols
;
5418 # Now try linking the two files.
5419 mv conftest.
$ac_objext conftstm.
$ac_objext
5420 lt_globsym_save_LIBS
=$LIBS
5421 lt_globsym_save_CFLAGS
=$CFLAGS
5422 LIBS
=conftstm.
$ac_objext
5423 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5425 (eval $ac_link) 2>&5
5427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5428 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
5431 LIBS
=$lt_globsym_save_LIBS
5432 CFLAGS
=$lt_globsym_save_CFLAGS
5434 echo "cannot find nm_test_func in $nlist" >&5
5437 echo "cannot find nm_test_var in $nlist" >&5
5440 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5443 echo "$progname: failed program was:" >&5
5444 cat conftest.
$ac_ext >&5
5446 rm -rf conftest
* conftst
*
5448 # Do not use the global_symbol_pipe unless it works.
5449 if test yes = "$pipe_works"; then
5452 lt_cv_sys_global_symbol_pipe
=
5458 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5459 lt_cv_sys_global_symbol_to_cdecl
=
5461 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5463 $as_echo "failed" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5466 $as_echo "ok" >&6; }
5469 # Response file support.
5470 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5471 nm_file_list_spec
='@'
5472 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
5473 nm_file_list_spec
='@'
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5513 $as_echo_n "checking for sysroot... " >&6; }
5515 # Check whether --with-sysroot was given.
5516 if test "${with_sysroot+set}" = set; then :
5517 withval
=$with_sysroot;
5524 case $with_sysroot in #(
5526 if test yes = "$GCC"; then
5527 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5531 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5537 $as_echo "$with_sysroot" >&6; }
5538 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5543 $as_echo "${lt_sysroot:-no}" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
5550 $as_echo_n "checking for a working dd... " >&6; }
5551 if ${ac_cv_path_lt_DD+:} false
; then :
5552 $as_echo_n "(cached) " >&6
5554 printf 0123456789abcdef0123456789abcdef
>conftest.i
5555 cat conftest.i conftest.i
>conftest2.i
5557 if test -z "$lt_DD"; then
5558 ac_path_lt_DD_found
=false
5559 # Loop through the user's path and test for each of PROGNAME-LIST
5560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir
=.
5565 for ac_prog
in dd; do
5566 for ac_exec_ext
in '' $ac_executable_extensions; do
5567 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
5568 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
5569 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5570 cmp -s conftest.i conftest.out \
5571 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
5573 $ac_path_lt_DD_found && break 3
5578 if test -z "$ac_cv_path_lt_DD"; then
5582 ac_cv_path_lt_DD
=$lt_DD
5585 rm -f conftest.i conftest2.i conftest.out
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
5588 $as_echo "$ac_cv_path_lt_DD" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
5592 $as_echo_n "checking how to truncate binary pipes... " >&6; }
5593 if ${lt_cv_truncate_bin+:} false
; then :
5594 $as_echo_n "(cached) " >&6
5596 printf 0123456789abcdef0123456789abcdef
>conftest.i
5597 cat conftest.i conftest.i
>conftest2.i
5599 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5600 cmp -s conftest.i conftest.out \
5601 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
5603 rm -f conftest.i conftest2.i conftest.out
5604 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
5607 $as_echo "$lt_cv_truncate_bin" >&6; }
5615 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
5618 for cc_temp
in $
*""; do
5620 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
5621 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
5626 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
5629 # Check whether --enable-libtool-lock was given.
5630 if test "${enable_libtool_lock+set}" = set; then :
5631 enableval
=$enable_libtool_lock;
5634 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
5636 # Some flags need to be propagated to the compiler or linker for good
5640 # Find out what ABI is being produced by ac_compile, and set mode
5641 # options accordingly.
5642 echo 'int i;' > conftest.
$ac_ext
5643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5644 (eval $ac_compile) 2>&5
5646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5647 test $ac_status = 0; }; then
5648 case `/usr/bin/file conftest.$ac_objext` in
5660 # Find out what ABI is being produced by ac_compile, and set linker
5661 # options accordingly.
5662 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5664 (eval $ac_compile) 2>&5
5666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5667 test $ac_status = 0; }; then
5668 if test yes = "$lt_cv_prog_gnu_ld"; then
5669 case `/usr/bin/file conftest.$ac_objext` in
5671 LD
="${LD-ld} -melf32bsmip"
5674 LD
="${LD-ld} -melf32bmipn32"
5677 LD
="${LD-ld} -melf64bmip"
5681 case `/usr/bin/file conftest.$ac_objext` in
5698 # Find out what ABI is being produced by ac_compile, and set linker
5699 # options accordingly.
5700 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5701 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5702 (eval $ac_compile) 2>&5
5704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5705 test $ac_status = 0; }; then
5707 case `/usr/bin/file conftest.$ac_objext` in
5715 case `/usr/bin/file conftest.$ac_objext` in
5717 emul
="${emul}btsmip"
5720 emul
="${emul}ltsmip"
5723 case `/usr/bin/file conftest.$ac_objext` in
5728 LD
="${LD-ld} -m $emul"
5733 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
5734 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5735 # Find out what ABI is being produced by ac_compile, and set linker
5736 # options accordingly. Note that the listed cases only cover the
5737 # situations where additional linker options are needed (such as when
5738 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
5739 # vice versa); the common cases where no linker options are needed do
5740 # not appear in the list.
5741 echo 'int i;' > conftest.
$ac_ext
5742 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5743 (eval $ac_compile) 2>&5
5745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5746 test $ac_status = 0; }; then
5747 case `/usr/bin/file conftest.o` in
5750 x86_64-
*kfreebsd
*-gnu)
5751 LD
="${LD-ld} -m elf_i386_fbsd"
5754 case `/usr/bin/file conftest.o` in
5756 LD
="${LD-ld} -m elf32_x86_64"
5759 LD
="${LD-ld} -m elf_i386"
5763 powerpc64le-
*linux
*)
5764 LD
="${LD-ld} -m elf32lppclinux"
5767 LD
="${LD-ld} -m elf32ppclinux"
5770 LD
="${LD-ld} -m elf_s390"
5773 LD
="${LD-ld} -m elf32_sparc"
5779 x86_64-
*kfreebsd
*-gnu)
5780 LD
="${LD-ld} -m elf_x86_64_fbsd"
5783 LD
="${LD-ld} -m elf_x86_64"
5786 LD
="${LD-ld} -m elf64lppc"
5789 LD
="${LD-ld} -m elf64ppc"
5791 s390
*-*linux
*|s390
*-*tpf
*)
5792 LD
="${LD-ld} -m elf64_s390"
5795 LD
="${LD-ld} -m elf64_sparc"
5805 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5807 CFLAGS
="$CFLAGS -belf"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5809 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5810 if ${lt_cv_cc_needs_belf+:} false
; then :
5811 $as_echo_n "(cached) " >&6
5814 ac_cpp
='$CPP $CPPFLAGS'
5815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5830 if ac_fn_c_try_link
"$LINENO"; then :
5831 lt_cv_cc_needs_belf
=yes
5833 lt_cv_cc_needs_belf
=no
5835 rm -f core conftest.err conftest.
$ac_objext \
5836 conftest
$ac_exeext conftest.
$ac_ext
5838 ac_cpp
='$CPP $CPPFLAGS'
5839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5845 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5846 if test yes != "$lt_cv_cc_needs_belf"; then
5847 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5852 # Find out what ABI is being produced by ac_compile, and set linker
5853 # options accordingly.
5854 echo 'int i;' > conftest.
$ac_ext
5855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5856 (eval $ac_compile) 2>&5
5858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5859 test $ac_status = 0; }; then
5860 case `/usr/bin/file conftest.o` in
5862 case $lt_cv_prog_gnu_ld in
5865 i?
86-*-solaris*|x86_64-
*-solaris*)
5866 LD
="${LD-ld} -m elf_x86_64"
5869 LD
="${LD-ld} -m elf64_sparc"
5872 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5873 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
5878 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5890 need_locks
=$enable_libtool_lock
5892 if test -n "$ac_tool_prefix"; then
5893 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5894 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
5898 $as_echo_n "(cached) " >&6
5900 if test -n "$MANIFEST_TOOL"; then
5901 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
5903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir
=.
5908 for ac_exec_ext
in '' $ac_executable_extensions; do
5909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
5921 if test -n "$MANIFEST_TOOL"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5923 $as_echo "$MANIFEST_TOOL" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5931 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5932 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
5933 # Extract the first word of "mt", so it can be a program name with args.
5934 set dummy mt
; ac_word
=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
5938 $as_echo_n "(cached) " >&6
5940 if test -n "$ac_ct_MANIFEST_TOOL"; then
5941 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir
=.
5948 for ac_exec_ext
in '' $ac_executable_extensions; do
5949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5961 if test -n "$ac_ct_MANIFEST_TOOL"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5963 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5969 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
5972 case $cross_compiling:$ac_tool_warned in
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5976 ac_tool_warned
=yes ;;
5978 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
5981 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
5984 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5986 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5987 if ${lt_cv_path_mainfest_tool+:} false
; then :
5988 $as_echo_n "(cached) " >&6
5990 lt_cv_path_mainfest_tool
=no
5991 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5992 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
5993 cat conftest.err
>&5
5994 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
5995 lt_cv_path_mainfest_tool
=yes
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6000 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6001 if test yes != "$lt_cv_path_mainfest_tool"; then
6011 rhapsody
* | darwin
*)
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6014 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6018 $as_echo_n "(cached) " >&6
6020 if test -n "$DSYMUTIL"; then
6021 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6027 test -z "$as_dir" && as_dir
=.
6028 for ac_exec_ext
in '' $ac_executable_extensions; do
6029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6041 if test -n "$DSYMUTIL"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6043 $as_echo "$DSYMUTIL" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6051 if test -z "$ac_cv_prog_DSYMUTIL"; then
6052 ac_ct_DSYMUTIL
=$DSYMUTIL
6053 # Extract the first word of "dsymutil", so it can be a program name with args.
6054 set dummy dsymutil
; ac_word
=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6058 $as_echo_n "(cached) " >&6
6060 if test -n "$ac_ct_DSYMUTIL"; then
6061 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir
=.
6068 for ac_exec_ext
in '' $ac_executable_extensions; do
6069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6081 if test -n "$ac_ct_DSYMUTIL"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6083 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6089 if test "x$ac_ct_DSYMUTIL" = x
; then
6092 case $cross_compiling:$ac_tool_warned in
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096 ac_tool_warned
=yes ;;
6098 DSYMUTIL
=$ac_ct_DSYMUTIL
6101 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6106 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if ${ac_cv_prog_NMEDIT+:} false
; then :
6110 $as_echo_n "(cached) " >&6
6112 if test -n "$NMEDIT"; then
6113 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6119 test -z "$as_dir" && as_dir
=.
6120 for ac_exec_ext
in '' $ac_executable_extensions; do
6121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 NMEDIT
=$ac_cv_prog_NMEDIT
6133 if test -n "$NMEDIT"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6135 $as_echo "$NMEDIT" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_NMEDIT"; then
6144 ac_ct_NMEDIT
=$NMEDIT
6145 # Extract the first word of "nmedit", so it can be a program name with args.
6146 set dummy nmedit
; ac_word
=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6150 $as_echo_n "(cached) " >&6
6152 if test -n "$ac_ct_NMEDIT"; then
6153 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6159 test -z "$as_dir" && as_dir
=.
6160 for ac_exec_ext
in '' $ac_executable_extensions; do
6161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6173 if test -n "$ac_ct_NMEDIT"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6175 $as_echo "$ac_ct_NMEDIT" >&6; }
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_NMEDIT" = x
; then
6184 case $cross_compiling:$ac_tool_warned in
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned
=yes ;;
6190 NMEDIT
=$ac_ct_NMEDIT
6193 NMEDIT
="$ac_cv_prog_NMEDIT"
6196 if test -n "$ac_tool_prefix"; then
6197 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6198 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200 $as_echo_n "checking for $ac_word... " >&6; }
6201 if ${ac_cv_prog_LIPO+:} false
; then :
6202 $as_echo_n "(cached) " >&6
6204 if test -n "$LIPO"; then
6205 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6211 test -z "$as_dir" && as_dir
=.
6212 for ac_exec_ext
in '' $ac_executable_extensions; do
6213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6214 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 LIPO
=$ac_cv_prog_LIPO
6225 if test -n "$LIPO"; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6227 $as_echo "$LIPO" >&6; }
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6235 if test -z "$ac_cv_prog_LIPO"; then
6237 # Extract the first word of "lipo", so it can be a program name with args.
6238 set dummy lipo
; ac_word
=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6242 $as_echo_n "(cached) " >&6
6244 if test -n "$ac_ct_LIPO"; then
6245 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir
=.
6252 for ac_exec_ext
in '' $ac_executable_extensions; do
6253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6254 ac_cv_prog_ac_ct_LIPO
="lipo"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6265 if test -n "$ac_ct_LIPO"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6267 $as_echo "$ac_ct_LIPO" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6273 if test "x$ac_ct_LIPO" = x
; then
6276 case $cross_compiling:$ac_tool_warned in
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6280 ac_tool_warned
=yes ;;
6285 LIPO
="$ac_cv_prog_LIPO"
6288 if test -n "$ac_tool_prefix"; then
6289 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6290 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292 $as_echo_n "checking for $ac_word... " >&6; }
6293 if ${ac_cv_prog_OTOOL+:} false
; then :
6294 $as_echo_n "(cached) " >&6
6296 if test -n "$OTOOL"; then
6297 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6303 test -z "$as_dir" && as_dir
=.
6304 for ac_exec_ext
in '' $ac_executable_extensions; do
6305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6306 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316 OTOOL
=$ac_cv_prog_OTOOL
6317 if test -n "$OTOOL"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6319 $as_echo "$OTOOL" >&6; }
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322 $as_echo "no" >&6; }
6327 if test -z "$ac_cv_prog_OTOOL"; then
6329 # Extract the first word of "otool", so it can be a program name with args.
6330 set dummy otool
; ac_word
=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6334 $as_echo_n "(cached) " >&6
6336 if test -n "$ac_ct_OTOOL"; then
6337 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir
=.
6344 for ac_exec_ext
in '' $ac_executable_extensions; do
6345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6346 ac_cv_prog_ac_ct_OTOOL
="otool"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6357 if test -n "$ac_ct_OTOOL"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6359 $as_echo "$ac_ct_OTOOL" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6365 if test "x$ac_ct_OTOOL" = x
; then
6368 case $cross_compiling:$ac_tool_warned in
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6372 ac_tool_warned
=yes ;;
6377 OTOOL
="$ac_cv_prog_OTOOL"
6380 if test -n "$ac_tool_prefix"; then
6381 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6382 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6384 $as_echo_n "checking for $ac_word... " >&6; }
6385 if ${ac_cv_prog_OTOOL64+:} false
; then :
6386 $as_echo_n "(cached) " >&6
6388 if test -n "$OTOOL64"; then
6389 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6395 test -z "$as_dir" && as_dir
=.
6396 for ac_exec_ext
in '' $ac_executable_extensions; do
6397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6398 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6408 OTOOL64
=$ac_cv_prog_OTOOL64
6409 if test -n "$OTOOL64"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6411 $as_echo "$OTOOL64" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6419 if test -z "$ac_cv_prog_OTOOL64"; then
6420 ac_ct_OTOOL64
=$OTOOL64
6421 # Extract the first word of "otool64", so it can be a program name with args.
6422 set dummy otool64
; ac_word
=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6426 $as_echo_n "(cached) " >&6
6428 if test -n "$ac_ct_OTOOL64"; then
6429 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir
=.
6436 for ac_exec_ext
in '' $ac_executable_extensions; do
6437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6449 if test -n "$ac_ct_OTOOL64"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6451 $as_echo "$ac_ct_OTOOL64" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6457 if test "x$ac_ct_OTOOL64" = x
; then
6460 case $cross_compiling:$ac_tool_warned in
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6464 ac_tool_warned
=yes ;;
6466 OTOOL64
=$ac_ct_OTOOL64
6469 OTOOL64
="$ac_cv_prog_OTOOL64"
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6499 $as_echo_n "checking for -single_module linker flag... " >&6; }
6500 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6501 $as_echo_n "(cached) " >&6
6503 lt_cv_apple_cc_single_mod
=no
6504 if test -z "$LT_MULTI_MODULE"; then
6505 # By default we will add the -single_module flag. You can override
6506 # by either setting the environment variable LT_MULTI_MODULE
6507 # non-empty at configure time, or by adding -multi_module to the
6509 rm -rf libconftest.dylib
*
6510 echo "int foo(void){return 1;}" > conftest.c
6511 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6512 -dynamiclib -Wl,-single_module conftest.c" >&5
6513 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6514 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6516 # If there is a non-empty error log, and "single_module"
6517 # appears in it, assume the flag caused a linker warning
6518 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6519 cat conftest.err
>&5
6520 # Otherwise, if the output was created with a 0 exit code from
6521 # the compiler, it worked.
6522 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
6523 lt_cv_apple_cc_single_mod
=yes
6525 cat conftest.err
>&5
6527 rm -rf libconftest.dylib
*
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6532 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6535 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6536 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6537 $as_echo_n "(cached) " >&6
6539 lt_cv_ld_exported_symbols_list
=no
6540 save_LDFLAGS
=$LDFLAGS
6541 echo "_main" > conftest.sym
6542 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6554 if ac_fn_c_try_link
"$LINENO"; then :
6555 lt_cv_ld_exported_symbols_list
=yes
6557 lt_cv_ld_exported_symbols_list
=no
6559 rm -f core conftest.err conftest.
$ac_objext \
6560 conftest
$ac_exeext conftest.
$ac_ext
6561 LDFLAGS
=$save_LDFLAGS
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6565 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6568 $as_echo_n "checking for -force_load linker flag... " >&6; }
6569 if ${lt_cv_ld_force_load+:} false
; then :
6570 $as_echo_n "(cached) " >&6
6572 lt_cv_ld_force_load
=no
6573 cat > conftest.c
<< _LT_EOF
6574 int forced_loaded() { return 2;}
6576 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6577 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6578 echo "$AR cru libconftest.a conftest.o" >&5
6579 $AR cru libconftest.a conftest.o
2>&5
6580 echo "$RANLIB libconftest.a" >&5
6581 $RANLIB libconftest.a
2>&5
6582 cat > conftest.c
<< _LT_EOF
6583 int main() { return 0;}
6585 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6586 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6588 if test -s conftest.err
&& $GREP force_load conftest.err
; then
6589 cat conftest.err
>&5
6590 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
6591 lt_cv_ld_force_load
=yes
6593 cat conftest.err
>&5
6595 rm -f conftest.err libconftest.a conftest conftest.c
6596 rm -rf conftest.dSYM
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6600 $as_echo "$lt_cv_ld_force_load" >&6; }
6602 rhapsody
* | darwin1.
[012])
6603 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
6605 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6606 darwin
*) # darwin 5.x on
6607 # if running on 10.5 or later, the deployment target defaults
6608 # to the OS version, if on x86, and 10.4, the deployment
6609 # target defaults to 10.4. Don't you love it?
6610 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6611 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
6612 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6614 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6616 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6620 if test yes = "$lt_cv_apple_cc_single_mod"; then
6621 _lt_dar_single_mod
='$single_module'
6623 if test yes = "$lt_cv_ld_exported_symbols_list"; then
6624 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
6626 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
6628 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
6629 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6636 # func_munge_path_list VARIABLE PATH
6637 # -----------------------------------
6638 # VARIABLE is name of variable containing _space_ separated list of
6639 # directories to be munged by the contents of PATH, which is string
6642 # string "DIR[ DIR]" will be prepended to VARIABLE
6644 # string "DIR[ DIR]" will be appended to VARIABLE
6645 # "DIRP[:DIRP]::[DIRA:]DIRA"
6646 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
6647 # "DIRA[ DIRA]" will be appended to VARIABLE
6649 # VARIABLE will be replaced by "DIR[ DIR]"
6650 func_munge_path_list
()
6656 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
6659 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
6662 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
6663 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
6666 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
6672 ac_cpp
='$CPP $CPPFLAGS'
6673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6677 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6678 # On Suns, sometimes $CPP names a directory.
6679 if test -n "$CPP" && test -d "$CPP"; then
6682 if test -z "$CPP"; then
6683 if ${ac_cv_prog_CPP+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 # Double quotes because CPP needs to be expanded
6687 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6690 for ac_c_preproc_warn_flag
in '' yes
6692 # Use a header file that comes with gcc, so configuring glibc
6693 # with a fresh cross-compiler works.
6694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6695 # <limits.h> exists even on freestanding compilers.
6696 # On the NeXT, cc -E runs the code through the compiler's parser,
6697 # not just through cpp. "Syntax error" is here to catch this case.
6698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6701 # include <limits.h>
6703 # include <assert.h>
6707 if ac_fn_c_try_cpp
"$LINENO"; then :
6710 # Broken: fails on valid input.
6713 rm -f conftest.err conftest.i conftest.
$ac_ext
6715 # OK, works on sane cases. Now check whether nonexistent headers
6716 # can be detected and how.
6717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <ac_nonexistent.h>
6721 if ac_fn_c_try_cpp
"$LINENO"; then :
6722 # Broken: success on invalid input.
6725 # Passes both tests.
6729 rm -f conftest.err conftest.i conftest.
$ac_ext
6732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6733 rm -f conftest.i conftest.err conftest.
$ac_ext
6734 if $ac_preproc_ok; then :
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6747 $as_echo "$CPP" >&6; }
6749 for ac_c_preproc_warn_flag
in '' yes
6751 # Use a header file that comes with gcc, so configuring glibc
6752 # with a fresh cross-compiler works.
6753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6754 # <limits.h> exists even on freestanding compilers.
6755 # On the NeXT, cc -E runs the code through the compiler's parser,
6756 # not just through cpp. "Syntax error" is here to catch this case.
6757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6760 # include <limits.h>
6762 # include <assert.h>
6766 if ac_fn_c_try_cpp
"$LINENO"; then :
6769 # Broken: fails on valid input.
6772 rm -f conftest.err conftest.i conftest.
$ac_ext
6774 # OK, works on sane cases. Now check whether nonexistent headers
6775 # can be detected and how.
6776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6777 /* end confdefs.h. */
6778 #include <ac_nonexistent.h>
6780 if ac_fn_c_try_cpp
"$LINENO"; then :
6781 # Broken: success on invalid input.
6784 # Passes both tests.
6788 rm -f conftest.err conftest.i conftest.
$ac_ext
6791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6792 rm -f conftest.i conftest.err conftest.
$ac_ext
6793 if $ac_preproc_ok; then :
6796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6798 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6799 See \`config.log' for more details" "$LINENO" 5; }
6803 ac_cpp
='$CPP $CPPFLAGS'
6804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6810 $as_echo_n "checking for ANSI C header files... " >&6; }
6811 if ${ac_cv_header_stdc+:} false
; then :
6812 $as_echo_n "(cached) " >&6
6814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h. */
6829 if ac_fn_c_try_compile
"$LINENO"; then :
6830 ac_cv_header_stdc
=yes
6832 ac_cv_header_stdc
=no
6834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6836 if test $ac_cv_header_stdc = yes; then
6837 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6844 $EGREP "memchr" >/dev
/null
2>&1; then :
6847 ac_cv_header_stdc
=no
6853 if test $ac_cv_header_stdc = yes; then
6854 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6856 /* end confdefs.h. */
6860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6861 $EGREP "free" >/dev
/null
2>&1; then :
6864 ac_cv_header_stdc
=no
6870 if test $ac_cv_header_stdc = yes; then
6871 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6872 if test "$cross_compiling" = yes; then :
6875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6879 #if ((' ' & 0x0FF) == 0x020)
6880 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6881 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6883 # define ISLOWER(c) \
6884 (('a' <= (c) && (c) <= 'i') \
6885 || ('j' <= (c) && (c) <= 'r') \
6886 || ('s' <= (c) && (c) <= 'z'))
6887 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6890 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6895 for (i = 0; i < 256; i++)
6896 if (XOR (islower (i), ISLOWER (i))
6897 || toupper (i) != TOUPPER (i))
6902 if ac_fn_c_try_run
"$LINENO"; then :
6905 ac_cv_header_stdc
=no
6907 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6908 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6914 $as_echo "$ac_cv_header_stdc" >&6; }
6915 if test $ac_cv_header_stdc = yes; then
6917 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6921 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6922 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6923 inttypes.h stdint.h unistd.h
6925 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6926 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6928 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6929 cat >>confdefs.h
<<_ACEOF
6930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6938 for ac_header
in dlfcn.h
6940 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6942 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6943 cat >>confdefs.h
<<_ACEOF
6944 #define HAVE_DLFCN_H 1
6965 # Check whether --enable-shared was given.
6966 if test "${enable_shared+set}" = set; then :
6967 enableval
=$enable_shared; p
=${PACKAGE-default}
6969 yes) enable_shared
=yes ;;
6970 no
) enable_shared
=no
;;
6973 # Look at the argument we got. We use all the common list separators.
6974 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
6975 for pkg
in $enableval; do
6977 if test "X$pkg" = "X$p"; then
6996 # Check whether --enable-static was given.
6997 if test "${enable_static+set}" = set; then :
6998 enableval
=$enable_static; p
=${PACKAGE-default}
7000 yes) enable_static
=yes ;;
7001 no
) enable_static
=no
;;
7004 # Look at the argument we got. We use all the common list separators.
7005 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7006 for pkg
in $enableval; do
7008 if test "X$pkg" = "X$p"; then
7028 # Check whether --with-pic was given.
7029 if test "${with_pic+set}" = set; then :
7030 withval
=$with_pic; lt_p
=${PACKAGE-default}
7032 yes|no
) pic_mode
=$withval ;;
7035 # Look at the argument we got. We use all the common list separators.
7036 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7037 for lt_pkg
in $withval; do
7039 if test "X$lt_pkg" = "X$lt_p"; then
7057 # Check whether --enable-fast-install was given.
7058 if test "${enable_fast_install+set}" = set; then :
7059 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7061 yes) enable_fast_install
=yes ;;
7062 no
) enable_fast_install
=no
;;
7064 enable_fast_install
=no
7065 # Look at the argument we got. We use all the common list separators.
7066 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7067 for pkg
in $enableval; do
7069 if test "X$pkg" = "X$p"; then
7070 enable_fast_install
=yes
7077 enable_fast_install
=yes
7087 shared_archive_member_spec
=
7088 case $host,$enable_shared in
7089 power
*-*-aix[5-9]*,yes)
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7091 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7093 # Check whether --with-aix-soname was given.
7094 if test "${with_aix_soname+set}" = set; then :
7095 withval
=$with_aix_soname; case $withval in
7099 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7102 lt_cv_with_aix_soname
=$with_aix_soname
7104 if ${lt_cv_with_aix_soname+:} false
; then :
7105 $as_echo_n "(cached) " >&6
7107 lt_cv_with_aix_soname
=aix
7110 with_aix_soname
=$lt_cv_with_aix_soname
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7114 $as_echo "$with_aix_soname" >&6; }
7115 if test aix
!= "$with_aix_soname"; then
7116 # For the AIX way of multilib, we name the shared archive member
7117 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7118 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7119 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7120 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7121 if test 64 = "${OBJECT_MODE-32}"; then
7122 shared_archive_member_spec
=shr_64
7124 shared_archive_member_spec
=shr
7142 # This can be used to rebuild libtool when needed
7143 LIBTOOL_DEPS
=$ltmain
7145 # Always use our own libtool.
7146 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7177 test -z "$LN_S" && LN_S
="ln -s"
7192 if test -n "${ZSH_VERSION+set}"; then
7193 setopt NO_GLOB_SUBST
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7197 $as_echo_n "checking for objdir... " >&6; }
7198 if ${lt_cv_objdir+:} false
; then :
7199 $as_echo_n "(cached) " >&6
7201 rm -f .libs
2>/dev
/null
7202 mkdir .libs
2>/dev
/null
7203 if test -d .libs
; then
7206 # MS-DOS does not allow filenames that begin with a dot.
7209 rmdir .libs
2>/dev
/null
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7212 $as_echo "$lt_cv_objdir" >&6; }
7213 objdir
=$lt_cv_objdir
7219 cat >>confdefs.h
<<_ACEOF
7220 #define LT_OBJDIR "$lt_cv_objdir/"
7228 # AIX sometimes has problems with the GCC collect2 program. For some
7229 # reason, if we set the COLLECT_NAMES environment variable, the problems
7230 # vanish in a puff of smoke.
7231 if test set != "${COLLECT_NAMES+set}"; then
7233 export COLLECT_NAMES
7240 can_build_shared
=yes
7242 # All known linkers require a '.a' archive for static linking (except MSVC,
7243 # which needs '.lib').
7246 with_gnu_ld
=$lt_cv_prog_gnu_ld
7251 # Set sane defaults for various variables
7252 test -z "$CC" && CC
=cc
7253 test -z "$LTCC" && LTCC
=$CC
7254 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7255 test -z "$LD" && LD
=ld
7256 test -z "$ac_objext" && ac_objext
=o
7258 func_cc_basename
$compiler
7259 cc_basename
=$func_cc_basename_result
7262 # Only perform the check for file, if the check method requires it
7263 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7264 case $deplibs_check_method in
7266 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7268 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7269 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7270 $as_echo_n "(cached) " >&6
7274 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7277 lt_save_MAGIC_CMD
=$MAGIC_CMD
7278 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7279 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7280 for ac_dir
in $ac_dummy; do
7282 test -z "$ac_dir" && ac_dir
=.
7283 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7284 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
7285 if test -n "$file_magic_test_file"; then
7286 case $deplibs_check_method in
7288 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7289 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7290 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7291 $EGREP "$file_magic_regex" > /dev
/null
; then
7296 *** Warning: the command libtool uses to detect shared libraries,
7297 *** $file_magic_cmd, produces output that libtool cannot recognize.
7298 *** The result is that libtool may fail to recognize shared libraries
7299 *** as such. This will affect the creation of libtool libraries that
7300 *** depend on shared libraries, but programs linked with such libtool
7301 *** libraries will work regardless of this problem. Nevertheless, you
7302 *** may want to report the problem to your system manager and/or to
7303 *** bug-libtool@gnu.org
7313 MAGIC_CMD
=$lt_save_MAGIC_CMD
7318 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7319 if test -n "$MAGIC_CMD"; then
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7321 $as_echo "$MAGIC_CMD" >&6; }
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 $as_echo "no" >&6; }
7331 if test -z "$lt_cv_path_MAGIC_CMD"; then
7332 if test -n "$ac_tool_prefix"; then
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7334 $as_echo_n "checking for file... " >&6; }
7335 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7336 $as_echo_n "(cached) " >&6
7340 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7343 lt_save_MAGIC_CMD
=$MAGIC_CMD
7344 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7345 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7346 for ac_dir
in $ac_dummy; do
7348 test -z "$ac_dir" && ac_dir
=.
7349 if test -f "$ac_dir/file"; then
7350 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
7351 if test -n "$file_magic_test_file"; then
7352 case $deplibs_check_method in
7354 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7355 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7356 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7357 $EGREP "$file_magic_regex" > /dev
/null
; then
7362 *** Warning: the command libtool uses to detect shared libraries,
7363 *** $file_magic_cmd, produces output that libtool cannot recognize.
7364 *** The result is that libtool may fail to recognize shared libraries
7365 *** as such. This will affect the creation of libtool libraries that
7366 *** depend on shared libraries, but programs linked with such libtool
7367 *** libraries will work regardless of this problem. Nevertheless, you
7368 *** may want to report the problem to your system manager and/or to
7369 *** bug-libtool@gnu.org
7379 MAGIC_CMD
=$lt_save_MAGIC_CMD
7384 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7385 if test -n "$MAGIC_CMD"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7387 $as_echo "$MAGIC_CMD" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7403 # Use C for the default configuration in the libtool script
7407 ac_cpp
='$CPP $CPPFLAGS'
7408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7413 # Source file extension for C test sources.
7416 # Object file extension for compiled C test sources.
7420 # Code to be used in simple compile tests
7421 lt_simple_compile_test_code
="int some_variable = 0;"
7423 # Code to be used in simple link tests
7424 lt_simple_link_test_code
='int main(){return(0);}'
7432 # If no C compiler was specified, use CC.
7435 # If no C compiler flags were specified, use CFLAGS.
7436 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7438 # Allow CC to be a program name with arguments.
7441 # Save the default compiler, since it gets overwritten when the other
7442 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7443 compiler_DEFAULT
=$CC
7445 # save warnings/boilerplate of simple test code
7446 ac_outfile
=conftest.
$ac_objext
7447 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7448 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7449 _lt_compiler_boilerplate
=`cat conftest.err`
7452 ac_outfile
=conftest.
$ac_objext
7453 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7454 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7455 _lt_linker_boilerplate
=`cat conftest.err`
7459 if test -n "$compiler"; then
7461 lt_prog_compiler_no_builtin_flag
=
7463 if test yes = "$GCC"; then
7464 case $cc_basename in
7466 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7468 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7472 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7473 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7474 $as_echo_n "(cached) " >&6
7476 lt_cv_prog_compiler_rtti_exceptions
=no
7477 ac_outfile
=conftest.
$ac_objext
7478 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7479 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
7480 # Insert the option either (1) after the last *FLAGS variable, or
7481 # (2) before a word containing "conftest.", or (3) at the end.
7482 # Note that $ac_compile itself does not contain backslashes and begins
7483 # with a dollar sign (not a hyphen), so the echo should work correctly.
7484 # The option is referenced via a variable to avoid confusing sed.
7485 lt_compile
=`echo "$ac_compile" | $SED \
7486 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7487 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7488 -e 's:$: $lt_compiler_flag:'`
7489 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7490 (eval "$lt_compile" 2>conftest.err
)
7492 cat conftest.err
>&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 if (exit $ac_status) && test -s "$ac_outfile"; then
7495 # The compiler can only warn and ignore the option if not recognized
7496 # So say no if there are warnings other than the usual output.
7497 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7498 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7499 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7500 lt_cv_prog_compiler_rtti_exceptions
=yes
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7507 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7509 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7510 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7522 lt_prog_compiler_wl
=
7523 lt_prog_compiler_pic
=
7524 lt_prog_compiler_static
=
7527 if test yes = "$GCC"; then
7528 lt_prog_compiler_wl
='-Wl,'
7529 lt_prog_compiler_static
='-static'
7533 # All AIX code is PIC.
7534 if test ia64
= "$host_cpu"; then
7535 # AIX 5 now supports IA64 processor
7536 lt_prog_compiler_static
='-Bstatic'
7538 lt_prog_compiler_pic
='-fPIC'
7544 # see comment about AmigaOS4 .so support
7545 lt_prog_compiler_pic
='-fPIC'
7548 # FIXME: we need at least 68020 code to build shared libraries, but
7549 # adding the '-m68020' flag to GCC prevents building anything better,
7551 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7556 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7557 # PIC is the default for these OSes.
7560 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7561 # This hack is so that the source file can tell whether it is being
7562 # built for inclusion in a dll (and should export symbols for example).
7563 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7564 # (--disable-auto-import) libraries
7565 lt_prog_compiler_pic
='-DDLL_EXPORT'
7568 lt_prog_compiler_static
='$wl-static'
7573 darwin
* | rhapsody
*)
7574 # PIC is the default on this platform
7575 # Common symbols not allowed in MH_DYLIB files
7576 lt_prog_compiler_pic
='-fno-common'
7580 # PIC is the default for Haiku.
7581 # The "-static" flag exists, but is broken.
7582 lt_prog_compiler_static
=
7586 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7587 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7588 # sets the default TLS model and affects inlining.
7594 lt_prog_compiler_pic
='-fPIC'
7600 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7601 # Instead, we relocate shared libraries at runtime.
7605 # Just because we use GCC doesn't mean we suddenly get shared libraries
7606 # on systems that don't support them.
7607 lt_prog_compiler_can_build_shared
=no
7612 # QNX uses GNU C++, but need to define -shared option too, otherwise
7614 lt_prog_compiler_pic
='-fPIC -shared'
7618 if test -d /usr
/nec
; then
7619 lt_prog_compiler_pic
=-Kconform_pic
7624 lt_prog_compiler_pic
='-fPIC'
7628 case $cc_basename in
7629 nvcc
*) # Cuda Compiler Driver 2.2
7630 lt_prog_compiler_wl
='-Xlinker '
7631 if test -n "$lt_prog_compiler_pic"; then
7632 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7637 # PORTME Check for flag to pass linker flags through the system compiler.
7640 lt_prog_compiler_wl
='-Wl,'
7641 if test ia64
= "$host_cpu"; then
7642 # AIX 5 now supports IA64 processor
7643 lt_prog_compiler_static
='-Bstatic'
7645 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7649 darwin
* | rhapsody
*)
7650 # PIC is the default on this platform
7651 # Common symbols not allowed in MH_DYLIB files
7652 lt_prog_compiler_pic
='-fno-common'
7653 case $cc_basename in
7655 # NAG Fortran compiler
7656 lt_prog_compiler_wl
='-Wl,-Wl,,'
7657 lt_prog_compiler_pic
='-PIC'
7658 lt_prog_compiler_static
='-Bstatic'
7663 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7664 # This hack is so that the source file can tell whether it is being
7665 # built for inclusion in a dll (and should export symbols for example).
7666 lt_prog_compiler_pic
='-DDLL_EXPORT'
7669 lt_prog_compiler_static
='$wl-static'
7674 hpux9
* | hpux10
* | hpux11
*)
7675 lt_prog_compiler_wl
='-Wl,'
7676 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7683 lt_prog_compiler_pic
='+Z'
7686 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7687 lt_prog_compiler_static
='$wl-a ${wl}archive'
7690 irix5
* | irix6
* | nonstopux
*)
7691 lt_prog_compiler_wl
='-Wl,'
7692 # PIC (with -KPIC) is the default.
7693 lt_prog_compiler_static
='-non_shared'
7696 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7697 case $cc_basename in
7698 # old Intel for x86_64, which still supported -KPIC.
7700 lt_prog_compiler_wl
='-Wl,'
7701 lt_prog_compiler_pic
='-KPIC'
7702 lt_prog_compiler_static
='-static'
7704 # icc used to be incompatible with GCC.
7705 # ICC 10 doesn't accept -KPIC any more.
7707 lt_prog_compiler_wl
='-Wl,'
7708 lt_prog_compiler_pic
='-fPIC'
7709 lt_prog_compiler_static
='-static'
7711 # Lahey Fortran 8.1.
7713 lt_prog_compiler_wl
='-Wl,'
7714 lt_prog_compiler_pic
='--shared'
7715 lt_prog_compiler_static
='--static'
7718 # NAG Fortran compiler
7719 lt_prog_compiler_wl
='-Wl,-Wl,,'
7720 lt_prog_compiler_pic
='-PIC'
7721 lt_prog_compiler_static
='-Bstatic'
7724 # Fabrice Bellard et al's Tiny C Compiler
7725 lt_prog_compiler_wl
='-Wl,'
7726 lt_prog_compiler_pic
='-fPIC'
7727 lt_prog_compiler_static
='-static'
7729 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7730 # Portland Group compilers (*not* the Pentium gcc compiler,
7731 # which looks to be a dead project)
7732 lt_prog_compiler_wl
='-Wl,'
7733 lt_prog_compiler_pic
='-fpic'
7734 lt_prog_compiler_static
='-Bstatic'
7737 lt_prog_compiler_wl
='-Wl,'
7738 # All Alpha code is PIC.
7739 lt_prog_compiler_static
='-non_shared'
7741 xl
* | bgxl
* | bgf
* | mpixl
*)
7742 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7743 lt_prog_compiler_wl
='-Wl,'
7744 lt_prog_compiler_pic
='-qpic'
7745 lt_prog_compiler_static
='-qstaticlink'
7748 case `$CC -V 2>&1 | sed 5q` in
7749 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
7750 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7751 lt_prog_compiler_pic
='-KPIC'
7752 lt_prog_compiler_static
='-Bstatic'
7753 lt_prog_compiler_wl
=''
7755 *Sun\ F
* |
*Sun
*Fortran
*)
7756 lt_prog_compiler_pic
='-KPIC'
7757 lt_prog_compiler_static
='-Bstatic'
7758 lt_prog_compiler_wl
='-Qoption ld '
7762 lt_prog_compiler_pic
='-KPIC'
7763 lt_prog_compiler_static
='-Bstatic'
7764 lt_prog_compiler_wl
='-Wl,'
7766 *Intel
*\
[CF
]*Compiler
*)
7767 lt_prog_compiler_wl
='-Wl,'
7768 lt_prog_compiler_pic
='-fPIC'
7769 lt_prog_compiler_static
='-static'
7772 lt_prog_compiler_wl
='-Wl,'
7773 lt_prog_compiler_pic
='-fpic'
7774 lt_prog_compiler_static
='-Bstatic'
7782 lt_prog_compiler_pic
='-KPIC'
7783 lt_prog_compiler_static
='-Bstatic'
7787 # QNX uses GNU C++, but need to define -shared option too, otherwise
7789 lt_prog_compiler_pic
='-fPIC -shared'
7792 osf3
* | osf4
* | osf5
*)
7793 lt_prog_compiler_wl
='-Wl,'
7794 # All OSF/1 code is PIC.
7795 lt_prog_compiler_static
='-non_shared'
7799 lt_prog_compiler_static
='-non_shared'
7803 lt_prog_compiler_pic
='-KPIC'
7804 lt_prog_compiler_static
='-Bstatic'
7805 case $cc_basename in
7806 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7807 lt_prog_compiler_wl
='-Qoption ld ';;
7809 lt_prog_compiler_wl
='-Wl,';;
7814 lt_prog_compiler_wl
='-Qoption ld '
7815 lt_prog_compiler_pic
='-PIC'
7816 lt_prog_compiler_static
='-Bstatic'
7819 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7820 lt_prog_compiler_wl
='-Wl,'
7821 lt_prog_compiler_pic
='-KPIC'
7822 lt_prog_compiler_static
='-Bstatic'
7826 if test -d /usr
/nec
; then
7827 lt_prog_compiler_pic
='-Kconform_pic'
7828 lt_prog_compiler_static
='-Bstatic'
7832 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7833 lt_prog_compiler_wl
='-Wl,'
7834 lt_prog_compiler_pic
='-KPIC'
7835 lt_prog_compiler_static
='-Bstatic'
7839 lt_prog_compiler_wl
='-Wl,'
7840 lt_prog_compiler_can_build_shared
=no
7844 lt_prog_compiler_pic
='-pic'
7845 lt_prog_compiler_static
='-Bstatic'
7849 lt_prog_compiler_can_build_shared
=no
7855 # For platforms that do not support PIC, -DPIC is meaningless:
7857 lt_prog_compiler_pic
=
7860 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7865 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7866 if ${lt_cv_prog_compiler_pic+:} false
; then :
7867 $as_echo_n "(cached) " >&6
7869 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7872 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7873 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7876 # Check to make sure the PIC flag actually works.
7878 if test -n "$lt_prog_compiler_pic"; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7880 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7881 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7884 lt_cv_prog_compiler_pic_works
=no
7885 ac_outfile
=conftest.
$ac_objext
7886 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7887 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
7888 # Insert the option either (1) after the last *FLAGS variable, or
7889 # (2) before a word containing "conftest.", or (3) at the end.
7890 # Note that $ac_compile itself does not contain backslashes and begins
7891 # with a dollar sign (not a hyphen), so the echo should work correctly.
7892 # The option is referenced via a variable to avoid confusing sed.
7893 lt_compile
=`echo "$ac_compile" | $SED \
7894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7896 -e 's:$: $lt_compiler_flag:'`
7897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7898 (eval "$lt_compile" 2>conftest.err
)
7900 cat conftest.err
>&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 if (exit $ac_status) && test -s "$ac_outfile"; then
7903 # The compiler can only warn and ignore the option if not recognized
7904 # So say no if there are warnings other than the usual output.
7905 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7906 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7907 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7908 lt_cv_prog_compiler_pic_works
=yes
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7915 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7917 if test yes = "$lt_cv_prog_compiler_pic_works"; then
7918 case $lt_prog_compiler_pic in
7920 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7923 lt_prog_compiler_pic
=
7924 lt_prog_compiler_can_build_shared
=no
7940 # Check to make sure the static flag actually works.
7942 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7944 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7945 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7946 $as_echo_n "(cached) " >&6
7948 lt_cv_prog_compiler_static_works
=no
7949 save_LDFLAGS
=$LDFLAGS
7950 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7951 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7952 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7953 # The linker can only warn and ignore the option if not recognized
7954 # So say no if there are warnings
7955 if test -s conftest.err
; then
7956 # Append any errors to the config.log.
7957 cat conftest.err
1>&5
7958 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7959 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7960 if diff conftest.exp conftest.er2
>/dev
/null
; then
7961 lt_cv_prog_compiler_static_works
=yes
7964 lt_cv_prog_compiler_static_works
=yes
7968 LDFLAGS
=$save_LDFLAGS
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7972 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7974 if test yes = "$lt_cv_prog_compiler_static_works"; then
7977 lt_prog_compiler_static
=
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7987 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7988 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7989 $as_echo_n "(cached) " >&6
7991 lt_cv_prog_compiler_c_o
=no
7992 $RM -r conftest
2>/dev
/null
7996 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7998 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7999 # Insert the option either (1) after the last *FLAGS variable, or
8000 # (2) before a word containing "conftest.", or (3) at the end.
8001 # Note that $ac_compile itself does not contain backslashes and begins
8002 # with a dollar sign (not a hyphen), so the echo should work correctly.
8003 lt_compile
=`echo "$ac_compile" | $SED \
8004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8006 -e 's:$: $lt_compiler_flag:'`
8007 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8008 (eval "$lt_compile" 2>out
/conftest.err
)
8010 cat out
/conftest.err
>&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8014 # The compiler can only warn and ignore the option if not recognized
8015 # So say no if there are warnings
8016 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8017 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8018 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8019 lt_cv_prog_compiler_c_o
=yes
8024 # SGI C++ compiler will create directory out/ii_files/ for
8025 # template instantiation
8026 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8027 $RM out
/* && rmdir out
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8034 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8042 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8043 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8044 $as_echo_n "(cached) " >&6
8046 lt_cv_prog_compiler_c_o
=no
8047 $RM -r conftest
2>/dev
/null
8051 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8053 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8054 # Insert the option either (1) after the last *FLAGS variable, or
8055 # (2) before a word containing "conftest.", or (3) at the end.
8056 # Note that $ac_compile itself does not contain backslashes and begins
8057 # with a dollar sign (not a hyphen), so the echo should work correctly.
8058 lt_compile
=`echo "$ac_compile" | $SED \
8059 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8061 -e 's:$: $lt_compiler_flag:'`
8062 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8063 (eval "$lt_compile" 2>out
/conftest.err
)
8065 cat out
/conftest.err
>&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8069 # The compiler can only warn and ignore the option if not recognized
8070 # So say no if there are warnings
8071 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8072 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8073 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8074 lt_cv_prog_compiler_c_o
=yes
8079 # SGI C++ compiler will create directory out/ii_files/ for
8080 # template instantiation
8081 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8082 $RM out
/* && rmdir out
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8089 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8094 hard_links
=nottested
8095 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8096 # do not overwrite the value of need_locks provided by the user
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8098 $as_echo_n "checking if we can lock with hard links... " >&6; }
8101 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8103 ln conftest.a conftest.b
2>&5 || hard_links
=no
8104 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8106 $as_echo "$hard_links" >&6; }
8107 if test no
= "$hard_links"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8109 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8122 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8125 allow_undefined_flag
=
8126 always_export_symbols
=no
8128 archive_expsym_cmds
=
8129 compiler_needs_object
=no
8130 enable_shared_with_static_runtimes
=no
8131 export_dynamic_flag_spec
=
8132 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8133 hardcode_automatic
=no
8135 hardcode_direct_absolute
=no
8136 hardcode_libdir_flag_spec
=
8137 hardcode_libdir_separator
=
8139 hardcode_shlibpath_var
=unsupported
8141 link_all_deplibs
=unknown
8144 old_archive_from_new_cmds
=
8145 old_archive_from_expsyms_cmds
=
8146 thread_safe_flag_spec
=
8147 whole_archive_flag_spec
=
8148 # include_expsyms should be a list of space-separated symbols to be *always*
8149 # included in the symbol list
8151 # exclude_expsyms can be an extended regexp of symbols to exclude
8152 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8153 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8154 # as well as any symbol that contains 'd'.
8155 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8156 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8157 # platforms (ab)use it in PIC code, but their linkers get confused if
8158 # the symbol is explicitly referenced. Since portable code cannot
8159 # rely on this symbol name, it's probably fine to never include it in
8160 # preloaded symbol tables.
8161 # Exclude shared library initialization/finalization symbols.
8162 extract_expsyms_cmds
=
8165 cygwin
* | mingw
* | pw32
* | cegcc
*)
8166 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8167 # When not using gcc, we currently assume that we are using
8168 # Microsoft Visual C++.
8169 if test yes != "$GCC"; then
8174 # we just hope/assume this is gcc and not c89 (= MSVC++)
8184 # On some targets, GNU ld is compatible enough with the native linker
8185 # that we're better off using the native interface for both.
8186 lt_use_gnu_ld_interface
=no
8187 if test yes = "$with_gnu_ld"; then
8190 # The AIX port of GNU ld has always aspired to compatibility
8191 # with the native linker. However, as the warning in the GNU ld
8192 # block says, versions before 2.19.5* couldn't really create working
8193 # shared libraries, regardless of the interface used.
8194 case `$LD -v 2>&1` in
8195 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8196 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8197 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8199 lt_use_gnu_ld_interface
=yes
8204 lt_use_gnu_ld_interface
=yes
8209 if test yes = "$lt_use_gnu_ld_interface"; then
8210 # If archive_cmds runs LD, not CC, wlarc should be empty
8213 # Set some defaults for GNU ld with shared library support. These
8214 # are reset later if shared libraries are not supported. Putting them
8215 # here allows them to be overridden if necessary.
8216 runpath_var
=LD_RUN_PATH
8217 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8218 export_dynamic_flag_spec
='$wl--export-dynamic'
8219 # ancient GNU ld didn't support --whole-archive et. al.
8220 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8221 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8223 whole_archive_flag_spec
=
8225 supports_anon_versioning
=no
8226 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8227 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8228 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8229 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8230 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8231 *\
2.11.
*) ;; # other 2.11 versions
8232 *) supports_anon_versioning
=yes ;;
8235 # See if GNU ld supports shared libraries.
8238 # On AIX/PPC, the GNU linker is very broken
8239 if test ia64
!= "$host_cpu"; then
8243 *** Warning: the GNU linker, at least up to release 2.19, is reported
8244 *** to be unable to reliably create shared libraries on AIX.
8245 *** Therefore, libtool is disabling shared libraries support. If you
8246 *** really care for shared libraries, you may want to install binutils
8247 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8248 *** You will then need to restart the configuration process.
8257 # see comment about AmigaOS4 .so support
8258 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8259 archive_expsym_cmds
=''
8262 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)'
8263 hardcode_libdir_flag_spec
='-L$libdir'
8264 hardcode_minus_L
=yes
8270 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8271 allow_undefined_flag
=unsupported
8272 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8273 # support --undefined. This deserves some investigation. FIXME
8274 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8280 cygwin
* | mingw
* | pw32
* | cegcc
*)
8281 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8282 # as there is no search path for DLLs.
8283 hardcode_libdir_flag_spec
='-L$libdir'
8284 export_dynamic_flag_spec
='$wl--export-all-symbols'
8285 allow_undefined_flag
=unsupported
8286 always_export_symbols
=no
8287 enable_shared_with_static_runtimes
=yes
8288 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'
8289 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8291 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8292 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8293 # If the export-symbols file already is a .def file, use it as
8294 # is; otherwise, prepend EXPORTS...
8295 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8296 cp $export_symbols $output_objdir/$soname.def;
8298 echo EXPORTS > $output_objdir/$soname.def;
8299 cat $export_symbols >> $output_objdir/$soname.def;
8301 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8308 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8309 link_all_deplibs
=yes
8313 hardcode_libdir_flag_spec
='-L$libdir'
8314 hardcode_minus_L
=yes
8315 allow_undefined_flag
=unsupported
8317 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8318 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8319 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8320 $ECHO EXPORTS >> $output_objdir/$libname.def~
8321 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8322 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8323 emximp -o $lib $output_objdir/$libname.def'
8324 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8325 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8326 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8327 $ECHO EXPORTS >> $output_objdir/$libname.def~
8329 if test EXPORTS = "`$SED 1q $export_symbols`"; then
8330 prefix_cmds="$prefix_cmds -e 1d";
8332 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8333 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8334 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8335 emximp -o $lib $output_objdir/$libname.def'
8336 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8337 enable_shared_with_static_runtimes
=yes
8342 hardcode_shlibpath_var
=no
8343 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
8344 export_dynamic_flag_spec
='$wl-E'
8345 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8346 # Instead, shared libraries are loaded at an image base (0x10000000 by
8347 # default) and relocated if they conflict, which is a slow very memory
8348 # consuming and fragmenting process. To avoid this, we pick a random,
8349 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8350 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8351 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8352 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'
8355 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8357 if test linux-dietlibc
= "$host_os"; then
8358 case $cc_basename in
8359 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8362 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8363 && test no
= "$tmp_diet"
8365 tmp_addflag
=' $pic_flag'
8366 tmp_sharedflag
='-shared'
8367 case $cc_basename,$host_cpu in
8368 pgcc
*) # Portland Group C compiler
8369 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'
8370 tmp_addflag
=' $pic_flag'
8372 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8373 # Portland Group f77 and f90 compilers
8374 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'
8375 tmp_addflag
=' $pic_flag -Mnomain' ;;
8376 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8377 tmp_addflag
=' -i_dynamic' ;;
8378 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8379 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8380 ifc
* | ifort
*) # Intel Fortran compiler
8381 tmp_addflag
=' -nofor_main' ;;
8382 lf95
*) # Lahey Fortran 8.1
8383 whole_archive_flag_spec
=
8384 tmp_sharedflag
='--shared' ;;
8385 nagfor
*) # NAGFOR 5.3
8386 tmp_sharedflag
='-Wl,-shared' ;;
8387 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8388 tmp_sharedflag
='-qmkshrobj'
8390 nvcc
*) # Cuda Compiler Driver 2.2
8391 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'
8392 compiler_needs_object
=yes
8395 case `$CC -V 2>&1 | sed 5q` in
8396 *Sun\ C
*) # Sun C 5.9
8397 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'
8398 compiler_needs_object
=yes
8399 tmp_sharedflag
='-G' ;;
8400 *Sun\ F
*) # Sun Fortran 8.3
8401 tmp_sharedflag
='-G' ;;
8403 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8405 if test yes = "$supports_anon_versioning"; then
8406 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8407 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8408 echo "local: *; };" >> $output_objdir/$libname.ver~
8409 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8412 case $cc_basename in
8414 export_dynamic_flag_spec
='-rdynamic'
8416 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8417 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8418 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8419 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8420 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8421 if test yes = "$supports_anon_versioning"; then
8422 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8423 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8424 echo "local: *; };" >> $output_objdir/$libname.ver~
8425 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8435 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8436 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8439 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8440 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8445 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8449 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8450 *** create shared libraries on Solaris systems. Therefore, libtool
8451 *** is disabling shared libraries support. We urge you to upgrade GNU
8452 *** binutils to release 2.9.1 or newer. Another option is to modify
8453 *** your PATH or compiler configuration so that the native linker is
8454 *** used, and then restart.
8457 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8458 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8459 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8465 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8466 case `$LD -v 2>&1` in
8467 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8471 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8472 *** reliably create shared libraries on SCO systems. Therefore, libtool
8473 *** is disabling shared libraries support. We urge you to upgrade GNU
8474 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8475 *** your PATH or compiler configuration so that the native linker is
8476 *** used, and then restart.
8481 # For security reasons, it is highly recommended that you always
8482 # use absolute paths for naming shared libraries, and exclude the
8483 # DT_RUNPATH tag from executables and libraries. But doing so
8484 # requires that you compile everything twice, which is a pain.
8485 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8486 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8487 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8488 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8497 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8500 hardcode_shlibpath_var
=no
8504 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8505 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8506 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8513 if test no
= "$ld_shlibs"; then
8515 hardcode_libdir_flag_spec
=
8516 export_dynamic_flag_spec
=
8517 whole_archive_flag_spec
=
8520 # PORTME fill in a description of your system's linker (not GNU ld)
8523 allow_undefined_flag
=unsupported
8524 always_export_symbols
=yes
8525 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'
8526 # Note: this linker hardcodes the directories in LIBPATH if there
8527 # are no directories specified by -L.
8528 hardcode_minus_L
=yes
8529 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8530 # Neither direct hardcoding nor static linking is supported with a
8532 hardcode_direct
=unsupported
8537 if test ia64
= "$host_cpu"; then
8538 # On IA64, the linker does run time linking by default, so we don't
8539 # have to do anything special.
8540 aix_use_runtimelinking
=no
8541 exp_sym_flag
='-Bexport'
8544 # If we're using GNU nm, then we don't want the "-C" option.
8545 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
8546 # Without the "-l" option, or with the "-B" option, AIX nm treats
8547 # weak defined symbols like other global defined symbols, whereas
8548 # GNU nm marks them as "W".
8549 # While the 'weak' keyword is ignored in the Export File, we need
8550 # it in the Import File for the 'aix-soname' feature, so we have
8551 # to replace the "-B" option with "-P" for AIX nm.
8552 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8553 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'
8555 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'
8557 aix_use_runtimelinking
=no
8559 # Test if we are trying to use run time linking or normal
8560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8561 # have runtime linking enabled, and use it for executables.
8562 # For shared libraries, we enable/disable runtime linking
8563 # depending on the kind of the shared library created -
8564 # when "with_aix_soname,aix_use_runtimelinking" is:
8565 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
8566 # "aix,yes" lib.so shared, rtl:yes, for executables
8567 # lib.a static archive
8568 # "both,no" lib.so.V(shr.o) shared, rtl:yes
8569 # lib.a(lib.so.V) shared, rtl:no, for executables
8570 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
8571 # lib.a(lib.so.V) shared, rtl:no
8572 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
8573 # lib.a static archive
8574 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8575 for ld_flag
in $LDFLAGS; do
8576 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
8577 aix_use_runtimelinking
=yes
8581 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
8582 # With aix-soname=svr4, we create the lib.so.V shared archives only,
8583 # so we don't have lib.a shared libs to link our executables.
8584 # We have to force runtime linking in this case.
8585 aix_use_runtimelinking
=yes
8586 LDFLAGS
="$LDFLAGS -Wl,-brtl"
8591 exp_sym_flag
='-bexport'
8592 no_entry_flag
='-bnoentry'
8595 # When large executables or shared objects are built, AIX ld can
8596 # have problems creating the table of contents. If linking a library
8597 # or program results in "error TOC overflow" add -mminimal-toc to
8598 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8599 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8603 hardcode_direct_absolute
=yes
8604 hardcode_libdir_separator
=':'
8605 link_all_deplibs
=yes
8606 file_list_spec
='$wl-f,'
8607 case $with_aix_soname,$aix_use_runtimelinking in
8608 aix
,*) ;; # traditional, no import file
8609 svr4
,* |
*,yes) # use import file
8610 # The Import File defines what to hardcode.
8612 hardcode_direct_absolute
=no
8616 if test yes = "$GCC"; then
8617 case $host_os in aix4.
[012]|aix4.
[012].
*)
8618 # We only want to do this on AIX 4.2 and lower, the check
8619 # below for broken collect2 doesn't work under 4.3+
8620 collect2name
=`$CC -print-prog-name=collect2`
8621 if test -f "$collect2name" &&
8622 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8624 # We have reworked collect2
8627 # We have old collect2
8628 hardcode_direct
=unsupported
8629 # It fails to find uninstalled libraries when the uninstalled
8630 # path is not listed in the libpath. Setting hardcode_minus_L
8631 # to unsupported forces relinking
8632 hardcode_minus_L
=yes
8633 hardcode_libdir_flag_spec
='-L$libdir'
8634 hardcode_libdir_separator
=
8638 shared_flag
='-shared'
8639 if test yes = "$aix_use_runtimelinking"; then
8640 shared_flag
="$shared_flag "'$wl-G'
8642 # Need to ensure runtime linking is disabled for the traditional
8643 # shared library, or the linker may eventually find shared libraries
8644 # /with/ Import File - we do not want to mix them.
8645 shared_flag_aix
='-shared'
8646 shared_flag_svr4
='-shared $wl-G'
8649 if test ia64
= "$host_cpu"; then
8650 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8651 # chokes on -Wl,-G. The following line is correct:
8654 if test yes = "$aix_use_runtimelinking"; then
8657 shared_flag
='$wl-bM:SRE'
8659 shared_flag_aix
='$wl-bM:SRE'
8660 shared_flag_svr4
='$wl-G'
8664 export_dynamic_flag_spec
='$wl-bexpall'
8665 # It seems that -bexpall does not export symbols beginning with
8666 # underscore (_), so it is better to generate a list of symbols to export.
8667 always_export_symbols
=yes
8668 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
8669 # Warning - without using the other runtime loading flags (-brtl),
8670 # -berok will link without error, but may produce a broken library.
8671 allow_undefined_flag
='-berok'
8672 # Determine the default libpath from the value encoded in an
8674 if test set = "${lt_cv_aix_libpath+set}"; then
8675 aix_libpath
=$lt_cv_aix_libpath
8677 if ${lt_cv_aix_libpath_+:} false
; then :
8678 $as_echo_n "(cached) " >&6
8680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8691 if ac_fn_c_try_link
"$LINENO"; then :
8693 lt_aix_libpath_sed
='
8694 /Import File Strings/,/^$/ {
8696 s/^0 *\([^ ]*\) *$/\1/
8700 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8701 # Check for a 64-bit object if we didn't find anything.
8702 if test -z "$lt_cv_aix_libpath_"; then
8703 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8706 rm -f core conftest.err conftest.
$ac_objext \
8707 conftest
$ac_exeext conftest.
$ac_ext
8708 if test -z "$lt_cv_aix_libpath_"; then
8709 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8714 aix_libpath
=$lt_cv_aix_libpath_
8717 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8718 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
8720 if test ia64
= "$host_cpu"; then
8721 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
8722 allow_undefined_flag
="-z nodefs"
8723 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"
8725 # Determine the default libpath from the value encoded in an
8727 if test set = "${lt_cv_aix_libpath+set}"; then
8728 aix_libpath
=$lt_cv_aix_libpath
8730 if ${lt_cv_aix_libpath_+:} false
; then :
8731 $as_echo_n "(cached) " >&6
8733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8744 if ac_fn_c_try_link
"$LINENO"; then :
8746 lt_aix_libpath_sed
='
8747 /Import File Strings/,/^$/ {
8749 s/^0 *\([^ ]*\) *$/\1/
8753 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8754 # Check for a 64-bit object if we didn't find anything.
8755 if test -z "$lt_cv_aix_libpath_"; then
8756 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8759 rm -f core conftest.err conftest.
$ac_objext \
8760 conftest
$ac_exeext conftest.
$ac_ext
8761 if test -z "$lt_cv_aix_libpath_"; then
8762 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8767 aix_libpath
=$lt_cv_aix_libpath_
8770 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8771 # Warning - without using the other run time loading flags,
8772 # -berok will link without error, but may produce a broken library.
8773 no_undefined_flag
=' $wl-bernotok'
8774 allow_undefined_flag
=' $wl-berok'
8775 if test yes = "$with_gnu_ld"; then
8776 # We only use this code for GNU lds that support --whole-archive.
8777 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
8779 # Exported symbols can be pulled into shared objects from archives
8780 whole_archive_flag_spec
='$convenience'
8782 archive_cmds_need_lc
=yes
8783 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
8784 # -brtl affects multiple linker settings, -berok does not and is overridden later
8785 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
8786 if test svr4
!= "$with_aix_soname"; then
8787 # This is similar to how AIX traditionally builds its shared libraries.
8788 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'
8790 if test aix
!= "$with_aix_soname"; then
8791 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'
8793 # used by -dlpreopen to get the symbols
8794 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
8796 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
8804 # see comment about AmigaOS4 .so support
8805 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8806 archive_expsym_cmds
=''
8809 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)'
8810 hardcode_libdir_flag_spec
='-L$libdir'
8811 hardcode_minus_L
=yes
8817 export_dynamic_flag_spec
=-rdynamic
8820 cygwin
* | mingw
* | pw32
* | cegcc
*)
8821 # When not using gcc, we currently assume that we are using
8822 # Microsoft Visual C++.
8823 # hardcode_libdir_flag_spec is actually meaningless, as there is
8824 # no search path for DLLs.
8825 case $cc_basename in
8828 hardcode_libdir_flag_spec
=' '
8829 allow_undefined_flag
=unsupported
8830 always_export_symbols
=yes
8832 # Tell ltmain to make .lib files, not .a files.
8834 # Tell ltmain to make .dll files, not .so files.
8836 # FIXME: Setting linknames here is a bad hack.
8837 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
8838 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8839 cp "$export_symbols" "$output_objdir/$soname.def";
8840 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
8842 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
8844 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8846 # The linker will not automatically build a static lib if we build a DLL.
8847 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8848 enable_shared_with_static_runtimes
=yes
8849 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8850 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8852 old_postinstall_cmds
='chmod 644 $oldlib'
8853 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8854 lt_tool_outputfile="@TOOL_OUTPUT@"~
8855 case $lt_outputfile in
8858 lt_outputfile=$lt_outputfile.exe
8859 lt_tool_outputfile=$lt_tool_outputfile.exe
8862 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
8863 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8864 $RM "$lt_outputfile.manifest";
8868 # Assume MSVC wrapper
8869 hardcode_libdir_flag_spec
=' '
8870 allow_undefined_flag
=unsupported
8871 # Tell ltmain to make .lib files, not .a files.
8873 # Tell ltmain to make .dll files, not .so files.
8875 # FIXME: Setting linknames here is a bad hack.
8876 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8877 # The linker will automatically build a .lib file if we build a DLL.
8878 old_archive_from_new_cmds
='true'
8879 # FIXME: Should let the user specify the lib program.
8880 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8881 enable_shared_with_static_runtimes
=yes
8886 darwin
* | rhapsody
*)
8889 archive_cmds_need_lc
=no
8891 hardcode_automatic
=yes
8892 hardcode_shlibpath_var
=unsupported
8893 if test yes = "$lt_cv_ld_force_load"; then
8894 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\"`'
8897 whole_archive_flag_spec
=''
8899 link_all_deplibs
=yes
8900 allow_undefined_flag
=$_lt_dar_allow_undefined
8901 case $cc_basename in
8902 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
8903 *) _lt_dar_can_shared
=$GCC ;;
8905 if test yes = "$_lt_dar_can_shared"; then
8906 output_verbose_link_cmd
=func_echo_all
8907 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
8908 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
8909 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"
8910 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"
8919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8920 hardcode_libdir_flag_spec
='-L$libdir'
8921 hardcode_shlibpath_var
=no
8924 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8925 # support. Future versions do this automatically, but an explicit c++rt0.o
8926 # does not break anything, and helps significantly (at the cost of a little
8929 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8930 hardcode_libdir_flag_spec
='-R$libdir'
8932 hardcode_shlibpath_var
=no
8935 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8937 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8939 hardcode_minus_L
=yes
8940 hardcode_shlibpath_var
=no
8943 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8944 freebsd
* | dragonfly
*)
8945 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8946 hardcode_libdir_flag_spec
='-R$libdir'
8948 hardcode_shlibpath_var
=no
8952 if test yes = "$GCC"; then
8953 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'
8955 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'
8957 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8958 hardcode_libdir_separator
=:
8961 # hardcode_minus_L: Not really in the search PATH,
8962 # but as the default location of the library.
8963 hardcode_minus_L
=yes
8964 export_dynamic_flag_spec
='$wl-E'
8968 if test yes,no
= "$GCC,$with_gnu_ld"; then
8969 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8971 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8973 if test no
= "$with_gnu_ld"; then
8974 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8975 hardcode_libdir_separator
=:
8977 hardcode_direct_absolute
=yes
8978 export_dynamic_flag_spec
='$wl-E'
8979 # hardcode_minus_L: Not really in the search PATH,
8980 # but as the default location of the library.
8981 hardcode_minus_L
=yes
8986 if test yes,no
= "$GCC,$with_gnu_ld"; then
8989 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
8992 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8995 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9001 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9004 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9008 # Older versions of the 11.00 compiler do not understand -b yet
9009 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9011 $as_echo_n "checking if $CC understands -b... " >&6; }
9012 if ${lt_cv_prog_compiler__b+:} false
; then :
9013 $as_echo_n "(cached) " >&6
9015 lt_cv_prog_compiler__b
=no
9016 save_LDFLAGS
=$LDFLAGS
9017 LDFLAGS
="$LDFLAGS -b"
9018 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9019 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9020 # The linker can only warn and ignore the option if not recognized
9021 # So say no if there are warnings
9022 if test -s conftest.err
; then
9023 # Append any errors to the config.log.
9024 cat conftest.err
1>&5
9025 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9026 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9027 if diff conftest.exp conftest.er2
>/dev
/null
; then
9028 lt_cv_prog_compiler__b
=yes
9031 lt_cv_prog_compiler__b
=yes
9035 LDFLAGS
=$save_LDFLAGS
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9039 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9041 if test yes = "$lt_cv_prog_compiler__b"; then
9042 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9044 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9050 if test no
= "$with_gnu_ld"; then
9051 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9052 hardcode_libdir_separator
=:
9057 hardcode_shlibpath_var
=no
9061 hardcode_direct_absolute
=yes
9062 export_dynamic_flag_spec
='$wl-E'
9064 # hardcode_minus_L: Not really in the search PATH,
9065 # but as the default location of the library.
9066 hardcode_minus_L
=yes
9072 irix5
* | irix6
* | nonstopux
*)
9073 if test yes = "$GCC"; then
9074 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'
9075 # Try to use the -exported_symbol ld option, if it does not
9076 # work, assume that -exports_file does not work either and
9077 # implicitly export all symbols.
9078 # This should be the same for all languages, so no per-tag cache variable.
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9080 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9081 if ${lt_cv_irix_exported_symbol+:} false
; then :
9082 $as_echo_n "(cached) " >&6
9084 save_LDFLAGS
=$LDFLAGS
9085 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9088 int foo (void) { return 0; }
9090 if ac_fn_c_try_link
"$LINENO"; then :
9091 lt_cv_irix_exported_symbol
=yes
9093 lt_cv_irix_exported_symbol
=no
9095 rm -f core conftest.err conftest.
$ac_objext \
9096 conftest
$ac_exeext conftest.
$ac_ext
9097 LDFLAGS
=$save_LDFLAGS
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9100 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9101 if test yes = "$lt_cv_irix_exported_symbol"; then
9102 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'
9105 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'
9106 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'
9108 archive_cmds_need_lc
='no'
9109 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9110 hardcode_libdir_separator
=:
9112 link_all_deplibs
=yes
9116 case $cc_basename in
9118 # Fabrice Bellard et al's Tiny C Compiler
9120 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9126 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9127 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9129 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9131 hardcode_libdir_flag_spec
='-R$libdir'
9133 hardcode_shlibpath_var
=no
9137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9139 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9140 hardcode_libdir_separator
=:
9141 hardcode_shlibpath_var
=no
9148 if test -f /usr
/libexec
/ld.so
; then
9150 hardcode_shlibpath_var
=no
9151 hardcode_direct_absolute
=yes
9152 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9153 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9154 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9155 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9156 export_dynamic_flag_spec
='$wl-E'
9158 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9159 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9167 hardcode_libdir_flag_spec
='-L$libdir'
9168 hardcode_minus_L
=yes
9169 allow_undefined_flag
=unsupported
9171 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9172 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9173 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9174 $ECHO EXPORTS >> $output_objdir/$libname.def~
9175 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9176 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9177 emximp -o $lib $output_objdir/$libname.def'
9178 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9179 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9180 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9181 $ECHO EXPORTS >> $output_objdir/$libname.def~
9183 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9184 prefix_cmds="$prefix_cmds -e 1d";
9186 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9187 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9188 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9189 emximp -o $lib $output_objdir/$libname.def'
9190 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9191 enable_shared_with_static_runtimes
=yes
9195 if test yes = "$GCC"; then
9196 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9197 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'
9199 allow_undefined_flag
=' -expect_unresolved \*'
9200 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'
9202 archive_cmds_need_lc
='no'
9203 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9204 hardcode_libdir_separator
=:
9207 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9208 if test yes = "$GCC"; then
9209 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9210 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'
9211 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9213 allow_undefined_flag
=' -expect_unresolved \*'
9214 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'
9215 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~
9216 $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'
9218 # Both c and cxx compiler support -rpath directly
9219 hardcode_libdir_flag_spec
='-rpath $libdir'
9221 archive_cmds_need_lc
='no'
9222 hardcode_libdir_separator
=:
9226 no_undefined_flag
=' -z defs'
9227 if test yes = "$GCC"; then
9229 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9230 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9231 $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'
9233 case `$CC -V 2>&1` in
9236 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9237 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9238 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9242 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9243 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9244 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9248 hardcode_libdir_flag_spec
='-R$libdir'
9249 hardcode_shlibpath_var
=no
9251 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9253 # The compiler driver will combine and reorder linker options,
9254 # but understands '-z linker_flag'. GCC discards it without '$wl',
9255 # but is careful enough not to reorder.
9256 # Supported since Solaris 2.6 (maybe 2.5.1?)
9257 if test yes = "$GCC"; then
9258 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9260 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9264 link_all_deplibs
=yes
9268 if test sequent
= "$host_vendor"; then
9269 # Use $CC to link under sequent, because it throws in some extra .o
9270 # files that make .init and .fini sections work.
9271 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9273 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9275 hardcode_libdir_flag_spec
='-L$libdir'
9277 hardcode_minus_L
=yes
9278 hardcode_shlibpath_var
=no
9282 case $host_vendor in
9284 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9285 hardcode_direct
=yes # is this really true???
9288 ## LD is ld it makes a PLAMLIB
9289 ## CC just makes a GrossModule.
9290 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9291 reload_cmds
='$CC -r -o $output$reload_objs'
9295 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9296 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9299 runpath_var
='LD_RUN_PATH'
9300 hardcode_shlibpath_var
=no
9304 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9305 hardcode_shlibpath_var
=no
9306 export_dynamic_flag_spec
='-Bexport'
9310 if test -d /usr
/nec
; then
9311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9312 hardcode_shlibpath_var
=no
9313 runpath_var
=LD_RUN_PATH
9314 hardcode_runpath_var
=yes
9319 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9320 no_undefined_flag
='$wl-z,text'
9321 archive_cmds_need_lc
=no
9322 hardcode_shlibpath_var
=no
9323 runpath_var
='LD_RUN_PATH'
9325 if test yes = "$GCC"; then
9326 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9327 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9329 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9330 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9334 sysv5
* | sco3.2v5
* | sco5v6
*)
9335 # Note: We CANNOT use -z defs as we might desire, because we do not
9336 # link with -lc, and that would cause any symbols used from libc to
9337 # always be unresolved, which means just about no library would
9338 # ever link correctly. If we're not using GNU ld we use -z text
9339 # though, which does catch some bad symbols but isn't as heavy-handed
9341 no_undefined_flag
='$wl-z,text'
9342 allow_undefined_flag
='$wl-z,nodefs'
9343 archive_cmds_need_lc
=no
9344 hardcode_shlibpath_var
=no
9345 hardcode_libdir_flag_spec
='$wl-R,$libdir'
9346 hardcode_libdir_separator
=':'
9347 link_all_deplibs
=yes
9348 export_dynamic_flag_spec
='$wl-Bexport'
9349 runpath_var
='LD_RUN_PATH'
9351 if test yes = "$GCC"; then
9352 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9361 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9362 hardcode_libdir_flag_spec
='-L$libdir'
9363 hardcode_shlibpath_var
=no
9371 if test sni
= "$host_vendor"; then
9373 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9374 export_dynamic_flag_spec
='$wl-Blargedynsym'
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9381 $as_echo "$ld_shlibs" >&6; }
9382 test no
= "$ld_shlibs" && can_build_shared
=no
9384 with_gnu_ld
=$with_gnu_ld
9401 # Do we need to explicitly link libc?
9403 case "x$archive_cmds_need_lc" in
9405 # Assume -lc should be added
9406 archive_cmds_need_lc
=yes
9408 if test yes,yes = "$GCC,$enable_shared"; then
9409 case $archive_cmds in
9411 # FIXME: we may have to deal with multi-command sequences.
9414 # Test whether the compiler implicitly links with -lc since on some
9415 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9416 # to ld, don't add -lc before -lgcc.
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9418 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9419 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9420 $as_echo_n "(cached) " >&6
9423 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9426 (eval $ac_compile) 2>&5
9428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9429 test $ac_status = 0; } 2>conftest.err
; then
9432 libobjs
=conftest.
$ac_objext
9434 wl
=$lt_prog_compiler_wl
9435 pic_flag
=$lt_prog_compiler_pic
9441 lt_save_allow_undefined_flag
=$allow_undefined_flag
9442 allow_undefined_flag
=
9443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9444 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9447 test $ac_status = 0; }
9449 lt_cv_archive_cmds_need_lc
=no
9451 lt_cv_archive_cmds_need_lc
=yes
9453 allow_undefined_flag
=$lt_save_allow_undefined_flag
9455 cat conftest.err
1>&5
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9461 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9462 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9621 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9623 if test yes = "$GCC"; then
9625 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
9626 *) lt_awk_arg
='/^libraries:/' ;;
9629 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
9630 *) lt_sed_strip_eq
='s|=/|/|g' ;;
9632 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9633 case $lt_search_path_spec in
9635 # if the path contains ";" then we assume it to be the separator
9636 # otherwise default to the standard path separator (i.e. ":") - it is
9637 # assumed that no part of a normal pathname contains ";" but that should
9638 # okay in the real world where ";" in dirpaths is itself problematic.
9639 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9642 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9645 # Ok, now we have the path, separated by spaces, we can step through it
9646 # and add multilib dir if necessary...
9647 lt_tmp_lt_search_path_spec
=
9648 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9649 # ...but if some path component already ends with the multilib dir we assume
9650 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
9651 case "$lt_multi_os_dir; $lt_search_path_spec " in
9652 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
9656 for lt_sys_path
in $lt_search_path_spec; do
9657 if test -d "$lt_sys_path$lt_multi_os_dir"; then
9658 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
9659 elif test -n "$lt_multi_os_dir"; then
9660 test -d "$lt_sys_path" && \
9661 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9664 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9665 BEGIN {RS = " "; FS = "/|\n";} {
9668 for (lt_i = NF; lt_i > 0; lt_i--) {
9669 if ($lt_i != "" && $lt_i != ".") {
9670 if ($lt_i == "..") {
9673 if (lt_count == 0) {
9674 lt_foo = "/" $lt_i lt_foo;
9681 if (lt_foo != "") { lt_freq[lt_foo]++; }
9682 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9684 # AWK program above erroneously prepends '/' to C:/dos/paths
9687 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9688 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
9690 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9692 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9695 libname_spec
='lib$name'
9703 shlibpath_overrides_runpath
=unknown
9705 dynamic_linker
="$host_os ld.so"
9706 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9707 need_lib_prefix
=unknown
9708 hardcode_into_libs
=no
9710 # when you set need_version to no, make sure it does not cause -set_version
9711 # flags to be left without arguments
9712 need_version
=unknown
9718 version_type
=linux
# correct to gnu/linux during the next big refactor
9719 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
9720 shlibpath_var
=LIBPATH
9722 # AIX 3 has no versioning support, so we append a major version to the name.
9723 soname_spec
='$libname$release$shared_ext$major'
9727 version_type
=linux
# correct to gnu/linux during the next big refactor
9730 hardcode_into_libs
=yes
9731 if test ia64
= "$host_cpu"; then
9732 # AIX 5 supports IA64
9733 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
9734 shlibpath_var
=LD_LIBRARY_PATH
9736 # With GCC up to 2.95.x, collect2 would create an import file
9737 # for dependence libraries. The import file would start with
9738 # the line '#! .'. This would cause the generated library to
9739 # depend on '.', always an invalid library. This was fixed in
9740 # development snapshots of GCC prior to 3.0.
9742 aix4 | aix4.
[01] | aix4.
[01].
*)
9743 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9745 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
9752 # Using Import Files as archive members, it is possible to support
9753 # filename-based versioning of shared library archives on AIX. While
9754 # this would work for both with and without runtime linking, it will
9755 # prevent static linking of such archives. So we do filename-based
9756 # shared library versioning with .so extension only, which is used
9757 # when both runtime linking and shared linking is enabled.
9758 # Unfortunately, runtime linking may impact performance, so we do
9759 # not want this to be the default eventually. Also, we use the
9760 # versioned .so libs for executables only if there is the -brtl
9761 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
9762 # To allow for filename-based versioning support, we need to create
9763 # libNAME.so.V as an archive file, containing:
9764 # *) an Import File, referring to the versioned filename of the
9765 # archive as well as the shared archive member, telling the
9766 # bitwidth (32 or 64) of that shared object, and providing the
9767 # list of exported symbols of that shared object, eventually
9768 # decorated with the 'weak' keyword
9769 # *) the shared object with the F_LOADONLY flag set, to really avoid
9770 # it being seen by the linker.
9771 # At run time we better use the real file rather than another symlink,
9772 # but for link time we create the symlink libNAME.so -> libNAME.so.V
9774 case $with_aix_soname,$aix_use_runtimelinking in
9775 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
9776 # soname into executable. Probably we can add versioning support to
9777 # collect2, so additional links can be useful in future.
9778 aix
,yes) # traditional libtool
9779 dynamic_linker
='AIX unversionable lib.so'
9780 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9781 # instead of lib<name>.a to let people know that these are not
9782 # typical AIX shared libraries.
9783 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9785 aix
,no
) # traditional AIX only
9786 dynamic_linker
='AIX lib.a(lib.so.V)'
9787 # We preserve .a as extension for shared libraries through AIX4.2
9788 # and later when we are not doing run time linking.
9789 library_names_spec
='$libname$release.a $libname.a'
9790 soname_spec
='$libname$release$shared_ext$major'
9792 svr4
,*) # full svr4 only
9793 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
9794 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9795 # We do not specify a path in Import Files, so LIBPATH fires.
9796 shlibpath_overrides_runpath
=yes
9798 *,yes) # both, prefer svr4
9799 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
9800 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9801 # unpreferred sharedlib libNAME.a needs extra handling
9802 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"'
9803 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"'
9804 # We do not specify a path in Import Files, so LIBPATH fires.
9805 shlibpath_overrides_runpath
=yes
9807 *,no
) # both, prefer aix
9808 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
9809 library_names_spec
='$libname$release.a $libname.a'
9810 soname_spec
='$libname$release$shared_ext$major'
9811 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
9812 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)'
9813 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"'
9816 shlibpath_var
=LIBPATH
9823 # Since July 2007 AmigaOS4 officially supports .so libraries.
9824 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9825 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9828 library_names_spec
='$libname.ixlibrary $libname.a'
9829 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9830 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'
9836 library_names_spec
='$libname$shared_ext'
9837 dynamic_linker
="$host_os ld.so"
9838 shlibpath_var
=LIBRARY_PATH
9842 version_type
=linux
# correct to gnu/linux during the next big refactor
9844 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9845 soname_spec
='$libname$release$shared_ext$major'
9846 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9847 shlibpath_var
=LD_LIBRARY_PATH
9848 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9849 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9850 # the default ld.so.conf also contains /usr/contrib/lib and
9851 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9852 # libtool to hard-code these into programs
9855 cygwin
* | mingw
* | pw32
* | cegcc
*)
9856 version_type
=windows
9861 case $GCC,$cc_basename in
9864 library_names_spec
='$libname.dll.a'
9865 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9866 postinstall_cmds
='base_file=`basename \$file`~
9867 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9868 dldir=$destdir/`dirname \$dlpath`~
9869 test -d \$dldir || mkdir -p \$dldir~
9870 $install_prog $dir/$dlname \$dldir/$dlname~
9871 chmod a+x \$dldir/$dlname~
9872 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9873 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9875 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9876 dlpath=$dir/\$dldll~
9878 shlibpath_overrides_runpath
=yes
9882 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9883 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9885 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9888 # MinGW DLLs use traditional 'lib' prefix
9889 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9892 # pw32 DLLs use 'pw' prefix rather than 'lib'
9893 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9896 dynamic_linker
='Win32 ld.exe'
9901 libname_spec
='$name'
9902 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9903 library_names_spec
='$libname.dll.lib'
9907 sys_lib_search_path_spec
=
9913 # Let DOS variable expansion print the short 8.3 style file name.
9914 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9915 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9918 # Convert to MSYS style.
9919 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9922 # Convert to unix form, then to dos form, then back to unix form
9923 # but this time dos style (no spaces!) so that the unix form looks
9924 # like /cygdrive/c/PROGRA~1:/cygdr...
9925 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9926 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9927 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9930 sys_lib_search_path_spec
=$LIB
9931 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9932 # It is most probably a Windows format PATH.
9933 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9935 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9937 # FIXME: find the short name or the path components, as spaces are
9938 # common. (e.g. "Program Files" -> "PROGRA~1")
9942 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9943 postinstall_cmds
='base_file=`basename \$file`~
9944 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9945 dldir=$destdir/`dirname \$dlpath`~
9946 test -d \$dldir || mkdir -p \$dldir~
9947 $install_prog $dir/$dlname \$dldir/$dlname'
9948 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9949 dlpath=$dir/\$dldll~
9951 shlibpath_overrides_runpath
=yes
9952 dynamic_linker
='Win32 link.exe'
9956 # Assume MSVC wrapper
9957 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
9958 dynamic_linker
='Win32 ld.exe'
9961 # FIXME: first we should search . and the directory the executable is in
9965 darwin
* | rhapsody
*)
9966 dynamic_linker
="$host_os dyld"
9970 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
9971 soname_spec
='$libname$release$major$shared_ext'
9972 shlibpath_overrides_runpath
=yes
9973 shlibpath_var
=DYLD_LIBRARY_PATH
9974 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9976 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9977 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9981 version_type
=linux
# correct to gnu/linux during the next big refactor
9984 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9985 soname_spec
='$libname$release$shared_ext$major'
9986 shlibpath_var
=LD_LIBRARY_PATH
9989 freebsd
* | dragonfly
*)
9990 # DragonFly does not have aout. When/if they implement a new
9991 # versioning mechanism, adjust this.
9992 if test -x /usr
/bin
/objformat
; then
9993 objformat
=`/usr/bin/objformat`
9996 freebsd
[23].
*) objformat
=aout
;;
10000 version_type
=freebsd-
$objformat
10001 case $version_type in
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'
10009 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10013 shlibpath_var
=LD_LIBRARY_PATH
10016 shlibpath_overrides_runpath
=yes
10018 freebsd3.
[01]* | freebsdelf3.
[01]*)
10019 shlibpath_overrides_runpath
=yes
10020 hardcode_into_libs
=yes
10022 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10023 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10024 shlibpath_overrides_runpath
=no
10025 hardcode_into_libs
=yes
10027 *) # from 4.6 on, and DragonFly
10028 shlibpath_overrides_runpath
=yes
10029 hardcode_into_libs
=yes
10035 version_type
=linux
# correct to gnu/linux during the next big refactor
10038 dynamic_linker
="$host_os runtime_loader"
10039 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10040 soname_spec
='$libname$release$shared_ext$major'
10041 shlibpath_var
=LIBRARY_PATH
10042 shlibpath_overrides_runpath
=no
10043 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10044 hardcode_into_libs
=yes
10047 hpux9
* | hpux10
* | hpux11
*)
10048 # Give a soname corresponding to the major version so that dld.sl refuses to
10049 # link against other versions.
10056 hardcode_into_libs
=yes
10057 dynamic_linker
="$host_os dld.so"
10058 shlibpath_var
=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10060 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10061 soname_spec
='$libname$release$shared_ext$major'
10062 if test 32 = "$HPUX_IA64_MODE"; then
10063 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10064 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10066 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10067 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10072 hardcode_into_libs
=yes
10073 dynamic_linker
="$host_os dld.sl"
10074 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10075 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10076 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10077 soname_spec
='$libname$release$shared_ext$major'
10078 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10079 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10083 dynamic_linker
="$host_os dld.sl"
10084 shlibpath_var
=SHLIB_PATH
10085 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10086 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10087 soname_spec
='$libname$release$shared_ext$major'
10090 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10091 postinstall_cmds
='chmod 555 $lib'
10092 # or fails outright, so override atomically:
10093 install_override_mode
=555
10097 version_type
=linux
# correct to gnu/linux during the next big refactor
10100 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10101 soname_spec
='$libname$release$shared_ext$major'
10102 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10103 shlibpath_var
=LD_LIBRARY_PATH
10104 shlibpath_overrides_runpath
=no
10105 hardcode_into_libs
=yes
10108 irix5
* | irix6
* | nonstopux
*)
10110 nonstopux
*) version_type
=nonstopux
;;
10112 if test yes = "$lt_cv_prog_gnu_ld"; then
10113 version_type
=linux
# correct to gnu/linux during the next big refactor
10120 soname_spec
='$libname$release$shared_ext$major'
10121 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10123 irix5
* | nonstopux
*)
10124 libsuff
= shlibsuff
=
10127 case $LD in # libtool.m4 will add one of these switches to LD
10128 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10129 libsuff
= shlibsuff
= libmagic
=32-bit;;
10130 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10131 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10132 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10133 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10134 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10138 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10139 shlibpath_overrides_runpath
=no
10140 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10141 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10142 hardcode_into_libs
=yes
10145 # No shared lib support for Linux oldld, aout, or coff.
10146 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10151 version_type
=none
# Android doesn't support versioned libraries.
10154 library_names_spec
='$libname$release$shared_ext'
10155 soname_spec
='$libname$release$shared_ext'
10157 shlibpath_var
=LD_LIBRARY_PATH
10158 shlibpath_overrides_runpath
=yes
10160 # This implies no fast_install, which is unacceptable.
10161 # Some rework will be needed to allow for fast_install
10162 # before this can be enabled.
10163 hardcode_into_libs
=yes
10165 dynamic_linker
='Android linker'
10166 # Don't embed -rpath directories since the linker doesn't support them.
10167 hardcode_libdir_flag_spec
='-L$libdir'
10170 # This must be glibc/ELF.
10171 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10172 version_type
=linux
# correct to gnu/linux during the next big refactor
10175 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10176 soname_spec
='$libname$release$shared_ext$major'
10177 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10178 shlibpath_var
=LD_LIBRARY_PATH
10179 shlibpath_overrides_runpath
=no
10181 # Some binutils ld are patched to set DT_RUNPATH
10182 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10183 $as_echo_n "(cached) " >&6
10185 lt_cv_shlibpath_overrides_runpath
=no
10186 save_LDFLAGS
=$LDFLAGS
10187 save_libdir
=$libdir
10188 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10189 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10201 if ac_fn_c_try_link
"$LINENO"; then :
10202 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10203 lt_cv_shlibpath_overrides_runpath
=yes
10206 rm -f core conftest.err conftest.
$ac_objext \
10207 conftest
$ac_exeext conftest.
$ac_ext
10208 LDFLAGS
=$save_LDFLAGS
10209 libdir
=$save_libdir
10213 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10215 # This implies no fast_install, which is unacceptable.
10216 # Some rework will be needed to allow for fast_install
10217 # before this can be enabled.
10218 hardcode_into_libs
=yes
10220 # Ideally, we could use ldconfig to report *all* directores which are
10221 # searched for libraries, however this is still not possible. Aside from not
10222 # being certain /sbin/ldconfig is available, command
10223 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10224 # even though it is searched at run-time. Try to do the best guess by
10225 # appending ld.so.conf contents (and includes) to the search path.
10226 if test -f /etc
/ld.so.conf
; then
10227 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' ' '`
10228 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10231 # We used to test for /lib/ld.so.1 and disable shared libraries on
10232 # powerpc, because MkLinux only supported shared libraries with the
10233 # GNU dynamic linker. Since this was broken with cross compilers,
10234 # most powerpc-linux boxes support dynamic linking these days and
10235 # people can always --disable-shared, the test was removed, and we
10236 # assume the GNU/Linux dynamic linker is in use.
10237 dynamic_linker
='GNU/Linux ld.so'
10244 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10245 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10246 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10247 dynamic_linker
='NetBSD (a.out) ld.so'
10249 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10250 soname_spec
='$libname$release$shared_ext$major'
10251 dynamic_linker
='NetBSD ld.elf_so'
10253 shlibpath_var
=LD_LIBRARY_PATH
10254 shlibpath_overrides_runpath
=yes
10255 hardcode_into_libs
=yes
10259 version_type
=linux
# correct to gnu/linux during the next big refactor
10260 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10261 shlibpath_var
=LD_LIBRARY_PATH
10262 shlibpath_overrides_runpath
=yes
10269 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10270 soname_spec
='$libname$release$shared_ext$major'
10271 shlibpath_var
=LD_LIBRARY_PATH
10272 shlibpath_overrides_runpath
=no
10273 hardcode_into_libs
=yes
10274 dynamic_linker
='ldqnx.so'
10277 openbsd
* | bitrig
*)
10279 sys_lib_dlsearch_path_spec
=/usr
/lib
10281 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10286 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10287 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10288 shlibpath_var
=LD_LIBRARY_PATH
10289 shlibpath_overrides_runpath
=yes
10293 libname_spec
='$name'
10294 version_type
=windows
10298 # OS/2 can only load a DLL with a base name of 8 characters or less.
10299 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
10300 v=$($ECHO $release$versuffix | tr -d .-);
10301 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10302 $ECHO $n$v`$shared_ext'
10303 library_names_spec
='${libname}_dll.$libext'
10304 dynamic_linker
='OS/2 ld.exe'
10305 shlibpath_var
=BEGINLIBPATH
10306 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10307 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10308 postinstall_cmds
='base_file=`basename \$file`~
10309 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10310 dldir=$destdir/`dirname \$dlpath`~
10311 test -d \$dldir || mkdir -p \$dldir~
10312 $install_prog $dir/$dlname \$dldir/$dlname~
10313 chmod a+x \$dldir/$dlname~
10314 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10315 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10317 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10318 dlpath=$dir/\$dldll~
10322 osf3
* | osf4
* | osf5
*)
10326 soname_spec
='$libname$release$shared_ext$major'
10327 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10328 shlibpath_var
=LD_LIBRARY_PATH
10329 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10330 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10338 version_type
=linux
# correct to gnu/linux during the next big refactor
10341 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10342 soname_spec
='$libname$release$shared_ext$major'
10343 shlibpath_var
=LD_LIBRARY_PATH
10344 shlibpath_overrides_runpath
=yes
10345 hardcode_into_libs
=yes
10346 # ldd complains unless libraries are executable
10347 postinstall_cmds
='chmod +x $lib'
10352 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10353 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10354 shlibpath_var
=LD_LIBRARY_PATH
10355 shlibpath_overrides_runpath
=yes
10356 if test yes = "$with_gnu_ld"; then
10363 version_type
=linux
# correct to gnu/linux during the next big refactor
10364 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10365 soname_spec
='$libname$release$shared_ext$major'
10366 shlibpath_var
=LD_LIBRARY_PATH
10367 case $host_vendor in
10369 shlibpath_overrides_runpath
=no
10371 runpath_var
=LD_RUN_PATH
10379 shlibpath_overrides_runpath
=no
10380 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10386 if test -d /usr
/nec
; then
10387 version_type
=linux
# correct to gnu/linux during the next big refactor
10388 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10389 soname_spec
='$libname$shared_ext.$major'
10390 shlibpath_var
=LD_LIBRARY_PATH
10394 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10398 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10399 soname_spec
='$libname$release$shared_ext$major'
10400 shlibpath_var
=LD_LIBRARY_PATH
10401 shlibpath_overrides_runpath
=yes
10402 hardcode_into_libs
=yes
10403 if test yes = "$with_gnu_ld"; then
10404 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10406 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10409 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10413 sys_lib_dlsearch_path_spec
='/usr/lib'
10417 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10418 version_type
=linux
# correct to gnu/linux during the next big refactor
10421 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10422 shlibpath_var
=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath
=no
10424 hardcode_into_libs
=yes
10428 version_type
=linux
# correct to gnu/linux during the next big refactor
10429 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10430 soname_spec
='$libname$release$shared_ext$major'
10431 shlibpath_var
=LD_LIBRARY_PATH
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10439 $as_echo "$dynamic_linker" >&6; }
10440 test no
= "$dynamic_linker" && can_build_shared
=no
10442 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10443 if test yes = "$GCC"; then
10444 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10447 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10448 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
10451 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10452 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
10455 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
10456 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
10458 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
10459 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
10461 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
10462 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10561 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10563 if test -n "$hardcode_libdir_flag_spec" ||
10564 test -n "$runpath_var" ||
10565 test yes = "$hardcode_automatic"; then
10567 # We can hardcode non-existent directories.
10568 if test no
!= "$hardcode_direct" &&
10569 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10570 # have to relink, otherwise we might link with an installed library
10571 # when we should be linking with a yet-to-be-installed one
10572 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
10573 test no
!= "$hardcode_minus_L"; then
10574 # Linking always hardcodes the temporary library directory.
10575 hardcode_action
=relink
10577 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10578 hardcode_action
=immediate
10581 # We cannot hardcode anything, or else we can only hardcode existing
10583 hardcode_action
=unsupported
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10586 $as_echo "$hardcode_action" >&6; }
10588 if test relink
= "$hardcode_action" ||
10589 test yes = "$inherit_rpath"; then
10590 # Fast installation is not supported
10591 enable_fast_install
=no
10592 elif test yes = "$shlibpath_overrides_runpath" ||
10593 test no
= "$enable_shared"; then
10594 # Fast installation is not necessary
10595 enable_fast_install
=needless
10603 if test yes != "$enable_dlopen"; then
10604 enable_dlopen
=unknown
10605 enable_dlopen_self
=unknown
10606 enable_dlopen_self_static
=unknown
10613 lt_cv_dlopen
=load_add_on
10615 lt_cv_dlopen_self
=yes
10618 mingw
* | pw32
* | cegcc
*)
10619 lt_cv_dlopen
=LoadLibrary
10624 lt_cv_dlopen
=dlopen
10629 # if libdl is installed we need to link against it
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10631 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10632 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10633 $as_echo_n "(cached) " >&6
10635 ac_check_lib_save_LIBS
=$LIBS
10637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10640 /* Override any GCC internal prototype to avoid an error.
10641 Use char because int might match the return type of a GCC
10642 builtin and then its argument prototype would still apply. */
10655 if ac_fn_c_try_link
"$LINENO"; then :
10656 ac_cv_lib_dl_dlopen
=yes
10658 ac_cv_lib_dl_dlopen
=no
10660 rm -f core conftest.err conftest.
$ac_objext \
10661 conftest
$ac_exeext conftest.
$ac_ext
10662 LIBS
=$ac_check_lib_save_LIBS
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10665 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10666 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10667 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10672 lt_cv_dlopen_self
=yes
10679 # Don't try to run any link tests for TPF. We know it's impossible
10680 # because TPF is a cross-compiler, and we know how we open DSOs.
10681 lt_cv_dlopen
=dlopen
10683 lt_cv_dlopen_self
=no
10687 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10688 if test "x$ac_cv_func_shl_load" = xyes
; then :
10689 lt_cv_dlopen
=shl_load
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10692 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10693 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10694 $as_echo_n "(cached) " >&6
10696 ac_check_lib_save_LIBS
=$LIBS
10698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 /* Override any GCC internal prototype to avoid an error.
10702 Use char because int might match the return type of a GCC
10703 builtin and then its argument prototype would still apply. */
10711 return shl_load ();
10716 if ac_fn_c_try_link
"$LINENO"; then :
10717 ac_cv_lib_dld_shl_load
=yes
10719 ac_cv_lib_dld_shl_load
=no
10721 rm -f core conftest.err conftest.
$ac_objext \
10722 conftest
$ac_exeext conftest.
$ac_ext
10723 LIBS
=$ac_check_lib_save_LIBS
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10726 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10727 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10728 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
10730 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10731 if test "x$ac_cv_func_dlopen" = xyes
; then :
10732 lt_cv_dlopen
=dlopen
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10735 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10736 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10737 $as_echo_n "(cached) " >&6
10739 ac_check_lib_save_LIBS
=$LIBS
10741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10759 if ac_fn_c_try_link
"$LINENO"; then :
10760 ac_cv_lib_dl_dlopen
=yes
10762 ac_cv_lib_dl_dlopen
=no
10764 rm -f core conftest.err conftest.
$ac_objext \
10765 conftest
$ac_exeext conftest.
$ac_ext
10766 LIBS
=$ac_check_lib_save_LIBS
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10769 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10770 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10771 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10774 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10775 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10776 $as_echo_n "(cached) " >&6
10778 ac_check_lib_save_LIBS
=$LIBS
10779 LIBS
="-lsvld $LIBS"
10780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10783 /* Override any GCC internal prototype to avoid an error.
10784 Use char because int might match the return type of a GCC
10785 builtin and then its argument prototype would still apply. */
10798 if ac_fn_c_try_link
"$LINENO"; then :
10799 ac_cv_lib_svld_dlopen
=yes
10801 ac_cv_lib_svld_dlopen
=no
10803 rm -f core conftest.err conftest.
$ac_objext \
10804 conftest
$ac_exeext conftest.
$ac_ext
10805 LIBS
=$ac_check_lib_save_LIBS
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10808 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10809 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10810 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10813 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10814 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10815 $as_echo_n "(cached) " >&6
10817 ac_check_lib_save_LIBS
=$LIBS
10819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10832 return dld_link ();
10837 if ac_fn_c_try_link
"$LINENO"; then :
10838 ac_cv_lib_dld_dld_link
=yes
10840 ac_cv_lib_dld_dld_link
=no
10842 rm -f core conftest.err conftest.
$ac_objext \
10843 conftest
$ac_exeext conftest.
$ac_ext
10844 LIBS
=$ac_check_lib_save_LIBS
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10847 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10848 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10849 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
10870 if test no
= "$lt_cv_dlopen"; then
10876 case $lt_cv_dlopen in
10878 save_CPPFLAGS
=$CPPFLAGS
10879 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10881 save_LDFLAGS
=$LDFLAGS
10882 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10885 LIBS
="$lt_cv_dlopen_libs $LIBS"
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10888 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10889 if ${lt_cv_dlopen_self+:} false
; then :
10890 $as_echo_n "(cached) " >&6
10892 if test yes = "$cross_compiling"; then :
10893 lt_cv_dlopen_self
=cross
10895 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10896 lt_status
=$lt_dlunknown
10897 cat > conftest.
$ac_ext <<_LT_EOF
10898 #line $LINENO "configure"
10899 #include "confdefs.h"
10908 # define LT_DLGLOBAL RTLD_GLOBAL
10911 # define LT_DLGLOBAL DL_GLOBAL
10913 # define LT_DLGLOBAL 0
10917 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10918 find out it does not work in some platform. */
10919 #ifndef LT_DLLAZY_OR_NOW
10921 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10924 # define LT_DLLAZY_OR_NOW DL_LAZY
10927 # define LT_DLLAZY_OR_NOW RTLD_NOW
10930 # define LT_DLLAZY_OR_NOW DL_NOW
10932 # define LT_DLLAZY_OR_NOW 0
10939 /* When -fvisibility=hidden is used, assume the code has been annotated
10940 correspondingly for the symbols needed. */
10941 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10942 int fnord () __attribute__((visibility("default")));
10945 int fnord () { return 42; }
10948 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10949 int status = $lt_dlunknown;
10953 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10956 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10957 else puts (dlerror ());
10959 /* dlclose (self); */
10967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10968 (eval $ac_link) 2>&5
10970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10971 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
10972 (.
/conftest
; exit; ) >&5 2>/dev
/null
10974 case x
$lt_status in
10975 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10976 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10977 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10980 # compilation failed
10981 lt_cv_dlopen_self
=no
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10989 $as_echo "$lt_cv_dlopen_self" >&6; }
10991 if test yes = "$lt_cv_dlopen_self"; then
10992 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10994 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10995 if ${lt_cv_dlopen_self_static+:} false
; then :
10996 $as_echo_n "(cached) " >&6
10998 if test yes = "$cross_compiling"; then :
10999 lt_cv_dlopen_self_static
=cross
11001 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11002 lt_status
=$lt_dlunknown
11003 cat > conftest.
$ac_ext <<_LT_EOF
11004 #line $LINENO "configure"
11005 #include "confdefs.h"
11014 # define LT_DLGLOBAL RTLD_GLOBAL
11017 # define LT_DLGLOBAL DL_GLOBAL
11019 # define LT_DLGLOBAL 0
11023 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11024 find out it does not work in some platform. */
11025 #ifndef LT_DLLAZY_OR_NOW
11027 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11030 # define LT_DLLAZY_OR_NOW DL_LAZY
11033 # define LT_DLLAZY_OR_NOW RTLD_NOW
11036 # define LT_DLLAZY_OR_NOW DL_NOW
11038 # define LT_DLLAZY_OR_NOW 0
11045 /* When -fvisibility=hidden is used, assume the code has been annotated
11046 correspondingly for the symbols needed. */
11047 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11048 int fnord () __attribute__((visibility("default")));
11051 int fnord () { return 42; }
11054 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11055 int status = $lt_dlunknown;
11059 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11062 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11063 else puts (dlerror ());
11065 /* dlclose (self); */
11073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11074 (eval $ac_link) 2>&5
11076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11077 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11078 (.
/conftest
; exit; ) >&5 2>/dev
/null
11080 case x
$lt_status in
11081 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11082 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11083 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11086 # compilation failed
11087 lt_cv_dlopen_self_static
=no
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11095 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11098 CPPFLAGS
=$save_CPPFLAGS
11099 LDFLAGS
=$save_LDFLAGS
11104 case $lt_cv_dlopen_self in
11105 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11106 *) enable_dlopen_self
=unknown
;;
11109 case $lt_cv_dlopen_self_static in
11110 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11111 *) enable_dlopen_self_static
=unknown
;;
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11134 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11135 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11136 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11137 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11139 $as_echo "yes" >&6; }
11141 # FIXME - insert some real tests, host_os isn't really good enough
11144 if test -n "$STRIP"; then
11145 striplib
="$STRIP -x"
11146 old_striplib
="$STRIP -S"
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11148 $as_echo "yes" >&6; }
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11151 $as_echo "no" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11156 $as_echo "no" >&6; }
11172 # Report what library types will actually be built
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11174 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11176 $as_echo "$can_build_shared" >&6; }
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11179 $as_echo_n "checking whether to build shared libraries... " >&6; }
11180 test no
= "$can_build_shared" && enable_shared
=no
11182 # On AIX, shared libraries and static libraries use the same namespace, and
11183 # are all built from PIC.
11186 test yes = "$enable_shared" && enable_static
=no
11187 if test -n "$RANLIB"; then
11188 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11189 postinstall_cmds
='$RANLIB $lib'
11194 if test ia64
!= "$host_cpu"; then
11195 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11196 yes,aix
,yes) ;; # shared object as lib.so file only
11197 yes,svr4
,*) ;; # shared object as lib.so archive member only
11198 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11204 $as_echo "$enable_shared" >&6; }
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11207 $as_echo_n "checking whether to build static libraries... " >&6; }
11208 # Make sure either enable_shared or enable_static is yes.
11209 test yes = "$enable_shared" || enable_static
=yes
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11211 $as_echo "$enable_static" >&6; }
11218 ac_cpp
='$CPP $CPPFLAGS'
11219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11239 ac_config_commands
="$ac_config_commands libtool"
11244 # Only expand once:
11247 # Find a good install program. We prefer a C program (faster),
11248 # so one script is as good as another. But avoid the broken or
11249 # incompatible versions:
11250 # SysV /etc/install, /usr/sbin/install
11251 # SunOS /usr/etc/install
11252 # IRIX /sbin/install
11254 # AmigaOS /C/install, which installs bootblocks on floppy discs
11255 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11256 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11257 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11258 # OS/2's system install, which has a completely different semantic
11259 # ./install, which can be erroneously created by make from ./install.sh.
11260 # Reject install programs that cannot install multiple files.
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11262 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11263 if test -z "$INSTALL"; then
11264 if ${ac_cv_path_install+:} false
; then :
11265 $as_echo_n "(cached) " >&6
11267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11268 for as_dir
in $PATH
11271 test -z "$as_dir" && as_dir
=.
11272 # Account for people who put trailing slashes in PATH elements.
11273 case $as_dir/ in #((
11274 .
/ | .
// |
/[cC
]/* | \
11275 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11276 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
11279 # OSF1 and SCO ODT 3.0 have their own names for install.
11280 # Don't use installbsd from OSF since it installs stuff as root
11282 for ac_prog
in ginstall scoinst
install; do
11283 for ac_exec_ext
in '' $ac_executable_extensions; do
11284 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
11285 if test $ac_prog = install &&
11286 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11287 # AIX install. It has an incompatible calling convention.
11289 elif test $ac_prog = install &&
11290 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11291 # program-specific install script used by HP pwplus--don't use.
11294 rm -rf conftest.one conftest.two conftest.dir
11295 echo one
> conftest.one
11296 echo two
> conftest.two
11298 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11299 test -s conftest.one
&& test -s conftest.two
&&
11300 test -s conftest.dir
/conftest.one
&&
11301 test -s conftest.dir
/conftest.two
11303 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11316 rm -rf conftest.one conftest.two conftest.dir
11319 if test "${ac_cv_path_install+set}" = set; then
11320 INSTALL
=$ac_cv_path_install
11322 # As a last resort, use the slow shell script. Don't cache a
11323 # value for INSTALL within a source directory, because that will
11324 # break other packages using the cache if that directory is
11325 # removed, or if the value is a relative name.
11326 INSTALL
=$ac_install_sh
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11330 $as_echo "$INSTALL" >&6; }
11332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11333 # It thinks the first close brace ends the variable substitution.
11334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11338 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11342 # Enable large file support (if special flags are necessary)
11344 # Check whether --enable-largefile was given.
11345 if test "${enable_largefile+set}" = set; then :
11346 enableval
=$enable_largefile;
11349 if test "$enable_largefile" != no
; then
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11352 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11353 if ${ac_cv_sys_largefile_CC+:} false
; then :
11354 $as_echo_n "(cached) " >&6
11356 ac_cv_sys_largefile_CC
=no
11357 if test "$GCC" != yes; then
11360 # IRIX 6.2 and later do not support large files by default,
11361 # so use the C compiler's -n32 option if that helps.
11362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11364 #include <sys/types.h>
11365 /* Check that off_t can represent 2**63 - 1 correctly.
11366 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11367 since some C++ compilers masquerading as C compilers
11368 incorrectly reject 9223372036854775807. */
11369 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11370 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11371 && LARGE_OFF_T % 2147483647 == 1)
11381 if ac_fn_c_try_compile
"$LINENO"; then :
11384 rm -f core conftest.err conftest.
$ac_objext
11386 if ac_fn_c_try_compile
"$LINENO"; then :
11387 ac_cv_sys_largefile_CC
=' -n32'; break
11389 rm -f core conftest.err conftest.
$ac_objext
11393 rm -f conftest.
$ac_ext
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11397 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11398 if test "$ac_cv_sys_largefile_CC" != no
; then
11399 CC
=$CC$ac_cv_sys_largefile_CC
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11403 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11404 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11405 $as_echo_n "(cached) " >&6
11408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11410 #include <sys/types.h>
11411 /* Check that off_t can represent 2**63 - 1 correctly.
11412 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11413 since some C++ compilers masquerading as C compilers
11414 incorrectly reject 9223372036854775807. */
11415 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11416 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11417 && LARGE_OFF_T % 2147483647 == 1)
11427 if ac_fn_c_try_compile
"$LINENO"; then :
11428 ac_cv_sys_file_offset_bits
=no
; break
11430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11433 #define _FILE_OFFSET_BITS 64
11434 #include <sys/types.h>
11435 /* Check that off_t can represent 2**63 - 1 correctly.
11436 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11437 since some C++ compilers masquerading as C compilers
11438 incorrectly reject 9223372036854775807. */
11439 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11440 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11441 && LARGE_OFF_T % 2147483647 == 1)
11451 if ac_fn_c_try_compile
"$LINENO"; then :
11452 ac_cv_sys_file_offset_bits
=64; break
11454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11455 ac_cv_sys_file_offset_bits
=unknown
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11460 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11461 case $ac_cv_sys_file_offset_bits in #(
11464 cat >>confdefs.h
<<_ACEOF
11465 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11470 if test $ac_cv_sys_file_offset_bits = unknown
; then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11472 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11473 if ${ac_cv_sys_large_files+:} false
; then :
11474 $as_echo_n "(cached) " >&6
11477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11479 #include <sys/types.h>
11480 /* Check that off_t can represent 2**63 - 1 correctly.
11481 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11482 since some C++ compilers masquerading as C compilers
11483 incorrectly reject 9223372036854775807. */
11484 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11485 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11486 && LARGE_OFF_T % 2147483647 == 1)
11496 if ac_fn_c_try_compile
"$LINENO"; then :
11497 ac_cv_sys_large_files
=no
; break
11499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11502 #define _LARGE_FILES 1
11503 #include <sys/types.h>
11504 /* Check that off_t can represent 2**63 - 1 correctly.
11505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11506 since some C++ compilers masquerading as C compilers
11507 incorrectly reject 9223372036854775807. */
11508 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11510 && LARGE_OFF_T % 2147483647 == 1)
11520 if ac_fn_c_try_compile
"$LINENO"; then :
11521 ac_cv_sys_large_files
=1; break
11523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11524 ac_cv_sys_large_files
=unknown
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11529 $as_echo "$ac_cv_sys_large_files" >&6; }
11530 case $ac_cv_sys_large_files in #(
11533 cat >>confdefs.h
<<_ACEOF
11534 #define _LARGE_FILES $ac_cv_sys_large_files
11546 # Check for needed/wanted data types
11547 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
11548 if test "x$ac_cv_type_int8_t" = xyes
; then :
11550 cat >>confdefs.h
<<_ACEOF
11551 #define HAVE_INT8_T 1
11556 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
11557 if test "x$ac_cv_type_int16_t" = xyes
; then :
11559 cat >>confdefs.h
<<_ACEOF
11560 #define HAVE_INT16_T 1
11565 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
11566 if test "x$ac_cv_type_int32_t" = xyes
; then :
11568 cat >>confdefs.h
<<_ACEOF
11569 #define HAVE_INT32_T 1
11574 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
11575 if test "x$ac_cv_type_int64_t" = xyes
; then :
11577 cat >>confdefs.h
<<_ACEOF
11578 #define HAVE_INT64_T 1
11583 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
11584 if test "x$ac_cv_type_intptr_t" = xyes
; then :
11586 cat >>confdefs.h
<<_ACEOF
11587 #define HAVE_INTPTR_T 1
11592 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
11593 if test "x$ac_cv_type_uint8_t" = xyes
; then :
11595 cat >>confdefs.h
<<_ACEOF
11596 #define HAVE_UINT8_T 1
11601 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
11602 if test "x$ac_cv_type_uint16_t" = xyes
; then :
11604 cat >>confdefs.h
<<_ACEOF
11605 #define HAVE_UINT16_T 1
11610 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
11611 if test "x$ac_cv_type_uint32_t" = xyes
; then :
11613 cat >>confdefs.h
<<_ACEOF
11614 #define HAVE_UINT32_T 1
11619 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
11620 if test "x$ac_cv_type_uint64_t" = xyes
; then :
11622 cat >>confdefs.h
<<_ACEOF
11623 #define HAVE_UINT64_T 1
11628 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
11629 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
11631 cat >>confdefs.h
<<_ACEOF
11632 #define HAVE_UINTPTR_T 1
11640 # Check for needed/wanted headers
11641 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
11643 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11644 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11645 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11646 cat >>confdefs.h
<<_ACEOF
11647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11656 # Figure out whether or not we have these functions
11658 for ac_func
in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul
usleep utime pread pread64 pwrite pwrite64
11660 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11661 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11662 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11663 cat >>confdefs.h
<<_ACEOF
11664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11672 # By default, we use the amalgamation (this may be changed below...)
11677 # See whether we can run specific tclsh versions known to work well;
11678 # if not, then we fall back to plain tclsh.
11679 # TODO: try other versions before falling back?
11681 for ac_prog
in tclsh8.7 tclsh8.6 tclsh8.5 tclsh
11683 # Extract the first word of "$ac_prog", so it can be a program name with args.
11684 set dummy
$ac_prog; ac_word
=$2
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11686 $as_echo_n "checking for $ac_word... " >&6; }
11687 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
11688 $as_echo_n "(cached) " >&6
11690 if test -n "$TCLSH_CMD"; then
11691 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
11693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11694 for as_dir
in $PATH
11697 test -z "$as_dir" && as_dir
=.
11698 for ac_exec_ext
in '' $ac_executable_extensions; do
11699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11700 ac_cv_prog_TCLSH_CMD
="$ac_prog"
11701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11710 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
11711 if test -n "$TCLSH_CMD"; then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
11713 $as_echo "$TCLSH_CMD" >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11716 $as_echo "no" >&6; }
11720 test -n "$TCLSH_CMD" && break
11722 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
11724 if test "$TCLSH_CMD" = "none"; then
11725 # If we can't find a local tclsh, then building the amalgamation will fail.
11726 # We act as though --disable-amalgamation has been used.
11727 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
11734 if test "x${TCLLIBDIR+set}" != "xset" ; then
11735 TCLLIBDIR
='$(libdir)'
11736 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
11740 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
11744 # Set up an appropriate program prefix
11746 if test "$program_prefix" = "NONE"; then
11751 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
11753 $as_echo "$as_me: Version set to $VERSION" >&6;}
11755 RELEASE
=`cat $srcdir/VERSION`
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
11757 $as_echo "$as_me: Release set to $RELEASE" >&6;}
11759 VERSION_NUMBER
=`cat $srcdir/VERSION \
11760 | sed 's/[^0-9]/ /g' \
11761 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
11763 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
11767 # Locate a compiler for the build machine. This compiler should
11768 # generate command-line programs that run on the build machine.
11770 if test x
"$cross_compiling" = xno
; then
11772 BUILD_CFLAGS
=$CFLAGS
11774 if test "${BUILD_CC+set}" != set; then
11775 for ac_prog
in gcc cc cl
11777 # Extract the first word of "$ac_prog", so it can be a program name with args.
11778 set dummy
$ac_prog; ac_word
=$2
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11780 $as_echo_n "checking for $ac_word... " >&6; }
11781 if ${ac_cv_prog_BUILD_CC+:} false
; then :
11782 $as_echo_n "(cached) " >&6
11784 if test -n "$BUILD_CC"; then
11785 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
11787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11788 for as_dir
in $PATH
11791 test -z "$as_dir" && as_dir
=.
11792 for ac_exec_ext
in '' $ac_executable_extensions; do
11793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11794 ac_cv_prog_BUILD_CC
="$ac_prog"
11795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11804 BUILD_CC
=$ac_cv_prog_BUILD_CC
11805 if test -n "$BUILD_CC"; then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
11807 $as_echo "$BUILD_CC" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11810 $as_echo "no" >&6; }
11814 test -n "$BUILD_CC" && break
11818 if test "${BUILD_CFLAGS+set}" != set; then
11825 # Do we want to support multithreaded use of sqlite
11827 # Check whether --enable-threadsafe was given.
11828 if test "${enable_threadsafe+set}" = set; then :
11829 enableval
=$enable_threadsafe;
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
11833 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
11834 if test "$enable_threadsafe" = "no"; then
11835 SQLITE_THREADSAFE
=0
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11839 SQLITE_THREADSAFE
=1
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11845 if test "$SQLITE_THREADSAFE" = "1"; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
11847 $as_echo_n "checking for library containing pthread_create... " >&6; }
11848 if ${ac_cv_search_pthread_create+:} false
; then :
11849 $as_echo_n "(cached) " >&6
11851 ac_func_search_save_LIBS
=$LIBS
11852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11861 char pthread_create ();
11865 return pthread_create ();
11870 for ac_lib
in '' pthread
; do
11871 if test -z "$ac_lib"; then
11872 ac_res
="none required"
11875 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11877 if ac_fn_c_try_link
"$LINENO"; then :
11878 ac_cv_search_pthread_create
=$ac_res
11880 rm -f core conftest.err conftest.
$ac_objext \
11882 if ${ac_cv_search_pthread_create+:} false
; then :
11886 if ${ac_cv_search_pthread_create+:} false
; then :
11889 ac_cv_search_pthread_create
=no
11891 rm conftest.
$ac_ext
11892 LIBS
=$ac_func_search_save_LIBS
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
11895 $as_echo "$ac_cv_search_pthread_create" >&6; }
11896 ac_res
=$ac_cv_search_pthread_create
11897 if test "$ac_res" != no
; then :
11898 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
11903 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
11904 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11905 $as_echo_n "(cached) " >&6
11907 ac_func_search_save_LIBS
=$LIBS
11908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11911 /* Override any GCC internal prototype to avoid an error.
11912 Use char because int might match the return type of a GCC
11913 builtin and then its argument prototype would still apply. */
11917 char pthread_mutexattr_init ();
11921 return pthread_mutexattr_init ();
11926 for ac_lib
in '' pthread
; do
11927 if test -z "$ac_lib"; then
11928 ac_res
="none required"
11931 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11933 if ac_fn_c_try_link
"$LINENO"; then :
11934 ac_cv_search_pthread_mutexattr_init
=$ac_res
11936 rm -f core conftest.err conftest.
$ac_objext \
11938 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11942 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11945 ac_cv_search_pthread_mutexattr_init
=no
11947 rm conftest.
$ac_ext
11948 LIBS
=$ac_func_search_save_LIBS
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
11951 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
11952 ac_res
=$ac_cv_search_pthread_mutexattr_init
11953 if test "$ac_res" != no
; then :
11954 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11961 # Which crypto library do we use
11964 # Check whether --with-crypto-lib was given.
11965 if test "${with_crypto_lib+set}" = set; then :
11966 withval
=$with_crypto_lib; crypto_lib
=$withval
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto library to use" >&5
11970 $as_echo_n "checking for crypto library to use... " >&6; }
11971 if test "$crypto_lib" = "none"; then
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11973 $as_echo "none" >&6; }
11975 if test "$crypto_lib" = "commoncrypto"; then
11976 CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
11977 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: commoncrypto" >&5
11979 $as_echo "commoncrypto" >&6; }
11981 if test "$crypto_lib" = "libtomcrypt"; then
11982 CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
11983 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtomcrypt" >&5
11985 $as_echo "libtomcrypt" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
11987 $as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
11988 if ${ac_cv_lib_tomcrypt_register_cipher+:} false
; then :
11989 $as_echo_n "(cached) " >&6
11991 ac_check_lib_save_LIBS
=$LIBS
11992 LIBS
="-ltomcrypt $LIBS"
11993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
12002 char register_cipher ();
12006 return register_cipher ();
12011 if ac_fn_c_try_link
"$LINENO"; then :
12012 ac_cv_lib_tomcrypt_register_cipher
=yes
12014 ac_cv_lib_tomcrypt_register_cipher
=no
12016 rm -f core conftest.err conftest.
$ac_objext \
12017 conftest
$ac_exeext conftest.
$ac_ext
12018 LIBS
=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
12021 $as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
12022 if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes
; then :
12023 cat >>confdefs.h
<<_ACEOF
12024 #define HAVE_LIBTOMCRYPT 1
12027 LIBS
="-ltomcrypt $LIBS"
12030 as_fn_error $?
"Library crypto not found. Install libtomcrypt!\"" "$LINENO" 5
12034 if test "$crypto_lib" = "nss"; then
12035 CFLAGS
+=" -DSQLCIPHER_CRYPTO_NSS"
12036 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_NSS"
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: nss3" >&5
12038 $as_echo "nss3" >&6; }
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PK11_Decrypt in -lnss3" >&5
12040 $as_echo_n "checking for PK11_Decrypt in -lnss3... " >&6; }
12041 if ${ac_cv_lib_nss3_PK11_Decrypt+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12044 ac_check_lib_save_LIBS
=$LIBS
12045 LIBS
="-lnss3 $LIBS"
12046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12055 char PK11_Decrypt ();
12059 return PK11_Decrypt ();
12064 if ac_fn_c_try_link
"$LINENO"; then :
12065 ac_cv_lib_nss3_PK11_Decrypt
=yes
12067 ac_cv_lib_nss3_PK11_Decrypt
=no
12069 rm -f core conftest.err conftest.
$ac_objext \
12070 conftest
$ac_exeext conftest.
$ac_ext
12071 LIBS
=$ac_check_lib_save_LIBS
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_PK11_Decrypt" >&5
12074 $as_echo "$ac_cv_lib_nss3_PK11_Decrypt" >&6; }
12075 if test "x$ac_cv_lib_nss3_PK11_Decrypt" = xyes
; then :
12076 cat >>confdefs.h
<<_ACEOF
12077 #define HAVE_LIBNSS3 1
12080 LIBS
="-lnss3 $LIBS"
12083 as_fn_error $?
"Library crypto not found. Install nss!\"" "$LINENO" 5
12087 CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12088 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: openssl" >&5
12090 $as_echo "openssl" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
12092 $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
12093 if ${ac_cv_lib_crypto_HMAC_Init_ex+:} false
; then :
12094 $as_echo_n "(cached) " >&6
12096 ac_check_lib_save_LIBS
=$LIBS
12097 LIBS
="-lcrypto $LIBS"
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12107 char HMAC_Init_ex ();
12111 return HMAC_Init_ex ();
12116 if ac_fn_c_try_link
"$LINENO"; then :
12117 ac_cv_lib_crypto_HMAC_Init_ex
=yes
12119 ac_cv_lib_crypto_HMAC_Init_ex
=no
12121 rm -f core conftest.err conftest.
$ac_objext \
12122 conftest
$ac_exeext conftest.
$ac_ext
12123 LIBS
=$ac_check_lib_save_LIBS
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
12126 $as_echo "$ac_cv_lib_crypto_HMAC_Init_ex" >&6; }
12127 if test "x$ac_cv_lib_crypto_HMAC_Init_ex" = xyes
; then :
12128 cat >>confdefs.h
<<_ACEOF
12129 #define HAVE_LIBCRYPTO 1
12132 LIBS
="-lcrypto $LIBS"
12135 as_fn_error $?
"Library crypto not found. Install openssl!\"" "$LINENO" 5
12144 # Do we want to allow a connection created in one thread to be used
12145 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
12146 # due to bugs in the threading implementations. This is thus off by default.
12148 # Check whether --enable-cross-thread-connections was given.
12149 if test "${enable_cross_thread_connections+set}" = set; then :
12150 enableval
=$enable_cross_thread_connections;
12152 enable_xthreadconnect
=no
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to allow connections to be shared across threads" >&5
12156 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12157 if test "$enable_xthreadconnect" = "no"; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12162 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12164 $as_echo "yes" >&6; }
12169 # Do we want to support release
12171 # Check whether --enable-releasemode was given.
12172 if test "${enable_releasemode+set}" = set; then :
12173 enableval
=$enable_releasemode;
12175 enable_releasemode
=no
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
12179 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12180 if test "$enable_releasemode" = "no"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12183 $as_echo "no" >&6; }
12185 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12187 $as_echo "yes" >&6; }
12192 # Do we want temporary databases in memory
12194 # Check whether --enable-tempstore was given.
12195 if test "${enable_tempstore+set}" = set; then :
12196 enableval
=$enable_tempstore;
12198 enable_tempstore
=no
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
12202 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12203 case "$enable_tempstore" in
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
12207 $as_echo "never" >&6; }
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12212 $as_echo "no" >&6; }
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12217 $as_echo "yes" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
12222 $as_echo "always" >&6; }
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12234 # Lots of things are different if we are compiling for Windows using
12235 # the CYGWIN environment. So check for that special case and handle
12236 # things accordingly.
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
12239 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12240 if test "$config_BUILD_EXEEXT" = ".exe"; then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12243 $as_echo "yes" >&6; }
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
12246 $as_echo "unknown" >&6; }
12248 if test "$CYGWIN" != "yes"; then
12251 *cygwin
* ) CYGWIN
=yes;;
12256 if test "$CYGWIN" = "yes"; then
12259 BUILD_EXEEXT
=$EXEEXT
12261 if test x
"$cross_compiling" = xno
; then
12262 TARGET_EXEEXT
=$BUILD_EXEEXT
12264 TARGET_EXEEXT
=$config_TARGET_EXEEXT
12266 if test "$TARGET_EXEEXT" = ".exe"; then
12269 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
12273 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
12282 # Figure out all the parameters needed to compile against Tcl.
12284 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12285 # macros in the in the tcl.m4 file of the standard TCL distribution.
12286 # Those macros could not be used directly since we have to make some
12287 # minor changes to accomodate systems that do not have TCL installed.
12289 # Check whether --enable-tcl was given.
12290 if test "${enable_tcl+set}" = set; then :
12291 enableval
=$enable_tcl; use_tcl
=$enableval
12296 if test "${use_tcl}" = "yes" ; then
12298 # Check whether --with-tcl was given.
12299 if test "${with_tcl+set}" = set; then :
12300 withval
=$with_tcl; with_tclconfig
=${withval}
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
12304 $as_echo_n "checking for Tcl configuration... " >&6; }
12305 if ${ac_cv_c_tclconfig+:} false
; then :
12306 $as_echo_n "(cached) " >&6
12309 # First check to see if --with-tcl was specified.
12310 if test x
"${with_tclconfig}" != x
; then
12311 if test -f "${with_tclconfig}/tclConfig.sh" ; then
12312 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
12314 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
12318 # Start autosearch by asking tclsh
12319 if test x
"${ac_cv_c_tclconfig}" = x
; then
12320 if test x
"$cross_compiling" = xno
; then
12321 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12323 if test -f "$i/tclConfig.sh" ; then
12324 ac_cv_c_tclconfig
="$i"
12331 # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
12332 # So try again after applying corrections.
12333 if test x
"${ac_cv_c_tclconfig}" = x
; then
12334 if test x
"$cross_compiling" = xno
; then
12335 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
12337 if test -f "$i/tclConfig.sh" ; then
12338 ac_cv_c_tclconfig
="$i"
12345 # Recent versions of Xcode on Macs hid the tclConfig.sh file
12346 # in a strange place.
12347 if test x
"${ac_cv_c_tclconfig}" = x
; then
12348 if test x
"$cross_compiling" = xno
; then
12349 for i
in /Applications
/Xcode.app
/Contents
/Developer
/Platforms
/MacOSX.platform
/Developer
/SDKs
/MacOSX
*.sdk
/usr
/lib
12351 if test -f "$i/tclConfig.sh" ; then
12352 ac_cv_c_tclconfig
="$i"
12359 # then check for a private Tcl installation
12360 if test x
"${ac_cv_c_tclconfig}" = x
; then
12363 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12364 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12365 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12367 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12368 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12369 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12371 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12372 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12373 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12375 if test -f "$i/unix/tclConfig.sh" ; then
12376 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12382 # check in a few common install locations
12383 if test x
"${ac_cv_c_tclconfig}" = x
; then
12385 `ls -d ${libdir} 2>/dev/null` \
12386 `ls -d /usr/local/lib 2>/dev/null` \
12387 `ls -d /usr/contrib/lib 2>/dev/null` \
12388 `ls -d /usr/lib 2>/dev/null`
12390 if test -f "$i/tclConfig.sh" ; then
12391 ac_cv_c_tclconfig
=`(cd $i; pwd)`
12397 # check in a few other private locations
12398 if test x
"${ac_cv_c_tclconfig}" = x
; then
12401 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12402 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12403 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12405 if test -f "$i/unix/tclConfig.sh" ; then
12406 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12415 if test x
"${ac_cv_c_tclconfig}" = x
; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
12418 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12420 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12422 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12424 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12426 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12429 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12430 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
12432 $as_echo "loading" >&6; }
12433 .
$TCL_BIN_DIR/tclConfig.sh
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
12436 $as_echo "file not found" >&6; }
12440 # If the TCL_BIN_DIR is the build directory (not the install directory),
12441 # then set the common variable name to the value of the build variables.
12442 # For example, the variable TCL_LIB_SPEC will be set to the value
12443 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12444 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12445 # installed and uninstalled version of Tcl.
12448 if test -f $TCL_BIN_DIR/Makefile
; then
12449 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
12450 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
12451 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
12455 # eval is required to do the TCL_DBGX substitution
12458 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12459 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12460 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12462 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12463 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12464 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12481 if test "${use_tcl}" = "no" ; then
12489 # Figure out what C libraries are required to compile programs
12490 # that use "readline()" library.
12492 TARGET_READLINE_LIBS
=""
12493 TARGET_READLINE_INC
=""
12494 TARGET_HAVE_READLINE
=0
12495 TARGET_HAVE_EDITLINE
=0
12496 # Check whether --enable-editline was given.
12497 if test "${enable_editline+set}" = set; then :
12498 enableval
=$enable_editline; with_editline
=$enableval
12503 # Check whether --enable-readline was given.
12504 if test "${enable_readline+set}" = set; then :
12505 enableval
=$enable_readline; with_readline
=$enableval
12511 if test x
"$with_editline" != xno
; then
12514 TARGET_HAVE_EDITLINE
=1
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
12516 $as_echo_n "checking for library containing readline... " >&6; }
12517 if ${ac_cv_search_readline+:} false
; then :
12518 $as_echo_n "(cached) " >&6
12520 ac_func_search_save_LIBS
=$LIBS
12521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 /* Override any GCC internal prototype to avoid an error.
12525 Use char because int might match the return type of a GCC
12526 builtin and then its argument prototype would still apply. */
12534 return readline ();
12539 for ac_lib
in '' edit
; do
12540 if test -z "$ac_lib"; then
12541 ac_res
="none required"
12544 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12546 if ac_fn_c_try_link
"$LINENO"; then :
12547 ac_cv_search_readline
=$ac_res
12549 rm -f core conftest.err conftest.
$ac_objext \
12551 if ${ac_cv_search_readline+:} false
; then :
12555 if ${ac_cv_search_readline+:} false
; then :
12558 ac_cv_search_readline
=no
12560 rm conftest.
$ac_ext
12561 LIBS
=$ac_func_search_save_LIBS
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
12564 $as_echo "$ac_cv_search_readline" >&6; }
12565 ac_res
=$ac_cv_search_readline
12566 if test "$ac_res" != no
; then :
12567 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12570 TARGET_HAVE_EDITLINE
=0
12573 TARGET_READLINE_LIBS
=$LIBS
12576 if test x
"$with_readline" != xno
; then
12580 # Check whether --with-readline-lib was given.
12581 if test "${with_readline_lib+set}" = set; then :
12582 withval
=$with_readline_lib; with_readline_lib
=$withval
12584 with_readline_lib
="auto"
12587 if test "x$with_readline_lib" = xauto
; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
12591 $as_echo_n "checking for library containing tgetent... " >&6; }
12592 if ${ac_cv_search_tgetent+:} false
; then :
12593 $as_echo_n "(cached) " >&6
12595 ac_func_search_save_LIBS
=$LIBS
12596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12614 for ac_lib
in '' readline ncurses curses termcap
; do
12615 if test -z "$ac_lib"; then
12616 ac_res
="none required"
12619 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12621 if ac_fn_c_try_link
"$LINENO"; then :
12622 ac_cv_search_tgetent
=$ac_res
12624 rm -f core conftest.err conftest.
$ac_objext \
12626 if ${ac_cv_search_tgetent+:} false
; then :
12630 if ${ac_cv_search_tgetent+:} false
; then :
12633 ac_cv_search_tgetent
=no
12635 rm conftest.
$ac_ext
12636 LIBS
=$ac_func_search_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
12639 $as_echo "$ac_cv_search_tgetent" >&6; }
12640 ac_res
=$ac_cv_search_tgetent
12641 if test "$ac_res" != no
; then :
12642 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
12649 $as_echo_n "checking for readline in -lreadline... " >&6; }
12650 if ${ac_cv_lib_readline_readline+:} false
; then :
12651 $as_echo_n "(cached) " >&6
12653 ac_check_lib_save_LIBS
=$LIBS
12654 LIBS
="-lreadline $LIBS"
12655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12668 return readline ();
12673 if ac_fn_c_try_link
"$LINENO"; then :
12674 ac_cv_lib_readline_readline
=yes
12676 ac_cv_lib_readline_readline
=no
12678 rm -f core conftest.err conftest.
$ac_objext \
12679 conftest
$ac_exeext conftest.
$ac_ext
12680 LIBS
=$ac_check_lib_save_LIBS
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
12683 $as_echo "$ac_cv_lib_readline_readline" >&6; }
12684 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
12685 TARGET_READLINE_LIBS
="-lreadline"
12690 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
12693 TARGET_READLINE_LIBS
="$with_readline_lib"
12697 # Check whether --with-readline-inc was given.
12698 if test "${with_readline_inc+set}" = set; then :
12699 withval
=$with_readline_inc; with_readline_inc
=$withval
12701 with_readline_inc
="auto"
12704 if test "x$with_readline_inc" = xauto
; then
12705 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
12706 if test "x$ac_cv_header_readline_h" = xyes
; then :
12711 if test "$cross_compiling" != yes; then
12712 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
12713 for subdir
in include include
/readline
; do
12714 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
12716 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
12717 if eval \
${$as_ac_File+:} false
; then :
12718 $as_echo_n "(cached) " >&6
12720 test "$cross_compiling" = yes &&
12721 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
12722 if test -r "$dir/$subdir/readline.h"; then
12723 eval "$as_ac_File=yes"
12725 eval "$as_ac_File=no"
12728 eval ac_res
=\$
$as_ac_File
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12730 $as_echo "$ac_res" >&6; }
12731 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
12735 if test "$found" = "yes"; then
12736 TARGET_READLINE_INC
="-I$dir/$subdir"
12740 test "$found" = "yes" && break
12748 TARGET_READLINE_INC
="$with_readline_inc"
12751 if test x
"$found" = xno
; then
12752 TARGET_READLINE_LIBS
=""
12753 TARGET_READLINE_INC
=""
12754 TARGET_HAVE_READLINE
=0
12756 TARGET_HAVE_READLINE
=1
12766 # Figure out what C libraries are required to compile programs
12767 # that use "fdatasync()" function.
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
12770 $as_echo_n "checking for library containing fdatasync... " >&6; }
12771 if ${ac_cv_search_fdatasync+:} false
; then :
12772 $as_echo_n "(cached) " >&6
12774 ac_func_search_save_LIBS
=$LIBS
12775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12788 return fdatasync ();
12793 for ac_lib
in '' rt
; do
12794 if test -z "$ac_lib"; then
12795 ac_res
="none required"
12798 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12800 if ac_fn_c_try_link
"$LINENO"; then :
12801 ac_cv_search_fdatasync
=$ac_res
12803 rm -f core conftest.err conftest.
$ac_objext \
12805 if ${ac_cv_search_fdatasync+:} false
; then :
12809 if ${ac_cv_search_fdatasync+:} false
; then :
12812 ac_cv_search_fdatasync
=no
12814 rm conftest.
$ac_ext
12815 LIBS
=$ac_func_search_save_LIBS
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
12818 $as_echo "$ac_cv_search_fdatasync" >&6; }
12819 ac_res
=$ac_cv_search_fdatasync
12820 if test "$ac_res" != no
; then :
12821 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12827 # check for debug enabled
12828 # Check whether --enable-debug was given.
12829 if test "${enable_debug+set}" = set; then :
12830 enableval
=$enable_debug;
12833 if test "${enable_debug}" = "yes" ; then
12834 TARGET_DEBUG
="-DSQLITE_DEBUG=1 -DSQLITE_ENABLE_SELECTTRACE -DSQLITE_ENABLE_WHERETRACE -O0"
12836 TARGET_DEBUG
="-DNDEBUG"
12841 # See whether we should use the amalgamation to build
12842 # Check whether --enable-amalgamation was given.
12843 if test "${enable_amalgamation+set}" = set; then :
12844 enableval
=$enable_amalgamation;
12847 if test "${enable_amalgamation}" == "no" ; then
12853 # Look for zlib. Only needed by extensions and by the sqlite3.exe shell
12854 for ac_header
in zlib.h
12856 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12857 if test "x$ac_cv_header_zlib_h" = xyes
; then :
12858 cat >>confdefs.h
<<_ACEOF
12859 #define HAVE_ZLIB_H 1
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5
12867 $as_echo_n "checking for library containing deflate... " >&6; }
12868 if ${ac_cv_search_deflate+:} false
; then :
12869 $as_echo_n "(cached) " >&6
12871 ac_func_search_save_LIBS
=$LIBS
12872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12890 for ac_lib
in '' z
; do
12891 if test -z "$ac_lib"; then
12892 ac_res
="none required"
12895 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12897 if ac_fn_c_try_link
"$LINENO"; then :
12898 ac_cv_search_deflate
=$ac_res
12900 rm -f core conftest.err conftest.
$ac_objext \
12902 if ${ac_cv_search_deflate+:} false
; then :
12906 if ${ac_cv_search_deflate+:} false
; then :
12909 ac_cv_search_deflate
=no
12911 rm conftest.
$ac_ext
12912 LIBS
=$ac_func_search_save_LIBS
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5
12915 $as_echo "$ac_cv_search_deflate" >&6; }
12916 ac_res
=$ac_cv_search_deflate
12917 if test "$ac_res" != no
; then :
12918 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12919 HAVE_ZLIB
="-DSQLITE_HAVE_ZLIB=1"
12927 # See whether we should allow loadable extensions
12928 # Check whether --enable-load-extension was given.
12929 if test "${enable_load_extension+set}" = set; then :
12930 enableval
=$enable_load_extension;
12932 enable_load_extension
=yes
12935 if test "${enable_load_extension}" = "yes" ; then
12936 OPT_FEATURE_FLAGS
=""
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12938 $as_echo_n "checking for library containing dlopen... " >&6; }
12939 if ${ac_cv_search_dlopen+:} false
; then :
12940 $as_echo_n "(cached) " >&6
12942 ac_func_search_save_LIBS
=$LIBS
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12961 for ac_lib
in '' dl
; do
12962 if test -z "$ac_lib"; then
12963 ac_res
="none required"
12966 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12968 if ac_fn_c_try_link
"$LINENO"; then :
12969 ac_cv_search_dlopen
=$ac_res
12971 rm -f core conftest.err conftest.
$ac_objext \
12973 if ${ac_cv_search_dlopen+:} false
; then :
12977 if ${ac_cv_search_dlopen+:} false
; then :
12980 ac_cv_search_dlopen
=no
12982 rm conftest.
$ac_ext
12983 LIBS
=$ac_func_search_save_LIBS
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12986 $as_echo "$ac_cv_search_dlopen" >&6; }
12987 ac_res
=$ac_cv_search_dlopen
12988 if test "$ac_res" != no
; then :
12989 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12994 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
12998 # Do we want to support memsys3 and/or memsys5
13000 # Check whether --enable-memsys5 was given.
13001 if test "${enable_memsys5+set}" = set; then :
13002 enableval
=$enable_memsys5;
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS5" >&5
13006 $as_echo_n "checking whether to support MEMSYS5... " >&6; }
13007 if test "${enable_memsys5}" = "yes"; then
13008 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS5"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13010 $as_echo "yes" >&6; }
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013 $as_echo "no" >&6; }
13015 # Check whether --enable-memsys3 was given.
13016 if test "${enable_memsys3+set}" = set; then :
13017 enableval
=$enable_memsys3;
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS3" >&5
13021 $as_echo_n "checking whether to support MEMSYS3... " >&6; }
13022 if test "${enable_memsys3}" = "yes" -a "${enable_memsys5}" = "no"; then
13023 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS3"
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13025 $as_echo "yes" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028 $as_echo "no" >&6; }
13032 # The --enable-extensions argument is short-hand to enable
13033 # multiple extensions.
13034 # Check whether --enable-all was given.
13035 if test "${enable_all+set}" = set; then :
13036 enableval
=$enable_all;
13041 # See whether we should enable Full Text Search extensions
13042 # Check whether --enable-fts3 was given.
13043 if test "${enable_fts3+set}" = set; then :
13044 enableval
=$enable_fts3;
13047 if test "${enable_fts3}" = "yes" ; then
13048 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS3"
13050 # Check whether --enable-fts4 was given.
13051 if test "${enable_fts4+set}" = set; then :
13052 enableval
=$enable_fts4;
13055 if test "${enable_fts4}" = "yes" -o "${enable_all}" = "yes" ; then
13056 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS4"
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
13058 $as_echo_n "checking for library containing log... " >&6; }
13059 if ${ac_cv_search_log+:} false
; then :
13060 $as_echo_n "(cached) " >&6
13062 ac_func_search_save_LIBS
=$LIBS
13063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13066 /* Override any GCC internal prototype to avoid an error.
13067 Use char because int might match the return type of a GCC
13068 builtin and then its argument prototype would still apply. */
13081 for ac_lib
in '' m
; do
13082 if test -z "$ac_lib"; then
13083 ac_res
="none required"
13086 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13088 if ac_fn_c_try_link
"$LINENO"; then :
13089 ac_cv_search_log
=$ac_res
13091 rm -f core conftest.err conftest.
$ac_objext \
13093 if ${ac_cv_search_log+:} false
; then :
13097 if ${ac_cv_search_log+:} false
; then :
13100 ac_cv_search_log
=no
13102 rm conftest.
$ac_ext
13103 LIBS
=$ac_func_search_save_LIBS
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13106 $as_echo "$ac_cv_search_log" >&6; }
13107 ac_res
=$ac_cv_search_log
13108 if test "$ac_res" != no
; then :
13109 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13114 # Check whether --enable-fts5 was given.
13115 if test "${enable_fts5+set}" = set; then :
13116 enableval
=$enable_fts5;
13119 if test "${enable_fts5}" = "yes" -o "${enable_all}" = "yes" ; then
13120 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS5"
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
13122 $as_echo_n "checking for library containing log... " >&6; }
13123 if ${ac_cv_search_log+:} false
; then :
13124 $as_echo_n "(cached) " >&6
13126 ac_func_search_save_LIBS
=$LIBS
13127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13145 for ac_lib
in '' m
; do
13146 if test -z "$ac_lib"; then
13147 ac_res
="none required"
13150 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13152 if ac_fn_c_try_link
"$LINENO"; then :
13153 ac_cv_search_log
=$ac_res
13155 rm -f core conftest.err conftest.
$ac_objext \
13157 if ${ac_cv_search_log+:} false
; then :
13161 if ${ac_cv_search_log+:} false
; then :
13164 ac_cv_search_log
=no
13166 rm conftest.
$ac_ext
13167 LIBS
=$ac_func_search_save_LIBS
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13170 $as_echo "$ac_cv_search_log" >&6; }
13171 ac_res
=$ac_cv_search_log
13172 if test "$ac_res" != no
; then :
13173 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13180 # See whether we should enable JSON1
13181 # Check whether --enable-json1 was given.
13182 if test "${enable_json1+set}" = set; then :
13183 enableval
=$enable_json1;
13186 if test "${enable_json1}" = "yes" -o "${enable_all}" = "yes" ; then
13187 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_JSON1"
13191 # See whether we should enable the LIMIT clause on UPDATE and DELETE
13193 # Check whether --enable-update-limit was given.
13194 if test "${enable_update_limit+set}" = set; then :
13195 enableval
=$enable_update_limit;
13198 if test "${enable_udlimit}" = "yes" ; then
13199 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT"
13203 # See whether we should enable GEOPOLY
13204 # Check whether --enable-geopoly was given.
13205 if test "${enable_geopoly+set}" = set; then :
13206 enableval
=$enable_geopoly; enable_geopoly
=yes
13211 if test "${enable_geopoly}" = "yes" -o "${enable_all}" = "yes" ; then
13212 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_GEOPOLY"
13217 # See whether we should enable RTREE
13218 # Check whether --enable-rtree was given.
13219 if test "${enable_rtree+set}" = set; then :
13220 enableval
=$enable_rtree;
13223 if test "${enable_rtree}" = "yes" ; then
13224 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_RTREE"
13228 # See whether we should enable the SESSION extension
13229 # Check whether --enable-session was given.
13230 if test "${enable_session+set}" = set; then :
13231 enableval
=$enable_session;
13234 if test "${enable_session}" = "yes" -o "${enable_all}" = "yes" ; then
13235 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_SESSION"
13236 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_PREUPDATE_HOOK"
13240 # attempt to duplicate any OMITS and ENABLES into the ${OPT_FEATURE_FLAGS} parameter
13241 for option
in $CFLAGS $CPPFLAGS
13244 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13245 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13251 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13253 for option
in $CFLAGS
13257 -DSQLITE_ENABLE*) ;;
13258 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
13261 CFLAGS
=$ac_temp_CFLAGS
13264 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13265 ac_temp_CPPFLAGS
=""
13266 for option
in $CPPFLAGS
13270 -DSQLITE_ENABLE*) ;;
13271 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
13274 CPPFLAGS
=$ac_temp_CPPFLAGS
13277 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13278 ac_temp_BUILD_CFLAGS
=""
13279 for option
in $BUILD_CFLAGS
13283 -DSQLITE_ENABLE*) ;;
13284 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
13287 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
13291 # See whether we should use GCOV
13292 # Check whether --enable-gcov was given.
13293 if test "${enable_gcov+set}" = set; then :
13294 enableval
=$enable_gcov;
13297 if test "${use_gcov}" = "yes" ; then
13306 # Output the config header
13307 ac_config_headers
="$ac_config_headers config.h"
13311 # Generate the output files.
13314 ac_config_files
="$ac_config_files Makefile sqlcipher.pc"
13316 cat >confcache
<<\_ACEOF
13317 # This file is a shell script that caches the results of configure
13318 # tests run on this system so they can be shared between configure
13319 # scripts and configure runs, see configure's option --config-cache.
13320 # It is not useful on other systems. If it contains results you don't
13321 # want to keep, you may remove or edit it.
13323 # config.status only pays attention to the cache file if you give it
13324 # the --recheck option to rerun configure.
13326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13328 # following values.
13332 # The following way of writing the cache mishandles newlines in values,
13333 # but we know of no workaround that is simple, portable, and efficient.
13334 # So, we kill variables containing newlines.
13335 # Ultrix sh set writes to stderr and can't be redirected directly,
13336 # and sets the high bit in the cache file unless we assign to the vars.
13338 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13339 eval ac_val
=\$
$ac_var
13343 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13344 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13347 _ | IFS | as_nl
) ;; #(
13348 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13349 *) { eval $ac_var=; unset $ac_var;} ;;
13355 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13356 *${as_nl}ac_space
=\
*)
13357 # `set' does not quote correctly, so add quotes: double-quote
13358 # substitution turns \\\\ into \\, and sed turns \\ into \.
13361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13364 # `set' quotes correctly as required by POSIX, so do not add quotes.
13365 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13376 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13378 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13379 if test -w "$cache_file"; then
13380 if test "x$cache_file" != "x/dev/null"; then
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13382 $as_echo "$as_me: updating cache $cache_file" >&6;}
13383 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13384 cat confcache
>"$cache_file"
13386 case $cache_file in #(
13388 mv -f confcache
"$cache_file"$$
&&
13389 mv -f "$cache_file"$$
"$cache_file" ;; #(
13391 mv -f confcache
"$cache_file" ;;
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13402 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13403 # Let make expand exec_prefix.
13404 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13406 DEFS
=-DHAVE_CONFIG_H
13411 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13412 # 1. Remove the extension, and $U if already installed.
13413 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13414 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13415 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13416 # will be set to the directory where LIBOBJS objects are built.
13417 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13418 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13420 LIBOBJS
=$ac_libobjs
13422 LTLIBOBJS
=$ac_ltlibobjs
13426 : "${CONFIG_STATUS=./config.status}"
13428 ac_clean_files_save
=$ac_clean_files
13429 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13431 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13433 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13435 # Generated by $as_me.
13436 # Run this file to recreate the current configuration.
13437 # Compiler output produced by configure, useful for debugging
13438 # configure, is in config.log if it exists.
13441 ac_cs_recheck=false
13444 SHELL=\${CONFIG_SHELL-$SHELL}
13447 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13448 ## -------------------- ##
13449 ## M4sh Initialization. ##
13450 ## -------------------- ##
13452 # Be more Bourne compatible
13453 DUALCASE
=1; export DUALCASE
# for MKS sh
13454 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13457 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13458 # is contrary to our usage. Disable this feature.
13459 alias -g '${1+"$@"}'='"$@"'
13460 setopt NO_GLOB_SUBST
13462 case `(set -o) 2>/dev/null` in #(
13474 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13475 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13477 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13478 # Prefer a ksh shell builtin over an external printf program on Solaris,
13479 # but without wasting forks for bash or zsh.
13480 if test -z "$BASH_VERSION$ZSH_VERSION" \
13481 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13482 as_echo='print
-r --'
13483 as_echo_n='print
-rn --'
13484 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13485 as_echo='printf %s
\n'
13486 as_echo_n='printf %s
'
13488 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13489 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13490 as_echo_n='/usr
/ucb
/echo -n'
13492 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13493 as_echo_n_body='eval
13497 expr "X$arg" : "X\\(.*\\)$as_nl";
13498 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13500 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13502 export as_echo_n_body
13503 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13505 export as_echo_body
13506 as_echo='sh
-c $as_echo_body as_echo
'
13509 # The user is always right.
13510 if test "${PATH_SEPARATOR+set}" != set; then
13512 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13513 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13520 # We need space, tab and new line, in precisely that order. Quoting is
13521 # there to prevent editors from complaining about space-tab.
13522 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13523 # splitting by setting IFS to empty value.)
13526 # Find who we are. Look in the path if we contain no directory separator.
13529 *[\\/]* ) as_myself=$0 ;;
13530 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13531 for as_dir in $PATH
13534 test -z "$as_dir" && as_dir=.
13535 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13541 # We did not find ourselves, most probably we were run as `sh COMMAND'
13542 # in which case we are not to be found in the path.
13543 if test "x$as_myself" = x
; then
13546 if test ! -f "$as_myself"; then
13547 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13551 # Unset variables that we do not need and which cause bugs (e.g. in
13552 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13553 # suppresses any "Segmentation fault" message there. '((' could
13554 # trigger a bug in pdksh 5.2.14.
13555 for as_var
in BASH_ENV ENV MAIL MAILPATH
13556 do eval test x\
${$as_var+set} = xset \
13557 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13570 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13573 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13574 # ----------------------------------------
13575 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13576 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13577 # script with STATUS, using 1 if that was 0.
13580 as_status
=$1; test $as_status -eq 0 && as_status
=1
13582 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13583 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13585 $as_echo "$as_me: error: $2" >&2
13586 as_fn_exit
$as_status
13590 # as_fn_set_status STATUS
13591 # -----------------------
13592 # Set $? to STATUS, without forking.
13593 as_fn_set_status
()
13596 } # as_fn_set_status
13598 # as_fn_exit STATUS
13599 # -----------------
13600 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13604 as_fn_set_status
$1
13610 # Portably unset VAR.
13613 { eval $1=; unset $1;}
13615 as_unset
=as_fn_unset
13616 # as_fn_append VAR VALUE
13617 # ----------------------
13618 # Append the text in VALUE to the end of the definition contained in VAR. Take
13619 # advantage of any shell optimizations that allow amortized linear growth over
13620 # repeated appends, instead of the typical quadratic growth present in naive
13622 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13623 eval 'as_fn_append ()
13634 # as_fn_arith ARG...
13635 # ------------------
13636 # Perform arithmetic evaluation on the ARGs, and store the result in the
13637 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13638 # must be portable across $(()) and expr.
13639 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13640 eval 'as_fn_arith ()
13647 as_val
=`expr "$@" || test $? -eq 1`
13652 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13653 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13659 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13660 as_basename
=basename
13665 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13671 as_me
=`$as_basename -- "$0" ||
13672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13673 X"$0" : 'X\(//\)$' \| \
13674 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13676 sed '/^.*\/\([^/][^/]*\)\/*$/{
13690 # Avoid depending upon Character Ranges.
13691 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13692 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13693 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13694 as_cr_digits
='0123456789'
13695 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13697 ECHO_C
= ECHO_N
= ECHO_T
=
13698 case `echo -n x` in #(((((
13700 case `echo 'xy\c'` in
13701 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13703 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13710 rm -f conf$$ conf$$.exe conf$$.
file
13711 if test -d conf$$.dir
; then
13712 rm -f conf$$.dir
/conf$$.
file
13715 mkdir conf$$.dir
2>/dev
/null
13717 if (echo >conf$$.
file) 2>/dev
/null
; then
13718 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13720 # ... but there are two gotchas:
13721 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13722 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13723 # In both cases, we have to default to `cp -pR'.
13724 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13726 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13734 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13735 rmdir conf$$.dir
2>/dev
/null
13740 # Create "$as_dir" as a directory, including parents if necessary.
13745 -*) as_dir
=.
/$as_dir;;
13747 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13751 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13752 *) as_qdir
=$as_dir;;
13754 as_dirs
="'$as_qdir' $as_dirs"
13755 as_dir
=`$as_dirname -- "$as_dir" ||
13756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13757 X"$as_dir" : 'X\(//\)[^/]' \| \
13758 X"$as_dir" : 'X\(//\)$' \| \
13759 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13760 $as_echo X"$as_dir" |
13761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13765 /^X\(\/\/\)[^/].*/{
13778 test -d "$as_dir" && break
13780 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13781 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13785 if mkdir
-p .
2>/dev
/null
; then
13786 as_mkdir_p
='mkdir -p "$as_dir"'
13788 test -d .
/-p && rmdir .
/-p
13793 # as_fn_executable_p FILE
13794 # -----------------------
13795 # Test if FILE is an executable regular file.
13796 as_fn_executable_p
()
13798 test -f "$1" && test -x "$1"
13799 } # as_fn_executable_p
13800 as_test_x
='test -x'
13801 as_executable_p
=as_fn_executable_p
13803 # Sed expression to map a string onto a valid CPP name.
13804 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13806 # Sed expression to map a string onto a valid variable name.
13807 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13811 ## ----------------------------------- ##
13812 ## Main body of $CONFIG_STATUS script. ##
13813 ## ----------------------------------- ##
13815 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13818 # Save the log message, to keep $0 and so on meaningful, and to
13819 # report actual input values of CONFIG_FILES etc. instead of their
13820 # values after options handling.
13822 This file was extended by sqlcipher $as_me 3.32.0, which was
13823 generated by GNU Autoconf 2.69. Invocation command line was
13825 CONFIG_FILES = $CONFIG_FILES
13826 CONFIG_HEADERS = $CONFIG_HEADERS
13827 CONFIG_LINKS = $CONFIG_LINKS
13828 CONFIG_COMMANDS = $CONFIG_COMMANDS
13831 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13836 case $ac_config_files in *"
13837 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13840 case $ac_config_headers in *"
13841 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13846 # Files that config.status was made for.
13847 config_files="$ac_config_files"
13848 config_headers="$ac_config_headers"
13849 config_commands="$ac_config_commands"
13853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13855 \`$as_me' instantiates files and other configuration actions
13856 from templates according to the current configuration. Unless the files
13857 and actions are specified as TAGs, all are instantiated by default.
13859 Usage: $0 [OPTION]... [TAG]...
13861 -h, --help print this help, then exit
13862 -V, --version print version number and configuration settings, then exit
13863 --config print configuration, then exit
13864 -q, --quiet, --silent
13865 do not print progress messages
13866 -d, --debug don't remove temporary files
13867 --recheck update $as_me by reconfiguring in the same conditions
13868 --file=FILE[:TEMPLATE]
13869 instantiate the configuration file FILE
13870 --header=FILE[:TEMPLATE]
13871 instantiate the configuration header FILE
13873 Configuration files:
13876 Configuration headers:
13879 Configuration commands:
13882 Report bugs to the package provider."
13885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13886 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13888 sqlcipher config.status 3.32.0
13889 configured by $0, generated by GNU Autoconf 2.69,
13890 with options \\"\$ac_cs_config\\"
13892 Copyright (C) 2012 Free Software Foundation, Inc.
13893 This config.status script is free software; the Free Software Foundation
13894 gives unlimited permission to copy, distribute and modify it."
13900 test -n "\$AWK" || AWK=awk
13903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13904 # The default lists apply if the user does not specify any file.
13910 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13911 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13915 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13927 # Handling of the options.
13928 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13930 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13931 $as_echo "$ac_cs_version"; exit ;;
13932 --config |
--confi |
--conf |
--con |
--co |
--c )
13933 $as_echo "$ac_cs_config"; exit ;;
13934 --debug |
--debu |
--deb |
--de |
--d |
-d )
13936 --file |
--fil |
--fi |
--f )
13939 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13940 '') as_fn_error $?
"missing file argument" ;;
13942 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13943 ac_need_defaults
=false
;;
13944 --header |
--heade |
--head |
--hea )
13947 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13949 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13950 ac_need_defaults
=false
;;
13952 # Conflict between --help and --header
13953 as_fn_error $?
"ambiguous option: \`$1'
13954 Try \`$0 --help' for more information.";;
13955 --help |
--hel |
-h )
13956 $as_echo "$ac_cs_usage"; exit ;;
13957 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13958 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13961 # This is an error.
13962 -*) as_fn_error $?
"unrecognized option: \`$1'
13963 Try \`$0 --help' for more information." ;;
13965 *) as_fn_append ac_config_targets
" $1"
13966 ac_need_defaults
=false
;;
13972 ac_configure_extra_args
=
13974 if $ac_cs_silent; then
13976 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13981 if \$ac_cs_recheck; then
13982 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13984 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13985 CONFIG_SHELL='$SHELL'
13986 export CONFIG_SHELL
13991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13995 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13996 ## Running $as_me. ##
14002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14008 # The HP-UX ksh and POSIX shell print the target directory to stdout
14009 # if CDPATH is set.
14010 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14012 sed_quote_subst='$sed_quote_subst'
14013 double_quote_subst='$double_quote_subst'
14014 delay_variable_subst='$delay_variable_subst'
14015 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14016 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14017 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14018 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14019 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14020 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14021 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14022 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14023 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14024 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14025 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14026 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14027 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14028 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14029 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14030 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14031 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14032 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14033 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14034 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14035 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14036 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14037 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14038 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14039 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14040 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14041 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14042 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14043 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14044 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14045 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14046 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14047 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14048 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14049 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14050 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14051 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14052 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14053 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14054 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14055 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14056 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14057 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14058 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14059 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14060 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14061 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14062 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14063 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14064 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14065 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14066 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14067 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14068 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14069 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14070 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14071 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14072 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14073 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"`'
14074 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14075 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14076 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14077 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14078 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14079 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14080 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14081 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14082 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14083 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14084 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14085 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14086 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14087 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14088 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14089 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14090 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14091 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14092 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14093 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14094 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14095 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14096 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14097 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14098 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14099 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14100 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14101 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14102 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14103 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14104 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14105 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14106 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14107 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14108 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14109 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14110 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14111 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14112 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14113 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14114 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14115 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14116 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14117 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14118 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14119 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14120 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14121 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14122 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14123 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14124 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14125 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14126 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14127 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14128 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14129 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14130 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14131 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14132 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14133 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14134 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14135 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14136 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14137 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14138 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14139 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14140 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14141 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14142 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14143 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14144 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14145 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14146 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14147 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14148 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14149 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14152 LTCFLAGS='$LTCFLAGS'
14153 compiler='$compiler_DEFAULT'
14155 # A function that is used when there is no print builtin or printf.
14156 func_fallback_echo ()
14158 eval 'cat <<_LTECHO_EOF
14163 # Quote evaled strings.
14178 deplibs_check_method \
14183 sharedlib_from_linklib_cmd \
14186 archiver_list_spec \
14192 lt_cv_sys_global_symbol_pipe \
14193 lt_cv_sys_global_symbol_to_cdecl \
14194 lt_cv_sys_global_symbol_to_import \
14195 lt_cv_sys_global_symbol_to_c_name_address \
14196 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14197 lt_cv_nm_interface \
14198 nm_file_list_spec \
14199 lt_cv_truncate_bin \
14200 lt_prog_compiler_no_builtin_flag \
14201 lt_prog_compiler_pic \
14202 lt_prog_compiler_wl \
14203 lt_prog_compiler_static \
14204 lt_cv_prog_compiler_c_o \
14213 export_dynamic_flag_spec \
14214 whole_archive_flag_spec \
14215 compiler_needs_object \
14217 allow_undefined_flag \
14218 no_undefined_flag \
14219 hardcode_libdir_flag_spec \
14220 hardcode_libdir_separator \
14224 variables_saved_for_relink \
14226 library_names_spec \
14228 install_override_mode \
14232 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14233 *[\\\\\\\`\\"\\\$]*)
14234 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14237 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14242 # Double-quote double-evaled strings.
14243 for var in reload_cmds \
14244 old_postinstall_cmds \
14245 old_postuninstall_cmds \
14247 extract_expsyms_cmds \
14248 old_archive_from_new_cmds \
14249 old_archive_from_expsyms_cmds \
14251 archive_expsym_cmds \
14253 module_expsym_cmds \
14254 export_symbols_cmds \
14258 postuninstall_cmds \
14260 sys_lib_search_path_spec \
14261 configure_time_dlsearch_path \
14262 configure_time_lt_sys_library_path; do
14263 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14264 *[\\\\\\\`\\"\\\$]*)
14265 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14268 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14273 ac_aux_dir='$ac_aux_dir'
14275 # See if we are running on zsh, and set the options that allow our
14276 # commands through without removal of \ escapes INIT.
14277 if test -n "\${ZSH_VERSION+set}"; then
14278 setopt NO_GLOB_SUBST
14292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14294 # Handling of arguments.
14295 for ac_config_target
in $ac_config_targets
14297 case $ac_config_target in
14298 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14299 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14300 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14301 "sqlcipher.pc") CONFIG_FILES
="$CONFIG_FILES sqlcipher.pc" ;;
14303 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14308 # If the user did not use the arguments to specify the items to instantiate,
14309 # then the envvar interface is used. Set only those that are not.
14310 # We use the long form for the default assignment because of an extremely
14311 # bizarre bug on SunOS 4.1.3.
14312 if $ac_need_defaults; then
14313 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14314 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14315 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14318 # Have a temporary directory for convenience. Make it in the build tree
14319 # simply because there is no reason against having it here, and in addition,
14320 # creating and moving files from /tmp can sometimes cause problems.
14321 # Hook for its removal unless debugging.
14322 # Note that there is a small window in which the directory will not be cleaned:
14323 # after its creation but before its name has been assigned to `$tmp'.
14327 trap 'exit_status=$?
14328 : "${ac_tmp:=$tmp}"
14329 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14331 trap 'as_fn_exit 1' 1 2 13 15
14333 # Create a (secure) tmp directory for tmp files.
14336 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14340 tmp
=.
/conf$$
-$RANDOM
14341 (umask 077 && mkdir
"$tmp")
14342 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14345 # Set up the scripts for CONFIG_FILES section.
14346 # No need to generate them if there are no CONFIG_FILES.
14347 # This happens for instance with `./config.status config.h'.
14348 if test -n "$CONFIG_FILES"; then
14351 ac_cr
=`echo X | tr X '\015'`
14352 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14353 # But we know of no other shell where ac_cr would be empty at this
14354 # point, so we can use a bashism as a fallback.
14355 if test "x$ac_cr" = x
; then
14356 eval ac_cr
=\$
\'\\r
\'
14358 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14362 ac_cs_awk_cr
=$ac_cr
14365 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14370 echo "cat >conf$$subs.awk <<_ACEOF" &&
14371 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14373 } >conf$$subs.sh ||
14374 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14375 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14377 for ac_last_try in false false false false false :; do
14378 . ./conf$$subs.sh ||
14379 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14381 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14382 if test $ac_delim_n = $ac_delim_num; then
14384 elif $ac_last_try; then
14385 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14387 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14390 rm -f conf$$subs.sh
14392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14393 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14397 s/^/S["/; s
/!.
*/"]=/
14407 s/\(.\{148\}\)..*/\1/
14409 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14414 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14421 s/\(.\{148\}\)..*/\1/
14423 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14427 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14432 ' <conf$$subs.awk | sed '
14437 ' >>$CONFIG_STATUS || ac_write_fail=1
14438 rm -f conf$$subs.awk
14439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14441 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14442 for (key in S) S_is_set[key] = 1
14448 nfields = split(line, field, "@
")
14450 len = length(field[1])
14451 for (i = 2; i < nfields; i++) {
14453 keylen = length(key)
14454 if (S_is_set[key]) {
14456 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14457 len += length(value) + length(field[++i])
14468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14469 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14470 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14473 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14474 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14477 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14478 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14479 # trailing colons and then remove the whole line if VPATH becomes empty
14480 # (actually we leave an empty line to preserve line numbers).
14481 if test "x
$srcdir" = x.; then
14482 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14501 fi # test -n "$CONFIG_FILES"
14503 # Set up the scripts for CONFIG_HEADERS section.
14504 # No need to generate them if there are no CONFIG_HEADERS.
14505 # This happens for instance with `./config.status Makefile'.
14506 if test -n "$CONFIG_HEADERS"; then
14507 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14511 # Transform confdefs.h into an awk script `defines.awk', embedded as
14512 # here-document in config.status, that substitutes the proper values into
14513 # config.h.in to produce config.h.
14515 # Create a delimiter string that does not exist in confdefs.h, to ease
14516 # handling of long lines.
14518 for ac_last_try in false false :; do
14519 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14520 if test -z "$ac_tt"; then
14522 elif $ac_last_try; then
14523 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14525 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14529 # For the awk script, D is an array of macro values keyed by name,
14530 # likewise P contains macro parameters if any. Preserve backslash
14531 # newline sequences.
14533 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14535 s/.\{148\}/&'"$ac_delim"'/g
14538 s/^[ ]*#[ ]*define[ ][ ]*/ /
14545 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14547 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14551 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14552 D["\
1"]=" \
3\\\\\\n
"\\/p
14554 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14559 s/.\{148\}/&'"$ac_delim"'/g
14564 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14567 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14569 ' <confdefs.h | sed '
14570 s/'"$ac_delim"'/"\\\
14571 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14574 for (key in D) D_is_set[key] = 1
14577 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14579 split(line, arg, " ")
14580 if (arg[1] == "#") {
14584 defundef
= substr
(arg
[1], 2)
14587 split(mac1
, mac2
, "(") #)
14589 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14590 if (D_is_set
[macro
]) {
14591 # Preserve the white space surrounding the "#".
14592 print prefix
"define", macro P
[macro
] D
[macro
]
14595 # Replace #undef with comments. This is necessary, for example,
14596 # in the case of _POSIX_SOURCE, which is predefined and required
14597 # on some systems where configure will not decide to define it.
14598 if (defundef
== "undef") {
14599 print
"/*", prefix defundef
, macro
, "*/"
14607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14608 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14609 fi # test -n "$CONFIG_HEADERS"
14612 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14617 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14619 case $ac_mode$ac_tag in
14621 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14622 :[FH
]-) ac_tag
=-:-;;
14623 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14640 -) ac_f
="$ac_tmp/stdin";;
14641 *) # Look for the file first in the build tree, then in the source tree
14642 # (if the path is not absolute). The absolute path cannot be DOS-style,
14643 # because $ac_f cannot contain `:'.
14647 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14649 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14651 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14652 as_fn_append ac_file_inputs
" '$ac_f'"
14655 # Let's still pretend it is `configure' which instantiates (i.e., don't
14656 # use $as_me), people would be surprised to read:
14657 # /* config.h. Generated by config.status. */
14658 configure_input
='Generated from '`
14659 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14661 if test x
"$ac_file" != x-
; then
14662 configure_input
="$ac_file. $configure_input"
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14664 $as_echo "$as_me: creating $ac_file" >&6;}
14666 # Neutralize special characters interpreted by sed in replacement strings.
14667 case $configure_input in #(
14668 *\
&* |
*\|
* |
*\\* )
14669 ac_sed_conf_input
=`$as_echo "$configure_input" |
14670 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14671 *) ac_sed_conf_input
=$configure_input;;
14675 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14676 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14681 ac_dir
=`$as_dirname -- "$ac_file" ||
14682 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14683 X"$ac_file" : 'X\(//\)[^/]' \| \
14684 X"$ac_file" : 'X\(//\)$' \| \
14685 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14686 $as_echo X"$ac_file" |
14687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14691 /^X\(\/\/\)[^/].*/{
14704 as_dir
="$ac_dir"; as_fn_mkdir_p
14708 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14710 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14711 # A ".." for each directory in $ac_dir_suffix.
14712 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14713 case $ac_top_builddir_sub in
14714 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14715 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14718 ac_abs_top_builddir
=$ac_pwd
14719 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14720 # for backward compatibility:
14721 ac_top_builddir
=$ac_top_build_prefix
14724 .
) # We are building in place.
14726 ac_top_srcdir
=$ac_top_builddir_sub
14727 ac_abs_top_srcdir
=$ac_pwd ;;
14728 [\\/]* | ?
:[\\/]* ) # Absolute name.
14729 ac_srcdir
=$srcdir$ac_dir_suffix;
14730 ac_top_srcdir
=$srcdir
14731 ac_abs_top_srcdir
=$srcdir ;;
14732 *) # Relative name.
14733 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14734 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14735 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14737 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14747 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14748 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14753 # If the template does not know about datarootdir, expand it.
14754 # FIXME: This hack should be removed a few years after 2.60.
14755 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14766 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14767 *datarootdir
*) ac_datarootdir_seen
=yes;;
14768 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14770 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14773 ac_datarootdir_hack='
14774 s&@datadir@&$datadir&g
14775 s&@docdir@&$docdir&g
14776 s&@infodir@&$infodir&g
14777 s&@localedir@&$localedir&g
14778 s&@mandir@&$mandir&g
14779 s&\\\${datarootdir}&$datarootdir&g' ;;
14783 # Neutralize VPATH when `$srcdir' = `.'.
14784 # Shell code in configure.ac might set extrasub.
14785 # FIXME: do we really want to maintain this feature?
14786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14787 ac_sed_extra="$ac_vpsub
14790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14792 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14793 s|@configure_input@|
$ac_sed_conf_input|
;t t
14794 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14795 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14796 s
&@srcdir@
&$ac_srcdir&;t t
14797 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14798 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14799 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14800 s
&@builddir@
&$ac_builddir&;t t
14801 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14802 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14803 s
&@INSTALL@
&$ac_INSTALL&;t t
14804 $ac_datarootdir_hack
14806 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14807 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14809 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14810 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14811 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14812 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14814 which seems to be undefined. Please make sure it is defined" >&5
14815 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14816 which seems to be undefined. Please make sure it is defined" >&2;}
14818 rm -f "$ac_tmp/stdin"
14820 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14821 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14823 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14829 if test x"$ac_file" != x-; then
14831 $as_echo "/* $configure_input */" \
14832 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14833 } >"$ac_tmp/config.h" \
14834 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14835 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14837 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14840 mv "$ac_tmp/config.h" "$ac_file" \
14841 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14844 $as_echo "/* $configure_input */" \
14845 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14846 || as_fn_error $? "could not create -" "$LINENO" 5
14850 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14851 $as_echo "$as_me: executing $ac_file commands" >&6;}
14856 case $ac_file$ac_mode in
14859 # See if we are running on zsh, and set the options that allow our
14860 # commands through without removal of \ escapes.
14861 if test -n "${ZSH_VERSION+set}"; then
14862 setopt NO_GLOB_SUBST
14866 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14869 cat <<_LT_EOF >> "$cfgfile"
14871 # Generated automatically by $as_me ($PACKAGE) $VERSION
14872 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14873 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14875 # Provide generalized library-building support services.
14876 # Written by Gordon Matzigkeit, 1996
14878 # Copyright (C) 2014 Free Software Foundation, Inc.
14879 # This is free software; see the source for copying conditions. There is NO
14880 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14882 # GNU Libtool is free software; you can redistribute it and/or modify
14883 # it under the terms of the GNU General Public License as published by
14884 # the Free Software Foundation; either version 2 of of the License, or
14885 # (at your option) any later version.
14887 # As a special exception to the GNU General Public License, if you
14888 # distribute this file as part of a program or library that is built
14889 # using GNU Libtool, you may include this file under the same
14890 # distribution terms that you use for the rest of that program.
14892 # GNU Libtool is distributed in the hope that it will be useful, but
14893 # WITHOUT ANY WARRANTY; without even the implied warranty of
14894 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14895 # GNU General Public License for more details.
14897 # You should have received a copy of the GNU General Public License
14898 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14901 # The names of the tagged configurations supported by this script.
14904 # Configured defaults for sys_lib_dlsearch_path munging.
14905 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14907 # ### BEGIN LIBTOOL CONFIG
14909 # Which release of libtool.m4 was used?
14910 macro_version=$macro_version
14911 macro_revision=$macro_revision
14913 # Whether or not to build shared libraries.
14914 build_libtool_libs=$enable_shared
14916 # Whether or not to build static libraries.
14917 build_old_libs=$enable_static
14919 # What type of objects to build.
14922 # Whether or not to optimize for fast installation.
14923 fast_install=$enable_fast_install
14925 # Shared archive member basename,for filename based shared library versioning on AIX.
14926 shared_archive_member_spec=$shared_archive_member_spec
14928 # Shell to use when invoking shell scripts.
14931 # An echo program that protects backslashes.
14934 # The PATH separator for the build system.
14935 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14938 host_alias=$host_alias
14942 # The build system.
14943 build_alias=$build_alias
14947 # A sed program that does not truncate output.
14950 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14951 Xsed="\$SED -e 1s/^X//"
14953 # A grep program that handles long lines.
14959 # A literal string matcher.
14962 # A BSD- or MS-compatible name lister.
14965 # Whether we need soft or hard links.
14968 # What is the maximum length of a command?
14969 max_cmd_len=$max_cmd_len
14971 # Object file suffix (normally "o").
14974 # Executable file suffix (normally "").
14977 # whether the shell understands "unset".
14980 # turn spaces into newlines.
14983 # turn newlines into spaces.
14986 # convert \$build file names to \$host format.
14987 to_host_file_cmd=$lt_cv_to_host_file_cmd
14989 # convert \$build files to toolchain format.
14990 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14992 # An object symbol dumper.
14993 OBJDUMP=$lt_OBJDUMP
14995 # Method to check whether dependent libraries are shared objects.
14996 deplibs_check_method=$lt_deplibs_check_method
14998 # Command to use when deplibs_check_method = "file_magic".
14999 file_magic_cmd=$lt_file_magic_cmd
15001 # How to find potential files when deplibs_check_method = "file_magic".
15002 file_magic_glob=$lt_file_magic_glob
15004 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15005 want_nocaseglob=$lt_want_nocaseglob
15007 # DLL creation program.
15008 DLLTOOL=$lt_DLLTOOL
15010 # Command to associate shared and link libraries.
15011 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15016 # Flags to create an archive.
15017 AR_FLAGS=$lt_AR_FLAGS
15019 # How to feed a file listing to the archiver.
15020 archiver_list_spec=$lt_archiver_list_spec
15022 # A symbol stripping program.
15025 # Commands used to install an old-style archive.
15027 old_postinstall_cmds=$lt_old_postinstall_cmds
15028 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15030 # Whether to use a lock for old archive extraction.
15031 lock_old_archive_extraction=$lock_old_archive_extraction
15036 # LTCC compiler flags.
15037 LTCFLAGS=$lt_CFLAGS
15039 # Take the output of nm and produce a listing of raw symbols and C names.
15040 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15042 # Transform the output of nm in a proper C declaration.
15043 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15045 # Transform the output of nm into a list of symbols to manually relocate.
15046 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15048 # Transform the output of nm in a C name address pair.
15049 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15051 # Transform the output of nm in a C name address pair when lib prefix is needed.
15052 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15054 # The name lister interface.
15055 nm_interface=$lt_lt_cv_nm_interface
15057 # Specify filename containing input files for \$NM.
15058 nm_file_list_spec=$lt_nm_file_list_spec
15060 # The root where to search for dependent libraries,and where our libraries should be installed.
15061 lt_sysroot=$lt_sysroot
15063 # Command to truncate a binary pipe.
15064 lt_truncate_bin=$lt_lt_cv_truncate_bin
15066 # The name of the directory that contains temporary libtool files.
15069 # Used to examine libraries when file_magic_cmd begins with "file".
15070 MAGIC_CMD=$MAGIC_CMD
15072 # Must we lock files when doing compilation?
15073 need_locks=$lt_need_locks
15076 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15078 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15079 DSYMUTIL=$lt_DSYMUTIL
15081 # Tool to change global to local symbols on Mac OS X.
15084 # Tool to manipulate fat objects and archives on Mac OS X.
15087 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15090 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15091 OTOOL64=$lt_OTOOL64
15093 # Old archive suffix (normally "a").
15096 # Shared library suffix (normally ".so").
15097 shrext_cmds=$lt_shrext_cmds
15099 # The commands to extract the exported symbol list from a shared archive.
15100 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15102 # Variables whose values should be saved in libtool wrapper scripts and
15103 # restored at link time.
15104 variables_saved_for_relink=$lt_variables_saved_for_relink
15106 # Do we need the "lib" prefix for modules?
15107 need_lib_prefix=$need_lib_prefix
15109 # Do we need a version for libraries?
15110 need_version=$need_version
15112 # Library versioning type.
15113 version_type=$version_type
15115 # Shared library runtime path variable.
15116 runpath_var=$runpath_var
15118 # Shared library path variable.
15119 shlibpath_var=$shlibpath_var
15121 # Is shlibpath searched before the hard-coded library search path?
15122 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15124 # Format of library name prefix.
15125 libname_spec=$lt_libname_spec
15127 # List of archive names. First name is the real one, the rest are links.
15128 # The last name is the one that the linker finds with -lNAME
15129 library_names_spec=$lt_library_names_spec
15131 # The coded name of the library, if different from the real name.
15132 soname_spec=$lt_soname_spec
15134 # Permission mode override for installation of shared libraries.
15135 install_override_mode=$lt_install_override_mode
15137 # Command to use after installation of a shared archive.
15138 postinstall_cmds=$lt_postinstall_cmds
15140 # Command to use after uninstallation of a shared archive.
15141 postuninstall_cmds=$lt_postuninstall_cmds
15143 # Commands used to finish a libtool library installation in a directory.
15144 finish_cmds=$lt_finish_cmds
15146 # As "finish_cmds", except a single script fragment to be evaled but
15148 finish_eval=$lt_finish_eval
15150 # Whether we should hardcode library paths into libraries.
15151 hardcode_into_libs=$hardcode_into_libs
15153 # Compile-time system search path for libraries.
15154 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15156 # Detected run-time system search path for libraries.
15157 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15159 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15160 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15162 # Whether dlopen is supported.
15163 dlopen_support=$enable_dlopen
15165 # Whether dlopen of programs is supported.
15166 dlopen_self=$enable_dlopen_self
15168 # Whether dlopen of statically linked programs is supported.
15169 dlopen_self_static=$enable_dlopen_self_static
15171 # Commands to strip libraries.
15172 old_striplib=$lt_old_striplib
15173 striplib=$lt_striplib
15176 # The linker used to build libraries.
15179 # How to create reloadable object files.
15180 reload_flag=$lt_reload_flag
15181 reload_cmds=$lt_reload_cmds
15183 # Commands used to build an old-style archive.
15184 old_archive_cmds=$lt_old_archive_cmds
15186 # A language specific compiler.
15189 # Is the compiler the GNU compiler?
15192 # Compiler flag to turn off builtin functions.
15193 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15195 # Additional compiler flags for building library objects.
15196 pic_flag=$lt_lt_prog_compiler_pic
15198 # How to pass a linker flag through the compiler.
15199 wl=$lt_lt_prog_compiler_wl
15201 # Compiler flag to prevent dynamic linking.
15202 link_static_flag=$lt_lt_prog_compiler_static
15204 # Does compiler simultaneously support -c and -o options?
15205 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15207 # Whether or not to add -lc for building shared libraries.
15208 build_libtool_need_lc=$archive_cmds_need_lc
15210 # Whether or not to disallow shared libs when runtime libs are static.
15211 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15213 # Compiler flag to allow reflexive dlopens.
15214 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15216 # Compiler flag to generate shared objects directly from archives.
15217 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15219 # Whether the compiler copes with passing no objects directly.
15220 compiler_needs_object=$lt_compiler_needs_object
15222 # Create an old-style archive from a shared archive.
15223 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15225 # Create a temporary old-style archive to link instead of a shared archive.
15226 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15228 # Commands used to build a shared archive.
15229 archive_cmds=$lt_archive_cmds
15230 archive_expsym_cmds=$lt_archive_expsym_cmds
15232 # Commands used to build a loadable module if different from building
15233 # a shared archive.
15234 module_cmds=$lt_module_cmds
15235 module_expsym_cmds=$lt_module_expsym_cmds
15237 # Whether we are building with GNU ld or not.
15238 with_gnu_ld=$lt_with_gnu_ld
15240 # Flag that allows shared libraries with undefined symbols to be built.
15241 allow_undefined_flag=$lt_allow_undefined_flag
15243 # Flag that enforces no undefined symbols.
15244 no_undefined_flag=$lt_no_undefined_flag
15246 # Flag to hardcode \$libdir into a binary during linking.
15247 # This must work even if \$libdir does not exist
15248 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15250 # Whether we need a single "-rpath" flag with a separated argument.
15251 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15253 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15254 # DIR into the resulting binary.
15255 hardcode_direct=$hardcode_direct
15257 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15258 # DIR into the resulting binary and the resulting library dependency is
15259 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15260 # library is relocated.
15261 hardcode_direct_absolute=$hardcode_direct_absolute
15263 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15264 # into the resulting binary.
15265 hardcode_minus_L=$hardcode_minus_L
15267 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15268 # into the resulting binary.
15269 hardcode_shlibpath_var=$hardcode_shlibpath_var
15271 # Set to "yes" if building a shared library automatically hardcodes DIR
15272 # into the library and all subsequent libraries and executables linked
15274 hardcode_automatic=$hardcode_automatic
15276 # Set to yes if linker adds runtime paths of dependent libraries
15277 # to runtime path list.
15278 inherit_rpath=$inherit_rpath
15280 # Whether libtool must link a program against all its dependency libraries.
15281 link_all_deplibs=$link_all_deplibs
15283 # Set to "yes" if exported symbols are required.
15284 always_export_symbols=$always_export_symbols
15286 # The commands to list exported symbols.
15287 export_symbols_cmds=$lt_export_symbols_cmds
15289 # Symbols that should not be listed in the preloaded symbols.
15290 exclude_expsyms=$lt_exclude_expsyms
15292 # Symbols that must always be exported.
15293 include_expsyms=$lt_include_expsyms
15295 # Commands necessary for linking programs (against libraries) with templates.
15296 prelink_cmds=$lt_prelink_cmds
15298 # Commands necessary for finishing linking programs.
15299 postlink_cmds=$lt_postlink_cmds
15301 # Specify filename containing input files.
15302 file_list_spec=$lt_file_list_spec
15304 # How to hardcode a shared library path into an executable.
15305 hardcode_action=$hardcode_action
15307 # ### END LIBTOOL CONFIG
15311 cat <<'_LT_EOF' >> "$cfgfile"
15313 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15315 # func_munge_path_list VARIABLE PATH
15316 # -----------------------------------
15317 # VARIABLE is name of variable containing _space_ separated list of
15318 # directories to be munged by the contents of PATH, which is string
15321 # string "DIR[ DIR]" will be prepended to VARIABLE
15323 # string "DIR[ DIR]" will be appended to VARIABLE
15324 # "DIRP[:DIRP]::[DIRA:]DIRA"
15325 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15326 # "DIRA[ DIRA]" will be appended to VARIABLE
15328 # VARIABLE will be replaced by "DIR[ DIR]"
15329 func_munge_path_list ()
15335 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'` \$$1\"
15338 eval $1=\"\$$1 `$ECHO $2 | $SED 's
/:/ /g
'`\"
15341 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's
/.
*:://' -e 's
/:/ /g
'`\"
15342 eval $1=\"`$ECHO $2 | $SED -e 's
/::.
*//' -e 's
/:/ /g
'`\ \$$1\"
15345 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'`\"
15351 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15352 func_cc_basename ()
15354 for cc_temp in $*""; do
15356 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15357 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15362 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15366 # ### END FUNCTIONS SHARED WITH CONFIGURE
15372 cat <<\_LT_EOF >> "$cfgfile"
15373 # AIX sometimes has problems with the GCC collect2 program. For some
15374 # reason, if we set the COLLECT_NAMES environment variable, the problems
15375 # vanish in a puff of smoke.
15376 if test set != "${COLLECT_NAMES+set}"; then
15378 export COLLECT_NAMES
15385 ltmain=$ac_aux_dir/ltmain.sh
15388 # We use sed instead of cat because bash on DJGPP gets confused if
15389 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15390 # text mode, it properly converts lines to CR/LF. This bash problem
15391 # is reportedly fixed, but why not run on old versions too?
15392 sed '$q' "$ltmain" >> "$cfgfile" \
15393 || (rm -f "$cfgfile"; exit 1)
15395 mv -f "$cfgfile" "$ofile" ||
15396 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15407 ac_clean_files=$ac_clean_files_save
15409 test $ac_write_fail = 0 ||
15410 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15413 # configure is writing to config.log, and then calls config.status.
15414 # config.status does its own redirection, appending to config.log.
15415 # Unfortunately, on DOS this fails, as config.log is still kept open
15416 # by configure, so config.status won't be able to
write to it
; its
15417 # output is simply discarded. So we exec the FD to /dev/null,
15418 # effectively closing config.log, so it can be properly (re)opened and
15419 # appended to by config.status. When coming back to configure, we
15420 # need to make the FD available again.
15421 if test "$no_create" != yes; then
15423 ac_config_status_args
=
15424 test "$silent" = yes &&
15425 ac_config_status_args
="$ac_config_status_args --quiet"
15427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15430 # would make configure fail if this is the last instruction.
15431 $ac_cs_success || as_fn_exit
1
15433 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15435 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}