2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlcipher 3.11.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.11.0'
591 PACKAGE_STRING
='sqlcipher 3.11.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
739 program_transform_name
752 enable_option_checking
764 enable_cross_thread_connections
775 enable_load_extension
783 ac_precious_vars
='build_alias
796 # Initialize some variables set by options.
798 ac_init_version
=false
799 ac_unrecognized_opts
=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name
=s
,x
,x
,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir
='${exec_prefix}/bin'
825 sbindir
='${exec_prefix}/sbin'
826 libexecdir
='${exec_prefix}/libexec'
827 datarootdir
='${prefix}/share'
828 datadir
='${datarootdir}'
829 sysconfdir
='${prefix}/etc'
830 sharedstatedir
='${prefix}/com'
831 localstatedir
='${prefix}/var'
832 includedir
='${prefix}/include'
833 oldincludedir
='/usr/include'
834 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir
='${datarootdir}/info'
840 libdir
='${exec_prefix}/lib'
841 localedir
='${datarootdir}/locale'
842 mandir
='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\
$ac_option
856 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861 # Accept the important Cygnus configure options, so we can diagnose typos.
863 case $ac_dashdash$ac_option in
867 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
869 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
872 -build |
--build |
--buil |
--bui |
--bu)
873 ac_prev
=build_alias
;;
874 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
875 build_alias
=$ac_optarg ;;
877 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
878 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
879 ac_prev
=cache_file
;;
880 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
881 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
882 cache_file
=$ac_optarg ;;
885 cache_file
=config.cache
;;
887 -datadir |
--datadir |
--datadi |
--datad)
889 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
890 datadir
=$ac_optarg ;;
892 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
893 |
--dataroo |
--dataro |
--datar)
894 ac_prev
=datarootdir
;;
895 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
896 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
897 datarootdir
=$ac_optarg ;;
899 -disable-* |
--disable-*)
900 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
903 as_fn_error $?
"invalid feature name: $ac_useropt"
904 ac_useropt_orig
=$ac_useropt
905 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
910 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911 ac_unrecognized_sep
=', ';;
913 eval enable_
$ac_useropt=no
;;
915 -docdir |
--docdir |
--docdi |
--doc |
--do)
917 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
920 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
922 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
925 -enable-* |
--enable-*)
926 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
929 as_fn_error $?
"invalid feature name: $ac_useropt"
930 ac_useropt_orig
=$ac_useropt
931 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937 ac_unrecognized_sep
=', ';;
939 eval enable_
$ac_useropt=\
$ac_optarg ;;
941 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
942 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
943 |
--exec |
--exe |
--ex)
944 ac_prev
=exec_prefix
;;
945 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
946 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
947 |
--exec=* |
--exe=* |
--ex=*)
948 exec_prefix
=$ac_optarg ;;
950 -gas |
--gas |
--ga |
--g)
951 # Obsolete; use --with-gas.
954 -help |
--help |
--hel |
--he |
-h)
956 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
957 ac_init_help
=recursive
;;
958 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
959 ac_init_help
=short
;;
961 -host |
--host |
--hos |
--ho)
962 ac_prev
=host_alias
;;
963 -host=* |
--host=* |
--hos=* |
--ho=*)
964 host_alias
=$ac_optarg ;;
966 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
968 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
970 htmldir
=$ac_optarg ;;
972 -includedir |
--includedir |
--includedi |
--included |
--include \
973 |
--includ |
--inclu |
--incl |
--inc)
974 ac_prev
=includedir
;;
975 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
976 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
977 includedir
=$ac_optarg ;;
979 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
981 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
982 infodir
=$ac_optarg ;;
984 -libdir |
--libdir |
--libdi |
--libd)
986 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
989 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
990 |
--libexe |
--libex |
--libe)
991 ac_prev
=libexecdir
;;
992 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
993 |
--libexe=* |
--libex=* |
--libe=*)
994 libexecdir
=$ac_optarg ;;
996 -localedir |
--localedir |
--localedi |
--localed |
--locale)
998 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
999 localedir
=$ac_optarg ;;
1001 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1002 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1003 ac_prev
=localstatedir
;;
1004 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1005 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1006 localstatedir
=$ac_optarg ;;
1008 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1010 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1011 mandir
=$ac_optarg ;;
1013 -nfp |
--nfp |
--nf)
1014 # Obsolete; use --without-fp.
1017 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1018 |
--no-cr |
--no-c |
-n)
1021 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1022 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1025 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1026 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1027 |
--oldin |
--oldi |
--old |
--ol |
--o)
1028 ac_prev
=oldincludedir
;;
1029 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1030 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1031 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1032 oldincludedir
=$ac_optarg ;;
1034 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1036 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1037 prefix
=$ac_optarg ;;
1039 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1040 |
--program-pre |
--program-pr |
--program-p)
1041 ac_prev
=program_prefix
;;
1042 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1043 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1044 program_prefix
=$ac_optarg ;;
1046 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1047 |
--program-suf |
--program-su |
--program-s)
1048 ac_prev
=program_suffix
;;
1049 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1050 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1051 program_suffix
=$ac_optarg ;;
1053 -program-transform-name |
--program-transform-name \
1054 |
--program-transform-nam |
--program-transform-na \
1055 |
--program-transform-n |
--program-transform- \
1056 |
--program-transform |
--program-transfor \
1057 |
--program-transfo |
--program-transf \
1058 |
--program-trans |
--program-tran \
1059 |
--progr-tra |
--program-tr |
--program-t)
1060 ac_prev
=program_transform_name
;;
1061 -program-transform-name=* |
--program-transform-name=* \
1062 |
--program-transform-nam=* |
--program-transform-na=* \
1063 |
--program-transform-n=* |
--program-transform-=* \
1064 |
--program-transform=* |
--program-transfor=* \
1065 |
--program-transfo=* |
--program-transf=* \
1066 |
--program-trans=* |
--program-tran=* \
1067 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1068 program_transform_name
=$ac_optarg ;;
1070 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1072 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1073 pdfdir
=$ac_optarg ;;
1075 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1077 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1081 |
-silent |
--silent |
--silen |
--sile |
--sil)
1084 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1086 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1088 sbindir
=$ac_optarg ;;
1090 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1091 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1092 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1094 ac_prev
=sharedstatedir
;;
1095 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1096 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1097 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1099 sharedstatedir
=$ac_optarg ;;
1101 -site |
--site |
--sit)
1103 -site=* |
--site=* |
--sit=*)
1106 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1108 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1109 srcdir
=$ac_optarg ;;
1111 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1112 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1113 ac_prev
=sysconfdir
;;
1114 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1115 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1116 sysconfdir
=$ac_optarg ;;
1118 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1119 ac_prev
=target_alias
;;
1120 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1121 target_alias
=$ac_optarg ;;
1123 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1126 -version |
--version |
--versio |
--versi |
--vers |
-V)
1127 ac_init_version
=: ;;
1130 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1133 as_fn_error $?
"invalid package name: $ac_useropt"
1134 ac_useropt_orig
=$ac_useropt
1135 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141 ac_unrecognized_sep
=', ';;
1143 eval with_
$ac_useropt=\
$ac_optarg ;;
1145 -without-* |
--without-*)
1146 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1149 as_fn_error $?
"invalid package name: $ac_useropt"
1150 ac_useropt_orig
=$ac_useropt
1151 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152 case $ac_user_opts in
1156 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157 ac_unrecognized_sep
=', ';;
1159 eval with_
$ac_useropt=no
;;
1162 # Obsolete; use --with-x.
1165 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1166 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1167 ac_prev
=x_includes
;;
1168 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1169 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1170 x_includes
=$ac_optarg ;;
1172 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1173 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1174 ac_prev
=x_libraries
;;
1175 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1176 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1177 x_libraries
=$ac_optarg ;;
1179 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1180 Try \`$0 --help' for more information"
1184 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1185 # Reject names that are not valid shell variable names.
1186 case $ac_envvar in #(
1187 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1188 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1190 eval $ac_envvar=\
$ac_optarg
1191 export $ac_envvar ;;
1194 # FIXME: should be removed in autoconf 3.0.
1195 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1197 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204 if test -n "$ac_prev"; then
1205 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1206 as_fn_error $?
"missing argument to $ac_option"
1209 if test -n "$ac_unrecognized_opts"; then
1210 case $enable_option_checking in
1212 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1213 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1217 # Check all directory arguments for consistency.
1218 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219 datadir sysconfdir sharedstatedir localstatedir includedir \
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221 libdir localedir mandir
1223 eval ac_val
=\$
$ac_var
1224 # Remove trailing slashes.
1227 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228 eval $ac_var=\
$ac_val;;
1230 # Be sure to have absolute directory names.
1232 [\\/$
]* | ?
:[\\/]* ) continue;;
1233 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1235 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1238 # There might be people who depend on the old broken behavior: `$host'
1239 # used to hold the argument of --host etc.
1240 # FIXME: To remove some day.
1243 target
=$target_alias
1245 # FIXME: To remove some day.
1246 if test "x$host_alias" != x
; then
1247 if test "x$build_alias" = x
; then
1248 cross_compiling
=maybe
1249 elif test "x$build_alias" != "x$host_alias"; then
1255 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1257 test "$silent" = yes && exec 6>/dev
/null
1260 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1261 ac_ls_di
=`ls -di .` &&
1262 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1263 as_fn_error $?
"working directory cannot be determined"
1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1265 as_fn_error $?
"pwd does not report name of working directory"
1268 # Find the source files, if location was not specified.
1269 if test -z "$srcdir"; then
1270 ac_srcdir_defaulted
=yes
1271 # Try the directory containing this script, then the parent directory.
1272 ac_confdir
=`$as_dirname -- "$as_myself" ||
1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1274 X"$as_myself" : 'X\(//\)[^/]' \| \
1275 X"$as_myself" : 'X\(//\)$' \| \
1276 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1277 $as_echo X"$as_myself" |
1278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1300 ac_srcdir_defaulted
=no
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1303 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1304 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1306 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1308 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1310 # When building in place, set srcdir=.
1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
1314 # Remove unnecessary trailing slashes from srcdir.
1315 # Double slashes in file names in object file debugging info
1316 # mess up M-x gdb in Emacs.
1318 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1320 for ac_var
in $ac_precious_vars; do
1321 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1323 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1324 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1328 # Report the --help message.
1330 if test "$ac_init_help" = "long"; then
1331 # Omit some internal or obsolete options to make the list less imposing.
1332 # This message is too long to be a string in the A/UX 3.1 sh.
1334 \`configure' configures sqlcipher 3.11.0 to adapt to many kinds of systems.
1336 Usage: $0 [OPTION]... [VAR=VALUE]...
1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1339 VAR=VALUE. See below for descriptions of some of the useful variables.
1341 Defaults for the options are specified in brackets.
1344 -h, --help display this help and exit
1345 --help=short display options specific to this package
1346 --help=recursive display the short help of all the included packages
1347 -V, --version display version information and exit
1348 -q, --quiet, --silent do not print \`checking ...' messages
1349 --cache-file=FILE cache test results in FILE [disabled]
1350 -C, --config-cache alias for \`--cache-file=config.cache'
1351 -n, --no-create do not create output files
1352 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1354 Installation directories:
1355 --prefix=PREFIX install architecture-independent files in PREFIX
1356 [$ac_default_prefix]
1357 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1360 By default, \`make install' will install all the files in
1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1363 for instance \`--prefix=\$HOME'.
1365 For better control, use the options below.
1367 Fine tuning of the installation directories:
1368 --bindir=DIR user executables [EPREFIX/bin]
1369 --sbindir=DIR system admin executables [EPREFIX/sbin]
1370 --libexecdir=DIR program executables [EPREFIX/libexec]
1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1374 --libdir=DIR object code libraries [EPREFIX/lib]
1375 --includedir=DIR C header files [PREFIX/include]
1376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1379 --infodir=DIR info documentation [DATAROOTDIR/info]
1380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1381 --mandir=DIR man documentation [DATAROOTDIR/man]
1382 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlcipher]
1383 --htmldir=DIR html documentation [DOCDIR]
1384 --dvidir=DIR dvi documentation [DOCDIR]
1385 --pdfdir=DIR pdf documentation [DOCDIR]
1386 --psdir=DIR ps documentation [DOCDIR]
1392 --build=BUILD configure
for building on BUILD
[guessed
]
1393 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive
) echo "Configuration of sqlcipher 3.11.0:";;
1404 --disable-option-checking ignore unrecognized
--enable/--with options
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1408 --enable-static[=PKGS
] build static libraries
[default
=yes]
1409 --enable-fast-install[=PKGS
]
1410 optimize
for fast installation
[default
=yes]
1411 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1412 --disable-largefile omit support
for large files
1413 --disable-threadsafe Disable mutexing
1414 --enable-cross-thread-connections
1415 Allow connection sharing across threads
1416 --enable-releasemode Support libtool link to release mode
1417 --enable-tempstore Use an in-ram database
for temporary tables
1418 (never
,no
,yes,always
)
1419 --disable-tcl do not build TCL extension
1420 --enable-editline enable BSD editline support
1421 --disable-readline disable readline support
1422 --enable-debug enable debugging
& verbose explain
1423 --disable-amalgamation Disable the amalgamation and instead build all files
1425 --disable-load-extension
1426 Disable loading of external extensions
1427 --enable-fts3 Enable the FTS3 extension
1428 --enable-fts4 Enable the FTS4 extension
1429 --enable-fts5 Enable the FTS5 extension
1430 --enable-json1 Enable the JSON1 extension
1431 --enable-rtree Enable the RTREE extension
1432 --enable-gcov Enable coverage testing using gcov
1435 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1436 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1437 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1439 --with-aix-soname=aix|svr4|both
1440 shared library versioning
(aka
"SONAME") variant to
1441 provide on AIX
, [default
=aix
].
1442 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1443 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1444 compiler
's sysroot if not specified).
1445 --with-crypto-lib Specify which crypto library to use
1446 --with-tcl=DIR directory containing tcl configuration
1448 --with-readline-lib specify readline library
1449 --with-readline-inc specify readline include paths
1451 Some influential environment variables:
1452 CC C compiler command
1453 CFLAGS C compiler flags
1454 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1455 nonstandard directory <lib dir>
1456 LIBS libraries to pass to the linker, e.g. -l<library>
1457 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1458 you have headers in a nonstandard directory <include dir>
1460 User-defined run-time library search path.
1462 TCLLIBDIR Where to install tcl plugin
1464 Use these variables to override the choices made by `configure' or to
help
1465 it to
find libraries and programs with nonstandard names
/locations.
1467 Report bugs to the package provider.
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1475 test -d "$ac_dir" ||
1476 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1481 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1483 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1488 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1491 ac_abs_top_builddir
=$ac_pwd
1492 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir
=$ac_top_build_prefix
1497 .
) # We are building in place.
1499 ac_top_srcdir
=$ac_top_builddir_sub
1500 ac_abs_top_srcdir
=$ac_pwd ;;
1501 [\\/]* | ?
:[\\/]* ) # Absolute name.
1502 ac_srcdir
=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir
=$srcdir
1504 ac_abs_top_srcdir
=$srcdir ;;
1506 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1510 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1530 sqlcipher configure
3.11.0
1531 generated by GNU Autoconf
2.69
1533 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1534 This configure
script is free software
; the Free Software Foundation
1535 gives unlimited permission to copy
, distribute and modify it.
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile
()
1549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1550 rm -f conftest.
$ac_objext
1551 if { { ac_try
="$ac_compile"
1553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_compile") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest.$ac_objext; then :
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1580 } # ac_fn_c_try_compile
1582 # ac_fn_c_try_link LINENO
1583 # -----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded.
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext conftest$ac_exeext
1589 if { { ac_try="$ac_link"
1591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1592 *) ac_try_echo
=$ac_try;;
1594 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>conftest.err
1598 if test -s conftest.err
; then
1599 grep -v '^ *+' conftest.err
>conftest.er1
1600 cat conftest.er1
>&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest
$ac_exeext && {
1608 test "$cross_compiling" = yes ||
1609 test -x conftest
$ac_exeext
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.
$ac_ext >&5
1618 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1619 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1620 # interfere with the next link command; also delete a directory that is
1621 # left behind by Apple's compiler. We do this before executing the actions.
1622 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status
$ac_retval
1626 } # ac_fn_c_try_link
1628 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1629 # -------------------------------------------------------
1630 # Tests whether HEADER exists and can be compiled using the include files in
1631 # INCLUDES, setting the cache variable VAR accordingly.
1632 ac_fn_c_check_header_compile
()
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if eval \
${$3+:} false
; then :
1638 $as_echo_n "(cached) " >&6
1640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1645 if ac_fn_c_try_compile
"$LINENO"; then :
1650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 } # ac_fn_c_check_header_compile
1659 # ac_fn_c_try_cpp LINENO
1660 # ----------------------
1661 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1664 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1665 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1674 if test -s conftest.err; then
1675 grep -v '^ *+' conftest.err >conftest.er1
1676 cat conftest.er1 >&5
1677 mv -f conftest.er1 conftest.err
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } > conftest.i && {
1681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 as_fn_set_status $ac_retval
1696 # ac_fn_c_try_run LINENO
1697 # ----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699 # that executables *can* be run.
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if { { ac_try="$ac_link"
1705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1706 *) ac_try_echo
=$ac_try;;
1708 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_link") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1714 { { case "(($ac_try" in
1715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_try") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; }; }; then :
1726 $as_echo "$as_me: program exited with status $ac_status" >&5
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1730 ac_retval=$ac_status
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status $ac_retval
1738 # ac_fn_c_check_func LINENO FUNC VAR
1739 # ----------------------------------
1740 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1741 ac_fn_c_check_func ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval \${$3+:} false; then :
1747 $as_echo_n "(cached) " >&6
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1751 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1753 #define $2 innocuous_$2
1755 /* System header to define __stub macros and hopefully few prototypes,
1756 which can conflict with char $2 (); below.
1757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1758 <limits.h> exists even on freestanding compilers. */
1761 # include <limits.h>
1763 # include <assert.h>
1768 /* Override any GCC internal prototype to avoid an error.
1769 Use char because int might match the return type of a GCC
1770 builtin and then its argument prototype would still apply. */
1775 /* The GNU C library defines this for functions which it implements
1776 to always fail with ENOSYS. Some functions are actually named
1777 something starting with __ and the normal name is an alias. */
1778 #if defined __stub_$2 || defined __stub___$2
1790 if ac_fn_c_try_link "$LINENO"; then :
1795 rm -f core conftest.err conftest.$ac_objext \
1796 conftest$ac_exeext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 $as_echo "$ac_res" >&6; }
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 } # ac_fn_c_check_func
1805 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1806 # -------------------------------------------
1807 # Tests whether TYPE exists after having included INCLUDES, setting cache
1808 # variable VAR accordingly.
1809 ac_fn_c_check_type ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813 $as_echo_n "checking for $2... " >&6; }
1814 if eval \${$3+:} false; then :
1815 $as_echo_n "(cached) " >&6
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1830 if ac_fn_c_try_compile "$LINENO"; then :
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1843 if ac_fn_c_try_compile "$LINENO"; then :
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 } # ac_fn_c_check_type
1859 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1860 # -------------------------------------------------------
1861 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1862 # the include files in INCLUDES and setting the cache variable VAR
1864 ac_fn_c_check_header_mongrel ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if eval \${$3+:} false; then :
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1877 # Is the header compilable?
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1879 $as_echo_n "checking $2 usability... " >&6; }
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886 ac_header_compiler=yes
1888 ac_header_compiler=no
1890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1892 $as_echo "$ac_header_compiler" >&6; }
1894 # Is the header present?
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1896 $as_echo_n "checking $2 presence... " >&6; }
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1901 if ac_fn_c_try_cpp "$LINENO"; then :
1902 ac_header_preproc=yes
1904 ac_header_preproc=no
1906 rm -f conftest.err conftest.i conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1908 $as_echo "$ac_header_preproc" >&6; }
1910 # So? What about this header?
1911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1914 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1916 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1920 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1922 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1924 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1926 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1928 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932 $as_echo_n "checking for $2... " >&6; }
1933 if eval \${$3+:} false; then :
1934 $as_echo_n "(cached) " >&6
1936 eval "$3=\$ac_header_compiler"
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_header_mongrel
1945 cat >config.log <<_ACEOF
1946 This file contains any messages produced by compilers while
1947 running configure, to aid debugging if configure makes a mistake.
1949 It was created by sqlcipher $as_me 3.11.0, which was
1950 generated by GNU Autoconf 2.69. Invocation command line was
1962 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1963 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1964 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1965 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1966 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1968 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1969 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1971 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1972 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1973 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1974 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1975 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1976 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1977 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir=.
1986 $as_echo "PATH: $as_dir"
2002 # Keep a trace of the command line.
2003 # Strip out --no-create and --no-recursion so they do not pile up.
2004 # Strip out --silent because we don't want to record it for future runs.
2005 # Also quote any args containing shell meta-characters.
2006 # Make two passes to allow for proper duplicate-argument suppression.
2010 ac_must_keep_next=false
2016 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2018 | -silent | --silent | --silen | --sile | --sil)
2021 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2024 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2026 as_fn_append ac_configure_args1 " '$ac_arg'"
2027 if test $ac_must_keep_next = true; then
2028 ac_must_keep_next=false # Got value, back to normal.
2031 *=* | --config-cache | -C | -disable-* | --disable-* \
2032 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2033 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2034 | -with-* | --with-* | -without-* | --without-* | --x)
2035 case "$ac_configure_args0 " in
2036 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2039 -* ) ac_must_keep_next=true ;;
2042 as_fn_append ac_configure_args " '$ac_arg'"
2047 { ac_configure_args0=; unset ac_configure_args0;}
2048 { ac_configure_args1=; unset ac_configure_args1;}
2050 # When interrupted or exit'd, cleanup temporary files, and complete
2051 # config.log. We remove comments because anyway the quotes in there
2052 # would cause problems or look ugly.
2053 # WARNING: Use '\'' to represent an apostrophe within the trap.
2054 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2055 trap 'exit_status=$?
2056 # Save into config.log some information that might help in debugging.
2060 $as_echo "## ---------------- ##
2061 ## Cache variables. ##
2062 ## ---------------- ##"
2064 # The following way of writing the cache mishandles newlines in values,
2066 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2067 eval ac_val=\$$ac_var
2071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2075 _ | IFS | as_nl) ;; #(
2076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2077 *) { eval $ac_var=; unset $ac_var;} ;;
2082 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2083 *${as_nl}ac_space=\ *)
2085 "s/'\''/'\''\\\\'\'''\''/g;
2086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2096 $as_echo "## ----------------- ##
2097 ## Output variables. ##
2098 ## ----------------- ##"
2100 for ac_var in $ac_subst_vars
2102 eval ac_val=\$$ac_var
2104 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106 $as_echo "$ac_var='\''$ac_val'\''"
2110 if test -n "$ac_subst_files"; then
2111 $as_echo "## ------------------- ##
2112 ## File substitutions. ##
2113 ## ------------------- ##"
2115 for ac_var in $ac_subst_files
2117 eval ac_val=\$$ac_var
2119 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2121 $as_echo "$ac_var='\''$ac_val'\''"
2126 if test -s confdefs.h; then
2127 $as_echo "## ----------- ##
2134 test "$ac_signal" != 0 &&
2135 $as_echo "$as_me: caught signal $ac_signal"
2136 $as_echo "$as_me: exit $exit_status"
2138 rm -f core *.core core.conftest.* &&
2139 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2142 for ac_signal in 1 2 13 15; do
2143 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2147 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2148 rm -f -r conftest* confdefs.h
2150 $as_echo "/* confdefs.h */" > confdefs.h
2152 # Predefined preprocessor variables.
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_NAME "$PACKAGE_NAME"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_STRING "$PACKAGE_STRING"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_URL "$PACKAGE_URL"
2179 # Let the site file select an alternate cache file if it wants to.
2180 # Prefer an explicitly selected file to automatically selected ones.
2183 if test -n "$CONFIG_SITE"; then
2184 # We do not want a PATH search for config.site.
2185 case $CONFIG_SITE in #((
2186 -*) ac_site_file1=./$CONFIG_SITE;;
2187 */*) ac_site_file1=$CONFIG_SITE;;
2188 *) ac_site_file1=./$CONFIG_SITE;;
2190 elif test "x$prefix" != xNONE; then
2191 ac_site_file1=$prefix/share/config.site
2192 ac_site_file2=$prefix/etc/config.site
2194 ac_site_file1=$ac_default_prefix/share/config.site
2195 ac_site_file2=$ac_default_prefix/etc/config.site
2197 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2199 test "x$ac_site_file" = xNONE && continue
2200 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2202 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2203 sed 's/^/| /' "$ac_site_file" >&5
2205 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 as_fn_error $? "failed to load site
script $ac_site_file
2208 See \
`config.log' for more details" "$LINENO" 5; }
2212 if test -r "$cache_file"; then
2213 # Some versions of bash will fail to source /dev/null (special files
2214 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2215 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2217 $as_echo "$as_me: loading cache $cache_file" >&6;}
2219 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2220 *) . "./$cache_file";;
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2225 $as_echo "$as_me: creating cache $cache_file" >&6;}
2229 # Check that the precious variables saved in the cache have kept the same
2231 ac_cache_corrupted=false
2232 for ac_var in $ac_precious_vars; do
2233 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2234 eval ac_new_set=\$ac_env_${ac_var}_set
2235 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2236 eval ac_new_val=\$ac_env_${ac_var}_value
2237 case $ac_old_set,$ac_new_set in
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2240 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2241 ac_cache_corrupted=: ;;
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2244 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2245 ac_cache_corrupted=: ;;
2248 if test "x$ac_old_val" != "x$ac_new_val"; then
2249 # differences in whitespace do not lead to failure.
2250 ac_old_val_w=`echo x
$ac_old_val`
2251 ac_new_val_w=`echo x
$ac_new_val`
2252 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2254 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2255 ac_cache_corrupted=:
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2258 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2259 eval $ac_var=\$ac_old_val
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2262 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2264 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2267 # Pass precious variables to config.status.
2268 if test "$ac_new_set" = set; then
2270 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2271 *) ac_arg=$ac_var=$ac_new_val ;;
2273 case " $ac_configure_args " in
2274 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2275 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2279 if $ac_cache_corrupted; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2283 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2284 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2286 ## -------------------- ##
2287 ## Main body of script. ##
2288 ## -------------------- ##
2291 ac_cpp='$CPP $CPPFLAGS'
2292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2298 sqlite_version_sanity_check=`cat $srcdir/VERSION |
tr -d '\n'`
2299 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2300 as_fn_error $? "configure script is out of date:
2301 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2302 top level VERSION file = $sqlite_version_sanity_check
2303 please regen with autoconf" "$LINENO" 5
2310 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2311 if test -f "$ac_dir/install-sh"; then
2313 ac_install_sh="$ac_aux_dir/install-sh -c"
2315 elif test -f "$ac_dir/install.sh"; then
2317 ac_install_sh="$ac_aux_dir/install.sh -c"
2319 elif test -f "$ac_dir/shtool"; then
2321 ac_install_sh="$ac_aux_dir/shtool install -c"
2325 if test -z "$ac_aux_dir"; then
2326 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2329 # These three variables are undocumented and unsupported,
2330 # and are intended to be withdrawn in a future Autoconf release.
2331 # They can cause serious problems if a builder's source tree is in a directory
2332 # whose full name contains unusual characters.
2333 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2334 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2335 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2341 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2346 macro_version='2.4.6'
2347 macro_revision='2.4.6'
2361 ltmain=$ac_aux_dir/ltmain.sh
2363 # Make sure we can run config.sub.
2364 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2365 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2368 $as_echo_n "checking build system type... " >&6; }
2369 if ${ac_cv_build+:} false; then :
2370 $as_echo_n "(cached) " >&6
2372 ac_build_alias=$build_alias
2373 test "x$ac_build_alias" = x &&
2374 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2375 test "x$ac_build_alias" = x &&
2376 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2377 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2378 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2382 $as_echo "$ac_cv_build" >&6; }
2383 case $ac_cv_build in
2385 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2388 ac_save_IFS=$IFS; IFS='-'
2394 # Remember, the first character of IFS is used to create $*,
2395 # except with old shells:
2398 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2402 $as_echo_n "checking host system type... " >&6; }
2403 if ${ac_cv_host+:} false; then :
2404 $as_echo_n "(cached) " >&6
2406 if test "x$host_alias" = x; then
2407 ac_cv_host=$ac_cv_build
2409 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2410 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2415 $as_echo "$ac_cv_host" >&6; }
2418 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2421 ac_save_IFS=$IFS; IFS='-'
2427 # Remember, the first character of IFS is used to create $*,
2428 # except with old shells:
2431 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2434 # Backslashify metacharacters that are still active within
2435 # double-quoted strings.
2436 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
2438 # Same as above, but do not quote variable references.
2439 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
2441 # Sed substitution to delay expansion of an escaped shell variable in a
2442 # double_quote_subst'ed string.
2443 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2445 # Sed substitution to delay expansion of an escaped single quote.
2446 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2448 # Sed substitution to avoid accidental globbing in evaled expressions
2449 no_glob_subst='s/\*/\\\*/g'
2451 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2452 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2453 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
2456 $as_echo_n "checking how to print
strings...
" >&6; }
2457 # Test print first, because it will be a builtin if present.
2458 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
2459 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
2461 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
2464 # Use this function as a fallback that always works.
2465 func_fallback_echo ()
2467 eval 'cat <<_LTECHO_EOF
2471 ECHO='func_fallback_echo'
2474 # func_echo_all arg...
2475 # Invoke $ECHO with all args, space-separated.
2482 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
2483 $as_echo "printf" >&6; } ;;
2484 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
2485 $as_echo "print
-r" >&6; } ;;
2486 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
2487 $as_echo "cat" >&6; } ;;
2504 ac_cpp='$CPP $CPPFLAGS'
2505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2508 if test -n "$ac_tool_prefix"; then
2509 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2510 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2512 $as_echo_n "checking
for $ac_word...
" >&6; }
2513 if ${ac_cv_prog_CC+:} false; then :
2514 $as_echo_n "(cached
) " >&6
2516 if test -n "$CC"; then
2517 ac_cv_prog_CC="$CC" # Let the user override the test.
2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir=.
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2526 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2537 if test -n "$CC"; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2539 $as_echo "$CC" >&6; }
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2542 $as_echo "no
" >&6; }
2547 if test -z "$ac_cv_prog_CC"; then
2549 # Extract the first word of "gcc
", so it can be a program name with args.
2550 set dummy gcc; ac_word=$2
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2552 $as_echo_n "checking
for $ac_word...
" >&6; }
2553 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2554 $as_echo_n "(cached
) " >&6
2556 if test -n "$ac_ct_CC"; then
2557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_ac_ct_CC="gcc
"
2567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2576 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2577 if test -n "$ac_ct_CC"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2579 $as_echo "$ac_ct_CC" >&6; }
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2582 $as_echo "no
" >&6; }
2585 if test "x
$ac_ct_CC" = x; then
2588 case $cross_compiling:$ac_tool_warned in
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2591 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2592 ac_tool_warned=yes ;;
2600 if test -z "$CC"; then
2601 if test -n "$ac_tool_prefix"; then
2602 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2605 $as_echo_n "checking
for $ac_word...
" >&6; }
2606 if ${ac_cv_prog_CC+:} false; then :
2607 $as_echo_n "(cached
) " >&6
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC="$CC" # Let the user override the test.
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2630 if test -n "$CC"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2632 $as_echo "$CC" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2635 $as_echo "no
" >&6; }
2641 if test -z "$CC"; then
2642 # Extract the first word of "cc
", so it can be a program name with args.
2643 set dummy cc; ac_word=$2
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2645 $as_echo_n "checking
for $ac_word...
" >&6; }
2646 if ${ac_cv_prog_CC+:} false; then :
2647 $as_echo_n "(cached
) " >&6
2649 if test -n "$CC"; then
2650 ac_cv_prog_CC="$CC" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2661 ac_prog_rejected=yes
2665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2672 if test $ac_prog_rejected = yes; then
2673 # We found a bogon in the path, so make sure we never use it.
2674 set dummy $ac_cv_prog_CC
2676 if test $# != 0; then
2677 # We chose a different compiler from the bogus one.
2678 # However, it has the same basename, so the bogon will be chosen
2679 # first if we set CC to just the basename; use the full file name.
2681 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2687 if test -n "$CC"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2689 $as_echo "$CC" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2692 $as_echo "no
" >&6; }
2697 if test -z "$CC"; then
2698 if test -n "$ac_tool_prefix"; then
2699 for ac_prog in cl.exe
2701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2704 $as_echo_n "checking
for $ac_word...
" >&6; }
2705 if ${ac_cv_prog_CC+:} false; then :
2706 $as_echo_n "(cached
) " >&6
2708 if test -n "$CC"; then
2709 ac_cv_prog_CC="$CC" # Let the user override the test.
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$CC"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
2731 $as_echo "$CC" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2734 $as_echo "no
" >&6; }
2738 test -n "$CC" && break
2741 if test -z "$CC"; then
2743 for ac_prog in cl.exe
2745 # Extract the first word of "$ac_prog", so it can be a program name with args.
2746 set dummy $ac_prog; ac_word=$2
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
2748 $as_echo_n "checking
for $ac_word...
" >&6; }
2749 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2750 $as_echo_n "(cached
) " >&6
2752 if test -n "$ac_ct_CC"; then
2753 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759 test -z "$as_dir" && as_dir=.
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2762 ac_cv_prog_ac_ct_CC="$ac_prog"
2763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
2772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2773 if test -n "$ac_ct_CC"; then
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
2775 $as_echo "$ac_ct_CC" >&6; }
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2778 $as_echo "no
" >&6; }
2782 test -n "$ac_ct_CC" && break
2785 if test "x
$ac_ct_CC" = x; then
2788 case $cross_compiling:$ac_tool_warned in
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2791 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2792 ac_tool_warned=yes ;;
2801 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2803 as_fn_error $? "no acceptable C compiler found in \$PATH
2804 See \`config.log' for more details
" "$LINENO" 5; }
2806 # Provide some information about the compiler.
2807 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
2810 for ac_option in --version -v -V -qversion; do
2811 { { ac_try="$ac_compiler $ac_option >&5"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2817 $as_echo "$ac_try_echo"; } >&5
2818 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2820 if test -s conftest.err; then
2822 ... rest of stderr output deleted ...
2823 10q' conftest.err >conftest.er1
2824 cat conftest.er1 >&5
2826 rm -f conftest.er1 conftest.err
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2828 test $ac_status = 0; }
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2842 ac_clean_files_save=$ac_clean_files
2843 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2844 # Try to create an executable without -o first, disregard a.out.
2845 # It will help us diagnose broken compilers, and finding out an intuition
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
2848 $as_echo_n "checking whether the C compiler works...
" >&6; }
2849 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2851 # The possible output files:
2852 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2855 for ac_file in $ac_files
2858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2859 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2864 if { { ac_try="$ac_link_default"
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2869 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_link_default") 2>&5
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2874 test $ac_status = 0; }; then :
2875 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2876 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2877 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2878 # so that the user can short-circuit this test for compilers unknown to
2880 for ac_file in $ac_files ''
2882 test -f "$ac_file" || continue
2884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2887 # We found the default executable, but exeext='' is most
2891 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2893 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2895 # We set ac_cv_exeext here because the later test for it is not
2896 # safe: cross compilers may not add the suffix if given an `-o'
2897 # argument, so we may need to know it at that point already.
2898 # Even if this section looks crufty: it has the advantage of
2905 test "$ac_cv_exeext" = no && ac_cv_exeext=
2910 if test -z "$ac_file"; then :
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
2912 $as_echo "no
" >&6; }
2913 $as_echo "$as_me: failed program was
:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2918 as_fn_error 77 "C compiler cannot create executables
2919 See \`config.log' for more details
" "$LINENO" 5; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
2922 $as_echo "yes" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
2925 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
2927 $as_echo "$ac_file" >&6; }
2928 ac_exeext=$ac_cv_exeext
2930 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2931 ac_clean_files=$ac_clean_files_save
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
2933 $as_echo_n "checking
for suffix of executables...
" >&6; }
2934 if { { ac_try="$ac_link"
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940 $as_echo "$ac_try_echo"; } >&5
2941 (eval "$ac_link") 2>&5
2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
2944 test $ac_status = 0; }; then :
2945 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2946 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2947 # work properly (i.e., refer to `conftest.exe'), while it won't with
2949 for ac_file in conftest.exe conftest conftest.*; do
2950 test -f "$ac_file" || continue
2952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2953 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2961 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2962 See \`config.log' for more details
" "$LINENO" 5; }
2964 rm -f conftest conftest$ac_cv_exeext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
2966 $as_echo "$ac_cv_exeext" >&6; }
2968 rm -f conftest.$ac_ext
2969 EXEEXT=$ac_cv_exeext
2971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972 /* end confdefs.h. */
2977 FILE *f = fopen ("conftest.out
", "w
");
2978 return ferror (f) || fclose (f) != 0;
2984 ac_clean_files="$ac_clean_files conftest.out
"
2985 # Check that the compiler produces executables we can run. If not, either
2986 # the compiler is broken, or we cross compile.
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
2988 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2989 if test "$cross_compiling" != yes; then
2990 { { ac_try="$ac_link"
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_link") 2>&5
2999 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3000 test $ac_status = 0; }
3001 if { ac_try='./conftest$ac_cv_exeext'
3002 { { case "(($ac_try" in
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_try") 2>&5
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3011 test $ac_status = 0; }; }; then
3014 if test "$cross_compiling" = maybe; then
3017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3019 as_fn_error $? "cannot run C compiled programs.
3020 If you meant to cross compile, use \`--host'.
3021 See \
`config.log' for more details" "$LINENO" 5; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3026 $as_echo "$cross_compiling" >&6; }
3028 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3029 ac_clean_files=$ac_clean_files_save
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3031 $as_echo_n "checking for suffix of object files... " >&6; }
3032 if ${ac_cv_objext+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3046 rm -f conftest.o conftest.obj
3047 if { { ac_try="$ac_compile"
3049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3050 *) ac_try_echo
=$ac_try;;
3052 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_compile") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; then :
3058 for ac_file
in conftest.o conftest.obj conftest.
*; do
3059 test -f "$ac_file" ||
continue;
3061 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
3062 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.
$ac_ext >&5
3070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3072 as_fn_error $?
"cannot compute suffix of object files: cannot compile
3073 See \`config.log' for more details" "$LINENO" 5; }
3075 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3078 $as_echo "$ac_cv_objext" >&6; }
3079 OBJEXT
=$ac_cv_objext
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3082 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3083 if ${ac_cv_c_compiler_gnu+:} false
; then :
3084 $as_echo_n "(cached) " >&6
3086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3100 if ac_fn_c_try_compile
"$LINENO"; then :
3105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3110 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3111 if test $ac_compiler_gnu = yes; then
3116 ac_test_CFLAGS
=${CFLAGS+set}
3117 ac_save_CFLAGS
=$CFLAGS
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3119 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3120 if ${ac_cv_prog_cc_g+:} false
; then :
3121 $as_echo_n "(cached) " >&6
3123 ac_save_c_werror_flag
=$ac_c_werror_flag
3124 ac_c_werror_flag
=yes
3127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3138 if ac_fn_c_try_compile
"$LINENO"; then :
3142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3153 if ac_fn_c_try_compile
"$LINENO"; then :
3156 ac_c_werror_flag
=$ac_save_c_werror_flag
3158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3169 if ac_fn_c_try_compile
"$LINENO"; then :
3172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3177 ac_c_werror_flag
=$ac_save_c_werror_flag
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3180 $as_echo "$ac_cv_prog_cc_g" >&6; }
3181 if test "$ac_test_CFLAGS" = set; then
3182 CFLAGS
=$ac_save_CFLAGS
3183 elif test $ac_cv_prog_cc_g = yes; then
3184 if test "$GCC" = yes; then
3190 if test "$GCC" = yes; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3197 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3198 if ${ac_cv_prog_cc_c89+:} false
; then :
3199 $as_echo_n "(cached) " >&6
3201 ac_cv_prog_cc_c89
=no
3203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3208 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3209 struct buf { int x; };
3210 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3211 static char *e (p, i)
3217 static char *f (char * (*g) (char **, int), char **p, ...)
3222 s = g (p, va_arg (v,int));
3227 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3228 function prototypes and stuff, but not '\xHH' hex character constants.
3229 These don't provoke an error unfortunately, instead are silently treated
3230 as 'x'. The following induces an error, until -std is added to get
3231 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3232 array size at least. It's necessary to write '\x00'==0 to get something
3233 that's true only with -std. */
3234 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3236 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3237 inside strings and character constants. */
3239 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3241 int test (int i, double x);
3242 struct s1 {int (*f) (int a);};
3243 struct s2 {int (*f) (double a);};
3244 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3250 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3255 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3256 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3258 CC
="$ac_save_CC $ac_arg"
3259 if ac_fn_c_try_compile
"$LINENO"; then :
3260 ac_cv_prog_cc_c89
=$ac_arg
3262 rm -f core conftest.err conftest.
$ac_objext
3263 test "x$ac_cv_prog_cc_c89" != "xno" && break
3265 rm -f conftest.
$ac_ext
3270 case "x$ac_cv_prog_cc_c89" in
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3273 $as_echo "none needed" >&6; } ;;
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3276 $as_echo "unsupported" >&6; } ;;
3278 CC
="$CC $ac_cv_prog_cc_c89"
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3280 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3282 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3287 ac_cpp
='$CPP $CPPFLAGS'
3288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3293 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3294 if ${ac_cv_path_SED+:} false
; then :
3295 $as_echo_n "(cached) " >&6
3297 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3298 for ac_i
in 1 2 3 4 5 6 7; do
3299 ac_script
="$ac_script$as_nl$ac_script"
3301 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3302 { ac_script
=; unset ac_script
;}
3303 if test -z "$SED"; then
3304 ac_path_SED_found
=false
3305 # Loop through the user's path and test for each of PROGNAME-LIST
3306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3310 test -z "$as_dir" && as_dir
=.
3311 for ac_prog
in sed gsed
; do
3312 for ac_exec_ext
in '' $ac_executable_extensions; do
3313 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3314 as_fn_executable_p
"$ac_path_SED" ||
continue
3315 # Check for GNU ac_path_SED and select it if it is found.
3316 # Check for GNU $ac_path_SED
3317 case `"$ac_path_SED" --version 2>&1` in
3319 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3322 $as_echo_n 0123456789 >"conftest.in"
3325 cat "conftest.in" "conftest.in" >"conftest.tmp"
3326 mv "conftest.tmp" "conftest.in"
3327 cp "conftest.in" "conftest.nl"
3328 $as_echo '' >> "conftest.nl"
3329 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3330 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3331 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3332 if test $ac_count -gt ${ac_path_SED_max-0}; then
3333 # Best one so far, save it but keep looking for a better one
3334 ac_cv_path_SED
="$ac_path_SED"
3335 ac_path_SED_max
=$ac_count
3337 # 10*(2^10) chars as input seems more than enough
3338 test $ac_count -gt 10 && break
3340 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3343 $ac_path_SED_found && break 3
3348 if test -z "$ac_cv_path_SED"; then
3349 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3357 $as_echo "$ac_cv_path_SED" >&6; }
3358 SED
="$ac_cv_path_SED"
3361 test -z "$SED" && SED
=sed
3362 Xsed
="$SED -e 1s/^X//"
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3375 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3376 if ${ac_cv_path_GREP+:} false
; then :
3377 $as_echo_n "(cached) " >&6
3379 if test -z "$GREP"; then
3380 ac_path_GREP_found
=false
3381 # Loop through the user's path and test for each of PROGNAME-LIST
3382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3383 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3386 test -z "$as_dir" && as_dir
=.
3387 for ac_prog
in grep ggrep
; do
3388 for ac_exec_ext
in '' $ac_executable_extensions; do
3389 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3390 as_fn_executable_p
"$ac_path_GREP" ||
continue
3391 # Check for GNU ac_path_GREP and select it if it is found.
3392 # Check for GNU $ac_path_GREP
3393 case `"$ac_path_GREP" --version 2>&1` in
3395 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3398 $as_echo_n 0123456789 >"conftest.in"
3401 cat "conftest.in" "conftest.in" >"conftest.tmp"
3402 mv "conftest.tmp" "conftest.in"
3403 cp "conftest.in" "conftest.nl"
3404 $as_echo 'GREP' >> "conftest.nl"
3405 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3406 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3407 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3408 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3409 # Best one so far, save it but keep looking for a better one
3410 ac_cv_path_GREP
="$ac_path_GREP"
3411 ac_path_GREP_max
=$ac_count
3413 # 10*(2^10) chars as input seems more than enough
3414 test $ac_count -gt 10 && break
3416 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3419 $ac_path_GREP_found && break 3
3424 if test -z "$ac_cv_path_GREP"; then
3425 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3428 ac_cv_path_GREP
=$GREP
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3433 $as_echo "$ac_cv_path_GREP" >&6; }
3434 GREP
="$ac_cv_path_GREP"
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3438 $as_echo_n "checking for egrep... " >&6; }
3439 if ${ac_cv_path_EGREP+:} false
; then :
3440 $as_echo_n "(cached) " >&6
3442 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3443 then ac_cv_path_EGREP
="$GREP -E"
3445 if test -z "$EGREP"; then
3446 ac_path_EGREP_found
=false
3447 # Loop through the user's path and test for each of PROGNAME-LIST
3448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3452 test -z "$as_dir" && as_dir
=.
3453 for ac_prog
in egrep; do
3454 for ac_exec_ext
in '' $ac_executable_extensions; do
3455 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3456 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3457 # Check for GNU ac_path_EGREP and select it if it is found.
3458 # Check for GNU $ac_path_EGREP
3459 case `"$ac_path_EGREP" --version 2>&1` in
3461 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3464 $as_echo_n 0123456789 >"conftest.in"
3467 cat "conftest.in" "conftest.in" >"conftest.tmp"
3468 mv "conftest.tmp" "conftest.in"
3469 cp "conftest.in" "conftest.nl"
3470 $as_echo 'EGREP' >> "conftest.nl"
3471 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3472 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3473 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3474 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3475 # Best one so far, save it but keep looking for a better one
3476 ac_cv_path_EGREP
="$ac_path_EGREP"
3477 ac_path_EGREP_max
=$ac_count
3479 # 10*(2^10) chars as input seems more than enough
3480 test $ac_count -gt 10 && break
3482 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3485 $ac_path_EGREP_found && break 3
3490 if test -z "$ac_cv_path_EGREP"; then
3491 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3494 ac_cv_path_EGREP
=$EGREP
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3500 $as_echo "$ac_cv_path_EGREP" >&6; }
3501 EGREP
="$ac_cv_path_EGREP"
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3505 $as_echo_n "checking for fgrep... " >&6; }
3506 if ${ac_cv_path_FGREP+:} false
; then :
3507 $as_echo_n "(cached) " >&6
3509 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3510 then ac_cv_path_FGREP
="$GREP -F"
3512 if test -z "$FGREP"; then
3513 ac_path_FGREP_found
=false
3514 # Loop through the user's path and test for each of PROGNAME-LIST
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3516 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3519 test -z "$as_dir" && as_dir
=.
3520 for ac_prog
in fgrep
; do
3521 for ac_exec_ext
in '' $ac_executable_extensions; do
3522 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3523 as_fn_executable_p
"$ac_path_FGREP" ||
continue
3524 # Check for GNU ac_path_FGREP and select it if it is found.
3525 # Check for GNU $ac_path_FGREP
3526 case `"$ac_path_FGREP" --version 2>&1` in
3528 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3531 $as_echo_n 0123456789 >"conftest.in"
3534 cat "conftest.in" "conftest.in" >"conftest.tmp"
3535 mv "conftest.tmp" "conftest.in"
3536 cp "conftest.in" "conftest.nl"
3537 $as_echo 'FGREP' >> "conftest.nl"
3538 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3539 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3540 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3541 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3542 # Best one so far, save it but keep looking for a better one
3543 ac_cv_path_FGREP
="$ac_path_FGREP"
3544 ac_path_FGREP_max
=$ac_count
3546 # 10*(2^10) chars as input seems more than enough
3547 test $ac_count -gt 10 && break
3549 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3552 $ac_path_FGREP_found && break 3
3557 if test -z "$ac_cv_path_FGREP"; then
3558 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3561 ac_cv_path_FGREP
=$FGREP
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3567 $as_echo "$ac_cv_path_FGREP" >&6; }
3568 FGREP
="$ac_cv_path_FGREP"
3571 test -z "$GREP" && GREP
=grep
3591 # Check whether --with-gnu-ld was given.
3592 if test "${with_gnu_ld+set}" = set; then :
3593 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
3599 if test yes = "$GCC"; then
3600 # Check if gcc -print-prog-name=ld gives a path.
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3602 $as_echo_n "checking for ld used by $CC... " >&6; }
3605 # gcc leaves a trailing carriage return, which upsets mingw
3606 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3608 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3611 # Accept absolute paths.
3613 re_direlt
='/[^/][^/]*/\.\./'
3614 # Canonicalize the pathname of ld
3615 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3616 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3617 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3619 test -z "$LD" && LD
=$ac_prog
3622 # If it fails, then pretend we aren't using GCC.
3626 # If it is relative, then search for the first ld in PATH.
3630 elif test yes = "$with_gnu_ld"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3632 $as_echo_n "checking for GNU ld... " >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3635 $as_echo_n "checking for non-GNU ld... " >&6; }
3637 if ${lt_cv_path_LD+:} false
; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -z "$LD"; then
3641 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3642 for ac_dir
in $PATH; do
3644 test -z "$ac_dir" && ac_dir
=.
3645 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3646 lt_cv_path_LD
=$ac_dir/$ac_prog
3647 # Check to see if the program is GNU ld. I'd rather use --version,
3648 # but apparently some variants of GNU ld only accept -v.
3649 # Break only if it was the GNU/non-GNU ld that we prefer.
3650 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3651 *GNU
* |
*'with BFD'*)
3652 test no
!= "$with_gnu_ld" && break
3655 test yes != "$with_gnu_ld" && break
3662 lt_cv_path_LD
=$LD # Let the user override the test with a path.
3667 if test -n "$LD"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3669 $as_echo "$LD" >&6; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3674 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3676 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3677 if ${lt_cv_prog_gnu_ld+:} false
; then :
3678 $as_echo_n "(cached) " >&6
3680 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3681 case `$LD -v 2>&1 </dev/null` in
3682 *GNU
* |
*'with BFD'*)
3683 lt_cv_prog_gnu_ld
=yes
3686 lt_cv_prog_gnu_ld
=no
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3691 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3692 with_gnu_ld
=$lt_cv_prog_gnu_ld
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3703 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3704 if ${lt_cv_path_NM+:} false
; then :
3705 $as_echo_n "(cached) " >&6
3707 if test -n "$NM"; then
3708 # Let the user override the test.
3711 lt_nm_to_check
=${ac_tool_prefix}nm
3712 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3713 lt_nm_to_check
="$lt_nm_to_check nm"
3715 for lt_tmp_nm
in $lt_nm_to_check; do
3716 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
3717 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3719 test -z "$ac_dir" && ac_dir
=.
3720 tmp_nm
=$ac_dir/$lt_tmp_nm
3721 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
3722 # Check to see if the nm accepts a BSD-compat flag.
3723 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3724 # nm: unknown option "B" ignored
3725 # Tru64's nm complains that /dev/null is an invalid object file
3726 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3728 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
3729 *) lt_bad_file
=/dev
/null
;;
3731 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3732 *$lt_bad_file* |
*'Invalid file or object type'*)
3733 lt_cv_path_NM
="$tmp_nm -B"
3737 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3739 lt_cv_path_NM
="$tmp_nm -p"
3743 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3744 continue # so that we can try to find one that supports BSD flags
3753 : ${lt_cv_path_NM=no}
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3757 $as_echo "$lt_cv_path_NM" >&6; }
3758 if test no
!= "$lt_cv_path_NM"; then
3761 # Didn't find any BSD compatible name lister, look for dumpbin.
3762 if test -n "$DUMPBIN"; then :
3763 # Let the user override the test.
3765 if test -n "$ac_tool_prefix"; then
3766 for ac_prog
in dumpbin
"link -dump"
3768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3769 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -n "$DUMPBIN"; then
3776 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir
=.
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 DUMPBIN
=$ac_cv_prog_DUMPBIN
3796 if test -n "$DUMPBIN"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3798 $as_echo "$DUMPBIN" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3805 test -n "$DUMPBIN" && break
3808 if test -z "$DUMPBIN"; then
3809 ac_ct_DUMPBIN
=$DUMPBIN
3810 for ac_prog
in dumpbin
"link -dump"
3812 # Extract the first word of "$ac_prog", so it can be a program name with args.
3813 set dummy
$ac_prog; ac_word
=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$ac_ct_DUMPBIN"; then
3820 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3840 if test -n "$ac_ct_DUMPBIN"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3842 $as_echo "$ac_ct_DUMPBIN" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$ac_ct_DUMPBIN" && break
3852 if test "x$ac_ct_DUMPBIN" = x
; then
3855 case $cross_compiling:$ac_tool_warned in
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3859 ac_tool_warned
=yes ;;
3861 DUMPBIN
=$ac_ct_DUMPBIN
3865 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
3867 DUMPBIN
="$DUMPBIN -symbols -headers"
3875 if test : != "$DUMPBIN"; then
3879 test -z "$NM" && NM
=nm
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3887 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3888 if ${lt_cv_nm_interface+:} false
; then :
3889 $as_echo_n "(cached) " >&6
3891 lt_cv_nm_interface
="BSD nm"
3892 echo "int some_variable = 0;" > conftest.
$ac_ext
3893 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
3894 (eval "$ac_compile" 2>conftest.err
)
3895 cat conftest.err
>&5
3896 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3897 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3898 cat conftest.err
>&5
3899 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
3900 cat conftest.out
>&5
3901 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3902 lt_cv_nm_interface
="MS dumpbin"
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3907 $as_echo "$lt_cv_nm_interface" >&6; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3910 $as_echo_n "checking whether ln -s works... " >&6; }
3912 if test "$LN_S" = "ln -s"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3914 $as_echo "yes" >&6; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3917 $as_echo "no, using $LN_S" >&6; }
3920 # find the maximum length of command line arguments
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3922 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3923 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3924 $as_echo_n "(cached) " >&6
3931 # On DJGPP, this test can blow up pretty badly due to problems in libc
3932 # (any single argument exceeding 2000 bytes causes a buffer overrun
3933 # during glob expansion). Even if it were fixed, the result of this
3934 # check would be larger than it should be.
3935 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3939 # Under GNU Hurd, this test is not required because there is
3940 # no limit to the length of command line arguments.
3941 # Libtool will interpret -1 as no limit whatsoever
3942 lt_cv_sys_max_cmd_len
=-1;
3945 cygwin
* | mingw
* | cegcc
*)
3946 # On Win9x/ME, this test blows up -- it succeeds, but takes
3947 # about 5 minutes as the teststring grows exponentially.
3948 # Worse, since 9x/ME are not pre-emptively multitasking,
3949 # you end up with a "frozen" computer, even though with patience
3950 # the test eventually succeeds (with a max line length of 256k).
3951 # Instead, let's just punt: use the minimum linelength reported by
3952 # all of the supported platforms: 8192 (on NT/2K/XP).
3953 lt_cv_sys_max_cmd_len
=8192;
3957 # On MiNT this can take a long time and run out of memory.
3958 lt_cv_sys_max_cmd_len
=8192;
3962 # On AmigaOS with pdksh, this test takes hours, literally.
3963 # So we just punt and use a minimum line length of 8192.
3964 lt_cv_sys_max_cmd_len
=8192;
3967 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
3968 # This has been around since 386BSD, at least. Likely further.
3969 if test -x /sbin
/sysctl
; then
3970 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3971 elif test -x /usr
/sbin
/sysctl
; then
3972 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3974 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3976 # And add a safety zone
3977 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3978 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3982 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3983 lt_cv_sys_max_cmd_len
=196608
3987 # The test takes a long time on OS/2.
3988 lt_cv_sys_max_cmd_len
=8192
3992 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3993 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3994 # nice to cause kernel panics so lets avoid the loop below.
3995 # First set a reasonable default.
3996 lt_cv_sys_max_cmd_len
=16384
3998 if test -x /sbin
/sysconfig
; then
3999 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4000 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4005 lt_cv_sys_max_cmd_len
=102400
4007 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4008 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4009 if test -n "$kargmax"; then
4010 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4012 lt_cv_sys_max_cmd_len
=32768
4016 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4017 if test -n "$lt_cv_sys_max_cmd_len" && \
4018 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
4019 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4020 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4022 # Make teststring a little bigger before we do anything with it.
4023 # a 1K string should be a reasonable start.
4024 for i
in 1 2 3 4 5 6 7 8; do
4025 teststring
=$teststring$teststring
4027 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4028 # If test is not a shell built-in, we'll probably end up computing a
4029 # maximum length that is only half of the actual maximum length, but
4031 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
4032 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4033 test 17 != "$i" # 1/2 MB should be enough
4036 teststring
=$teststring$teststring
4038 # Only check the string length outside the loop.
4039 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4041 # Add a significant safety factor because C++ compilers can tack on
4042 # massive amounts of additional arguments before passing them to the
4043 # linker. It appears as though 1/2 is a usable value.
4044 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4051 if test -n "$lt_cv_sys_max_cmd_len"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4053 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4056 $as_echo "none" >&6; }
4058 max_cmd_len
=$lt_cv_sys_max_cmd_len
4069 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4079 # test EBCDIC or ASCII
4080 case `echo X|tr X '\101'` in
4081 A
) # ASCII based system
4082 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4083 lt_SP2NL
='tr \040 \012'
4084 lt_NL2SP
='tr \015\012 \040\040'
4086 *) # EBCDIC based system
4087 lt_SP2NL
='tr \100 \n'
4088 lt_NL2SP
='tr \r\n \100\100'
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4101 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4102 if ${lt_cv_to_host_file_cmd+:} false
; then :
4103 $as_echo_n "(cached) " >&6
4108 *-*-mingw* ) # actually msys
4109 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4112 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4114 * ) # otherwise, assume *nix
4115 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4121 *-*-mingw* ) # actually msys
4122 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4125 lt_cv_to_host_file_cmd
=func_convert_file_noop
4127 * ) # otherwise, assume *nix
4128 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4132 * ) # unhandled hosts (and "normal" native builds)
4133 lt_cv_to_host_file_cmd
=func_convert_file_noop
4139 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4141 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4148 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4149 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4150 $as_echo_n "(cached) " >&6
4152 #assume ordinary cross tools, or native build.
4153 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4157 *-*-mingw* ) # actually msys
4158 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4166 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4168 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4175 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4176 if ${lt_cv_ld_reload_flag+:} false
; then :
4177 $as_echo_n "(cached) " >&6
4179 lt_cv_ld_reload_flag
='-r'
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4182 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4183 reload_flag
=$lt_cv_ld_reload_flag
4184 case $reload_flag in
4186 *) reload_flag
=" $reload_flag" ;;
4188 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4190 cygwin
* | mingw
* | pw32
* | cegcc
*)
4191 if test yes != "$GCC"; then
4196 if test yes = "$GCC"; then
4197 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4199 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4212 if test -n "$ac_tool_prefix"; then
4213 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4214 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 $as_echo_n "checking for $ac_word... " >&6; }
4217 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4218 $as_echo_n "(cached) " >&6
4220 if test -n "$OBJDUMP"; then
4221 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir
=.
4228 for ac_exec_ext
in '' $ac_executable_extensions; do
4229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4230 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 OBJDUMP
=$ac_cv_prog_OBJDUMP
4241 if test -n "$OBJDUMP"; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4243 $as_echo "$OBJDUMP" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4251 if test -z "$ac_cv_prog_OBJDUMP"; then
4252 ac_ct_OBJDUMP
=$OBJDUMP
4253 # Extract the first word of "objdump", so it can be a program name with args.
4254 set dummy objdump
; ac_word
=$2
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256 $as_echo_n "checking for $ac_word... " >&6; }
4257 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4258 $as_echo_n "(cached) " >&6
4260 if test -n "$ac_ct_OBJDUMP"; then
4261 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir
=.
4268 for ac_exec_ext
in '' $ac_executable_extensions; do
4269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4270 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4280 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4281 if test -n "$ac_ct_OBJDUMP"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4283 $as_echo "$ac_ct_OBJDUMP" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4289 if test "x$ac_ct_OBJDUMP" = x
; then
4292 case $cross_compiling:$ac_tool_warned in
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4296 ac_tool_warned
=yes ;;
4298 OBJDUMP
=$ac_ct_OBJDUMP
4301 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4304 test -z "$OBJDUMP" && OBJDUMP
=objdump
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4315 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4316 if ${lt_cv_deplibs_check_method+:} false
; then :
4317 $as_echo_n "(cached) " >&6
4319 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4320 lt_cv_file_magic_test_file
=
4321 lt_cv_deplibs_check_method
='unknown'
4322 # Need to set the preceding variable on all platforms that support
4323 # interlibrary dependencies.
4324 # 'none' -- dependencies not supported.
4325 # 'unknown' -- same as none, but documents that we really don't know.
4326 # 'pass_all' -- all dependencies passed with no checks.
4327 # 'test_compile' -- check by making test program.
4328 # 'file_magic [[regex]]' -- check by looking for files in library path
4329 # that responds to the $file_magic_cmd with a given extended regex.
4330 # If you have 'file' or equivalent on your system and you're not sure
4331 # whether 'pass_all' will *always* work, you probably want this one.
4335 lt_cv_deplibs_check_method
=pass_all
4339 lt_cv_deplibs_check_method
=pass_all
4343 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4344 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4345 lt_cv_file_magic_test_file
=/shlib
/libc.so
4349 # func_win32_libid is a shell function defined in ltmain.sh
4350 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4351 lt_cv_file_magic_cmd
='func_win32_libid'
4355 # Base MSYS/MinGW do not provide the 'file' command needed by
4356 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4357 # unless we find 'file', for example because we are cross-compiling.
4358 if ( file / ) >/dev
/null
2>&1; then
4359 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4360 lt_cv_file_magic_cmd
='func_win32_libid'
4362 # Keep this pattern in sync with the one in func_win32_libid.
4363 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4364 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4369 # use the weaker test based on 'objdump'. See mingw*.
4370 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4371 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4374 darwin
* | rhapsody
*)
4375 lt_cv_deplibs_check_method
=pass_all
4378 freebsd
* | dragonfly
*)
4379 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4382 # Not sure whether the presence of OpenBSD here was a mistake.
4383 # Let's accept both of them until this is cleared up.
4384 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4385 lt_cv_file_magic_cmd
=/usr
/bin
/file
4386 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4390 lt_cv_deplibs_check_method
=pass_all
4395 lt_cv_deplibs_check_method
=pass_all
4398 hpux10.20
* | hpux11
*)
4399 lt_cv_file_magic_cmd
=/usr
/bin
/file
4402 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4403 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4406 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]'
4407 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4410 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4411 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4417 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4418 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4421 irix5
* | irix6
* | nonstopux
*)
4423 *-32|
*"-32 ") libmagic
=32-bit;;
4424 *-n32|
*"-n32 ") libmagic
=N32
;;
4425 *-64|
*"-64 ") libmagic
=64-bit;;
4426 *) libmagic
=never-match
;;
4428 lt_cv_deplibs_check_method
=pass_all
4431 # This must be glibc/ELF.
4432 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
4433 lt_cv_deplibs_check_method
=pass_all
4437 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
4438 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4440 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4445 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4446 lt_cv_file_magic_cmd
=/usr
/bin
/file
4447 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4451 lt_cv_deplibs_check_method
=pass_all
4455 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4456 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4458 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4462 osf3
* | osf4
* | osf5
*)
4463 lt_cv_deplibs_check_method
=pass_all
4467 lt_cv_deplibs_check_method
=pass_all
4471 lt_cv_deplibs_check_method
=pass_all
4474 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4475 lt_cv_deplibs_check_method
=pass_all
4479 case $host_vendor in
4481 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]'
4482 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4485 lt_cv_deplibs_check_method
=pass_all
4488 lt_cv_file_magic_cmd
='/bin/file'
4489 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4492 lt_cv_file_magic_cmd
='/bin/file'
4493 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4494 lt_cv_file_magic_test_file
=/lib
/libc.so
4497 lt_cv_deplibs_check_method
=pass_all
4500 lt_cv_deplibs_check_method
=pass_all
4506 lt_cv_deplibs_check_method
=pass_all
4509 lt_cv_deplibs_check_method
=pass_all
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4515 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4519 if test "$build" = "$host"; then
4522 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
4525 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4531 file_magic_cmd
=$lt_cv_file_magic_cmd
4532 deplibs_check_method
=$lt_cv_deplibs_check_method
4533 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4556 if test -n "$ac_tool_prefix"; then
4557 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4558 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4562 $as_echo_n "(cached) " >&6
4564 if test -n "$DLLTOOL"; then
4565 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir
=.
4572 for ac_exec_ext
in '' $ac_executable_extensions; do
4573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 DLLTOOL
=$ac_cv_prog_DLLTOOL
4585 if test -n "$DLLTOOL"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4587 $as_echo "$DLLTOOL" >&6; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4595 if test -z "$ac_cv_prog_DLLTOOL"; then
4596 ac_ct_DLLTOOL
=$DLLTOOL
4597 # Extract the first word of "dlltool", so it can be a program name with args.
4598 set dummy dlltool
; ac_word
=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$ac_ct_DLLTOOL"; then
4605 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4614 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4625 if test -n "$ac_ct_DLLTOOL"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4627 $as_echo "$ac_ct_DLLTOOL" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4633 if test "x$ac_ct_DLLTOOL" = x
; then
4636 case $cross_compiling:$ac_tool_warned in
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4640 ac_tool_warned
=yes ;;
4642 DLLTOOL
=$ac_ct_DLLTOOL
4645 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4648 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4660 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4661 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 lt_cv_sharedlib_from_linklib_cmd
='unknown'
4667 cygwin
* | mingw
* | pw32
* | cegcc
*)
4668 # two different shell functions defined in ltmain.sh;
4669 # decide which one to use based on capabilities of $DLLTOOL
4670 case `$DLLTOOL --help 2>&1` in
4671 *--identify-strict*)
4672 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
4675 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
4680 # fallback: assume linklib IS sharedlib
4681 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4687 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4688 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
4689 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
4698 if test -n "$ac_tool_prefix"; then
4701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4702 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 $as_echo_n "checking for $ac_word... " >&6; }
4705 if ${ac_cv_prog_AR+:} false
; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -n "$AR"; then
4709 ac_cv_prog_AR
="$AR" # Let the user override the test.
4711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir
=.
4716 for ac_exec_ext
in '' $ac_executable_extensions; do
4717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4718 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 if test -n "$AR"; then
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4731 $as_echo "$AR" >&6; }
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 $as_echo "no" >&6; }
4738 test -n "$AR" && break
4741 if test -z "$AR"; then
4745 # Extract the first word of "$ac_prog", so it can be a program name with args.
4746 set dummy
$ac_prog; ac_word
=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4752 if test -n "$ac_ct_AR"; then
4753 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_ac_ct_AR
="$ac_prog"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4773 if test -n "$ac_ct_AR"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4775 $as_echo "$ac_ct_AR" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4782 test -n "$ac_ct_AR" && break
4785 if test "x$ac_ct_AR" = x
; then
4788 case $cross_compiling:$ac_tool_warned in
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4792 ac_tool_warned
=yes ;;
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4812 $as_echo_n "checking for archiver @FILE support... " >&6; }
4813 if ${lt_cv_ar_at_file+:} false
; then :
4814 $as_echo_n "(cached) " >&6
4817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4828 if ac_fn_c_try_compile
"$LINENO"; then :
4829 echo conftest.
$ac_objext > conftest.lst
4830 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4831 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4832 (eval $lt_ar_try) 2>&5
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }
4836 if test 0 -eq "$ac_status"; then
4837 # Ensure the archiver fails upon bogus file names.
4838 rm -f conftest.
$ac_objext libconftest.a
4839 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4840 (eval $lt_ar_try) 2>&5
4842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4843 test $ac_status = 0; }
4844 if test 0 -ne "$ac_status"; then
4848 rm -f conftest.
* libconftest.a
4851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
4855 $as_echo "$lt_cv_ar_at_file" >&6; }
4857 if test no
= "$lt_cv_ar_at_file"; then
4860 archiver_list_spec
=$lt_cv_ar_at_file
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4871 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_STRIP+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$STRIP"; then
4878 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 STRIP
=$ac_cv_prog_STRIP
4898 if test -n "$STRIP"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4900 $as_echo "$STRIP" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4908 if test -z "$ac_cv_prog_STRIP"; then
4910 # Extract the first word of "strip", so it can be a program name with args.
4911 set dummy strip
; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$ac_ct_STRIP"; then
4918 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_ac_ct_STRIP
="strip"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4938 if test -n "$ac_ct_STRIP"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4940 $as_echo "$ac_ct_STRIP" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4946 if test "x$ac_ct_STRIP" = x
; then
4949 case $cross_compiling:$ac_tool_warned in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned
=yes ;;
4958 STRIP
="$ac_cv_prog_STRIP"
4961 test -z "$STRIP" && STRIP
=:
4968 if test -n "$ac_tool_prefix"; then
4969 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4970 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_RANLIB+:} false
; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$RANLIB"; then
4977 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_exec_ext
in '' $ac_executable_extensions; do
4985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 RANLIB
=$ac_cv_prog_RANLIB
4997 if test -n "$RANLIB"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4999 $as_echo "$RANLIB" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5007 if test -z "$ac_cv_prog_RANLIB"; then
5008 ac_ct_RANLIB
=$RANLIB
5009 # Extract the first word of "ranlib", so it can be a program name with args.
5010 set dummy ranlib
; ac_word
=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$ac_ct_RANLIB"; then
5017 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5037 if test -n "$ac_ct_RANLIB"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5039 $as_echo "$ac_ct_RANLIB" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5045 if test "x$ac_ct_RANLIB" = x
; then
5048 case $cross_compiling:$ac_tool_warned in
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5052 ac_tool_warned
=yes ;;
5054 RANLIB
=$ac_ct_RANLIB
5057 RANLIB
="$ac_cv_prog_RANLIB"
5060 test -z "$RANLIB" && RANLIB
=:
5067 # Determine commands to create old-style static archives.
5068 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5069 old_postinstall_cmds
='chmod 644 $oldlib'
5070 old_postuninstall_cmds
=
5072 if test -n "$RANLIB"; then
5075 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5078 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5081 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5086 lock_old_archive_extraction
=yes ;;
5088 lock_old_archive_extraction
=no
;;
5111 for ac_prog
in gawk mawk nawk
awk
5113 # Extract the first word of "$ac_prog", so it can be a program name with args.
5114 set dummy
$ac_prog; ac_word
=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_AWK+:} false
; then :
5118 $as_echo_n "(cached) " >&6
5120 if test -n "$AWK"; then
5121 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_AWK
="$ac_prog"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 if test -n "$AWK"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5143 $as_echo "$AWK" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5150 test -n "$AWK" && break
5171 # If no C compiler was specified, use CC.
5174 # If no C compiler flags were specified, use CFLAGS.
5175 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5177 # Allow CC to be a program name with arguments.
5181 # Check for command to grab the raw symbol name followed by C symbol from nm.
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5183 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5184 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5188 # These are sane defaults that work on at least a few old systems.
5189 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5191 # Character class describing NM global symbol codes.
5192 symcode
='[BCDEGRST]'
5194 # Regexp to match symbols that can be accessed directly from C.
5195 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5197 # Define system-specific variables.
5202 cygwin
* | mingw
* | pw32
* | cegcc
*)
5203 symcode
='[ABCDGISTW]'
5206 if test ia64
= "$host_cpu"; then
5207 symcode
='[ABCDEGRST]'
5211 symcode
='[BCDEGRST]'
5214 symcode
='[BCDEGQRST]'
5225 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5233 # If we're using GNU nm, then use its standard symbol codes.
5234 case `$NM -V 2>&1` in
5235 *GNU
* |
*'with BFD'*)
5236 symcode
='[ABCDGIRSTW]' ;;
5239 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5240 # Gets list of data symbols to import.
5241 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5242 # Adjust the below global symbol transforms to fixup imported variables.
5243 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5244 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5245 lt_c_name_lib_hook
="\
5246 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5247 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5249 # Disable hooks by default.
5250 lt_cv_sys_global_symbol_to_import
=
5256 # Transform an extracted symbol line into a proper C declaration.
5257 # Some systems (esp. on ia64) link data and code symbols differently,
5258 # so use this general approach.
5259 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
5261 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5262 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5264 # Transform an extracted symbol line into symbol name and symbol address
5265 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
5267 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5268 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5270 # Transform an extracted symbol line into symbol name with lib prefix and
5272 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
5273 $lt_c_name_lib_hook\
5274 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5275 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5276 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5278 # Handle CRLF in mingw tool chain
5282 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5286 # Try without a prefix underscore, then with it.
5287 for ac_symprfx
in "" "_"; do
5289 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5290 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5292 # Write the raw and C identifiers.
5293 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5294 # Fake it for dumpbin and say T for any non-static function,
5295 # D for any global variable and I for any imported variable.
5296 # Also find C++ and __fastcall symbols from MSVC++,
5297 # which start with @ or ?.
5298 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5299 " {last_section=section; section=\$ 3};"\
5300 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5301 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5302 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5303 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5304 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5305 " \$ 0!~/External *\|/{next};"\
5306 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5307 " {if(hide[section]) next};"\
5308 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5309 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5310 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5311 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5312 " ' prfx=^$ac_symprfx"
5314 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5316 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5318 # Check to see that the pipe works correctly.
5322 cat > conftest.
$ac_ext <<_LT_EOF
5327 void nm_test_func(void);
5328 void nm_test_func(void){}
5332 int main(){nm_test_var='a';nm_test_func();return(0);}
5335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5336 (eval $ac_compile) 2>&5
5338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5339 test $ac_status = 0; }; then
5340 # Now try to grab the symbols.
5342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5343 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5346 test $ac_status = 0; } && test -s "$nlist"; then
5347 # Try sorting and uniquifying the output.
5348 if sort "$nlist" |
uniq > "$nlist"T
; then
5349 mv -f "$nlist"T
"$nlist"
5354 # Make sure that we snagged all the symbols we need.
5355 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5356 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5357 cat <<_LT_EOF > conftest.$ac_ext
5358 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5359 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5360 /* DATA imports from DLLs on WIN32 can't be const, because runtime
5361 relocations are performed -- see ld's documentation on pseudo-relocs. */
5362 # define LT_DLSYM_CONST
5363 #elif defined __osf__
5364 /* This system does not cope well with relocations in const data. */
5365 # define LT_DLSYM_CONST
5367 # define LT_DLSYM_CONST const
5375 # Now generate the symbol file.
5376 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5378 cat <<_LT_EOF >> conftest.$ac_ext
5380 /* The mapping between symbol names and symbols. */
5381 LT_DLSYM_CONST struct {
5385 lt__PROGRAM__LTX_preloaded_symbols[] =
5387 { "@PROGRAM@", (void *) 0 },
5389 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
5390 cat <<\_LT_EOF
>> conftest.
$ac_ext
5394 /* This works around a problem
in FreeBSD linker
*/
5395 #ifdef FREEBSD_WORKAROUND
5396 static const void
*lt_preloaded_setup
() {
5397 return lt__PROGRAM__LTX_preloaded_symbols
;
5405 # Now try linking the two files.
5406 mv conftest.
$ac_objext conftstm.
$ac_objext
5407 lt_globsym_save_LIBS
=$LIBS
5408 lt_globsym_save_CFLAGS
=$CFLAGS
5409 LIBS
=conftstm.
$ac_objext
5410 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5412 (eval $ac_link) 2>&5
5414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5415 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
5418 LIBS
=$lt_globsym_save_LIBS
5419 CFLAGS
=$lt_globsym_save_CFLAGS
5421 echo "cannot find nm_test_func in $nlist" >&5
5424 echo "cannot find nm_test_var in $nlist" >&5
5427 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5430 echo "$progname: failed program was:" >&5
5431 cat conftest.
$ac_ext >&5
5433 rm -rf conftest
* conftst
*
5435 # Do not use the global_symbol_pipe unless it works.
5436 if test yes = "$pipe_works"; then
5439 lt_cv_sys_global_symbol_pipe
=
5445 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5446 lt_cv_sys_global_symbol_to_cdecl
=
5448 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5450 $as_echo "failed" >&6; }
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5453 $as_echo "ok" >&6; }
5456 # Response file support.
5457 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5458 nm_file_list_spec
='@'
5459 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
5460 nm_file_list_spec
='@'
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5500 $as_echo_n "checking for sysroot... " >&6; }
5502 # Check whether --with-sysroot was given.
5503 if test "${with_sysroot+set}" = set; then :
5504 withval
=$with_sysroot;
5511 case $with_sysroot in #(
5513 if test yes = "$GCC"; then
5514 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
5518 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5524 $as_echo "$with_sysroot" >&6; }
5525 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5530 $as_echo "${lt_sysroot:-no}" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
5537 $as_echo_n "checking for a working dd... " >&6; }
5538 if ${ac_cv_path_lt_DD+:} false
; then :
5539 $as_echo_n "(cached) " >&6
5541 printf 0123456789abcdef0123456789abcdef
>conftest.i
5542 cat conftest.i conftest.i
>conftest2.i
5544 if test -z "$lt_DD"; then
5545 ac_path_lt_DD_found
=false
5546 # Loop through the user's path and test for each of PROGNAME-LIST
5547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir
=.
5552 for ac_prog
in dd; do
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
5555 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
5556 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5557 cmp -s conftest.i conftest.out \
5558 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
5560 $ac_path_lt_DD_found && break 3
5565 if test -z "$ac_cv_path_lt_DD"; then
5569 ac_cv_path_lt_DD
=$lt_DD
5572 rm -f conftest.i conftest2.i conftest.out
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
5575 $as_echo "$ac_cv_path_lt_DD" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
5579 $as_echo_n "checking how to truncate binary pipes... " >&6; }
5580 if ${lt_cv_truncate_bin+:} false
; then :
5581 $as_echo_n "(cached) " >&6
5583 printf 0123456789abcdef0123456789abcdef
>conftest.i
5584 cat conftest.i conftest.i
>conftest2.i
5586 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
5587 cmp -s conftest.i conftest.out \
5588 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
5590 rm -f conftest.i conftest2.i conftest.out
5591 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
5594 $as_echo "$lt_cv_truncate_bin" >&6; }
5602 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
5605 for cc_temp
in $
*""; do
5607 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
5608 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
5613 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
5616 # Check whether --enable-libtool-lock was given.
5617 if test "${enable_libtool_lock+set}" = set; then :
5618 enableval
=$enable_libtool_lock;
5621 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
5623 # Some flags need to be propagated to the compiler or linker for good
5627 # Find out what ABI is being produced by ac_compile, and set mode
5628 # options accordingly.
5629 echo 'int i;' > conftest.
$ac_ext
5630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5631 (eval $ac_compile) 2>&5
5633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5634 test $ac_status = 0; }; then
5635 case `/usr/bin/file conftest.$ac_objext` in
5647 # Find out what ABI is being produced by ac_compile, and set linker
5648 # options accordingly.
5649 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5651 (eval $ac_compile) 2>&5
5653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5654 test $ac_status = 0; }; then
5655 if test yes = "$lt_cv_prog_gnu_ld"; then
5656 case `/usr/bin/file conftest.$ac_objext` in
5658 LD
="${LD-ld} -melf32bsmip"
5661 LD
="${LD-ld} -melf32bmipn32"
5664 LD
="${LD-ld} -melf64bmip"
5668 case `/usr/bin/file conftest.$ac_objext` in
5685 # Find out what ABI is being produced by ac_compile, and set linker
5686 # options accordingly.
5687 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
5688 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5689 (eval $ac_compile) 2>&5
5691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5692 test $ac_status = 0; }; then
5694 case `/usr/bin/file conftest.$ac_objext` in
5702 case `/usr/bin/file conftest.$ac_objext` in
5704 emul
="${emul}btsmip"
5707 emul
="${emul}ltsmip"
5710 case `/usr/bin/file conftest.$ac_objext` in
5715 LD
="${LD-ld} -m $emul"
5720 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
5721 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5722 # Find out what ABI is being produced by ac_compile, and set linker
5723 # options accordingly. Note that the listed cases only cover the
5724 # situations where additional linker options are needed (such as when
5725 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
5726 # vice versa); the common cases where no linker options are needed do
5727 # not appear in the list.
5728 echo 'int i;' > conftest.
$ac_ext
5729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5730 (eval $ac_compile) 2>&5
5732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }; then
5734 case `/usr/bin/file conftest.o` in
5737 x86_64-
*kfreebsd
*-gnu)
5738 LD
="${LD-ld} -m elf_i386_fbsd"
5741 case `/usr/bin/file conftest.o` in
5743 LD
="${LD-ld} -m elf32_x86_64"
5746 LD
="${LD-ld} -m elf_i386"
5750 powerpc64le-
*linux
*)
5751 LD
="${LD-ld} -m elf32lppclinux"
5754 LD
="${LD-ld} -m elf32ppclinux"
5757 LD
="${LD-ld} -m elf_s390"
5760 LD
="${LD-ld} -m elf32_sparc"
5766 x86_64-
*kfreebsd
*-gnu)
5767 LD
="${LD-ld} -m elf_x86_64_fbsd"
5770 LD
="${LD-ld} -m elf_x86_64"
5773 LD
="${LD-ld} -m elf64lppc"
5776 LD
="${LD-ld} -m elf64ppc"
5778 s390
*-*linux
*|s390
*-*tpf
*)
5779 LD
="${LD-ld} -m elf64_s390"
5782 LD
="${LD-ld} -m elf64_sparc"
5792 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5794 CFLAGS
="$CFLAGS -belf"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5796 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5797 if ${lt_cv_cc_needs_belf+:} false
; then :
5798 $as_echo_n "(cached) " >&6
5801 ac_cpp
='$CPP $CPPFLAGS'
5802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5817 if ac_fn_c_try_link
"$LINENO"; then :
5818 lt_cv_cc_needs_belf
=yes
5820 lt_cv_cc_needs_belf
=no
5822 rm -f core conftest.err conftest.
$ac_objext \
5823 conftest
$ac_exeext conftest.
$ac_ext
5825 ac_cpp
='$CPP $CPPFLAGS'
5826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5832 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5833 if test yes != "$lt_cv_cc_needs_belf"; then
5834 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5839 # Find out what ABI is being produced by ac_compile, and set linker
5840 # options accordingly.
5841 echo 'int i;' > conftest.
$ac_ext
5842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5843 (eval $ac_compile) 2>&5
5845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5846 test $ac_status = 0; }; then
5847 case `/usr/bin/file conftest.o` in
5849 case $lt_cv_prog_gnu_ld in
5852 i?
86-*-solaris*|x86_64-
*-solaris*)
5853 LD
="${LD-ld} -m elf_x86_64"
5856 LD
="${LD-ld} -m elf64_sparc"
5859 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5860 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
5865 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5877 need_locks
=$enable_libtool_lock
5879 if test -n "$ac_tool_prefix"; then
5880 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5881 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$MANIFEST_TOOL"; then
5888 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
5890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir
=.
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
5908 if test -n "$MANIFEST_TOOL"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5910 $as_echo "$MANIFEST_TOOL" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5919 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
5920 # Extract the first word of "mt", so it can be a program name with args.
5921 set dummy mt
; ac_word
=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$ac_ct_MANIFEST_TOOL"; then
5928 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir
=.
5935 for ac_exec_ext
in '' $ac_executable_extensions; do
5936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5948 if test -n "$ac_ct_MANIFEST_TOOL"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5950 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5956 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
5959 case $cross_compiling:$ac_tool_warned in
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5963 ac_tool_warned
=yes ;;
5965 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
5968 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
5971 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5973 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5974 if ${lt_cv_path_mainfest_tool+:} false
; then :
5975 $as_echo_n "(cached) " >&6
5977 lt_cv_path_mainfest_tool
=no
5978 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5979 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
5980 cat conftest.err
>&5
5981 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
5982 lt_cv_path_mainfest_tool
=yes
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
5987 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
5988 if test yes != "$lt_cv_path_mainfest_tool"; then
5998 rhapsody
* | darwin
*)
5999 if test -n "$ac_tool_prefix"; then
6000 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6001 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 if test -n "$DSYMUTIL"; then
6008 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir
=.
6015 for ac_exec_ext
in '' $ac_executable_extensions; do
6016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6028 if test -n "$DSYMUTIL"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6030 $as_echo "$DSYMUTIL" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6038 if test -z "$ac_cv_prog_DSYMUTIL"; then
6039 ac_ct_DSYMUTIL
=$DSYMUTIL
6040 # Extract the first word of "dsymutil", so it can be a program name with args.
6041 set dummy dsymutil
; ac_word
=$2
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6043 $as_echo_n "checking for $ac_word... " >&6; }
6044 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6045 $as_echo_n "(cached) " >&6
6047 if test -n "$ac_ct_DSYMUTIL"; then
6048 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir
=.
6055 for ac_exec_ext
in '' $ac_executable_extensions; do
6056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6057 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6068 if test -n "$ac_ct_DSYMUTIL"; then
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6070 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6073 $as_echo "no" >&6; }
6076 if test "x$ac_ct_DSYMUTIL" = x
; then
6079 case $cross_compiling:$ac_tool_warned in
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6083 ac_tool_warned
=yes ;;
6085 DSYMUTIL
=$ac_ct_DSYMUTIL
6088 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6093 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_NMEDIT+:} false
; then :
6097 $as_echo_n "(cached) " >&6
6099 if test -n "$NMEDIT"; then
6100 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6106 test -z "$as_dir" && as_dir
=.
6107 for ac_exec_ext
in '' $ac_executable_extensions; do
6108 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 NMEDIT
=$ac_cv_prog_NMEDIT
6120 if test -n "$NMEDIT"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6122 $as_echo "$NMEDIT" >&6; }
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6130 if test -z "$ac_cv_prog_NMEDIT"; then
6131 ac_ct_NMEDIT
=$NMEDIT
6132 # Extract the first word of "nmedit", so it can be a program name with args.
6133 set dummy nmedit
; ac_word
=$2
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6135 $as_echo_n "checking for $ac_word... " >&6; }
6136 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6137 $as_echo_n "(cached) " >&6
6139 if test -n "$ac_ct_NMEDIT"; then
6140 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6146 test -z "$as_dir" && as_dir
=.
6147 for ac_exec_ext
in '' $ac_executable_extensions; do
6148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6149 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6160 if test -n "$ac_ct_NMEDIT"; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6162 $as_echo "$ac_ct_NMEDIT" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6168 if test "x$ac_ct_NMEDIT" = x
; then
6171 case $cross_compiling:$ac_tool_warned in
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6175 ac_tool_warned
=yes ;;
6177 NMEDIT
=$ac_ct_NMEDIT
6180 NMEDIT
="$ac_cv_prog_NMEDIT"
6183 if test -n "$ac_tool_prefix"; then
6184 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6185 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_LIPO+:} false
; then :
6189 $as_echo_n "(cached) " >&6
6191 if test -n "$LIPO"; then
6192 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir
=.
6199 for ac_exec_ext
in '' $ac_executable_extensions; do
6200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 LIPO
=$ac_cv_prog_LIPO
6212 if test -n "$LIPO"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6214 $as_echo "$LIPO" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6222 if test -z "$ac_cv_prog_LIPO"; then
6224 # Extract the first word of "lipo", so it can be a program name with args.
6225 set dummy lipo
; ac_word
=$2
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227 $as_echo_n "checking for $ac_word... " >&6; }
6228 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6229 $as_echo_n "(cached) " >&6
6231 if test -n "$ac_ct_LIPO"; then
6232 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir
=.
6239 for ac_exec_ext
in '' $ac_executable_extensions; do
6240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6241 ac_cv_prog_ac_ct_LIPO
="lipo"
6242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6252 if test -n "$ac_ct_LIPO"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6254 $as_echo "$ac_ct_LIPO" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6260 if test "x$ac_ct_LIPO" = x
; then
6263 case $cross_compiling:$ac_tool_warned in
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6267 ac_tool_warned
=yes ;;
6272 LIPO
="$ac_cv_prog_LIPO"
6275 if test -n "$ac_tool_prefix"; then
6276 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6277 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if ${ac_cv_prog_OTOOL+:} false
; then :
6281 $as_echo_n "(cached) " >&6
6283 if test -n "$OTOOL"; then
6284 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir
=.
6291 for ac_exec_ext
in '' $ac_executable_extensions; do
6292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6293 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 OTOOL
=$ac_cv_prog_OTOOL
6304 if test -n "$OTOOL"; then
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6306 $as_echo "$OTOOL" >&6; }
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309 $as_echo "no" >&6; }
6314 if test -z "$ac_cv_prog_OTOOL"; then
6316 # Extract the first word of "otool", so it can be a program name with args.
6317 set dummy otool
; ac_word
=$2
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319 $as_echo_n "checking for $ac_word... " >&6; }
6320 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6321 $as_echo_n "(cached) " >&6
6323 if test -n "$ac_ct_OTOOL"; then
6324 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir
=.
6331 for ac_exec_ext
in '' $ac_executable_extensions; do
6332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6333 ac_cv_prog_ac_ct_OTOOL
="otool"
6334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6344 if test -n "$ac_ct_OTOOL"; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6346 $as_echo "$ac_ct_OTOOL" >&6; }
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349 $as_echo "no" >&6; }
6352 if test "x$ac_ct_OTOOL" = x
; then
6355 case $cross_compiling:$ac_tool_warned in
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6359 ac_tool_warned
=yes ;;
6364 OTOOL
="$ac_cv_prog_OTOOL"
6367 if test -n "$ac_tool_prefix"; then
6368 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6369 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6371 $as_echo_n "checking for $ac_word... " >&6; }
6372 if ${ac_cv_prog_OTOOL64+:} false
; then :
6373 $as_echo_n "(cached) " >&6
6375 if test -n "$OTOOL64"; then
6376 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir
=.
6383 for ac_exec_ext
in '' $ac_executable_extensions; do
6384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6385 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 OTOOL64
=$ac_cv_prog_OTOOL64
6396 if test -n "$OTOOL64"; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6398 $as_echo "$OTOOL64" >&6; }
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6401 $as_echo "no" >&6; }
6406 if test -z "$ac_cv_prog_OTOOL64"; then
6407 ac_ct_OTOOL64
=$OTOOL64
6408 # Extract the first word of "otool64", so it can be a program name with args.
6409 set dummy otool64
; ac_word
=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6413 $as_echo_n "(cached) " >&6
6415 if test -n "$ac_ct_OTOOL64"; then
6416 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir
=.
6423 for ac_exec_ext
in '' $ac_executable_extensions; do
6424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6436 if test -n "$ac_ct_OTOOL64"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6438 $as_echo "$ac_ct_OTOOL64" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6444 if test "x$ac_ct_OTOOL64" = x
; then
6447 case $cross_compiling:$ac_tool_warned in
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6451 ac_tool_warned
=yes ;;
6453 OTOOL64
=$ac_ct_OTOOL64
6456 OTOOL64
="$ac_cv_prog_OTOOL64"
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6486 $as_echo_n "checking for -single_module linker flag... " >&6; }
6487 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6488 $as_echo_n "(cached) " >&6
6490 lt_cv_apple_cc_single_mod
=no
6491 if test -z "$LT_MULTI_MODULE"; then
6492 # By default we will add the -single_module flag. You can override
6493 # by either setting the environment variable LT_MULTI_MODULE
6494 # non-empty at configure time, or by adding -multi_module to the
6496 rm -rf libconftest.dylib
*
6497 echo "int foo(void){return 1;}" > conftest.c
6498 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6499 -dynamiclib -Wl,-single_module conftest.c" >&5
6500 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6501 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6503 # If there is a non-empty error log, and "single_module"
6504 # appears in it, assume the flag caused a linker warning
6505 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6506 cat conftest.err
>&5
6507 # Otherwise, if the output was created with a 0 exit code from
6508 # the compiler, it worked.
6509 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
6510 lt_cv_apple_cc_single_mod
=yes
6512 cat conftest.err
>&5
6514 rm -rf libconftest.dylib
*
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6519 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6522 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6523 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6524 $as_echo_n "(cached) " >&6
6526 lt_cv_ld_exported_symbols_list
=no
6527 save_LDFLAGS
=$LDFLAGS
6528 echo "_main" > conftest.sym
6529 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6541 if ac_fn_c_try_link
"$LINENO"; then :
6542 lt_cv_ld_exported_symbols_list
=yes
6544 lt_cv_ld_exported_symbols_list
=no
6546 rm -f core conftest.err conftest.
$ac_objext \
6547 conftest
$ac_exeext conftest.
$ac_ext
6548 LDFLAGS
=$save_LDFLAGS
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6552 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6555 $as_echo_n "checking for -force_load linker flag... " >&6; }
6556 if ${lt_cv_ld_force_load+:} false
; then :
6557 $as_echo_n "(cached) " >&6
6559 lt_cv_ld_force_load
=no
6560 cat > conftest.c
<< _LT_EOF
6561 int forced_loaded() { return 2;}
6563 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6564 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6565 echo "$AR cru libconftest.a conftest.o" >&5
6566 $AR cru libconftest.a conftest.o
2>&5
6567 echo "$RANLIB libconftest.a" >&5
6568 $RANLIB libconftest.a
2>&5
6569 cat > conftest.c
<< _LT_EOF
6570 int main() { return 0;}
6572 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6573 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6575 if test -s conftest.err
&& $GREP force_load conftest.err
; then
6576 cat conftest.err
>&5
6577 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
6578 lt_cv_ld_force_load
=yes
6580 cat conftest.err
>&5
6582 rm -f conftest.err libconftest.a conftest conftest.c
6583 rm -rf conftest.dSYM
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6587 $as_echo "$lt_cv_ld_force_load" >&6; }
6589 rhapsody
* | darwin1.
[012])
6590 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
6592 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6593 darwin
*) # darwin 5.x on
6594 # if running on 10.5 or later, the deployment target defaults
6595 # to the OS version, if on x86, and 10.4, the deployment
6596 # target defaults to 10.4. Don't you love it?
6597 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6598 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
6599 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6601 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6603 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
6607 if test yes = "$lt_cv_apple_cc_single_mod"; then
6608 _lt_dar_single_mod
='$single_module'
6610 if test yes = "$lt_cv_ld_exported_symbols_list"; then
6611 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
6613 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
6615 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
6616 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6623 # func_munge_path_list VARIABLE PATH
6624 # -----------------------------------
6625 # VARIABLE is name of variable containing _space_ separated list of
6626 # directories to be munged by the contents of PATH, which is string
6629 # string "DIR[ DIR]" will be prepended to VARIABLE
6631 # string "DIR[ DIR]" will be appended to VARIABLE
6632 # "DIRP[:DIRP]::[DIRA:]DIRA"
6633 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
6634 # "DIRA[ DIRA]" will be appended to VARIABLE
6636 # VARIABLE will be replaced by "DIR[ DIR]"
6637 func_munge_path_list
()
6643 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
6646 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
6649 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
6650 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
6653 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
6659 ac_cpp
='$CPP $CPPFLAGS'
6660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6664 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6665 # On Suns, sometimes $CPP names a directory.
6666 if test -n "$CPP" && test -d "$CPP"; then
6669 if test -z "$CPP"; then
6670 if ${ac_cv_prog_CPP+:} false
; then :
6671 $as_echo_n "(cached) " >&6
6673 # Double quotes because CPP needs to be expanded
6674 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6677 for ac_c_preproc_warn_flag
in '' yes
6679 # Use a header file that comes with gcc, so configuring glibc
6680 # with a fresh cross-compiler works.
6681 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6682 # <limits.h> exists even on freestanding compilers.
6683 # On the NeXT, cc -E runs the code through the compiler's parser,
6684 # not just through cpp. "Syntax error" is here to catch this case.
6685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6688 # include <limits.h>
6690 # include <assert.h>
6694 if ac_fn_c_try_cpp
"$LINENO"; then :
6697 # Broken: fails on valid input.
6700 rm -f conftest.err conftest.i conftest.
$ac_ext
6702 # OK, works on sane cases. Now check whether nonexistent headers
6703 # can be detected and how.
6704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 #include <ac_nonexistent.h>
6708 if ac_fn_c_try_cpp
"$LINENO"; then :
6709 # Broken: success on invalid input.
6712 # Passes both tests.
6716 rm -f conftest.err conftest.i conftest.
$ac_ext
6719 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6720 rm -f conftest.i conftest.err conftest.
$ac_ext
6721 if $ac_preproc_ok; then :
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6734 $as_echo "$CPP" >&6; }
6736 for ac_c_preproc_warn_flag
in '' yes
6738 # Use a header file that comes with gcc, so configuring glibc
6739 # with a fresh cross-compiler works.
6740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6741 # <limits.h> exists even on freestanding compilers.
6742 # On the NeXT, cc -E runs the code through the compiler's parser,
6743 # not just through cpp. "Syntax error" is here to catch this case.
6744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6747 # include <limits.h>
6749 # include <assert.h>
6753 if ac_fn_c_try_cpp
"$LINENO"; then :
6756 # Broken: fails on valid input.
6759 rm -f conftest.err conftest.i conftest.
$ac_ext
6761 # OK, works on sane cases. Now check whether nonexistent headers
6762 # can be detected and how.
6763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6765 #include <ac_nonexistent.h>
6767 if ac_fn_c_try_cpp
"$LINENO"; then :
6768 # Broken: success on invalid input.
6771 # Passes both tests.
6775 rm -f conftest.err conftest.i conftest.
$ac_ext
6778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6779 rm -f conftest.i conftest.err conftest.
$ac_ext
6780 if $ac_preproc_ok; then :
6783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6785 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6786 See \`config.log' for more details" "$LINENO" 5; }
6790 ac_cpp
='$CPP $CPPFLAGS'
6791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6797 $as_echo_n "checking for ANSI C header files... " >&6; }
6798 if ${ac_cv_header_stdc+:} false
; then :
6799 $as_echo_n "(cached) " >&6
6801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6816 if ac_fn_c_try_compile
"$LINENO"; then :
6817 ac_cv_header_stdc
=yes
6819 ac_cv_header_stdc
=no
6821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6823 if test $ac_cv_header_stdc = yes; then
6824 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6826 /* end confdefs.h. */
6830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6831 $EGREP "memchr" >/dev
/null
2>&1; then :
6834 ac_cv_header_stdc
=no
6840 if test $ac_cv_header_stdc = yes; then
6841 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6848 $EGREP "free" >/dev
/null
2>&1; then :
6851 ac_cv_header_stdc
=no
6857 if test $ac_cv_header_stdc = yes; then
6858 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6859 if test "$cross_compiling" = yes; then :
6862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6866 #if ((' ' & 0x0FF) == 0x020)
6867 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6868 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6870 # define ISLOWER(c) \
6871 (('a' <= (c) && (c) <= 'i') \
6872 || ('j' <= (c) && (c) <= 'r') \
6873 || ('s' <= (c) && (c) <= 'z'))
6874 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6877 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6882 for (i = 0; i < 256; i++)
6883 if (XOR (islower (i), ISLOWER (i))
6884 || toupper (i) != TOUPPER (i))
6889 if ac_fn_c_try_run
"$LINENO"; then :
6892 ac_cv_header_stdc
=no
6894 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6895 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6901 $as_echo "$ac_cv_header_stdc" >&6; }
6902 if test $ac_cv_header_stdc = yes; then
6904 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6908 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6909 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6910 inttypes.h stdint.h unistd.h
6912 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6913 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6915 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6916 cat >>confdefs.h
<<_ACEOF
6917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6925 for ac_header
in dlfcn.h
6927 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6929 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6930 cat >>confdefs.h
<<_ACEOF
6931 #define HAVE_DLFCN_H 1
6952 # Check whether --enable-shared was given.
6953 if test "${enable_shared+set}" = set; then :
6954 enableval
=$enable_shared; p
=${PACKAGE-default}
6956 yes) enable_shared
=yes ;;
6957 no
) enable_shared
=no
;;
6960 # Look at the argument we got. We use all the common list separators.
6961 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
6962 for pkg
in $enableval; do
6964 if test "X$pkg" = "X$p"; then
6983 # Check whether --enable-static was given.
6984 if test "${enable_static+set}" = set; then :
6985 enableval
=$enable_static; p
=${PACKAGE-default}
6987 yes) enable_static
=yes ;;
6988 no
) enable_static
=no
;;
6991 # Look at the argument we got. We use all the common list separators.
6992 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
6993 for pkg
in $enableval; do
6995 if test "X$pkg" = "X$p"; then
7015 # Check whether --with-pic was given.
7016 if test "${with_pic+set}" = set; then :
7017 withval
=$with_pic; lt_p
=${PACKAGE-default}
7019 yes|no
) pic_mode
=$withval ;;
7022 # Look at the argument we got. We use all the common list separators.
7023 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7024 for lt_pkg
in $withval; do
7026 if test "X$lt_pkg" = "X$lt_p"; then
7044 # Check whether --enable-fast-install was given.
7045 if test "${enable_fast_install+set}" = set; then :
7046 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7048 yes) enable_fast_install
=yes ;;
7049 no
) enable_fast_install
=no
;;
7051 enable_fast_install
=no
7052 # Look at the argument we got. We use all the common list separators.
7053 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7054 for pkg
in $enableval; do
7056 if test "X$pkg" = "X$p"; then
7057 enable_fast_install
=yes
7064 enable_fast_install
=yes
7074 shared_archive_member_spec
=
7075 case $host,$enable_shared in
7076 power
*-*-aix[5-9]*,yes)
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7078 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7080 # Check whether --with-aix-soname was given.
7081 if test "${with_aix_soname+set}" = set; then :
7082 withval
=$with_aix_soname; case $withval in
7086 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7089 lt_cv_with_aix_soname
=$with_aix_soname
7091 if ${lt_cv_with_aix_soname+:} false
; then :
7092 $as_echo_n "(cached) " >&6
7094 lt_cv_with_aix_soname
=aix
7097 with_aix_soname
=$lt_cv_with_aix_soname
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7101 $as_echo "$with_aix_soname" >&6; }
7102 if test aix
!= "$with_aix_soname"; then
7103 # For the AIX way of multilib, we name the shared archive member
7104 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7105 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7106 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7107 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7108 if test 64 = "${OBJECT_MODE-32}"; then
7109 shared_archive_member_spec
=shr_64
7111 shared_archive_member_spec
=shr
7129 # This can be used to rebuild libtool when needed
7130 LIBTOOL_DEPS
=$ltmain
7132 # Always use our own libtool.
7133 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7164 test -z "$LN_S" && LN_S
="ln -s"
7179 if test -n "${ZSH_VERSION+set}"; then
7180 setopt NO_GLOB_SUBST
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7184 $as_echo_n "checking for objdir... " >&6; }
7185 if ${lt_cv_objdir+:} false
; then :
7186 $as_echo_n "(cached) " >&6
7188 rm -f .libs
2>/dev
/null
7189 mkdir .libs
2>/dev
/null
7190 if test -d .libs
; then
7193 # MS-DOS does not allow filenames that begin with a dot.
7196 rmdir .libs
2>/dev
/null
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7199 $as_echo "$lt_cv_objdir" >&6; }
7200 objdir
=$lt_cv_objdir
7206 cat >>confdefs.h
<<_ACEOF
7207 #define LT_OBJDIR "$lt_cv_objdir/"
7215 # AIX sometimes has problems with the GCC collect2 program. For some
7216 # reason, if we set the COLLECT_NAMES environment variable, the problems
7217 # vanish in a puff of smoke.
7218 if test set != "${COLLECT_NAMES+set}"; then
7220 export COLLECT_NAMES
7227 can_build_shared
=yes
7229 # All known linkers require a '.a' archive for static linking (except MSVC,
7230 # which needs '.lib').
7233 with_gnu_ld
=$lt_cv_prog_gnu_ld
7238 # Set sane defaults for various variables
7239 test -z "$CC" && CC
=cc
7240 test -z "$LTCC" && LTCC
=$CC
7241 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7242 test -z "$LD" && LD
=ld
7243 test -z "$ac_objext" && ac_objext
=o
7245 func_cc_basename
$compiler
7246 cc_basename
=$func_cc_basename_result
7249 # Only perform the check for file, if the check method requires it
7250 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7251 case $deplibs_check_method in
7253 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7255 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7256 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7257 $as_echo_n "(cached) " >&6
7261 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7264 lt_save_MAGIC_CMD
=$MAGIC_CMD
7265 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7266 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7267 for ac_dir
in $ac_dummy; do
7269 test -z "$ac_dir" && ac_dir
=.
7270 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7271 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
7272 if test -n "$file_magic_test_file"; then
7273 case $deplibs_check_method in
7275 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7276 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7277 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7278 $EGREP "$file_magic_regex" > /dev
/null
; then
7283 *** Warning: the command libtool uses to detect shared libraries,
7284 *** $file_magic_cmd, produces output that libtool cannot recognize.
7285 *** The result is that libtool may fail to recognize shared libraries
7286 *** as such. This will affect the creation of libtool libraries that
7287 *** depend on shared libraries, but programs linked with such libtool
7288 *** libraries will work regardless of this problem. Nevertheless, you
7289 *** may want to report the problem to your system manager and/or to
7290 *** bug-libtool@gnu.org
7300 MAGIC_CMD
=$lt_save_MAGIC_CMD
7305 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7306 if test -n "$MAGIC_CMD"; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7308 $as_echo "$MAGIC_CMD" >&6; }
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 $as_echo "no" >&6; }
7318 if test -z "$lt_cv_path_MAGIC_CMD"; then
7319 if test -n "$ac_tool_prefix"; then
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7321 $as_echo_n "checking for file... " >&6; }
7322 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7323 $as_echo_n "(cached) " >&6
7327 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7330 lt_save_MAGIC_CMD
=$MAGIC_CMD
7331 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7332 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7333 for ac_dir
in $ac_dummy; do
7335 test -z "$ac_dir" && ac_dir
=.
7336 if test -f "$ac_dir/file"; then
7337 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
7338 if test -n "$file_magic_test_file"; then
7339 case $deplibs_check_method in
7341 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7342 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7343 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7344 $EGREP "$file_magic_regex" > /dev
/null
; then
7349 *** Warning: the command libtool uses to detect shared libraries,
7350 *** $file_magic_cmd, produces output that libtool cannot recognize.
7351 *** The result is that libtool may fail to recognize shared libraries
7352 *** as such. This will affect the creation of libtool libraries that
7353 *** depend on shared libraries, but programs linked with such libtool
7354 *** libraries will work regardless of this problem. Nevertheless, you
7355 *** may want to report the problem to your system manager and/or to
7356 *** bug-libtool@gnu.org
7366 MAGIC_CMD
=$lt_save_MAGIC_CMD
7371 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7372 if test -n "$MAGIC_CMD"; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7374 $as_echo "$MAGIC_CMD" >&6; }
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 $as_echo "no" >&6; }
7390 # Use C for the default configuration in the libtool script
7394 ac_cpp
='$CPP $CPPFLAGS'
7395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7400 # Source file extension for C test sources.
7403 # Object file extension for compiled C test sources.
7407 # Code to be used in simple compile tests
7408 lt_simple_compile_test_code
="int some_variable = 0;"
7410 # Code to be used in simple link tests
7411 lt_simple_link_test_code
='int main(){return(0);}'
7419 # If no C compiler was specified, use CC.
7422 # If no C compiler flags were specified, use CFLAGS.
7423 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7425 # Allow CC to be a program name with arguments.
7428 # Save the default compiler, since it gets overwritten when the other
7429 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7430 compiler_DEFAULT
=$CC
7432 # save warnings/boilerplate of simple test code
7433 ac_outfile
=conftest.
$ac_objext
7434 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7435 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7436 _lt_compiler_boilerplate
=`cat conftest.err`
7439 ac_outfile
=conftest.
$ac_objext
7440 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7441 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7442 _lt_linker_boilerplate
=`cat conftest.err`
7446 if test -n "$compiler"; then
7448 lt_prog_compiler_no_builtin_flag
=
7450 if test yes = "$GCC"; then
7451 case $cc_basename in
7453 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7455 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7459 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7460 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7461 $as_echo_n "(cached) " >&6
7463 lt_cv_prog_compiler_rtti_exceptions
=no
7464 ac_outfile
=conftest.
$ac_objext
7465 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7466 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
7467 # Insert the option either (1) after the last *FLAGS variable, or
7468 # (2) before a word containing "conftest.", or (3) at the end.
7469 # Note that $ac_compile itself does not contain backslashes and begins
7470 # with a dollar sign (not a hyphen), so the echo should work correctly.
7471 # The option is referenced via a variable to avoid confusing sed.
7472 lt_compile
=`echo "$ac_compile" | $SED \
7473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7475 -e 's:$: $lt_compiler_flag:'`
7476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7477 (eval "$lt_compile" 2>conftest.err
)
7479 cat conftest.err
>&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 if (exit $ac_status) && test -s "$ac_outfile"; then
7482 # The compiler can only warn and ignore the option if not recognized
7483 # So say no if there are warnings other than the usual output.
7484 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7485 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7486 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7487 lt_cv_prog_compiler_rtti_exceptions
=yes
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7494 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7496 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7497 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7509 lt_prog_compiler_wl
=
7510 lt_prog_compiler_pic
=
7511 lt_prog_compiler_static
=
7514 if test yes = "$GCC"; then
7515 lt_prog_compiler_wl
='-Wl,'
7516 lt_prog_compiler_static
='-static'
7520 # All AIX code is PIC.
7521 if test ia64
= "$host_cpu"; then
7522 # AIX 5 now supports IA64 processor
7523 lt_prog_compiler_static
='-Bstatic'
7525 lt_prog_compiler_pic
='-fPIC'
7531 # see comment about AmigaOS4 .so support
7532 lt_prog_compiler_pic
='-fPIC'
7535 # FIXME: we need at least 68020 code to build shared libraries, but
7536 # adding the '-m68020' flag to GCC prevents building anything better,
7538 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7543 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7544 # PIC is the default for these OSes.
7547 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7548 # This hack is so that the source file can tell whether it is being
7549 # built for inclusion in a dll (and should export symbols for example).
7550 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7551 # (--disable-auto-import) libraries
7552 lt_prog_compiler_pic
='-DDLL_EXPORT'
7555 lt_prog_compiler_static
='$wl-static'
7560 darwin
* | rhapsody
*)
7561 # PIC is the default on this platform
7562 # Common symbols not allowed in MH_DYLIB files
7563 lt_prog_compiler_pic
='-fno-common'
7567 # PIC is the default for Haiku.
7568 # The "-static" flag exists, but is broken.
7569 lt_prog_compiler_static
=
7573 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7574 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7575 # sets the default TLS model and affects inlining.
7581 lt_prog_compiler_pic
='-fPIC'
7587 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7588 # Instead, we relocate shared libraries at runtime.
7592 # Just because we use GCC doesn't mean we suddenly get shared libraries
7593 # on systems that don't support them.
7594 lt_prog_compiler_can_build_shared
=no
7599 # QNX uses GNU C++, but need to define -shared option too, otherwise
7601 lt_prog_compiler_pic
='-fPIC -shared'
7605 if test -d /usr
/nec
; then
7606 lt_prog_compiler_pic
=-Kconform_pic
7611 lt_prog_compiler_pic
='-fPIC'
7615 case $cc_basename in
7616 nvcc
*) # Cuda Compiler Driver 2.2
7617 lt_prog_compiler_wl
='-Xlinker '
7618 if test -n "$lt_prog_compiler_pic"; then
7619 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7624 # PORTME Check for flag to pass linker flags through the system compiler.
7627 lt_prog_compiler_wl
='-Wl,'
7628 if test ia64
= "$host_cpu"; then
7629 # AIX 5 now supports IA64 processor
7630 lt_prog_compiler_static
='-Bstatic'
7632 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7636 darwin
* | rhapsody
*)
7637 # PIC is the default on this platform
7638 # Common symbols not allowed in MH_DYLIB files
7639 lt_prog_compiler_pic
='-fno-common'
7640 case $cc_basename in
7642 # NAG Fortran compiler
7643 lt_prog_compiler_wl
='-Wl,-Wl,,'
7644 lt_prog_compiler_pic
='-PIC'
7645 lt_prog_compiler_static
='-Bstatic'
7650 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7651 # This hack is so that the source file can tell whether it is being
7652 # built for inclusion in a dll (and should export symbols for example).
7653 lt_prog_compiler_pic
='-DDLL_EXPORT'
7656 lt_prog_compiler_static
='$wl-static'
7661 hpux9
* | hpux10
* | hpux11
*)
7662 lt_prog_compiler_wl
='-Wl,'
7663 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7670 lt_prog_compiler_pic
='+Z'
7673 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7674 lt_prog_compiler_static
='$wl-a ${wl}archive'
7677 irix5
* | irix6
* | nonstopux
*)
7678 lt_prog_compiler_wl
='-Wl,'
7679 # PIC (with -KPIC) is the default.
7680 lt_prog_compiler_static
='-non_shared'
7683 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7684 case $cc_basename in
7685 # old Intel for x86_64, which still supported -KPIC.
7687 lt_prog_compiler_wl
='-Wl,'
7688 lt_prog_compiler_pic
='-KPIC'
7689 lt_prog_compiler_static
='-static'
7691 # icc used to be incompatible with GCC.
7692 # ICC 10 doesn't accept -KPIC any more.
7694 lt_prog_compiler_wl
='-Wl,'
7695 lt_prog_compiler_pic
='-fPIC'
7696 lt_prog_compiler_static
='-static'
7698 # Lahey Fortran 8.1.
7700 lt_prog_compiler_wl
='-Wl,'
7701 lt_prog_compiler_pic
='--shared'
7702 lt_prog_compiler_static
='--static'
7705 # NAG Fortran compiler
7706 lt_prog_compiler_wl
='-Wl,-Wl,,'
7707 lt_prog_compiler_pic
='-PIC'
7708 lt_prog_compiler_static
='-Bstatic'
7711 # Fabrice Bellard et al's Tiny C Compiler
7712 lt_prog_compiler_wl
='-Wl,'
7713 lt_prog_compiler_pic
='-fPIC'
7714 lt_prog_compiler_static
='-static'
7716 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7717 # Portland Group compilers (*not* the Pentium gcc compiler,
7718 # which looks to be a dead project)
7719 lt_prog_compiler_wl
='-Wl,'
7720 lt_prog_compiler_pic
='-fpic'
7721 lt_prog_compiler_static
='-Bstatic'
7724 lt_prog_compiler_wl
='-Wl,'
7725 # All Alpha code is PIC.
7726 lt_prog_compiler_static
='-non_shared'
7728 xl
* | bgxl
* | bgf
* | mpixl
*)
7729 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7730 lt_prog_compiler_wl
='-Wl,'
7731 lt_prog_compiler_pic
='-qpic'
7732 lt_prog_compiler_static
='-qstaticlink'
7735 case `$CC -V 2>&1 | sed 5q` in
7736 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
7737 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7738 lt_prog_compiler_pic
='-KPIC'
7739 lt_prog_compiler_static
='-Bstatic'
7740 lt_prog_compiler_wl
=''
7742 *Sun\ F
* |
*Sun
*Fortran
*)
7743 lt_prog_compiler_pic
='-KPIC'
7744 lt_prog_compiler_static
='-Bstatic'
7745 lt_prog_compiler_wl
='-Qoption ld '
7749 lt_prog_compiler_pic
='-KPIC'
7750 lt_prog_compiler_static
='-Bstatic'
7751 lt_prog_compiler_wl
='-Wl,'
7753 *Intel
*\
[CF
]*Compiler
*)
7754 lt_prog_compiler_wl
='-Wl,'
7755 lt_prog_compiler_pic
='-fPIC'
7756 lt_prog_compiler_static
='-static'
7759 lt_prog_compiler_wl
='-Wl,'
7760 lt_prog_compiler_pic
='-fpic'
7761 lt_prog_compiler_static
='-Bstatic'
7769 lt_prog_compiler_pic
='-KPIC'
7770 lt_prog_compiler_static
='-Bstatic'
7774 # QNX uses GNU C++, but need to define -shared option too, otherwise
7776 lt_prog_compiler_pic
='-fPIC -shared'
7779 osf3
* | osf4
* | osf5
*)
7780 lt_prog_compiler_wl
='-Wl,'
7781 # All OSF/1 code is PIC.
7782 lt_prog_compiler_static
='-non_shared'
7786 lt_prog_compiler_static
='-non_shared'
7790 lt_prog_compiler_pic
='-KPIC'
7791 lt_prog_compiler_static
='-Bstatic'
7792 case $cc_basename in
7793 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7794 lt_prog_compiler_wl
='-Qoption ld ';;
7796 lt_prog_compiler_wl
='-Wl,';;
7801 lt_prog_compiler_wl
='-Qoption ld '
7802 lt_prog_compiler_pic
='-PIC'
7803 lt_prog_compiler_static
='-Bstatic'
7806 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7807 lt_prog_compiler_wl
='-Wl,'
7808 lt_prog_compiler_pic
='-KPIC'
7809 lt_prog_compiler_static
='-Bstatic'
7813 if test -d /usr
/nec
; then
7814 lt_prog_compiler_pic
='-Kconform_pic'
7815 lt_prog_compiler_static
='-Bstatic'
7819 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7820 lt_prog_compiler_wl
='-Wl,'
7821 lt_prog_compiler_pic
='-KPIC'
7822 lt_prog_compiler_static
='-Bstatic'
7826 lt_prog_compiler_wl
='-Wl,'
7827 lt_prog_compiler_can_build_shared
=no
7831 lt_prog_compiler_pic
='-pic'
7832 lt_prog_compiler_static
='-Bstatic'
7836 lt_prog_compiler_can_build_shared
=no
7842 # For platforms that do not support PIC, -DPIC is meaningless:
7844 lt_prog_compiler_pic
=
7847 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7852 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7853 if ${lt_cv_prog_compiler_pic+:} false
; then :
7854 $as_echo_n "(cached) " >&6
7856 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7859 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7860 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7863 # Check to make sure the PIC flag actually works.
7865 if test -n "$lt_prog_compiler_pic"; then
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7867 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7868 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7869 $as_echo_n "(cached) " >&6
7871 lt_cv_prog_compiler_pic_works
=no
7872 ac_outfile
=conftest.
$ac_objext
7873 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7874 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
7875 # Insert the option either (1) after the last *FLAGS variable, or
7876 # (2) before a word containing "conftest.", or (3) at the end.
7877 # Note that $ac_compile itself does not contain backslashes and begins
7878 # with a dollar sign (not a hyphen), so the echo should work correctly.
7879 # The option is referenced via a variable to avoid confusing sed.
7880 lt_compile
=`echo "$ac_compile" | $SED \
7881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7883 -e 's:$: $lt_compiler_flag:'`
7884 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7885 (eval "$lt_compile" 2>conftest.err
)
7887 cat conftest.err
>&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 if (exit $ac_status) && test -s "$ac_outfile"; then
7890 # The compiler can only warn and ignore the option if not recognized
7891 # So say no if there are warnings other than the usual output.
7892 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7893 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7894 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7895 lt_cv_prog_compiler_pic_works
=yes
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7902 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7904 if test yes = "$lt_cv_prog_compiler_pic_works"; then
7905 case $lt_prog_compiler_pic in
7907 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7910 lt_prog_compiler_pic
=
7911 lt_prog_compiler_can_build_shared
=no
7927 # Check to make sure the static flag actually works.
7929 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7931 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7932 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7933 $as_echo_n "(cached) " >&6
7935 lt_cv_prog_compiler_static_works
=no
7936 save_LDFLAGS
=$LDFLAGS
7937 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7938 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7939 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7940 # The linker can only warn and ignore the option if not recognized
7941 # So say no if there are warnings
7942 if test -s conftest.err
; then
7943 # Append any errors to the config.log.
7944 cat conftest.err
1>&5
7945 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7946 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7947 if diff conftest.exp conftest.er2
>/dev
/null
; then
7948 lt_cv_prog_compiler_static_works
=yes
7951 lt_cv_prog_compiler_static_works
=yes
7955 LDFLAGS
=$save_LDFLAGS
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7959 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7961 if test yes = "$lt_cv_prog_compiler_static_works"; then
7964 lt_prog_compiler_static
=
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7975 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7976 $as_echo_n "(cached) " >&6
7978 lt_cv_prog_compiler_c_o
=no
7979 $RM -r conftest
2>/dev
/null
7983 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7985 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7986 # Insert the option either (1) after the last *FLAGS variable, or
7987 # (2) before a word containing "conftest.", or (3) at the end.
7988 # Note that $ac_compile itself does not contain backslashes and begins
7989 # with a dollar sign (not a hyphen), so the echo should work correctly.
7990 lt_compile
=`echo "$ac_compile" | $SED \
7991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7993 -e 's:$: $lt_compiler_flag:'`
7994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7995 (eval "$lt_compile" 2>out
/conftest.err
)
7997 cat out
/conftest.err
>&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8001 # The compiler can only warn and ignore the option if not recognized
8002 # So say no if there are warnings
8003 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8004 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8005 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8006 lt_cv_prog_compiler_c_o
=yes
8011 # SGI C++ compiler will create directory out/ii_files/ for
8012 # template instantiation
8013 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8014 $RM out
/* && rmdir out
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8021 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8029 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8030 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8031 $as_echo_n "(cached) " >&6
8033 lt_cv_prog_compiler_c_o
=no
8034 $RM -r conftest
2>/dev
/null
8038 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8040 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8041 # Insert the option either (1) after the last *FLAGS variable, or
8042 # (2) before a word containing "conftest.", or (3) at the end.
8043 # Note that $ac_compile itself does not contain backslashes and begins
8044 # with a dollar sign (not a hyphen), so the echo should work correctly.
8045 lt_compile
=`echo "$ac_compile" | $SED \
8046 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8048 -e 's:$: $lt_compiler_flag:'`
8049 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8050 (eval "$lt_compile" 2>out
/conftest.err
)
8052 cat out
/conftest.err
>&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8056 # The compiler can only warn and ignore the option if not recognized
8057 # So say no if there are warnings
8058 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8059 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8060 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8061 lt_cv_prog_compiler_c_o
=yes
8066 # SGI C++ compiler will create directory out/ii_files/ for
8067 # template instantiation
8068 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8069 $RM out
/* && rmdir out
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8076 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8081 hard_links
=nottested
8082 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8083 # do not overwrite the value of need_locks provided by the user
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8085 $as_echo_n "checking if we can lock with hard links... " >&6; }
8088 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8090 ln conftest.a conftest.b
2>&5 || hard_links
=no
8091 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8093 $as_echo "$hard_links" >&6; }
8094 if test no
= "$hard_links"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8096 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8109 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8112 allow_undefined_flag
=
8113 always_export_symbols
=no
8115 archive_expsym_cmds
=
8116 compiler_needs_object
=no
8117 enable_shared_with_static_runtimes
=no
8118 export_dynamic_flag_spec
=
8119 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8120 hardcode_automatic
=no
8122 hardcode_direct_absolute
=no
8123 hardcode_libdir_flag_spec
=
8124 hardcode_libdir_separator
=
8126 hardcode_shlibpath_var
=unsupported
8128 link_all_deplibs
=unknown
8131 old_archive_from_new_cmds
=
8132 old_archive_from_expsyms_cmds
=
8133 thread_safe_flag_spec
=
8134 whole_archive_flag_spec
=
8135 # include_expsyms should be a list of space-separated symbols to be *always*
8136 # included in the symbol list
8138 # exclude_expsyms can be an extended regexp of symbols to exclude
8139 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8140 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8141 # as well as any symbol that contains 'd'.
8142 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8143 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8144 # platforms (ab)use it in PIC code, but their linkers get confused if
8145 # the symbol is explicitly referenced. Since portable code cannot
8146 # rely on this symbol name, it's probably fine to never include it in
8147 # preloaded symbol tables.
8148 # Exclude shared library initialization/finalization symbols.
8149 extract_expsyms_cmds
=
8152 cygwin
* | mingw
* | pw32
* | cegcc
*)
8153 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8154 # When not using gcc, we currently assume that we are using
8155 # Microsoft Visual C++.
8156 if test yes != "$GCC"; then
8161 # we just hope/assume this is gcc and not c89 (= MSVC++)
8171 # On some targets, GNU ld is compatible enough with the native linker
8172 # that we're better off using the native interface for both.
8173 lt_use_gnu_ld_interface
=no
8174 if test yes = "$with_gnu_ld"; then
8177 # The AIX port of GNU ld has always aspired to compatibility
8178 # with the native linker. However, as the warning in the GNU ld
8179 # block says, versions before 2.19.5* couldn't really create working
8180 # shared libraries, regardless of the interface used.
8181 case `$LD -v 2>&1` in
8182 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8183 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8184 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8186 lt_use_gnu_ld_interface
=yes
8191 lt_use_gnu_ld_interface
=yes
8196 if test yes = "$lt_use_gnu_ld_interface"; then
8197 # If archive_cmds runs LD, not CC, wlarc should be empty
8200 # Set some defaults for GNU ld with shared library support. These
8201 # are reset later if shared libraries are not supported. Putting them
8202 # here allows them to be overridden if necessary.
8203 runpath_var
=LD_RUN_PATH
8204 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8205 export_dynamic_flag_spec
='$wl--export-dynamic'
8206 # ancient GNU ld didn't support --whole-archive et. al.
8207 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8208 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8210 whole_archive_flag_spec
=
8212 supports_anon_versioning
=no
8213 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8214 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8215 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8216 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8217 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8218 *\
2.11.
*) ;; # other 2.11 versions
8219 *) supports_anon_versioning
=yes ;;
8222 # See if GNU ld supports shared libraries.
8225 # On AIX/PPC, the GNU linker is very broken
8226 if test ia64
!= "$host_cpu"; then
8230 *** Warning: the GNU linker, at least up to release 2.19, is reported
8231 *** to be unable to reliably create shared libraries on AIX.
8232 *** Therefore, libtool is disabling shared libraries support. If you
8233 *** really care for shared libraries, you may want to install binutils
8234 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8235 *** You will then need to restart the configuration process.
8244 # see comment about AmigaOS4 .so support
8245 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8246 archive_expsym_cmds
=''
8249 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)'
8250 hardcode_libdir_flag_spec
='-L$libdir'
8251 hardcode_minus_L
=yes
8257 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8258 allow_undefined_flag
=unsupported
8259 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8260 # support --undefined. This deserves some investigation. FIXME
8261 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8267 cygwin
* | mingw
* | pw32
* | cegcc
*)
8268 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8269 # as there is no search path for DLLs.
8270 hardcode_libdir_flag_spec
='-L$libdir'
8271 export_dynamic_flag_spec
='$wl--export-all-symbols'
8272 allow_undefined_flag
=unsupported
8273 always_export_symbols
=no
8274 enable_shared_with_static_runtimes
=yes
8275 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'
8276 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8278 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8279 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8280 # If the export-symbols file already is a .def file, use it as
8281 # is; otherwise, prepend EXPORTS...
8282 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8283 cp $export_symbols $output_objdir/$soname.def;
8285 echo EXPORTS > $output_objdir/$soname.def;
8286 cat $export_symbols >> $output_objdir/$soname.def;
8288 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8295 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8296 link_all_deplibs
=yes
8300 hardcode_libdir_flag_spec
='-L$libdir'
8301 hardcode_minus_L
=yes
8302 allow_undefined_flag
=unsupported
8304 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8305 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8306 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8307 $ECHO EXPORTS >> $output_objdir/$libname.def~
8308 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8309 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8310 emximp -o $lib $output_objdir/$libname.def'
8311 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8312 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8313 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8314 $ECHO EXPORTS >> $output_objdir/$libname.def~
8316 if test EXPORTS = "`$SED 1q $export_symbols`"; then
8317 prefix_cmds="$prefix_cmds -e 1d";
8319 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8320 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8321 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8322 emximp -o $lib $output_objdir/$libname.def'
8323 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8324 enable_shared_with_static_runtimes
=yes
8329 hardcode_shlibpath_var
=no
8330 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
8331 export_dynamic_flag_spec
='$wl-E'
8332 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8333 # Instead, shared libraries are loaded at an image base (0x10000000 by
8334 # default) and relocated if they conflict, which is a slow very memory
8335 # consuming and fragmenting process. To avoid this, we pick a random,
8336 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8337 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8338 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8339 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'
8342 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8344 if test linux-dietlibc
= "$host_os"; then
8345 case $cc_basename in
8346 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8349 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8350 && test no
= "$tmp_diet"
8352 tmp_addflag
=' $pic_flag'
8353 tmp_sharedflag
='-shared'
8354 case $cc_basename,$host_cpu in
8355 pgcc
*) # Portland Group C compiler
8356 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'
8357 tmp_addflag
=' $pic_flag'
8359 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8360 # Portland Group f77 and f90 compilers
8361 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'
8362 tmp_addflag
=' $pic_flag -Mnomain' ;;
8363 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8364 tmp_addflag
=' -i_dynamic' ;;
8365 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8366 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8367 ifc
* | ifort
*) # Intel Fortran compiler
8368 tmp_addflag
=' -nofor_main' ;;
8369 lf95
*) # Lahey Fortran 8.1
8370 whole_archive_flag_spec
=
8371 tmp_sharedflag
='--shared' ;;
8372 nagfor
*) # NAGFOR 5.3
8373 tmp_sharedflag
='-Wl,-shared' ;;
8374 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8375 tmp_sharedflag
='-qmkshrobj'
8377 nvcc
*) # Cuda Compiler Driver 2.2
8378 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'
8379 compiler_needs_object
=yes
8382 case `$CC -V 2>&1 | sed 5q` in
8383 *Sun\ C
*) # Sun C 5.9
8384 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'
8385 compiler_needs_object
=yes
8386 tmp_sharedflag
='-G' ;;
8387 *Sun\ F
*) # Sun Fortran 8.3
8388 tmp_sharedflag
='-G' ;;
8390 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8392 if test yes = "$supports_anon_versioning"; then
8393 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8394 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8395 echo "local: *; };" >> $output_objdir/$libname.ver~
8396 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8399 case $cc_basename in
8401 export_dynamic_flag_spec
='-rdynamic'
8403 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8404 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8405 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8406 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8407 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8408 if test yes = "$supports_anon_versioning"; then
8409 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8410 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8411 echo "local: *; };" >> $output_objdir/$libname.ver~
8412 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8422 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8423 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8426 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8427 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8432 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8436 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8437 *** create shared libraries on Solaris systems. Therefore, libtool
8438 *** is disabling shared libraries support. We urge you to upgrade GNU
8439 *** binutils to release 2.9.1 or newer. Another option is to modify
8440 *** your PATH or compiler configuration so that the native linker is
8441 *** used, and then restart.
8444 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8445 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8446 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8452 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8453 case `$LD -v 2>&1` in
8454 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8458 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8459 *** reliably create shared libraries on SCO systems. Therefore, libtool
8460 *** is disabling shared libraries support. We urge you to upgrade GNU
8461 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8462 *** your PATH or compiler configuration so that the native linker is
8463 *** used, and then restart.
8468 # For security reasons, it is highly recommended that you always
8469 # use absolute paths for naming shared libraries, and exclude the
8470 # DT_RUNPATH tag from executables and libraries. But doing so
8471 # requires that you compile everything twice, which is a pain.
8472 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8473 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8475 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8484 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8487 hardcode_shlibpath_var
=no
8491 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8492 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8493 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8500 if test no
= "$ld_shlibs"; then
8502 hardcode_libdir_flag_spec
=
8503 export_dynamic_flag_spec
=
8504 whole_archive_flag_spec
=
8507 # PORTME fill in a description of your system's linker (not GNU ld)
8510 allow_undefined_flag
=unsupported
8511 always_export_symbols
=yes
8512 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'
8513 # Note: this linker hardcodes the directories in LIBPATH if there
8514 # are no directories specified by -L.
8515 hardcode_minus_L
=yes
8516 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8517 # Neither direct hardcoding nor static linking is supported with a
8519 hardcode_direct
=unsupported
8524 if test ia64
= "$host_cpu"; then
8525 # On IA64, the linker does run time linking by default, so we don't
8526 # have to do anything special.
8527 aix_use_runtimelinking
=no
8528 exp_sym_flag
='-Bexport'
8531 # If we're using GNU nm, then we don't want the "-C" option.
8532 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
8533 # Without the "-l" option, or with the "-B" option, AIX nm treats
8534 # weak defined symbols like other global defined symbols, whereas
8535 # GNU nm marks them as "W".
8536 # While the 'weak' keyword is ignored in the Export File, we need
8537 # it in the Import File for the 'aix-soname' feature, so we have
8538 # to replace the "-B" option with "-P" for AIX nm.
8539 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8540 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'
8542 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'
8544 aix_use_runtimelinking
=no
8546 # Test if we are trying to use run time linking or normal
8547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8548 # have runtime linking enabled, and use it for executables.
8549 # For shared libraries, we enable/disable runtime linking
8550 # depending on the kind of the shared library created -
8551 # when "with_aix_soname,aix_use_runtimelinking" is:
8552 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
8553 # "aix,yes" lib.so shared, rtl:yes, for executables
8554 # lib.a static archive
8555 # "both,no" lib.so.V(shr.o) shared, rtl:yes
8556 # lib.a(lib.so.V) shared, rtl:no, for executables
8557 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
8558 # lib.a(lib.so.V) shared, rtl:no
8559 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
8560 # lib.a static archive
8561 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8562 for ld_flag
in $LDFLAGS; do
8563 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
8564 aix_use_runtimelinking
=yes
8568 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
8569 # With aix-soname=svr4, we create the lib.so.V shared archives only,
8570 # so we don't have lib.a shared libs to link our executables.
8571 # We have to force runtime linking in this case.
8572 aix_use_runtimelinking
=yes
8573 LDFLAGS
="$LDFLAGS -Wl,-brtl"
8578 exp_sym_flag
='-bexport'
8579 no_entry_flag
='-bnoentry'
8582 # When large executables or shared objects are built, AIX ld can
8583 # have problems creating the table of contents. If linking a library
8584 # or program results in "error TOC overflow" add -mminimal-toc to
8585 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8586 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8590 hardcode_direct_absolute
=yes
8591 hardcode_libdir_separator
=':'
8592 link_all_deplibs
=yes
8593 file_list_spec
='$wl-f,'
8594 case $with_aix_soname,$aix_use_runtimelinking in
8595 aix
,*) ;; # traditional, no import file
8596 svr4
,* |
*,yes) # use import file
8597 # The Import File defines what to hardcode.
8599 hardcode_direct_absolute
=no
8603 if test yes = "$GCC"; then
8604 case $host_os in aix4.
[012]|aix4.
[012].
*)
8605 # We only want to do this on AIX 4.2 and lower, the check
8606 # below for broken collect2 doesn't work under 4.3+
8607 collect2name
=`$CC -print-prog-name=collect2`
8608 if test -f "$collect2name" &&
8609 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8611 # We have reworked collect2
8614 # We have old collect2
8615 hardcode_direct
=unsupported
8616 # It fails to find uninstalled libraries when the uninstalled
8617 # path is not listed in the libpath. Setting hardcode_minus_L
8618 # to unsupported forces relinking
8619 hardcode_minus_L
=yes
8620 hardcode_libdir_flag_spec
='-L$libdir'
8621 hardcode_libdir_separator
=
8625 shared_flag
='-shared'
8626 if test yes = "$aix_use_runtimelinking"; then
8627 shared_flag
="$shared_flag "'$wl-G'
8629 # Need to ensure runtime linking is disabled for the traditional
8630 # shared library, or the linker may eventually find shared libraries
8631 # /with/ Import File - we do not want to mix them.
8632 shared_flag_aix
='-shared'
8633 shared_flag_svr4
='-shared $wl-G'
8636 if test ia64
= "$host_cpu"; then
8637 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8638 # chokes on -Wl,-G. The following line is correct:
8641 if test yes = "$aix_use_runtimelinking"; then
8644 shared_flag
='$wl-bM:SRE'
8646 shared_flag_aix
='$wl-bM:SRE'
8647 shared_flag_svr4
='$wl-G'
8651 export_dynamic_flag_spec
='$wl-bexpall'
8652 # It seems that -bexpall does not export symbols beginning with
8653 # underscore (_), so it is better to generate a list of symbols to export.
8654 always_export_symbols
=yes
8655 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
8656 # Warning - without using the other runtime loading flags (-brtl),
8657 # -berok will link without error, but may produce a broken library.
8658 allow_undefined_flag
='-berok'
8659 # Determine the default libpath from the value encoded in an
8661 if test set = "${lt_cv_aix_libpath+set}"; then
8662 aix_libpath
=$lt_cv_aix_libpath
8664 if ${lt_cv_aix_libpath_+:} false
; then :
8665 $as_echo_n "(cached) " >&6
8667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8668 /* end confdefs.h. */
8678 if ac_fn_c_try_link
"$LINENO"; then :
8680 lt_aix_libpath_sed
='
8681 /Import File Strings/,/^$/ {
8683 s/^0 *\([^ ]*\) *$/\1/
8687 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8688 # Check for a 64-bit object if we didn't find anything.
8689 if test -z "$lt_cv_aix_libpath_"; then
8690 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8693 rm -f core conftest.err conftest.
$ac_objext \
8694 conftest
$ac_exeext conftest.
$ac_ext
8695 if test -z "$lt_cv_aix_libpath_"; then
8696 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8701 aix_libpath
=$lt_cv_aix_libpath_
8704 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8705 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
8707 if test ia64
= "$host_cpu"; then
8708 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
8709 allow_undefined_flag
="-z nodefs"
8710 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"
8712 # Determine the default libpath from the value encoded in an
8714 if test set = "${lt_cv_aix_libpath+set}"; then
8715 aix_libpath
=$lt_cv_aix_libpath
8717 if ${lt_cv_aix_libpath_+:} false
; then :
8718 $as_echo_n "(cached) " >&6
8720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8731 if ac_fn_c_try_link
"$LINENO"; then :
8733 lt_aix_libpath_sed
='
8734 /Import File Strings/,/^$/ {
8736 s/^0 *\([^ ]*\) *$/\1/
8740 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8741 # Check for a 64-bit object if we didn't find anything.
8742 if test -z "$lt_cv_aix_libpath_"; then
8743 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8746 rm -f core conftest.err conftest.
$ac_objext \
8747 conftest
$ac_exeext conftest.
$ac_ext
8748 if test -z "$lt_cv_aix_libpath_"; then
8749 lt_cv_aix_libpath_
=/usr
/lib
:/lib
8754 aix_libpath
=$lt_cv_aix_libpath_
8757 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
8758 # Warning - without using the other run time loading flags,
8759 # -berok will link without error, but may produce a broken library.
8760 no_undefined_flag
=' $wl-bernotok'
8761 allow_undefined_flag
=' $wl-berok'
8762 if test yes = "$with_gnu_ld"; then
8763 # We only use this code for GNU lds that support --whole-archive.
8764 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
8766 # Exported symbols can be pulled into shared objects from archives
8767 whole_archive_flag_spec
='$convenience'
8769 archive_cmds_need_lc
=yes
8770 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
8771 # -brtl affects multiple linker settings, -berok does not and is overridden later
8772 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
8773 if test svr4
!= "$with_aix_soname"; then
8774 # This is similar to how AIX traditionally builds its shared libraries.
8775 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'
8777 if test aix
!= "$with_aix_soname"; then
8778 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'
8780 # used by -dlpreopen to get the symbols
8781 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
8783 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
8791 # see comment about AmigaOS4 .so support
8792 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8793 archive_expsym_cmds
=''
8796 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)'
8797 hardcode_libdir_flag_spec
='-L$libdir'
8798 hardcode_minus_L
=yes
8804 export_dynamic_flag_spec
=-rdynamic
8807 cygwin
* | mingw
* | pw32
* | cegcc
*)
8808 # When not using gcc, we currently assume that we are using
8809 # Microsoft Visual C++.
8810 # hardcode_libdir_flag_spec is actually meaningless, as there is
8811 # no search path for DLLs.
8812 case $cc_basename in
8815 hardcode_libdir_flag_spec
=' '
8816 allow_undefined_flag
=unsupported
8817 always_export_symbols
=yes
8819 # Tell ltmain to make .lib files, not .a files.
8821 # Tell ltmain to make .dll files, not .so files.
8823 # FIXME: Setting linknames here is a bad hack.
8824 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
8825 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8826 cp "$export_symbols" "$output_objdir/$soname.def";
8827 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
8829 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
8831 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8833 # The linker will not automatically build a static lib if we build a DLL.
8834 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8835 enable_shared_with_static_runtimes
=yes
8836 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8837 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8839 old_postinstall_cmds
='chmod 644 $oldlib'
8840 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8841 lt_tool_outputfile="@TOOL_OUTPUT@"~
8842 case $lt_outputfile in
8845 lt_outputfile=$lt_outputfile.exe
8846 lt_tool_outputfile=$lt_tool_outputfile.exe
8849 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
8850 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8851 $RM "$lt_outputfile.manifest";
8855 # Assume MSVC wrapper
8856 hardcode_libdir_flag_spec
=' '
8857 allow_undefined_flag
=unsupported
8858 # Tell ltmain to make .lib files, not .a files.
8860 # Tell ltmain to make .dll files, not .so files.
8862 # FIXME: Setting linknames here is a bad hack.
8863 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8864 # The linker will automatically build a .lib file if we build a DLL.
8865 old_archive_from_new_cmds
='true'
8866 # FIXME: Should let the user specify the lib program.
8867 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8868 enable_shared_with_static_runtimes
=yes
8873 darwin
* | rhapsody
*)
8876 archive_cmds_need_lc
=no
8878 hardcode_automatic
=yes
8879 hardcode_shlibpath_var
=unsupported
8880 if test yes = "$lt_cv_ld_force_load"; then
8881 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\"`'
8884 whole_archive_flag_spec
=''
8886 link_all_deplibs
=yes
8887 allow_undefined_flag
=$_lt_dar_allow_undefined
8888 case $cc_basename in
8889 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
8890 *) _lt_dar_can_shared
=$GCC ;;
8892 if test yes = "$_lt_dar_can_shared"; then
8893 output_verbose_link_cmd
=func_echo_all
8894 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
8895 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
8896 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"
8897 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"
8906 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8907 hardcode_libdir_flag_spec
='-L$libdir'
8908 hardcode_shlibpath_var
=no
8911 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8912 # support. Future versions do this automatically, but an explicit c++rt0.o
8913 # does not break anything, and helps significantly (at the cost of a little
8916 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8917 hardcode_libdir_flag_spec
='-R$libdir'
8919 hardcode_shlibpath_var
=no
8922 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8924 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8926 hardcode_minus_L
=yes
8927 hardcode_shlibpath_var
=no
8930 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8931 freebsd
* | dragonfly
*)
8932 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8933 hardcode_libdir_flag_spec
='-R$libdir'
8935 hardcode_shlibpath_var
=no
8939 if test yes = "$GCC"; then
8940 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'
8942 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'
8944 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8945 hardcode_libdir_separator
=:
8948 # hardcode_minus_L: Not really in the search PATH,
8949 # but as the default location of the library.
8950 hardcode_minus_L
=yes
8951 export_dynamic_flag_spec
='$wl-E'
8955 if test yes,no
= "$GCC,$with_gnu_ld"; then
8956 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8958 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8960 if test no
= "$with_gnu_ld"; then
8961 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
8962 hardcode_libdir_separator
=:
8964 hardcode_direct_absolute
=yes
8965 export_dynamic_flag_spec
='$wl-E'
8966 # hardcode_minus_L: Not really in the search PATH,
8967 # but as the default location of the library.
8968 hardcode_minus_L
=yes
8973 if test yes,no
= "$GCC,$with_gnu_ld"; then
8976 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
8979 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8982 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8988 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
8991 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8995 # Older versions of the 11.00 compiler do not understand -b yet
8996 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8998 $as_echo_n "checking if $CC understands -b... " >&6; }
8999 if ${lt_cv_prog_compiler__b+:} false
; then :
9000 $as_echo_n "(cached) " >&6
9002 lt_cv_prog_compiler__b
=no
9003 save_LDFLAGS
=$LDFLAGS
9004 LDFLAGS
="$LDFLAGS -b"
9005 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9006 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9007 # The linker can only warn and ignore the option if not recognized
9008 # So say no if there are warnings
9009 if test -s conftest.err
; then
9010 # Append any errors to the config.log.
9011 cat conftest.err
1>&5
9012 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9013 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9014 if diff conftest.exp conftest.er2
>/dev
/null
; then
9015 lt_cv_prog_compiler__b
=yes
9018 lt_cv_prog_compiler__b
=yes
9022 LDFLAGS
=$save_LDFLAGS
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9026 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9028 if test yes = "$lt_cv_prog_compiler__b"; then
9029 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9031 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9037 if test no
= "$with_gnu_ld"; then
9038 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9039 hardcode_libdir_separator
=:
9044 hardcode_shlibpath_var
=no
9048 hardcode_direct_absolute
=yes
9049 export_dynamic_flag_spec
='$wl-E'
9051 # hardcode_minus_L: Not really in the search PATH,
9052 # but as the default location of the library.
9053 hardcode_minus_L
=yes
9059 irix5
* | irix6
* | nonstopux
*)
9060 if test yes = "$GCC"; then
9061 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'
9062 # Try to use the -exported_symbol ld option, if it does not
9063 # work, assume that -exports_file does not work either and
9064 # implicitly export all symbols.
9065 # This should be the same for all languages, so no per-tag cache variable.
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9067 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9068 if ${lt_cv_irix_exported_symbol+:} false
; then :
9069 $as_echo_n "(cached) " >&6
9071 save_LDFLAGS
=$LDFLAGS
9072 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 int foo (void) { return 0; }
9077 if ac_fn_c_try_link
"$LINENO"; then :
9078 lt_cv_irix_exported_symbol
=yes
9080 lt_cv_irix_exported_symbol
=no
9082 rm -f core conftest.err conftest.
$ac_objext \
9083 conftest
$ac_exeext conftest.
$ac_ext
9084 LDFLAGS
=$save_LDFLAGS
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9087 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9088 if test yes = "$lt_cv_irix_exported_symbol"; then
9089 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'
9092 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'
9093 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'
9095 archive_cmds_need_lc
='no'
9096 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9097 hardcode_libdir_separator
=:
9099 link_all_deplibs
=yes
9103 case $cc_basename in
9105 # Fabrice Bellard et al's Tiny C Compiler
9107 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9113 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9114 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9116 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9118 hardcode_libdir_flag_spec
='-R$libdir'
9120 hardcode_shlibpath_var
=no
9124 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9126 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9127 hardcode_libdir_separator
=:
9128 hardcode_shlibpath_var
=no
9135 if test -f /usr
/libexec
/ld.so
; then
9137 hardcode_shlibpath_var
=no
9138 hardcode_direct_absolute
=yes
9139 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9140 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9141 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9142 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9143 export_dynamic_flag_spec
='$wl-E'
9145 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9146 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9154 hardcode_libdir_flag_spec
='-L$libdir'
9155 hardcode_minus_L
=yes
9156 allow_undefined_flag
=unsupported
9158 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9159 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9160 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9161 $ECHO EXPORTS >> $output_objdir/$libname.def~
9162 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9163 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9164 emximp -o $lib $output_objdir/$libname.def'
9165 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9166 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9167 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9168 $ECHO EXPORTS >> $output_objdir/$libname.def~
9170 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9171 prefix_cmds="$prefix_cmds -e 1d";
9173 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9174 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9175 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9176 emximp -o $lib $output_objdir/$libname.def'
9177 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9178 enable_shared_with_static_runtimes
=yes
9182 if test yes = "$GCC"; then
9183 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9184 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'
9186 allow_undefined_flag
=' -expect_unresolved \*'
9187 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'
9189 archive_cmds_need_lc
='no'
9190 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9191 hardcode_libdir_separator
=:
9194 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9195 if test yes = "$GCC"; then
9196 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9197 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'
9198 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9200 allow_undefined_flag
=' -expect_unresolved \*'
9201 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'
9202 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~
9203 $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'
9205 # Both c and cxx compiler support -rpath directly
9206 hardcode_libdir_flag_spec
='-rpath $libdir'
9208 archive_cmds_need_lc
='no'
9209 hardcode_libdir_separator
=:
9213 no_undefined_flag
=' -z defs'
9214 if test yes = "$GCC"; then
9216 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9217 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9218 $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'
9220 case `$CC -V 2>&1` in
9223 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9224 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9225 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9229 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9230 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9231 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9235 hardcode_libdir_flag_spec
='-R$libdir'
9236 hardcode_shlibpath_var
=no
9238 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9240 # The compiler driver will combine and reorder linker options,
9241 # but understands '-z linker_flag'. GCC discards it without '$wl',
9242 # but is careful enough not to reorder.
9243 # Supported since Solaris 2.6 (maybe 2.5.1?)
9244 if test yes = "$GCC"; then
9245 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9247 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9251 link_all_deplibs
=yes
9255 if test sequent
= "$host_vendor"; then
9256 # Use $CC to link under sequent, because it throws in some extra .o
9257 # files that make .init and .fini sections work.
9258 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9260 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9262 hardcode_libdir_flag_spec
='-L$libdir'
9264 hardcode_minus_L
=yes
9265 hardcode_shlibpath_var
=no
9269 case $host_vendor in
9271 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9272 hardcode_direct
=yes # is this really true???
9275 ## LD is ld it makes a PLAMLIB
9276 ## CC just makes a GrossModule.
9277 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9278 reload_cmds
='$CC -r -o $output$reload_objs'
9282 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9283 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9286 runpath_var
='LD_RUN_PATH'
9287 hardcode_shlibpath_var
=no
9291 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9292 hardcode_shlibpath_var
=no
9293 export_dynamic_flag_spec
='-Bexport'
9297 if test -d /usr
/nec
; then
9298 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9299 hardcode_shlibpath_var
=no
9300 runpath_var
=LD_RUN_PATH
9301 hardcode_runpath_var
=yes
9306 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9307 no_undefined_flag
='$wl-z,text'
9308 archive_cmds_need_lc
=no
9309 hardcode_shlibpath_var
=no
9310 runpath_var
='LD_RUN_PATH'
9312 if test yes = "$GCC"; then
9313 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9314 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9316 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9321 sysv5
* | sco3.2v5
* | sco5v6
*)
9322 # Note: We CANNOT use -z defs as we might desire, because we do not
9323 # link with -lc, and that would cause any symbols used from libc to
9324 # always be unresolved, which means just about no library would
9325 # ever link correctly. If we're not using GNU ld we use -z text
9326 # though, which does catch some bad symbols but isn't as heavy-handed
9328 no_undefined_flag
='$wl-z,text'
9329 allow_undefined_flag
='$wl-z,nodefs'
9330 archive_cmds_need_lc
=no
9331 hardcode_shlibpath_var
=no
9332 hardcode_libdir_flag_spec
='$wl-R,$libdir'
9333 hardcode_libdir_separator
=':'
9334 link_all_deplibs
=yes
9335 export_dynamic_flag_spec
='$wl-Bexport'
9336 runpath_var
='LD_RUN_PATH'
9338 if test yes = "$GCC"; then
9339 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9340 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9342 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9343 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_libdir_flag_spec
='-L$libdir'
9350 hardcode_shlibpath_var
=no
9358 if test sni
= "$host_vendor"; then
9360 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9361 export_dynamic_flag_spec
='$wl-Blargedynsym'
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9368 $as_echo "$ld_shlibs" >&6; }
9369 test no
= "$ld_shlibs" && can_build_shared
=no
9371 with_gnu_ld
=$with_gnu_ld
9388 # Do we need to explicitly link libc?
9390 case "x$archive_cmds_need_lc" in
9392 # Assume -lc should be added
9393 archive_cmds_need_lc
=yes
9395 if test yes,yes = "$GCC,$enable_shared"; then
9396 case $archive_cmds in
9398 # FIXME: we may have to deal with multi-command sequences.
9401 # Test whether the compiler implicitly links with -lc since on some
9402 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9403 # to ld, don't add -lc before -lgcc.
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9405 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9406 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9407 $as_echo_n "(cached) " >&6
9410 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9413 (eval $ac_compile) 2>&5
9415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9416 test $ac_status = 0; } 2>conftest.err
; then
9419 libobjs
=conftest.
$ac_objext
9421 wl
=$lt_prog_compiler_wl
9422 pic_flag
=$lt_prog_compiler_pic
9428 lt_save_allow_undefined_flag
=$allow_undefined_flag
9429 allow_undefined_flag
=
9430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9431 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9434 test $ac_status = 0; }
9436 lt_cv_archive_cmds_need_lc
=no
9438 lt_cv_archive_cmds_need_lc
=yes
9440 allow_undefined_flag
=$lt_save_allow_undefined_flag
9442 cat conftest.err
1>&5
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9448 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9449 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9608 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9610 if test yes = "$GCC"; then
9612 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
9613 *) lt_awk_arg
='/^libraries:/' ;;
9616 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
9617 *) lt_sed_strip_eq
='s|=/|/|g' ;;
9619 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9620 case $lt_search_path_spec in
9622 # if the path contains ";" then we assume it to be the separator
9623 # otherwise default to the standard path separator (i.e. ":") - it is
9624 # assumed that no part of a normal pathname contains ";" but that should
9625 # okay in the real world where ";" in dirpaths is itself problematic.
9626 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9629 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9632 # Ok, now we have the path, separated by spaces, we can step through it
9633 # and add multilib dir if necessary...
9634 lt_tmp_lt_search_path_spec
=
9635 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9636 # ...but if some path component already ends with the multilib dir we assume
9637 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
9638 case "$lt_multi_os_dir; $lt_search_path_spec " in
9639 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
9643 for lt_sys_path
in $lt_search_path_spec; do
9644 if test -d "$lt_sys_path$lt_multi_os_dir"; then
9645 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
9646 elif test -n "$lt_multi_os_dir"; then
9647 test -d "$lt_sys_path" && \
9648 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9651 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9652 BEGIN {RS = " "; FS = "/|\n";} {
9655 for (lt_i = NF; lt_i > 0; lt_i--) {
9656 if ($lt_i != "" && $lt_i != ".") {
9657 if ($lt_i == "..") {
9660 if (lt_count == 0) {
9661 lt_foo = "/" $lt_i lt_foo;
9668 if (lt_foo != "") { lt_freq[lt_foo]++; }
9669 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9671 # AWK program above erroneously prepends '/' to C:/dos/paths
9674 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9675 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
9677 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9679 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9682 libname_spec
='lib$name'
9690 shlibpath_overrides_runpath
=unknown
9692 dynamic_linker
="$host_os ld.so"
9693 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9694 need_lib_prefix
=unknown
9695 hardcode_into_libs
=no
9697 # when you set need_version to no, make sure it does not cause -set_version
9698 # flags to be left without arguments
9699 need_version
=unknown
9705 version_type
=linux
# correct to gnu/linux during the next big refactor
9706 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
9707 shlibpath_var
=LIBPATH
9709 # AIX 3 has no versioning support, so we append a major version to the name.
9710 soname_spec
='$libname$release$shared_ext$major'
9714 version_type
=linux
# correct to gnu/linux during the next big refactor
9717 hardcode_into_libs
=yes
9718 if test ia64
= "$host_cpu"; then
9719 # AIX 5 supports IA64
9720 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
9721 shlibpath_var
=LD_LIBRARY_PATH
9723 # With GCC up to 2.95.x, collect2 would create an import file
9724 # for dependence libraries. The import file would start with
9725 # the line '#! .'. This would cause the generated library to
9726 # depend on '.', always an invalid library. This was fixed in
9727 # development snapshots of GCC prior to 3.0.
9729 aix4 | aix4.
[01] | aix4.
[01].
*)
9730 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9732 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
9739 # Using Import Files as archive members, it is possible to support
9740 # filename-based versioning of shared library archives on AIX. While
9741 # this would work for both with and without runtime linking, it will
9742 # prevent static linking of such archives. So we do filename-based
9743 # shared library versioning with .so extension only, which is used
9744 # when both runtime linking and shared linking is enabled.
9745 # Unfortunately, runtime linking may impact performance, so we do
9746 # not want this to be the default eventually. Also, we use the
9747 # versioned .so libs for executables only if there is the -brtl
9748 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
9749 # To allow for filename-based versioning support, we need to create
9750 # libNAME.so.V as an archive file, containing:
9751 # *) an Import File, referring to the versioned filename of the
9752 # archive as well as the shared archive member, telling the
9753 # bitwidth (32 or 64) of that shared object, and providing the
9754 # list of exported symbols of that shared object, eventually
9755 # decorated with the 'weak' keyword
9756 # *) the shared object with the F_LOADONLY flag set, to really avoid
9757 # it being seen by the linker.
9758 # At run time we better use the real file rather than another symlink,
9759 # but for link time we create the symlink libNAME.so -> libNAME.so.V
9761 case $with_aix_soname,$aix_use_runtimelinking in
9762 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
9763 # soname into executable. Probably we can add versioning support to
9764 # collect2, so additional links can be useful in future.
9765 aix
,yes) # traditional libtool
9766 dynamic_linker
='AIX unversionable lib.so'
9767 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9768 # instead of lib<name>.a to let people know that these are not
9769 # typical AIX shared libraries.
9770 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9772 aix
,no
) # traditional AIX only
9773 dynamic_linker
='AIX lib.a(lib.so.V)'
9774 # We preserve .a as extension for shared libraries through AIX4.2
9775 # and later when we are not doing run time linking.
9776 library_names_spec
='$libname$release.a $libname.a'
9777 soname_spec
='$libname$release$shared_ext$major'
9779 svr4
,*) # full svr4 only
9780 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
9781 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9782 # We do not specify a path in Import Files, so LIBPATH fires.
9783 shlibpath_overrides_runpath
=yes
9785 *,yes) # both, prefer svr4
9786 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
9787 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
9788 # unpreferred sharedlib libNAME.a needs extra handling
9789 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"'
9790 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"'
9791 # We do not specify a path in Import Files, so LIBPATH fires.
9792 shlibpath_overrides_runpath
=yes
9794 *,no
) # both, prefer aix
9795 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
9796 library_names_spec
='$libname$release.a $libname.a'
9797 soname_spec
='$libname$release$shared_ext$major'
9798 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
9799 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)'
9800 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"'
9803 shlibpath_var
=LIBPATH
9810 # Since July 2007 AmigaOS4 officially supports .so libraries.
9811 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9812 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9815 library_names_spec
='$libname.ixlibrary $libname.a'
9816 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9817 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'
9823 library_names_spec
='$libname$shared_ext'
9824 dynamic_linker
="$host_os ld.so"
9825 shlibpath_var
=LIBRARY_PATH
9829 version_type
=linux
# correct to gnu/linux during the next big refactor
9831 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9832 soname_spec
='$libname$release$shared_ext$major'
9833 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9834 shlibpath_var
=LD_LIBRARY_PATH
9835 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9836 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9837 # the default ld.so.conf also contains /usr/contrib/lib and
9838 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9839 # libtool to hard-code these into programs
9842 cygwin
* | mingw
* | pw32
* | cegcc
*)
9843 version_type
=windows
9848 case $GCC,$cc_basename in
9851 library_names_spec
='$libname.dll.a'
9852 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9853 postinstall_cmds
='base_file=`basename \$file`~
9854 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9855 dldir=$destdir/`dirname \$dlpath`~
9856 test -d \$dldir || mkdir -p \$dldir~
9857 $install_prog $dir/$dlname \$dldir/$dlname~
9858 chmod a+x \$dldir/$dlname~
9859 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9860 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9862 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9863 dlpath=$dir/\$dldll~
9865 shlibpath_overrides_runpath
=yes
9869 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9870 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9872 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9875 # MinGW DLLs use traditional 'lib' prefix
9876 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9879 # pw32 DLLs use 'pw' prefix rather than 'lib'
9880 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9883 dynamic_linker
='Win32 ld.exe'
9888 libname_spec
='$name'
9889 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
9890 library_names_spec
='$libname.dll.lib'
9894 sys_lib_search_path_spec
=
9900 # Let DOS variable expansion print the short 8.3 style file name.
9901 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9902 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9905 # Convert to MSYS style.
9906 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9909 # Convert to unix form, then to dos form, then back to unix form
9910 # but this time dos style (no spaces!) so that the unix form looks
9911 # like /cygdrive/c/PROGRA~1:/cygdr...
9912 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9913 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9914 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9917 sys_lib_search_path_spec
=$LIB
9918 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9919 # It is most probably a Windows format PATH.
9920 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9922 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9924 # FIXME: find the short name or the path components, as spaces are
9925 # common. (e.g. "Program Files" -> "PROGRA~1")
9929 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9930 postinstall_cmds
='base_file=`basename \$file`~
9931 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
9932 dldir=$destdir/`dirname \$dlpath`~
9933 test -d \$dldir || mkdir -p \$dldir~
9934 $install_prog $dir/$dlname \$dldir/$dlname'
9935 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9936 dlpath=$dir/\$dldll~
9938 shlibpath_overrides_runpath
=yes
9939 dynamic_linker
='Win32 link.exe'
9943 # Assume MSVC wrapper
9944 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
9945 dynamic_linker
='Win32 ld.exe'
9948 # FIXME: first we should search . and the directory the executable is in
9952 darwin
* | rhapsody
*)
9953 dynamic_linker
="$host_os dyld"
9957 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
9958 soname_spec
='$libname$release$major$shared_ext'
9959 shlibpath_overrides_runpath
=yes
9960 shlibpath_var
=DYLD_LIBRARY_PATH
9961 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9963 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9964 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9968 version_type
=linux
# correct to gnu/linux during the next big refactor
9971 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9972 soname_spec
='$libname$release$shared_ext$major'
9973 shlibpath_var
=LD_LIBRARY_PATH
9976 freebsd
* | dragonfly
*)
9977 # DragonFly does not have aout. When/if they implement a new
9978 # versioning mechanism, adjust this.
9979 if test -x /usr
/bin
/objformat
; then
9980 objformat
=`/usr/bin/objformat`
9983 freebsd
[23].
*) objformat
=aout
;;
9987 version_type
=freebsd-
$objformat
9988 case $version_type in
9990 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9991 soname_spec
='$libname$release$shared_ext$major'
9996 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10000 shlibpath_var
=LD_LIBRARY_PATH
10003 shlibpath_overrides_runpath
=yes
10005 freebsd3.
[01]* | freebsdelf3.
[01]*)
10006 shlibpath_overrides_runpath
=yes
10007 hardcode_into_libs
=yes
10009 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10010 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10011 shlibpath_overrides_runpath
=no
10012 hardcode_into_libs
=yes
10014 *) # from 4.6 on, and DragonFly
10015 shlibpath_overrides_runpath
=yes
10016 hardcode_into_libs
=yes
10022 version_type
=linux
# correct to gnu/linux during the next big refactor
10025 dynamic_linker
="$host_os runtime_loader"
10026 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10027 soname_spec
='$libname$release$shared_ext$major'
10028 shlibpath_var
=LIBRARY_PATH
10029 shlibpath_overrides_runpath
=no
10030 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10031 hardcode_into_libs
=yes
10034 hpux9
* | hpux10
* | hpux11
*)
10035 # Give a soname corresponding to the major version so that dld.sl refuses to
10036 # link against other versions.
10043 hardcode_into_libs
=yes
10044 dynamic_linker
="$host_os dld.so"
10045 shlibpath_var
=LD_LIBRARY_PATH
10046 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10047 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10048 soname_spec
='$libname$release$shared_ext$major'
10049 if test 32 = "$HPUX_IA64_MODE"; then
10050 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10051 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10053 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10054 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10059 hardcode_into_libs
=yes
10060 dynamic_linker
="$host_os dld.sl"
10061 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10062 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10063 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10064 soname_spec
='$libname$release$shared_ext$major'
10065 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10066 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10070 dynamic_linker
="$host_os dld.sl"
10071 shlibpath_var
=SHLIB_PATH
10072 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10073 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10074 soname_spec
='$libname$release$shared_ext$major'
10077 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10078 postinstall_cmds
='chmod 555 $lib'
10079 # or fails outright, so override atomically:
10080 install_override_mode
=555
10084 version_type
=linux
# correct to gnu/linux during the next big refactor
10087 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10088 soname_spec
='$libname$release$shared_ext$major'
10089 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10090 shlibpath_var
=LD_LIBRARY_PATH
10091 shlibpath_overrides_runpath
=no
10092 hardcode_into_libs
=yes
10095 irix5
* | irix6
* | nonstopux
*)
10097 nonstopux
*) version_type
=nonstopux
;;
10099 if test yes = "$lt_cv_prog_gnu_ld"; then
10100 version_type
=linux
# correct to gnu/linux during the next big refactor
10107 soname_spec
='$libname$release$shared_ext$major'
10108 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10110 irix5
* | nonstopux
*)
10111 libsuff
= shlibsuff
=
10114 case $LD in # libtool.m4 will add one of these switches to LD
10115 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10116 libsuff
= shlibsuff
= libmagic
=32-bit;;
10117 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10118 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10119 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10120 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10121 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10125 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10126 shlibpath_overrides_runpath
=no
10127 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10128 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10129 hardcode_into_libs
=yes
10132 # No shared lib support for Linux oldld, aout, or coff.
10133 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10138 version_type
=none
# Android doesn't support versioned libraries.
10141 library_names_spec
='$libname$release$shared_ext'
10142 soname_spec
='$libname$release$shared_ext'
10144 shlibpath_var
=LD_LIBRARY_PATH
10145 shlibpath_overrides_runpath
=yes
10147 # This implies no fast_install, which is unacceptable.
10148 # Some rework will be needed to allow for fast_install
10149 # before this can be enabled.
10150 hardcode_into_libs
=yes
10152 dynamic_linker
='Android linker'
10153 # Don't embed -rpath directories since the linker doesn't support them.
10154 hardcode_libdir_flag_spec
='-L$libdir'
10157 # This must be glibc/ELF.
10158 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10159 version_type
=linux
# correct to gnu/linux during the next big refactor
10162 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10163 soname_spec
='$libname$release$shared_ext$major'
10164 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10165 shlibpath_var
=LD_LIBRARY_PATH
10166 shlibpath_overrides_runpath
=no
10168 # Some binutils ld are patched to set DT_RUNPATH
10169 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10170 $as_echo_n "(cached) " >&6
10172 lt_cv_shlibpath_overrides_runpath
=no
10173 save_LDFLAGS
=$LDFLAGS
10174 save_libdir
=$libdir
10175 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10176 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10188 if ac_fn_c_try_link
"$LINENO"; then :
10189 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10190 lt_cv_shlibpath_overrides_runpath
=yes
10193 rm -f core conftest.err conftest.
$ac_objext \
10194 conftest
$ac_exeext conftest.
$ac_ext
10195 LDFLAGS
=$save_LDFLAGS
10196 libdir
=$save_libdir
10200 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10202 # This implies no fast_install, which is unacceptable.
10203 # Some rework will be needed to allow for fast_install
10204 # before this can be enabled.
10205 hardcode_into_libs
=yes
10207 # Ideally, we could use ldconfig to report *all* directores which are
10208 # searched for libraries, however this is still not possible. Aside from not
10209 # being certain /sbin/ldconfig is available, command
10210 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10211 # even though it is searched at run-time. Try to do the best guess by
10212 # appending ld.so.conf contents (and includes) to the search path.
10213 if test -f /etc
/ld.so.conf
; then
10214 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' ' '`
10215 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10218 # We used to test for /lib/ld.so.1 and disable shared libraries on
10219 # powerpc, because MkLinux only supported shared libraries with the
10220 # GNU dynamic linker. Since this was broken with cross compilers,
10221 # most powerpc-linux boxes support dynamic linking these days and
10222 # people can always --disable-shared, the test was removed, and we
10223 # assume the GNU/Linux dynamic linker is in use.
10224 dynamic_linker
='GNU/Linux ld.so'
10231 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10232 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10233 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10234 dynamic_linker
='NetBSD (a.out) ld.so'
10236 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10237 soname_spec
='$libname$release$shared_ext$major'
10238 dynamic_linker
='NetBSD ld.elf_so'
10240 shlibpath_var
=LD_LIBRARY_PATH
10241 shlibpath_overrides_runpath
=yes
10242 hardcode_into_libs
=yes
10246 version_type
=linux
# correct to gnu/linux during the next big refactor
10247 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10248 shlibpath_var
=LD_LIBRARY_PATH
10249 shlibpath_overrides_runpath
=yes
10256 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10257 soname_spec
='$libname$release$shared_ext$major'
10258 shlibpath_var
=LD_LIBRARY_PATH
10259 shlibpath_overrides_runpath
=no
10260 hardcode_into_libs
=yes
10261 dynamic_linker
='ldqnx.so'
10264 openbsd
* | bitrig
*)
10266 sys_lib_dlsearch_path_spec
=/usr
/lib
10268 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10273 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10274 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10275 shlibpath_var
=LD_LIBRARY_PATH
10276 shlibpath_overrides_runpath
=yes
10280 libname_spec
='$name'
10281 version_type
=windows
10285 # OS/2 can only load a DLL with a base name of 8 characters or less.
10286 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
10287 v=$($ECHO $release$versuffix | tr -d .-);
10288 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10289 $ECHO $n$v`$shared_ext'
10290 library_names_spec
='${libname}_dll.$libext'
10291 dynamic_linker
='OS/2 ld.exe'
10292 shlibpath_var
=BEGINLIBPATH
10293 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10294 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10295 postinstall_cmds
='base_file=`basename \$file`~
10296 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10297 dldir=$destdir/`dirname \$dlpath`~
10298 test -d \$dldir || mkdir -p \$dldir~
10299 $install_prog $dir/$dlname \$dldir/$dlname~
10300 chmod a+x \$dldir/$dlname~
10301 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10302 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10304 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10305 dlpath=$dir/\$dldll~
10309 osf3
* | osf4
* | osf5
*)
10313 soname_spec
='$libname$release$shared_ext$major'
10314 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10315 shlibpath_var
=LD_LIBRARY_PATH
10316 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10317 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10325 version_type
=linux
# correct to gnu/linux during the next big refactor
10328 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10329 soname_spec
='$libname$release$shared_ext$major'
10330 shlibpath_var
=LD_LIBRARY_PATH
10331 shlibpath_overrides_runpath
=yes
10332 hardcode_into_libs
=yes
10333 # ldd complains unless libraries are executable
10334 postinstall_cmds
='chmod +x $lib'
10339 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10340 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10341 shlibpath_var
=LD_LIBRARY_PATH
10342 shlibpath_overrides_runpath
=yes
10343 if test yes = "$with_gnu_ld"; then
10350 version_type
=linux
# correct to gnu/linux during the next big refactor
10351 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10352 soname_spec
='$libname$release$shared_ext$major'
10353 shlibpath_var
=LD_LIBRARY_PATH
10354 case $host_vendor in
10356 shlibpath_overrides_runpath
=no
10358 runpath_var
=LD_RUN_PATH
10366 shlibpath_overrides_runpath
=no
10367 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10373 if test -d /usr
/nec
; then
10374 version_type
=linux
# correct to gnu/linux during the next big refactor
10375 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10376 soname_spec
='$libname$shared_ext.$major'
10377 shlibpath_var
=LD_LIBRARY_PATH
10381 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10385 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10386 soname_spec
='$libname$release$shared_ext$major'
10387 shlibpath_var
=LD_LIBRARY_PATH
10388 shlibpath_overrides_runpath
=yes
10389 hardcode_into_libs
=yes
10390 if test yes = "$with_gnu_ld"; then
10391 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10393 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10396 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10400 sys_lib_dlsearch_path_spec
='/usr/lib'
10404 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10405 version_type
=linux
# correct to gnu/linux during the next big refactor
10408 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10409 shlibpath_var
=LD_LIBRARY_PATH
10410 shlibpath_overrides_runpath
=no
10411 hardcode_into_libs
=yes
10415 version_type
=linux
# correct to gnu/linux during the next big refactor
10416 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10417 soname_spec
='$libname$release$shared_ext$major'
10418 shlibpath_var
=LD_LIBRARY_PATH
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10426 $as_echo "$dynamic_linker" >&6; }
10427 test no
= "$dynamic_linker" && can_build_shared
=no
10429 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10430 if test yes = "$GCC"; then
10431 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10434 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10435 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
10438 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10439 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
10442 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
10443 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
10445 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
10446 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
10448 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
10449 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10548 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10550 if test -n "$hardcode_libdir_flag_spec" ||
10551 test -n "$runpath_var" ||
10552 test yes = "$hardcode_automatic"; then
10554 # We can hardcode non-existent directories.
10555 if test no
!= "$hardcode_direct" &&
10556 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10557 # have to relink, otherwise we might link with an installed library
10558 # when we should be linking with a yet-to-be-installed one
10559 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
10560 test no
!= "$hardcode_minus_L"; then
10561 # Linking always hardcodes the temporary library directory.
10562 hardcode_action
=relink
10564 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10565 hardcode_action
=immediate
10568 # We cannot hardcode anything, or else we can only hardcode existing
10570 hardcode_action
=unsupported
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10573 $as_echo "$hardcode_action" >&6; }
10575 if test relink
= "$hardcode_action" ||
10576 test yes = "$inherit_rpath"; then
10577 # Fast installation is not supported
10578 enable_fast_install
=no
10579 elif test yes = "$shlibpath_overrides_runpath" ||
10580 test no
= "$enable_shared"; then
10581 # Fast installation is not necessary
10582 enable_fast_install
=needless
10590 if test yes != "$enable_dlopen"; then
10591 enable_dlopen
=unknown
10592 enable_dlopen_self
=unknown
10593 enable_dlopen_self_static
=unknown
10600 lt_cv_dlopen
=load_add_on
10602 lt_cv_dlopen_self
=yes
10605 mingw
* | pw32
* | cegcc
*)
10606 lt_cv_dlopen
=LoadLibrary
10611 lt_cv_dlopen
=dlopen
10616 # if libdl is installed we need to link against it
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10618 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10619 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10620 $as_echo_n "(cached) " >&6
10622 ac_check_lib_save_LIBS
=$LIBS
10624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10627 /* Override any GCC internal prototype to avoid an error.
10628 Use char because int might match the return type of a GCC
10629 builtin and then its argument prototype would still apply. */
10642 if ac_fn_c_try_link
"$LINENO"; then :
10643 ac_cv_lib_dl_dlopen
=yes
10645 ac_cv_lib_dl_dlopen
=no
10647 rm -f core conftest.err conftest.
$ac_objext \
10648 conftest
$ac_exeext conftest.
$ac_ext
10649 LIBS
=$ac_check_lib_save_LIBS
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10652 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10653 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10654 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10659 lt_cv_dlopen_self
=yes
10666 # Don't try to run any link tests for TPF. We know it's impossible
10667 # because TPF is a cross-compiler, and we know how we open DSOs.
10668 lt_cv_dlopen
=dlopen
10670 lt_cv_dlopen_self
=no
10674 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10675 if test "x$ac_cv_func_shl_load" = xyes
; then :
10676 lt_cv_dlopen
=shl_load
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10679 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10680 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10681 $as_echo_n "(cached) " >&6
10683 ac_check_lib_save_LIBS
=$LIBS
10685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10698 return shl_load ();
10703 if ac_fn_c_try_link
"$LINENO"; then :
10704 ac_cv_lib_dld_shl_load
=yes
10706 ac_cv_lib_dld_shl_load
=no
10708 rm -f core conftest.err conftest.
$ac_objext \
10709 conftest
$ac_exeext conftest.
$ac_ext
10710 LIBS
=$ac_check_lib_save_LIBS
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10713 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10714 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10715 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
10717 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10718 if test "x$ac_cv_func_dlopen" = xyes
; then :
10719 lt_cv_dlopen
=dlopen
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10722 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10723 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10724 $as_echo_n "(cached) " >&6
10726 ac_check_lib_save_LIBS
=$LIBS
10728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10729 /* end confdefs.h. */
10731 /* Override any GCC internal prototype to avoid an error.
10732 Use char because int might match the return type of a GCC
10733 builtin and then its argument prototype would still apply. */
10746 if ac_fn_c_try_link
"$LINENO"; then :
10747 ac_cv_lib_dl_dlopen
=yes
10749 ac_cv_lib_dl_dlopen
=no
10751 rm -f core conftest.err conftest.
$ac_objext \
10752 conftest
$ac_exeext conftest.
$ac_ext
10753 LIBS
=$ac_check_lib_save_LIBS
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10756 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10757 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10758 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10761 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10762 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10763 $as_echo_n "(cached) " >&6
10765 ac_check_lib_save_LIBS
=$LIBS
10766 LIBS
="-lsvld $LIBS"
10767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10785 if ac_fn_c_try_link
"$LINENO"; then :
10786 ac_cv_lib_svld_dlopen
=yes
10788 ac_cv_lib_svld_dlopen
=no
10790 rm -f core conftest.err conftest.
$ac_objext \
10791 conftest
$ac_exeext conftest.
$ac_ext
10792 LIBS
=$ac_check_lib_save_LIBS
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10795 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10796 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10797 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10800 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10801 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10802 $as_echo_n "(cached) " >&6
10804 ac_check_lib_save_LIBS
=$LIBS
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10819 return dld_link ();
10824 if ac_fn_c_try_link
"$LINENO"; then :
10825 ac_cv_lib_dld_dld_link
=yes
10827 ac_cv_lib_dld_dld_link
=no
10829 rm -f core conftest.err conftest.
$ac_objext \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 LIBS
=$ac_check_lib_save_LIBS
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10834 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10835 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10836 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
10857 if test no
= "$lt_cv_dlopen"; then
10863 case $lt_cv_dlopen in
10865 save_CPPFLAGS
=$CPPFLAGS
10866 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10868 save_LDFLAGS
=$LDFLAGS
10869 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10872 LIBS
="$lt_cv_dlopen_libs $LIBS"
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10875 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10876 if ${lt_cv_dlopen_self+:} false
; then :
10877 $as_echo_n "(cached) " >&6
10879 if test yes = "$cross_compiling"; then :
10880 lt_cv_dlopen_self
=cross
10882 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10883 lt_status
=$lt_dlunknown
10884 cat > conftest.
$ac_ext <<_LT_EOF
10885 #line $LINENO "configure"
10886 #include "confdefs.h"
10895 # define LT_DLGLOBAL RTLD_GLOBAL
10898 # define LT_DLGLOBAL DL_GLOBAL
10900 # define LT_DLGLOBAL 0
10904 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10905 find out it does not work in some platform. */
10906 #ifndef LT_DLLAZY_OR_NOW
10908 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10911 # define LT_DLLAZY_OR_NOW DL_LAZY
10914 # define LT_DLLAZY_OR_NOW RTLD_NOW
10917 # define LT_DLLAZY_OR_NOW DL_NOW
10919 # define LT_DLLAZY_OR_NOW 0
10926 /* When -fvisibility=hidden is used, assume the code has been annotated
10927 correspondingly for the symbols needed. */
10928 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10929 int fnord () __attribute__((visibility("default")));
10932 int fnord () { return 42; }
10935 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10936 int status = $lt_dlunknown;
10940 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10943 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10944 else puts (dlerror ());
10946 /* dlclose (self); */
10954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10955 (eval $ac_link) 2>&5
10957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10958 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
10959 (.
/conftest
; exit; ) >&5 2>/dev
/null
10961 case x
$lt_status in
10962 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10963 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10964 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10967 # compilation failed
10968 lt_cv_dlopen_self
=no
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10976 $as_echo "$lt_cv_dlopen_self" >&6; }
10978 if test yes = "$lt_cv_dlopen_self"; then
10979 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10981 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10982 if ${lt_cv_dlopen_self_static+:} false
; then :
10983 $as_echo_n "(cached) " >&6
10985 if test yes = "$cross_compiling"; then :
10986 lt_cv_dlopen_self_static
=cross
10988 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10989 lt_status
=$lt_dlunknown
10990 cat > conftest.
$ac_ext <<_LT_EOF
10991 #line $LINENO "configure"
10992 #include "confdefs.h"
11001 # define LT_DLGLOBAL RTLD_GLOBAL
11004 # define LT_DLGLOBAL DL_GLOBAL
11006 # define LT_DLGLOBAL 0
11010 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11011 find out it does not work in some platform. */
11012 #ifndef LT_DLLAZY_OR_NOW
11014 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11017 # define LT_DLLAZY_OR_NOW DL_LAZY
11020 # define LT_DLLAZY_OR_NOW RTLD_NOW
11023 # define LT_DLLAZY_OR_NOW DL_NOW
11025 # define LT_DLLAZY_OR_NOW 0
11032 /* When -fvisibility=hidden is used, assume the code has been annotated
11033 correspondingly for the symbols needed. */
11034 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11035 int fnord () __attribute__((visibility("default")));
11038 int fnord () { return 42; }
11041 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11042 int status = $lt_dlunknown;
11046 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11049 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11050 else puts (dlerror ());
11052 /* dlclose (self); */
11060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11061 (eval $ac_link) 2>&5
11063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11064 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11065 (.
/conftest
; exit; ) >&5 2>/dev
/null
11067 case x
$lt_status in
11068 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11069 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11070 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11073 # compilation failed
11074 lt_cv_dlopen_self_static
=no
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11082 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11085 CPPFLAGS
=$save_CPPFLAGS
11086 LDFLAGS
=$save_LDFLAGS
11091 case $lt_cv_dlopen_self in
11092 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11093 *) enable_dlopen_self
=unknown
;;
11096 case $lt_cv_dlopen_self_static in
11097 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11098 *) enable_dlopen_self_static
=unknown
;;
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11121 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11122 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11123 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11124 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11126 $as_echo "yes" >&6; }
11128 # FIXME - insert some real tests, host_os isn't really good enough
11131 if test -n "$STRIP"; then
11132 striplib
="$STRIP -x"
11133 old_striplib
="$STRIP -S"
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11135 $as_echo "yes" >&6; }
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11138 $as_echo "no" >&6; }
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11143 $as_echo "no" >&6; }
11159 # Report what library types will actually be built
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11161 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11163 $as_echo "$can_build_shared" >&6; }
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11166 $as_echo_n "checking whether to build shared libraries... " >&6; }
11167 test no
= "$can_build_shared" && enable_shared
=no
11169 # On AIX, shared libraries and static libraries use the same namespace, and
11170 # are all built from PIC.
11173 test yes = "$enable_shared" && enable_static
=no
11174 if test -n "$RANLIB"; then
11175 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11176 postinstall_cmds
='$RANLIB $lib'
11181 if test ia64
!= "$host_cpu"; then
11182 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11183 yes,aix
,yes) ;; # shared object as lib.so file only
11184 yes,svr4
,*) ;; # shared object as lib.so archive member only
11185 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11191 $as_echo "$enable_shared" >&6; }
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11194 $as_echo_n "checking whether to build static libraries... " >&6; }
11195 # Make sure either enable_shared or enable_static is yes.
11196 test yes = "$enable_shared" || enable_static
=yes
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11198 $as_echo "$enable_static" >&6; }
11205 ac_cpp
='$CPP $CPPFLAGS'
11206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11226 ac_config_commands
="$ac_config_commands libtool"
11231 # Only expand once:
11234 # Find a good install program. We prefer a C program (faster),
11235 # so one script is as good as another. But avoid the broken or
11236 # incompatible versions:
11237 # SysV /etc/install, /usr/sbin/install
11238 # SunOS /usr/etc/install
11239 # IRIX /sbin/install
11241 # AmigaOS /C/install, which installs bootblocks on floppy discs
11242 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11243 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11244 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11245 # OS/2's system install, which has a completely different semantic
11246 # ./install, which can be erroneously created by make from ./install.sh.
11247 # Reject install programs that cannot install multiple files.
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11249 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11250 if test -z "$INSTALL"; then
11251 if ${ac_cv_path_install+:} false
; then :
11252 $as_echo_n "(cached) " >&6
11254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11255 for as_dir
in $PATH
11258 test -z "$as_dir" && as_dir
=.
11259 # Account for people who put trailing slashes in PATH elements.
11260 case $as_dir/ in #((
11261 .
/ | .
// |
/[cC
]/* | \
11262 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11263 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
11266 # OSF1 and SCO ODT 3.0 have their own names for install.
11267 # Don't use installbsd from OSF since it installs stuff as root
11269 for ac_prog
in ginstall scoinst
install; do
11270 for ac_exec_ext
in '' $ac_executable_extensions; do
11271 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
11272 if test $ac_prog = install &&
11273 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11274 # AIX install. It has an incompatible calling convention.
11276 elif test $ac_prog = install &&
11277 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11278 # program-specific install script used by HP pwplus--don't use.
11281 rm -rf conftest.one conftest.two conftest.dir
11282 echo one
> conftest.one
11283 echo two
> conftest.two
11285 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11286 test -s conftest.one
&& test -s conftest.two
&&
11287 test -s conftest.dir
/conftest.one
&&
11288 test -s conftest.dir
/conftest.two
11290 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11303 rm -rf conftest.one conftest.two conftest.dir
11306 if test "${ac_cv_path_install+set}" = set; then
11307 INSTALL
=$ac_cv_path_install
11309 # As a last resort, use the slow shell script. Don't cache a
11310 # value for INSTALL within a source directory, because that will
11311 # break other packages using the cache if that directory is
11312 # removed, or if the value is a relative name.
11313 INSTALL
=$ac_install_sh
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11317 $as_echo "$INSTALL" >&6; }
11319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11320 # It thinks the first close brace ends the variable substitution.
11321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11323 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11325 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11329 # Enable large file support (if special flags are necessary)
11331 # Check whether --enable-largefile was given.
11332 if test "${enable_largefile+set}" = set; then :
11333 enableval
=$enable_largefile;
11336 if test "$enable_largefile" != no
; then
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11339 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11340 if ${ac_cv_sys_largefile_CC+:} false
; then :
11341 $as_echo_n "(cached) " >&6
11343 ac_cv_sys_largefile_CC
=no
11344 if test "$GCC" != yes; then
11347 # IRIX 6.2 and later do not support large files by default,
11348 # so use the C compiler's -n32 option if that helps.
11349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11351 #include <sys/types.h>
11352 /* Check that off_t can represent 2**63 - 1 correctly.
11353 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11354 since some C++ compilers masquerading as C compilers
11355 incorrectly reject 9223372036854775807. */
11356 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11357 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11358 && LARGE_OFF_T % 2147483647 == 1)
11368 if ac_fn_c_try_compile
"$LINENO"; then :
11371 rm -f core conftest.err conftest.
$ac_objext
11373 if ac_fn_c_try_compile
"$LINENO"; then :
11374 ac_cv_sys_largefile_CC
=' -n32'; break
11376 rm -f core conftest.err conftest.
$ac_objext
11380 rm -f conftest.
$ac_ext
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11384 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11385 if test "$ac_cv_sys_largefile_CC" != no
; then
11386 CC
=$CC$ac_cv_sys_largefile_CC
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11390 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11391 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11392 $as_echo_n "(cached) " >&6
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 #include <sys/types.h>
11398 /* Check that off_t can represent 2**63 - 1 correctly.
11399 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11400 since some C++ compilers masquerading as C compilers
11401 incorrectly reject 9223372036854775807. */
11402 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11403 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11404 && LARGE_OFF_T % 2147483647 == 1)
11414 if ac_fn_c_try_compile
"$LINENO"; then :
11415 ac_cv_sys_file_offset_bits
=no
; break
11417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11420 #define _FILE_OFFSET_BITS 64
11421 #include <sys/types.h>
11422 /* Check that off_t can represent 2**63 - 1 correctly.
11423 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11424 since some C++ compilers masquerading as C compilers
11425 incorrectly reject 9223372036854775807. */
11426 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11427 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11428 && LARGE_OFF_T % 2147483647 == 1)
11438 if ac_fn_c_try_compile
"$LINENO"; then :
11439 ac_cv_sys_file_offset_bits
=64; break
11441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11442 ac_cv_sys_file_offset_bits
=unknown
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11447 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11448 case $ac_cv_sys_file_offset_bits in #(
11451 cat >>confdefs.h
<<_ACEOF
11452 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11457 if test $ac_cv_sys_file_offset_bits = unknown
; then
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11459 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11460 if ${ac_cv_sys_large_files+:} false
; then :
11461 $as_echo_n "(cached) " >&6
11464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 #include <sys/types.h>
11467 /* Check that off_t can represent 2**63 - 1 correctly.
11468 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11469 since some C++ compilers masquerading as C compilers
11470 incorrectly reject 9223372036854775807. */
11471 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11472 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11473 && LARGE_OFF_T % 2147483647 == 1)
11483 if ac_fn_c_try_compile
"$LINENO"; then :
11484 ac_cv_sys_large_files
=no
; break
11486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11489 #define _LARGE_FILES 1
11490 #include <sys/types.h>
11491 /* Check that off_t can represent 2**63 - 1 correctly.
11492 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11493 since some C++ compilers masquerading as C compilers
11494 incorrectly reject 9223372036854775807. */
11495 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11496 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11497 && LARGE_OFF_T % 2147483647 == 1)
11507 if ac_fn_c_try_compile
"$LINENO"; then :
11508 ac_cv_sys_large_files
=1; break
11510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11511 ac_cv_sys_large_files
=unknown
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11516 $as_echo "$ac_cv_sys_large_files" >&6; }
11517 case $ac_cv_sys_large_files in #(
11520 cat >>confdefs.h
<<_ACEOF
11521 #define _LARGE_FILES $ac_cv_sys_large_files
11533 # Check for needed/wanted data types
11534 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
11535 if test "x$ac_cv_type_int8_t" = xyes
; then :
11537 cat >>confdefs.h
<<_ACEOF
11538 #define HAVE_INT8_T 1
11543 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
11544 if test "x$ac_cv_type_int16_t" = xyes
; then :
11546 cat >>confdefs.h
<<_ACEOF
11547 #define HAVE_INT16_T 1
11552 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
11553 if test "x$ac_cv_type_int32_t" = xyes
; then :
11555 cat >>confdefs.h
<<_ACEOF
11556 #define HAVE_INT32_T 1
11561 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
11562 if test "x$ac_cv_type_int64_t" = xyes
; then :
11564 cat >>confdefs.h
<<_ACEOF
11565 #define HAVE_INT64_T 1
11570 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
11571 if test "x$ac_cv_type_intptr_t" = xyes
; then :
11573 cat >>confdefs.h
<<_ACEOF
11574 #define HAVE_INTPTR_T 1
11579 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
11580 if test "x$ac_cv_type_uint8_t" = xyes
; then :
11582 cat >>confdefs.h
<<_ACEOF
11583 #define HAVE_UINT8_T 1
11588 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
11589 if test "x$ac_cv_type_uint16_t" = xyes
; then :
11591 cat >>confdefs.h
<<_ACEOF
11592 #define HAVE_UINT16_T 1
11597 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
11598 if test "x$ac_cv_type_uint32_t" = xyes
; then :
11600 cat >>confdefs.h
<<_ACEOF
11601 #define HAVE_UINT32_T 1
11606 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
11607 if test "x$ac_cv_type_uint64_t" = xyes
; then :
11609 cat >>confdefs.h
<<_ACEOF
11610 #define HAVE_UINT64_T 1
11615 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
11616 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
11618 cat >>confdefs.h
<<_ACEOF
11619 #define HAVE_UINTPTR_T 1
11627 # Check for needed/wanted headers
11628 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
11630 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11631 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11632 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11633 cat >>confdefs.h
<<_ACEOF
11634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11643 # Figure out whether or not we have these functions
11645 for ac_func
in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul
usleep utime
11647 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11648 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11649 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11650 cat >>confdefs.h
<<_ACEOF
11651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11659 # By default, we use the amalgamation (this may be changed below...)
11664 # See whether we can run specific tclsh versions known to work well;
11665 # if not, then we fall back to plain tclsh.
11666 # TODO: try other versions before falling back?
11668 for ac_prog
in tclsh8.6 tclsh8.5 tclsh
11670 # Extract the first word of "$ac_prog", so it can be a program name with args.
11671 set dummy
$ac_prog; ac_word
=$2
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11673 $as_echo_n "checking for $ac_word... " >&6; }
11674 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
11675 $as_echo_n "(cached) " >&6
11677 if test -n "$TCLSH_CMD"; then
11678 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
11680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11681 for as_dir
in $PATH
11684 test -z "$as_dir" && as_dir
=.
11685 for ac_exec_ext
in '' $ac_executable_extensions; do
11686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11687 ac_cv_prog_TCLSH_CMD
="$ac_prog"
11688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11697 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
11698 if test -n "$TCLSH_CMD"; then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
11700 $as_echo "$TCLSH_CMD" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11703 $as_echo "no" >&6; }
11707 test -n "$TCLSH_CMD" && break
11709 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
11711 if test "$TCLSH_CMD" = "none"; then
11712 # If we can't find a local tclsh, then building the amalgamation will fail.
11713 # We act as though --disable-amalgamation has been used.
11714 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
11721 if test "x${TCLLIBDIR+set}" != "xset" ; then
11722 TCLLIBDIR
='$(libdir)'
11723 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
11727 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
11731 # Set up an appropriate program prefix
11733 if test "$program_prefix" = "NONE"; then
11738 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
11740 $as_echo "$as_me: Version set to $VERSION" >&6;}
11742 RELEASE
=`cat $srcdir/VERSION`
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
11744 $as_echo "$as_me: Release set to $RELEASE" >&6;}
11746 VERSION_NUMBER
=`cat $srcdir/VERSION \
11747 | sed 's/[^0-9]/ /g' \
11748 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
11750 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
11754 # Locate a compiler for the build machine. This compiler should
11755 # generate command-line programs that run on the build machine.
11757 if test x
"$cross_compiling" = xno
; then
11759 BUILD_CFLAGS
=$CFLAGS
11761 if test "${BUILD_CC+set}" != set; then
11762 for ac_prog
in gcc cc cl
11764 # Extract the first word of "$ac_prog", so it can be a program name with args.
11765 set dummy
$ac_prog; ac_word
=$2
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11767 $as_echo_n "checking for $ac_word... " >&6; }
11768 if ${ac_cv_prog_BUILD_CC+:} false
; then :
11769 $as_echo_n "(cached) " >&6
11771 if test -n "$BUILD_CC"; then
11772 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
11774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11775 for as_dir
in $PATH
11778 test -z "$as_dir" && as_dir
=.
11779 for ac_exec_ext
in '' $ac_executable_extensions; do
11780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11781 ac_cv_prog_BUILD_CC
="$ac_prog"
11782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 BUILD_CC
=$ac_cv_prog_BUILD_CC
11792 if test -n "$BUILD_CC"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
11794 $as_echo "$BUILD_CC" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11797 $as_echo "no" >&6; }
11801 test -n "$BUILD_CC" && break
11805 if test "${BUILD_CFLAGS+set}" != set; then
11812 # Do we want to support multithreaded use of sqlite
11814 # Check whether --enable-threadsafe was given.
11815 if test "${enable_threadsafe+set}" = set; then :
11816 enableval
=$enable_threadsafe;
11818 enable_threadsafe
=yes
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
11822 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
11823 if test "$enable_threadsafe" = "no"; then
11824 SQLITE_THREADSAFE
=0
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11826 $as_echo "no" >&6; }
11828 SQLITE_THREADSAFE
=1
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11830 $as_echo "yes" >&6; }
11834 if test "$SQLITE_THREADSAFE" = "1"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
11836 $as_echo_n "checking for library containing pthread_create... " >&6; }
11837 if ${ac_cv_search_pthread_create+:} false
; then :
11838 $as_echo_n "(cached) " >&6
11840 ac_func_search_save_LIBS
=$LIBS
11841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11850 char pthread_create ();
11854 return pthread_create ();
11859 for ac_lib
in '' pthread
; do
11860 if test -z "$ac_lib"; then
11861 ac_res
="none required"
11864 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11866 if ac_fn_c_try_link
"$LINENO"; then :
11867 ac_cv_search_pthread_create
=$ac_res
11869 rm -f core conftest.err conftest.
$ac_objext \
11871 if ${ac_cv_search_pthread_create+:} false
; then :
11875 if ${ac_cv_search_pthread_create+:} false
; then :
11878 ac_cv_search_pthread_create
=no
11880 rm conftest.
$ac_ext
11881 LIBS
=$ac_func_search_save_LIBS
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
11884 $as_echo "$ac_cv_search_pthread_create" >&6; }
11885 ac_res
=$ac_cv_search_pthread_create
11886 if test "$ac_res" != no
; then :
11887 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
11892 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
11893 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11894 $as_echo_n "(cached) " >&6
11896 ac_func_search_save_LIBS
=$LIBS
11897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11900 /* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11906 char pthread_mutexattr_init ();
11910 return pthread_mutexattr_init ();
11915 for ac_lib
in '' pthread
; do
11916 if test -z "$ac_lib"; then
11917 ac_res
="none required"
11920 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11922 if ac_fn_c_try_link
"$LINENO"; then :
11923 ac_cv_search_pthread_mutexattr_init
=$ac_res
11925 rm -f core conftest.err conftest.
$ac_objext \
11927 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11931 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
11934 ac_cv_search_pthread_mutexattr_init
=no
11936 rm conftest.
$ac_ext
11937 LIBS
=$ac_func_search_save_LIBS
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
11940 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
11941 ac_res
=$ac_cv_search_pthread_mutexattr_init
11942 if test "$ac_res" != no
; then :
11943 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11950 # Which crypto library do we use
11953 # Check whether --with-crypto-lib was given.
11954 if test "${with_crypto_lib+set}" = set; then :
11955 withval
=$with_crypto_lib; crypto_lib
=$withval
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto library to use" >&5
11959 $as_echo_n "checking for crypto library to use... " >&6; }
11960 if test "$crypto_lib" = "none"; then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11962 $as_echo "none" >&6; }
11964 if test "$crypto_lib" = "commoncrypto"; then
11965 CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
11966 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: commoncrypto" >&5
11968 $as_echo "commoncrypto" >&6; }
11970 if test "$crypto_lib" = "libtomcrypt"; then
11971 CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
11972 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtomcrypt" >&5
11974 $as_echo "libtomcrypt" >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
11976 $as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
11977 if ${ac_cv_lib_tomcrypt_register_cipher+:} false
; then :
11978 $as_echo_n "(cached) " >&6
11980 ac_check_lib_save_LIBS
=$LIBS
11981 LIBS
="-ltomcrypt $LIBS"
11982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
11991 char register_cipher ();
11995 return register_cipher ();
12000 if ac_fn_c_try_link
"$LINENO"; then :
12001 ac_cv_lib_tomcrypt_register_cipher
=yes
12003 ac_cv_lib_tomcrypt_register_cipher
=no
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_lib_save_LIBS
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
12010 $as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
12011 if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes
; then :
12012 cat >>confdefs.h
<<_ACEOF
12013 #define HAVE_LIBTOMCRYPT 1
12016 LIBS
="-ltomcrypt $LIBS"
12019 as_fn_error $?
"Library crypto not found. Install libtomcrypt!\"" "$LINENO" 5
12023 CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12024 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: openssl" >&5
12026 $as_echo "openssl" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
12028 $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
12029 if ${ac_cv_lib_crypto_HMAC_Init_ex+:} false
; then :
12030 $as_echo_n "(cached) " >&6
12032 ac_check_lib_save_LIBS
=$LIBS
12033 LIBS
="-lcrypto $LIBS"
12034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12043 char HMAC_Init_ex ();
12047 return HMAC_Init_ex ();
12052 if ac_fn_c_try_link
"$LINENO"; then :
12053 ac_cv_lib_crypto_HMAC_Init_ex
=yes
12055 ac_cv_lib_crypto_HMAC_Init_ex
=no
12057 rm -f core conftest.err conftest.
$ac_objext \
12058 conftest
$ac_exeext conftest.
$ac_ext
12059 LIBS
=$ac_check_lib_save_LIBS
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
12062 $as_echo "$ac_cv_lib_crypto_HMAC_Init_ex" >&6; }
12063 if test "x$ac_cv_lib_crypto_HMAC_Init_ex" = xyes
; then :
12064 cat >>confdefs.h
<<_ACEOF
12065 #define HAVE_LIBCRYPTO 1
12068 LIBS
="-lcrypto $LIBS"
12071 as_fn_error $?
"Library crypto not found. Install openssl!\"" "$LINENO" 5
12079 # Do we want to allow a connection created in one thread to be used
12080 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
12081 # due to bugs in the threading implementations. This is thus off by default.
12083 # Check whether --enable-cross-thread-connections was given.
12084 if test "${enable_cross_thread_connections+set}" = set; then :
12085 enableval
=$enable_cross_thread_connections;
12087 enable_xthreadconnect
=no
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to allow connections to be shared across threads" >&5
12091 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12092 if test "$enable_xthreadconnect" = "no"; then
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12095 $as_echo "no" >&6; }
12097 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12099 $as_echo "yes" >&6; }
12104 # Do we want to support release
12106 # Check whether --enable-releasemode was given.
12107 if test "${enable_releasemode+set}" = set; then :
12108 enableval
=$enable_releasemode;
12110 enable_releasemode
=no
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
12114 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12115 if test "$enable_releasemode" = "no"; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12118 $as_echo "no" >&6; }
12120 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12122 $as_echo "yes" >&6; }
12127 # Do we want temporary databases in memory
12129 # Check whether --enable-tempstore was given.
12130 if test "${enable_tempstore+set}" = set; then :
12131 enableval
=$enable_tempstore;
12133 enable_tempstore
=no
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
12137 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12138 case "$enable_tempstore" in
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
12142 $as_echo "never" >&6; }
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12147 $as_echo "no" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12152 $as_echo "yes" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
12157 $as_echo "always" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12169 # Lots of things are different if we are compiling for Windows using
12170 # the CYGWIN environment. So check for that special case and handle
12171 # things accordingly.
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
12174 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12175 if test "$config_BUILD_EXEEXT" = ".exe"; then
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12178 $as_echo "yes" >&6; }
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
12181 $as_echo "unknown" >&6; }
12183 if test "$CYGWIN" != "yes"; then
12186 *cygwin
* ) CYGWIN
=yes;;
12191 if test "$CYGWIN" = "yes"; then
12194 BUILD_EXEEXT
=$EXEEXT
12196 if test x
"$cross_compiling" = xno
; then
12197 TARGET_EXEEXT
=$BUILD_EXEEXT
12199 TARGET_EXEEXT
=$config_TARGET_EXEEXT
12201 if test "$TARGET_EXEEXT" = ".exe"; then
12204 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
12208 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
12217 # Figure out all the parameters needed to compile against Tcl.
12219 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12220 # macros in the in the tcl.m4 file of the standard TCL distribution.
12221 # Those macros could not be used directly since we have to make some
12222 # minor changes to accomodate systems that do not have TCL installed.
12224 # Check whether --enable-tcl was given.
12225 if test "${enable_tcl+set}" = set; then :
12226 enableval
=$enable_tcl; use_tcl
=$enableval
12231 if test "${use_tcl}" = "yes" ; then
12233 # Check whether --with-tcl was given.
12234 if test "${with_tcl+set}" = set; then :
12235 withval
=$with_tcl; with_tclconfig
=${withval}
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
12239 $as_echo_n "checking for Tcl configuration... " >&6; }
12240 if ${ac_cv_c_tclconfig+:} false
; then :
12241 $as_echo_n "(cached) " >&6
12244 # First check to see if --with-tcl was specified.
12245 if test x
"${with_tclconfig}" != x
; then
12246 if test -f "${with_tclconfig}/tclConfig.sh" ; then
12247 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
12249 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
12253 # Start autosearch by asking tclsh
12254 if test x
"${ac_cv_c_tclconfig}" = x
; then
12255 if test x
"$cross_compiling" = xno
; then
12256 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12258 if test -f "$i/tclConfig.sh" ; then
12259 ac_cv_c_tclconfig
="$i"
12266 # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
12267 # So try again after applying corrections.
12268 if test x
"${ac_cv_c_tclconfig}" = x
; then
12269 if test x
"$cross_compiling" = xno
; then
12270 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
12272 if test -f "$i/tclConfig.sh" ; then
12273 ac_cv_c_tclconfig
="$i"
12280 # then check for a private Tcl installation
12281 if test x
"${ac_cv_c_tclconfig}" = x
; then
12284 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12285 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12286 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12288 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12289 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12290 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12292 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12293 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12294 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12296 if test -f "$i/unix/tclConfig.sh" ; then
12297 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12303 # check in a few common install locations
12304 if test x
"${ac_cv_c_tclconfig}" = x
; then
12306 `ls -d ${libdir} 2>/dev/null` \
12307 `ls -d /usr/local/lib 2>/dev/null` \
12308 `ls -d /usr/contrib/lib 2>/dev/null` \
12309 `ls -d /usr/lib 2>/dev/null`
12311 if test -f "$i/tclConfig.sh" ; then
12312 ac_cv_c_tclconfig
=`(cd $i; pwd)`
12318 # check in a few other private locations
12319 if test x
"${ac_cv_c_tclconfig}" = x
; then
12322 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12323 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12324 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12326 if test -f "$i/unix/tclConfig.sh" ; then
12327 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12336 if test x
"${ac_cv_c_tclconfig}" = x
; then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
12339 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12341 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12343 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12345 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12347 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12350 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12351 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
12353 $as_echo "loading" >&6; }
12354 .
$TCL_BIN_DIR/tclConfig.sh
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
12357 $as_echo "file not found" >&6; }
12361 # If the TCL_BIN_DIR is the build directory (not the install directory),
12362 # then set the common variable name to the value of the build variables.
12363 # For example, the variable TCL_LIB_SPEC will be set to the value
12364 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12365 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12366 # installed and uninstalled version of Tcl.
12369 if test -f $TCL_BIN_DIR/Makefile
; then
12370 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
12371 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
12372 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
12376 # eval is required to do the TCL_DBGX substitution
12379 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12380 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12381 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12383 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12384 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12385 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12402 if test "${use_tcl}" = "no" ; then
12410 # Figure out what C libraries are required to compile programs
12411 # that use "readline()" library.
12413 TARGET_READLINE_LIBS
=""
12414 TARGET_READLINE_INC
=""
12415 TARGET_HAVE_READLINE
=0
12416 TARGET_HAVE_EDITLINE
=0
12417 # Check whether --enable-editline was given.
12418 if test "${enable_editline+set}" = set; then :
12419 enableval
=$enable_editline; with_editline
=$enableval
12424 # Check whether --enable-readline was given.
12425 if test "${enable_readline+set}" = set; then :
12426 enableval
=$enable_readline; with_readline
=$enableval
12432 if test x
"$with_editline" != xno
; then
12435 TARGET_HAVE_EDITLINE
=1
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
12437 $as_echo_n "checking for library containing readline... " >&6; }
12438 if ${ac_cv_search_readline+:} false
; then :
12439 $as_echo_n "(cached) " >&6
12441 ac_func_search_save_LIBS
=$LIBS
12442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12445 /* Override any GCC internal prototype to avoid an error.
12446 Use char because int might match the return type of a GCC
12447 builtin and then its argument prototype would still apply. */
12455 return readline ();
12460 for ac_lib
in '' edit
; do
12461 if test -z "$ac_lib"; then
12462 ac_res
="none required"
12465 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12467 if ac_fn_c_try_link
"$LINENO"; then :
12468 ac_cv_search_readline
=$ac_res
12470 rm -f core conftest.err conftest.
$ac_objext \
12472 if ${ac_cv_search_readline+:} false
; then :
12476 if ${ac_cv_search_readline+:} false
; then :
12479 ac_cv_search_readline
=no
12481 rm conftest.
$ac_ext
12482 LIBS
=$ac_func_search_save_LIBS
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
12485 $as_echo "$ac_cv_search_readline" >&6; }
12486 ac_res
=$ac_cv_search_readline
12487 if test "$ac_res" != no
; then :
12488 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12491 TARGET_HAVE_EDITLINE
=0
12494 TARGET_READLINE_LIBS
=$LIBS
12497 if test x
"$with_readline" != xno
; then
12501 # Check whether --with-readline-lib was given.
12502 if test "${with_readline_lib+set}" = set; then :
12503 withval
=$with_readline_lib; with_readline_lib
=$withval
12505 with_readline_lib
="auto"
12508 if test "x$with_readline_lib" = xauto
; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
12512 $as_echo_n "checking for library containing tgetent... " >&6; }
12513 if ${ac_cv_search_tgetent+:} false
; then :
12514 $as_echo_n "(cached) " >&6
12516 ac_func_search_save_LIBS
=$LIBS
12517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12535 for ac_lib
in '' readline ncurses curses termcap
; do
12536 if test -z "$ac_lib"; then
12537 ac_res
="none required"
12540 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12542 if ac_fn_c_try_link
"$LINENO"; then :
12543 ac_cv_search_tgetent
=$ac_res
12545 rm -f core conftest.err conftest.
$ac_objext \
12547 if ${ac_cv_search_tgetent+:} false
; then :
12551 if ${ac_cv_search_tgetent+:} false
; then :
12554 ac_cv_search_tgetent
=no
12556 rm conftest.
$ac_ext
12557 LIBS
=$ac_func_search_save_LIBS
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
12560 $as_echo "$ac_cv_search_tgetent" >&6; }
12561 ac_res
=$ac_cv_search_tgetent
12562 if test "$ac_res" != no
; then :
12563 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
12570 $as_echo_n "checking for readline in -lreadline... " >&6; }
12571 if ${ac_cv_lib_readline_readline+:} false
; then :
12572 $as_echo_n "(cached) " >&6
12574 ac_check_lib_save_LIBS
=$LIBS
12575 LIBS
="-lreadline $LIBS"
12576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12579 /* Override any GCC internal prototype to avoid an error.
12580 Use char because int might match the return type of a GCC
12581 builtin and then its argument prototype would still apply. */
12589 return readline ();
12594 if ac_fn_c_try_link
"$LINENO"; then :
12595 ac_cv_lib_readline_readline
=yes
12597 ac_cv_lib_readline_readline
=no
12599 rm -f core conftest.err conftest.
$ac_objext \
12600 conftest
$ac_exeext conftest.
$ac_ext
12601 LIBS
=$ac_check_lib_save_LIBS
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
12604 $as_echo "$ac_cv_lib_readline_readline" >&6; }
12605 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
12606 TARGET_READLINE_LIBS
="-lreadline"
12611 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
12614 TARGET_READLINE_LIBS
="$with_readline_lib"
12618 # Check whether --with-readline-inc was given.
12619 if test "${with_readline_inc+set}" = set; then :
12620 withval
=$with_readline_inc; with_readline_inc
=$withval
12622 with_readline_inc
="auto"
12625 if test "x$with_readline_inc" = xauto
; then
12626 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
12627 if test "x$ac_cv_header_readline_h" = xyes
; then :
12632 if test "$cross_compiling" != yes; then
12633 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
12634 for subdir
in include include
/readline
; do
12635 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
12637 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
12638 if eval \
${$as_ac_File+:} false
; then :
12639 $as_echo_n "(cached) " >&6
12641 test "$cross_compiling" = yes &&
12642 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
12643 if test -r "$dir/$subdir/readline.h"; then
12644 eval "$as_ac_File=yes"
12646 eval "$as_ac_File=no"
12649 eval ac_res
=\$
$as_ac_File
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12651 $as_echo "$ac_res" >&6; }
12652 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
12656 if test "$found" = "yes"; then
12657 TARGET_READLINE_INC
="-I$dir/$subdir"
12661 test "$found" = "yes" && break
12669 TARGET_READLINE_INC
="$with_readline_inc"
12672 if test x
"$found" = xno
; then
12673 TARGET_READLINE_LIBS
=""
12674 TARGET_READLINE_INC
=""
12675 TARGET_HAVE_READLINE
=0
12677 TARGET_HAVE_READLINE
=1
12687 # Figure out what C libraries are required to compile programs
12688 # that use "fdatasync()" function.
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
12691 $as_echo_n "checking for library containing fdatasync... " >&6; }
12692 if ${ac_cv_search_fdatasync+:} false
; then :
12693 $as_echo_n "(cached) " >&6
12695 ac_func_search_save_LIBS
=$LIBS
12696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12709 return fdatasync ();
12714 for ac_lib
in '' rt
; do
12715 if test -z "$ac_lib"; then
12716 ac_res
="none required"
12719 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12721 if ac_fn_c_try_link
"$LINENO"; then :
12722 ac_cv_search_fdatasync
=$ac_res
12724 rm -f core conftest.err conftest.
$ac_objext \
12726 if ${ac_cv_search_fdatasync+:} false
; then :
12730 if ${ac_cv_search_fdatasync+:} false
; then :
12733 ac_cv_search_fdatasync
=no
12735 rm conftest.
$ac_ext
12736 LIBS
=$ac_func_search_save_LIBS
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
12739 $as_echo "$ac_cv_search_fdatasync" >&6; }
12740 ac_res
=$ac_cv_search_fdatasync
12741 if test "$ac_res" != no
; then :
12742 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12748 # check for debug enabled
12749 # Check whether --enable-debug was given.
12750 if test "${enable_debug+set}" = set; then :
12751 enableval
=$enable_debug; use_debug
=$enableval
12756 if test "${use_debug}" = "yes" ; then
12757 TARGET_DEBUG
="-DSQLITE_DEBUG=1"
12759 TARGET_DEBUG
="-DNDEBUG"
12764 # See whether we should use the amalgamation to build
12765 # Check whether --enable-amalgamation was given.
12766 if test "${enable_amalgamation+set}" = set; then :
12767 enableval
=$enable_amalgamation; use_amalgamation
=$enableval
12769 use_amalgamation
=yes
12772 if test "${use_amalgamation}" != "yes" ; then
12778 # See whether we should allow loadable extensions
12779 # Check whether --enable-load-extension was given.
12780 if test "${enable_load_extension+set}" = set; then :
12781 enableval
=$enable_load_extension; use_loadextension
=$enableval
12783 use_loadextension
=yes
12786 if test "${use_loadextension}" = "yes" ; then
12787 OPT_FEATURE_FLAGS
=""
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12789 $as_echo_n "checking for library containing dlopen... " >&6; }
12790 if ${ac_cv_search_dlopen+:} false
; then :
12791 $as_echo_n "(cached) " >&6
12793 ac_func_search_save_LIBS
=$LIBS
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 /* Override any GCC internal prototype to avoid an error.
12798 Use char because int might match the return type of a GCC
12799 builtin and then its argument prototype would still apply. */
12812 for ac_lib
in '' dl
; do
12813 if test -z "$ac_lib"; then
12814 ac_res
="none required"
12817 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12819 if ac_fn_c_try_link
"$LINENO"; then :
12820 ac_cv_search_dlopen
=$ac_res
12822 rm -f core conftest.err conftest.
$ac_objext \
12824 if ${ac_cv_search_dlopen+:} false
; then :
12828 if ${ac_cv_search_dlopen+:} false
; then :
12831 ac_cv_search_dlopen
=no
12833 rm conftest.
$ac_ext
12834 LIBS
=$ac_func_search_save_LIBS
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12837 $as_echo "$ac_cv_search_dlopen" >&6; }
12838 ac_res
=$ac_cv_search_dlopen
12839 if test "$ac_res" != no
; then :
12840 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12845 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
12849 # See whether we should enable Full Text Search extensions
12850 # Check whether --enable-fts3 was given.
12851 if test "${enable_fts3+set}" = set; then :
12852 enableval
=$enable_fts3; enable_fts3
=yes
12857 if test "${enable_fts3}" = "yes" ; then
12858 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_FTS3"
12860 # Check whether --enable-fts4 was given.
12861 if test "${enable_fts4+set}" = set; then :
12862 enableval
=$enable_fts4; enable_fts4
=yes
12867 if test "${enable_fts4}" = "yes" ; then
12868 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_FTS4"
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
12870 $as_echo_n "checking for library containing log... " >&6; }
12871 if ${ac_cv_search_log+:} false
; then :
12872 $as_echo_n "(cached) " >&6
12874 ac_func_search_save_LIBS
=$LIBS
12875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12893 for ac_lib
in '' m
; do
12894 if test -z "$ac_lib"; then
12895 ac_res
="none required"
12898 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12900 if ac_fn_c_try_link
"$LINENO"; then :
12901 ac_cv_search_log
=$ac_res
12903 rm -f core conftest.err conftest.
$ac_objext \
12905 if ${ac_cv_search_log+:} false
; then :
12909 if ${ac_cv_search_log+:} false
; then :
12912 ac_cv_search_log
=no
12914 rm conftest.
$ac_ext
12915 LIBS
=$ac_func_search_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
12918 $as_echo "$ac_cv_search_log" >&6; }
12919 ac_res
=$ac_cv_search_log
12920 if test "$ac_res" != no
; then :
12921 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12926 # Check whether --enable-fts5 was given.
12927 if test "${enable_fts5+set}" = set; then :
12928 enableval
=$enable_fts5; enable_fts5
=yes
12933 if test "${enable_fts5}" = "yes" ; then
12934 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_FTS5"
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
12936 $as_echo_n "checking for library containing log... " >&6; }
12937 if ${ac_cv_search_log+:} false
; then :
12938 $as_echo_n "(cached) " >&6
12940 ac_func_search_save_LIBS
=$LIBS
12941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12959 for ac_lib
in '' m
; do
12960 if test -z "$ac_lib"; then
12961 ac_res
="none required"
12964 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12966 if ac_fn_c_try_link
"$LINENO"; then :
12967 ac_cv_search_log
=$ac_res
12969 rm -f core conftest.err conftest.
$ac_objext \
12971 if ${ac_cv_search_log+:} false
; then :
12975 if ${ac_cv_search_log+:} false
; then :
12978 ac_cv_search_log
=no
12980 rm conftest.
$ac_ext
12981 LIBS
=$ac_func_search_save_LIBS
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
12984 $as_echo "$ac_cv_search_log" >&6; }
12985 ac_res
=$ac_cv_search_log
12986 if test "$ac_res" != no
; then :
12987 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12994 # See whether we should enable JSON1
12995 # Check whether --enable-json1 was given.
12996 if test "${enable_json1+set}" = set; then :
12997 enableval
=$enable_json1; enable_json1
=yes
13002 if test "${enable_json1}" = "yes" ; then
13003 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_JSON1"
13007 # See whether we should enable RTREE
13008 # Check whether --enable-rtree was given.
13009 if test "${enable_rtree+set}" = set; then :
13010 enableval
=$enable_rtree; enable_rtree
=yes
13015 if test "${enable_rtree}" = "yes" ; then
13016 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_RTREE"
13020 # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
13021 for option
in $CFLAGS $CPPFLAGS
13024 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13025 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13031 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13033 for option
in $CFLAGS
13037 -DSQLITE_ENABLE*) ;;
13038 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
13041 CFLAGS
=$ac_temp_CFLAGS
13044 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13045 ac_temp_CPPFLAGS
=""
13046 for option
in $CPPFLAGS
13050 -DSQLITE_ENABLE*) ;;
13051 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
13054 CPPFLAGS
=$ac_temp_CPPFLAGS
13057 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13058 ac_temp_BUILD_CFLAGS
=""
13059 for option
in $BUILD_CFLAGS
13063 -DSQLITE_ENABLE*) ;;
13064 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
13067 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
13071 # See whether we should use GCOV
13072 # Check whether --enable-gcov was given.
13073 if test "${enable_gcov+set}" = set; then :
13074 enableval
=$enable_gcov; use_gcov
=$enableval
13079 if test "${use_gcov}" = "yes" ; then
13088 # Output the config header
13089 ac_config_headers
="$ac_config_headers config.h"
13093 # Generate the output files.
13096 ac_config_files
="$ac_config_files Makefile sqlcipher.pc"
13098 cat >confcache
<<\_ACEOF
13099 # This file is a shell script that caches the results of configure
13100 # tests run on this system so they can be shared between configure
13101 # scripts and configure runs, see configure's option --config-cache.
13102 # It is not useful on other systems. If it contains results you don't
13103 # want to keep, you may remove or edit it.
13105 # config.status only pays attention to the cache file if you give it
13106 # the --recheck option to rerun configure.
13108 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13110 # following values.
13114 # The following way of writing the cache mishandles newlines in values,
13115 # but we know of no workaround that is simple, portable, and efficient.
13116 # So, we kill variables containing newlines.
13117 # Ultrix sh set writes to stderr and can't be redirected directly,
13118 # and sets the high bit in the cache file unless we assign to the vars.
13120 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13121 eval ac_val
=\$
$ac_var
13125 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13129 _ | IFS | as_nl
) ;; #(
13130 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13131 *) { eval $ac_var=; unset $ac_var;} ;;
13137 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13138 *${as_nl}ac_space
=\
*)
13139 # `set' does not quote correctly, so add quotes: double-quote
13140 # substitution turns \\\\ into \\, and sed turns \\ into \.
13143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13146 # `set' quotes correctly as required by POSIX, so do not add quotes.
13147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13158 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13160 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13161 if test -w "$cache_file"; then
13162 if test "x$cache_file" != "x/dev/null"; then
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13164 $as_echo "$as_me: updating cache $cache_file" >&6;}
13165 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13166 cat confcache
>"$cache_file"
13168 case $cache_file in #(
13170 mv -f confcache
"$cache_file"$$
&&
13171 mv -f "$cache_file"$$
"$cache_file" ;; #(
13173 mv -f confcache
"$cache_file" ;;
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13179 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13184 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13185 # Let make expand exec_prefix.
13186 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13188 DEFS
=-DHAVE_CONFIG_H
13193 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13194 # 1. Remove the extension, and $U if already installed.
13195 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13196 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13197 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13198 # will be set to the directory where LIBOBJS objects are built.
13199 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13200 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13202 LIBOBJS
=$ac_libobjs
13204 LTLIBOBJS
=$ac_ltlibobjs
13208 : "${CONFIG_STATUS=./config.status}"
13210 ac_clean_files_save
=$ac_clean_files
13211 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13213 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13215 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13217 # Generated by $as_me.
13218 # Run this file to recreate the current configuration.
13219 # Compiler output produced by configure, useful for debugging
13220 # configure, is in config.log if it exists.
13223 ac_cs_recheck=false
13226 SHELL=\${CONFIG_SHELL-$SHELL}
13229 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13230 ## -------------------- ##
13231 ## M4sh Initialization. ##
13232 ## -------------------- ##
13234 # Be more Bourne compatible
13235 DUALCASE
=1; export DUALCASE
# for MKS sh
13236 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13239 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13240 # is contrary to our usage. Disable this feature.
13241 alias -g '${1+"$@"}'='"$@"'
13242 setopt NO_GLOB_SUBST
13244 case `(set -o) 2>/dev/null` in #(
13256 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13257 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13258 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13259 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13260 # Prefer a ksh shell builtin over an external printf program on Solaris,
13261 # but without wasting forks for bash or zsh.
13262 if test -z "$BASH_VERSION$ZSH_VERSION" \
13263 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13264 as_echo='print
-r --'
13265 as_echo_n='print
-rn --'
13266 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13267 as_echo='printf %s
\n'
13268 as_echo_n='printf %s
'
13270 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13271 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13272 as_echo_n='/usr
/ucb
/echo -n'
13274 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13275 as_echo_n_body='eval
13279 expr "X$arg" : "X\\(.*\\)$as_nl";
13280 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13282 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13284 export as_echo_n_body
13285 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13287 export as_echo_body
13288 as_echo='sh
-c $as_echo_body as_echo
'
13291 # The user is always right.
13292 if test "${PATH_SEPARATOR+set}" != set; then
13294 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13295 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13302 # We need space, tab and new line, in precisely that order. Quoting is
13303 # there to prevent editors from complaining about space-tab.
13304 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13305 # splitting by setting IFS to empty value.)
13308 # Find who we are. Look in the path if we contain no directory separator.
13311 *[\\/]* ) as_myself=$0 ;;
13312 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13313 for as_dir in $PATH
13316 test -z "$as_dir" && as_dir=.
13317 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13323 # We did not find ourselves, most probably we were run as `sh COMMAND'
13324 # in which case we are not to be found in the path.
13325 if test "x$as_myself" = x
; then
13328 if test ! -f "$as_myself"; then
13329 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13333 # Unset variables that we do not need and which cause bugs (e.g. in
13334 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13335 # suppresses any "Segmentation fault" message there. '((' could
13336 # trigger a bug in pdksh 5.2.14.
13337 for as_var
in BASH_ENV ENV MAIL MAILPATH
13338 do eval test x\
${$as_var+set} = xset \
13339 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13352 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13355 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13356 # ----------------------------------------
13357 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13358 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13359 # script with STATUS, using 1 if that was 0.
13362 as_status
=$1; test $as_status -eq 0 && as_status
=1
13364 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13365 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13367 $as_echo "$as_me: error: $2" >&2
13368 as_fn_exit
$as_status
13372 # as_fn_set_status STATUS
13373 # -----------------------
13374 # Set $? to STATUS, without forking.
13375 as_fn_set_status
()
13378 } # as_fn_set_status
13380 # as_fn_exit STATUS
13381 # -----------------
13382 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13386 as_fn_set_status
$1
13392 # Portably unset VAR.
13395 { eval $1=; unset $1;}
13397 as_unset
=as_fn_unset
13398 # as_fn_append VAR VALUE
13399 # ----------------------
13400 # Append the text in VALUE to the end of the definition contained in VAR. Take
13401 # advantage of any shell optimizations that allow amortized linear growth over
13402 # repeated appends, instead of the typical quadratic growth present in naive
13404 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13405 eval 'as_fn_append ()
13416 # as_fn_arith ARG...
13417 # ------------------
13418 # Perform arithmetic evaluation on the ARGs, and store the result in the
13419 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13420 # must be portable across $(()) and expr.
13421 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13422 eval 'as_fn_arith ()
13429 as_val
=`expr "$@" || test $? -eq 1`
13434 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13435 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13441 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13442 as_basename
=basename
13447 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13453 as_me
=`$as_basename -- "$0" ||
13454 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13455 X"$0" : 'X\(//\)$' \| \
13456 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13458 sed '/^.*\/\([^/][^/]*\)\/*$/{
13472 # Avoid depending upon Character Ranges.
13473 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13474 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13475 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13476 as_cr_digits
='0123456789'
13477 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13479 ECHO_C
= ECHO_N
= ECHO_T
=
13480 case `echo -n x` in #(((((
13482 case `echo 'xy\c'` in
13483 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13485 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13492 rm -f conf$$ conf$$.exe conf$$.
file
13493 if test -d conf$$.dir
; then
13494 rm -f conf$$.dir
/conf$$.
file
13497 mkdir conf$$.dir
2>/dev
/null
13499 if (echo >conf$$.
file) 2>/dev
/null
; then
13500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13502 # ... but there are two gotchas:
13503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13505 # In both cases, we have to default to `cp -pR'.
13506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13516 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13517 rmdir conf$$.dir
2>/dev
/null
13522 # Create "$as_dir" as a directory, including parents if necessary.
13527 -*) as_dir
=.
/$as_dir;;
13529 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13533 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13534 *) as_qdir
=$as_dir;;
13536 as_dirs
="'$as_qdir' $as_dirs"
13537 as_dir
=`$as_dirname -- "$as_dir" ||
13538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13539 X"$as_dir" : 'X\(//\)[^/]' \| \
13540 X"$as_dir" : 'X\(//\)$' \| \
13541 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13542 $as_echo X"$as_dir" |
13543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13547 /^X\(\/\/\)[^/].*/{
13560 test -d "$as_dir" && break
13562 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13563 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13567 if mkdir
-p .
2>/dev
/null
; then
13568 as_mkdir_p
='mkdir -p "$as_dir"'
13570 test -d .
/-p && rmdir .
/-p
13575 # as_fn_executable_p FILE
13576 # -----------------------
13577 # Test if FILE is an executable regular file.
13578 as_fn_executable_p
()
13580 test -f "$1" && test -x "$1"
13581 } # as_fn_executable_p
13582 as_test_x
='test -x'
13583 as_executable_p
=as_fn_executable_p
13585 # Sed expression to map a string onto a valid CPP name.
13586 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13588 # Sed expression to map a string onto a valid variable name.
13589 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13593 ## ----------------------------------- ##
13594 ## Main body of $CONFIG_STATUS script. ##
13595 ## ----------------------------------- ##
13597 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13600 # Save the log message, to keep $0 and so on meaningful, and to
13601 # report actual input values of CONFIG_FILES etc. instead of their
13602 # values after options handling.
13604 This file was extended by sqlcipher $as_me 3.11.0, which was
13605 generated by GNU Autoconf 2.69. Invocation command line was
13607 CONFIG_FILES = $CONFIG_FILES
13608 CONFIG_HEADERS = $CONFIG_HEADERS
13609 CONFIG_LINKS = $CONFIG_LINKS
13610 CONFIG_COMMANDS = $CONFIG_COMMANDS
13613 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13618 case $ac_config_files in *"
13619 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13622 case $ac_config_headers in *"
13623 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13628 # Files that config.status was made for.
13629 config_files="$ac_config_files"
13630 config_headers="$ac_config_headers"
13631 config_commands="$ac_config_commands"
13635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13637 \`$as_me' instantiates files and other configuration actions
13638 from templates according to the current configuration. Unless the files
13639 and actions are specified as TAGs, all are instantiated by default.
13641 Usage: $0 [OPTION]... [TAG]...
13643 -h, --help print this help, then exit
13644 -V, --version print version number and configuration settings, then exit
13645 --config print configuration, then exit
13646 -q, --quiet, --silent
13647 do not print progress messages
13648 -d, --debug don't remove temporary files
13649 --recheck update $as_me by reconfiguring in the same conditions
13650 --file=FILE[:TEMPLATE]
13651 instantiate the configuration file FILE
13652 --header=FILE[:TEMPLATE]
13653 instantiate the configuration header FILE
13655 Configuration files:
13658 Configuration headers:
13661 Configuration commands:
13664 Report bugs to the package provider."
13667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13668 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13670 sqlcipher config.status 3.11.0
13671 configured by $0, generated by GNU Autoconf 2.69,
13672 with options \\"\$ac_cs_config\\"
13674 Copyright (C) 2012 Free Software Foundation, Inc.
13675 This config.status script is free software; the Free Software Foundation
13676 gives unlimited permission to copy, distribute and modify it."
13682 test -n "\$AWK" || AWK=awk
13685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13686 # The default lists apply if the user does not specify any file.
13692 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13693 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13697 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13709 # Handling of the options.
13710 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13712 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13713 $as_echo "$ac_cs_version"; exit ;;
13714 --config |
--confi |
--conf |
--con |
--co |
--c )
13715 $as_echo "$ac_cs_config"; exit ;;
13716 --debug |
--debu |
--deb |
--de |
--d |
-d )
13718 --file |
--fil |
--fi |
--f )
13721 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13722 '') as_fn_error $?
"missing file argument" ;;
13724 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13725 ac_need_defaults
=false
;;
13726 --header |
--heade |
--head |
--hea )
13729 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13731 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13732 ac_need_defaults
=false
;;
13734 # Conflict between --help and --header
13735 as_fn_error $?
"ambiguous option: \`$1'
13736 Try \`$0 --help' for more information.";;
13737 --help |
--hel |
-h )
13738 $as_echo "$ac_cs_usage"; exit ;;
13739 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13740 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13743 # This is an error.
13744 -*) as_fn_error $?
"unrecognized option: \`$1'
13745 Try \`$0 --help' for more information." ;;
13747 *) as_fn_append ac_config_targets
" $1"
13748 ac_need_defaults
=false
;;
13754 ac_configure_extra_args
=
13756 if $ac_cs_silent; then
13758 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13763 if \$ac_cs_recheck; then
13764 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13766 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13767 CONFIG_SHELL='$SHELL'
13768 export CONFIG_SHELL
13773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13777 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13778 ## Running $as_me. ##
13784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13790 # The HP-UX ksh and POSIX shell print the target directory to stdout
13791 # if CDPATH is set.
13792 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13794 sed_quote_subst='$sed_quote_subst'
13795 double_quote_subst='$double_quote_subst'
13796 delay_variable_subst='$delay_variable_subst'
13797 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13798 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13799 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13800 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13801 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13802 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13803 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13804 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13805 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13806 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13807 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13808 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13809 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13810 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13811 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13812 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13813 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13814 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13815 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13816 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13817 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13818 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13819 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13820 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13821 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13822 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13823 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13824 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13825 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13826 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13827 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13828 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13829 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13830 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13831 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13832 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13833 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13834 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13835 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13836 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13837 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13838 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13839 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13840 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13841 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13842 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13843 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13844 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13845 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13846 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13847 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13848 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13849 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13850 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13851 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13852 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13853 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13854 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13855 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"`'
13856 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13857 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13858 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13859 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13860 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13861 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13862 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13863 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13864 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13865 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13866 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13867 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13868 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13869 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13870 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13871 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13872 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13873 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13874 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13875 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13876 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13877 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13878 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13879 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13880 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13881 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13882 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13883 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13884 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13885 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13886 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13887 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13888 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13889 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13890 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13891 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13892 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13893 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13894 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13895 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13896 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13897 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13898 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13899 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13900 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13901 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13902 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13903 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13904 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13905 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13906 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13907 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13908 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13909 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13910 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13911 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13912 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13913 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13914 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13915 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13916 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13917 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13918 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13919 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13920 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13921 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13922 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13923 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13924 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13925 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13926 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13927 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13928 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13929 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13930 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13931 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13934 LTCFLAGS='$LTCFLAGS'
13935 compiler='$compiler_DEFAULT'
13937 # A function that is used when there is no print builtin or printf.
13938 func_fallback_echo ()
13940 eval 'cat <<_LTECHO_EOF
13945 # Quote evaled strings.
13960 deplibs_check_method \
13965 sharedlib_from_linklib_cmd \
13968 archiver_list_spec \
13974 lt_cv_sys_global_symbol_pipe \
13975 lt_cv_sys_global_symbol_to_cdecl \
13976 lt_cv_sys_global_symbol_to_import \
13977 lt_cv_sys_global_symbol_to_c_name_address \
13978 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13979 lt_cv_nm_interface \
13980 nm_file_list_spec \
13981 lt_cv_truncate_bin \
13982 lt_prog_compiler_no_builtin_flag \
13983 lt_prog_compiler_pic \
13984 lt_prog_compiler_wl \
13985 lt_prog_compiler_static \
13986 lt_cv_prog_compiler_c_o \
13995 export_dynamic_flag_spec \
13996 whole_archive_flag_spec \
13997 compiler_needs_object \
13999 allow_undefined_flag \
14000 no_undefined_flag \
14001 hardcode_libdir_flag_spec \
14002 hardcode_libdir_separator \
14006 variables_saved_for_relink \
14008 library_names_spec \
14010 install_override_mode \
14014 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14015 *[\\\\\\\`\\"\\\$]*)
14016 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14019 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14024 # Double-quote double-evaled strings.
14025 for var in reload_cmds \
14026 old_postinstall_cmds \
14027 old_postuninstall_cmds \
14029 extract_expsyms_cmds \
14030 old_archive_from_new_cmds \
14031 old_archive_from_expsyms_cmds \
14033 archive_expsym_cmds \
14035 module_expsym_cmds \
14036 export_symbols_cmds \
14040 postuninstall_cmds \
14042 sys_lib_search_path_spec \
14043 configure_time_dlsearch_path \
14044 configure_time_lt_sys_library_path; do
14045 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14046 *[\\\\\\\`\\"\\\$]*)
14047 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14050 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14055 ac_aux_dir='$ac_aux_dir'
14057 # See if we are running on zsh, and set the options that allow our
14058 # commands through without removal of \ escapes INIT.
14059 if test -n "\${ZSH_VERSION+set}"; then
14060 setopt NO_GLOB_SUBST
14074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14076 # Handling of arguments.
14077 for ac_config_target
in $ac_config_targets
14079 case $ac_config_target in
14080 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14081 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14082 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14083 "sqlcipher.pc") CONFIG_FILES
="$CONFIG_FILES sqlcipher.pc" ;;
14085 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14090 # If the user did not use the arguments to specify the items to instantiate,
14091 # then the envvar interface is used. Set only those that are not.
14092 # We use the long form for the default assignment because of an extremely
14093 # bizarre bug on SunOS 4.1.3.
14094 if $ac_need_defaults; then
14095 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14096 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14097 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14100 # Have a temporary directory for convenience. Make it in the build tree
14101 # simply because there is no reason against having it here, and in addition,
14102 # creating and moving files from /tmp can sometimes cause problems.
14103 # Hook for its removal unless debugging.
14104 # Note that there is a small window in which the directory will not be cleaned:
14105 # after its creation but before its name has been assigned to `$tmp'.
14109 trap 'exit_status=$?
14110 : "${ac_tmp:=$tmp}"
14111 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14113 trap 'as_fn_exit 1' 1 2 13 15
14115 # Create a (secure) tmp directory for tmp files.
14118 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14122 tmp
=.
/conf$$
-$RANDOM
14123 (umask 077 && mkdir
"$tmp")
14124 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14127 # Set up the scripts for CONFIG_FILES section.
14128 # No need to generate them if there are no CONFIG_FILES.
14129 # This happens for instance with `./config.status config.h'.
14130 if test -n "$CONFIG_FILES"; then
14133 ac_cr
=`echo X | tr X '\015'`
14134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14135 # But we know of no other shell where ac_cr would be empty at this
14136 # point, so we can use a bashism as a fallback.
14137 if test "x$ac_cr" = x
; then
14138 eval ac_cr
=\$
\'\\r
\'
14140 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14144 ac_cs_awk_cr
=$ac_cr
14147 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14152 echo "cat >conf$$subs.awk <<_ACEOF" &&
14153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14155 } >conf$$subs.sh ||
14156 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14159 for ac_last_try in false false false false false :; do
14160 . ./conf$$subs.sh ||
14161 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14163 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14164 if test $ac_delim_n = $ac_delim_num; then
14166 elif $ac_last_try; then
14167 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14169 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14172 rm -f conf$$subs.sh
14174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14175 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14179 s/^/S["/; s
/!.
*/"]=/
14189 s/\(.\{148\}\)..*/\1/
14191 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14196 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14203 s/\(.\{148\}\)..*/\1/
14205 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14209 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14214 ' <conf$$subs.awk | sed '
14219 ' >>$CONFIG_STATUS || ac_write_fail=1
14220 rm -f conf$$subs.awk
14221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14223 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14224 for (key in S) S_is_set[key] = 1
14230 nfields = split(line, field, "@
")
14232 len = length(field[1])
14233 for (i = 2; i < nfields; i++) {
14235 keylen = length(key)
14236 if (S_is_set[key]) {
14238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14239 len += length(value) + length(field[++i])
14250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14251 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14252 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14255 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14256 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14259 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14260 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14261 # trailing colons and then remove the whole line if VPATH becomes empty
14262 # (actually we leave an empty line to preserve line numbers).
14263 if test "x
$srcdir" = x.; then
14264 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14283 fi # test -n "$CONFIG_FILES"
14285 # Set up the scripts for CONFIG_HEADERS section.
14286 # No need to generate them if there are no CONFIG_HEADERS.
14287 # This happens for instance with `./config.status Makefile'.
14288 if test -n "$CONFIG_HEADERS"; then
14289 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14293 # Transform confdefs.h into an awk script `defines.awk', embedded as
14294 # here-document in config.status, that substitutes the proper values into
14295 # config.h.in to produce config.h.
14297 # Create a delimiter string that does not exist in confdefs.h, to ease
14298 # handling of long lines.
14300 for ac_last_try in false false :; do
14301 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14302 if test -z "$ac_tt"; then
14304 elif $ac_last_try; then
14305 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14307 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14311 # For the awk script, D is an array of macro values keyed by name,
14312 # likewise P contains macro parameters if any. Preserve backslash
14313 # newline sequences.
14315 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14317 s/.\{148\}/&'"$ac_delim"'/g
14320 s/^[ ]*#[ ]*define[ ][ ]*/ /
14327 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14329 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14334 D["\
1"]=" \
3\\\\\\n
"\\/p
14336 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14341 s/.\{148\}/&'"$ac_delim"'/g
14346 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14349 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14351 ' <confdefs.h | sed '
14352 s/'"$ac_delim"'/"\\\
14353 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14356 for (key in D) D_is_set[key] = 1
14359 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14361 split(line, arg, " ")
14362 if (arg[1] == "#") {
14366 defundef
= substr
(arg
[1], 2)
14369 split(mac1
, mac2
, "(") #)
14371 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14372 if (D_is_set
[macro
]) {
14373 # Preserve the white space surrounding the "#".
14374 print prefix
"define", macro P
[macro
] D
[macro
]
14377 # Replace #undef with comments. This is necessary, for example,
14378 # in the case of _POSIX_SOURCE, which is predefined and required
14379 # on some systems where configure will not decide to define it.
14380 if (defundef
== "undef") {
14381 print
"/*", prefix defundef
, macro
, "*/"
14389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14390 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14391 fi # test -n "$CONFIG_HEADERS"
14394 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14399 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14401 case $ac_mode$ac_tag in
14403 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14404 :[FH
]-) ac_tag
=-:-;;
14405 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14422 -) ac_f
="$ac_tmp/stdin";;
14423 *) # Look for the file first in the build tree, then in the source tree
14424 # (if the path is not absolute). The absolute path cannot be DOS-style,
14425 # because $ac_f cannot contain `:'.
14429 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14431 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14433 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14434 as_fn_append ac_file_inputs
" '$ac_f'"
14437 # Let's still pretend it is `configure' which instantiates (i.e., don't
14438 # use $as_me), people would be surprised to read:
14439 # /* config.h. Generated by config.status. */
14440 configure_input
='Generated from '`
14441 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14443 if test x
"$ac_file" != x-
; then
14444 configure_input
="$ac_file. $configure_input"
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14446 $as_echo "$as_me: creating $ac_file" >&6;}
14448 # Neutralize special characters interpreted by sed in replacement strings.
14449 case $configure_input in #(
14450 *\
&* |
*\|
* |
*\\* )
14451 ac_sed_conf_input
=`$as_echo "$configure_input" |
14452 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14453 *) ac_sed_conf_input
=$configure_input;;
14457 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14458 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14463 ac_dir
=`$as_dirname -- "$ac_file" ||
14464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14465 X"$ac_file" : 'X\(//\)[^/]' \| \
14466 X"$ac_file" : 'X\(//\)$' \| \
14467 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14468 $as_echo X"$ac_file" |
14469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14473 /^X\(\/\/\)[^/].*/{
14486 as_dir
="$ac_dir"; as_fn_mkdir_p
14490 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14492 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14493 # A ".." for each directory in $ac_dir_suffix.
14494 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14495 case $ac_top_builddir_sub in
14496 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14497 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14500 ac_abs_top_builddir
=$ac_pwd
14501 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14502 # for backward compatibility:
14503 ac_top_builddir
=$ac_top_build_prefix
14506 .
) # We are building in place.
14508 ac_top_srcdir
=$ac_top_builddir_sub
14509 ac_abs_top_srcdir
=$ac_pwd ;;
14510 [\\/]* | ?
:[\\/]* ) # Absolute name.
14511 ac_srcdir
=$srcdir$ac_dir_suffix;
14512 ac_top_srcdir
=$srcdir
14513 ac_abs_top_srcdir
=$srcdir ;;
14514 *) # Relative name.
14515 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14516 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14517 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14519 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14529 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14530 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14535 # If the template does not know about datarootdir, expand it.
14536 # FIXME: This hack should be removed a few years after 2.60.
14537 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14548 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14549 *datarootdir
*) ac_datarootdir_seen
=yes;;
14550 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14552 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14555 ac_datarootdir_hack='
14556 s&@datadir@&$datadir&g
14557 s&@docdir@&$docdir&g
14558 s&@infodir@&$infodir&g
14559 s&@localedir@&$localedir&g
14560 s&@mandir@&$mandir&g
14561 s&\\\${datarootdir}&$datarootdir&g' ;;
14565 # Neutralize VPATH when `$srcdir' = `.'.
14566 # Shell code in configure.ac might set extrasub.
14567 # FIXME: do we really want to maintain this feature?
14568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14569 ac_sed_extra="$ac_vpsub
14572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14574 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14575 s|@configure_input@|
$ac_sed_conf_input|
;t t
14576 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14577 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14578 s
&@srcdir@
&$ac_srcdir&;t t
14579 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14580 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14581 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14582 s
&@builddir@
&$ac_builddir&;t t
14583 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14584 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14585 s
&@INSTALL@
&$ac_INSTALL&;t t
14586 $ac_datarootdir_hack
14588 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14589 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14591 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14592 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14593 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14594 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14596 which seems to be undefined. Please make sure it is defined" >&5
14597 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14598 which seems to be undefined. Please make sure it is defined" >&2;}
14600 rm -f "$ac_tmp/stdin"
14602 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14603 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14611 if test x"$ac_file" != x-; then
14613 $as_echo "/* $configure_input */" \
14614 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14615 } >"$ac_tmp/config.h" \
14616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14617 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14619 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14622 mv "$ac_tmp/config.h" "$ac_file" \
14623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14626 $as_echo "/* $configure_input */" \
14627 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14628 || as_fn_error $? "could not create -" "$LINENO" 5
14632 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14633 $as_echo "$as_me: executing $ac_file commands" >&6;}
14638 case $ac_file$ac_mode in
14641 # See if we are running on zsh, and set the options that allow our
14642 # commands through without removal of \ escapes.
14643 if test -n "${ZSH_VERSION+set}"; then
14644 setopt NO_GLOB_SUBST
14648 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14651 cat <<_LT_EOF >> "$cfgfile"
14653 # Generated automatically by $as_me ($PACKAGE) $VERSION
14654 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14655 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14657 # Provide generalized library-building support services.
14658 # Written by Gordon Matzigkeit, 1996
14660 # Copyright (C) 2014 Free Software Foundation, Inc.
14661 # This is free software; see the source for copying conditions. There is NO
14662 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14664 # GNU Libtool is free software; you can redistribute it and/or modify
14665 # it under the terms of the GNU General Public License as published by
14666 # the Free Software Foundation; either version 2 of of the License, or
14667 # (at your option) any later version.
14669 # As a special exception to the GNU General Public License, if you
14670 # distribute this file as part of a program or library that is built
14671 # using GNU Libtool, you may include this file under the same
14672 # distribution terms that you use for the rest of that program.
14674 # GNU Libtool is distributed in the hope that it will be useful, but
14675 # WITHOUT ANY WARRANTY; without even the implied warranty of
14676 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14677 # GNU General Public License for more details.
14679 # You should have received a copy of the GNU General Public License
14680 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14683 # The names of the tagged configurations supported by this script.
14686 # Configured defaults for sys_lib_dlsearch_path munging.
14687 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14689 # ### BEGIN LIBTOOL CONFIG
14691 # Which release of libtool.m4 was used?
14692 macro_version=$macro_version
14693 macro_revision=$macro_revision
14695 # Whether or not to build shared libraries.
14696 build_libtool_libs=$enable_shared
14698 # Whether or not to build static libraries.
14699 build_old_libs=$enable_static
14701 # What type of objects to build.
14704 # Whether or not to optimize for fast installation.
14705 fast_install=$enable_fast_install
14707 # Shared archive member basename,for filename based shared library versioning on AIX.
14708 shared_archive_member_spec=$shared_archive_member_spec
14710 # Shell to use when invoking shell scripts.
14713 # An echo program that protects backslashes.
14716 # The PATH separator for the build system.
14717 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14720 host_alias=$host_alias
14724 # The build system.
14725 build_alias=$build_alias
14729 # A sed program that does not truncate output.
14732 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14733 Xsed="\$SED -e 1s/^X//"
14735 # A grep program that handles long lines.
14741 # A literal string matcher.
14744 # A BSD- or MS-compatible name lister.
14747 # Whether we need soft or hard links.
14750 # What is the maximum length of a command?
14751 max_cmd_len=$max_cmd_len
14753 # Object file suffix (normally "o").
14756 # Executable file suffix (normally "").
14759 # whether the shell understands "unset".
14762 # turn spaces into newlines.
14765 # turn newlines into spaces.
14768 # convert \$build file names to \$host format.
14769 to_host_file_cmd=$lt_cv_to_host_file_cmd
14771 # convert \$build files to toolchain format.
14772 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14774 # An object symbol dumper.
14775 OBJDUMP=$lt_OBJDUMP
14777 # Method to check whether dependent libraries are shared objects.
14778 deplibs_check_method=$lt_deplibs_check_method
14780 # Command to use when deplibs_check_method = "file_magic".
14781 file_magic_cmd=$lt_file_magic_cmd
14783 # How to find potential files when deplibs_check_method = "file_magic".
14784 file_magic_glob=$lt_file_magic_glob
14786 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14787 want_nocaseglob=$lt_want_nocaseglob
14789 # DLL creation program.
14790 DLLTOOL=$lt_DLLTOOL
14792 # Command to associate shared and link libraries.
14793 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14798 # Flags to create an archive.
14799 AR_FLAGS=$lt_AR_FLAGS
14801 # How to feed a file listing to the archiver.
14802 archiver_list_spec=$lt_archiver_list_spec
14804 # A symbol stripping program.
14807 # Commands used to install an old-style archive.
14809 old_postinstall_cmds=$lt_old_postinstall_cmds
14810 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14812 # Whether to use a lock for old archive extraction.
14813 lock_old_archive_extraction=$lock_old_archive_extraction
14818 # LTCC compiler flags.
14819 LTCFLAGS=$lt_CFLAGS
14821 # Take the output of nm and produce a listing of raw symbols and C names.
14822 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14824 # Transform the output of nm in a proper C declaration.
14825 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14827 # Transform the output of nm into a list of symbols to manually relocate.
14828 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14830 # Transform the output of nm in a C name address pair.
14831 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14833 # Transform the output of nm in a C name address pair when lib prefix is needed.
14834 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14836 # The name lister interface.
14837 nm_interface=$lt_lt_cv_nm_interface
14839 # Specify filename containing input files for \$NM.
14840 nm_file_list_spec=$lt_nm_file_list_spec
14842 # The root where to search for dependent libraries,and where our libraries should be installed.
14843 lt_sysroot=$lt_sysroot
14845 # Command to truncate a binary pipe.
14846 lt_truncate_bin=$lt_lt_cv_truncate_bin
14848 # The name of the directory that contains temporary libtool files.
14851 # Used to examine libraries when file_magic_cmd begins with "file".
14852 MAGIC_CMD=$MAGIC_CMD
14854 # Must we lock files when doing compilation?
14855 need_locks=$lt_need_locks
14858 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14860 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14861 DSYMUTIL=$lt_DSYMUTIL
14863 # Tool to change global to local symbols on Mac OS X.
14866 # Tool to manipulate fat objects and archives on Mac OS X.
14869 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14872 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14873 OTOOL64=$lt_OTOOL64
14875 # Old archive suffix (normally "a").
14878 # Shared library suffix (normally ".so").
14879 shrext_cmds=$lt_shrext_cmds
14881 # The commands to extract the exported symbol list from a shared archive.
14882 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14884 # Variables whose values should be saved in libtool wrapper scripts and
14885 # restored at link time.
14886 variables_saved_for_relink=$lt_variables_saved_for_relink
14888 # Do we need the "lib" prefix for modules?
14889 need_lib_prefix=$need_lib_prefix
14891 # Do we need a version for libraries?
14892 need_version=$need_version
14894 # Library versioning type.
14895 version_type=$version_type
14897 # Shared library runtime path variable.
14898 runpath_var=$runpath_var
14900 # Shared library path variable.
14901 shlibpath_var=$shlibpath_var
14903 # Is shlibpath searched before the hard-coded library search path?
14904 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14906 # Format of library name prefix.
14907 libname_spec=$lt_libname_spec
14909 # List of archive names. First name is the real one, the rest are links.
14910 # The last name is the one that the linker finds with -lNAME
14911 library_names_spec=$lt_library_names_spec
14913 # The coded name of the library, if different from the real name.
14914 soname_spec=$lt_soname_spec
14916 # Permission mode override for installation of shared libraries.
14917 install_override_mode=$lt_install_override_mode
14919 # Command to use after installation of a shared archive.
14920 postinstall_cmds=$lt_postinstall_cmds
14922 # Command to use after uninstallation of a shared archive.
14923 postuninstall_cmds=$lt_postuninstall_cmds
14925 # Commands used to finish a libtool library installation in a directory.
14926 finish_cmds=$lt_finish_cmds
14928 # As "finish_cmds", except a single script fragment to be evaled but
14930 finish_eval=$lt_finish_eval
14932 # Whether we should hardcode library paths into libraries.
14933 hardcode_into_libs=$hardcode_into_libs
14935 # Compile-time system search path for libraries.
14936 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14938 # Detected run-time system search path for libraries.
14939 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14941 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14942 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14944 # Whether dlopen is supported.
14945 dlopen_support=$enable_dlopen
14947 # Whether dlopen of programs is supported.
14948 dlopen_self=$enable_dlopen_self
14950 # Whether dlopen of statically linked programs is supported.
14951 dlopen_self_static=$enable_dlopen_self_static
14953 # Commands to strip libraries.
14954 old_striplib=$lt_old_striplib
14955 striplib=$lt_striplib
14958 # The linker used to build libraries.
14961 # How to create reloadable object files.
14962 reload_flag=$lt_reload_flag
14963 reload_cmds=$lt_reload_cmds
14965 # Commands used to build an old-style archive.
14966 old_archive_cmds=$lt_old_archive_cmds
14968 # A language specific compiler.
14971 # Is the compiler the GNU compiler?
14974 # Compiler flag to turn off builtin functions.
14975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14977 # Additional compiler flags for building library objects.
14978 pic_flag=$lt_lt_prog_compiler_pic
14980 # How to pass a linker flag through the compiler.
14981 wl=$lt_lt_prog_compiler_wl
14983 # Compiler flag to prevent dynamic linking.
14984 link_static_flag=$lt_lt_prog_compiler_static
14986 # Does compiler simultaneously support -c and -o options?
14987 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14989 # Whether or not to add -lc for building shared libraries.
14990 build_libtool_need_lc=$archive_cmds_need_lc
14992 # Whether or not to disallow shared libs when runtime libs are static.
14993 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14995 # Compiler flag to allow reflexive dlopens.
14996 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14998 # Compiler flag to generate shared objects directly from archives.
14999 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15001 # Whether the compiler copes with passing no objects directly.
15002 compiler_needs_object=$lt_compiler_needs_object
15004 # Create an old-style archive from a shared archive.
15005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15007 # Create a temporary old-style archive to link instead of a shared archive.
15008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15010 # Commands used to build a shared archive.
15011 archive_cmds=$lt_archive_cmds
15012 archive_expsym_cmds=$lt_archive_expsym_cmds
15014 # Commands used to build a loadable module if different from building
15015 # a shared archive.
15016 module_cmds=$lt_module_cmds
15017 module_expsym_cmds=$lt_module_expsym_cmds
15019 # Whether we are building with GNU ld or not.
15020 with_gnu_ld=$lt_with_gnu_ld
15022 # Flag that allows shared libraries with undefined symbols to be built.
15023 allow_undefined_flag=$lt_allow_undefined_flag
15025 # Flag that enforces no undefined symbols.
15026 no_undefined_flag=$lt_no_undefined_flag
15028 # Flag to hardcode \$libdir into a binary during linking.
15029 # This must work even if \$libdir does not exist
15030 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15032 # Whether we need a single "-rpath" flag with a separated argument.
15033 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15035 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15036 # DIR into the resulting binary.
15037 hardcode_direct=$hardcode_direct
15039 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15040 # DIR into the resulting binary and the resulting library dependency is
15041 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15042 # library is relocated.
15043 hardcode_direct_absolute=$hardcode_direct_absolute
15045 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15046 # into the resulting binary.
15047 hardcode_minus_L=$hardcode_minus_L
15049 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15050 # into the resulting binary.
15051 hardcode_shlibpath_var=$hardcode_shlibpath_var
15053 # Set to "yes" if building a shared library automatically hardcodes DIR
15054 # into the library and all subsequent libraries and executables linked
15056 hardcode_automatic=$hardcode_automatic
15058 # Set to yes if linker adds runtime paths of dependent libraries
15059 # to runtime path list.
15060 inherit_rpath=$inherit_rpath
15062 # Whether libtool must link a program against all its dependency libraries.
15063 link_all_deplibs=$link_all_deplibs
15065 # Set to "yes" if exported symbols are required.
15066 always_export_symbols=$always_export_symbols
15068 # The commands to list exported symbols.
15069 export_symbols_cmds=$lt_export_symbols_cmds
15071 # Symbols that should not be listed in the preloaded symbols.
15072 exclude_expsyms=$lt_exclude_expsyms
15074 # Symbols that must always be exported.
15075 include_expsyms=$lt_include_expsyms
15077 # Commands necessary for linking programs (against libraries) with templates.
15078 prelink_cmds=$lt_prelink_cmds
15080 # Commands necessary for finishing linking programs.
15081 postlink_cmds=$lt_postlink_cmds
15083 # Specify filename containing input files.
15084 file_list_spec=$lt_file_list_spec
15086 # How to hardcode a shared library path into an executable.
15087 hardcode_action=$hardcode_action
15089 # ### END LIBTOOL CONFIG
15093 cat <<'_LT_EOF' >> "$cfgfile"
15095 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15097 # func_munge_path_list VARIABLE PATH
15098 # -----------------------------------
15099 # VARIABLE is name of variable containing _space_ separated list of
15100 # directories to be munged by the contents of PATH, which is string
15103 # string "DIR[ DIR]" will be prepended to VARIABLE
15105 # string "DIR[ DIR]" will be appended to VARIABLE
15106 # "DIRP[:DIRP]::[DIRA:]DIRA"
15107 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15108 # "DIRA[ DIRA]" will be appended to VARIABLE
15110 # VARIABLE will be replaced by "DIR[ DIR]"
15111 func_munge_path_list ()
15117 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'` \$$1\"
15120 eval $1=\"\$$1 `$ECHO $2 | $SED 's
/:/ /g
'`\"
15123 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's
/.
*:://' -e 's
/:/ /g
'`\"
15124 eval $1=\"`$ECHO $2 | $SED -e 's
/::.
*//' -e 's
/:/ /g
'`\ \$$1\"
15127 eval $1=\"`$ECHO $2 | $SED 's
/:/ /g
'`\"
15133 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15134 func_cc_basename ()
15136 for cc_temp in $*""; do
15138 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15139 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15144 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15148 # ### END FUNCTIONS SHARED WITH CONFIGURE
15154 cat <<\_LT_EOF >> "$cfgfile"
15155 # AIX sometimes has problems with the GCC collect2 program. For some
15156 # reason, if we set the COLLECT_NAMES environment variable, the problems
15157 # vanish in a puff of smoke.
15158 if test set != "${COLLECT_NAMES+set}"; then
15160 export COLLECT_NAMES
15167 ltmain=$ac_aux_dir/ltmain.sh
15170 # We use sed instead of cat because bash on DJGPP gets confused if
15171 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15172 # text mode, it properly converts lines to CR/LF. This bash problem
15173 # is reportedly fixed, but why not run on old versions too?
15174 sed '$q' "$ltmain" >> "$cfgfile" \
15175 || (rm -f "$cfgfile"; exit 1)
15177 mv -f "$cfgfile" "$ofile" ||
15178 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15189 ac_clean_files=$ac_clean_files_save
15191 test $ac_write_fail = 0 ||
15192 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15195 # configure is writing to config.log, and then calls config.status.
15196 # config.status does its own redirection, appending to config.log.
15197 # Unfortunately, on DOS this fails, as config.log is still kept open
15198 # by configure, so config.status won't be able to
write to it
; its
15199 # output is simply discarded. So we exec the FD to /dev/null,
15200 # effectively closing config.log, so it can be properly (re)opened and
15201 # appended to by config.status. When coming back to configure, we
15202 # need to make the FD available again.
15203 if test "$no_create" != yes; then
15205 ac_config_status_args
=
15206 test "$silent" = yes &&
15207 ac_config_status_args
="$ac_config_status_args --quiet"
15209 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15211 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15212 # would make configure fail if this is the last instruction.
15213 $ac_cs_success || as_fn_exit
1
15215 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15217 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}