2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlcipher 3.25.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.25.0'
591 PACKAGE_STRING
='sqlcipher 3.25.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
789 ac_precious_vars
='build_alias
802 # Initialize some variables set by options.
804 ac_init_version
=false
805 ac_unrecognized_opts
=
807 # The variables have the same names as the options, with
808 # dashes changed to underlines.
816 program_transform_name
=s
,x
,x
,
824 # Installation directory options.
825 # These are left unexpanded so users can "make install exec_prefix=/foo"
826 # and all the variables that are supposed to be based on exec_prefix
827 # by default will actually change.
828 # Use braces instead of parens because sh, perl, etc. also accept them.
829 # (The list follows the same order as the GNU Coding Standards.)
830 bindir
='${exec_prefix}/bin'
831 sbindir
='${exec_prefix}/sbin'
832 libexecdir
='${exec_prefix}/libexec'
833 datarootdir
='${prefix}/share'
834 datadir
='${datarootdir}'
835 sysconfdir
='${prefix}/etc'
836 sharedstatedir
='${prefix}/com'
837 localstatedir
='${prefix}/var'
838 includedir
='${prefix}/include'
839 oldincludedir
='/usr/include'
840 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
841 infodir
='${datarootdir}/info'
846 libdir
='${exec_prefix}/lib'
847 localedir
='${datarootdir}/locale'
848 mandir
='${datarootdir}/man'
854 # If the previous option needs an argument, assign it.
855 if test -n "$ac_prev"; then
856 eval $ac_prev=\
$ac_option
862 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error $?
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error $?
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error $?
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error $?
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error $?
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $?
"working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $?
"pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted
=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir
=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted
=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1310 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures sqlcipher 3.25.0 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlcipher]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --build=BUILD configure
for building on BUILD
[guessed
]
1399 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1403 if test -n "$ac_init_help"; then
1404 case $ac_init_help in
1405 short | recursive
) echo "Configuration of sqlcipher 3.25.0:";;
1410 --disable-option-checking ignore unrecognized
--enable/--with options
1411 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1412 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1413 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1414 --enable-static[=PKGS
] build static libraries
[default
=yes]
1415 --enable-fast-install[=PKGS
]
1416 optimize
for fast installation
[default
=yes]
1417 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1418 --disable-largefile omit support
for large files
1419 --disable-threadsafe Disable mutexing
1420 --enable-cross-thread-connections
1421 Allow connection sharing across threads
1422 --enable-releasemode Support libtool link to release mode
1423 --enable-tempstore Use an in-ram database
for temporary tables
1424 (never
,no
,yes,always
)
1425 --disable-tcl do not build TCL extension
1426 --enable-editline enable BSD editline support
1427 --disable-readline disable readline support
1428 --enable-debug enable debugging
& verbose explain
1429 --disable-amalgamation Disable the amalgamation and instead build all files
1431 --disable-load-extension
1432 Disable loading of external extensions
1433 --enable-memsys5 Enable MEMSYS5
1434 --enable-memsys3 Enable MEMSYS3
1435 --enable-fts3 Enable the FTS3 extension
1436 --enable-fts4 Enable the FTS4 extension
1437 --enable-fts5 Enable the FTS5 extension
1438 --enable-json1 Enable the JSON1 extension
1439 --enable-update-limit Enable the UPDATE
/DELETE LIMIT clause
1440 --enable-geopoly Enable the GEOPOLY extension
1441 --enable-rtree Enable the RTREE extension
1442 --enable-session Enable the SESSION extension
1443 --enable-gcov Enable coverage testing using gcov
1446 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1447 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1448 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1450 --with-aix-soname=aix|svr4|both
1451 shared library versioning
(aka
"SONAME") variant to
1452 provide on AIX
, [default
=aix
].
1453 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1454 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1455 compiler
's sysroot if not specified).
1456 --with-crypto-lib Specify which crypto library to use
1457 --with-tcl=DIR directory containing tcl configuration
1459 --with-readline-lib specify readline library
1460 --with-readline-inc specify readline include paths
1462 Some influential environment variables:
1463 CC C compiler command
1464 CFLAGS C compiler flags
1465 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1466 nonstandard directory <lib dir>
1467 LIBS libraries to pass to the linker, e.g. -l<library>
1468 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1469 you have headers in a nonstandard directory <include dir>
1471 User-defined run-time library search path.
1473 TCLLIBDIR Where to install tcl plugin
1475 Use these variables to override the choices made by `configure' or to
help
1476 it to
find libraries and programs with nonstandard names
/locations.
1478 Report bugs to the package provider.
1483 if test "$ac_init_help" = "recursive"; then
1484 # If there are subdirs, report their specific --help.
1485 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1486 test -d "$ac_dir" ||
1487 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1492 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1494 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1495 # A ".." for each directory in $ac_dir_suffix.
1496 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1497 case $ac_top_builddir_sub in
1498 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1499 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1502 ac_abs_top_builddir
=$ac_pwd
1503 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1504 # for backward compatibility:
1505 ac_top_builddir
=$ac_top_build_prefix
1508 .
) # We are building in place.
1510 ac_top_srcdir
=$ac_top_builddir_sub
1511 ac_abs_top_srcdir
=$ac_pwd ;;
1512 [\\/]* | ?
:[\\/]* ) # Absolute name.
1513 ac_srcdir
=$srcdir$ac_dir_suffix;
1514 ac_top_srcdir
=$srcdir
1515 ac_abs_top_srcdir
=$srcdir ;;
1517 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1518 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1519 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1521 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1523 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1524 # Check for guested configure.
1525 if test -f "$ac_srcdir/configure.gnu"; then
1527 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1528 elif test -f "$ac_srcdir/configure"; then
1530 $SHELL "$ac_srcdir/configure" --help=recursive
1532 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1534 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1538 test -n "$ac_init_help" && exit $ac_status
1539 if $ac_init_version; then
1541 sqlcipher configure
3.25.0
1542 generated by GNU Autoconf
2.69
1544 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1545 This configure
script is free software
; the Free Software Foundation
1546 gives unlimited permission to copy
, distribute and modify it.
1551 ## ------------------------ ##
1552 ## Autoconf initialization. ##
1553 ## ------------------------ ##
1555 # ac_fn_c_try_compile LINENO
1556 # --------------------------
1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_c_try_compile
()
1560 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1561 rm -f conftest.
$ac_objext
1562 if { { ac_try
="$ac_compile"
1564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1565 *) ac_try_echo=$ac_try;;
1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569 (eval "$ac_compile") 2>conftest.err
1571 if test -s conftest.err; then
1572 grep -v '^ *+' conftest.err >conftest.er1
1573 cat conftest.er1 >&5
1574 mv -f conftest.er1 conftest.err
1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } && {
1578 test -z "$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1580 } && test -s conftest.$ac_objext; then :
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status $ac_retval
1591 } # ac_fn_c_try_compile
1593 # ac_fn_c_try_link LINENO
1594 # -----------------------
1595 # Try to link conftest.$ac_ext, and return whether this succeeded.
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext conftest$ac_exeext
1600 if { { ac_try="$ac_link"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_link") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest
$ac_exeext && {
1619 test "$cross_compiling" = yes ||
1620 test -x conftest
$ac_exeext
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.
$ac_ext >&5
1629 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1630 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1631 # interfere with the next link command; also delete a directory that is
1632 # left behind by Apple's compiler. We do this before executing the actions.
1633 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status
$ac_retval
1637 } # ac_fn_c_try_link
1639 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists and can be compiled using the include files in
1642 # INCLUDES, setting the cache variable VAR accordingly.
1643 ac_fn_c_check_header_compile
()
1645 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if eval \
${$3+:} false
; then :
1649 $as_echo_n "(cached) " >&6
1651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h. */
1656 if ac_fn_c_try_compile
"$LINENO"; then :
1661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665 $as_echo "$ac_res" >&6; }
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 } # ac_fn_c_check_header_compile
1670 # ac_fn_c_try_cpp LINENO
1671 # ----------------------
1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1676 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } > conftest.i && {
1692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1707 # ac_fn_c_try_run LINENO
1708 # ----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710 # that executables *can* be run.
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { { ac_try="$ac_link"
1716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1717 *) ac_try_echo
=$ac_try;;
1719 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>&5
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1725 { { case "(($ac_try" in
1726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_try") 2>&5
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; }; }; then :
1737 $as_echo "$as_me: program exited with status $ac_status" >&5
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1741 ac_retval=$ac_status
1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1749 # ac_fn_c_check_func LINENO FUNC VAR
1750 # ----------------------------------
1751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1752 ac_fn_c_check_func ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1762 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1764 #define $2 innocuous_$2
1766 /* System header to define __stub macros and hopefully few prototypes,
1767 which can conflict with char $2 (); below.
1768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1769 <limits.h> exists even on freestanding compilers. */
1772 # include <limits.h>
1774 # include <assert.h>
1779 /* Override any GCC internal prototype to avoid an error.
1780 Use char because int might match the return type of a GCC
1781 builtin and then its argument prototype would still apply. */
1786 /* The GNU C library defines this for functions which it implements
1787 to always fail with ENOSYS. Some functions are actually named
1788 something starting with __ and the normal name is an alias. */
1789 #if defined __stub_$2 || defined __stub___$2
1801 if ac_fn_c_try_link "$LINENO"; then :
1806 rm -f core conftest.err conftest.$ac_objext \
1807 conftest$ac_exeext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_func
1816 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1817 # -------------------------------------------
1818 # Tests whether TYPE exists after having included INCLUDES, setting cache
1819 # variable VAR accordingly.
1820 ac_fn_c_check_type ()
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826 $as_echo_n "(cached) " >&6
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1841 if ac_fn_c_try_compile "$LINENO"; then :
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1854 if ac_fn_c_try_compile "$LINENO"; then :
1859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865 $as_echo "$ac_res" >&6; }
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 } # ac_fn_c_check_type
1870 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1871 # -------------------------------------------------------
1872 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1873 # the include files in INCLUDES and setting the cache variable VAR
1875 ac_fn_c_check_header_mongrel ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 if eval \${$3+:} false; then :
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882 $as_echo_n "(cached) " >&6
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1888 # Is the header compilable?
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1890 $as_echo_n "checking $2 usability... " >&6; }
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1896 if ac_fn_c_try_compile "$LINENO"; then :
1897 ac_header_compiler=yes
1899 ac_header_compiler=no
1901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1903 $as_echo "$ac_header_compiler" >&6; }
1905 # Is the header present?
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1907 $as_echo_n "checking $2 presence... " >&6; }
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1912 if ac_fn_c_try_cpp "$LINENO"; then :
1913 ac_header_preproc=yes
1915 ac_header_preproc=no
1917 rm -f conftest.err conftest.i conftest.$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1919 $as_echo "$ac_header_preproc" >&6; }
1921 # So? What about this header?
1922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1925 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1927 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1931 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1933 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1935 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1937 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1939 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943 $as_echo_n "checking for $2... " >&6; }
1944 if eval \${$3+:} false; then :
1945 $as_echo_n "(cached) " >&6
1947 eval "$3=\$ac_header_compiler"
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 } # ac_fn_c_check_header_mongrel
1956 cat >config.log <<_ACEOF
1957 This file contains any messages produced by compilers while
1958 running configure, to aid debugging if configure makes a mistake.
1960 It was created by sqlcipher $as_me 3.25.0, which was
1961 generated by GNU Autoconf 2.69. Invocation command line was
1973 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1974 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1975 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1976 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1977 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1979 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1980 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1982 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1983 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1984 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1985 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1986 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1987 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1988 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 $as_echo "PATH: $as_dir"
2013 # Keep a trace of the command line.
2014 # Strip out --no-create and --no-recursion so they do not pile up.
2015 # Strip out --silent because we don't want to record it for future runs.
2016 # Also quote any args containing shell meta-characters.
2017 # Make two passes to allow for proper duplicate-argument suppression.
2021 ac_must_keep_next=false
2027 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2029 | -silent | --silent | --silen | --sile | --sil)
2032 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2035 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2037 as_fn_append ac_configure_args1 " '$ac_arg'"
2038 if test $ac_must_keep_next = true; then
2039 ac_must_keep_next=false # Got value, back to normal.
2042 *=* | --config-cache | -C | -disable-* | --disable-* \
2043 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2044 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2045 | -with-* | --with-* | -without-* | --without-* | --x)
2046 case "$ac_configure_args0 " in
2047 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2050 -* ) ac_must_keep_next=true ;;
2053 as_fn_append ac_configure_args " '$ac_arg'"
2058 { ac_configure_args0=; unset ac_configure_args0;}
2059 { ac_configure_args1=; unset ac_configure_args1;}
2061 # When interrupted or exit'd, cleanup temporary files, and complete
2062 # config.log. We remove comments because anyway the quotes in there
2063 # would cause problems or look ugly.
2064 # WARNING: Use '\'' to represent an apostrophe within the trap.
2065 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2066 trap 'exit_status=$?
2067 # Save into config.log some information that might help in debugging.
2071 $as_echo "## ---------------- ##
2072 ## Cache variables. ##
2073 ## ---------------- ##"
2075 # The following way of writing the cache mishandles newlines in values,
2077 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2078 eval ac_val=\$$ac_var
2082 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2083 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2086 _ | IFS | as_nl) ;; #(
2087 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2088 *) { eval $ac_var=; unset $ac_var;} ;;
2093 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2094 *${as_nl}ac_space=\ *)
2096 "s/'\''/'\''\\\\'\'''\''/g;
2097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2100 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2107 $as_echo "## ----------------- ##
2108 ## Output variables. ##
2109 ## ----------------- ##"
2111 for ac_var in $ac_subst_vars
2113 eval ac_val=\$$ac_var
2115 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117 $as_echo "$ac_var='\''$ac_val'\''"
2121 if test -n "$ac_subst_files"; then
2122 $as_echo "## ------------------- ##
2123 ## File substitutions. ##
2124 ## ------------------- ##"
2126 for ac_var in $ac_subst_files
2128 eval ac_val=\$$ac_var
2130 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2132 $as_echo "$ac_var='\''$ac_val'\''"
2137 if test -s confdefs.h; then
2138 $as_echo "## ----------- ##
2145 test "$ac_signal" != 0 &&
2146 $as_echo "$as_me: caught signal $ac_signal"
2147 $as_echo "$as_me: exit $exit_status"
2149 rm -f core *.core core.conftest.* &&
2150 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2153 for ac_signal in 1 2 13 15; do
2154 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2159 rm -f -r conftest* confdefs.h
2161 $as_echo "/* confdefs.h */" > confdefs.h
2163 # Predefined preprocessor variables.
2165 cat >>confdefs.h <<_ACEOF
2166 #define PACKAGE_NAME "$PACKAGE_NAME"
2169 cat >>confdefs.h <<_ACEOF
2170 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_STRING "$PACKAGE_STRING"
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_URL "$PACKAGE_URL"
2190 # Let the site file select an alternate cache file if it wants to.
2191 # Prefer an explicitly selected file to automatically selected ones.
2194 if test -n "$CONFIG_SITE"; then
2195 # We do not want a PATH search for config.site.
2196 case $CONFIG_SITE in #((
2197 -*) ac_site_file1=./$CONFIG_SITE;;
2198 */*) ac_site_file1=$CONFIG_SITE;;
2199 *) ac_site_file1=./$CONFIG_SITE;;
2201 elif test "x$prefix" != xNONE; then
2202 ac_site_file1=$prefix/share/config.site
2203 ac_site_file2=$prefix/etc/config.site
2205 ac_site_file1=$ac_default_prefix/share/config.site
2206 ac_site_file2=$ac_default_prefix/etc/config.site
2208 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2210 test "x$ac_site_file" = xNONE && continue
2211 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2213 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2214 sed 's/^/| /' "$ac_site_file" >&5
2216 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218 as_fn_error $? "failed to load site
script $ac_site_file
2219 See \
`config.log' for more details" "$LINENO" 5; }
2223 if test -r "$cache_file"; then
2224 # Some versions of bash will fail to source /dev/null (special files
2225 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2226 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2228 $as_echo "$as_me: loading cache $cache_file" >&6;}
2230 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2231 *) . "./$cache_file";;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2236 $as_echo "$as_me: creating cache $cache_file" >&6;}
2240 # Check that the precious variables saved in the cache have kept the same
2242 ac_cache_corrupted=false
2243 for ac_var in $ac_precious_vars; do
2244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2245 eval ac_new_set=\$ac_env_${ac_var}_set
2246 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2247 eval ac_new_val=\$ac_env_${ac_var}_value
2248 case $ac_old_set,$ac_new_set in
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2251 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2252 ac_cache_corrupted=: ;;
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2255 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2256 ac_cache_corrupted=: ;;
2259 if test "x$ac_old_val" != "x$ac_new_val"; then
2260 # differences in whitespace do not lead to failure.
2261 ac_old_val_w=`echo x
$ac_old_val`
2262 ac_new_val_w=`echo x
$ac_new_val`
2263 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2265 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2266 ac_cache_corrupted=:
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2269 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2270 eval $ac_var=\$ac_old_val
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2273 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2275 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2278 # Pass precious variables to config.status.
2279 if test "$ac_new_set" = set; then
2281 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2282 *) ac_arg=$ac_var=$ac_new_val ;;
2284 case " $ac_configure_args " in
2285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2286 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2290 if $ac_cache_corrupted; then
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2294 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2295 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2297 ## -------------------- ##
2298 ## Main body of script. ##
2299 ## -------------------- ##
2302 ac_cpp='$CPP $CPPFLAGS'
2303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2309 sqlite_version_sanity_check=`cat $srcdir/VERSION |
tr -d '\n'`
2310 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2311 as_fn_error $? "configure script is out of date:
2312 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2313 top level VERSION file = $sqlite_version_sanity_check
2314 please regen with autoconf" "$LINENO" 5
2321 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2322 if test -f "$ac_dir/install-sh"; then
2324 ac_install_sh="$ac_aux_dir/install-sh -c"
2326 elif test -f "$ac_dir/install.sh"; then
2328 ac_install_sh="$ac_aux_dir/install.sh -c"
2330 elif test -f "$ac_dir/shtool"; then
2332 ac_install_sh="$ac_aux_dir/shtool install -c"
2336 if test -z "$ac_aux_dir"; then
2337 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2340 # These three variables are undocumented and unsupported,
2341 # and are intended to be withdrawn in a future Autoconf release.
2342 # They can cause serious problems if a builder's source tree is in a directory
2343 # whose full name contains unusual characters.
2344 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2345 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2346 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2352 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2357 macro_version='2.4.6'
2358 macro_revision='2.4.6'
2372 ltmain=$ac_aux_dir/ltmain.sh
2374 # Make sure we can run config.sub.
2375 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2376 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2379 $as_echo_n "checking build system type... " >&6; }
2380 if ${ac_cv_build+:} false; then :
2381 $as_echo_n "(cached) " >&6
2383 ac_build_alias=$build_alias
2384 test "x$ac_build_alias" = x &&
2385 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2386 test "x$ac_build_alias" = x &&
2387 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2388 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2389 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2393 $as_echo "$ac_cv_build" >&6; }
2394 case $ac_cv_build in
2396 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2399 ac_save_IFS=$IFS; IFS='-'
2405 # Remember, the first character of IFS is used to create $*,
2406 # except with old shells:
2409 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2413 $as_echo_n "checking host system type... " >&6; }
2414 if ${ac_cv_host+:} false; then :
2415 $as_echo_n "(cached) " >&6
2417 if test "x$host_alias" = x; then
2418 ac_cv_host=$ac_cv_build
2420 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2421 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2426 $as_echo "$ac_cv_host" >&6; }
2429 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2432 ac_save_IFS=$IFS; IFS='-'
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2442 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2445 # Backslashify metacharacters that are still active within
2446 # double-quoted strings.
2447 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
2449 # Same as above, but do not quote variable references.
2450 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
2452 # Sed substitution to delay expansion of an escaped shell variable in a
2453 # double_quote_subst'ed string.
2454 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2456 # Sed substitution to delay expansion of an escaped single quote.
2457 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2459 # Sed substitution to avoid accidental globbing in evaled expressions
2460 no_glob_subst='s/\*/\\\*/g'
2462 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2463 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2464 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
2467 $as_echo_n "checking how to print
strings...
" >&6; }
2468 # Test print first, because it will be a builtin if present.
2469 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
2470 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
2472 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
2475 # Use this function as a fallback that always works.
2476 func_fallback_echo ()
2478 eval 'cat <<_LTECHO_EOF
2482 ECHO='func_fallback_echo'
2485 # func_echo_all arg...
2486 # Invoke $ECHO with all args, space-separated.
2493 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
2494 $as_echo "printf" >&6; } ;;
2495 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
2496 $as_echo "print
-r" >&6; } ;;
2497 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
2498 $as_echo "cat" >&6; } ;;
2515 ac_cpp='$CPP $CPPFLAGS'
2516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2521 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2523 $as_echo_n "checking
for $ac_word...
" >&6; }
2524 if ${ac_cv_prog_CC+:} false; then :
2525 $as_echo_n "(cached
) " >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC="$CC" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2537 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$CC"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2550 $as_echo "$CC" >&6; }
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2553 $as_echo "no
" >&6; }
2558 if test -z "$ac_cv_prog_CC"; then
2560 # Extract the first word of "gcc
", so it can be a program name with args.
2561 set dummy gcc; ac_word=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2563 $as_echo_n "checking
for $ac_word...
" >&6; }
2564 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2565 $as_echo_n "(cached
) " >&6
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_ac_ct_CC="gcc
"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2587 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2588 if test -n "$ac_ct_CC"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2590 $as_echo "$ac_ct_CC" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2593 $as_echo "no
" >&6; }
2596 if test "x
$ac_ct_CC" = x; then
2599 case $cross_compiling:$ac_tool_warned in
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2602 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2603 ac_tool_warned=yes ;;
2611 if test -z "$CC"; then
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}cc; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2616 $as_echo_n "checking
for $ac_word...
" >&6; }
2617 if ${ac_cv_prog_CC+:} false; then :
2618 $as_echo_n "(cached
) " >&6
2620 if test -n "$CC"; then
2621 ac_cv_prog_CC="$CC" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2641 if test -n "$CC"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2643 $as_echo "$CC" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2646 $as_echo "no
" >&6; }
2652 if test -z "$CC"; then
2653 # Extract the first word of "cc
", so it can be a program name with args.
2654 set dummy cc; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2656 $as_echo_n "checking
for $ac_word...
" >&6; }
2657 if ${ac_cv_prog_CC+:} false; then :
2658 $as_echo_n "(cached
) " >&6
2660 if test -n "$CC"; then
2661 ac_cv_prog_CC="$CC" # Let the user override the test.
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2672 ac_prog_rejected=yes
2676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2683 if test $ac_prog_rejected = yes; then
2684 # We found a bogon in the path, so make sure we never use it.
2685 set dummy $ac_cv_prog_CC
2687 if test $# != 0; then
2688 # We chose a different compiler from the bogus one.
2689 # However, it has the same basename, so the bogon will be chosen
2690 # first if we set CC to just the basename; use the full file name.
2692 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2698 if test -n "$CC"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2700 $as_echo "$CC" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2703 $as_echo "no
" >&6; }
2708 if test -z "$CC"; then
2709 if test -n "$ac_tool_prefix"; then
2710 for ac_prog in cl.exe
2712 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2713 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2715 $as_echo_n "checking
for $ac_word...
" >&6; }
2716 if ${ac_cv_prog_CC+:} false; then :
2717 $as_echo_n "(cached
) " >&6
2719 if test -n "$CC"; then
2720 ac_cv_prog_CC="$CC" # Let the user override the test.
2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir=.
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2729 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2740 if test -n "$CC"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2742 $as_echo "$CC" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2745 $as_echo "no
" >&6; }
2749 test -n "$CC" && break
2752 if test -z "$CC"; then
2754 for ac_prog in cl.exe
2756 # Extract the first word of "$ac_prog", so it can be a program name with args.
2757 set dummy $ac_prog; ac_word=$2
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2759 $as_echo_n "checking
for $ac_word...
" >&6; }
2760 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2761 $as_echo_n "(cached
) " >&6
2763 if test -n "$ac_ct_CC"; then
2764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir=.
2771 for ac_exec_ext in '' $ac_executable_extensions; do
2772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2773 ac_cv_prog_ac_ct_CC="$ac_prog"
2774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2784 if test -n "$ac_ct_CC"; then
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2786 $as_echo "$ac_ct_CC" >&6; }
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2789 $as_echo "no
" >&6; }
2793 test -n "$ac_ct_CC" && break
2796 if test "x
$ac_ct_CC" = x; then
2799 case $cross_compiling:$ac_tool_warned in
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2802 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2803 ac_tool_warned=yes ;;
2812 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814 as_fn_error $? "no acceptable C compiler found in \$PATH
2815 See \`config.log' for more details
" "$LINENO" 5; }
2817 # Provide some information about the compiler.
2818 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2821 for ac_option in --version -v -V -qversion; do
2822 { { ac_try="$ac_compiler $ac_option >&5"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2828 $as_echo "$ac_try_echo"; } >&5
2829 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2831 if test -s conftest.err; then
2833 ... rest of stderr output deleted ...
2834 10q' conftest.err >conftest.er1
2835 cat conftest.er1 >&5
2837 rm -f conftest.er1 conftest.err
2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2839 test $ac_status = 0; }
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2853 ac_clean_files_save=$ac_clean_files
2854 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2855 # Try to create an executable without -o first, disregard a.out.
2856 # It will help us diagnose broken compilers, and finding out an intuition
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
2859 $as_echo_n "checking whether the C compiler works...
" >&6; }
2860 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2862 # The possible output files:
2863 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2866 for ac_file in $ac_files
2869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2870 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2875 if { { ac_try="$ac_link_default"
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2880 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_link_default") 2>&5
2884 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2885 test $ac_status = 0; }; then :
2886 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2887 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2888 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2889 # so that the user can short-circuit this test for compilers unknown to
2891 for ac_file in $ac_files ''
2893 test -f "$ac_file" || continue
2895 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2898 # We found the default executable, but exeext='' is most
2902 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2904 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2906 # We set ac_cv_exeext here because the later test for it is not
2907 # safe: cross compilers may not add the suffix if given an `-o'
2908 # argument, so we may need to know it at that point already.
2909 # Even if this section looks crufty: it has the advantage of
2916 test "$ac_cv_exeext" = no && ac_cv_exeext=
2921 if test -z "$ac_file"; then :
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2923 $as_echo "no
" >&6; }
2924 $as_echo "$as_me: failed program was
:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929 as_fn_error 77 "C compiler cannot create executables
2930 See \`config.log' for more details
" "$LINENO" 5; }
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2933 $as_echo "yes" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
2936 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
2938 $as_echo "$ac_file" >&6; }
2939 ac_exeext=$ac_cv_exeext
2941 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2942 ac_clean_files=$ac_clean_files_save
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2944 $as_echo_n "checking
for suffix of executables...
" >&6; }
2945 if { { ac_try="$ac_link"
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 $as_echo "$ac_try_echo"; } >&5
2952 (eval "$ac_link") 2>&5
2954 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2955 test $ac_status = 0; }; then :
2956 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2957 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2958 # work properly (i.e., refer to `conftest.exe'), while it won't with
2960 for ac_file in conftest.exe conftest conftest.*; do
2961 test -f "$ac_file" || continue
2963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2964 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2973 See \`config.log' for more details
" "$LINENO" 5; }
2975 rm -f conftest conftest$ac_cv_exeext
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2977 $as_echo "$ac_cv_exeext" >&6; }
2979 rm -f conftest.$ac_ext
2980 EXEEXT=$ac_cv_exeext
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2988 FILE *f = fopen ("conftest.out
", "w
");
2989 return ferror (f) || fclose (f) != 0;
2995 ac_clean_files="$ac_clean_files conftest.out
"
2996 # Check that the compiler produces executables we can run. If not, either
2997 # the compiler is broken, or we cross compile.
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2999 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3000 if test "$cross_compiling" != yes; then
3001 { { ac_try="$ac_link"
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_link") 2>&5
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3011 test $ac_status = 0; }
3012 if { ac_try='./conftest$ac_cv_exeext'
3013 { { case "(($ac_try" in
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018 $as_echo "$ac_try_echo"; } >&5
3019 (eval "$ac_try") 2>&5
3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3022 test $ac_status = 0; }; }; then
3025 if test "$cross_compiling" = maybe; then
3028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030 as_fn_error $? "cannot run C compiled programs.
3031 If you meant to cross compile, use \`--host'.
3032 See \
`config.log' for more details" "$LINENO" 5; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3037 $as_echo "$cross_compiling" >&6; }
3039 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3040 ac_clean_files=$ac_clean_files_save
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3042 $as_echo_n "checking for suffix of object files... " >&6; }
3043 if ${ac_cv_objext+:} false; then :
3044 $as_echo_n "(cached) " >&6
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3057 rm -f conftest.o conftest.obj
3058 if { { ac_try="$ac_compile"
3060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3061 *) ac_try_echo
=$ac_try;;
3063 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3064 $as_echo "$ac_try_echo"; } >&5
3065 (eval "$ac_compile") 2>&5
3067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3068 test $ac_status = 0; }; then :
3069 for ac_file
in conftest.o conftest.obj conftest.
*; do
3070 test -f "$ac_file" ||
continue;
3072 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3073 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.
$ac_ext >&5
3081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3084 See \`config.log' for more details" "$LINENO" 5; }
3086 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3089 $as_echo "$ac_cv_objext" >&6; }
3090 OBJEXT
=$ac_cv_objext
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3093 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3094 if ${ac_cv_c_compiler_gnu+:} false
; then :
3095 $as_echo_n "(cached) " >&6
3097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3111 if ac_fn_c_try_compile
"$LINENO"; then :
3116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3117 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3121 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3122 if test $ac_compiler_gnu = yes; then
3127 ac_test_CFLAGS
=${CFLAGS+set}
3128 ac_save_CFLAGS
=$CFLAGS
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3130 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3131 if ${ac_cv_prog_cc_g+:} false
; then :
3132 $as_echo_n "(cached) " >&6
3134 ac_save_c_werror_flag
=$ac_c_werror_flag
3135 ac_c_werror_flag
=yes
3138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3149 if ac_fn_c_try_compile
"$LINENO"; then :
3153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3164 if ac_fn_c_try_compile
"$LINENO"; then :
3167 ac_c_werror_flag
=$ac_save_c_werror_flag
3169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3180 if ac_fn_c_try_compile
"$LINENO"; then :
3183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3188 ac_c_werror_flag
=$ac_save_c_werror_flag
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3191 $as_echo "$ac_cv_prog_cc_g" >&6; }
3192 if test "$ac_test_CFLAGS" = set; then
3193 CFLAGS
=$ac_save_CFLAGS
3194 elif test $ac_cv_prog_cc_g = yes; then
3195 if test "$GCC" = yes; then
3201 if test "$GCC" = yes; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3208 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3209 if ${ac_cv_prog_cc_c89+:} false
; then :
3210 $as_echo_n "(cached) " >&6
3212 ac_cv_prog_cc_c89
=no
3214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3219 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3220 struct buf { int x; };
3221 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3222 static char *e (p, i)
3228 static char *f (char * (*g) (char **, int), char **p, ...)
3233 s = g (p, va_arg (v,int));
3238 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3239 function prototypes and stuff, but not '\xHH' hex character constants.
3240 These don't provoke an error unfortunately, instead are silently treated
3241 as 'x'. The following induces an error, until -std is added to get
3242 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3243 array size at least. It's necessary to write '\x00'==0 to get something
3244 that's true only with -std. */
3245 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3247 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3248 inside strings and character constants. */
3250 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3252 int test (int i, double x);
3253 struct s1 {int (*f) (int a);};
3254 struct s2 {int (*f) (double a);};
3255 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3261 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3266 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3267 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3269 CC
="$ac_save_CC $ac_arg"
3270 if ac_fn_c_try_compile
"$LINENO"; then :
3271 ac_cv_prog_cc_c89
=$ac_arg
3273 rm -f core conftest.err conftest.
$ac_objext
3274 test "x$ac_cv_prog_cc_c89" != "xno" && break
3276 rm -f conftest.
$ac_ext
3281 case "x$ac_cv_prog_cc_c89" in
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3284 $as_echo "none needed" >&6; } ;;
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3287 $as_echo "unsupported" >&6; } ;;
3289 CC
="$CC $ac_cv_prog_cc_c89"
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3291 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3293 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3298 ac_cpp
='$CPP $CPPFLAGS'
3299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3304 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3305 if ${ac_cv_path_SED+:} false
; then :
3306 $as_echo_n "(cached) " >&6
3308 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3309 for ac_i
in 1 2 3 4 5 6 7; do
3310 ac_script
="$ac_script$as_nl$ac_script"
3312 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3313 { ac_script
=; unset ac_script
;}
3314 if test -z "$SED"; then
3315 ac_path_SED_found
=false
3316 # Loop through the user's path and test for each of PROGNAME-LIST
3317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir
=.
3322 for ac_prog
in sed gsed
; do
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3325 as_fn_executable_p
"$ac_path_SED" ||
continue
3326 # Check for GNU ac_path_SED and select it if it is found.
3327 # Check for GNU $ac_path_SED
3328 case `"$ac_path_SED" --version 2>&1` in
3330 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3333 $as_echo_n 0123456789 >"conftest.in"
3336 cat "conftest.in" "conftest.in" >"conftest.tmp"
3337 mv "conftest.tmp" "conftest.in"
3338 cp "conftest.in" "conftest.nl"
3339 $as_echo '' >> "conftest.nl"
3340 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3341 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3342 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3343 if test $ac_count -gt ${ac_path_SED_max-0}; then
3344 # Best one so far, save it but keep looking for a better one
3345 ac_cv_path_SED
="$ac_path_SED"
3346 ac_path_SED_max
=$ac_count
3348 # 10*(2^10) chars as input seems more than enough
3349 test $ac_count -gt 10 && break
3351 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3354 $ac_path_SED_found && break 3
3359 if test -z "$ac_cv_path_SED"; then
3360 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3368 $as_echo "$ac_cv_path_SED" >&6; }
3369 SED
="$ac_cv_path_SED"
3372 test -z "$SED" && SED
=sed
3373 Xsed
="$SED -e 1s/^X//"
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3386 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3387 if ${ac_cv_path_GREP+:} false
; then :
3388 $as_echo_n "(cached) " >&6
3390 if test -z "$GREP"; then
3391 ac_path_GREP_found
=false
3392 # Loop through the user's path and test for each of PROGNAME-LIST
3393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3397 test -z "$as_dir" && as_dir
=.
3398 for ac_prog
in grep ggrep
; do
3399 for ac_exec_ext
in '' $ac_executable_extensions; do
3400 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3401 as_fn_executable_p
"$ac_path_GREP" ||
continue
3402 # Check for GNU ac_path_GREP and select it if it is found.
3403 # Check for GNU $ac_path_GREP
3404 case `"$ac_path_GREP" --version 2>&1` in
3406 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3409 $as_echo_n 0123456789 >"conftest.in"
3412 cat "conftest.in" "conftest.in" >"conftest.tmp"
3413 mv "conftest.tmp" "conftest.in"
3414 cp "conftest.in" "conftest.nl"
3415 $as_echo 'GREP' >> "conftest.nl"
3416 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3417 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3418 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3419 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3420 # Best one so far, save it but keep looking for a better one
3421 ac_cv_path_GREP
="$ac_path_GREP"
3422 ac_path_GREP_max
=$ac_count
3424 # 10*(2^10) chars as input seems more than enough
3425 test $ac_count -gt 10 && break
3427 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3430 $ac_path_GREP_found && break 3
3435 if test -z "$ac_cv_path_GREP"; then
3436 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3439 ac_cv_path_GREP
=$GREP
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3444 $as_echo "$ac_cv_path_GREP" >&6; }
3445 GREP
="$ac_cv_path_GREP"
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3449 $as_echo_n "checking for egrep... " >&6; }
3450 if ${ac_cv_path_EGREP+:} false
; then :
3451 $as_echo_n "(cached) " >&6
3453 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3454 then ac_cv_path_EGREP
="$GREP -E"
3456 if test -z "$EGREP"; then
3457 ac_path_EGREP_found
=false
3458 # Loop through the user's path and test for each of PROGNAME-LIST
3459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3460 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3463 test -z "$as_dir" && as_dir
=.
3464 for ac_prog
in egrep; do
3465 for ac_exec_ext
in '' $ac_executable_extensions; do
3466 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3467 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3468 # Check for GNU ac_path_EGREP and select it if it is found.
3469 # Check for GNU $ac_path_EGREP
3470 case `"$ac_path_EGREP" --version 2>&1` in
3472 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3475 $as_echo_n 0123456789 >"conftest.in"
3478 cat "conftest.in" "conftest.in" >"conftest.tmp"
3479 mv "conftest.tmp" "conftest.in"
3480 cp "conftest.in" "conftest.nl"
3481 $as_echo 'EGREP' >> "conftest.nl"
3482 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3483 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3484 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3485 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3486 # Best one so far, save it but keep looking for a better one
3487 ac_cv_path_EGREP
="$ac_path_EGREP"
3488 ac_path_EGREP_max
=$ac_count
3490 # 10*(2^10) chars as input seems more than enough
3491 test $ac_count -gt 10 && break
3493 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3496 $ac_path_EGREP_found && break 3
3501 if test -z "$ac_cv_path_EGREP"; then
3502 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3505 ac_cv_path_EGREP
=$EGREP
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3511 $as_echo "$ac_cv_path_EGREP" >&6; }
3512 EGREP
="$ac_cv_path_EGREP"
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3516 $as_echo_n "checking for fgrep... " >&6; }
3517 if ${ac_cv_path_FGREP+:} false
; then :
3518 $as_echo_n "(cached) " >&6
3520 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3521 then ac_cv_path_FGREP
="$GREP -F"
3523 if test -z "$FGREP"; then
3524 ac_path_FGREP_found
=false
3525 # Loop through the user's path and test for each of PROGNAME-LIST
3526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3527 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3530 test -z "$as_dir" && as_dir
=.
3531 for ac_prog
in fgrep
; do
3532 for ac_exec_ext
in '' $ac_executable_extensions; do
3533 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3534 as_fn_executable_p
"$ac_path_FGREP" ||
continue
3535 # Check for GNU ac_path_FGREP and select it if it is found.
3536 # Check for GNU $ac_path_FGREP
3537 case `"$ac_path_FGREP" --version 2>&1` in
3539 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3542 $as_echo_n 0123456789 >"conftest.in"
3545 cat "conftest.in" "conftest.in" >"conftest.tmp"
3546 mv "conftest.tmp" "conftest.in"
3547 cp "conftest.in" "conftest.nl"
3548 $as_echo 'FGREP' >> "conftest.nl"
3549 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3550 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3551 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3552 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3553 # Best one so far, save it but keep looking for a better one
3554 ac_cv_path_FGREP
="$ac_path_FGREP"
3555 ac_path_FGREP_max
=$ac_count
3557 # 10*(2^10) chars as input seems more than enough
3558 test $ac_count -gt 10 && break
3560 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3563 $ac_path_FGREP_found && break 3
3568 if test -z "$ac_cv_path_FGREP"; then
3569 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3572 ac_cv_path_FGREP
=$FGREP
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3578 $as_echo "$ac_cv_path_FGREP" >&6; }
3579 FGREP
="$ac_cv_path_FGREP"
3582 test -z "$GREP" && GREP
=grep
3602 # Check whether --with-gnu-ld was given.
3603 if test "${with_gnu_ld+set}" = set; then :
3604 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
3610 if test yes = "$GCC"; then
3611 # Check if gcc -print-prog-name=ld gives a path.
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3613 $as_echo_n "checking for ld used by $CC... " >&6; }
3616 # gcc leaves a trailing carriage return, which upsets mingw
3617 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3619 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3622 # Accept absolute paths.
3624 re_direlt
='/[^/][^/]*/\.\./'
3625 # Canonicalize the pathname of ld
3626 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3627 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3628 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3630 test -z "$LD" && LD
=$ac_prog
3633 # If it fails, then pretend we aren't using GCC.
3637 # If it is relative, then search for the first ld in PATH.
3641 elif test yes = "$with_gnu_ld"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3643 $as_echo_n "checking for GNU ld... " >&6; }
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3646 $as_echo_n "checking for non-GNU ld... " >&6; }
3648 if ${lt_cv_path_LD+:} false
; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -z "$LD"; then
3652 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3653 for ac_dir
in $PATH; do
3655 test -z "$ac_dir" && ac_dir
=.
3656 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3657 lt_cv_path_LD
=$ac_dir/$ac_prog
3658 # Check to see if the program is GNU ld. I'd rather use --version,
3659 # but apparently some variants of GNU ld only accept -v.
3660 # Break only if it was the GNU/non-GNU ld that we prefer.
3661 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3662 *GNU
* |
*'with BFD'*)
3663 test no
!= "$with_gnu_ld" && break
3666 test yes != "$with_gnu_ld" && break
3673 lt_cv_path_LD
=$LD # Let the user override the test with a path.
3678 if test -n "$LD"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3680 $as_echo "$LD" >&6; }
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3685 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3687 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3688 if ${lt_cv_prog_gnu_ld+:} false
; then :
3689 $as_echo_n "(cached) " >&6
3691 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3692 case `$LD -v 2>&1 </dev/null` in
3693 *GNU
* |
*'with BFD'*)
3694 lt_cv_prog_gnu_ld
=yes
3697 lt_cv_prog_gnu_ld
=no
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3702 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3703 with_gnu_ld
=$lt_cv_prog_gnu_ld
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3714 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3715 if ${lt_cv_path_NM+:} false
; then :
3716 $as_echo_n "(cached) " >&6
3718 if test -n "$NM"; then
3719 # Let the user override the test.
3722 lt_nm_to_check
=${ac_tool_prefix}nm
3723 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3724 lt_nm_to_check
="$lt_nm_to_check nm"
3726 for lt_tmp_nm
in $lt_nm_to_check; do
3727 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3728 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3730 test -z "$ac_dir" && ac_dir
=.
3731 tmp_nm
=$ac_dir/$lt_tmp_nm
3732 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
3733 # Check to see if the nm accepts a BSD-compat flag.
3734 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3735 # nm: unknown option "B" ignored
3736 # Tru64's nm complains that /dev/null is an invalid object file
3737 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3739 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
3740 *) lt_bad_file
=/dev
/null
;;
3742 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3743 *$lt_bad_file* |
*'Invalid file or object type'*)
3744 lt_cv_path_NM
="$tmp_nm -B"
3748 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3750 lt_cv_path_NM
="$tmp_nm -p"
3754 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3755 continue # so that we can try to find one that supports BSD flags
3764 : ${lt_cv_path_NM=no}
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3768 $as_echo "$lt_cv_path_NM" >&6; }
3769 if test no
!= "$lt_cv_path_NM"; then
3772 # Didn't find any BSD compatible name lister, look for dumpbin.
3773 if test -n "$DUMPBIN"; then :
3774 # Let the user override the test.
3776 if test -n "$ac_tool_prefix"; then
3777 for ac_prog
in dumpbin
"link -dump"
3779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3780 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$DUMPBIN"; then
3787 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 DUMPBIN
=$ac_cv_prog_DUMPBIN
3807 if test -n "$DUMPBIN"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3809 $as_echo "$DUMPBIN" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$DUMPBIN" && break
3819 if test -z "$DUMPBIN"; then
3820 ac_ct_DUMPBIN
=$DUMPBIN
3821 for ac_prog
in dumpbin
"link -dump"
3823 # Extract the first word of "$ac_prog", so it can be a program name with args.
3824 set dummy
$ac_prog; ac_word
=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -n "$ac_ct_DUMPBIN"; then
3831 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3851 if test -n "$ac_ct_DUMPBIN"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3853 $as_echo "$ac_ct_DUMPBIN" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3860 test -n "$ac_ct_DUMPBIN" && break
3863 if test "x$ac_ct_DUMPBIN" = x
; then
3866 case $cross_compiling:$ac_tool_warned in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned
=yes ;;
3872 DUMPBIN
=$ac_ct_DUMPBIN
3876 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3878 DUMPBIN
="$DUMPBIN -symbols -headers"
3886 if test : != "$DUMPBIN"; then
3890 test -z "$NM" && NM
=nm
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3898 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3899 if ${lt_cv_nm_interface+:} false
; then :
3900 $as_echo_n "(cached) " >&6
3902 lt_cv_nm_interface
="BSD nm"
3903 echo "int some_variable = 0;" > conftest.
$ac_ext
3904 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
3905 (eval "$ac_compile" 2>conftest.err
)
3906 cat conftest.err
>&5
3907 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3908 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3909 cat conftest.err
>&5
3910 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
3911 cat conftest.out
>&5
3912 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3913 lt_cv_nm_interface
="MS dumpbin"
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3918 $as_echo "$lt_cv_nm_interface" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3921 $as_echo_n "checking whether ln -s works... " >&6; }
3923 if test "$LN_S" = "ln -s"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3925 $as_echo "yes" >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3928 $as_echo "no, using $LN_S" >&6; }
3931 # find the maximum length of command line arguments
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3933 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3934 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3935 $as_echo_n "(cached) " >&6
3942 # On DJGPP, this test can blow up pretty badly due to problems in libc
3943 # (any single argument exceeding 2000 bytes causes a buffer overrun
3944 # during glob expansion). Even if it were fixed, the result of this
3945 # check would be larger than it should be.
3946 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3950 # Under GNU Hurd, this test is not required because there is
3951 # no limit to the length of command line arguments.
3952 # Libtool will interpret -1 as no limit whatsoever
3953 lt_cv_sys_max_cmd_len
=-1;
3956 cygwin
* | mingw
* | cegcc
*)
3957 # On Win9x/ME, this test blows up -- it succeeds, but takes
3958 # about 5 minutes as the teststring grows exponentially.
3959 # Worse, since 9x/ME are not pre-emptively multitasking,
3960 # you end up with a "frozen" computer, even though with patience
3961 # the test eventually succeeds (with a max line length of 256k).
3962 # Instead, let's just punt: use the minimum linelength reported by
3963 # all of the supported platforms: 8192 (on NT/2K/XP).
3964 lt_cv_sys_max_cmd_len
=8192;
3968 # On MiNT this can take a long time and run out of memory.
3969 lt_cv_sys_max_cmd_len
=8192;
3973 # On AmigaOS with pdksh, this test takes hours, literally.
3974 # So we just punt and use a minimum line length of 8192.
3975 lt_cv_sys_max_cmd_len
=8192;
3978 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
3979 # This has been around since 386BSD, at least. Likely further.
3980 if test -x /sbin
/sysctl
; then
3981 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3982 elif test -x /usr
/sbin
/sysctl
; then
3983 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3985 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3987 # And add a safety zone
3988 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3989 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3993 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3994 lt_cv_sys_max_cmd_len
=196608
3998 # The test takes a long time on OS/2.
3999 lt_cv_sys_max_cmd_len
=8192
4003 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4004 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4005 # nice to cause kernel panics so lets avoid the loop below.
4006 # First set a reasonable default.
4007 lt_cv_sys_max_cmd_len
=16384
4009 if test -x /sbin
/sysconfig
; then
4010 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4011 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4016 lt_cv_sys_max_cmd_len
=102400
4018 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4019 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4020 if test -n "$kargmax"; then
4021 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4023 lt_cv_sys_max_cmd_len
=32768
4027 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4028 if test -n "$lt_cv_sys_max_cmd_len" && \
4029 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
4030 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4031 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4033 # Make teststring a little bigger before we do anything with it.
4034 # a 1K string should be a reasonable start.
4035 for i
in 1 2 3 4 5 6 7 8; do
4036 teststring
=$teststring$teststring
4038 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4039 # If test is not a shell built-in, we'll probably end up computing a
4040 # maximum length that is only half of the actual maximum length, but
4042 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
4043 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4044 test 17 != "$i" # 1/2 MB should be enough
4047 teststring
=$teststring$teststring
4049 # Only check the string length outside the loop.
4050 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4052 # Add a significant safety factor because C++ compilers can tack on
4053 # massive amounts of additional arguments before passing them to the
4054 # linker. It appears as though 1/2 is a usable value.
4055 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4062 if test -n "$lt_cv_sys_max_cmd_len"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4064 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4067 $as_echo "none" >&6; }
4069 max_cmd_len
=$lt_cv_sys_max_cmd_len
4080 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4090 # test EBCDIC or ASCII
4091 case `echo X|tr X '\101'` in
4092 A
) # ASCII based system
4093 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4094 lt_SP2NL
='tr \040 \012'
4095 lt_NL2SP
='tr \015\012 \040\040'
4097 *) # EBCDIC based system
4098 lt_SP2NL
='tr \100 \n'
4099 lt_NL2SP
='tr \r\n \100\100'
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4112 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4113 if ${lt_cv_to_host_file_cmd+:} false
; then :
4114 $as_echo_n "(cached) " >&6
4119 *-*-mingw* ) # actually msys
4120 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4123 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4125 * ) # otherwise, assume *nix
4126 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4132 *-*-mingw* ) # actually msys
4133 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4136 lt_cv_to_host_file_cmd
=func_convert_file_noop
4138 * ) # otherwise, assume *nix
4139 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4143 * ) # unhandled hosts (and "normal" native builds)
4144 lt_cv_to_host_file_cmd
=func_convert_file_noop
4150 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4152 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4159 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4160 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4161 $as_echo_n "(cached) " >&6
4163 #assume ordinary cross tools, or native build.
4164 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4168 *-*-mingw* ) # actually msys
4169 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4177 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4179 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4186 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4187 if ${lt_cv_ld_reload_flag+:} false
; then :
4188 $as_echo_n "(cached) " >&6
4190 lt_cv_ld_reload_flag
='-r'
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4193 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4194 reload_flag
=$lt_cv_ld_reload_flag
4195 case $reload_flag in
4197 *) reload_flag
=" $reload_flag" ;;
4199 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4201 cygwin
* | mingw
* | pw32
* | cegcc
*)
4202 if test yes != "$GCC"; then
4207 if test yes = "$GCC"; then
4208 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4210 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4223 if test -n "$ac_tool_prefix"; then
4224 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4225 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$OBJDUMP"; then
4232 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4241 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 OBJDUMP
=$ac_cv_prog_OBJDUMP
4252 if test -n "$OBJDUMP"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4254 $as_echo "$OBJDUMP" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4262 if test -z "$ac_cv_prog_OBJDUMP"; then
4263 ac_ct_OBJDUMP
=$OBJDUMP
4264 # Extract the first word of "objdump", so it can be a program name with args.
4265 set dummy objdump
; ac_word
=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -n "$ac_ct_OBJDUMP"; then
4272 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir
=.
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4292 if test -n "$ac_ct_OBJDUMP"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4294 $as_echo "$ac_ct_OBJDUMP" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4300 if test "x$ac_ct_OBJDUMP" = x
; then
4303 case $cross_compiling:$ac_tool_warned in
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4307 ac_tool_warned
=yes ;;
4309 OBJDUMP
=$ac_ct_OBJDUMP
4312 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4315 test -z "$OBJDUMP" && OBJDUMP
=objdump
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4326 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4327 if ${lt_cv_deplibs_check_method+:} false
; then :
4328 $as_echo_n "(cached) " >&6
4330 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4331 lt_cv_file_magic_test_file
=
4332 lt_cv_deplibs_check_method
='unknown'
4333 # Need to set the preceding variable on all platforms that support
4334 # interlibrary dependencies.
4335 # 'none' -- dependencies not supported.
4336 # 'unknown' -- same as none, but documents that we really don't know.
4337 # 'pass_all' -- all dependencies passed with no checks.
4338 # 'test_compile' -- check by making test program.
4339 # 'file_magic [[regex]]' -- check by looking for files in library path
4340 # that responds to the $file_magic_cmd with a given extended regex.
4341 # If you have 'file' or equivalent on your system and you're not sure
4342 # whether 'pass_all' will *always* work, you probably want this one.
4346 lt_cv_deplibs_check_method
=pass_all
4350 lt_cv_deplibs_check_method
=pass_all
4354 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4355 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4356 lt_cv_file_magic_test_file
=/shlib
/libc.so
4360 # func_win32_libid is a shell function defined in ltmain.sh
4361 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4362 lt_cv_file_magic_cmd
='func_win32_libid'
4366 # Base MSYS/MinGW do not provide the 'file' command needed by
4367 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4368 # unless we find 'file', for example because we are cross-compiling.
4369 if ( file / ) >/dev
/null
2>&1; then
4370 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4371 lt_cv_file_magic_cmd
='func_win32_libid'
4373 # Keep this pattern in sync with the one in func_win32_libid.
4374 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4375 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4380 # use the weaker test based on 'objdump'. See mingw*.
4381 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4382 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4385 darwin
* | rhapsody
*)
4386 lt_cv_deplibs_check_method
=pass_all
4389 freebsd
* | dragonfly
*)
4390 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4393 # Not sure whether the presence of OpenBSD here was a mistake.
4394 # Let's accept both of them until this is cleared up.
4395 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4396 lt_cv_file_magic_cmd
=/usr
/bin
/file
4397 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4401 lt_cv_deplibs_check_method
=pass_all
4406 lt_cv_deplibs_check_method
=pass_all
4409 hpux10.20
* | hpux11
*)
4410 lt_cv_file_magic_cmd
=/usr
/bin
/file
4413 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4414 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4417 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]'
4418 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4421 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4422 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4428 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4429 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4432 irix5
* | irix6
* | nonstopux
*)
4434 *-32|
*"-32 ") libmagic
=32-bit;;
4435 *-n32|
*"-n32 ") libmagic
=N32
;;
4436 *-64|
*"-64 ") libmagic
=64-bit;;
4437 *) libmagic
=never-match
;;
4439 lt_cv_deplibs_check_method
=pass_all
4442 # This must be glibc/ELF.
4443 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
4444 lt_cv_deplibs_check_method
=pass_all
4448 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4449 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4451 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4456 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4457 lt_cv_file_magic_cmd
=/usr
/bin
/file
4458 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4462 lt_cv_deplibs_check_method
=pass_all
4466 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4467 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4469 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4473 osf3
* | osf4
* | osf5
*)
4474 lt_cv_deplibs_check_method
=pass_all
4478 lt_cv_deplibs_check_method
=pass_all
4482 lt_cv_deplibs_check_method
=pass_all
4485 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4486 lt_cv_deplibs_check_method
=pass_all
4490 case $host_vendor in
4492 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]'
4493 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4496 lt_cv_deplibs_check_method
=pass_all
4499 lt_cv_file_magic_cmd
='/bin/file'
4500 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4503 lt_cv_file_magic_cmd
='/bin/file'
4504 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4505 lt_cv_file_magic_test_file
=/lib
/libc.so
4508 lt_cv_deplibs_check_method
=pass_all
4511 lt_cv_deplibs_check_method
=pass_all
4517 lt_cv_deplibs_check_method
=pass_all
4520 lt_cv_deplibs_check_method
=pass_all
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4526 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4530 if test "$build" = "$host"; then
4533 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
4536 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4542 file_magic_cmd
=$lt_cv_file_magic_cmd
4543 deplibs_check_method
=$lt_cv_deplibs_check_method
4544 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4567 if test -n "$ac_tool_prefix"; then
4568 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4569 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4573 $as_echo_n "(cached) " >&6
4575 if test -n "$DLLTOOL"; then
4576 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 DLLTOOL
=$ac_cv_prog_DLLTOOL
4596 if test -n "$DLLTOOL"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4598 $as_echo "$DLLTOOL" >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4606 if test -z "$ac_cv_prog_DLLTOOL"; then
4607 ac_ct_DLLTOOL
=$DLLTOOL
4608 # Extract the first word of "dlltool", so it can be a program name with args.
4609 set dummy dlltool
; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$ac_ct_DLLTOOL"; then
4616 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4636 if test -n "$ac_ct_DLLTOOL"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4638 $as_echo "$ac_ct_DLLTOOL" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4644 if test "x$ac_ct_DLLTOOL" = x
; then
4647 case $cross_compiling:$ac_tool_warned in
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4651 ac_tool_warned
=yes ;;
4653 DLLTOOL
=$ac_ct_DLLTOOL
4656 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4659 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4671 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4672 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
4673 $as_echo_n "(cached) " >&6
4675 lt_cv_sharedlib_from_linklib_cmd
='unknown'
4678 cygwin
* | mingw
* | pw32
* | cegcc
*)
4679 # two different shell functions defined in ltmain.sh;
4680 # decide which one to use based on capabilities of $DLLTOOL
4681 case `$DLLTOOL --help 2>&1` in
4682 *--identify-strict*)
4683 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
4686 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
4691 # fallback: assume linklib IS sharedlib
4692 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4698 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4699 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
4700 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
4709 if test -n "$ac_tool_prefix"; then
4712 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4713 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715 $as_echo_n "checking for $ac_word... " >&6; }
4716 if ${ac_cv_prog_AR+:} false
; then :
4717 $as_echo_n "(cached) " >&6
4719 if test -n "$AR"; then
4720 ac_cv_prog_AR
="$AR" # Let the user override the test.
4722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4726 test -z "$as_dir" && as_dir
=.
4727 for ac_exec_ext
in '' $ac_executable_extensions; do
4728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 if test -n "$AR"; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4742 $as_echo "$AR" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 $as_echo "no" >&6; }
4749 test -n "$AR" && break
4752 if test -z "$AR"; then
4756 # Extract the first word of "$ac_prog", so it can be a program name with args.
4757 set dummy
$ac_prog; ac_word
=$2
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4761 $as_echo_n "(cached) " >&6
4763 if test -n "$ac_ct_AR"; then
4764 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir
=.
4771 for ac_exec_ext
in '' $ac_executable_extensions; do
4772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_ac_ct_AR
="$ac_prog"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4784 if test -n "$ac_ct_AR"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4786 $as_echo "$ac_ct_AR" >&6; }
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4793 test -n "$ac_ct_AR" && break
4796 if test "x$ac_ct_AR" = x
; then
4799 case $cross_compiling:$ac_tool_warned in
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4803 ac_tool_warned
=yes ;;
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4823 $as_echo_n "checking for archiver @FILE support... " >&6; }
4824 if ${lt_cv_ar_at_file+:} false
; then :
4825 $as_echo_n "(cached) " >&6
4828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4839 if ac_fn_c_try_compile
"$LINENO"; then :
4840 echo conftest.
$ac_objext > conftest.lst
4841 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4842 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4843 (eval $lt_ar_try) 2>&5
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; }
4847 if test 0 -eq "$ac_status"; then
4848 # Ensure the archiver fails upon bogus file names.
4849 rm -f conftest.
$ac_objext libconftest.a
4850 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4851 (eval $lt_ar_try) 2>&5
4853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4854 test $ac_status = 0; }
4855 if test 0 -ne "$ac_status"; then
4859 rm -f conftest.
* libconftest.a
4862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
4866 $as_echo "$lt_cv_ar_at_file" >&6; }
4868 if test no
= "$lt_cv_ar_at_file"; then
4871 archiver_list_spec
=$lt_cv_ar_at_file
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4882 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_STRIP+:} false
; then :
4886 $as_echo_n "(cached) " >&6
4888 if test -n "$STRIP"; then
4889 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir
=.
4896 for ac_exec_ext
in '' $ac_executable_extensions; do
4897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 STRIP
=$ac_cv_prog_STRIP
4909 if test -n "$STRIP"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4911 $as_echo "$STRIP" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_STRIP"; then
4921 # Extract the first word of "strip", so it can be a program name with args.
4922 set dummy strip
; ac_word
=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -n "$ac_ct_STRIP"; then
4929 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir
=.
4936 for ac_exec_ext
in '' $ac_executable_extensions; do
4937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_STRIP
="strip"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4949 if test -n "$ac_ct_STRIP"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4951 $as_echo "$ac_ct_STRIP" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_STRIP" = x
; then
4960 case $cross_compiling:$ac_tool_warned in
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned
=yes ;;
4969 STRIP
="$ac_cv_prog_STRIP"
4972 test -z "$STRIP" && STRIP
=:
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4981 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_RANLIB+:} false
; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$RANLIB"; then
4988 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 RANLIB
=$ac_cv_prog_RANLIB
5008 if test -n "$RANLIB"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5010 $as_echo "$RANLIB" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5018 if test -z "$ac_cv_prog_RANLIB"; then
5019 ac_ct_RANLIB
=$RANLIB
5020 # Extract the first word of "ranlib", so it can be a program name with args.
5021 set dummy ranlib
; ac_word
=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$ac_ct_RANLIB"; then
5028 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir
=.
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5048 if test -n "$ac_ct_RANLIB"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5050 $as_echo "$ac_ct_RANLIB" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5056 if test "x$ac_ct_RANLIB" = x
; then
5059 case $cross_compiling:$ac_tool_warned in
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063 ac_tool_warned
=yes ;;
5065 RANLIB
=$ac_ct_RANLIB
5068 RANLIB
="$ac_cv_prog_RANLIB"
5071 test -z "$RANLIB" && RANLIB
=:
5078 # Determine commands to create old-style static archives.
5079 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5080 old_postinstall_cmds
='chmod 644 $oldlib'
5081 old_postuninstall_cmds
=
5083 if test -n "$RANLIB"; then
5086 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5089 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5092 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5097 lock_old_archive_extraction
=yes ;;
5099 lock_old_archive_extraction
=no
;;
5122 for ac_prog
in gawk mawk nawk
awk
5124 # Extract the first word of "$ac_prog", so it can be a program name with args.
5125 set dummy
$ac_prog; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_AWK+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$AWK"; then
5132 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_AWK
="$ac_prog"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 if test -n "$AWK"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5154 $as_echo "$AWK" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5161 test -n "$AWK" && break
5182 # If no C compiler was specified, use CC.
5185 # If no C compiler flags were specified, use CFLAGS.
5186 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5188 # Allow CC to be a program name with arguments.
5192 # Check for command to grab the raw symbol name followed by C symbol from nm.
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5194 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5195 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5196 $as_echo_n "(cached) " >&6
5199 # These are sane defaults that work on at least a few old systems.
5200 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5202 # Character class describing NM global symbol codes.
5203 symcode
='[BCDEGRST]'
5205 # Regexp to match symbols that can be accessed directly from C.
5206 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5208 # Define system-specific variables.
5213 cygwin
* | mingw
* | pw32
* | cegcc
*)
5214 symcode
='[ABCDGISTW]'
5217 if test ia64
= "$host_cpu"; then
5218 symcode
='[ABCDEGRST]'
5222 symcode
='[BCDEGRST]'
5225 symcode
='[BCDEGQRST]'
5236 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5244 # If we're using GNU nm, then use its standard symbol codes.
5245 case `$NM -V 2>&1` in
5246 *GNU
* |
*'with BFD'*)
5247 symcode
='[ABCDGIRSTW]' ;;
5250 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5251 # Gets list of data symbols to import.
5252 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5253 # Adjust the below global symbol transforms to fixup imported variables.
5254 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5255 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5256 lt_c_name_lib_hook
="\
5257 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5258 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5260 # Disable hooks by default.
5261 lt_cv_sys_global_symbol_to_import
=
5267 # Transform an extracted symbol line into a proper C declaration.
5268 # Some systems (esp. on ia64) link data and code symbols differently,
5269 # so use this general approach.
5270 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
5272 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5273 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5275 # Transform an extracted symbol line into symbol name and symbol address
5276 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
5278 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5279 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5281 # Transform an extracted symbol line into symbol name with lib prefix and
5283 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
5284 $lt_c_name_lib_hook\
5285 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5286 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5287 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5289 # Handle CRLF in mingw tool chain
5293 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5297 # Try without a prefix underscore, then with it.
5298 for ac_symprfx
in "" "_"; do
5300 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5301 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5303 # Write the raw and C identifiers.
5304 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5305 # Fake it for dumpbin and say T for any non-static function,
5306 # D for any global variable and I for any imported variable.
5307 # Also find C++ and __fastcall symbols from MSVC++,
5308 # which start with @ or ?.
5309 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5310 " {last_section=section; section=\$ 3};"\
5311 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5312 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5313 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5314 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5315 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5316 " \$ 0!~/External *\|/{next};"\
5317 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5318 " {if(hide[section]) next};"\
5319 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5320 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5321 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5322 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5323 " ' prfx=^$ac_symprfx"
5325 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5327 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5329 # Check to see that the pipe works correctly.
5333 cat > conftest.
$ac_ext <<_LT_EOF
5338 void nm_test_func(void);
5339 void nm_test_func(void){}
5343 int main(){nm_test_var='a';nm_test_func();return(0);}
5346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5347 (eval $ac_compile) 2>&5
5349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5350 test $ac_status = 0; }; then
5351 # Now try to grab the symbols.
5353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5354 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5357 test $ac_status = 0; } && test -s "$nlist"; then
5358 # Try sorting and uniquifying the output.
5359 if sort "$nlist" |
uniq > "$nlist"T
; then
5360 mv -f "$nlist"T
"$nlist"
5365 # Make sure that we snagged all the symbols we need.
5366 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5367 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5368 cat <<_LT_EOF > conftest.$ac_ext
5369 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5370 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5371 /* DATA imports from DLLs on WIN32 can't be const, because runtime
5372 relocations are performed -- see ld's documentation on pseudo-relocs. */
5373 # define LT_DLSYM_CONST
5374 #elif defined __osf__
5375 /* This system does not cope well with relocations in const data. */
5376 # define LT_DLSYM_CONST
5378 # define LT_DLSYM_CONST const
5386 # Now generate the symbol file.
5387 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5389 cat <<_LT_EOF >> conftest.$ac_ext
5391 /* The mapping between symbol names and symbols. */
5392 LT_DLSYM_CONST struct {
5396 lt__PROGRAM__LTX_preloaded_symbols[] =
5398 { "@PROGRAM@", (void *) 0 },
5400 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
5401 cat <<\_LT_EOF
>> conftest.
$ac_ext
5405 /* This works around a problem
in FreeBSD linker
*/
5406 #ifdef FREEBSD_WORKAROUND
5407 static const void
*lt_preloaded_setup
() {
5408 return lt__PROGRAM__LTX_preloaded_symbols
;
5416 # Now try linking the two files.
5417 mv conftest.
$ac_objext conftstm.
$ac_objext
5418 lt_globsym_save_LIBS
=$LIBS
5419 lt_globsym_save_CFLAGS
=$CFLAGS
5420 LIBS
=conftstm.
$ac_objext
5421 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5423 (eval $ac_link) 2>&5
5425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5426 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
5429 LIBS
=$lt_globsym_save_LIBS
5430 CFLAGS
=$lt_globsym_save_CFLAGS
5432 echo "cannot find nm_test_func in $nlist" >&5
5435 echo "cannot find nm_test_var in $nlist" >&5
5438 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5441 echo "$progname: failed program was:" >&5
5442 cat conftest.
$ac_ext >&5
5444 rm -rf conftest
* conftst
*
5446 # Do not use the global_symbol_pipe unless it works.
5447 if test yes = "$pipe_works"; then
5450 lt_cv_sys_global_symbol_pipe
=
5456 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5457 lt_cv_sys_global_symbol_to_cdecl
=
5459 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5461 $as_echo "failed" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5464 $as_echo "ok" >&6; }
5467 # Response file support.
5468 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5469 nm_file_list_spec
='@'
5470 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
5471 nm_file_list_spec
='@'
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5511 $as_echo_n "checking for sysroot... " >&6; }
5513 # Check whether --with-sysroot was given.
5514 if test "${with_sysroot+set}" = set; then :
5515 withval
=$with_sysroot;
5522 case $with_sysroot in #(
5524 if test yes = "$GCC"; then
5525 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5529 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5535 $as_echo "$with_sysroot" >&6; }
5536 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5541 $as_echo "${lt_sysroot:-no}" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
5548 $as_echo_n "checking for a working dd... " >&6; }
5549 if ${ac_cv_path_lt_DD+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 printf 0123456789abcdef0123456789abcdef
>conftest.i
5553 cat conftest.i conftest.i
>conftest2.i
5555 if test -z "$lt_DD"; then
5556 ac_path_lt_DD_found
=false
5557 # Loop through the user's path and test for each of PROGNAME-LIST
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_prog
in dd; do
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
5566 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
5567 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5568 cmp -s conftest.i conftest.out \
5569 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
5571 $ac_path_lt_DD_found && break 3
5576 if test -z "$ac_cv_path_lt_DD"; then
5580 ac_cv_path_lt_DD
=$lt_DD
5583 rm -f conftest.i conftest2.i conftest.out
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
5586 $as_echo "$ac_cv_path_lt_DD" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
5590 $as_echo_n "checking how to truncate binary pipes... " >&6; }
5591 if ${lt_cv_truncate_bin+:} false
; then :
5592 $as_echo_n "(cached) " >&6
5594 printf 0123456789abcdef0123456789abcdef
>conftest.i
5595 cat conftest.i conftest.i
>conftest2.i
5597 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5598 cmp -s conftest.i conftest.out \
5599 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
5601 rm -f conftest.i conftest2.i conftest.out
5602 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
5605 $as_echo "$lt_cv_truncate_bin" >&6; }
5613 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
5616 for cc_temp
in $
*""; do
5618 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
5619 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
5624 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
5627 # Check whether --enable-libtool-lock was given.
5628 if test "${enable_libtool_lock+set}" = set; then :
5629 enableval
=$enable_libtool_lock;
5632 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
5634 # Some flags need to be propagated to the compiler or linker for good
5638 # Find out what ABI is being produced by ac_compile, and set mode
5639 # options accordingly.
5640 echo 'int i;' > conftest.
$ac_ext
5641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5642 (eval $ac_compile) 2>&5
5644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5645 test $ac_status = 0; }; then
5646 case `/usr/bin/file conftest.$ac_objext` in
5658 # Find out what ABI is being produced by ac_compile, and set linker
5659 # options accordingly.
5660 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5662 (eval $ac_compile) 2>&5
5664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5665 test $ac_status = 0; }; then
5666 if test yes = "$lt_cv_prog_gnu_ld"; then
5667 case `/usr/bin/file conftest.$ac_objext` in
5669 LD
="${LD-ld} -melf32bsmip"
5672 LD
="${LD-ld} -melf32bmipn32"
5675 LD
="${LD-ld} -melf64bmip"
5679 case `/usr/bin/file conftest.$ac_objext` in
5696 # Find out what ABI is being produced by ac_compile, and set linker
5697 # options accordingly.
5698 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5700 (eval $ac_compile) 2>&5
5702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5703 test $ac_status = 0; }; then
5705 case `/usr/bin/file conftest.$ac_objext` in
5713 case `/usr/bin/file conftest.$ac_objext` in
5715 emul
="${emul}btsmip"
5718 emul
="${emul}ltsmip"
5721 case `/usr/bin/file conftest.$ac_objext` in
5726 LD
="${LD-ld} -m $emul"
5731 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
5732 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5733 # Find out what ABI is being produced by ac_compile, and set linker
5734 # options accordingly. Note that the listed cases only cover the
5735 # situations where additional linker options are needed (such as when
5736 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
5737 # vice versa); the common cases where no linker options are needed do
5738 # not appear in the list.
5739 echo 'int i;' > conftest.
$ac_ext
5740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5741 (eval $ac_compile) 2>&5
5743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5744 test $ac_status = 0; }; then
5745 case `/usr/bin/file conftest.o` in
5748 x86_64-
*kfreebsd
*-gnu)
5749 LD
="${LD-ld} -m elf_i386_fbsd"
5752 case `/usr/bin/file conftest.o` in
5754 LD
="${LD-ld} -m elf32_x86_64"
5757 LD
="${LD-ld} -m elf_i386"
5761 powerpc64le-
*linux
*)
5762 LD
="${LD-ld} -m elf32lppclinux"
5765 LD
="${LD-ld} -m elf32ppclinux"
5768 LD
="${LD-ld} -m elf_s390"
5771 LD
="${LD-ld} -m elf32_sparc"
5777 x86_64-
*kfreebsd
*-gnu)
5778 LD
="${LD-ld} -m elf_x86_64_fbsd"
5781 LD
="${LD-ld} -m elf_x86_64"
5784 LD
="${LD-ld} -m elf64lppc"
5787 LD
="${LD-ld} -m elf64ppc"
5789 s390
*-*linux
*|s390
*-*tpf
*)
5790 LD
="${LD-ld} -m elf64_s390"
5793 LD
="${LD-ld} -m elf64_sparc"
5803 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5805 CFLAGS
="$CFLAGS -belf"
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5807 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5808 if ${lt_cv_cc_needs_belf+:} false
; then :
5809 $as_echo_n "(cached) " >&6
5812 ac_cpp
='$CPP $CPPFLAGS'
5813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5818 /* end confdefs.h. */
5828 if ac_fn_c_try_link
"$LINENO"; then :
5829 lt_cv_cc_needs_belf
=yes
5831 lt_cv_cc_needs_belf
=no
5833 rm -f core conftest.err conftest.
$ac_objext \
5834 conftest
$ac_exeext conftest.
$ac_ext
5836 ac_cpp
='$CPP $CPPFLAGS'
5837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5843 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5844 if test yes != "$lt_cv_cc_needs_belf"; then
5845 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5850 # Find out what ABI is being produced by ac_compile, and set linker
5851 # options accordingly.
5852 echo 'int i;' > conftest.
$ac_ext
5853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5854 (eval $ac_compile) 2>&5
5856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5857 test $ac_status = 0; }; then
5858 case `/usr/bin/file conftest.o` in
5860 case $lt_cv_prog_gnu_ld in
5863 i?
86-*-solaris*|x86_64-
*-solaris*)
5864 LD
="${LD-ld} -m elf_x86_64"
5867 LD
="${LD-ld} -m elf64_sparc"
5870 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5871 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
5876 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5888 need_locks
=$enable_libtool_lock
5890 if test -n "$ac_tool_prefix"; then
5891 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5892 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 if test -n "$MANIFEST_TOOL"; then
5899 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
5919 if test -n "$MANIFEST_TOOL"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5921 $as_echo "$MANIFEST_TOOL" >&6; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5929 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5930 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
5931 # Extract the first word of "mt", so it can be a program name with args.
5932 set dummy mt
; ac_word
=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
5936 $as_echo_n "(cached) " >&6
5938 if test -n "$ac_ct_MANIFEST_TOOL"; then
5939 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5945 test -z "$as_dir" && as_dir
=.
5946 for ac_exec_ext
in '' $ac_executable_extensions; do
5947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5959 if test -n "$ac_ct_MANIFEST_TOOL"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5961 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5967 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
5970 case $cross_compiling:$ac_tool_warned in
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5974 ac_tool_warned
=yes ;;
5976 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
5979 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
5982 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5984 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5985 if ${lt_cv_path_mainfest_tool+:} false
; then :
5986 $as_echo_n "(cached) " >&6
5988 lt_cv_path_mainfest_tool
=no
5989 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5990 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
5991 cat conftest.err
>&5
5992 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
5993 lt_cv_path_mainfest_tool
=yes
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
5998 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
5999 if test yes != "$lt_cv_path_mainfest_tool"; then
6009 rhapsody
* | darwin
*)
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6012 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6016 $as_echo_n "(cached) " >&6
6018 if test -n "$DSYMUTIL"; then
6019 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir
=.
6026 for ac_exec_ext
in '' $ac_executable_extensions; do
6027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6039 if test -n "$DSYMUTIL"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6041 $as_echo "$DSYMUTIL" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6049 if test -z "$ac_cv_prog_DSYMUTIL"; then
6050 ac_ct_DSYMUTIL
=$DSYMUTIL
6051 # Extract the first word of "dsymutil", so it can be a program name with args.
6052 set dummy dsymutil
; ac_word
=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6056 $as_echo_n "(cached) " >&6
6058 if test -n "$ac_ct_DSYMUTIL"; then
6059 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir
=.
6066 for ac_exec_ext
in '' $ac_executable_extensions; do
6067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6079 if test -n "$ac_ct_DSYMUTIL"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6081 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6087 if test "x$ac_ct_DSYMUTIL" = x
; then
6090 case $cross_compiling:$ac_tool_warned in
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6094 ac_tool_warned
=yes ;;
6096 DSYMUTIL
=$ac_ct_DSYMUTIL
6099 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6104 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_NMEDIT+:} false
; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$NMEDIT"; then
6111 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir
=.
6118 for ac_exec_ext
in '' $ac_executable_extensions; do
6119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 NMEDIT
=$ac_cv_prog_NMEDIT
6131 if test -n "$NMEDIT"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6133 $as_echo "$NMEDIT" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test -z "$ac_cv_prog_NMEDIT"; then
6142 ac_ct_NMEDIT
=$NMEDIT
6143 # Extract the first word of "nmedit", so it can be a program name with args.
6144 set dummy nmedit
; ac_word
=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6148 $as_echo_n "(cached) " >&6
6150 if test -n "$ac_ct_NMEDIT"; then
6151 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir
=.
6158 for ac_exec_ext
in '' $ac_executable_extensions; do
6159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6171 if test -n "$ac_ct_NMEDIT"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6173 $as_echo "$ac_ct_NMEDIT" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6179 if test "x$ac_ct_NMEDIT" = x
; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned
=yes ;;
6188 NMEDIT
=$ac_ct_NMEDIT
6191 NMEDIT
="$ac_cv_prog_NMEDIT"
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6196 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if ${ac_cv_prog_LIPO+:} false
; then :
6200 $as_echo_n "(cached) " >&6
6202 if test -n "$LIPO"; then
6203 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir
=.
6210 for ac_exec_ext
in '' $ac_executable_extensions; do
6211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 LIPO
=$ac_cv_prog_LIPO
6223 if test -n "$LIPO"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6225 $as_echo "$LIPO" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6233 if test -z "$ac_cv_prog_LIPO"; then
6235 # Extract the first word of "lipo", so it can be a program name with args.
6236 set dummy lipo
; ac_word
=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6240 $as_echo_n "(cached) " >&6
6242 if test -n "$ac_ct_LIPO"; then
6243 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir
=.
6250 for ac_exec_ext
in '' $ac_executable_extensions; do
6251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_ac_ct_LIPO
="lipo"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6263 if test -n "$ac_ct_LIPO"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6265 $as_echo "$ac_ct_LIPO" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6271 if test "x$ac_ct_LIPO" = x
; then
6274 case $cross_compiling:$ac_tool_warned in
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6278 ac_tool_warned
=yes ;;
6283 LIPO
="$ac_cv_prog_LIPO"
6286 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6288 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if ${ac_cv_prog_OTOOL+:} false
; then :
6292 $as_echo_n "(cached) " >&6
6294 if test -n "$OTOOL"; then
6295 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir
=.
6302 for ac_exec_ext
in '' $ac_executable_extensions; do
6303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6304 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 OTOOL
=$ac_cv_prog_OTOOL
6315 if test -n "$OTOOL"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6317 $as_echo "$OTOOL" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6325 if test -z "$ac_cv_prog_OTOOL"; then
6327 # Extract the first word of "otool", so it can be a program name with args.
6328 set dummy otool
; ac_word
=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6332 $as_echo_n "(cached) " >&6
6334 if test -n "$ac_ct_OTOOL"; then
6335 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir
=.
6342 for ac_exec_ext
in '' $ac_executable_extensions; do
6343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_ac_ct_OTOOL
="otool"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6355 if test -n "$ac_ct_OTOOL"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6357 $as_echo "$ac_ct_OTOOL" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6363 if test "x$ac_ct_OTOOL" = x
; then
6366 case $cross_compiling:$ac_tool_warned in
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6370 ac_tool_warned
=yes ;;
6375 OTOOL
="$ac_cv_prog_OTOOL"
6378 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6380 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if ${ac_cv_prog_OTOOL64+:} false
; then :
6384 $as_echo_n "(cached) " >&6
6386 if test -n "$OTOOL64"; then
6387 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir
=.
6394 for ac_exec_ext
in '' $ac_executable_extensions; do
6395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 OTOOL64
=$ac_cv_prog_OTOOL64
6407 if test -n "$OTOOL64"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6409 $as_echo "$OTOOL64" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6417 if test -z "$ac_cv_prog_OTOOL64"; then
6418 ac_ct_OTOOL64
=$OTOOL64
6419 # Extract the first word of "otool64", so it can be a program name with args.
6420 set dummy otool64
; ac_word
=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6424 $as_echo_n "(cached) " >&6
6426 if test -n "$ac_ct_OTOOL64"; then
6427 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir
=.
6434 for ac_exec_ext
in '' $ac_executable_extensions; do
6435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6447 if test -n "$ac_ct_OTOOL64"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6449 $as_echo "$ac_ct_OTOOL64" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6455 if test "x$ac_ct_OTOOL64" = x
; then
6458 case $cross_compiling:$ac_tool_warned in
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6462 ac_tool_warned
=yes ;;
6464 OTOOL64
=$ac_ct_OTOOL64
6467 OTOOL64
="$ac_cv_prog_OTOOL64"
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6497 $as_echo_n "checking for -single_module linker flag... " >&6; }
6498 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6499 $as_echo_n "(cached) " >&6
6501 lt_cv_apple_cc_single_mod
=no
6502 if test -z "$LT_MULTI_MODULE"; then
6503 # By default we will add the -single_module flag. You can override
6504 # by either setting the environment variable LT_MULTI_MODULE
6505 # non-empty at configure time, or by adding -multi_module to the
6507 rm -rf libconftest.dylib
*
6508 echo "int foo(void){return 1;}" > conftest.c
6509 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6510 -dynamiclib -Wl,-single_module conftest.c" >&5
6511 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6512 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6514 # If there is a non-empty error log, and "single_module"
6515 # appears in it, assume the flag caused a linker warning
6516 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6517 cat conftest.err
>&5
6518 # Otherwise, if the output was created with a 0 exit code from
6519 # the compiler, it worked.
6520 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
6521 lt_cv_apple_cc_single_mod
=yes
6523 cat conftest.err
>&5
6525 rm -rf libconftest.dylib
*
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6530 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6533 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6534 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6535 $as_echo_n "(cached) " >&6
6537 lt_cv_ld_exported_symbols_list
=no
6538 save_LDFLAGS
=$LDFLAGS
6539 echo "_main" > conftest.sym
6540 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6552 if ac_fn_c_try_link
"$LINENO"; then :
6553 lt_cv_ld_exported_symbols_list
=yes
6555 lt_cv_ld_exported_symbols_list
=no
6557 rm -f core conftest.err conftest.
$ac_objext \
6558 conftest
$ac_exeext conftest.
$ac_ext
6559 LDFLAGS
=$save_LDFLAGS
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6563 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6566 $as_echo_n "checking for -force_load linker flag... " >&6; }
6567 if ${lt_cv_ld_force_load+:} false
; then :
6568 $as_echo_n "(cached) " >&6
6570 lt_cv_ld_force_load
=no
6571 cat > conftest.c
<< _LT_EOF
6572 int forced_loaded() { return 2;}
6574 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6575 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6576 echo "$AR cru libconftest.a conftest.o" >&5
6577 $AR cru libconftest.a conftest.o
2>&5
6578 echo "$RANLIB libconftest.a" >&5
6579 $RANLIB libconftest.a
2>&5
6580 cat > conftest.c
<< _LT_EOF
6581 int main() { return 0;}
6583 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6584 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6586 if test -s conftest.err
&& $GREP force_load conftest.err
; then
6587 cat conftest.err
>&5
6588 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
6589 lt_cv_ld_force_load
=yes
6591 cat conftest.err
>&5
6593 rm -f conftest.err libconftest.a conftest conftest.c
6594 rm -rf conftest.dSYM
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6598 $as_echo "$lt_cv_ld_force_load" >&6; }
6600 rhapsody
* | darwin1.
[012])
6601 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
6603 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6604 darwin
*) # darwin 5.x on
6605 # if running on 10.5 or later, the deployment target defaults
6606 # to the OS version, if on x86, and 10.4, the deployment
6607 # target defaults to 10.4. Don't you love it?
6608 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6609 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
6610 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6612 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6614 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6618 if test yes = "$lt_cv_apple_cc_single_mod"; then
6619 _lt_dar_single_mod
='$single_module'
6621 if test yes = "$lt_cv_ld_exported_symbols_list"; then
6622 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
6624 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
6626 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
6627 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6634 # func_munge_path_list VARIABLE PATH
6635 # -----------------------------------
6636 # VARIABLE is name of variable containing _space_ separated list of
6637 # directories to be munged by the contents of PATH, which is string
6640 # string "DIR[ DIR]" will be prepended to VARIABLE
6642 # string "DIR[ DIR]" will be appended to VARIABLE
6643 # "DIRP[:DIRP]::[DIRA:]DIRA"
6644 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
6645 # "DIRA[ DIRA]" will be appended to VARIABLE
6647 # VARIABLE will be replaced by "DIR[ DIR]"
6648 func_munge_path_list
()
6654 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
6657 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
6660 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
6661 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
6664 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
6670 ac_cpp
='$CPP $CPPFLAGS'
6671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6675 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6676 # On Suns, sometimes $CPP names a directory.
6677 if test -n "$CPP" && test -d "$CPP"; then
6680 if test -z "$CPP"; then
6681 if ${ac_cv_prog_CPP+:} false
; then :
6682 $as_echo_n "(cached) " >&6
6684 # Double quotes because CPP needs to be expanded
6685 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6688 for ac_c_preproc_warn_flag
in '' yes
6690 # Use a header file that comes with gcc, so configuring glibc
6691 # with a fresh cross-compiler works.
6692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6693 # <limits.h> exists even on freestanding compilers.
6694 # On the NeXT, cc -E runs the code through the compiler's parser,
6695 # not just through cpp. "Syntax error" is here to catch this case.
6696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6699 # include <limits.h>
6701 # include <assert.h>
6705 if ac_fn_c_try_cpp
"$LINENO"; then :
6708 # Broken: fails on valid input.
6711 rm -f conftest.err conftest.i conftest.
$ac_ext
6713 # OK, works on sane cases. Now check whether nonexistent headers
6714 # can be detected and how.
6715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 #include <ac_nonexistent.h>
6719 if ac_fn_c_try_cpp
"$LINENO"; then :
6720 # Broken: success on invalid input.
6723 # Passes both tests.
6727 rm -f conftest.err conftest.i conftest.
$ac_ext
6730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6731 rm -f conftest.i conftest.err conftest.
$ac_ext
6732 if $ac_preproc_ok; then :
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6745 $as_echo "$CPP" >&6; }
6747 for ac_c_preproc_warn_flag
in '' yes
6749 # Use a header file that comes with gcc, so configuring glibc
6750 # with a fresh cross-compiler works.
6751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6752 # <limits.h> exists even on freestanding compilers.
6753 # On the NeXT, cc -E runs the code through the compiler's parser,
6754 # not just through cpp. "Syntax error" is here to catch this case.
6755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6758 # include <limits.h>
6760 # include <assert.h>
6764 if ac_fn_c_try_cpp
"$LINENO"; then :
6767 # Broken: fails on valid input.
6770 rm -f conftest.err conftest.i conftest.
$ac_ext
6772 # OK, works on sane cases. Now check whether nonexistent headers
6773 # can be detected and how.
6774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h. */
6776 #include <ac_nonexistent.h>
6778 if ac_fn_c_try_cpp
"$LINENO"; then :
6779 # Broken: success on invalid input.
6782 # Passes both tests.
6786 rm -f conftest.err conftest.i conftest.
$ac_ext
6789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6790 rm -f conftest.i conftest.err conftest.
$ac_ext
6791 if $ac_preproc_ok; then :
6794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6796 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6797 See \`config.log' for more details" "$LINENO" 5; }
6801 ac_cpp
='$CPP $CPPFLAGS'
6802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6808 $as_echo_n "checking for ANSI C header files... " >&6; }
6809 if ${ac_cv_header_stdc+:} false
; then :
6810 $as_echo_n "(cached) " >&6
6812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6813 /* end confdefs.h. */
6827 if ac_fn_c_try_compile
"$LINENO"; then :
6828 ac_cv_header_stdc
=yes
6830 ac_cv_header_stdc
=no
6832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6834 if test $ac_cv_header_stdc = yes; then
6835 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6842 $EGREP "memchr" >/dev
/null
2>&1; then :
6845 ac_cv_header_stdc
=no
6851 if test $ac_cv_header_stdc = yes; then
6852 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6859 $EGREP "free" >/dev
/null
2>&1; then :
6862 ac_cv_header_stdc
=no
6868 if test $ac_cv_header_stdc = yes; then
6869 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6870 if test "$cross_compiling" = yes; then :
6873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6877 #if ((' ' & 0x0FF) == 0x020)
6878 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6879 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6881 # define ISLOWER(c) \
6882 (('a' <= (c) && (c) <= 'i') \
6883 || ('j' <= (c) && (c) <= 'r') \
6884 || ('s' <= (c) && (c) <= 'z'))
6885 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6888 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6893 for (i = 0; i < 256; i++)
6894 if (XOR (islower (i), ISLOWER (i))
6895 || toupper (i) != TOUPPER (i))
6900 if ac_fn_c_try_run
"$LINENO"; then :
6903 ac_cv_header_stdc
=no
6905 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6906 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6912 $as_echo "$ac_cv_header_stdc" >&6; }
6913 if test $ac_cv_header_stdc = yes; then
6915 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6919 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6920 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6921 inttypes.h stdint.h unistd.h
6923 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6924 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6926 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6927 cat >>confdefs.h
<<_ACEOF
6928 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6936 for ac_header
in dlfcn.h
6938 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6940 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6941 cat >>confdefs.h
<<_ACEOF
6942 #define HAVE_DLFCN_H 1
6963 # Check whether --enable-shared was given.
6964 if test "${enable_shared+set}" = set; then :
6965 enableval
=$enable_shared; p
=${PACKAGE-default}
6967 yes) enable_shared
=yes ;;
6968 no
) enable_shared
=no
;;
6971 # Look at the argument we got. We use all the common list separators.
6972 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
6973 for pkg
in $enableval; do
6975 if test "X$pkg" = "X$p"; then
6994 # Check whether --enable-static was given.
6995 if test "${enable_static+set}" = set; then :
6996 enableval
=$enable_static; p
=${PACKAGE-default}
6998 yes) enable_static
=yes ;;
6999 no
) enable_static
=no
;;
7002 # Look at the argument we got. We use all the common list separators.
7003 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7004 for pkg
in $enableval; do
7006 if test "X$pkg" = "X$p"; then
7026 # Check whether --with-pic was given.
7027 if test "${with_pic+set}" = set; then :
7028 withval
=$with_pic; lt_p
=${PACKAGE-default}
7030 yes|no
) pic_mode
=$withval ;;
7033 # Look at the argument we got. We use all the common list separators.
7034 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7035 for lt_pkg
in $withval; do
7037 if test "X$lt_pkg" = "X$lt_p"; then
7055 # Check whether --enable-fast-install was given.
7056 if test "${enable_fast_install+set}" = set; then :
7057 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7059 yes) enable_fast_install
=yes ;;
7060 no
) enable_fast_install
=no
;;
7062 enable_fast_install
=no
7063 # Look at the argument we got. We use all the common list separators.
7064 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7065 for pkg
in $enableval; do
7067 if test "X$pkg" = "X$p"; then
7068 enable_fast_install
=yes
7075 enable_fast_install
=yes
7085 shared_archive_member_spec
=
7086 case $host,$enable_shared in
7087 power
*-*-aix[5-9]*,yes)
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7089 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7091 # Check whether --with-aix-soname was given.
7092 if test "${with_aix_soname+set}" = set; then :
7093 withval
=$with_aix_soname; case $withval in
7097 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7100 lt_cv_with_aix_soname
=$with_aix_soname
7102 if ${lt_cv_with_aix_soname+:} false
; then :
7103 $as_echo_n "(cached) " >&6
7105 lt_cv_with_aix_soname
=aix
7108 with_aix_soname
=$lt_cv_with_aix_soname
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7112 $as_echo "$with_aix_soname" >&6; }
7113 if test aix
!= "$with_aix_soname"; then
7114 # For the AIX way of multilib, we name the shared archive member
7115 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7116 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7117 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7118 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7119 if test 64 = "${OBJECT_MODE-32}"; then
7120 shared_archive_member_spec
=shr_64
7122 shared_archive_member_spec
=shr
7140 # This can be used to rebuild libtool when needed
7141 LIBTOOL_DEPS
=$ltmain
7143 # Always use our own libtool.
7144 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7175 test -z "$LN_S" && LN_S
="ln -s"
7190 if test -n "${ZSH_VERSION+set}"; then
7191 setopt NO_GLOB_SUBST
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7195 $as_echo_n "checking for objdir... " >&6; }
7196 if ${lt_cv_objdir+:} false
; then :
7197 $as_echo_n "(cached) " >&6
7199 rm -f .libs
2>/dev
/null
7200 mkdir .libs
2>/dev
/null
7201 if test -d .libs
; then
7204 # MS-DOS does not allow filenames that begin with a dot.
7207 rmdir .libs
2>/dev
/null
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7210 $as_echo "$lt_cv_objdir" >&6; }
7211 objdir
=$lt_cv_objdir
7217 cat >>confdefs.h
<<_ACEOF
7218 #define LT_OBJDIR "$lt_cv_objdir/"
7226 # AIX sometimes has problems with the GCC collect2 program. For some
7227 # reason, if we set the COLLECT_NAMES environment variable, the problems
7228 # vanish in a puff of smoke.
7229 if test set != "${COLLECT_NAMES+set}"; then
7231 export COLLECT_NAMES
7238 can_build_shared
=yes
7240 # All known linkers require a '.a' archive for static linking (except MSVC,
7241 # which needs '.lib').
7244 with_gnu_ld
=$lt_cv_prog_gnu_ld
7249 # Set sane defaults for various variables
7250 test -z "$CC" && CC
=cc
7251 test -z "$LTCC" && LTCC
=$CC
7252 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7253 test -z "$LD" && LD
=ld
7254 test -z "$ac_objext" && ac_objext
=o
7256 func_cc_basename
$compiler
7257 cc_basename
=$func_cc_basename_result
7260 # Only perform the check for file, if the check method requires it
7261 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7262 case $deplibs_check_method in
7264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7267 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7268 $as_echo_n "(cached) " >&6
7272 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7275 lt_save_MAGIC_CMD
=$MAGIC_CMD
7276 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7277 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7278 for ac_dir
in $ac_dummy; do
7280 test -z "$ac_dir" && ac_dir
=.
7281 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7282 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
7283 if test -n "$file_magic_test_file"; then
7284 case $deplibs_check_method in
7286 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7287 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7288 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7289 $EGREP "$file_magic_regex" > /dev
/null
; then
7294 *** Warning: the command libtool uses to detect shared libraries,
7295 *** $file_magic_cmd, produces output that libtool cannot recognize.
7296 *** The result is that libtool may fail to recognize shared libraries
7297 *** as such. This will affect the creation of libtool libraries that
7298 *** depend on shared libraries, but programs linked with such libtool
7299 *** libraries will work regardless of this problem. Nevertheless, you
7300 *** may want to report the problem to your system manager and/or to
7301 *** bug-libtool@gnu.org
7311 MAGIC_CMD
=$lt_save_MAGIC_CMD
7316 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7317 if test -n "$MAGIC_CMD"; then
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7319 $as_echo "$MAGIC_CMD" >&6; }
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 $as_echo "no" >&6; }
7329 if test -z "$lt_cv_path_MAGIC_CMD"; then
7330 if test -n "$ac_tool_prefix"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7332 $as_echo_n "checking for file... " >&6; }
7333 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7334 $as_echo_n "(cached) " >&6
7338 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7341 lt_save_MAGIC_CMD
=$MAGIC_CMD
7342 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7343 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7344 for ac_dir
in $ac_dummy; do
7346 test -z "$ac_dir" && ac_dir
=.
7347 if test -f "$ac_dir/file"; then
7348 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
7349 if test -n "$file_magic_test_file"; then
7350 case $deplibs_check_method in
7352 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7353 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7354 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7355 $EGREP "$file_magic_regex" > /dev
/null
; then
7360 *** Warning: the command libtool uses to detect shared libraries,
7361 *** $file_magic_cmd, produces output that libtool cannot recognize.
7362 *** The result is that libtool may fail to recognize shared libraries
7363 *** as such. This will affect the creation of libtool libraries that
7364 *** depend on shared libraries, but programs linked with such libtool
7365 *** libraries will work regardless of this problem. Nevertheless, you
7366 *** may want to report the problem to your system manager and/or to
7367 *** bug-libtool@gnu.org
7377 MAGIC_CMD
=$lt_save_MAGIC_CMD
7382 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7383 if test -n "$MAGIC_CMD"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7385 $as_echo "$MAGIC_CMD" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7401 # Use C for the default configuration in the libtool script
7405 ac_cpp
='$CPP $CPPFLAGS'
7406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7411 # Source file extension for C test sources.
7414 # Object file extension for compiled C test sources.
7418 # Code to be used in simple compile tests
7419 lt_simple_compile_test_code
="int some_variable = 0;"
7421 # Code to be used in simple link tests
7422 lt_simple_link_test_code
='int main(){return(0);}'
7430 # If no C compiler was specified, use CC.
7433 # If no C compiler flags were specified, use CFLAGS.
7434 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7436 # Allow CC to be a program name with arguments.
7439 # Save the default compiler, since it gets overwritten when the other
7440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7441 compiler_DEFAULT
=$CC
7443 # save warnings/boilerplate of simple test code
7444 ac_outfile
=conftest.
$ac_objext
7445 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7446 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7447 _lt_compiler_boilerplate
=`cat conftest.err`
7450 ac_outfile
=conftest.
$ac_objext
7451 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7452 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7453 _lt_linker_boilerplate
=`cat conftest.err`
7457 if test -n "$compiler"; then
7459 lt_prog_compiler_no_builtin_flag
=
7461 if test yes = "$GCC"; then
7462 case $cc_basename in
7464 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7466 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7470 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7471 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7472 $as_echo_n "(cached) " >&6
7474 lt_cv_prog_compiler_rtti_exceptions
=no
7475 ac_outfile
=conftest.
$ac_objext
7476 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7477 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
7478 # Insert the option either (1) after the last *FLAGS variable, or
7479 # (2) before a word containing "conftest.", or (3) at the end.
7480 # Note that $ac_compile itself does not contain backslashes and begins
7481 # with a dollar sign (not a hyphen), so the echo should work correctly.
7482 # The option is referenced via a variable to avoid confusing sed.
7483 lt_compile
=`echo "$ac_compile" | $SED \
7484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7486 -e 's:$: $lt_compiler_flag:'`
7487 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7488 (eval "$lt_compile" 2>conftest.err
)
7490 cat conftest.err
>&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 if (exit $ac_status) && test -s "$ac_outfile"; then
7493 # The compiler can only warn and ignore the option if not recognized
7494 # So say no if there are warnings other than the usual output.
7495 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7496 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7497 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7498 lt_cv_prog_compiler_rtti_exceptions
=yes
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7505 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7507 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7508 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7520 lt_prog_compiler_wl
=
7521 lt_prog_compiler_pic
=
7522 lt_prog_compiler_static
=
7525 if test yes = "$GCC"; then
7526 lt_prog_compiler_wl
='-Wl,'
7527 lt_prog_compiler_static
='-static'
7531 # All AIX code is PIC.
7532 if test ia64
= "$host_cpu"; then
7533 # AIX 5 now supports IA64 processor
7534 lt_prog_compiler_static
='-Bstatic'
7536 lt_prog_compiler_pic
='-fPIC'
7542 # see comment about AmigaOS4 .so support
7543 lt_prog_compiler_pic
='-fPIC'
7546 # FIXME: we need at least 68020 code to build shared libraries, but
7547 # adding the '-m68020' flag to GCC prevents building anything better,
7549 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7554 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7555 # PIC is the default for these OSes.
7558 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7559 # This hack is so that the source file can tell whether it is being
7560 # built for inclusion in a dll (and should export symbols for example).
7561 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7562 # (--disable-auto-import) libraries
7563 lt_prog_compiler_pic
='-DDLL_EXPORT'
7566 lt_prog_compiler_static
='$wl-static'
7571 darwin
* | rhapsody
*)
7572 # PIC is the default on this platform
7573 # Common symbols not allowed in MH_DYLIB files
7574 lt_prog_compiler_pic
='-fno-common'
7578 # PIC is the default for Haiku.
7579 # The "-static" flag exists, but is broken.
7580 lt_prog_compiler_static
=
7584 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7585 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7586 # sets the default TLS model and affects inlining.
7592 lt_prog_compiler_pic
='-fPIC'
7598 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7599 # Instead, we relocate shared libraries at runtime.
7603 # Just because we use GCC doesn't mean we suddenly get shared libraries
7604 # on systems that don't support them.
7605 lt_prog_compiler_can_build_shared
=no
7610 # QNX uses GNU C++, but need to define -shared option too, otherwise
7612 lt_prog_compiler_pic
='-fPIC -shared'
7616 if test -d /usr
/nec
; then
7617 lt_prog_compiler_pic
=-Kconform_pic
7622 lt_prog_compiler_pic
='-fPIC'
7626 case $cc_basename in
7627 nvcc
*) # Cuda Compiler Driver 2.2
7628 lt_prog_compiler_wl
='-Xlinker '
7629 if test -n "$lt_prog_compiler_pic"; then
7630 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7635 # PORTME Check for flag to pass linker flags through the system compiler.
7638 lt_prog_compiler_wl
='-Wl,'
7639 if test ia64
= "$host_cpu"; then
7640 # AIX 5 now supports IA64 processor
7641 lt_prog_compiler_static
='-Bstatic'
7643 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7647 darwin
* | rhapsody
*)
7648 # PIC is the default on this platform
7649 # Common symbols not allowed in MH_DYLIB files
7650 lt_prog_compiler_pic
='-fno-common'
7651 case $cc_basename in
7653 # NAG Fortran compiler
7654 lt_prog_compiler_wl
='-Wl,-Wl,,'
7655 lt_prog_compiler_pic
='-PIC'
7656 lt_prog_compiler_static
='-Bstatic'
7661 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7662 # This hack is so that the source file can tell whether it is being
7663 # built for inclusion in a dll (and should export symbols for example).
7664 lt_prog_compiler_pic
='-DDLL_EXPORT'
7667 lt_prog_compiler_static
='$wl-static'
7672 hpux9
* | hpux10
* | hpux11
*)
7673 lt_prog_compiler_wl
='-Wl,'
7674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7681 lt_prog_compiler_pic
='+Z'
7684 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7685 lt_prog_compiler_static
='$wl-a ${wl}archive'
7688 irix5
* | irix6
* | nonstopux
*)
7689 lt_prog_compiler_wl
='-Wl,'
7690 # PIC (with -KPIC) is the default.
7691 lt_prog_compiler_static
='-non_shared'
7694 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7695 case $cc_basename in
7696 # old Intel for x86_64, which still supported -KPIC.
7698 lt_prog_compiler_wl
='-Wl,'
7699 lt_prog_compiler_pic
='-KPIC'
7700 lt_prog_compiler_static
='-static'
7702 # icc used to be incompatible with GCC.
7703 # ICC 10 doesn't accept -KPIC any more.
7705 lt_prog_compiler_wl
='-Wl,'
7706 lt_prog_compiler_pic
='-fPIC'
7707 lt_prog_compiler_static
='-static'
7709 # Lahey Fortran 8.1.
7711 lt_prog_compiler_wl
='-Wl,'
7712 lt_prog_compiler_pic
='--shared'
7713 lt_prog_compiler_static
='--static'
7716 # NAG Fortran compiler
7717 lt_prog_compiler_wl
='-Wl,-Wl,,'
7718 lt_prog_compiler_pic
='-PIC'
7719 lt_prog_compiler_static
='-Bstatic'
7722 # Fabrice Bellard et al's Tiny C Compiler
7723 lt_prog_compiler_wl
='-Wl,'
7724 lt_prog_compiler_pic
='-fPIC'
7725 lt_prog_compiler_static
='-static'
7727 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7728 # Portland Group compilers (*not* the Pentium gcc compiler,
7729 # which looks to be a dead project)
7730 lt_prog_compiler_wl
='-Wl,'
7731 lt_prog_compiler_pic
='-fpic'
7732 lt_prog_compiler_static
='-Bstatic'
7735 lt_prog_compiler_wl
='-Wl,'
7736 # All Alpha code is PIC.
7737 lt_prog_compiler_static
='-non_shared'
7739 xl
* | bgxl
* | bgf
* | mpixl
*)
7740 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7741 lt_prog_compiler_wl
='-Wl,'
7742 lt_prog_compiler_pic
='-qpic'
7743 lt_prog_compiler_static
='-qstaticlink'
7746 case `$CC -V 2>&1 | sed 5q` in
7747 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
7748 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7749 lt_prog_compiler_pic
='-KPIC'
7750 lt_prog_compiler_static
='-Bstatic'
7751 lt_prog_compiler_wl
=''
7753 *Sun\ F
* |
*Sun
*Fortran
*)
7754 lt_prog_compiler_pic
='-KPIC'
7755 lt_prog_compiler_static
='-Bstatic'
7756 lt_prog_compiler_wl
='-Qoption ld '
7760 lt_prog_compiler_pic
='-KPIC'
7761 lt_prog_compiler_static
='-Bstatic'
7762 lt_prog_compiler_wl
='-Wl,'
7764 *Intel
*\
[CF
]*Compiler
*)
7765 lt_prog_compiler_wl
='-Wl,'
7766 lt_prog_compiler_pic
='-fPIC'
7767 lt_prog_compiler_static
='-static'
7770 lt_prog_compiler_wl
='-Wl,'
7771 lt_prog_compiler_pic
='-fpic'
7772 lt_prog_compiler_static
='-Bstatic'
7780 lt_prog_compiler_pic
='-KPIC'
7781 lt_prog_compiler_static
='-Bstatic'
7785 # QNX uses GNU C++, but need to define -shared option too, otherwise
7787 lt_prog_compiler_pic
='-fPIC -shared'
7790 osf3
* | osf4
* | osf5
*)
7791 lt_prog_compiler_wl
='-Wl,'
7792 # All OSF/1 code is PIC.
7793 lt_prog_compiler_static
='-non_shared'
7797 lt_prog_compiler_static
='-non_shared'
7801 lt_prog_compiler_pic
='-KPIC'
7802 lt_prog_compiler_static
='-Bstatic'
7803 case $cc_basename in
7804 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7805 lt_prog_compiler_wl
='-Qoption ld ';;
7807 lt_prog_compiler_wl
='-Wl,';;
7812 lt_prog_compiler_wl
='-Qoption ld '
7813 lt_prog_compiler_pic
='-PIC'
7814 lt_prog_compiler_static
='-Bstatic'
7817 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7818 lt_prog_compiler_wl
='-Wl,'
7819 lt_prog_compiler_pic
='-KPIC'
7820 lt_prog_compiler_static
='-Bstatic'
7824 if test -d /usr
/nec
; then
7825 lt_prog_compiler_pic
='-Kconform_pic'
7826 lt_prog_compiler_static
='-Bstatic'
7830 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7831 lt_prog_compiler_wl
='-Wl,'
7832 lt_prog_compiler_pic
='-KPIC'
7833 lt_prog_compiler_static
='-Bstatic'
7837 lt_prog_compiler_wl
='-Wl,'
7838 lt_prog_compiler_can_build_shared
=no
7842 lt_prog_compiler_pic
='-pic'
7843 lt_prog_compiler_static
='-Bstatic'
7847 lt_prog_compiler_can_build_shared
=no
7853 # For platforms that do not support PIC, -DPIC is meaningless:
7855 lt_prog_compiler_pic
=
7858 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7863 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7864 if ${lt_cv_prog_compiler_pic+:} false
; then :
7865 $as_echo_n "(cached) " >&6
7867 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7870 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7871 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7874 # Check to make sure the PIC flag actually works.
7876 if test -n "$lt_prog_compiler_pic"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7878 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7879 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7880 $as_echo_n "(cached) " >&6
7882 lt_cv_prog_compiler_pic_works
=no
7883 ac_outfile
=conftest.
$ac_objext
7884 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7885 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
7886 # Insert the option either (1) after the last *FLAGS variable, or
7887 # (2) before a word containing "conftest.", or (3) at the end.
7888 # Note that $ac_compile itself does not contain backslashes and begins
7889 # with a dollar sign (not a hyphen), so the echo should work correctly.
7890 # The option is referenced via a variable to avoid confusing sed.
7891 lt_compile
=`echo "$ac_compile" | $SED \
7892 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7894 -e 's:$: $lt_compiler_flag:'`
7895 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7896 (eval "$lt_compile" 2>conftest.err
)
7898 cat conftest.err
>&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 if (exit $ac_status) && test -s "$ac_outfile"; then
7901 # The compiler can only warn and ignore the option if not recognized
7902 # So say no if there are warnings other than the usual output.
7903 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7904 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7905 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7906 lt_cv_prog_compiler_pic_works
=yes
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7913 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7915 if test yes = "$lt_cv_prog_compiler_pic_works"; then
7916 case $lt_prog_compiler_pic in
7918 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7921 lt_prog_compiler_pic
=
7922 lt_prog_compiler_can_build_shared
=no
7938 # Check to make sure the static flag actually works.
7940 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7942 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7943 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7944 $as_echo_n "(cached) " >&6
7946 lt_cv_prog_compiler_static_works
=no
7947 save_LDFLAGS
=$LDFLAGS
7948 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7949 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7950 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7951 # The linker can only warn and ignore the option if not recognized
7952 # So say no if there are warnings
7953 if test -s conftest.err
; then
7954 # Append any errors to the config.log.
7955 cat conftest.err
1>&5
7956 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7957 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7958 if diff conftest.exp conftest.er2
>/dev
/null
; then
7959 lt_cv_prog_compiler_static_works
=yes
7962 lt_cv_prog_compiler_static_works
=yes
7966 LDFLAGS
=$save_LDFLAGS
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7970 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7972 if test yes = "$lt_cv_prog_compiler_static_works"; then
7975 lt_prog_compiler_static
=
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7986 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7987 $as_echo_n "(cached) " >&6
7989 lt_cv_prog_compiler_c_o
=no
7990 $RM -r conftest
2>/dev
/null
7994 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7996 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7997 # Insert the option either (1) after the last *FLAGS variable, or
7998 # (2) before a word containing "conftest.", or (3) at the end.
7999 # Note that $ac_compile itself does not contain backslashes and begins
8000 # with a dollar sign (not a hyphen), so the echo should work correctly.
8001 lt_compile
=`echo "$ac_compile" | $SED \
8002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8004 -e 's:$: $lt_compiler_flag:'`
8005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8006 (eval "$lt_compile" 2>out
/conftest.err
)
8008 cat out
/conftest.err
>&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8012 # The compiler can only warn and ignore the option if not recognized
8013 # So say no if there are warnings
8014 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8015 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8016 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8017 lt_cv_prog_compiler_c_o
=yes
8022 # SGI C++ compiler will create directory out/ii_files/ for
8023 # template instantiation
8024 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8025 $RM out
/* && rmdir out
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8032 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8040 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8041 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8042 $as_echo_n "(cached) " >&6
8044 lt_cv_prog_compiler_c_o
=no
8045 $RM -r conftest
2>/dev
/null
8049 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8051 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8052 # Insert the option either (1) after the last *FLAGS variable, or
8053 # (2) before a word containing "conftest.", or (3) at the end.
8054 # Note that $ac_compile itself does not contain backslashes and begins
8055 # with a dollar sign (not a hyphen), so the echo should work correctly.
8056 lt_compile
=`echo "$ac_compile" | $SED \
8057 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8058 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8059 -e 's:$: $lt_compiler_flag:'`
8060 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8061 (eval "$lt_compile" 2>out
/conftest.err
)
8063 cat out
/conftest.err
>&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8067 # The compiler can only warn and ignore the option if not recognized
8068 # So say no if there are warnings
8069 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8070 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8071 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8072 lt_cv_prog_compiler_c_o
=yes
8077 # SGI C++ compiler will create directory out/ii_files/ for
8078 # template instantiation
8079 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8080 $RM out
/* && rmdir out
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8087 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8092 hard_links
=nottested
8093 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8094 # do not overwrite the value of need_locks provided by the user
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8096 $as_echo_n "checking if we can lock with hard links... " >&6; }
8099 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8101 ln conftest.a conftest.b
2>&5 || hard_links
=no
8102 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8104 $as_echo "$hard_links" >&6; }
8105 if test no
= "$hard_links"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8107 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8120 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8123 allow_undefined_flag
=
8124 always_export_symbols
=no
8126 archive_expsym_cmds
=
8127 compiler_needs_object
=no
8128 enable_shared_with_static_runtimes
=no
8129 export_dynamic_flag_spec
=
8130 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8131 hardcode_automatic
=no
8133 hardcode_direct_absolute
=no
8134 hardcode_libdir_flag_spec
=
8135 hardcode_libdir_separator
=
8137 hardcode_shlibpath_var
=unsupported
8139 link_all_deplibs
=unknown
8142 old_archive_from_new_cmds
=
8143 old_archive_from_expsyms_cmds
=
8144 thread_safe_flag_spec
=
8145 whole_archive_flag_spec
=
8146 # include_expsyms should be a list of space-separated symbols to be *always*
8147 # included in the symbol list
8149 # exclude_expsyms can be an extended regexp of symbols to exclude
8150 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8151 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8152 # as well as any symbol that contains 'd'.
8153 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8154 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8155 # platforms (ab)use it in PIC code, but their linkers get confused if
8156 # the symbol is explicitly referenced. Since portable code cannot
8157 # rely on this symbol name, it's probably fine to never include it in
8158 # preloaded symbol tables.
8159 # Exclude shared library initialization/finalization symbols.
8160 extract_expsyms_cmds
=
8163 cygwin
* | mingw
* | pw32
* | cegcc
*)
8164 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8165 # When not using gcc, we currently assume that we are using
8166 # Microsoft Visual C++.
8167 if test yes != "$GCC"; then
8172 # we just hope/assume this is gcc and not c89 (= MSVC++)
8182 # On some targets, GNU ld is compatible enough with the native linker
8183 # that we're better off using the native interface for both.
8184 lt_use_gnu_ld_interface
=no
8185 if test yes = "$with_gnu_ld"; then
8188 # The AIX port of GNU ld has always aspired to compatibility
8189 # with the native linker. However, as the warning in the GNU ld
8190 # block says, versions before 2.19.5* couldn't really create working
8191 # shared libraries, regardless of the interface used.
8192 case `$LD -v 2>&1` in
8193 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8194 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8195 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8197 lt_use_gnu_ld_interface
=yes
8202 lt_use_gnu_ld_interface
=yes
8207 if test yes = "$lt_use_gnu_ld_interface"; then
8208 # If archive_cmds runs LD, not CC, wlarc should be empty
8211 # Set some defaults for GNU ld with shared library support. These
8212 # are reset later if shared libraries are not supported. Putting them
8213 # here allows them to be overridden if necessary.
8214 runpath_var
=LD_RUN_PATH
8215 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8216 export_dynamic_flag_spec
='$wl--export-dynamic'
8217 # ancient GNU ld didn't support --whole-archive et. al.
8218 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8219 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8221 whole_archive_flag_spec
=
8223 supports_anon_versioning
=no
8224 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8225 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8226 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8227 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8228 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8229 *\
2.11.
*) ;; # other 2.11 versions
8230 *) supports_anon_versioning
=yes ;;
8233 # See if GNU ld supports shared libraries.
8236 # On AIX/PPC, the GNU linker is very broken
8237 if test ia64
!= "$host_cpu"; then
8241 *** Warning: the GNU linker, at least up to release 2.19, is reported
8242 *** to be unable to reliably create shared libraries on AIX.
8243 *** Therefore, libtool is disabling shared libraries support. If you
8244 *** really care for shared libraries, you may want to install binutils
8245 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8246 *** You will then need to restart the configuration process.
8255 # see comment about AmigaOS4 .so support
8256 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8257 archive_expsym_cmds
=''
8260 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)'
8261 hardcode_libdir_flag_spec
='-L$libdir'
8262 hardcode_minus_L
=yes
8268 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8269 allow_undefined_flag
=unsupported
8270 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8271 # support --undefined. This deserves some investigation. FIXME
8272 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8278 cygwin
* | mingw
* | pw32
* | cegcc
*)
8279 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8280 # as there is no search path for DLLs.
8281 hardcode_libdir_flag_spec
='-L$libdir'
8282 export_dynamic_flag_spec
='$wl--export-all-symbols'
8283 allow_undefined_flag
=unsupported
8284 always_export_symbols
=no
8285 enable_shared_with_static_runtimes
=yes
8286 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'
8287 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8289 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8290 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8291 # If the export-symbols file already is a .def file, use it as
8292 # is; otherwise, prepend EXPORTS...
8293 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8294 cp $export_symbols $output_objdir/$soname.def;
8296 echo EXPORTS > $output_objdir/$soname.def;
8297 cat $export_symbols >> $output_objdir/$soname.def;
8299 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8306 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8307 link_all_deplibs
=yes
8311 hardcode_libdir_flag_spec
='-L$libdir'
8312 hardcode_minus_L
=yes
8313 allow_undefined_flag
=unsupported
8315 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8316 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8317 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8318 $ECHO EXPORTS >> $output_objdir/$libname.def~
8319 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8320 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8321 emximp -o $lib $output_objdir/$libname.def'
8322 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8323 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8324 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8325 $ECHO EXPORTS >> $output_objdir/$libname.def~
8327 if test EXPORTS = "`$SED 1q $export_symbols`"; then
8328 prefix_cmds="$prefix_cmds -e 1d";
8330 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8331 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8332 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8333 emximp -o $lib $output_objdir/$libname.def'
8334 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8335 enable_shared_with_static_runtimes
=yes
8340 hardcode_shlibpath_var
=no
8341 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
8342 export_dynamic_flag_spec
='$wl-E'
8343 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8344 # Instead, shared libraries are loaded at an image base (0x10000000 by
8345 # default) and relocated if they conflict, which is a slow very memory
8346 # consuming and fragmenting process. To avoid this, we pick a random,
8347 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8348 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8349 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8350 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'
8353 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8355 if test linux-dietlibc
= "$host_os"; then
8356 case $cc_basename in
8357 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8360 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8361 && test no
= "$tmp_diet"
8363 tmp_addflag
=' $pic_flag'
8364 tmp_sharedflag
='-shared'
8365 case $cc_basename,$host_cpu in
8366 pgcc
*) # Portland Group C compiler
8367 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'
8368 tmp_addflag
=' $pic_flag'
8370 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8371 # Portland Group f77 and f90 compilers
8372 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'
8373 tmp_addflag
=' $pic_flag -Mnomain' ;;
8374 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8375 tmp_addflag
=' -i_dynamic' ;;
8376 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8377 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8378 ifc
* | ifort
*) # Intel Fortran compiler
8379 tmp_addflag
=' -nofor_main' ;;
8380 lf95
*) # Lahey Fortran 8.1
8381 whole_archive_flag_spec
=
8382 tmp_sharedflag
='--shared' ;;
8383 nagfor
*) # NAGFOR 5.3
8384 tmp_sharedflag
='-Wl,-shared' ;;
8385 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8386 tmp_sharedflag
='-qmkshrobj'
8388 nvcc
*) # Cuda Compiler Driver 2.2
8389 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'
8390 compiler_needs_object
=yes
8393 case `$CC -V 2>&1 | sed 5q` in
8394 *Sun\ C
*) # Sun C 5.9
8395 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'
8396 compiler_needs_object
=yes
8397 tmp_sharedflag
='-G' ;;
8398 *Sun\ F
*) # Sun Fortran 8.3
8399 tmp_sharedflag
='-G' ;;
8401 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8403 if test yes = "$supports_anon_versioning"; then
8404 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8405 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8406 echo "local: *; };" >> $output_objdir/$libname.ver~
8407 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8410 case $cc_basename in
8412 export_dynamic_flag_spec
='-rdynamic'
8414 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8415 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8416 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8417 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8418 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8419 if test yes = "$supports_anon_versioning"; then
8420 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8421 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8422 echo "local: *; };" >> $output_objdir/$libname.ver~
8423 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8433 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8434 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8437 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8438 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8443 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8447 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8448 *** create shared libraries on Solaris systems. Therefore, libtool
8449 *** is disabling shared libraries support. We urge you to upgrade GNU
8450 *** binutils to release 2.9.1 or newer. Another option is to modify
8451 *** your PATH or compiler configuration so that the native linker is
8452 *** used, and then restart.
8455 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8456 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8457 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8463 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8464 case `$LD -v 2>&1` in
8465 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8469 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8470 *** reliably create shared libraries on SCO systems. Therefore, libtool
8471 *** is disabling shared libraries support. We urge you to upgrade GNU
8472 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8473 *** your PATH or compiler configuration so that the native linker is
8474 *** used, and then restart.
8479 # For security reasons, it is highly recommended that you always
8480 # use absolute paths for naming shared libraries, and exclude the
8481 # DT_RUNPATH tag from executables and libraries. But doing so
8482 # requires that you compile everything twice, which is a pain.
8483 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8484 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8485 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8486 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8495 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8498 hardcode_shlibpath_var
=no
8502 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8503 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8504 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8511 if test no
= "$ld_shlibs"; then
8513 hardcode_libdir_flag_spec
=
8514 export_dynamic_flag_spec
=
8515 whole_archive_flag_spec
=
8518 # PORTME fill in a description of your system's linker (not GNU ld)
8521 allow_undefined_flag
=unsupported
8522 always_export_symbols
=yes
8523 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'
8524 # Note: this linker hardcodes the directories in LIBPATH if there
8525 # are no directories specified by -L.
8526 hardcode_minus_L
=yes
8527 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8528 # Neither direct hardcoding nor static linking is supported with a
8530 hardcode_direct
=unsupported
8535 if test ia64
= "$host_cpu"; then
8536 # On IA64, the linker does run time linking by default, so we don't
8537 # have to do anything special.
8538 aix_use_runtimelinking
=no
8539 exp_sym_flag
='-Bexport'
8542 # If we're using GNU nm, then we don't want the "-C" option.
8543 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
8544 # Without the "-l" option, or with the "-B" option, AIX nm treats
8545 # weak defined symbols like other global defined symbols, whereas
8546 # GNU nm marks them as "W".
8547 # While the 'weak' keyword is ignored in the Export File, we need
8548 # it in the Import File for the 'aix-soname' feature, so we have
8549 # to replace the "-B" option with "-P" for AIX nm.
8550 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8551 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'
8553 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'
8555 aix_use_runtimelinking
=no
8557 # Test if we are trying to use run time linking or normal
8558 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8559 # have runtime linking enabled, and use it for executables.
8560 # For shared libraries, we enable/disable runtime linking
8561 # depending on the kind of the shared library created -
8562 # when "with_aix_soname,aix_use_runtimelinking" is:
8563 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
8564 # "aix,yes" lib.so shared, rtl:yes, for executables
8565 # lib.a static archive
8566 # "both,no" lib.so.V(shr.o) shared, rtl:yes
8567 # lib.a(lib.so.V) shared, rtl:no, for executables
8568 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
8569 # lib.a(lib.so.V) shared, rtl:no
8570 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
8571 # lib.a static archive
8572 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8573 for ld_flag
in $LDFLAGS; do
8574 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
8575 aix_use_runtimelinking
=yes
8579 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
8580 # With aix-soname=svr4, we create the lib.so.V shared archives only,
8581 # so we don't have lib.a shared libs to link our executables.
8582 # We have to force runtime linking in this case.
8583 aix_use_runtimelinking
=yes
8584 LDFLAGS
="$LDFLAGS -Wl,-brtl"
8589 exp_sym_flag
='-bexport'
8590 no_entry_flag
='-bnoentry'
8593 # When large executables or shared objects are built, AIX ld can
8594 # have problems creating the table of contents. If linking a library
8595 # or program results in "error TOC overflow" add -mminimal-toc to
8596 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8597 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8601 hardcode_direct_absolute
=yes
8602 hardcode_libdir_separator
=':'
8603 link_all_deplibs
=yes
8604 file_list_spec
='$wl-f,'
8605 case $with_aix_soname,$aix_use_runtimelinking in
8606 aix
,*) ;; # traditional, no import file
8607 svr4
,* |
*,yes) # use import file
8608 # The Import File defines what to hardcode.
8610 hardcode_direct_absolute
=no
8614 if test yes = "$GCC"; then
8615 case $host_os in aix4.
[012]|aix4.
[012].
*)
8616 # We only want to do this on AIX 4.2 and lower, the check
8617 # below for broken collect2 doesn't work under 4.3+
8618 collect2name
=`$CC -print-prog-name=collect2`
8619 if test -f "$collect2name" &&
8620 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8622 # We have reworked collect2
8625 # We have old collect2
8626 hardcode_direct
=unsupported
8627 # It fails to find uninstalled libraries when the uninstalled
8628 # path is not listed in the libpath. Setting hardcode_minus_L
8629 # to unsupported forces relinking
8630 hardcode_minus_L
=yes
8631 hardcode_libdir_flag_spec
='-L$libdir'
8632 hardcode_libdir_separator
=
8636 shared_flag
='-shared'
8637 if test yes = "$aix_use_runtimelinking"; then
8638 shared_flag
="$shared_flag "'$wl-G'
8640 # Need to ensure runtime linking is disabled for the traditional
8641 # shared library, or the linker may eventually find shared libraries
8642 # /with/ Import File - we do not want to mix them.
8643 shared_flag_aix
='-shared'
8644 shared_flag_svr4
='-shared $wl-G'
8647 if test ia64
= "$host_cpu"; then
8648 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8649 # chokes on -Wl,-G. The following line is correct:
8652 if test yes = "$aix_use_runtimelinking"; then
8655 shared_flag
='$wl-bM:SRE'
8657 shared_flag_aix
='$wl-bM:SRE'
8658 shared_flag_svr4
='$wl-G'
8662 export_dynamic_flag_spec
='$wl-bexpall'
8663 # It seems that -bexpall does not export symbols beginning with
8664 # underscore (_), so it is better to generate a list of symbols to export.
8665 always_export_symbols
=yes
8666 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
8667 # Warning - without using the other runtime loading flags (-brtl),
8668 # -berok will link without error, but may produce a broken library.
8669 allow_undefined_flag
='-berok'
8670 # Determine the default libpath from the value encoded in an
8672 if test set = "${lt_cv_aix_libpath+set}"; then
8673 aix_libpath
=$lt_cv_aix_libpath
8675 if ${lt_cv_aix_libpath_+:} false
; then :
8676 $as_echo_n "(cached) " >&6
8678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8689 if ac_fn_c_try_link
"$LINENO"; then :
8691 lt_aix_libpath_sed
='
8692 /Import File Strings/,/^$/ {
8694 s/^0 *\([^ ]*\) *$/\1/
8698 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8699 # Check for a 64-bit object if we didn't find anything.
8700 if test -z "$lt_cv_aix_libpath_"; then
8701 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8704 rm -f core conftest.err conftest.
$ac_objext \
8705 conftest
$ac_exeext conftest.
$ac_ext
8706 if test -z "$lt_cv_aix_libpath_"; then
8707 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8712 aix_libpath
=$lt_cv_aix_libpath_
8715 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8716 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
8718 if test ia64
= "$host_cpu"; then
8719 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
8720 allow_undefined_flag
="-z nodefs"
8721 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"
8723 # Determine the default libpath from the value encoded in an
8725 if test set = "${lt_cv_aix_libpath+set}"; then
8726 aix_libpath
=$lt_cv_aix_libpath
8728 if ${lt_cv_aix_libpath_+:} false
; then :
8729 $as_echo_n "(cached) " >&6
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8742 if ac_fn_c_try_link
"$LINENO"; then :
8744 lt_aix_libpath_sed
='
8745 /Import File Strings/,/^$/ {
8747 s/^0 *\([^ ]*\) *$/\1/
8751 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8752 # Check for a 64-bit object if we didn't find anything.
8753 if test -z "$lt_cv_aix_libpath_"; then
8754 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8757 rm -f core conftest.err conftest.
$ac_objext \
8758 conftest
$ac_exeext conftest.
$ac_ext
8759 if test -z "$lt_cv_aix_libpath_"; then
8760 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8765 aix_libpath
=$lt_cv_aix_libpath_
8768 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8769 # Warning - without using the other run time loading flags,
8770 # -berok will link without error, but may produce a broken library.
8771 no_undefined_flag
=' $wl-bernotok'
8772 allow_undefined_flag
=' $wl-berok'
8773 if test yes = "$with_gnu_ld"; then
8774 # We only use this code for GNU lds that support --whole-archive.
8775 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
8777 # Exported symbols can be pulled into shared objects from archives
8778 whole_archive_flag_spec
='$convenience'
8780 archive_cmds_need_lc
=yes
8781 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
8782 # -brtl affects multiple linker settings, -berok does not and is overridden later
8783 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
8784 if test svr4
!= "$with_aix_soname"; then
8785 # This is similar to how AIX traditionally builds its shared libraries.
8786 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'
8788 if test aix
!= "$with_aix_soname"; then
8789 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'
8791 # used by -dlpreopen to get the symbols
8792 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
8794 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
8802 # see comment about AmigaOS4 .so support
8803 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8804 archive_expsym_cmds
=''
8807 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)'
8808 hardcode_libdir_flag_spec
='-L$libdir'
8809 hardcode_minus_L
=yes
8815 export_dynamic_flag_spec
=-rdynamic
8818 cygwin
* | mingw
* | pw32
* | cegcc
*)
8819 # When not using gcc, we currently assume that we are using
8820 # Microsoft Visual C++.
8821 # hardcode_libdir_flag_spec is actually meaningless, as there is
8822 # no search path for DLLs.
8823 case $cc_basename in
8826 hardcode_libdir_flag_spec
=' '
8827 allow_undefined_flag
=unsupported
8828 always_export_symbols
=yes
8830 # Tell ltmain to make .lib files, not .a files.
8832 # Tell ltmain to make .dll files, not .so files.
8834 # FIXME: Setting linknames here is a bad hack.
8835 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
8836 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8837 cp "$export_symbols" "$output_objdir/$soname.def";
8838 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
8840 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
8842 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8844 # The linker will not automatically build a static lib if we build a DLL.
8845 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8846 enable_shared_with_static_runtimes
=yes
8847 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8848 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8850 old_postinstall_cmds
='chmod 644 $oldlib'
8851 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8852 lt_tool_outputfile="@TOOL_OUTPUT@"~
8853 case $lt_outputfile in
8856 lt_outputfile=$lt_outputfile.exe
8857 lt_tool_outputfile=$lt_tool_outputfile.exe
8860 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
8861 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8862 $RM "$lt_outputfile.manifest";
8866 # Assume MSVC wrapper
8867 hardcode_libdir_flag_spec
=' '
8868 allow_undefined_flag
=unsupported
8869 # Tell ltmain to make .lib files, not .a files.
8871 # Tell ltmain to make .dll files, not .so files.
8873 # FIXME: Setting linknames here is a bad hack.
8874 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8875 # The linker will automatically build a .lib file if we build a DLL.
8876 old_archive_from_new_cmds
='true'
8877 # FIXME: Should let the user specify the lib program.
8878 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8879 enable_shared_with_static_runtimes
=yes
8884 darwin
* | rhapsody
*)
8887 archive_cmds_need_lc
=no
8889 hardcode_automatic
=yes
8890 hardcode_shlibpath_var
=unsupported
8891 if test yes = "$lt_cv_ld_force_load"; then
8892 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\"`'
8895 whole_archive_flag_spec
=''
8897 link_all_deplibs
=yes
8898 allow_undefined_flag
=$_lt_dar_allow_undefined
8899 case $cc_basename in
8900 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
8901 *) _lt_dar_can_shared
=$GCC ;;
8903 if test yes = "$_lt_dar_can_shared"; then
8904 output_verbose_link_cmd
=func_echo_all
8905 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
8906 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
8907 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"
8908 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"
8917 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8918 hardcode_libdir_flag_spec
='-L$libdir'
8919 hardcode_shlibpath_var
=no
8922 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8923 # support. Future versions do this automatically, but an explicit c++rt0.o
8924 # does not break anything, and helps significantly (at the cost of a little
8927 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8928 hardcode_libdir_flag_spec
='-R$libdir'
8930 hardcode_shlibpath_var
=no
8933 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8935 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8937 hardcode_minus_L
=yes
8938 hardcode_shlibpath_var
=no
8941 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8942 freebsd
* | dragonfly
*)
8943 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8944 hardcode_libdir_flag_spec
='-R$libdir'
8946 hardcode_shlibpath_var
=no
8950 if test yes = "$GCC"; then
8951 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'
8953 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'
8955 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8956 hardcode_libdir_separator
=:
8959 # hardcode_minus_L: Not really in the search PATH,
8960 # but as the default location of the library.
8961 hardcode_minus_L
=yes
8962 export_dynamic_flag_spec
='$wl-E'
8966 if test yes,no
= "$GCC,$with_gnu_ld"; then
8967 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8969 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8971 if test no
= "$with_gnu_ld"; then
8972 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8973 hardcode_libdir_separator
=:
8975 hardcode_direct_absolute
=yes
8976 export_dynamic_flag_spec
='$wl-E'
8977 # hardcode_minus_L: Not really in the search PATH,
8978 # but as the default location of the library.
8979 hardcode_minus_L
=yes
8984 if test yes,no
= "$GCC,$with_gnu_ld"; then
8987 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
8990 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8993 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9002 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9006 # Older versions of the 11.00 compiler do not understand -b yet
9007 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9009 $as_echo_n "checking if $CC understands -b... " >&6; }
9010 if ${lt_cv_prog_compiler__b+:} false
; then :
9011 $as_echo_n "(cached) " >&6
9013 lt_cv_prog_compiler__b
=no
9014 save_LDFLAGS
=$LDFLAGS
9015 LDFLAGS
="$LDFLAGS -b"
9016 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9017 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9018 # The linker can only warn and ignore the option if not recognized
9019 # So say no if there are warnings
9020 if test -s conftest.err
; then
9021 # Append any errors to the config.log.
9022 cat conftest.err
1>&5
9023 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9024 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9025 if diff conftest.exp conftest.er2
>/dev
/null
; then
9026 lt_cv_prog_compiler__b
=yes
9029 lt_cv_prog_compiler__b
=yes
9033 LDFLAGS
=$save_LDFLAGS
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9037 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9039 if test yes = "$lt_cv_prog_compiler__b"; then
9040 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9042 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9048 if test no
= "$with_gnu_ld"; then
9049 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9050 hardcode_libdir_separator
=:
9055 hardcode_shlibpath_var
=no
9059 hardcode_direct_absolute
=yes
9060 export_dynamic_flag_spec
='$wl-E'
9062 # hardcode_minus_L: Not really in the search PATH,
9063 # but as the default location of the library.
9064 hardcode_minus_L
=yes
9070 irix5
* | irix6
* | nonstopux
*)
9071 if test yes = "$GCC"; then
9072 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'
9073 # Try to use the -exported_symbol ld option, if it does not
9074 # work, assume that -exports_file does not work either and
9075 # implicitly export all symbols.
9076 # This should be the same for all languages, so no per-tag cache variable.
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9078 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9079 if ${lt_cv_irix_exported_symbol+:} false
; then :
9080 $as_echo_n "(cached) " >&6
9082 save_LDFLAGS
=$LDFLAGS
9083 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 int foo (void) { return 0; }
9088 if ac_fn_c_try_link
"$LINENO"; then :
9089 lt_cv_irix_exported_symbol
=yes
9091 lt_cv_irix_exported_symbol
=no
9093 rm -f core conftest.err conftest.
$ac_objext \
9094 conftest
$ac_exeext conftest.
$ac_ext
9095 LDFLAGS
=$save_LDFLAGS
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9098 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9099 if test yes = "$lt_cv_irix_exported_symbol"; then
9100 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'
9103 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'
9104 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'
9106 archive_cmds_need_lc
='no'
9107 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9108 hardcode_libdir_separator
=:
9110 link_all_deplibs
=yes
9114 case $cc_basename in
9116 # Fabrice Bellard et al's Tiny C Compiler
9118 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9124 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9125 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9127 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9129 hardcode_libdir_flag_spec
='-R$libdir'
9131 hardcode_shlibpath_var
=no
9135 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9137 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9138 hardcode_libdir_separator
=:
9139 hardcode_shlibpath_var
=no
9146 if test -f /usr
/libexec
/ld.so
; then
9148 hardcode_shlibpath_var
=no
9149 hardcode_direct_absolute
=yes
9150 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9151 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9152 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9153 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9154 export_dynamic_flag_spec
='$wl-E'
9156 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9157 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9165 hardcode_libdir_flag_spec
='-L$libdir'
9166 hardcode_minus_L
=yes
9167 allow_undefined_flag
=unsupported
9169 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9170 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9171 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9172 $ECHO EXPORTS >> $output_objdir/$libname.def~
9173 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9174 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9175 emximp -o $lib $output_objdir/$libname.def'
9176 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9177 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9178 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9179 $ECHO EXPORTS >> $output_objdir/$libname.def~
9181 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9182 prefix_cmds="$prefix_cmds -e 1d";
9184 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9185 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9186 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9187 emximp -o $lib $output_objdir/$libname.def'
9188 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9189 enable_shared_with_static_runtimes
=yes
9193 if test yes = "$GCC"; then
9194 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9195 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'
9197 allow_undefined_flag
=' -expect_unresolved \*'
9198 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'
9200 archive_cmds_need_lc
='no'
9201 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9202 hardcode_libdir_separator
=:
9205 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9206 if test yes = "$GCC"; then
9207 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9208 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'
9209 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9211 allow_undefined_flag
=' -expect_unresolved \*'
9212 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'
9213 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~
9214 $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'
9216 # Both c and cxx compiler support -rpath directly
9217 hardcode_libdir_flag_spec
='-rpath $libdir'
9219 archive_cmds_need_lc
='no'
9220 hardcode_libdir_separator
=:
9224 no_undefined_flag
=' -z defs'
9225 if test yes = "$GCC"; then
9227 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9228 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9229 $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'
9231 case `$CC -V 2>&1` in
9234 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9235 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9236 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9240 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9241 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9242 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9246 hardcode_libdir_flag_spec
='-R$libdir'
9247 hardcode_shlibpath_var
=no
9249 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9251 # The compiler driver will combine and reorder linker options,
9252 # but understands '-z linker_flag'. GCC discards it without '$wl',
9253 # but is careful enough not to reorder.
9254 # Supported since Solaris 2.6 (maybe 2.5.1?)
9255 if test yes = "$GCC"; then
9256 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9258 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9262 link_all_deplibs
=yes
9266 if test sequent
= "$host_vendor"; then
9267 # Use $CC to link under sequent, because it throws in some extra .o
9268 # files that make .init and .fini sections work.
9269 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9271 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9273 hardcode_libdir_flag_spec
='-L$libdir'
9275 hardcode_minus_L
=yes
9276 hardcode_shlibpath_var
=no
9280 case $host_vendor in
9282 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9283 hardcode_direct
=yes # is this really true???
9286 ## LD is ld it makes a PLAMLIB
9287 ## CC just makes a GrossModule.
9288 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9289 reload_cmds
='$CC -r -o $output$reload_objs'
9293 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9294 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9297 runpath_var
='LD_RUN_PATH'
9298 hardcode_shlibpath_var
=no
9302 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9303 hardcode_shlibpath_var
=no
9304 export_dynamic_flag_spec
='-Bexport'
9308 if test -d /usr
/nec
; then
9309 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9310 hardcode_shlibpath_var
=no
9311 runpath_var
=LD_RUN_PATH
9312 hardcode_runpath_var
=yes
9317 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9318 no_undefined_flag
='$wl-z,text'
9319 archive_cmds_need_lc
=no
9320 hardcode_shlibpath_var
=no
9321 runpath_var
='LD_RUN_PATH'
9323 if test yes = "$GCC"; then
9324 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9325 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9327 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9328 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9332 sysv5
* | sco3.2v5
* | sco5v6
*)
9333 # Note: We CANNOT use -z defs as we might desire, because we do not
9334 # link with -lc, and that would cause any symbols used from libc to
9335 # always be unresolved, which means just about no library would
9336 # ever link correctly. If we're not using GNU ld we use -z text
9337 # though, which does catch some bad symbols but isn't as heavy-handed
9339 no_undefined_flag
='$wl-z,text'
9340 allow_undefined_flag
='$wl-z,nodefs'
9341 archive_cmds_need_lc
=no
9342 hardcode_shlibpath_var
=no
9343 hardcode_libdir_flag_spec
='$wl-R,$libdir'
9344 hardcode_libdir_separator
=':'
9345 link_all_deplibs
=yes
9346 export_dynamic_flag_spec
='$wl-Bexport'
9347 runpath_var
='LD_RUN_PATH'
9349 if test yes = "$GCC"; then
9350 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9354 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9360 hardcode_libdir_flag_spec
='-L$libdir'
9361 hardcode_shlibpath_var
=no
9369 if test sni
= "$host_vendor"; then
9371 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9372 export_dynamic_flag_spec
='$wl-Blargedynsym'
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9379 $as_echo "$ld_shlibs" >&6; }
9380 test no
= "$ld_shlibs" && can_build_shared
=no
9382 with_gnu_ld
=$with_gnu_ld
9399 # Do we need to explicitly link libc?
9401 case "x$archive_cmds_need_lc" in
9403 # Assume -lc should be added
9404 archive_cmds_need_lc
=yes
9406 if test yes,yes = "$GCC,$enable_shared"; then
9407 case $archive_cmds in
9409 # FIXME: we may have to deal with multi-command sequences.
9412 # Test whether the compiler implicitly links with -lc since on some
9413 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9414 # to ld, don't add -lc before -lgcc.
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9416 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9417 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9418 $as_echo_n "(cached) " >&6
9421 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9424 (eval $ac_compile) 2>&5
9426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9427 test $ac_status = 0; } 2>conftest.err
; then
9430 libobjs
=conftest.
$ac_objext
9432 wl
=$lt_prog_compiler_wl
9433 pic_flag
=$lt_prog_compiler_pic
9439 lt_save_allow_undefined_flag
=$allow_undefined_flag
9440 allow_undefined_flag
=
9441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9442 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9445 test $ac_status = 0; }
9447 lt_cv_archive_cmds_need_lc
=no
9449 lt_cv_archive_cmds_need_lc
=yes
9451 allow_undefined_flag
=$lt_save_allow_undefined_flag
9453 cat conftest.err
1>&5
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9459 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9460 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9619 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9621 if test yes = "$GCC"; then
9623 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
9624 *) lt_awk_arg
='/^libraries:/' ;;
9627 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
9628 *) lt_sed_strip_eq
='s|=/|/|g' ;;
9630 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9631 case $lt_search_path_spec in
9633 # if the path contains ";" then we assume it to be the separator
9634 # otherwise default to the standard path separator (i.e. ":") - it is
9635 # assumed that no part of a normal pathname contains ";" but that should
9636 # okay in the real world where ";" in dirpaths is itself problematic.
9637 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9640 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9643 # Ok, now we have the path, separated by spaces, we can step through it
9644 # and add multilib dir if necessary...
9645 lt_tmp_lt_search_path_spec
=
9646 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9647 # ...but if some path component already ends with the multilib dir we assume
9648 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
9649 case "$lt_multi_os_dir; $lt_search_path_spec " in
9650 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
9654 for lt_sys_path
in $lt_search_path_spec; do
9655 if test -d "$lt_sys_path$lt_multi_os_dir"; then
9656 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
9657 elif test -n "$lt_multi_os_dir"; then
9658 test -d "$lt_sys_path" && \
9659 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9662 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9663 BEGIN {RS = " "; FS = "/|\n";} {
9666 for (lt_i = NF; lt_i > 0; lt_i--) {
9667 if ($lt_i != "" && $lt_i != ".") {
9668 if ($lt_i == "..") {
9671 if (lt_count == 0) {
9672 lt_foo = "/" $lt_i lt_foo;
9679 if (lt_foo != "") { lt_freq[lt_foo]++; }
9680 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9682 # AWK program above erroneously prepends '/' to C:/dos/paths
9685 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9686 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
9688 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9690 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9693 libname_spec
='lib$name'
9701 shlibpath_overrides_runpath
=unknown
9703 dynamic_linker
="$host_os ld.so"
9704 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9705 need_lib_prefix
=unknown
9706 hardcode_into_libs
=no
9708 # when you set need_version to no, make sure it does not cause -set_version
9709 # flags to be left without arguments
9710 need_version
=unknown
9716 version_type
=linux
# correct to gnu/linux during the next big refactor
9717 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
9718 shlibpath_var
=LIBPATH
9720 # AIX 3 has no versioning support, so we append a major version to the name.
9721 soname_spec
='$libname$release$shared_ext$major'
9725 version_type
=linux
# correct to gnu/linux during the next big refactor
9728 hardcode_into_libs
=yes
9729 if test ia64
= "$host_cpu"; then
9730 # AIX 5 supports IA64
9731 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
9732 shlibpath_var
=LD_LIBRARY_PATH
9734 # With GCC up to 2.95.x, collect2 would create an import file
9735 # for dependence libraries. The import file would start with
9736 # the line '#! .'. This would cause the generated library to
9737 # depend on '.', always an invalid library. This was fixed in
9738 # development snapshots of GCC prior to 3.0.
9740 aix4 | aix4.
[01] | aix4.
[01].
*)
9741 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9743 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
9750 # Using Import Files as archive members, it is possible to support
9751 # filename-based versioning of shared library archives on AIX. While
9752 # this would work for both with and without runtime linking, it will
9753 # prevent static linking of such archives. So we do filename-based
9754 # shared library versioning with .so extension only, which is used
9755 # when both runtime linking and shared linking is enabled.
9756 # Unfortunately, runtime linking may impact performance, so we do
9757 # not want this to be the default eventually. Also, we use the
9758 # versioned .so libs for executables only if there is the -brtl
9759 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
9760 # To allow for filename-based versioning support, we need to create
9761 # libNAME.so.V as an archive file, containing:
9762 # *) an Import File, referring to the versioned filename of the
9763 # archive as well as the shared archive member, telling the
9764 # bitwidth (32 or 64) of that shared object, and providing the
9765 # list of exported symbols of that shared object, eventually
9766 # decorated with the 'weak' keyword
9767 # *) the shared object with the F_LOADONLY flag set, to really avoid
9768 # it being seen by the linker.
9769 # At run time we better use the real file rather than another symlink,
9770 # but for link time we create the symlink libNAME.so -> libNAME.so.V
9772 case $with_aix_soname,$aix_use_runtimelinking in
9773 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
9774 # soname into executable. Probably we can add versioning support to
9775 # collect2, so additional links can be useful in future.
9776 aix
,yes) # traditional libtool
9777 dynamic_linker
='AIX unversionable lib.so'
9778 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9779 # instead of lib<name>.a to let people know that these are not
9780 # typical AIX shared libraries.
9781 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9783 aix
,no
) # traditional AIX only
9784 dynamic_linker
='AIX lib.a(lib.so.V)'
9785 # We preserve .a as extension for shared libraries through AIX4.2
9786 # and later when we are not doing run time linking.
9787 library_names_spec
='$libname$release.a $libname.a'
9788 soname_spec
='$libname$release$shared_ext$major'
9790 svr4
,*) # full svr4 only
9791 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
9792 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9793 # We do not specify a path in Import Files, so LIBPATH fires.
9794 shlibpath_overrides_runpath
=yes
9796 *,yes) # both, prefer svr4
9797 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
9798 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9799 # unpreferred sharedlib libNAME.a needs extra handling
9800 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"'
9801 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"'
9802 # We do not specify a path in Import Files, so LIBPATH fires.
9803 shlibpath_overrides_runpath
=yes
9805 *,no
) # both, prefer aix
9806 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
9807 library_names_spec
='$libname$release.a $libname.a'
9808 soname_spec
='$libname$release$shared_ext$major'
9809 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
9810 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)'
9811 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"'
9814 shlibpath_var
=LIBPATH
9821 # Since July 2007 AmigaOS4 officially supports .so libraries.
9822 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9823 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9826 library_names_spec
='$libname.ixlibrary $libname.a'
9827 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9828 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'
9834 library_names_spec
='$libname$shared_ext'
9835 dynamic_linker
="$host_os ld.so"
9836 shlibpath_var
=LIBRARY_PATH
9840 version_type
=linux
# correct to gnu/linux during the next big refactor
9842 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9843 soname_spec
='$libname$release$shared_ext$major'
9844 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9845 shlibpath_var
=LD_LIBRARY_PATH
9846 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9847 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9848 # the default ld.so.conf also contains /usr/contrib/lib and
9849 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9850 # libtool to hard-code these into programs
9853 cygwin
* | mingw
* | pw32
* | cegcc
*)
9854 version_type
=windows
9859 case $GCC,$cc_basename in
9862 library_names_spec
='$libname.dll.a'
9863 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9864 postinstall_cmds
='base_file=`basename \$file`~
9865 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9866 dldir=$destdir/`dirname \$dlpath`~
9867 test -d \$dldir || mkdir -p \$dldir~
9868 $install_prog $dir/$dlname \$dldir/$dlname~
9869 chmod a+x \$dldir/$dlname~
9870 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9871 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9873 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9874 dlpath=$dir/\$dldll~
9876 shlibpath_overrides_runpath
=yes
9880 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9881 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9883 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9886 # MinGW DLLs use traditional 'lib' prefix
9887 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9890 # pw32 DLLs use 'pw' prefix rather than 'lib'
9891 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9894 dynamic_linker
='Win32 ld.exe'
9899 libname_spec
='$name'
9900 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9901 library_names_spec
='$libname.dll.lib'
9905 sys_lib_search_path_spec
=
9911 # Let DOS variable expansion print the short 8.3 style file name.
9912 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9913 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9916 # Convert to MSYS style.
9917 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9920 # Convert to unix form, then to dos form, then back to unix form
9921 # but this time dos style (no spaces!) so that the unix form looks
9922 # like /cygdrive/c/PROGRA~1:/cygdr...
9923 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9924 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9925 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9928 sys_lib_search_path_spec
=$LIB
9929 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9930 # It is most probably a Windows format PATH.
9931 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9933 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9935 # FIXME: find the short name or the path components, as spaces are
9936 # common. (e.g. "Program Files" -> "PROGRA~1")
9940 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9941 postinstall_cmds
='base_file=`basename \$file`~
9942 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9943 dldir=$destdir/`dirname \$dlpath`~
9944 test -d \$dldir || mkdir -p \$dldir~
9945 $install_prog $dir/$dlname \$dldir/$dlname'
9946 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9947 dlpath=$dir/\$dldll~
9949 shlibpath_overrides_runpath
=yes
9950 dynamic_linker
='Win32 link.exe'
9954 # Assume MSVC wrapper
9955 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
9956 dynamic_linker
='Win32 ld.exe'
9959 # FIXME: first we should search . and the directory the executable is in
9963 darwin
* | rhapsody
*)
9964 dynamic_linker
="$host_os dyld"
9968 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
9969 soname_spec
='$libname$release$major$shared_ext'
9970 shlibpath_overrides_runpath
=yes
9971 shlibpath_var
=DYLD_LIBRARY_PATH
9972 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9974 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9975 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9979 version_type
=linux
# correct to gnu/linux during the next big refactor
9982 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9983 soname_spec
='$libname$release$shared_ext$major'
9984 shlibpath_var
=LD_LIBRARY_PATH
9987 freebsd
* | dragonfly
*)
9988 # DragonFly does not have aout. When/if they implement a new
9989 # versioning mechanism, adjust this.
9990 if test -x /usr
/bin
/objformat
; then
9991 objformat
=`/usr/bin/objformat`
9994 freebsd
[23].
*) objformat
=aout
;;
9998 version_type
=freebsd-
$objformat
9999 case $version_type in
10001 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10002 soname_spec
='$libname$release$shared_ext$major'
10007 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10011 shlibpath_var
=LD_LIBRARY_PATH
10014 shlibpath_overrides_runpath
=yes
10016 freebsd3.
[01]* | freebsdelf3.
[01]*)
10017 shlibpath_overrides_runpath
=yes
10018 hardcode_into_libs
=yes
10020 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10021 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10022 shlibpath_overrides_runpath
=no
10023 hardcode_into_libs
=yes
10025 *) # from 4.6 on, and DragonFly
10026 shlibpath_overrides_runpath
=yes
10027 hardcode_into_libs
=yes
10033 version_type
=linux
# correct to gnu/linux during the next big refactor
10036 dynamic_linker
="$host_os runtime_loader"
10037 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10038 soname_spec
='$libname$release$shared_ext$major'
10039 shlibpath_var
=LIBRARY_PATH
10040 shlibpath_overrides_runpath
=no
10041 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10042 hardcode_into_libs
=yes
10045 hpux9
* | hpux10
* | hpux11
*)
10046 # Give a soname corresponding to the major version so that dld.sl refuses to
10047 # link against other versions.
10054 hardcode_into_libs
=yes
10055 dynamic_linker
="$host_os dld.so"
10056 shlibpath_var
=LD_LIBRARY_PATH
10057 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10058 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10059 soname_spec
='$libname$release$shared_ext$major'
10060 if test 32 = "$HPUX_IA64_MODE"; then
10061 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10062 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10064 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10065 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10070 hardcode_into_libs
=yes
10071 dynamic_linker
="$host_os dld.sl"
10072 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10073 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10074 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10075 soname_spec
='$libname$release$shared_ext$major'
10076 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10077 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10081 dynamic_linker
="$host_os dld.sl"
10082 shlibpath_var
=SHLIB_PATH
10083 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10084 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10085 soname_spec
='$libname$release$shared_ext$major'
10088 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10089 postinstall_cmds
='chmod 555 $lib'
10090 # or fails outright, so override atomically:
10091 install_override_mode
=555
10095 version_type
=linux
# correct to gnu/linux during the next big refactor
10098 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10099 soname_spec
='$libname$release$shared_ext$major'
10100 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10101 shlibpath_var
=LD_LIBRARY_PATH
10102 shlibpath_overrides_runpath
=no
10103 hardcode_into_libs
=yes
10106 irix5
* | irix6
* | nonstopux
*)
10108 nonstopux
*) version_type
=nonstopux
;;
10110 if test yes = "$lt_cv_prog_gnu_ld"; then
10111 version_type
=linux
# correct to gnu/linux during the next big refactor
10118 soname_spec
='$libname$release$shared_ext$major'
10119 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10121 irix5
* | nonstopux
*)
10122 libsuff
= shlibsuff
=
10125 case $LD in # libtool.m4 will add one of these switches to LD
10126 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10127 libsuff
= shlibsuff
= libmagic
=32-bit;;
10128 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10129 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10130 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10131 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10132 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10136 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10137 shlibpath_overrides_runpath
=no
10138 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10139 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10140 hardcode_into_libs
=yes
10143 # No shared lib support for Linux oldld, aout, or coff.
10144 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10149 version_type
=none
# Android doesn't support versioned libraries.
10152 library_names_spec
='$libname$release$shared_ext'
10153 soname_spec
='$libname$release$shared_ext'
10155 shlibpath_var
=LD_LIBRARY_PATH
10156 shlibpath_overrides_runpath
=yes
10158 # This implies no fast_install, which is unacceptable.
10159 # Some rework will be needed to allow for fast_install
10160 # before this can be enabled.
10161 hardcode_into_libs
=yes
10163 dynamic_linker
='Android linker'
10164 # Don't embed -rpath directories since the linker doesn't support them.
10165 hardcode_libdir_flag_spec
='-L$libdir'
10168 # This must be glibc/ELF.
10169 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10170 version_type
=linux
# correct to gnu/linux during the next big refactor
10173 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10174 soname_spec
='$libname$release$shared_ext$major'
10175 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10176 shlibpath_var
=LD_LIBRARY_PATH
10177 shlibpath_overrides_runpath
=no
10179 # Some binutils ld are patched to set DT_RUNPATH
10180 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10181 $as_echo_n "(cached) " >&6
10183 lt_cv_shlibpath_overrides_runpath
=no
10184 save_LDFLAGS
=$LDFLAGS
10185 save_libdir
=$libdir
10186 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10187 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10199 if ac_fn_c_try_link
"$LINENO"; then :
10200 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10201 lt_cv_shlibpath_overrides_runpath
=yes
10204 rm -f core conftest.err conftest.
$ac_objext \
10205 conftest
$ac_exeext conftest.
$ac_ext
10206 LDFLAGS
=$save_LDFLAGS
10207 libdir
=$save_libdir
10211 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10213 # This implies no fast_install, which is unacceptable.
10214 # Some rework will be needed to allow for fast_install
10215 # before this can be enabled.
10216 hardcode_into_libs
=yes
10218 # Ideally, we could use ldconfig to report *all* directores which are
10219 # searched for libraries, however this is still not possible. Aside from not
10220 # being certain /sbin/ldconfig is available, command
10221 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10222 # even though it is searched at run-time. Try to do the best guess by
10223 # appending ld.so.conf contents (and includes) to the search path.
10224 if test -f /etc
/ld.so.conf
; then
10225 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' ' '`
10226 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10229 # We used to test for /lib/ld.so.1 and disable shared libraries on
10230 # powerpc, because MkLinux only supported shared libraries with the
10231 # GNU dynamic linker. Since this was broken with cross compilers,
10232 # most powerpc-linux boxes support dynamic linking these days and
10233 # people can always --disable-shared, the test was removed, and we
10234 # assume the GNU/Linux dynamic linker is in use.
10235 dynamic_linker
='GNU/Linux ld.so'
10242 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10243 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10244 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10245 dynamic_linker
='NetBSD (a.out) ld.so'
10247 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10248 soname_spec
='$libname$release$shared_ext$major'
10249 dynamic_linker
='NetBSD ld.elf_so'
10251 shlibpath_var
=LD_LIBRARY_PATH
10252 shlibpath_overrides_runpath
=yes
10253 hardcode_into_libs
=yes
10257 version_type
=linux
# correct to gnu/linux during the next big refactor
10258 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10259 shlibpath_var
=LD_LIBRARY_PATH
10260 shlibpath_overrides_runpath
=yes
10267 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10268 soname_spec
='$libname$release$shared_ext$major'
10269 shlibpath_var
=LD_LIBRARY_PATH
10270 shlibpath_overrides_runpath
=no
10271 hardcode_into_libs
=yes
10272 dynamic_linker
='ldqnx.so'
10275 openbsd
* | bitrig
*)
10277 sys_lib_dlsearch_path_spec
=/usr
/lib
10279 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10284 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10285 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10286 shlibpath_var
=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath
=yes
10291 libname_spec
='$name'
10292 version_type
=windows
10296 # OS/2 can only load a DLL with a base name of 8 characters or less.
10297 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
10298 v=$($ECHO $release$versuffix | tr -d .-);
10299 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10300 $ECHO $n$v`$shared_ext'
10301 library_names_spec
='${libname}_dll.$libext'
10302 dynamic_linker
='OS/2 ld.exe'
10303 shlibpath_var
=BEGINLIBPATH
10304 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10305 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10306 postinstall_cmds
='base_file=`basename \$file`~
10307 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10308 dldir=$destdir/`dirname \$dlpath`~
10309 test -d \$dldir || mkdir -p \$dldir~
10310 $install_prog $dir/$dlname \$dldir/$dlname~
10311 chmod a+x \$dldir/$dlname~
10312 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10313 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10315 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10316 dlpath=$dir/\$dldll~
10320 osf3
* | osf4
* | osf5
*)
10324 soname_spec
='$libname$release$shared_ext$major'
10325 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10326 shlibpath_var
=LD_LIBRARY_PATH
10327 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10328 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10336 version_type
=linux
# correct to gnu/linux during the next big refactor
10339 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10340 soname_spec
='$libname$release$shared_ext$major'
10341 shlibpath_var
=LD_LIBRARY_PATH
10342 shlibpath_overrides_runpath
=yes
10343 hardcode_into_libs
=yes
10344 # ldd complains unless libraries are executable
10345 postinstall_cmds
='chmod +x $lib'
10350 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10351 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10352 shlibpath_var
=LD_LIBRARY_PATH
10353 shlibpath_overrides_runpath
=yes
10354 if test yes = "$with_gnu_ld"; then
10361 version_type
=linux
# correct to gnu/linux during the next big refactor
10362 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10363 soname_spec
='$libname$release$shared_ext$major'
10364 shlibpath_var
=LD_LIBRARY_PATH
10365 case $host_vendor in
10367 shlibpath_overrides_runpath
=no
10369 runpath_var
=LD_RUN_PATH
10377 shlibpath_overrides_runpath
=no
10378 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10384 if test -d /usr
/nec
; then
10385 version_type
=linux
# correct to gnu/linux during the next big refactor
10386 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10387 soname_spec
='$libname$shared_ext.$major'
10388 shlibpath_var
=LD_LIBRARY_PATH
10392 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10396 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10397 soname_spec
='$libname$release$shared_ext$major'
10398 shlibpath_var
=LD_LIBRARY_PATH
10399 shlibpath_overrides_runpath
=yes
10400 hardcode_into_libs
=yes
10401 if test yes = "$with_gnu_ld"; then
10402 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10404 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10407 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10411 sys_lib_dlsearch_path_spec
='/usr/lib'
10415 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10416 version_type
=linux
# correct to gnu/linux during the next big refactor
10419 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10420 shlibpath_var
=LD_LIBRARY_PATH
10421 shlibpath_overrides_runpath
=no
10422 hardcode_into_libs
=yes
10426 version_type
=linux
# correct to gnu/linux during the next big refactor
10427 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10428 soname_spec
='$libname$release$shared_ext$major'
10429 shlibpath_var
=LD_LIBRARY_PATH
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10437 $as_echo "$dynamic_linker" >&6; }
10438 test no
= "$dynamic_linker" && can_build_shared
=no
10440 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10441 if test yes = "$GCC"; then
10442 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10445 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10446 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
10449 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10450 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
10453 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
10454 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
10456 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
10457 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
10459 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
10460 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10559 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10561 if test -n "$hardcode_libdir_flag_spec" ||
10562 test -n "$runpath_var" ||
10563 test yes = "$hardcode_automatic"; then
10565 # We can hardcode non-existent directories.
10566 if test no
!= "$hardcode_direct" &&
10567 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10568 # have to relink, otherwise we might link with an installed library
10569 # when we should be linking with a yet-to-be-installed one
10570 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
10571 test no
!= "$hardcode_minus_L"; then
10572 # Linking always hardcodes the temporary library directory.
10573 hardcode_action
=relink
10575 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10576 hardcode_action
=immediate
10579 # We cannot hardcode anything, or else we can only hardcode existing
10581 hardcode_action
=unsupported
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10584 $as_echo "$hardcode_action" >&6; }
10586 if test relink
= "$hardcode_action" ||
10587 test yes = "$inherit_rpath"; then
10588 # Fast installation is not supported
10589 enable_fast_install
=no
10590 elif test yes = "$shlibpath_overrides_runpath" ||
10591 test no
= "$enable_shared"; then
10592 # Fast installation is not necessary
10593 enable_fast_install
=needless
10601 if test yes != "$enable_dlopen"; then
10602 enable_dlopen
=unknown
10603 enable_dlopen_self
=unknown
10604 enable_dlopen_self_static
=unknown
10611 lt_cv_dlopen
=load_add_on
10613 lt_cv_dlopen_self
=yes
10616 mingw
* | pw32
* | cegcc
*)
10617 lt_cv_dlopen
=LoadLibrary
10622 lt_cv_dlopen
=dlopen
10627 # if libdl is installed we need to link against it
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10629 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10630 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10631 $as_echo_n "(cached) " >&6
10633 ac_check_lib_save_LIBS
=$LIBS
10635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10653 if ac_fn_c_try_link
"$LINENO"; then :
10654 ac_cv_lib_dl_dlopen
=yes
10656 ac_cv_lib_dl_dlopen
=no
10658 rm -f core conftest.err conftest.
$ac_objext \
10659 conftest
$ac_exeext conftest.
$ac_ext
10660 LIBS
=$ac_check_lib_save_LIBS
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10663 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10664 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10665 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10670 lt_cv_dlopen_self
=yes
10677 # Don't try to run any link tests for TPF. We know it's impossible
10678 # because TPF is a cross-compiler, and we know how we open DSOs.
10679 lt_cv_dlopen
=dlopen
10681 lt_cv_dlopen_self
=no
10685 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10686 if test "x$ac_cv_func_shl_load" = xyes
; then :
10687 lt_cv_dlopen
=shl_load
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10690 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10691 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10692 $as_echo_n "(cached) " >&6
10694 ac_check_lib_save_LIBS
=$LIBS
10696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10709 return shl_load ();
10714 if ac_fn_c_try_link
"$LINENO"; then :
10715 ac_cv_lib_dld_shl_load
=yes
10717 ac_cv_lib_dld_shl_load
=no
10719 rm -f core conftest.err conftest.
$ac_objext \
10720 conftest
$ac_exeext conftest.
$ac_ext
10721 LIBS
=$ac_check_lib_save_LIBS
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10724 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10725 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10726 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
10728 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10729 if test "x$ac_cv_func_dlopen" = xyes
; then :
10730 lt_cv_dlopen
=dlopen
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10733 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10734 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10735 $as_echo_n "(cached) " >&6
10737 ac_check_lib_save_LIBS
=$LIBS
10739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10742 /* Override any GCC internal prototype to avoid an error.
10743 Use char because int might match the return type of a GCC
10744 builtin and then its argument prototype would still apply. */
10757 if ac_fn_c_try_link
"$LINENO"; then :
10758 ac_cv_lib_dl_dlopen
=yes
10760 ac_cv_lib_dl_dlopen
=no
10762 rm -f core conftest.err conftest.
$ac_objext \
10763 conftest
$ac_exeext conftest.
$ac_ext
10764 LIBS
=$ac_check_lib_save_LIBS
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10767 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10768 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10769 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10772 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10773 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10774 $as_echo_n "(cached) " >&6
10776 ac_check_lib_save_LIBS
=$LIBS
10777 LIBS
="-lsvld $LIBS"
10778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10796 if ac_fn_c_try_link
"$LINENO"; then :
10797 ac_cv_lib_svld_dlopen
=yes
10799 ac_cv_lib_svld_dlopen
=no
10801 rm -f core conftest.err conftest.
$ac_objext \
10802 conftest
$ac_exeext conftest.
$ac_ext
10803 LIBS
=$ac_check_lib_save_LIBS
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10806 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10807 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10808 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10811 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10812 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10813 $as_echo_n "(cached) " >&6
10815 ac_check_lib_save_LIBS
=$LIBS
10817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10830 return dld_link ();
10835 if ac_fn_c_try_link
"$LINENO"; then :
10836 ac_cv_lib_dld_dld_link
=yes
10838 ac_cv_lib_dld_dld_link
=no
10840 rm -f core conftest.err conftest.
$ac_objext \
10841 conftest
$ac_exeext conftest.
$ac_ext
10842 LIBS
=$ac_check_lib_save_LIBS
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10845 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10846 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10847 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
10868 if test no
= "$lt_cv_dlopen"; then
10874 case $lt_cv_dlopen in
10876 save_CPPFLAGS
=$CPPFLAGS
10877 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10879 save_LDFLAGS
=$LDFLAGS
10880 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10883 LIBS
="$lt_cv_dlopen_libs $LIBS"
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10886 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10887 if ${lt_cv_dlopen_self+:} false
; then :
10888 $as_echo_n "(cached) " >&6
10890 if test yes = "$cross_compiling"; then :
10891 lt_cv_dlopen_self
=cross
10893 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10894 lt_status
=$lt_dlunknown
10895 cat > conftest.
$ac_ext <<_LT_EOF
10896 #line $LINENO "configure"
10897 #include "confdefs.h"
10906 # define LT_DLGLOBAL RTLD_GLOBAL
10909 # define LT_DLGLOBAL DL_GLOBAL
10911 # define LT_DLGLOBAL 0
10915 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10916 find out it does not work in some platform. */
10917 #ifndef LT_DLLAZY_OR_NOW
10919 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10922 # define LT_DLLAZY_OR_NOW DL_LAZY
10925 # define LT_DLLAZY_OR_NOW RTLD_NOW
10928 # define LT_DLLAZY_OR_NOW DL_NOW
10930 # define LT_DLLAZY_OR_NOW 0
10937 /* When -fvisibility=hidden is used, assume the code has been annotated
10938 correspondingly for the symbols needed. */
10939 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10940 int fnord () __attribute__((visibility("default")));
10943 int fnord () { return 42; }
10946 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10947 int status = $lt_dlunknown;
10951 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10954 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10955 else puts (dlerror ());
10957 /* dlclose (self); */
10965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10966 (eval $ac_link) 2>&5
10968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10969 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
10970 (.
/conftest
; exit; ) >&5 2>/dev
/null
10972 case x
$lt_status in
10973 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10974 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10975 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10978 # compilation failed
10979 lt_cv_dlopen_self
=no
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10987 $as_echo "$lt_cv_dlopen_self" >&6; }
10989 if test yes = "$lt_cv_dlopen_self"; then
10990 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10992 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10993 if ${lt_cv_dlopen_self_static+:} false
; then :
10994 $as_echo_n "(cached) " >&6
10996 if test yes = "$cross_compiling"; then :
10997 lt_cv_dlopen_self_static
=cross
10999 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11000 lt_status
=$lt_dlunknown
11001 cat > conftest.
$ac_ext <<_LT_EOF
11002 #line $LINENO "configure"
11003 #include "confdefs.h"
11012 # define LT_DLGLOBAL RTLD_GLOBAL
11015 # define LT_DLGLOBAL DL_GLOBAL
11017 # define LT_DLGLOBAL 0
11021 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11022 find out it does not work in some platform. */
11023 #ifndef LT_DLLAZY_OR_NOW
11025 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11028 # define LT_DLLAZY_OR_NOW DL_LAZY
11031 # define LT_DLLAZY_OR_NOW RTLD_NOW
11034 # define LT_DLLAZY_OR_NOW DL_NOW
11036 # define LT_DLLAZY_OR_NOW 0
11043 /* When -fvisibility=hidden is used, assume the code has been annotated
11044 correspondingly for the symbols needed. */
11045 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11046 int fnord () __attribute__((visibility("default")));
11049 int fnord () { return 42; }
11052 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11053 int status = $lt_dlunknown;
11057 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11060 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11061 else puts (dlerror ());
11063 /* dlclose (self); */
11071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11072 (eval $ac_link) 2>&5
11074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11075 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11076 (.
/conftest
; exit; ) >&5 2>/dev
/null
11078 case x
$lt_status in
11079 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11080 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11081 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11084 # compilation failed
11085 lt_cv_dlopen_self_static
=no
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11093 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11096 CPPFLAGS
=$save_CPPFLAGS
11097 LDFLAGS
=$save_LDFLAGS
11102 case $lt_cv_dlopen_self in
11103 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11104 *) enable_dlopen_self
=unknown
;;
11107 case $lt_cv_dlopen_self_static in
11108 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11109 *) enable_dlopen_self_static
=unknown
;;
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11132 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11133 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11134 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11135 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11137 $as_echo "yes" >&6; }
11139 # FIXME - insert some real tests, host_os isn't really good enough
11142 if test -n "$STRIP"; then
11143 striplib
="$STRIP -x"
11144 old_striplib
="$STRIP -S"
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11146 $as_echo "yes" >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11149 $as_echo "no" >&6; }
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11154 $as_echo "no" >&6; }
11170 # Report what library types will actually be built
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11172 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11174 $as_echo "$can_build_shared" >&6; }
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11177 $as_echo_n "checking whether to build shared libraries... " >&6; }
11178 test no
= "$can_build_shared" && enable_shared
=no
11180 # On AIX, shared libraries and static libraries use the same namespace, and
11181 # are all built from PIC.
11184 test yes = "$enable_shared" && enable_static
=no
11185 if test -n "$RANLIB"; then
11186 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11187 postinstall_cmds
='$RANLIB $lib'
11192 if test ia64
!= "$host_cpu"; then
11193 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11194 yes,aix
,yes) ;; # shared object as lib.so file only
11195 yes,svr4
,*) ;; # shared object as lib.so archive member only
11196 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11202 $as_echo "$enable_shared" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11205 $as_echo_n "checking whether to build static libraries... " >&6; }
11206 # Make sure either enable_shared or enable_static is yes.
11207 test yes = "$enable_shared" || enable_static
=yes
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11209 $as_echo "$enable_static" >&6; }
11216 ac_cpp
='$CPP $CPPFLAGS'
11217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11237 ac_config_commands
="$ac_config_commands libtool"
11242 # Only expand once:
11245 # Find a good install program. We prefer a C program (faster),
11246 # so one script is as good as another. But avoid the broken or
11247 # incompatible versions:
11248 # SysV /etc/install, /usr/sbin/install
11249 # SunOS /usr/etc/install
11250 # IRIX /sbin/install
11252 # AmigaOS /C/install, which installs bootblocks on floppy discs
11253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11256 # OS/2's system install, which has a completely different semantic
11257 # ./install, which can be erroneously created by make from ./install.sh.
11258 # Reject install programs that cannot install multiple files.
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11261 if test -z "$INSTALL"; then
11262 if ${ac_cv_path_install+:} false
; then :
11263 $as_echo_n "(cached) " >&6
11265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11266 for as_dir
in $PATH
11269 test -z "$as_dir" && as_dir
=.
11270 # Account for people who put trailing slashes in PATH elements.
11271 case $as_dir/ in #((
11272 .
/ | .
// |
/[cC
]/* | \
11273 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11274 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
11277 # OSF1 and SCO ODT 3.0 have their own names for install.
11278 # Don't use installbsd from OSF since it installs stuff as root
11280 for ac_prog
in ginstall scoinst
install; do
11281 for ac_exec_ext
in '' $ac_executable_extensions; do
11282 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
11283 if test $ac_prog = install &&
11284 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11285 # AIX install. It has an incompatible calling convention.
11287 elif test $ac_prog = install &&
11288 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11289 # program-specific install script used by HP pwplus--don't use.
11292 rm -rf conftest.one conftest.two conftest.dir
11293 echo one
> conftest.one
11294 echo two
> conftest.two
11296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11297 test -s conftest.one
&& test -s conftest.two
&&
11298 test -s conftest.dir
/conftest.one
&&
11299 test -s conftest.dir
/conftest.two
11301 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11314 rm -rf conftest.one conftest.two conftest.dir
11317 if test "${ac_cv_path_install+set}" = set; then
11318 INSTALL
=$ac_cv_path_install
11320 # As a last resort, use the slow shell script. Don't cache a
11321 # value for INSTALL within a source directory, because that will
11322 # break other packages using the cache if that directory is
11323 # removed, or if the value is a relative name.
11324 INSTALL
=$ac_install_sh
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11328 $as_echo "$INSTALL" >&6; }
11330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11331 # It thinks the first close brace ends the variable substitution.
11332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11336 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11340 # Enable large file support (if special flags are necessary)
11342 # Check whether --enable-largefile was given.
11343 if test "${enable_largefile+set}" = set; then :
11344 enableval
=$enable_largefile;
11347 if test "$enable_largefile" != no
; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11350 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11351 if ${ac_cv_sys_largefile_CC+:} false
; then :
11352 $as_echo_n "(cached) " >&6
11354 ac_cv_sys_largefile_CC
=no
11355 if test "$GCC" != yes; then
11358 # IRIX 6.2 and later do not support large files by default,
11359 # so use the C compiler's -n32 option if that helps.
11360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11362 #include <sys/types.h>
11363 /* Check that off_t can represent 2**63 - 1 correctly.
11364 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11365 since some C++ compilers masquerading as C compilers
11366 incorrectly reject 9223372036854775807. */
11367 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11368 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11369 && LARGE_OFF_T % 2147483647 == 1)
11379 if ac_fn_c_try_compile
"$LINENO"; then :
11382 rm -f core conftest.err conftest.
$ac_objext
11384 if ac_fn_c_try_compile
"$LINENO"; then :
11385 ac_cv_sys_largefile_CC
=' -n32'; break
11387 rm -f core conftest.err conftest.
$ac_objext
11391 rm -f conftest.
$ac_ext
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11395 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11396 if test "$ac_cv_sys_largefile_CC" != no
; then
11397 CC
=$CC$ac_cv_sys_largefile_CC
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11401 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11402 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11403 $as_echo_n "(cached) " >&6
11406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11408 #include <sys/types.h>
11409 /* Check that off_t can represent 2**63 - 1 correctly.
11410 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11411 since some C++ compilers masquerading as C compilers
11412 incorrectly reject 9223372036854775807. */
11413 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11414 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11415 && LARGE_OFF_T % 2147483647 == 1)
11425 if ac_fn_c_try_compile
"$LINENO"; then :
11426 ac_cv_sys_file_offset_bits
=no
; break
11428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11431 #define _FILE_OFFSET_BITS 64
11432 #include <sys/types.h>
11433 /* Check that off_t can represent 2**63 - 1 correctly.
11434 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11435 since some C++ compilers masquerading as C compilers
11436 incorrectly reject 9223372036854775807. */
11437 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11438 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11439 && LARGE_OFF_T % 2147483647 == 1)
11449 if ac_fn_c_try_compile
"$LINENO"; then :
11450 ac_cv_sys_file_offset_bits
=64; break
11452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11453 ac_cv_sys_file_offset_bits
=unknown
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11458 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11459 case $ac_cv_sys_file_offset_bits in #(
11462 cat >>confdefs.h
<<_ACEOF
11463 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11468 if test $ac_cv_sys_file_offset_bits = unknown
; then
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11470 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11471 if ${ac_cv_sys_large_files+:} false
; then :
11472 $as_echo_n "(cached) " >&6
11475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11477 #include <sys/types.h>
11478 /* Check that off_t can represent 2**63 - 1 correctly.
11479 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11480 since some C++ compilers masquerading as C compilers
11481 incorrectly reject 9223372036854775807. */
11482 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11483 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11484 && LARGE_OFF_T % 2147483647 == 1)
11494 if ac_fn_c_try_compile
"$LINENO"; then :
11495 ac_cv_sys_large_files
=no
; break
11497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11500 #define _LARGE_FILES 1
11501 #include <sys/types.h>
11502 /* Check that off_t can represent 2**63 - 1 correctly.
11503 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11504 since some C++ compilers masquerading as C compilers
11505 incorrectly reject 9223372036854775807. */
11506 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11507 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11508 && LARGE_OFF_T % 2147483647 == 1)
11518 if ac_fn_c_try_compile
"$LINENO"; then :
11519 ac_cv_sys_large_files
=1; break
11521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11522 ac_cv_sys_large_files
=unknown
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11527 $as_echo "$ac_cv_sys_large_files" >&6; }
11528 case $ac_cv_sys_large_files in #(
11531 cat >>confdefs.h
<<_ACEOF
11532 #define _LARGE_FILES $ac_cv_sys_large_files
11544 # Check for needed/wanted data types
11545 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
11546 if test "x$ac_cv_type_int8_t" = xyes
; then :
11548 cat >>confdefs.h
<<_ACEOF
11549 #define HAVE_INT8_T 1
11554 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
11555 if test "x$ac_cv_type_int16_t" = xyes
; then :
11557 cat >>confdefs.h
<<_ACEOF
11558 #define HAVE_INT16_T 1
11563 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
11564 if test "x$ac_cv_type_int32_t" = xyes
; then :
11566 cat >>confdefs.h
<<_ACEOF
11567 #define HAVE_INT32_T 1
11572 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
11573 if test "x$ac_cv_type_int64_t" = xyes
; then :
11575 cat >>confdefs.h
<<_ACEOF
11576 #define HAVE_INT64_T 1
11581 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
11582 if test "x$ac_cv_type_intptr_t" = xyes
; then :
11584 cat >>confdefs.h
<<_ACEOF
11585 #define HAVE_INTPTR_T 1
11590 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
11591 if test "x$ac_cv_type_uint8_t" = xyes
; then :
11593 cat >>confdefs.h
<<_ACEOF
11594 #define HAVE_UINT8_T 1
11599 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
11600 if test "x$ac_cv_type_uint16_t" = xyes
; then :
11602 cat >>confdefs.h
<<_ACEOF
11603 #define HAVE_UINT16_T 1
11608 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
11609 if test "x$ac_cv_type_uint32_t" = xyes
; then :
11611 cat >>confdefs.h
<<_ACEOF
11612 #define HAVE_UINT32_T 1
11617 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
11618 if test "x$ac_cv_type_uint64_t" = xyes
; then :
11620 cat >>confdefs.h
<<_ACEOF
11621 #define HAVE_UINT64_T 1
11626 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
11627 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
11629 cat >>confdefs.h
<<_ACEOF
11630 #define HAVE_UINTPTR_T 1
11638 # Check for needed/wanted headers
11639 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
11641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11642 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11643 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11644 cat >>confdefs.h
<<_ACEOF
11645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11654 # Figure out whether or not we have these functions
11656 for ac_func
in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul
usleep utime pread pread64 pwrite pwrite64
11658 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11659 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11660 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11661 cat >>confdefs.h
<<_ACEOF
11662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11670 # By default, we use the amalgamation (this may be changed below...)
11675 # See whether we can run specific tclsh versions known to work well;
11676 # if not, then we fall back to plain tclsh.
11677 # TODO: try other versions before falling back?
11679 for ac_prog
in tclsh8.7 tclsh8.6 tclsh8.5 tclsh
11681 # Extract the first word of "$ac_prog", so it can be a program name with args.
11682 set dummy
$ac_prog; ac_word
=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11684 $as_echo_n "checking for $ac_word... " >&6; }
11685 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
11686 $as_echo_n "(cached) " >&6
11688 if test -n "$TCLSH_CMD"; then
11689 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
11691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11692 for as_dir
in $PATH
11695 test -z "$as_dir" && as_dir
=.
11696 for ac_exec_ext
in '' $ac_executable_extensions; do
11697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11698 ac_cv_prog_TCLSH_CMD
="$ac_prog"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11708 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
11709 if test -n "$TCLSH_CMD"; then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
11711 $as_echo "$TCLSH_CMD" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11714 $as_echo "no" >&6; }
11718 test -n "$TCLSH_CMD" && break
11720 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
11722 if test "$TCLSH_CMD" = "none"; then
11723 # If we can't find a local tclsh, then building the amalgamation will fail.
11724 # We act as though --disable-amalgamation has been used.
11725 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
11732 if test "x${TCLLIBDIR+set}" != "xset" ; then
11733 TCLLIBDIR
='$(libdir)'
11734 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
11738 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
11742 # Set up an appropriate program prefix
11744 if test "$program_prefix" = "NONE"; then
11749 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
11751 $as_echo "$as_me: Version set to $VERSION" >&6;}
11753 RELEASE
=`cat $srcdir/VERSION`
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
11755 $as_echo "$as_me: Release set to $RELEASE" >&6;}
11757 VERSION_NUMBER
=`cat $srcdir/VERSION \
11758 | sed 's/[^0-9]/ /g' \
11759 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
11761 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
11765 # Locate a compiler for the build machine. This compiler should
11766 # generate command-line programs that run on the build machine.
11768 if test x
"$cross_compiling" = xno
; then
11770 BUILD_CFLAGS
=$CFLAGS
11772 if test "${BUILD_CC+set}" != set; then
11773 for ac_prog
in gcc cc cl
11775 # Extract the first word of "$ac_prog", so it can be a program name with args.
11776 set dummy
$ac_prog; ac_word
=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11778 $as_echo_n "checking for $ac_word... " >&6; }
11779 if ${ac_cv_prog_BUILD_CC+:} false
; then :
11780 $as_echo_n "(cached) " >&6
11782 if test -n "$BUILD_CC"; then
11783 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
11785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11786 for as_dir
in $PATH
11789 test -z "$as_dir" && as_dir
=.
11790 for ac_exec_ext
in '' $ac_executable_extensions; do
11791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_BUILD_CC
="$ac_prog"
11793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 BUILD_CC
=$ac_cv_prog_BUILD_CC
11803 if test -n "$BUILD_CC"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
11805 $as_echo "$BUILD_CC" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11812 test -n "$BUILD_CC" && break
11816 if test "${BUILD_CFLAGS+set}" != set; then
11823 # Do we want to support multithreaded use of sqlite
11825 # Check whether --enable-threadsafe was given.
11826 if test "${enable_threadsafe+set}" = set; then :
11827 enableval
=$enable_threadsafe;
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
11831 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
11832 if test "$enable_threadsafe" = "no"; then
11833 SQLITE_THREADSAFE
=0
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11835 $as_echo "no" >&6; }
11837 SQLITE_THREADSAFE
=1
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11839 $as_echo "yes" >&6; }
11843 if test "$SQLITE_THREADSAFE" = "1"; then
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
11845 $as_echo_n "checking for library containing pthread_create... " >&6; }
11846 if ${ac_cv_search_pthread_create+:} false
; then :
11847 $as_echo_n "(cached) " >&6
11849 ac_func_search_save_LIBS
=$LIBS
11850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11859 char pthread_create ();
11863 return pthread_create ();
11868 for ac_lib
in '' pthread
; do
11869 if test -z "$ac_lib"; then
11870 ac_res
="none required"
11873 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11875 if ac_fn_c_try_link
"$LINENO"; then :
11876 ac_cv_search_pthread_create
=$ac_res
11878 rm -f core conftest.err conftest.
$ac_objext \
11880 if ${ac_cv_search_pthread_create+:} false
; then :
11884 if ${ac_cv_search_pthread_create+:} false
; then :
11887 ac_cv_search_pthread_create
=no
11889 rm conftest.
$ac_ext
11890 LIBS
=$ac_func_search_save_LIBS
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
11893 $as_echo "$ac_cv_search_pthread_create" >&6; }
11894 ac_res
=$ac_cv_search_pthread_create
11895 if test "$ac_res" != no
; then :
11896 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
11901 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
11902 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11903 $as_echo_n "(cached) " >&6
11905 ac_func_search_save_LIBS
=$LIBS
11906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11915 char pthread_mutexattr_init ();
11919 return pthread_mutexattr_init ();
11924 for ac_lib
in '' pthread
; do
11925 if test -z "$ac_lib"; then
11926 ac_res
="none required"
11929 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11931 if ac_fn_c_try_link
"$LINENO"; then :
11932 ac_cv_search_pthread_mutexattr_init
=$ac_res
11934 rm -f core conftest.err conftest.
$ac_objext \
11936 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11940 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11943 ac_cv_search_pthread_mutexattr_init
=no
11945 rm conftest.
$ac_ext
11946 LIBS
=$ac_func_search_save_LIBS
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
11949 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
11950 ac_res
=$ac_cv_search_pthread_mutexattr_init
11951 if test "$ac_res" != no
; then :
11952 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11959 # Which crypto library do we use
11962 # Check whether --with-crypto-lib was given.
11963 if test "${with_crypto_lib+set}" = set; then :
11964 withval
=$with_crypto_lib; crypto_lib
=$withval
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto library to use" >&5
11968 $as_echo_n "checking for crypto library to use... " >&6; }
11969 if test "$crypto_lib" = "none"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11971 $as_echo "none" >&6; }
11973 if test "$crypto_lib" = "commoncrypto"; then
11974 CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
11975 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: commoncrypto" >&5
11977 $as_echo "commoncrypto" >&6; }
11979 if test "$crypto_lib" = "libtomcrypt"; then
11980 CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
11981 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtomcrypt" >&5
11983 $as_echo "libtomcrypt" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
11985 $as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
11986 if ${ac_cv_lib_tomcrypt_register_cipher+:} false
; then :
11987 $as_echo_n "(cached) " >&6
11989 ac_check_lib_save_LIBS
=$LIBS
11990 LIBS
="-ltomcrypt $LIBS"
11991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
12000 char register_cipher ();
12004 return register_cipher ();
12009 if ac_fn_c_try_link
"$LINENO"; then :
12010 ac_cv_lib_tomcrypt_register_cipher
=yes
12012 ac_cv_lib_tomcrypt_register_cipher
=no
12014 rm -f core conftest.err conftest.
$ac_objext \
12015 conftest
$ac_exeext conftest.
$ac_ext
12016 LIBS
=$ac_check_lib_save_LIBS
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
12019 $as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
12020 if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes
; then :
12021 cat >>confdefs.h
<<_ACEOF
12022 #define HAVE_LIBTOMCRYPT 1
12025 LIBS
="-ltomcrypt $LIBS"
12028 as_fn_error $?
"Library crypto not found. Install libtomcrypt!\"" "$LINENO" 5
12032 CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12033 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: openssl" >&5
12035 $as_echo "openssl" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
12037 $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
12038 if ${ac_cv_lib_crypto_HMAC_Init_ex+:} false
; then :
12039 $as_echo_n "(cached) " >&6
12041 ac_check_lib_save_LIBS
=$LIBS
12042 LIBS
="-lcrypto $LIBS"
12043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12052 char HMAC_Init_ex ();
12056 return HMAC_Init_ex ();
12061 if ac_fn_c_try_link
"$LINENO"; then :
12062 ac_cv_lib_crypto_HMAC_Init_ex
=yes
12064 ac_cv_lib_crypto_HMAC_Init_ex
=no
12066 rm -f core conftest.err conftest.
$ac_objext \
12067 conftest
$ac_exeext conftest.
$ac_ext
12068 LIBS
=$ac_check_lib_save_LIBS
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
12071 $as_echo "$ac_cv_lib_crypto_HMAC_Init_ex" >&6; }
12072 if test "x$ac_cv_lib_crypto_HMAC_Init_ex" = xyes
; then :
12073 cat >>confdefs.h
<<_ACEOF
12074 #define HAVE_LIBCRYPTO 1
12077 LIBS
="-lcrypto $LIBS"
12080 as_fn_error $?
"Library crypto not found. Install openssl!\"" "$LINENO" 5
12088 # Do we want to allow a connection created in one thread to be used
12089 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
12090 # due to bugs in the threading implementations. This is thus off by default.
12092 # Check whether --enable-cross-thread-connections was given.
12093 if test "${enable_cross_thread_connections+set}" = set; then :
12094 enableval
=$enable_cross_thread_connections;
12096 enable_xthreadconnect
=no
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to allow connections to be shared across threads" >&5
12100 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12101 if test "$enable_xthreadconnect" = "no"; then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104 $as_echo "no" >&6; }
12106 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12108 $as_echo "yes" >&6; }
12113 # Do we want to support release
12115 # Check whether --enable-releasemode was given.
12116 if test "${enable_releasemode+set}" = set; then :
12117 enableval
=$enable_releasemode;
12119 enable_releasemode
=no
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
12123 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12124 if test "$enable_releasemode" = "no"; then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12129 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12131 $as_echo "yes" >&6; }
12136 # Do we want temporary databases in memory
12138 # Check whether --enable-tempstore was given.
12139 if test "${enable_tempstore+set}" = set; then :
12140 enableval
=$enable_tempstore;
12142 enable_tempstore
=no
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
12146 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12147 case "$enable_tempstore" in
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
12151 $as_echo "never" >&6; }
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12156 $as_echo "no" >&6; }
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12161 $as_echo "yes" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
12166 $as_echo "always" >&6; }
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12171 $as_echo "no" >&6; }
12178 # Lots of things are different if we are compiling for Windows using
12179 # the CYGWIN environment. So check for that special case and handle
12180 # things accordingly.
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
12183 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12184 if test "$config_BUILD_EXEEXT" = ".exe"; then
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12187 $as_echo "yes" >&6; }
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
12190 $as_echo "unknown" >&6; }
12192 if test "$CYGWIN" != "yes"; then
12195 *cygwin
* ) CYGWIN
=yes;;
12200 if test "$CYGWIN" = "yes"; then
12203 BUILD_EXEEXT
=$EXEEXT
12205 if test x
"$cross_compiling" = xno
; then
12206 TARGET_EXEEXT
=$BUILD_EXEEXT
12208 TARGET_EXEEXT
=$config_TARGET_EXEEXT
12210 if test "$TARGET_EXEEXT" = ".exe"; then
12213 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
12217 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
12226 # Figure out all the parameters needed to compile against Tcl.
12228 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12229 # macros in the in the tcl.m4 file of the standard TCL distribution.
12230 # Those macros could not be used directly since we have to make some
12231 # minor changes to accomodate systems that do not have TCL installed.
12233 # Check whether --enable-tcl was given.
12234 if test "${enable_tcl+set}" = set; then :
12235 enableval
=$enable_tcl; use_tcl
=$enableval
12240 if test "${use_tcl}" = "yes" ; then
12242 # Check whether --with-tcl was given.
12243 if test "${with_tcl+set}" = set; then :
12244 withval
=$with_tcl; with_tclconfig
=${withval}
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
12248 $as_echo_n "checking for Tcl configuration... " >&6; }
12249 if ${ac_cv_c_tclconfig+:} false
; then :
12250 $as_echo_n "(cached) " >&6
12253 # First check to see if --with-tcl was specified.
12254 if test x
"${with_tclconfig}" != x
; then
12255 if test -f "${with_tclconfig}/tclConfig.sh" ; then
12256 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
12258 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
12262 # Start autosearch by asking tclsh
12263 if test x
"${ac_cv_c_tclconfig}" = x
; then
12264 if test x
"$cross_compiling" = xno
; then
12265 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12267 if test -f "$i/tclConfig.sh" ; then
12268 ac_cv_c_tclconfig
="$i"
12275 # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
12276 # So try again after applying corrections.
12277 if test x
"${ac_cv_c_tclconfig}" = x
; then
12278 if test x
"$cross_compiling" = xno
; then
12279 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
12281 if test -f "$i/tclConfig.sh" ; then
12282 ac_cv_c_tclconfig
="$i"
12289 # Recent versions of Xcode on Macs hid the tclConfig.sh file
12290 # in a strange place.
12291 if test x
"${ac_cv_c_tclconfig}" = x
; then
12292 if test x
"$cross_compiling" = xno
; then
12293 for i
in /Applications
/Xcode.app
/Contents
/Developer
/Platforms
/MacOSX.platform
/Developer
/SDKs
/MacOSX
*.sdk
/usr
/lib
12295 if test -f "$i/tclConfig.sh" ; then
12296 ac_cv_c_tclconfig
="$i"
12303 # then check for a private Tcl installation
12304 if test x
"${ac_cv_c_tclconfig}" = x
; then
12307 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12308 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12309 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12311 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12312 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12313 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12315 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12316 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12317 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12319 if test -f "$i/unix/tclConfig.sh" ; then
12320 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12326 # check in a few common install locations
12327 if test x
"${ac_cv_c_tclconfig}" = x
; then
12329 `ls -d ${libdir} 2>/dev/null` \
12330 `ls -d /usr/local/lib 2>/dev/null` \
12331 `ls -d /usr/contrib/lib 2>/dev/null` \
12332 `ls -d /usr/lib 2>/dev/null`
12334 if test -f "$i/tclConfig.sh" ; then
12335 ac_cv_c_tclconfig
=`(cd $i; pwd)`
12341 # check in a few other private locations
12342 if test x
"${ac_cv_c_tclconfig}" = x
; then
12345 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12346 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12347 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12349 if test -f "$i/unix/tclConfig.sh" ; then
12350 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12359 if test x
"${ac_cv_c_tclconfig}" = x
; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
12362 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12364 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12366 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12368 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12370 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12373 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12374 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
12376 $as_echo "loading" >&6; }
12377 .
$TCL_BIN_DIR/tclConfig.sh
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
12380 $as_echo "file not found" >&6; }
12384 # If the TCL_BIN_DIR is the build directory (not the install directory),
12385 # then set the common variable name to the value of the build variables.
12386 # For example, the variable TCL_LIB_SPEC will be set to the value
12387 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12388 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12389 # installed and uninstalled version of Tcl.
12392 if test -f $TCL_BIN_DIR/Makefile
; then
12393 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
12394 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
12395 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
12399 # eval is required to do the TCL_DBGX substitution
12402 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12403 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12404 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12406 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12407 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12408 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12425 if test "${use_tcl}" = "no" ; then
12433 # Figure out what C libraries are required to compile programs
12434 # that use "readline()" library.
12436 TARGET_READLINE_LIBS
=""
12437 TARGET_READLINE_INC
=""
12438 TARGET_HAVE_READLINE
=0
12439 TARGET_HAVE_EDITLINE
=0
12440 # Check whether --enable-editline was given.
12441 if test "${enable_editline+set}" = set; then :
12442 enableval
=$enable_editline; with_editline
=$enableval
12447 # Check whether --enable-readline was given.
12448 if test "${enable_readline+set}" = set; then :
12449 enableval
=$enable_readline; with_readline
=$enableval
12455 if test x
"$with_editline" != xno
; then
12458 TARGET_HAVE_EDITLINE
=1
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
12460 $as_echo_n "checking for library containing readline... " >&6; }
12461 if ${ac_cv_search_readline+:} false
; then :
12462 $as_echo_n "(cached) " >&6
12464 ac_func_search_save_LIBS
=$LIBS
12465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12468 /* Override any GCC internal prototype to avoid an error.
12469 Use char because int might match the return type of a GCC
12470 builtin and then its argument prototype would still apply. */
12478 return readline ();
12483 for ac_lib
in '' edit
; do
12484 if test -z "$ac_lib"; then
12485 ac_res
="none required"
12488 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12490 if ac_fn_c_try_link
"$LINENO"; then :
12491 ac_cv_search_readline
=$ac_res
12493 rm -f core conftest.err conftest.
$ac_objext \
12495 if ${ac_cv_search_readline+:} false
; then :
12499 if ${ac_cv_search_readline+:} false
; then :
12502 ac_cv_search_readline
=no
12504 rm conftest.
$ac_ext
12505 LIBS
=$ac_func_search_save_LIBS
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
12508 $as_echo "$ac_cv_search_readline" >&6; }
12509 ac_res
=$ac_cv_search_readline
12510 if test "$ac_res" != no
; then :
12511 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12514 TARGET_HAVE_EDITLINE
=0
12517 TARGET_READLINE_LIBS
=$LIBS
12520 if test x
"$with_readline" != xno
; then
12524 # Check whether --with-readline-lib was given.
12525 if test "${with_readline_lib+set}" = set; then :
12526 withval
=$with_readline_lib; with_readline_lib
=$withval
12528 with_readline_lib
="auto"
12531 if test "x$with_readline_lib" = xauto
; then
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
12535 $as_echo_n "checking for library containing tgetent... " >&6; }
12536 if ${ac_cv_search_tgetent+:} false
; then :
12537 $as_echo_n "(cached) " >&6
12539 ac_func_search_save_LIBS
=$LIBS
12540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12558 for ac_lib
in '' readline ncurses curses termcap
; do
12559 if test -z "$ac_lib"; then
12560 ac_res
="none required"
12563 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12565 if ac_fn_c_try_link
"$LINENO"; then :
12566 ac_cv_search_tgetent
=$ac_res
12568 rm -f core conftest.err conftest.
$ac_objext \
12570 if ${ac_cv_search_tgetent+:} false
; then :
12574 if ${ac_cv_search_tgetent+:} false
; then :
12577 ac_cv_search_tgetent
=no
12579 rm conftest.
$ac_ext
12580 LIBS
=$ac_func_search_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
12583 $as_echo "$ac_cv_search_tgetent" >&6; }
12584 ac_res
=$ac_cv_search_tgetent
12585 if test "$ac_res" != no
; then :
12586 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
12593 $as_echo_n "checking for readline in -lreadline... " >&6; }
12594 if ${ac_cv_lib_readline_readline+:} false
; then :
12595 $as_echo_n "(cached) " >&6
12597 ac_check_lib_save_LIBS
=$LIBS
12598 LIBS
="-lreadline $LIBS"
12599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12602 /* Override any GCC internal prototype to avoid an error.
12603 Use char because int might match the return type of a GCC
12604 builtin and then its argument prototype would still apply. */
12612 return readline ();
12617 if ac_fn_c_try_link
"$LINENO"; then :
12618 ac_cv_lib_readline_readline
=yes
12620 ac_cv_lib_readline_readline
=no
12622 rm -f core conftest.err conftest.
$ac_objext \
12623 conftest
$ac_exeext conftest.
$ac_ext
12624 LIBS
=$ac_check_lib_save_LIBS
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
12627 $as_echo "$ac_cv_lib_readline_readline" >&6; }
12628 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
12629 TARGET_READLINE_LIBS
="-lreadline"
12634 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
12637 TARGET_READLINE_LIBS
="$with_readline_lib"
12641 # Check whether --with-readline-inc was given.
12642 if test "${with_readline_inc+set}" = set; then :
12643 withval
=$with_readline_inc; with_readline_inc
=$withval
12645 with_readline_inc
="auto"
12648 if test "x$with_readline_inc" = xauto
; then
12649 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
12650 if test "x$ac_cv_header_readline_h" = xyes
; then :
12655 if test "$cross_compiling" != yes; then
12656 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
12657 for subdir
in include include
/readline
; do
12658 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
12660 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
12661 if eval \
${$as_ac_File+:} false
; then :
12662 $as_echo_n "(cached) " >&6
12664 test "$cross_compiling" = yes &&
12665 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
12666 if test -r "$dir/$subdir/readline.h"; then
12667 eval "$as_ac_File=yes"
12669 eval "$as_ac_File=no"
12672 eval ac_res
=\$
$as_ac_File
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12674 $as_echo "$ac_res" >&6; }
12675 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
12679 if test "$found" = "yes"; then
12680 TARGET_READLINE_INC
="-I$dir/$subdir"
12684 test "$found" = "yes" && break
12692 TARGET_READLINE_INC
="$with_readline_inc"
12695 if test x
"$found" = xno
; then
12696 TARGET_READLINE_LIBS
=""
12697 TARGET_READLINE_INC
=""
12698 TARGET_HAVE_READLINE
=0
12700 TARGET_HAVE_READLINE
=1
12710 # Figure out what C libraries are required to compile programs
12711 # that use "fdatasync()" function.
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
12714 $as_echo_n "checking for library containing fdatasync... " >&6; }
12715 if ${ac_cv_search_fdatasync+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_func_search_save_LIBS
=$LIBS
12719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12732 return fdatasync ();
12737 for ac_lib
in '' rt
; do
12738 if test -z "$ac_lib"; then
12739 ac_res
="none required"
12742 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12744 if ac_fn_c_try_link
"$LINENO"; then :
12745 ac_cv_search_fdatasync
=$ac_res
12747 rm -f core conftest.err conftest.
$ac_objext \
12749 if ${ac_cv_search_fdatasync+:} false
; then :
12753 if ${ac_cv_search_fdatasync+:} false
; then :
12756 ac_cv_search_fdatasync
=no
12758 rm conftest.
$ac_ext
12759 LIBS
=$ac_func_search_save_LIBS
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
12762 $as_echo "$ac_cv_search_fdatasync" >&6; }
12763 ac_res
=$ac_cv_search_fdatasync
12764 if test "$ac_res" != no
; then :
12765 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12771 # check for debug enabled
12772 # Check whether --enable-debug was given.
12773 if test "${enable_debug+set}" = set; then :
12774 enableval
=$enable_debug;
12777 if test "${enable_debug}" = "yes" ; then
12778 TARGET_DEBUG
="-DSQLITE_DEBUG=1 -DSQLITE_ENABLE_SELECTTRACE -DSQLITE_ENABLE_WHERETRACE -O0"
12780 TARGET_DEBUG
="-DNDEBUG"
12785 # See whether we should use the amalgamation to build
12786 # Check whether --enable-amalgamation was given.
12787 if test "${enable_amalgamation+set}" = set; then :
12788 enableval
=$enable_amalgamation;
12791 if test "${enable_amalgamation}" == "no" ; then
12797 # Look for zlib. Only needed by extensions and by the sqlite3.exe shell
12798 for ac_header
in zlib.h
12800 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12801 if test "x$ac_cv_header_zlib_h" = xyes
; then :
12802 cat >>confdefs.h
<<_ACEOF
12803 #define HAVE_ZLIB_H 1
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5
12811 $as_echo_n "checking for library containing deflate... " >&6; }
12812 if ${ac_cv_search_deflate+:} false
; then :
12813 $as_echo_n "(cached) " >&6
12815 ac_func_search_save_LIBS
=$LIBS
12816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12834 for ac_lib
in '' z
; do
12835 if test -z "$ac_lib"; then
12836 ac_res
="none required"
12839 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12841 if ac_fn_c_try_link
"$LINENO"; then :
12842 ac_cv_search_deflate
=$ac_res
12844 rm -f core conftest.err conftest.
$ac_objext \
12846 if ${ac_cv_search_deflate+:} false
; then :
12850 if ${ac_cv_search_deflate+:} false
; then :
12853 ac_cv_search_deflate
=no
12855 rm conftest.
$ac_ext
12856 LIBS
=$ac_func_search_save_LIBS
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5
12859 $as_echo "$ac_cv_search_deflate" >&6; }
12860 ac_res
=$ac_cv_search_deflate
12861 if test "$ac_res" != no
; then :
12862 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12863 HAVE_ZLIB
="-DSQLITE_HAVE_ZLIB=1"
12871 # See whether we should allow loadable extensions
12872 # Check whether --enable-load-extension was given.
12873 if test "${enable_load_extension+set}" = set; then :
12874 enableval
=$enable_load_extension;
12876 enable_load_extension
=yes
12879 if test "${enable_load_extension}" = "yes" ; then
12880 OPT_FEATURE_FLAGS
=""
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12882 $as_echo_n "checking for library containing dlopen... " >&6; }
12883 if ${ac_cv_search_dlopen+:} false
; then :
12884 $as_echo_n "(cached) " >&6
12886 ac_func_search_save_LIBS
=$LIBS
12887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 /* Override any GCC internal prototype to avoid an error.
12891 Use char because int might match the return type of a GCC
12892 builtin and then its argument prototype would still apply. */
12905 for ac_lib
in '' dl
; do
12906 if test -z "$ac_lib"; then
12907 ac_res
="none required"
12910 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12912 if ac_fn_c_try_link
"$LINENO"; then :
12913 ac_cv_search_dlopen
=$ac_res
12915 rm -f core conftest.err conftest.
$ac_objext \
12917 if ${ac_cv_search_dlopen+:} false
; then :
12921 if ${ac_cv_search_dlopen+:} false
; then :
12924 ac_cv_search_dlopen
=no
12926 rm conftest.
$ac_ext
12927 LIBS
=$ac_func_search_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12930 $as_echo "$ac_cv_search_dlopen" >&6; }
12931 ac_res
=$ac_cv_search_dlopen
12932 if test "$ac_res" != no
; then :
12933 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12938 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
12942 # Do we want to support memsys3 and/or memsys5
12944 # Check whether --enable-memsys5 was given.
12945 if test "${enable_memsys5+set}" = set; then :
12946 enableval
=$enable_memsys5;
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS5" >&5
12950 $as_echo_n "checking whether to support MEMSYS5... " >&6; }
12951 if test "${enable_memsys5}" = "yes"; then
12952 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS5"
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12954 $as_echo "yes" >&6; }
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957 $as_echo "no" >&6; }
12959 # Check whether --enable-memsys3 was given.
12960 if test "${enable_memsys3+set}" = set; then :
12961 enableval
=$enable_memsys3;
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS3" >&5
12965 $as_echo_n "checking whether to support MEMSYS3... " >&6; }
12966 if test "${enable_memsys3}" = "yes" -a "${enable_memsys5}" = "no"; then
12967 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS3"
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12969 $as_echo "yes" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12976 # See whether we should enable Full Text Search extensions
12977 # Check whether --enable-fts3 was given.
12978 if test "${enable_fts3+set}" = set; then :
12979 enableval
=$enable_fts3;
12982 if test "${enable_fts3}" = "yes" ; then
12983 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS3"
12985 # Check whether --enable-fts4 was given.
12986 if test "${enable_fts4+set}" = set; then :
12987 enableval
=$enable_fts4;
12990 if test "${enable_fts4}" = "yes" ; then
12991 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS4"
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
12993 $as_echo_n "checking for library containing log... " >&6; }
12994 if ${ac_cv_search_log+:} false
; then :
12995 $as_echo_n "(cached) " >&6
12997 ac_func_search_save_LIBS
=$LIBS
12998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13001 /* Override any GCC internal prototype to avoid an error.
13002 Use char because int might match the return type of a GCC
13003 builtin and then its argument prototype would still apply. */
13016 for ac_lib
in '' m
; do
13017 if test -z "$ac_lib"; then
13018 ac_res
="none required"
13021 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13023 if ac_fn_c_try_link
"$LINENO"; then :
13024 ac_cv_search_log
=$ac_res
13026 rm -f core conftest.err conftest.
$ac_objext \
13028 if ${ac_cv_search_log+:} false
; then :
13032 if ${ac_cv_search_log+:} false
; then :
13035 ac_cv_search_log
=no
13037 rm conftest.
$ac_ext
13038 LIBS
=$ac_func_search_save_LIBS
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13041 $as_echo "$ac_cv_search_log" >&6; }
13042 ac_res
=$ac_cv_search_log
13043 if test "$ac_res" != no
; then :
13044 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13049 # Check whether --enable-fts5 was given.
13050 if test "${enable_fts5+set}" = set; then :
13051 enableval
=$enable_fts5;
13054 if test "${enable_fts5}" = "yes" ; then
13055 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS5"
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
13057 $as_echo_n "checking for library containing log... " >&6; }
13058 if ${ac_cv_search_log+:} false
; then :
13059 $as_echo_n "(cached) " >&6
13061 ac_func_search_save_LIBS
=$LIBS
13062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13080 for ac_lib
in '' m
; do
13081 if test -z "$ac_lib"; then
13082 ac_res
="none required"
13085 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13087 if ac_fn_c_try_link
"$LINENO"; then :
13088 ac_cv_search_log
=$ac_res
13090 rm -f core conftest.err conftest.
$ac_objext \
13092 if ${ac_cv_search_log+:} false
; then :
13096 if ${ac_cv_search_log+:} false
; then :
13099 ac_cv_search_log
=no
13101 rm conftest.
$ac_ext
13102 LIBS
=$ac_func_search_save_LIBS
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
13105 $as_echo "$ac_cv_search_log" >&6; }
13106 ac_res
=$ac_cv_search_log
13107 if test "$ac_res" != no
; then :
13108 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13115 # See whether we should enable JSON1
13116 # Check whether --enable-json1 was given.
13117 if test "${enable_json1+set}" = set; then :
13118 enableval
=$enable_json1;
13121 if test "${enable_json1}" = "yes" ; then
13122 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_JSON1"
13126 # See whether we should enable the LIMIT clause on UPDATE and DELETE
13128 # Check whether --enable-update-limit was given.
13129 if test "${enable_update_limit+set}" = set; then :
13130 enableval
=$enable_update_limit;
13133 if test "${enable_udlimit}" = "yes" ; then
13134 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT"
13138 # See whether we should enable GEOPOLY
13139 # Check whether --enable-geopoly was given.
13140 if test "${enable_geopoly+set}" = set; then :
13141 enableval
=$enable_geopoly; enable_geopoly
=yes
13146 if test "${enable_geopoly}" = "yes" ; then
13147 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_GEOPOLY"
13152 # See whether we should enable RTREE
13153 # Check whether --enable-rtree was given.
13154 if test "${enable_rtree+set}" = set; then :
13155 enableval
=$enable_rtree;
13158 if test "${enable_rtree}" = "yes" ; then
13159 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_RTREE"
13163 # See whether we should enable the SESSION extension
13164 # Check whether --enable-session was given.
13165 if test "${enable_session+set}" = set; then :
13166 enableval
=$enable_session;
13169 if test "${enable_session}" = "yes" ; then
13170 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_SESSION"
13171 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_PREUPDATE_HOOK"
13175 # attempt to duplicate any OMITS and ENABLES into the ${OPT_FEATURE_FLAGS} parameter
13176 for option
in $CFLAGS $CPPFLAGS
13179 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13180 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13186 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13188 for option
in $CFLAGS
13192 -DSQLITE_ENABLE*) ;;
13193 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
13196 CFLAGS
=$ac_temp_CFLAGS
13199 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13200 ac_temp_CPPFLAGS
=""
13201 for option
in $CPPFLAGS
13205 -DSQLITE_ENABLE*) ;;
13206 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
13209 CPPFLAGS
=$ac_temp_CPPFLAGS
13212 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13213 ac_temp_BUILD_CFLAGS
=""
13214 for option
in $BUILD_CFLAGS
13218 -DSQLITE_ENABLE*) ;;
13219 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
13222 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
13226 # See whether we should use GCOV
13227 # Check whether --enable-gcov was given.
13228 if test "${enable_gcov+set}" = set; then :
13229 enableval
=$enable_gcov;
13232 if test "${use_gcov}" = "yes" ; then
13241 # Output the config header
13242 ac_config_headers
="$ac_config_headers config.h"
13246 # Generate the output files.
13249 ac_config_files
="$ac_config_files Makefile sqlcipher.pc"
13251 cat >confcache
<<\_ACEOF
13252 # This file is a shell script that caches the results of configure
13253 # tests run on this system so they can be shared between configure
13254 # scripts and configure runs, see configure's option --config-cache.
13255 # It is not useful on other systems. If it contains results you don't
13256 # want to keep, you may remove or edit it.
13258 # config.status only pays attention to the cache file if you give it
13259 # the --recheck option to rerun configure.
13261 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13262 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13263 # following values.
13267 # The following way of writing the cache mishandles newlines in values,
13268 # but we know of no workaround that is simple, portable, and efficient.
13269 # So, we kill variables containing newlines.
13270 # Ultrix sh set writes to stderr and can't be redirected directly,
13271 # and sets the high bit in the cache file unless we assign to the vars.
13273 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13274 eval ac_val
=\$
$ac_var
13278 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13279 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13282 _ | IFS | as_nl
) ;; #(
13283 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13284 *) { eval $ac_var=; unset $ac_var;} ;;
13290 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13291 *${as_nl}ac_space
=\
*)
13292 # `set' does not quote correctly, so add quotes: double-quote
13293 # substitution turns \\\\ into \\, and sed turns \\ into \.
13296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13299 # `set' quotes correctly as required by POSIX, so do not add quotes.
13300 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13309 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13311 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13313 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13314 if test -w "$cache_file"; then
13315 if test "x$cache_file" != "x/dev/null"; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13317 $as_echo "$as_me: updating cache $cache_file" >&6;}
13318 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13319 cat confcache
>"$cache_file"
13321 case $cache_file in #(
13323 mv -f confcache
"$cache_file"$$
&&
13324 mv -f "$cache_file"$$
"$cache_file" ;; #(
13326 mv -f confcache
"$cache_file" ;;
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13332 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13337 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13338 # Let make expand exec_prefix.
13339 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13341 DEFS
=-DHAVE_CONFIG_H
13346 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13347 # 1. Remove the extension, and $U if already installed.
13348 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13349 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13350 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13351 # will be set to the directory where LIBOBJS objects are built.
13352 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13353 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13355 LIBOBJS
=$ac_libobjs
13357 LTLIBOBJS
=$ac_ltlibobjs
13361 : "${CONFIG_STATUS=./config.status}"
13363 ac_clean_files_save
=$ac_clean_files
13364 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13366 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13368 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13370 # Generated by $as_me.
13371 # Run this file to recreate the current configuration.
13372 # Compiler output produced by configure, useful for debugging
13373 # configure, is in config.log if it exists.
13376 ac_cs_recheck=false
13379 SHELL=\${CONFIG_SHELL-$SHELL}
13382 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13383 ## -------------------- ##
13384 ## M4sh Initialization. ##
13385 ## -------------------- ##
13387 # Be more Bourne compatible
13388 DUALCASE
=1; export DUALCASE
# for MKS sh
13389 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13393 # is contrary to our usage. Disable this feature.
13394 alias -g '${1+"$@"}'='"$@"'
13395 setopt NO_GLOB_SUBST
13397 case `(set -o) 2>/dev/null` in #(
13409 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13410 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13411 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13412 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13413 # Prefer a ksh shell builtin over an external printf program on Solaris,
13414 # but without wasting forks for bash or zsh.
13415 if test -z "$BASH_VERSION$ZSH_VERSION" \
13416 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13417 as_echo='print
-r --'
13418 as_echo_n='print
-rn --'
13419 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13420 as_echo='printf %s
\n'
13421 as_echo_n='printf %s
'
13423 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13424 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13425 as_echo_n='/usr
/ucb
/echo -n'
13427 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13428 as_echo_n_body='eval
13432 expr "X$arg" : "X\\(.*\\)$as_nl";
13433 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13435 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13437 export as_echo_n_body
13438 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13440 export as_echo_body
13441 as_echo='sh
-c $as_echo_body as_echo
'
13444 # The user is always right.
13445 if test "${PATH_SEPARATOR+set}" != set; then
13447 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13448 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13455 # We need space, tab and new line, in precisely that order. Quoting is
13456 # there to prevent editors from complaining about space-tab.
13457 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13458 # splitting by setting IFS to empty value.)
13461 # Find who we are. Look in the path if we contain no directory separator.
13464 *[\\/]* ) as_myself=$0 ;;
13465 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13466 for as_dir in $PATH
13469 test -z "$as_dir" && as_dir=.
13470 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13476 # We did not find ourselves, most probably we were run as `sh COMMAND'
13477 # in which case we are not to be found in the path.
13478 if test "x$as_myself" = x
; then
13481 if test ! -f "$as_myself"; then
13482 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13486 # Unset variables that we do not need and which cause bugs (e.g. in
13487 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13488 # suppresses any "Segmentation fault" message there. '((' could
13489 # trigger a bug in pdksh 5.2.14.
13490 for as_var
in BASH_ENV ENV MAIL MAILPATH
13491 do eval test x\
${$as_var+set} = xset \
13492 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13505 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13508 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13509 # ----------------------------------------
13510 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13511 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13512 # script with STATUS, using 1 if that was 0.
13515 as_status
=$1; test $as_status -eq 0 && as_status
=1
13517 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13518 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13520 $as_echo "$as_me: error: $2" >&2
13521 as_fn_exit
$as_status
13525 # as_fn_set_status STATUS
13526 # -----------------------
13527 # Set $? to STATUS, without forking.
13528 as_fn_set_status
()
13531 } # as_fn_set_status
13533 # as_fn_exit STATUS
13534 # -----------------
13535 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13539 as_fn_set_status
$1
13545 # Portably unset VAR.
13548 { eval $1=; unset $1;}
13550 as_unset
=as_fn_unset
13551 # as_fn_append VAR VALUE
13552 # ----------------------
13553 # Append the text in VALUE to the end of the definition contained in VAR. Take
13554 # advantage of any shell optimizations that allow amortized linear growth over
13555 # repeated appends, instead of the typical quadratic growth present in naive
13557 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13558 eval 'as_fn_append ()
13569 # as_fn_arith ARG...
13570 # ------------------
13571 # Perform arithmetic evaluation on the ARGs, and store the result in the
13572 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13573 # must be portable across $(()) and expr.
13574 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13575 eval 'as_fn_arith ()
13582 as_val
=`expr "$@" || test $? -eq 1`
13587 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13588 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13594 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13595 as_basename
=basename
13600 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13606 as_me
=`$as_basename -- "$0" ||
13607 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13608 X"$0" : 'X\(//\)$' \| \
13609 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13611 sed '/^.*\/\([^/][^/]*\)\/*$/{
13625 # Avoid depending upon Character Ranges.
13626 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13627 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13628 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13629 as_cr_digits
='0123456789'
13630 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13632 ECHO_C
= ECHO_N
= ECHO_T
=
13633 case `echo -n x` in #(((((
13635 case `echo 'xy\c'` in
13636 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13638 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13645 rm -f conf$$ conf$$.exe conf$$.
file
13646 if test -d conf$$.dir
; then
13647 rm -f conf$$.dir
/conf$$.
file
13650 mkdir conf$$.dir
2>/dev
/null
13652 if (echo >conf$$.
file) 2>/dev
/null
; then
13653 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13655 # ... but there are two gotchas:
13656 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13657 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13658 # In both cases, we have to default to `cp -pR'.
13659 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13661 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13669 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13670 rmdir conf$$.dir
2>/dev
/null
13675 # Create "$as_dir" as a directory, including parents if necessary.
13680 -*) as_dir
=.
/$as_dir;;
13682 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13686 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13687 *) as_qdir
=$as_dir;;
13689 as_dirs
="'$as_qdir' $as_dirs"
13690 as_dir
=`$as_dirname -- "$as_dir" ||
13691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13692 X"$as_dir" : 'X\(//\)[^/]' \| \
13693 X"$as_dir" : 'X\(//\)$' \| \
13694 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13695 $as_echo X"$as_dir" |
13696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13700 /^X\(\/\/\)[^/].*/{
13713 test -d "$as_dir" && break
13715 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13716 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13720 if mkdir
-p .
2>/dev
/null
; then
13721 as_mkdir_p
='mkdir -p "$as_dir"'
13723 test -d .
/-p && rmdir .
/-p
13728 # as_fn_executable_p FILE
13729 # -----------------------
13730 # Test if FILE is an executable regular file.
13731 as_fn_executable_p
()
13733 test -f "$1" && test -x "$1"
13734 } # as_fn_executable_p
13735 as_test_x
='test -x'
13736 as_executable_p
=as_fn_executable_p
13738 # Sed expression to map a string onto a valid CPP name.
13739 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13741 # Sed expression to map a string onto a valid variable name.
13742 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13746 ## ----------------------------------- ##
13747 ## Main body of $CONFIG_STATUS script. ##
13748 ## ----------------------------------- ##
13750 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13753 # Save the log message, to keep $0 and so on meaningful, and to
13754 # report actual input values of CONFIG_FILES etc. instead of their
13755 # values after options handling.
13757 This file was extended by sqlcipher $as_me 3.25.0, which was
13758 generated by GNU Autoconf 2.69. Invocation command line was
13760 CONFIG_FILES = $CONFIG_FILES
13761 CONFIG_HEADERS = $CONFIG_HEADERS
13762 CONFIG_LINKS = $CONFIG_LINKS
13763 CONFIG_COMMANDS = $CONFIG_COMMANDS
13766 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13771 case $ac_config_files in *"
13772 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13775 case $ac_config_headers in *"
13776 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13781 # Files that config.status was made for.
13782 config_files="$ac_config_files"
13783 config_headers="$ac_config_headers"
13784 config_commands="$ac_config_commands"
13788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13790 \`$as_me' instantiates files and other configuration actions
13791 from templates according to the current configuration. Unless the files
13792 and actions are specified as TAGs, all are instantiated by default.
13794 Usage: $0 [OPTION]... [TAG]...
13796 -h, --help print this help, then exit
13797 -V, --version print version number and configuration settings, then exit
13798 --config print configuration, then exit
13799 -q, --quiet, --silent
13800 do not print progress messages
13801 -d, --debug don't remove temporary files
13802 --recheck update $as_me by reconfiguring in the same conditions
13803 --file=FILE[:TEMPLATE]
13804 instantiate the configuration file FILE
13805 --header=FILE[:TEMPLATE]
13806 instantiate the configuration header FILE
13808 Configuration files:
13811 Configuration headers:
13814 Configuration commands:
13817 Report bugs to the package provider."
13820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13821 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13823 sqlcipher config.status 3.25.0
13824 configured by $0, generated by GNU Autoconf 2.69,
13825 with options \\"\$ac_cs_config\\"
13827 Copyright (C) 2012 Free Software Foundation, Inc.
13828 This config.status script is free software; the Free Software Foundation
13829 gives unlimited permission to copy, distribute and modify it."
13835 test -n "\$AWK" || AWK=awk
13838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13839 # The default lists apply if the user does not specify any file.
13845 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13846 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13850 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13862 # Handling of the options.
13863 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13865 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13866 $as_echo "$ac_cs_version"; exit ;;
13867 --config |
--confi |
--conf |
--con |
--co |
--c )
13868 $as_echo "$ac_cs_config"; exit ;;
13869 --debug |
--debu |
--deb |
--de |
--d |
-d )
13871 --file |
--fil |
--fi |
--f )
13874 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13875 '') as_fn_error $?
"missing file argument" ;;
13877 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13878 ac_need_defaults
=false
;;
13879 --header |
--heade |
--head |
--hea )
13882 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13884 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13885 ac_need_defaults
=false
;;
13887 # Conflict between --help and --header
13888 as_fn_error $?
"ambiguous option: \`$1'
13889 Try \`$0 --help' for more information.";;
13890 --help |
--hel |
-h )
13891 $as_echo "$ac_cs_usage"; exit ;;
13892 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13893 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13896 # This is an error.
13897 -*) as_fn_error $?
"unrecognized option: \`$1'
13898 Try \`$0 --help' for more information." ;;
13900 *) as_fn_append ac_config_targets
" $1"
13901 ac_need_defaults
=false
;;
13907 ac_configure_extra_args
=
13909 if $ac_cs_silent; then
13911 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13916 if \$ac_cs_recheck; then
13917 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13919 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13920 CONFIG_SHELL='$SHELL'
13921 export CONFIG_SHELL
13926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13930 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13931 ## Running $as_me. ##
13937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13943 # The HP-UX ksh and POSIX shell print the target directory to stdout
13944 # if CDPATH is set.
13945 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13947 sed_quote_subst='$sed_quote_subst'
13948 double_quote_subst='$double_quote_subst'
13949 delay_variable_subst='$delay_variable_subst'
13950 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13951 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13952 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13953 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13954 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13955 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13956 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13957 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13958 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13959 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13960 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13961 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13962 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13963 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13964 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13965 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13966 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13967 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13968 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13969 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13970 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13971 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13972 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13973 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13974 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13975 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13976 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13977 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13978 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13979 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13980 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13981 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13982 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13983 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13984 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13985 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13986 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13987 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13988 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13989 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13990 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13991 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13992 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13993 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13994 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13995 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13996 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13997 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13998 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13999 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14000 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14001 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14002 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14003 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14004 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14005 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14006 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14007 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14008 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"`'
14009 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14010 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14011 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14012 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14013 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14014 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14015 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14016 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14017 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14018 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14019 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14020 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14021 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14022 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14023 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14024 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14025 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14026 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14027 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14028 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14029 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14030 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14031 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14032 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14033 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14034 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14035 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14036 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14037 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14038 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14039 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14040 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14041 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14042 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14043 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14044 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14045 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14046 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14047 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14048 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14049 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14050 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14051 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14052 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14053 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14054 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14055 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14056 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14057 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14058 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14059 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14060 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14061 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14062 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14063 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14064 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14065 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14066 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14067 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14068 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14069 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14070 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14071 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14072 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14073 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14074 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14075 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14076 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14077 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14078 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14079 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14080 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14081 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14082 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14083 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14084 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14087 LTCFLAGS='$LTCFLAGS'
14088 compiler='$compiler_DEFAULT'
14090 # A function that is used when there is no print builtin or printf.
14091 func_fallback_echo ()
14093 eval 'cat <<_LTECHO_EOF
14098 # Quote evaled strings.
14113 deplibs_check_method \
14118 sharedlib_from_linklib_cmd \
14121 archiver_list_spec \
14127 lt_cv_sys_global_symbol_pipe \
14128 lt_cv_sys_global_symbol_to_cdecl \
14129 lt_cv_sys_global_symbol_to_import \
14130 lt_cv_sys_global_symbol_to_c_name_address \
14131 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14132 lt_cv_nm_interface \
14133 nm_file_list_spec \
14134 lt_cv_truncate_bin \
14135 lt_prog_compiler_no_builtin_flag \
14136 lt_prog_compiler_pic \
14137 lt_prog_compiler_wl \
14138 lt_prog_compiler_static \
14139 lt_cv_prog_compiler_c_o \
14148 export_dynamic_flag_spec \
14149 whole_archive_flag_spec \
14150 compiler_needs_object \
14152 allow_undefined_flag \
14153 no_undefined_flag \
14154 hardcode_libdir_flag_spec \
14155 hardcode_libdir_separator \
14159 variables_saved_for_relink \
14161 library_names_spec \
14163 install_override_mode \
14167 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14168 *[\\\\\\\`\\"\\\$]*)
14169 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14172 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14177 # Double-quote double-evaled strings.
14178 for var in reload_cmds \
14179 old_postinstall_cmds \
14180 old_postuninstall_cmds \
14182 extract_expsyms_cmds \
14183 old_archive_from_new_cmds \
14184 old_archive_from_expsyms_cmds \
14186 archive_expsym_cmds \
14188 module_expsym_cmds \
14189 export_symbols_cmds \
14193 postuninstall_cmds \
14195 sys_lib_search_path_spec \
14196 configure_time_dlsearch_path \
14197 configure_time_lt_sys_library_path; do
14198 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14199 *[\\\\\\\`\\"\\\$]*)
14200 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14203 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14208 ac_aux_dir='$ac_aux_dir'
14210 # See if we are running on zsh, and set the options that allow our
14211 # commands through without removal of \ escapes INIT.
14212 if test -n "\${ZSH_VERSION+set}"; then
14213 setopt NO_GLOB_SUBST
14227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14229 # Handling of arguments.
14230 for ac_config_target
in $ac_config_targets
14232 case $ac_config_target in
14233 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14234 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14235 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14236 "sqlcipher.pc") CONFIG_FILES
="$CONFIG_FILES sqlcipher.pc" ;;
14238 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14243 # If the user did not use the arguments to specify the items to instantiate,
14244 # then the envvar interface is used. Set only those that are not.
14245 # We use the long form for the default assignment because of an extremely
14246 # bizarre bug on SunOS 4.1.3.
14247 if $ac_need_defaults; then
14248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14249 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14250 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14253 # Have a temporary directory for convenience. Make it in the build tree
14254 # simply because there is no reason against having it here, and in addition,
14255 # creating and moving files from /tmp can sometimes cause problems.
14256 # Hook for its removal unless debugging.
14257 # Note that there is a small window in which the directory will not be cleaned:
14258 # after its creation but before its name has been assigned to `$tmp'.
14262 trap 'exit_status=$?
14263 : "${ac_tmp:=$tmp}"
14264 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14266 trap 'as_fn_exit 1' 1 2 13 15
14268 # Create a (secure) tmp directory for tmp files.
14271 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14275 tmp
=.
/conf$$
-$RANDOM
14276 (umask 077 && mkdir
"$tmp")
14277 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14280 # Set up the scripts for CONFIG_FILES section.
14281 # No need to generate them if there are no CONFIG_FILES.
14282 # This happens for instance with `./config.status config.h'.
14283 if test -n "$CONFIG_FILES"; then
14286 ac_cr
=`echo X | tr X '\015'`
14287 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14288 # But we know of no other shell where ac_cr would be empty at this
14289 # point, so we can use a bashism as a fallback.
14290 if test "x$ac_cr" = x
; then
14291 eval ac_cr
=\$
\'\\r
\'
14293 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14294 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14297 ac_cs_awk_cr
=$ac_cr
14300 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14305 echo "cat >conf$$subs.awk <<_ACEOF" &&
14306 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14308 } >conf$$subs.sh ||
14309 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14310 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14312 for ac_last_try in false false false false false :; do
14313 . ./conf$$subs.sh ||
14314 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14316 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14317 if test $ac_delim_n = $ac_delim_num; then
14319 elif $ac_last_try; then
14320 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14322 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14325 rm -f conf$$subs.sh
14327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14328 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14332 s/^/S["/; s
/!.
*/"]=/
14342 s/\(.\{148\}\)..*/\1/
14344 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14349 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14356 s/\(.\{148\}\)..*/\1/
14358 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14362 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14367 ' <conf$$subs.awk | sed '
14372 ' >>$CONFIG_STATUS || ac_write_fail=1
14373 rm -f conf$$subs.awk
14374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14376 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14377 for (key in S) S_is_set[key] = 1
14383 nfields = split(line, field, "@
")
14385 len = length(field[1])
14386 for (i = 2; i < nfields; i++) {
14388 keylen = length(key)
14389 if (S_is_set[key]) {
14391 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14392 len += length(value) + length(field[++i])
14403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14404 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14405 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14408 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14409 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14412 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14413 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14414 # trailing colons and then remove the whole line if VPATH becomes empty
14415 # (actually we leave an empty line to preserve line numbers).
14416 if test "x
$srcdir" = x.; then
14417 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14436 fi # test -n "$CONFIG_FILES"
14438 # Set up the scripts for CONFIG_HEADERS section.
14439 # No need to generate them if there are no CONFIG_HEADERS.
14440 # This happens for instance with `./config.status Makefile'.
14441 if test -n "$CONFIG_HEADERS"; then
14442 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14446 # Transform confdefs.h into an awk script `defines.awk', embedded as
14447 # here-document in config.status, that substitutes the proper values into
14448 # config.h.in to produce config.h.
14450 # Create a delimiter string that does not exist in confdefs.h, to ease
14451 # handling of long lines.
14453 for ac_last_try in false false :; do
14454 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14455 if test -z "$ac_tt"; then
14457 elif $ac_last_try; then
14458 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14460 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14464 # For the awk script, D is an array of macro values keyed by name,
14465 # likewise P contains macro parameters if any. Preserve backslash
14466 # newline sequences.
14468 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14470 s/.\{148\}/&'"$ac_delim"'/g
14473 s/^[ ]*#[ ]*define[ ][ ]*/ /
14480 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14482 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14486 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14487 D["\
1"]=" \
3\\\\\\n
"\\/p
14489 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14494 s/.\{148\}/&'"$ac_delim"'/g
14499 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14502 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14504 ' <confdefs.h | sed '
14505 s/'"$ac_delim"'/"\\\
14506 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14509 for (key in D) D_is_set[key] = 1
14512 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14514 split(line, arg, " ")
14515 if (arg[1] == "#") {
14519 defundef
= substr
(arg
[1], 2)
14522 split(mac1
, mac2
, "(") #)
14524 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14525 if (D_is_set
[macro
]) {
14526 # Preserve the white space surrounding the "#".
14527 print prefix
"define", macro P
[macro
] D
[macro
]
14530 # Replace #undef with comments. This is necessary, for example,
14531 # in the case of _POSIX_SOURCE, which is predefined and required
14532 # on some systems where configure will not decide to define it.
14533 if (defundef
== "undef") {
14534 print
"/*", prefix defundef
, macro
, "*/"
14542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14543 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14544 fi # test -n "$CONFIG_HEADERS"
14547 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14552 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14554 case $ac_mode$ac_tag in
14556 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14557 :[FH
]-) ac_tag
=-:-;;
14558 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14575 -) ac_f
="$ac_tmp/stdin";;
14576 *) # Look for the file first in the build tree, then in the source tree
14577 # (if the path is not absolute). The absolute path cannot be DOS-style,
14578 # because $ac_f cannot contain `:'.
14582 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14584 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14586 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14587 as_fn_append ac_file_inputs
" '$ac_f'"
14590 # Let's still pretend it is `configure' which instantiates (i.e., don't
14591 # use $as_me), people would be surprised to read:
14592 # /* config.h. Generated by config.status. */
14593 configure_input
='Generated from '`
14594 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14596 if test x
"$ac_file" != x-
; then
14597 configure_input
="$ac_file. $configure_input"
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14599 $as_echo "$as_me: creating $ac_file" >&6;}
14601 # Neutralize special characters interpreted by sed in replacement strings.
14602 case $configure_input in #(
14603 *\
&* |
*\|
* |
*\\* )
14604 ac_sed_conf_input
=`$as_echo "$configure_input" |
14605 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14606 *) ac_sed_conf_input
=$configure_input;;
14610 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14611 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14616 ac_dir
=`$as_dirname -- "$ac_file" ||
14617 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14618 X"$ac_file" : 'X\(//\)[^/]' \| \
14619 X"$ac_file" : 'X\(//\)$' \| \
14620 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14621 $as_echo X"$ac_file" |
14622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14626 /^X\(\/\/\)[^/].*/{
14639 as_dir
="$ac_dir"; as_fn_mkdir_p
14643 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14645 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14646 # A ".." for each directory in $ac_dir_suffix.
14647 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14648 case $ac_top_builddir_sub in
14649 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14650 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14653 ac_abs_top_builddir
=$ac_pwd
14654 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14655 # for backward compatibility:
14656 ac_top_builddir
=$ac_top_build_prefix
14659 .
) # We are building in place.
14661 ac_top_srcdir
=$ac_top_builddir_sub
14662 ac_abs_top_srcdir
=$ac_pwd ;;
14663 [\\/]* | ?
:[\\/]* ) # Absolute name.
14664 ac_srcdir
=$srcdir$ac_dir_suffix;
14665 ac_top_srcdir
=$srcdir
14666 ac_abs_top_srcdir
=$srcdir ;;
14667 *) # Relative name.
14668 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14669 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14670 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14672 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14682 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14683 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14688 # If the template does not know about datarootdir, expand it.
14689 # FIXME: This hack should be removed a few years after 2.60.
14690 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14701 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14702 *datarootdir
*) ac_datarootdir_seen
=yes;;
14703 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14705 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14708 ac_datarootdir_hack='
14709 s&@datadir@&$datadir&g
14710 s&@docdir@&$docdir&g
14711 s&@infodir@&$infodir&g
14712 s&@localedir@&$localedir&g
14713 s&@mandir@&$mandir&g
14714 s&\\\${datarootdir}&$datarootdir&g' ;;
14718 # Neutralize VPATH when `$srcdir' = `.'.
14719 # Shell code in configure.ac might set extrasub.
14720 # FIXME: do we really want to maintain this feature?
14721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14722 ac_sed_extra="$ac_vpsub
14725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14727 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14728 s|@configure_input@|
$ac_sed_conf_input|
;t t
14729 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14730 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14731 s
&@srcdir@
&$ac_srcdir&;t t
14732 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14733 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14734 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14735 s
&@builddir@
&$ac_builddir&;t t
14736 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14737 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14738 s
&@INSTALL@
&$ac_INSTALL&;t t
14739 $ac_datarootdir_hack
14741 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14742 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14745 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14747 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14749 which seems to be undefined. Please make sure it is defined" >&5
14750 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14751 which seems to be undefined. Please make sure it is defined" >&2;}
14753 rm -f "$ac_tmp/stdin"
14755 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14756 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14764 if test x"$ac_file" != x-; then
14766 $as_echo "/* $configure_input */" \
14767 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14768 } >"$ac_tmp/config.h" \
14769 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14770 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14772 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14775 mv "$ac_tmp/config.h" "$ac_file" \
14776 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14779 $as_echo "/* $configure_input */" \
14780 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14781 || as_fn_error $? "could not create -" "$LINENO" 5
14785 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14786 $as_echo "$as_me: executing $ac_file commands" >&6;}
14791 case $ac_file$ac_mode in
14794 # See if we are running on zsh, and set the options that allow our
14795 # commands through without removal of \ escapes.
14796 if test -n "${ZSH_VERSION+set}"; then
14797 setopt NO_GLOB_SUBST
14801 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14804 cat <<_LT_EOF >> "$cfgfile"
14806 # Generated automatically by $as_me ($PACKAGE) $VERSION
14807 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14808 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14810 # Provide generalized library-building support services.
14811 # Written by Gordon Matzigkeit, 1996
14813 # Copyright (C) 2014 Free Software Foundation, Inc.
14814 # This is free software; see the source for copying conditions. There is NO
14815 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14817 # GNU Libtool is free software; you can redistribute it and/or modify
14818 # it under the terms of the GNU General Public License as published by
14819 # the Free Software Foundation; either version 2 of of the License, or
14820 # (at your option) any later version.
14822 # As a special exception to the GNU General Public License, if you
14823 # distribute this file as part of a program or library that is built
14824 # using GNU Libtool, you may include this file under the same
14825 # distribution terms that you use for the rest of that program.
14827 # GNU Libtool is distributed in the hope that it will be useful, but
14828 # WITHOUT ANY WARRANTY; without even the implied warranty of
14829 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14830 # GNU General Public License for more details.
14832 # You should have received a copy of the GNU General Public License
14833 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14836 # The names of the tagged configurations supported by this script.
14839 # Configured defaults for sys_lib_dlsearch_path munging.
14840 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14842 # ### BEGIN LIBTOOL CONFIG
14844 # Which release of libtool.m4 was used?
14845 macro_version=$macro_version
14846 macro_revision=$macro_revision
14848 # Whether or not to build shared libraries.
14849 build_libtool_libs=$enable_shared
14851 # Whether or not to build static libraries.
14852 build_old_libs=$enable_static
14854 # What type of objects to build.
14857 # Whether or not to optimize for fast installation.
14858 fast_install=$enable_fast_install
14860 # Shared archive member basename,for filename based shared library versioning on AIX.
14861 shared_archive_member_spec=$shared_archive_member_spec
14863 # Shell to use when invoking shell scripts.
14866 # An echo program that protects backslashes.
14869 # The PATH separator for the build system.
14870 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14873 host_alias=$host_alias
14877 # The build system.
14878 build_alias=$build_alias
14882 # A sed program that does not truncate output.
14885 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14886 Xsed="\$SED -e 1s/^X//"
14888 # A grep program that handles long lines.
14894 # A literal string matcher.
14897 # A BSD- or MS-compatible name lister.
14900 # Whether we need soft or hard links.
14903 # What is the maximum length of a command?
14904 max_cmd_len=$max_cmd_len
14906 # Object file suffix (normally "o").
14909 # Executable file suffix (normally "").
14912 # whether the shell understands "unset".
14915 # turn spaces into newlines.
14918 # turn newlines into spaces.
14921 # convert \$build file names to \$host format.
14922 to_host_file_cmd=$lt_cv_to_host_file_cmd
14924 # convert \$build files to toolchain format.
14925 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14927 # An object symbol dumper.
14928 OBJDUMP=$lt_OBJDUMP
14930 # Method to check whether dependent libraries are shared objects.
14931 deplibs_check_method=$lt_deplibs_check_method
14933 # Command to use when deplibs_check_method = "file_magic".
14934 file_magic_cmd=$lt_file_magic_cmd
14936 # How to find potential files when deplibs_check_method = "file_magic".
14937 file_magic_glob=$lt_file_magic_glob
14939 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14940 want_nocaseglob=$lt_want_nocaseglob
14942 # DLL creation program.
14943 DLLTOOL=$lt_DLLTOOL
14945 # Command to associate shared and link libraries.
14946 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14951 # Flags to create an archive.
14952 AR_FLAGS=$lt_AR_FLAGS
14954 # How to feed a file listing to the archiver.
14955 archiver_list_spec=$lt_archiver_list_spec
14957 # A symbol stripping program.
14960 # Commands used to install an old-style archive.
14962 old_postinstall_cmds=$lt_old_postinstall_cmds
14963 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14965 # Whether to use a lock for old archive extraction.
14966 lock_old_archive_extraction=$lock_old_archive_extraction
14971 # LTCC compiler flags.
14972 LTCFLAGS=$lt_CFLAGS
14974 # Take the output of nm and produce a listing of raw symbols and C names.
14975 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14977 # Transform the output of nm in a proper C declaration.
14978 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14980 # Transform the output of nm into a list of symbols to manually relocate.
14981 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14983 # Transform the output of nm in a C name address pair.
14984 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14986 # Transform the output of nm in a C name address pair when lib prefix is needed.
14987 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14989 # The name lister interface.
14990 nm_interface=$lt_lt_cv_nm_interface
14992 # Specify filename containing input files for \$NM.
14993 nm_file_list_spec=$lt_nm_file_list_spec
14995 # The root where to search for dependent libraries,and where our libraries should be installed.
14996 lt_sysroot=$lt_sysroot
14998 # Command to truncate a binary pipe.
14999 lt_truncate_bin=$lt_lt_cv_truncate_bin
15001 # The name of the directory that contains temporary libtool files.
15004 # Used to examine libraries when file_magic_cmd begins with "file".
15005 MAGIC_CMD=$MAGIC_CMD
15007 # Must we lock files when doing compilation?
15008 need_locks=$lt_need_locks
15011 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15013 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15014 DSYMUTIL=$lt_DSYMUTIL
15016 # Tool to change global to local symbols on Mac OS X.
15019 # Tool to manipulate fat objects and archives on Mac OS X.
15022 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15025 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15026 OTOOL64=$lt_OTOOL64
15028 # Old archive suffix (normally "a").
15031 # Shared library suffix (normally ".so").
15032 shrext_cmds=$lt_shrext_cmds
15034 # The commands to extract the exported symbol list from a shared archive.
15035 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15037 # Variables whose values should be saved in libtool wrapper scripts and
15038 # restored at link time.
15039 variables_saved_for_relink=$lt_variables_saved_for_relink
15041 # Do we need the "lib" prefix for modules?
15042 need_lib_prefix=$need_lib_prefix
15044 # Do we need a version for libraries?
15045 need_version=$need_version
15047 # Library versioning type.
15048 version_type=$version_type
15050 # Shared library runtime path variable.
15051 runpath_var=$runpath_var
15053 # Shared library path variable.
15054 shlibpath_var=$shlibpath_var
15056 # Is shlibpath searched before the hard-coded library search path?
15057 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15059 # Format of library name prefix.
15060 libname_spec=$lt_libname_spec
15062 # List of archive names. First name is the real one, the rest are links.
15063 # The last name is the one that the linker finds with -lNAME
15064 library_names_spec=$lt_library_names_spec
15066 # The coded name of the library, if different from the real name.
15067 soname_spec=$lt_soname_spec
15069 # Permission mode override for installation of shared libraries.
15070 install_override_mode=$lt_install_override_mode
15072 # Command to use after installation of a shared archive.
15073 postinstall_cmds=$lt_postinstall_cmds
15075 # Command to use after uninstallation of a shared archive.
15076 postuninstall_cmds=$lt_postuninstall_cmds
15078 # Commands used to finish a libtool library installation in a directory.
15079 finish_cmds=$lt_finish_cmds
15081 # As "finish_cmds", except a single script fragment to be evaled but
15083 finish_eval=$lt_finish_eval
15085 # Whether we should hardcode library paths into libraries.
15086 hardcode_into_libs=$hardcode_into_libs
15088 # Compile-time system search path for libraries.
15089 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15091 # Detected run-time system search path for libraries.
15092 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15094 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15095 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15097 # Whether dlopen is supported.
15098 dlopen_support=$enable_dlopen
15100 # Whether dlopen of programs is supported.
15101 dlopen_self=$enable_dlopen_self
15103 # Whether dlopen of statically linked programs is supported.
15104 dlopen_self_static=$enable_dlopen_self_static
15106 # Commands to strip libraries.
15107 old_striplib=$lt_old_striplib
15108 striplib=$lt_striplib
15111 # The linker used to build libraries.
15114 # How to create reloadable object files.
15115 reload_flag=$lt_reload_flag
15116 reload_cmds=$lt_reload_cmds
15118 # Commands used to build an old-style archive.
15119 old_archive_cmds=$lt_old_archive_cmds
15121 # A language specific compiler.
15124 # Is the compiler the GNU compiler?
15127 # Compiler flag to turn off builtin functions.
15128 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15130 # Additional compiler flags for building library objects.
15131 pic_flag=$lt_lt_prog_compiler_pic
15133 # How to pass a linker flag through the compiler.
15134 wl=$lt_lt_prog_compiler_wl
15136 # Compiler flag to prevent dynamic linking.
15137 link_static_flag=$lt_lt_prog_compiler_static
15139 # Does compiler simultaneously support -c and -o options?
15140 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15142 # Whether or not to add -lc for building shared libraries.
15143 build_libtool_need_lc=$archive_cmds_need_lc
15145 # Whether or not to disallow shared libs when runtime libs are static.
15146 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15148 # Compiler flag to allow reflexive dlopens.
15149 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15151 # Compiler flag to generate shared objects directly from archives.
15152 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15154 # Whether the compiler copes with passing no objects directly.
15155 compiler_needs_object=$lt_compiler_needs_object
15157 # Create an old-style archive from a shared archive.
15158 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15160 # Create a temporary old-style archive to link instead of a shared archive.
15161 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15163 # Commands used to build a shared archive.
15164 archive_cmds=$lt_archive_cmds
15165 archive_expsym_cmds=$lt_archive_expsym_cmds
15167 # Commands used to build a loadable module if different from building
15168 # a shared archive.
15169 module_cmds=$lt_module_cmds
15170 module_expsym_cmds=$lt_module_expsym_cmds
15172 # Whether we are building with GNU ld or not.
15173 with_gnu_ld=$lt_with_gnu_ld
15175 # Flag that allows shared libraries with undefined symbols to be built.
15176 allow_undefined_flag=$lt_allow_undefined_flag
15178 # Flag that enforces no undefined symbols.
15179 no_undefined_flag=$lt_no_undefined_flag
15181 # Flag to hardcode \$libdir into a binary during linking.
15182 # This must work even if \$libdir does not exist
15183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15185 # Whether we need a single "-rpath" flag with a separated argument.
15186 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15188 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15189 # DIR into the resulting binary.
15190 hardcode_direct=$hardcode_direct
15192 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15193 # DIR into the resulting binary and the resulting library dependency is
15194 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15195 # library is relocated.
15196 hardcode_direct_absolute=$hardcode_direct_absolute
15198 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15199 # into the resulting binary.
15200 hardcode_minus_L=$hardcode_minus_L
15202 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15203 # into the resulting binary.
15204 hardcode_shlibpath_var=$hardcode_shlibpath_var
15206 # Set to "yes" if building a shared library automatically hardcodes DIR
15207 # into the library and all subsequent libraries and executables linked
15209 hardcode_automatic=$hardcode_automatic
15211 # Set to yes if linker adds runtime paths of dependent libraries
15212 # to runtime path list.
15213 inherit_rpath=$inherit_rpath
15215 # Whether libtool must link a program against all its dependency libraries.
15216 link_all_deplibs=$link_all_deplibs
15218 # Set to "yes" if exported symbols are required.
15219 always_export_symbols=$always_export_symbols
15221 # The commands to list exported symbols.
15222 export_symbols_cmds=$lt_export_symbols_cmds
15224 # Symbols that should not be listed in the preloaded symbols.
15225 exclude_expsyms=$lt_exclude_expsyms
15227 # Symbols that must always be exported.
15228 include_expsyms=$lt_include_expsyms
15230 # Commands necessary for linking programs (against libraries) with templates.
15231 prelink_cmds=$lt_prelink_cmds
15233 # Commands necessary for finishing linking programs.
15234 postlink_cmds=$lt_postlink_cmds
15236 # Specify filename containing input files.
15237 file_list_spec=$lt_file_list_spec
15239 # How to hardcode a shared library path into an executable.
15240 hardcode_action=$hardcode_action
15242 # ### END LIBTOOL CONFIG
15246 cat <<'_LT_EOF' >> "$cfgfile"
15248 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15250 # func_munge_path_list VARIABLE PATH
15251 # -----------------------------------
15252 # VARIABLE is name of variable containing _space_ separated list of
15253 # directories to be munged by the contents of PATH, which is string
15256 # string "DIR[ DIR]" will be prepended to VARIABLE
15258 # string "DIR[ DIR]" will be appended to VARIABLE
15259 # "DIRP[:DIRP]::[DIRA:]DIRA"
15260 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15261 # "DIRA[ DIRA]" will be appended to VARIABLE
15263 # VARIABLE will be replaced by "DIR[ DIR]"
15264 func_munge_path_list ()
15270 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'` \$$1\"
15273 eval $1=\"\$$1 `$ECHO $2 | $SED 's
/:/ /g
'`\"
15276 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's
/.
*:://' -e 's
/:/ /g
'`\"
15277 eval $1=\"`$ECHO $2 | $SED -e 's
/::.
*//' -e 's
/:/ /g
'`\ \$$1\"
15280 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'`\"
15286 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15287 func_cc_basename ()
15289 for cc_temp in $*""; do
15291 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15292 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15297 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15301 # ### END FUNCTIONS SHARED WITH CONFIGURE
15307 cat <<\_LT_EOF >> "$cfgfile"
15308 # AIX sometimes has problems with the GCC collect2 program. For some
15309 # reason, if we set the COLLECT_NAMES environment variable, the problems
15310 # vanish in a puff of smoke.
15311 if test set != "${COLLECT_NAMES+set}"; then
15313 export COLLECT_NAMES
15320 ltmain=$ac_aux_dir/ltmain.sh
15323 # We use sed instead of cat because bash on DJGPP gets confused if
15324 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15325 # text mode, it properly converts lines to CR/LF. This bash problem
15326 # is reportedly fixed, but why not run on old versions too?
15327 sed '$q' "$ltmain" >> "$cfgfile" \
15328 || (rm -f "$cfgfile"; exit 1)
15330 mv -f "$cfgfile" "$ofile" ||
15331 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15342 ac_clean_files=$ac_clean_files_save
15344 test $ac_write_fail = 0 ||
15345 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15348 # configure is writing to config.log, and then calls config.status.
15349 # config.status does its own redirection, appending to config.log.
15350 # Unfortunately, on DOS this fails, as config.log is still kept open
15351 # by configure, so config.status won't be able to
write to it
; its
15352 # output is simply discarded. So we exec the FD to /dev/null,
15353 # effectively closing config.log, so it can be properly (re)opened and
15354 # appended to by config.status. When coming back to configure, we
15355 # need to make the FD available again.
15356 if test "$no_create" != yes; then
15358 ac_config_status_args
=
15359 test "$silent" = yes &&
15360 ac_config_status_args
="$ac_config_status_args --quiet"
15362 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15364 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15365 # would make configure fail if this is the last instruction.
15366 $ac_cs_success || as_fn_exit
1
15368 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15370 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}