2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlite 3.43.2.
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
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558 # Check that we are running under the correct shell.
559 SHELL
=${CONFIG_SHELL-/bin/sh}
563 # Remove one level of quotation (which was required for Make).
564 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
569 if test "X$1" = X--no-reexec
; then
570 # Discard the --no-reexec flag, and continue.
572 elif test "X$1" = X--fallback-echo
; then
573 # Avoid inline document here, it may be left over
575 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
576 # Yippee, $ECHO works!
579 # Restart under the correct shell.
580 exec $SHELL "$0" --no-reexec ${1+"$@"}
583 if test "X$1" = X--fallback-echo
; then
584 # used as fallback echo
592 # The HP-UX ksh and POSIX shell print the target directory to stdout
594 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
596 if test -z "$lt_ECHO"; then
597 if test "X${echo_test_string+set}" != Xset
; then
598 # find a string as large as possible, as long as the shell can cope with it
599 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
600 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
601 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
602 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
609 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
610 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
611 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # The Solaris, AIX, and Digital Unix default echo programs unquote
615 # backslashes. This makes it impossible to quote backslashes using
616 # echo "$something" | sed 's/\\/\\\\/g'
618 # So, first we look for a working echo in the user's PATH.
620 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
621 for dir
in $PATH /usr
/ucb
; do
623 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
624 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
625 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
626 test "X$echo_testing_string" = "X$echo_test_string"; then
633 if test "X$ECHO" = Xecho
; then
634 # We didn't find a better echo, so look for alternatives.
635 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
636 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
637 test "X$echo_testing_string" = "X$echo_test_string"; then
638 # This shell has a builtin print -r that does the trick.
640 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
641 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
642 # If we have ksh, try running configure again with it.
643 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
644 export ORIGINAL_CONFIG_SHELL
645 CONFIG_SHELL
=/bin
/ksh
647 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
651 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
652 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
653 test "X$echo_testing_string" = "X$echo_test_string"; then
656 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
657 test "X$echo_testing_string" = 'X\t' &&
658 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
659 test "X$echo_testing_string" = "X$echo_test_string"; then
660 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
662 SHELL
="$CONFIG_SHELL"
664 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
665 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
666 test "X$echo_testing_string" = 'X\t' &&
667 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
668 test "X$echo_testing_string" = "X$echo_test_string"; then
669 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
671 # maybe with a smaller string...
674 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
675 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
682 if test "$prev" != 'sed 50q "$0"'; then
683 echo_test_string
=`eval $prev`
684 export echo_test_string
685 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
687 # Oops. We lost completely, so just stick with echo.
696 # Copy echo and quote the copy suitably for passing to libtool from
697 # the Makefile, instead of quoting the original, which is used later.
699 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
700 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
706 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
710 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
711 # so uname gets run too.
712 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
717 ac_default_prefix
=/usr
/local
719 ac_config_libobj_dir
=.
726 # Identity of this package.
727 PACKAGE_NAME
='sqlite'
728 PACKAGE_TARNAME
='sqlite'
729 PACKAGE_VERSION
='3.43.2'
730 PACKAGE_STRING
='sqlite 3.43.2'
734 # Factoring default headers for most tests.
735 ac_includes_default
="\
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
747 # ifdef HAVE_STDLIB_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
770 ac_subst_vars
='LTLIBOBJS
773 AMALGAMATION_LINE_MACROS
875 program_transform_name
888 enable_option_checking
908 enable_load_extension
923 ac_precious_vars
='build_alias
935 # Initialize some variables set by options.
937 ac_init_version
=false
938 ac_unrecognized_opts
=
940 # The variables have the same names as the options, with
941 # dashes changed to underlines.
949 program_transform_name
=s
,x
,x
,
957 # Installation directory options.
958 # These are left unexpanded so users can "make install exec_prefix=/foo"
959 # and all the variables that are supposed to be based on exec_prefix
960 # by default will actually change.
961 # Use braces instead of parens because sh, perl, etc. also accept them.
962 # (The list follows the same order as the GNU Coding Standards.)
963 bindir
='${exec_prefix}/bin'
964 sbindir
='${exec_prefix}/sbin'
965 libexecdir
='${exec_prefix}/libexec'
966 datarootdir
='${prefix}/share'
967 datadir
='${datarootdir}'
968 sysconfdir
='${prefix}/etc'
969 sharedstatedir
='${prefix}/com'
970 localstatedir
='${prefix}/var'
971 includedir
='${prefix}/include'
972 oldincludedir
='/usr/include'
973 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
974 infodir
='${datarootdir}/info'
979 libdir
='${exec_prefix}/lib'
980 localedir
='${datarootdir}/locale'
981 mandir
='${datarootdir}/man'
987 # If the previous option needs an argument, assign it.
988 if test -n "$ac_prev"; then
989 eval $ac_prev=\
$ac_option
995 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1008 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1009 bindir
=$ac_optarg ;;
1011 -build |
--build |
--buil |
--bui |
--bu)
1012 ac_prev
=build_alias
;;
1013 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1014 build_alias
=$ac_optarg ;;
1016 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1017 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1018 ac_prev
=cache_file
;;
1019 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1020 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1021 cache_file
=$ac_optarg ;;
1023 --config-cache |
-C)
1024 cache_file
=config.cache
;;
1026 -datadir |
--datadir |
--datadi |
--datad)
1028 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1029 datadir
=$ac_optarg ;;
1031 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1032 |
--dataroo |
--dataro |
--datar)
1033 ac_prev
=datarootdir
;;
1034 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1035 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1036 datarootdir
=$ac_optarg ;;
1038 -disable-* |
--disable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 as_fn_error $?
"invalid feature name: $ac_useropt"
1043 ac_useropt_orig
=$ac_useropt
1044 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "enable_
$ac_useropt"
1049 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050 ac_unrecognized_sep
=', ';;
1052 eval enable_
$ac_useropt=no
;;
1054 -docdir |
--docdir |
--docdi |
--doc |
--do)
1056 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1057 docdir
=$ac_optarg ;;
1059 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1061 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1062 dvidir
=$ac_optarg ;;
1064 -enable-* |
--enable-*)
1065 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1068 as_fn_error $?
"invalid feature name: $ac_useropt"
1069 ac_useropt_orig
=$ac_useropt
1070 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1073 "enable_
$ac_useropt"
1075 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076 ac_unrecognized_sep
=', ';;
1078 eval enable_
$ac_useropt=\
$ac_optarg ;;
1080 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1081 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1082 |
--exec |
--exe |
--ex)
1083 ac_prev
=exec_prefix
;;
1084 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1085 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1086 |
--exec=* |
--exe=* |
--ex=*)
1087 exec_prefix
=$ac_optarg ;;
1089 -gas |
--gas |
--ga |
--g)
1090 # Obsolete; use --with-gas.
1093 -help |
--help |
--hel |
--he |
-h)
1094 ac_init_help
=long
;;
1095 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1096 ac_init_help
=recursive
;;
1097 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1098 ac_init_help
=short
;;
1100 -host |
--host |
--hos |
--ho)
1101 ac_prev
=host_alias
;;
1102 -host=* |
--host=* |
--hos=* |
--ho=*)
1103 host_alias
=$ac_optarg ;;
1105 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1107 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1109 htmldir
=$ac_optarg ;;
1111 -includedir |
--includedir |
--includedi |
--included |
--include \
1112 |
--includ |
--inclu |
--incl |
--inc)
1113 ac_prev
=includedir
;;
1114 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1115 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1116 includedir
=$ac_optarg ;;
1118 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1120 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1121 infodir
=$ac_optarg ;;
1123 -libdir |
--libdir |
--libdi |
--libd)
1125 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1126 libdir
=$ac_optarg ;;
1128 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1129 |
--libexe |
--libex |
--libe)
1130 ac_prev
=libexecdir
;;
1131 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1132 |
--libexe=* |
--libex=* |
--libe=*)
1133 libexecdir
=$ac_optarg ;;
1135 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1136 ac_prev
=localedir
;;
1137 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1138 localedir
=$ac_optarg ;;
1140 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1141 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1142 ac_prev
=localstatedir
;;
1143 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1144 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1145 localstatedir
=$ac_optarg ;;
1147 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1149 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1150 mandir
=$ac_optarg ;;
1152 -nfp |
--nfp |
--nf)
1153 # Obsolete; use --without-fp.
1156 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1157 |
--no-cr |
--no-c |
-n)
1160 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1161 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1164 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1165 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1166 |
--oldin |
--oldi |
--old |
--ol |
--o)
1167 ac_prev
=oldincludedir
;;
1168 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1169 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1170 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1171 oldincludedir
=$ac_optarg ;;
1173 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1175 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1176 prefix
=$ac_optarg ;;
1178 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1179 |
--program-pre |
--program-pr |
--program-p)
1180 ac_prev
=program_prefix
;;
1181 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1182 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1183 program_prefix
=$ac_optarg ;;
1185 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1186 |
--program-suf |
--program-su |
--program-s)
1187 ac_prev
=program_suffix
;;
1188 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1189 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1190 program_suffix
=$ac_optarg ;;
1192 -program-transform-name |
--program-transform-name \
1193 |
--program-transform-nam |
--program-transform-na \
1194 |
--program-transform-n |
--program-transform- \
1195 |
--program-transform |
--program-transfor \
1196 |
--program-transfo |
--program-transf \
1197 |
--program-trans |
--program-tran \
1198 |
--progr-tra |
--program-tr |
--program-t)
1199 ac_prev
=program_transform_name
;;
1200 -program-transform-name=* |
--program-transform-name=* \
1201 |
--program-transform-nam=* |
--program-transform-na=* \
1202 |
--program-transform-n=* |
--program-transform-=* \
1203 |
--program-transform=* |
--program-transfor=* \
1204 |
--program-transfo=* |
--program-transf=* \
1205 |
--program-trans=* |
--program-tran=* \
1206 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1207 program_transform_name
=$ac_optarg ;;
1209 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1211 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1212 pdfdir
=$ac_optarg ;;
1214 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1216 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1219 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1220 |
-silent |
--silent |
--silen |
--sile |
--sil)
1223 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1225 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1227 sbindir
=$ac_optarg ;;
1229 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1230 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1231 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1233 ac_prev
=sharedstatedir
;;
1234 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1235 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1236 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1238 sharedstatedir
=$ac_optarg ;;
1240 -site |
--site |
--sit)
1242 -site=* |
--site=* |
--sit=*)
1245 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1247 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1248 srcdir
=$ac_optarg ;;
1250 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1251 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1252 ac_prev
=sysconfdir
;;
1253 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1254 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1255 sysconfdir
=$ac_optarg ;;
1257 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1258 ac_prev
=target_alias
;;
1259 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1260 target_alias
=$ac_optarg ;;
1262 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1265 -version |
--version |
--versio |
--versi |
--vers |
-V)
1266 ac_init_version
=: ;;
1269 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1272 as_fn_error $?
"invalid package name: $ac_useropt"
1273 ac_useropt_orig
=$ac_useropt
1274 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280 ac_unrecognized_sep
=', ';;
1282 eval with_
$ac_useropt=\
$ac_optarg ;;
1284 -without-* |
--without-*)
1285 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1288 as_fn_error $?
"invalid package name: $ac_useropt"
1289 ac_useropt_orig
=$ac_useropt
1290 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1295 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1296 ac_unrecognized_sep
=', ';;
1298 eval with_
$ac_useropt=no
;;
1301 # Obsolete; use --with-x.
1304 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1305 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1306 ac_prev
=x_includes
;;
1307 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1308 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1309 x_includes
=$ac_optarg ;;
1311 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1312 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1313 ac_prev
=x_libraries
;;
1314 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1315 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1316 x_libraries
=$ac_optarg ;;
1318 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1319 Try \`$0 --help' for more information"
1323 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1324 # Reject names that are not valid shell variable names.
1325 case $ac_envvar in #(
1326 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1327 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1329 eval $ac_envvar=\
$ac_optarg
1330 export $ac_envvar ;;
1333 # FIXME: should be removed in autoconf 3.0.
1334 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1335 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1336 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1337 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1343 if test -n "$ac_prev"; then
1344 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1345 as_fn_error $?
"missing argument to $ac_option"
1348 if test -n "$ac_unrecognized_opts"; then
1349 case $enable_option_checking in
1351 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1352 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1356 # Check all directory arguments for consistency.
1357 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358 datadir sysconfdir sharedstatedir localstatedir includedir \
1359 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360 libdir localedir mandir
1362 eval ac_val
=\$
$ac_var
1363 # Remove trailing slashes.
1366 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367 eval $ac_var=\
$ac_val;;
1369 # Be sure to have absolute directory names.
1371 [\\/$
]* | ?
:[\\/]* ) continue;;
1372 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1374 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1377 # There might be people who depend on the old broken behavior: `$host'
1378 # used to hold the argument of --host etc.
1379 # FIXME: To remove some day.
1382 target
=$target_alias
1384 # FIXME: To remove some day.
1385 if test "x$host_alias" != x
; then
1386 if test "x$build_alias" = x
; then
1387 cross_compiling
=maybe
1388 elif test "x$build_alias" != "x$host_alias"; then
1394 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1396 test "$silent" = yes && exec 6>/dev
/null
1399 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1400 ac_ls_di
=`ls -di .` &&
1401 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1402 as_fn_error $?
"working directory cannot be determined"
1403 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1404 as_fn_error $?
"pwd does not report name of working directory"
1407 # Find the source files, if location was not specified.
1408 if test -z "$srcdir"; then
1409 ac_srcdir_defaulted
=yes
1410 # Try the directory containing this script, then the parent directory.
1411 ac_confdir
=`$as_dirname -- "$as_myself" ||
1412 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1413 X"$as_myself" : 'X\(//\)[^/]' \| \
1414 X"$as_myself" : 'X\(//\)$' \| \
1415 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1416 $as_echo X"$as_myself" |
1417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1439 ac_srcdir_defaulted
=no
1441 if test ! -r "$srcdir/$ac_unique_file"; then
1442 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1443 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1445 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1447 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1449 # When building in place, set srcdir=.
1450 if test "$ac_abs_confdir" = "$ac_pwd"; then
1453 # Remove unnecessary trailing slashes from srcdir.
1454 # Double slashes in file names in object file debugging info
1455 # mess up M-x gdb in Emacs.
1457 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1459 for ac_var
in $ac_precious_vars; do
1460 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1461 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1462 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1463 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1467 # Report the --help message.
1469 if test "$ac_init_help" = "long"; then
1470 # Omit some internal or obsolete options to make the list less imposing.
1471 # This message is too long to be a string in the A/UX 3.1 sh.
1473 \`configure' configures sqlite 3.43.2 to adapt to many kinds of systems.
1475 Usage: $0 [OPTION]... [VAR=VALUE]...
1477 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1478 VAR=VALUE. See below for descriptions of some of the useful variables.
1480 Defaults for the options are specified in brackets.
1483 -h, --help display this help and exit
1484 --help=short display options specific to this package
1485 --help=recursive display the short help of all the included packages
1486 -V, --version display version information and exit
1487 -q, --quiet, --silent do not print \`checking ...' messages
1488 --cache-file=FILE cache test results in FILE [disabled]
1489 -C, --config-cache alias for \`--cache-file=config.cache'
1490 -n, --no-create do not create output files
1491 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1493 Installation directories:
1494 --prefix=PREFIX install architecture-independent files in PREFIX
1495 [$ac_default_prefix]
1496 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1499 By default, \`make install' will install all the files in
1500 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1501 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1502 for instance \`--prefix=\$HOME'.
1504 For better control, use the options below.
1506 Fine tuning of the installation directories:
1507 --bindir=DIR user executables [EPREFIX/bin]
1508 --sbindir=DIR system admin executables [EPREFIX/sbin]
1509 --libexecdir=DIR program executables [EPREFIX/libexec]
1510 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1511 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1512 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1513 --libdir=DIR object code libraries [EPREFIX/lib]
1514 --includedir=DIR C header files [PREFIX/include]
1515 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1516 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1517 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1518 --infodir=DIR info documentation [DATAROOTDIR/info]
1519 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1520 --mandir=DIR man documentation [DATAROOTDIR/man]
1521 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1522 --htmldir=DIR html documentation [DOCDIR]
1523 --dvidir=DIR dvi documentation [DOCDIR]
1524 --pdfdir=DIR pdf documentation [DOCDIR]
1525 --psdir=DIR ps documentation [DOCDIR]
1531 --build=BUILD configure
for building on BUILD
[guessed
]
1532 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1536 if test -n "$ac_init_help"; then
1537 case $ac_init_help in
1538 short | recursive
) echo "Configuration of sqlite 3.43.2:";;
1543 --disable-option-checking ignore unrecognized
--enable/--with options
1544 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1545 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1546 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1547 --enable-static[=PKGS
] build static libraries
[default
=yes]
1548 --enable-fast-install[=PKGS
]
1549 optimize
for fast installation
[default
=yes]
1550 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1551 --disable-largefile omit support
for large files
1552 --disable-threadsafe Disable mutexing
1553 --enable-releasemode Support libtool link to release mode
1554 --enable-tempstore Use an in-ram database
for temporary tables
1555 (never
,no
,yes,always
)
1556 --disable-tcl do not build TCL extension
1557 --enable-editline enable BSD editline support
1558 --disable-readline disable readline support
1559 --enable-debug enable debugging
& verbose explain
1560 --disable-amalgamation Disable the amalgamation and instead build all files
1562 --disable-load-extension
1563 Disable loading of external extensions
1564 --disable-math Disable math functions
1565 --disable-json Disable JSON functions
1566 --enable-all Enable FTS4
, FTS5
, Geopoly
, RTree
, Sessions
1567 --enable-memsys5 Enable MEMSYS5
1568 --enable-memsys3 Enable MEMSYS3
1569 --enable-fts3 Enable the FTS3 extension
1570 --enable-fts4 Enable the FTS4 extension
1571 --enable-fts5 Enable the FTS5 extension
1572 --enable-update-limit Enable the UPDATE
/DELETE LIMIT clause
1573 --enable-geopoly Enable the GEOPOLY extension
1574 --enable-rtree Enable the RTREE extension
1575 --enable-session Enable the SESSION extension
1576 --enable-gcov Enable coverage testing using gcov
1579 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1580 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1581 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1583 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1584 --with-wasi-sdk=DIR directory containing the WASI SDK. Triggers
1585 cross-compile to WASM.
1586 --with-tcl=DIR directory containing tcl configuration
1588 --with-readline-lib specify readline library
1589 --with-readline-inc specify readline include paths
1591 Some influential environment variables
:
1592 CC C compiler
command
1593 CFLAGS C compiler flags
1594 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1595 nonstandard directory
<lib dir
>
1596 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1597 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1598 you have headers
in a nonstandard directory
<include dir
>
1600 TCLLIBDIR Where to
install tcl plugin
1602 Use these variables to override the choices made by
`configure' or to help
1603 it to find libraries and programs with nonstandard names/locations.
1605 Report bugs to the package provider.
1610 if test "$ac_init_help" = "recursive"; then
1611 # If there are subdirs, report their specific --help.
1612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613 test -d "$ac_dir" ||
1614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1622 # A ".." for each directory in $ac_dir_suffix.
1623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1624 case $ac_top_builddir_sub in
1625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 ac_abs_top_builddir=$ac_pwd
1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1631 # for backward compatibility:
1632 ac_top_builddir=$ac_top_build_prefix
1635 .) # We are building in place.
1637 ac_top_srcdir=$ac_top_builddir_sub
1638 ac_abs_top_srcdir=$ac_pwd ;;
1639 [\\/]* | ?:[\\/]* ) # Absolute name.
1640 ac_srcdir=$srcdir$ac_dir_suffix;
1641 ac_top_srcdir=$srcdir
1642 ac_abs_top_srcdir=$srcdir ;;
1644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1645 ac_top_srcdir=$ac_top_build_prefix$srcdir
1646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1650 cd "$ac_dir" || { ac_status=$?; continue; }
1651 # Check for guested configure.
1652 if test -f "$ac_srcdir/configure.gnu"; then
1654 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1655 elif test -f "$ac_srcdir/configure"; then
1657 $SHELL "$ac_srcdir/configure" --help=recursive
1659 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1661 cd "$ac_pwd" || { ac_status=$?; break; }
1665 test -n "$ac_init_help" && exit $ac_status
1666 if $ac_init_version; then
1668 sqlite configure 3.43.2
1669 generated by GNU Autoconf 2.69
1671 Copyright (C) 2012 Free Software Foundation, Inc.
1672 This configure script is free software; the Free Software Foundation
1673 gives unlimited permission to copy, distribute and modify it.
1678 ## ------------------------ ##
1679 ## Autoconf initialization. ##
1680 ## ------------------------ ##
1682 # ac_fn_c_try_compile LINENO
1683 # --------------------------
1684 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1685 ac_fn_c_try_compile ()
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 rm -f conftest.$ac_objext
1689 if { { ac_try="$ac_compile"
1691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1692 *) ac_try_echo
=$ac_try;;
1694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_compile") 2>conftest.err
1698 if test -s conftest.err
; then
1699 grep -v '^ *+' conftest.err
>conftest.er1
1700 cat conftest.er1
>&5
1701 mv -f conftest.er1 conftest.err
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && {
1705 test -z "$ac_c_werror_flag" ||
1706 test ! -s conftest.err
1707 } && test -s conftest.
$ac_objext; then :
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.
$ac_ext >&5
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status
$ac_retval
1718 } # ac_fn_c_try_compile
1720 # ac_fn_c_try_link LINENO
1721 # -----------------------
1722 # Try to link conftest.$ac_ext, and return whether this succeeded.
1725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1726 rm -f conftest.
$ac_objext conftest
$ac_exeext
1727 if { { ac_try
="$ac_link"
1729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_link") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest$ac_exeext && {
1746 test "$cross_compiling" = yes ||
1747 test -x conftest$ac_exeext
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1756 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1757 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1758 # interfere with the next link command; also delete a directory that is
1759 # left behind by Apple's compiler. We do this before executing the actions.
1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 as_fn_set_status $ac_retval
1764 } # ac_fn_c_try_link
1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists and can be compiled using the include files in
1769 # INCLUDES, setting the cache variable VAR accordingly.
1770 ac_fn_c_check_header_compile ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1783 if ac_fn_c_try_compile "$LINENO"; then :
1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 } # ac_fn_c_check_header_compile
1797 # ac_fn_c_try_cpp LINENO
1798 # ----------------------
1799 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 if { { ac_try="$ac_cpp conftest.$ac_ext"
1805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1806 *) ac_try_echo
=$ac_try;;
1808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812 if test -s conftest.err
; then
1813 grep -v '^ *+' conftest.err
>conftest.er1
1814 cat conftest.er1
>&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } > conftest.i
&& {
1819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1820 test ! -s conftest.err
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status
$ac_retval
1834 # ac_fn_c_try_run LINENO
1835 # ----------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1837 # that executables *can* be run.
1840 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1841 if { { ac_try
="$ac_link"
1843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>&5
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1852 { { case "(($ac_try" in
1853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1854 *) ac_try_echo
=$ac_try;;
1856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_try") 2>&5
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; }; }; then :
1864 $as_echo "$as_me: program exited with status $ac_status" >&5
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.
$ac_ext >&5
1868 ac_retval
=$ac_status
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status
$ac_retval
1876 # ac_fn_c_check_func LINENO FUNC VAR
1877 # ----------------------------------
1878 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1879 ac_fn_c_check_func
()
1881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 $as_echo_n "checking for $2... " >&6; }
1884 if eval \
${$3+:} false
; then :
1885 $as_echo_n "(cached) " >&6
1887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1891 #define $2 innocuous_$2
1893 /* System header to define __stub macros and hopefully few prototypes,
1894 which can conflict with char $2 (); below.
1895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896 <limits.h> exists even on freestanding compilers. */
1899 # include <limits.h>
1901 # include <assert.h>
1906 /* Override any GCC internal prototype to avoid an error.
1907 Use char because int might match the return type of a GCC
1908 builtin and then its argument prototype would still apply. */
1913 /* The GNU C library defines this for functions which it implements
1914 to always fail with ENOSYS. Some functions are actually named
1915 something starting with __ and the normal name is an alias. */
1916 #if defined __stub_$2 || defined __stub___$2
1928 if ac_fn_c_try_link
"$LINENO"; then :
1933 rm -f core conftest.err conftest.
$ac_objext \
1934 conftest
$ac_exeext conftest.
$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_func
1943 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1944 # -------------------------------------------
1945 # Tests whether TYPE exists after having included INCLUDES, setting cache
1946 # variable VAR accordingly.
1947 ac_fn_c_check_type
()
1949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if eval \
${$3+:} false
; then :
1953 $as_echo_n "(cached) " >&6
1956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1968 if ac_fn_c_try_compile
"$LINENO"; then :
1969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1981 if ac_fn_c_try_compile
"$LINENO"; then :
1986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 } # ac_fn_c_check_type
1997 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1998 # -------------------------------------------------------
1999 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2000 # the include files in INCLUDES and setting the cache variable VAR
2002 ac_fn_c_check_header_mongrel
()
2004 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2005 if eval \
${$3+:} false
; then :
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval \
${$3+:} false
; then :
2009 $as_echo_n "(cached) " >&6
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2015 # Is the header compilable?
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2017 $as_echo_n "checking $2 usability... " >&6; }
2018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2023 if ac_fn_c_try_compile
"$LINENO"; then :
2024 ac_header_compiler
=yes
2026 ac_header_compiler
=no
2028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2030 $as_echo "$ac_header_compiler" >&6; }
2032 # Is the header present?
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2034 $as_echo_n "checking $2 presence... " >&6; }
2035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2039 if ac_fn_c_try_cpp
"$LINENO"; then :
2040 ac_header_preproc
=yes
2042 ac_header_preproc
=no
2044 rm -f conftest.err conftest.i conftest.
$ac_ext
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2046 $as_echo "$ac_header_preproc" >&6; }
2048 # So? What about this header?
2049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2052 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2058 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2060 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2062 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2064 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2066 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if eval \
${$3+:} false
; then :
2072 $as_echo_n "(cached) " >&6
2074 eval "$3=\$ac_header_compiler"
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082 } # ac_fn_c_check_header_mongrel
2083 cat >config.log
<<_ACEOF
2084 This file contains any messages produced by compilers while
2085 running configure, to aid debugging if configure makes a mistake.
2087 It was created by sqlite $as_me 3.43.2, which was
2088 generated by GNU Autoconf 2.69. Invocation command line was
2100 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2101 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2102 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2103 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2104 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2106 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2107 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2109 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2110 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2111 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2112 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2113 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2114 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2115 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir
=.
2124 $as_echo "PATH: $as_dir"
2140 # Keep a trace of the command line.
2141 # Strip out --no-create and --no-recursion so they do not pile up.
2142 # Strip out --silent because we don't want to record it for future runs.
2143 # Also quote any args containing shell meta-characters.
2144 # Make two passes to allow for proper duplicate-argument suppression.
2148 ac_must_keep_next
=false
2154 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2155 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2156 |
-silent |
--silent |
--silen |
--sile |
--sil)
2159 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2162 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2164 as_fn_append ac_configure_args1
" '$ac_arg'"
2165 if test $ac_must_keep_next = true
; then
2166 ac_must_keep_next
=false
# Got value, back to normal.
2169 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2170 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2171 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2172 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2173 case "$ac_configure_args0 " in
2174 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2177 -* ) ac_must_keep_next
=true
;;
2180 as_fn_append ac_configure_args
" '$ac_arg'"
2185 { ac_configure_args0
=; unset ac_configure_args0
;}
2186 { ac_configure_args1
=; unset ac_configure_args1
;}
2188 # When interrupted or exit'd, cleanup temporary files, and complete
2189 # config.log. We remove comments because anyway the quotes in there
2190 # would cause problems or look ugly.
2191 # WARNING: Use '\'' to represent an apostrophe within the trap.
2192 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2193 trap 'exit_status=$?
2194 # Save into config.log some information that might help in debugging.
2198 $as_echo "## ---------------- ##
2199 ## Cache variables. ##
2200 ## ---------------- ##"
2202 # The following way of writing the cache mishandles newlines in values,
2204 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2205 eval ac_val=\$$ac_var
2209 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2210 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2213 _ | IFS | as_nl) ;; #(
2214 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2215 *) { eval $ac_var=; unset $ac_var;} ;;
2220 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2221 *${as_nl}ac_space=\ *)
2223 "s/'\''/'\''\\\\'\'''\''/g;
2224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2227 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2234 $as_echo "## ----------------- ##
2235 ## Output variables. ##
2236 ## ----------------- ##"
2238 for ac_var in $ac_subst_vars
2240 eval ac_val=\$$ac_var
2242 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244 $as_echo "$ac_var='\''$ac_val'\''"
2248 if test -n "$ac_subst_files"; then
2249 $as_echo "## ------------------- ##
2250 ## File substitutions. ##
2251 ## ------------------- ##"
2253 for ac_var
in $ac_subst_files
2255 eval ac_val
=\$
$ac_var
2257 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2259 $as_echo "$ac_var='\''$ac_val'\''"
2264 if test -s confdefs.h; then
2265 $as_echo "## ----------- ##
2272 test "$ac_signal" != 0 &&
2273 $as_echo "$as_me: caught signal $ac_signal"
2274 $as_echo "$as_me: exit $exit_status"
2276 rm -f core *.core core.conftest.* &&
2277 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2280 for ac_signal
in 1 2 13 15; do
2281 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2285 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2286 rm -f -r conftest
* confdefs.h
2288 $as_echo "/* confdefs.h */" > confdefs.h
2290 # Predefined preprocessor variables.
2292 cat >>confdefs.h
<<_ACEOF
2293 #define PACKAGE_NAME "$PACKAGE_NAME"
2296 cat >>confdefs.h
<<_ACEOF
2297 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2300 cat >>confdefs.h
<<_ACEOF
2301 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2304 cat >>confdefs.h
<<_ACEOF
2305 #define PACKAGE_STRING "$PACKAGE_STRING"
2308 cat >>confdefs.h
<<_ACEOF
2309 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2312 cat >>confdefs.h
<<_ACEOF
2313 #define PACKAGE_URL "$PACKAGE_URL"
2317 # Let the site file select an alternate cache file if it wants to.
2318 # Prefer an explicitly selected file to automatically selected ones.
2321 if test -n "$CONFIG_SITE"; then
2322 # We do not want a PATH search for config.site.
2323 case $CONFIG_SITE in #((
2324 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2325 */*) ac_site_file1
=$CONFIG_SITE;;
2326 *) ac_site_file1
=.
/$CONFIG_SITE;;
2328 elif test "x$prefix" != xNONE
; then
2329 ac_site_file1
=$prefix/share
/config.site
2330 ac_site_file2
=$prefix/etc
/config.site
2332 ac_site_file1
=$ac_default_prefix/share
/config.site
2333 ac_site_file2
=$ac_default_prefix/etc
/config.site
2335 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2337 test "x$ac_site_file" = xNONE
&& continue
2338 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2340 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2341 sed 's/^/| /' "$ac_site_file" >&5
2343 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2345 as_fn_error $?
"failed to load site script $ac_site_file
2346 See \`config.log' for more details" "$LINENO" 5; }
2350 if test -r "$cache_file"; then
2351 # Some versions of bash will fail to source /dev/null (special files
2352 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2353 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2355 $as_echo "$as_me: loading cache $cache_file" >&6;}
2357 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2358 *) .
"./$cache_file";;
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2363 $as_echo "$as_me: creating cache $cache_file" >&6;}
2367 # Check that the precious variables saved in the cache have kept the same
2369 ac_cache_corrupted
=false
2370 for ac_var
in $ac_precious_vars; do
2371 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2372 eval ac_new_set
=\
$ac_env_${ac_var}_set
2373 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2374 eval ac_new_val
=\
$ac_env_${ac_var}_value
2375 case $ac_old_set,$ac_new_set in
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2378 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379 ac_cache_corrupted
=: ;;
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2382 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2383 ac_cache_corrupted
=: ;;
2386 if test "x$ac_old_val" != "x$ac_new_val"; then
2387 # differences in whitespace do not lead to failure.
2388 ac_old_val_w
=`echo x $ac_old_val`
2389 ac_new_val_w
=`echo x $ac_new_val`
2390 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2392 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2393 ac_cache_corrupted
=:
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2396 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2397 eval $ac_var=\
$ac_old_val
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2400 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2402 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2405 # Pass precious variables to config.status.
2406 if test "$ac_new_set" = set; then
2408 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2409 *) ac_arg
=$ac_var=$ac_new_val ;;
2411 case " $ac_configure_args " in
2412 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2413 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2417 if $ac_cache_corrupted; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2421 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2424 ## -------------------- ##
2425 ## Main body of script. ##
2426 ## -------------------- ##
2429 ac_cpp
='$CPP $CPPFLAGS'
2430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2436 sqlite_version_sanity_check
=`cat $srcdir/VERSION | tr -d '\n'`
2437 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2438 as_fn_error $?
"configure script is out of date:
2439 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2440 top level VERSION file = $sqlite_version_sanity_check
2441 please regen with autoconf" "$LINENO" 5
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2450 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2455 macro_version
='2.2.6'
2456 macro_revision
='1.3012'
2470 ltmain
="$ac_aux_dir/ltmain.sh"
2473 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2474 if test -f "$ac_dir/install-sh"; then
2476 ac_install_sh
="$ac_aux_dir/install-sh -c"
2478 elif test -f "$ac_dir/install.sh"; then
2480 ac_install_sh
="$ac_aux_dir/install.sh -c"
2482 elif test -f "$ac_dir/shtool"; then
2484 ac_install_sh
="$ac_aux_dir/shtool install -c"
2488 if test -z "$ac_aux_dir"; then
2489 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2501 # Make sure we can run config.sub.
2502 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2503 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2506 $as_echo_n "checking build system type... " >&6; }
2507 if ${ac_cv_build+:} false
; then :
2508 $as_echo_n "(cached) " >&6
2510 ac_build_alias
=$build_alias
2511 test "x$ac_build_alias" = x
&&
2512 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2513 test "x$ac_build_alias" = x
&&
2514 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2515 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2516 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2520 $as_echo "$ac_cv_build" >&6; }
2521 case $ac_cv_build in
2523 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2540 $as_echo_n "checking host system type... " >&6; }
2541 if ${ac_cv_host+:} false
; then :
2542 $as_echo_n "(cached) " >&6
2544 if test "x$host_alias" = x
; then
2545 ac_cv_host
=$ac_cv_build
2547 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2548 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2553 $as_echo "$ac_cv_host" >&6; }
2556 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2559 ac_save_IFS
=$IFS; IFS
='-'
2565 # Remember, the first character of IFS is used to create $*,
2566 # except with old shells:
2569 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2573 ac_cpp
='$CPP $CPPFLAGS'
2574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2577 if test -n "$ac_tool_prefix"; then
2578 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2579 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_CC+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$CC"; then
2586 ac_cv_prog_CC
="$CC" # Let the user override the test.
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 if test -n "$CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2608 $as_echo "$CC" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2616 if test -z "$ac_cv_prog_CC"; then
2618 # Extract the first word of "gcc", so it can be a program name with args.
2619 set dummy gcc
; ac_word
=$2
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621 $as_echo_n "checking for $ac_word... " >&6; }
2622 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2623 $as_echo_n "(cached) " >&6
2625 if test -n "$ac_ct_CC"; then
2626 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir
=.
2633 for ac_exec_ext
in '' $ac_executable_extensions; do
2634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2635 ac_cv_prog_ac_ct_CC
="gcc"
2636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2646 if test -n "$ac_ct_CC"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2648 $as_echo "$ac_ct_CC" >&6; }
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651 $as_echo "no" >&6; }
2654 if test "x$ac_ct_CC" = x
; then
2657 case $cross_compiling:$ac_tool_warned in
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2661 ac_tool_warned
=yes ;;
2669 if test -z "$CC"; then
2670 if test -n "$ac_tool_prefix"; then
2671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2672 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_CC+:} false
; then :
2676 $as_echo_n "(cached) " >&6
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC
="$CC" # Let the user override the test.
2681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir
=.
2686 for ac_exec_ext
in '' $ac_executable_extensions; do
2687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2688 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test -n "$CC"; then
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2701 $as_echo "$CC" >&6; }
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2710 if test -z "$CC"; then
2711 # Extract the first word of "cc", so it can be a program name with args.
2712 set dummy cc
; ac_word
=$2
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if ${ac_cv_prog_CC+:} false
; then :
2716 $as_echo_n "(cached) " >&6
2718 if test -n "$CC"; then
2719 ac_cv_prog_CC
="$CC" # Let the user override the test.
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2729 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2730 ac_prog_rejected
=yes
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 if test $ac_prog_rejected = yes; then
2742 # We found a bogon in the path, so make sure we never use it.
2743 set dummy
$ac_cv_prog_CC
2745 if test $# != 0; then
2746 # We chose a different compiler from the bogus one.
2747 # However, it has the same basename, so the bogon will be chosen
2748 # first if we set CC to just the basename; use the full file name.
2750 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2766 if test -z "$CC"; then
2767 if test -n "$ac_tool_prefix"; then
2768 for ac_prog
in cl.exe
2770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2771 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if ${ac_cv_prog_CC+:} false
; then :
2775 $as_echo_n "(cached) " >&6
2777 if test -n "$CC"; then
2778 ac_cv_prog_CC
="$CC" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test -n "$CC"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2800 $as_echo "$CC" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2807 test -n "$CC" && break
2810 if test -z "$CC"; then
2812 for ac_prog
in cl.exe
2814 # Extract the first word of "$ac_prog", so it can be a program name with args.
2815 set dummy
$ac_prog; ac_word
=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$ac_ct_CC"; then
2822 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_ac_ct_CC
="$ac_prog"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2842 if test -n "$ac_ct_CC"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2844 $as_echo "$ac_ct_CC" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2851 test -n "$ac_ct_CC" && break
2854 if test "x$ac_ct_CC" = x
; then
2857 case $cross_compiling:$ac_tool_warned in
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2861 ac_tool_warned
=yes ;;
2870 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2872 as_fn_error $?
"no acceptable C compiler found in \$PATH
2873 See \`config.log' for more details" "$LINENO" 5; }
2875 # Provide some information about the compiler.
2876 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2879 for ac_option
in --version -v -V -qversion; do
2880 { { ac_try
="$ac_compiler $ac_option >&5"
2882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2889 if test -s conftest.err; then
2891 ... rest of stderr output deleted ...
2892 10q' conftest.err >conftest.er1
2893 cat conftest.er1 >&5
2895 rm -f conftest.er1 conftest.err
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; }
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2911 ac_clean_files_save=$ac_clean_files
2912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2913 # Try to create an executable without -o first, disregard a.out.
2914 # It will help us diagnose broken compilers, and finding out an intuition
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2917 $as_echo_n "checking whether the C compiler works... " >&6; }
2918 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2920 # The possible output files:
2921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2924 for ac_file in $ac_files
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2933 if { { ac_try="$ac_link_default"
2935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2936 *) ac_try_echo
=$ac_try;;
2938 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2939 $as_echo "$ac_try_echo"; } >&5
2940 (eval "$ac_link_default") 2>&5
2942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2943 test $ac_status = 0; }; then :
2944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2947 # so that the user can short-circuit this test for compilers unknown to
2949 for ac_file
in $ac_files ''
2951 test -f "$ac_file" ||
continue
2953 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2956 # We found the default executable, but exeext='' is most
2960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2962 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2964 # We set ac_cv_exeext here because the later test for it is not
2965 # safe: cross compilers may not add the suffix if given an `-o'
2966 # argument, so we may need to know it at that point already.
2967 # Even if this section looks crufty: it has the advantage of
2974 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2979 if test -z "$ac_file"; then :
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2982 $as_echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.
$ac_ext >&5
2985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2987 as_fn_error
77 "C compiler cannot create executables
2988 See \`config.log' for more details" "$LINENO" 5; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2991 $as_echo "yes" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2994 $as_echo_n "checking for C compiler default output file name... " >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2996 $as_echo "$ac_file" >&6; }
2997 ac_exeext
=$ac_cv_exeext
2999 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3000 ac_clean_files
=$ac_clean_files_save
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3002 $as_echo_n "checking for suffix of executables... " >&6; }
3003 if { { ac_try
="$ac_link"
3005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_link") 2>&5
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }; then :
3014 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3015 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3016 # work properly (i.e., refer to `conftest.exe'), while it won't with
3018 for ac_file
in conftest.exe conftest conftest.
*; do
3019 test -f "$ac_file" ||
continue
3021 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3022 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3031 See \`config.log' for more details" "$LINENO" 5; }
3033 rm -f conftest conftest
$ac_cv_exeext
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3035 $as_echo "$ac_cv_exeext" >&6; }
3037 rm -f conftest.
$ac_ext
3038 EXEEXT
=$ac_cv_exeext
3040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3046 FILE *f = fopen ("conftest.out", "w");
3047 return ferror (f) || fclose (f) != 0;
3053 ac_clean_files
="$ac_clean_files conftest.out"
3054 # Check that the compiler produces executables we can run. If not, either
3055 # the compiler is broken, or we cross compile.
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3057 $as_echo_n "checking whether we are cross compiling... " >&6; }
3058 if test "$cross_compiling" != yes; then
3059 { { ac_try
="$ac_link"
3061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_link") 2>&5
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }
3070 if { ac_try='./conftest$ac_cv_exeext'
3071 { { case "(($ac_try" in
3072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3073 *) ac_try_echo
=$ac_try;;
3075 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_try") 2>&5
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }; }; then
3083 if test "$cross_compiling" = maybe
; then
3086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088 as_fn_error $?
"cannot run C compiled programs.
3089 If you meant to cross compile, use \`--host'.
3090 See \`config.log' for more details" "$LINENO" 5; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3095 $as_echo "$cross_compiling" >&6; }
3097 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3098 ac_clean_files
=$ac_clean_files_save
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3100 $as_echo_n "checking for suffix of object files... " >&6; }
3101 if ${ac_cv_objext+:} false
; then :
3102 $as_echo_n "(cached) " >&6
3104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3115 rm -f conftest.o conftest.obj
3116 if { { ac_try
="$ac_compile"
3118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_compile") 2>&5
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }; then :
3127 for ac_file in conftest.o conftest.obj conftest.*; do
3128 test -f "$ac_file" || continue;
3130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3131 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3136 $as_echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3142 See \
`config.log' for more details" "$LINENO" 5; }
3144 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3147 $as_echo "$ac_cv_objext" >&6; }
3148 OBJEXT=$ac_cv_objext
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3151 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3152 if ${ac_cv_c_compiler_gnu+:} false; then :
3153 $as_echo_n "(cached) " >&6
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3169 if ac_fn_c_try_compile "$LINENO"; then :
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3179 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3180 if test $ac_compiler_gnu = yes; then
3185 ac_test_CFLAGS=${CFLAGS+set}
3186 ac_save_CFLAGS=$CFLAGS
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3188 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3189 if ${ac_cv_prog_cc_g+:} false; then :
3190 $as_echo_n "(cached) " >&6
3192 ac_save_c_werror_flag=$ac_c_werror_flag
3193 ac_c_werror_flag=yes
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3207 if ac_fn_c_try_compile "$LINENO"; then :
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3222 if ac_fn_c_try_compile "$LINENO"; then :
3225 ac_c_werror_flag=$ac_save_c_werror_flag
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3238 if ac_fn_c_try_compile "$LINENO"; then :
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 ac_c_werror_flag=$ac_save_c_werror_flag
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3249 $as_echo "$ac_cv_prog_cc_g" >&6; }
3250 if test "$ac_test_CFLAGS" = set; then
3251 CFLAGS=$ac_save_CFLAGS
3252 elif test $ac_cv_prog_cc_g = yes; then
3253 if test "$GCC" = yes; then
3259 if test "$GCC" = yes; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3266 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3267 if ${ac_cv_prog_cc_c89+:} false; then :
3268 $as_echo_n "(cached) " >&6
3270 ac_cv_prog_cc_c89=no
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3277 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3278 struct buf { int x; };
3279 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3280 static char *e (p, i)
3286 static char *f (char * (*g) (char **, int), char **p, ...)
3291 s = g (p, va_arg (v,int));
3296 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3297 function prototypes and stuff, but not '\xHH' hex character constants.
3298 These don't provoke an error unfortunately, instead are silently treated
3299 as 'x'. The following induces an error, until -std is added to get
3300 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3301 array size at least. It's necessary to write '\x00'==0 to get something
3302 that's true only with -std. */
3303 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3305 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3306 inside strings and character constants. */
3308 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3310 int test (int i, double x);
3311 struct s1 {int (*f) (int a);};
3312 struct s2 {int (*f) (double a);};
3313 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3319 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3324 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3325 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3327 CC="$ac_save_CC $ac_arg"
3328 if ac_fn_c_try_compile "$LINENO"; then :
3329 ac_cv_prog_cc_c89=$ac_arg
3331 rm -f core conftest.err conftest.$ac_objext
3332 test "x$ac_cv_prog_cc_c89" != "xno" && break
3334 rm -f conftest.$ac_ext
3339 case "x$ac_cv_prog_cc_c89" in
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3342 $as_echo "none needed" >&6; } ;;
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3345 $as_echo "unsupported" >&6; } ;;
3347 CC="$CC $ac_cv_prog_cc_c89"
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3349 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3351 if test "x$ac_cv_prog_cc_c89" != xno; then :
3356 ac_cpp='$CPP $CPPFLAGS'
3357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3362 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3363 if ${ac_cv_path_SED+:} false; then :
3364 $as_echo_n "(cached) " >&6
3366 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3367 for ac_i in 1 2 3 4 5 6 7; do
3368 ac_script="$ac_script$as_nl$ac_script"
3370 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3371 { ac_script=; unset ac_script;}
3372 if test -z "$SED"; then
3373 ac_path_SED_found=false
3374 # Loop through the user's path and test for each of PROGNAME-LIST
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_prog in sed gsed; do
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3383 as_fn_executable_p "$ac_path_SED" || continue
3384 # Check for GNU ac_path_SED and select it if it is found.
3385 # Check for GNU $ac_path_SED
3386 case `"$ac_path_SED" --version 2>&1` in
3388 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3391 $as_echo_n 0123456789 >"conftest.in"
3394 cat "conftest.in" "conftest.in" >"conftest.tmp"
3395 mv "conftest.tmp" "conftest.in"
3396 cp "conftest.in" "conftest.nl"
3397 $as_echo '' >> "conftest.nl"
3398 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3400 as_fn_arith $ac_count + 1 && ac_count=$as_val
3401 if test $ac_count -gt ${ac_path_SED_max-0}; then
3402 # Best one so far, save it but keep looking for a better one
3403 ac_cv_path_SED="$ac_path_SED"
3404 ac_path_SED_max=$ac_count
3406 # 10*(2^10) chars as input seems more than enough
3407 test $ac_count -gt 10 && break
3409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3412 $ac_path_SED_found && break 3
3417 if test -z "$ac_cv_path_SED"; then
3418 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3426 $as_echo "$ac_cv_path_SED" >&6; }
3427 SED="$ac_cv_path_SED"
3430 test -z "$SED" && SED=sed
3431 Xsed="$SED -e 1s/^X//"
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3444 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3445 if ${ac_cv_path_GREP+:} false; then :
3446 $as_echo_n "(cached) " >&6
3448 if test -z "$GREP"; then
3449 ac_path_GREP_found=false
3450 # Loop through the user's path and test for each of PROGNAME-LIST
3451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3455 test -z "$as_dir" && as_dir=.
3456 for ac_prog in grep ggrep; do
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3459 as_fn_executable_p "$ac_path_GREP" || continue
3460 # Check for GNU ac_path_GREP and select it if it is found.
3461 # Check for GNU $ac_path_GREP
3462 case `"$ac_path_GREP" --version 2>&1` in
3464 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3467 $as_echo_n 0123456789 >"conftest.in"
3470 cat "conftest.in" "conftest.in" >"conftest.tmp"
3471 mv "conftest.tmp" "conftest.in"
3472 cp "conftest.in" "conftest.nl"
3473 $as_echo 'GREP' >> "conftest.nl"
3474 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3475 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3476 as_fn_arith $ac_count + 1 && ac_count=$as_val
3477 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3478 # Best one so far, save it but keep looking for a better one
3479 ac_cv_path_GREP="$ac_path_GREP"
3480 ac_path_GREP_max=$ac_count
3482 # 10*(2^10) chars as input seems more than enough
3483 test $ac_count -gt 10 && break
3485 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3488 $ac_path_GREP_found && break 3
3493 if test -z "$ac_cv_path_GREP"; then
3494 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3497 ac_cv_path_GREP=$GREP
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3502 $as_echo "$ac_cv_path_GREP" >&6; }
3503 GREP="$ac_cv_path_GREP"
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3507 $as_echo_n "checking for egrep... " >&6; }
3508 if ${ac_cv_path_EGREP+:} false; then :
3509 $as_echo_n "(cached) " >&6
3511 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3512 then ac_cv_path_EGREP="$GREP -E"
3514 if test -z "$EGREP"; then
3515 ac_path_EGREP_found=false
3516 # Loop through the user's path and test for each of PROGNAME-LIST
3517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3521 test -z "$as_dir" && as_dir=.
3522 for ac_prog in egrep; do
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3525 as_fn_executable_p "$ac_path_EGREP" || continue
3526 # Check for GNU ac_path_EGREP and select it if it is found.
3527 # Check for GNU $ac_path_EGREP
3528 case `"$ac_path_EGREP" --version 2>&1` in
3530 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3533 $as_echo_n 0123456789 >"conftest.in"
3536 cat "conftest.in" "conftest.in" >"conftest.tmp"
3537 mv "conftest.tmp" "conftest.in"
3538 cp "conftest.in" "conftest.nl"
3539 $as_echo 'EGREP' >> "conftest.nl"
3540 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3542 as_fn_arith $ac_count + 1 && ac_count=$as_val
3543 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3544 # Best one so far, save it but keep looking for a better one
3545 ac_cv_path_EGREP="$ac_path_EGREP"
3546 ac_path_EGREP_max=$ac_count
3548 # 10*(2^10) chars as input seems more than enough
3549 test $ac_count -gt 10 && break
3551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3554 $ac_path_EGREP_found && break 3
3559 if test -z "$ac_cv_path_EGREP"; then
3560 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3563 ac_cv_path_EGREP=$EGREP
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3569 $as_echo "$ac_cv_path_EGREP" >&6; }
3570 EGREP="$ac_cv_path_EGREP"
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3574 $as_echo_n "checking for fgrep... " >&6; }
3575 if ${ac_cv_path_FGREP+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3579 then ac_cv_path_FGREP="$GREP -F"
3581 if test -z "$FGREP"; then
3582 ac_path_FGREP_found=false
3583 # Loop through the user's path and test for each of PROGNAME-LIST
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3588 test -z "$as_dir" && as_dir=.
3589 for ac_prog in fgrep; do
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3592 as_fn_executable_p "$ac_path_FGREP" || continue
3593 # Check for GNU ac_path_FGREP and select it if it is found.
3594 # Check for GNU $ac_path_FGREP
3595 case `"$ac_path_FGREP" --version 2>&1` in
3597 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3600 $as_echo_n 0123456789 >"conftest.in"
3603 cat "conftest.in" "conftest.in" >"conftest.tmp"
3604 mv "conftest.tmp" "conftest.in"
3605 cp "conftest.in" "conftest.nl"
3606 $as_echo 'FGREP' >> "conftest.nl"
3607 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3608 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3609 as_fn_arith $ac_count + 1 && ac_count=$as_val
3610 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3611 # Best one so far, save it but keep looking for a better one
3612 ac_cv_path_FGREP="$ac_path_FGREP"
3613 ac_path_FGREP_max=$ac_count
3615 # 10*(2^10) chars as input seems more than enough
3616 test $ac_count -gt 10 && break
3618 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3621 $ac_path_FGREP_found && break 3
3626 if test -z "$ac_cv_path_FGREP"; then
3627 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3630 ac_cv_path_FGREP=$FGREP
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3636 $as_echo "$ac_cv_path_FGREP" >&6; }
3637 FGREP="$ac_cv_path_FGREP"
3640 test -z "$GREP" && GREP=grep
3660 # Check whether --with-gnu-ld was given.
3661 if test "${with_gnu_ld+set}" = set; then :
3662 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3668 if test "$GCC" = yes; then
3669 # Check if gcc -print-prog-name=ld gives a path.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3671 $as_echo_n "checking for ld used by $CC... " >&6; }
3674 # gcc leaves a trailing carriage return which upsets mingw
3675 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3677 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3680 # Accept absolute paths.
3682 re_direlt='/[^/][^/]*/\.\./'
3683 # Canonicalize the pathname of ld
3684 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
3685 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3686 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
3688 test -z "$LD" && LD="$ac_prog"
3691 # If it fails, then pretend we aren't using GCC.
3695 # If it is relative, then search for the first ld in PATH.
3699 elif test "$with_gnu_ld" = yes; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3701 $as_echo_n "checking for GNU ld... " >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3704 $as_echo_n "checking for non-GNU ld... " >&6; }
3706 if ${lt_cv_path_LD+:} false; then :
3707 $as_echo_n "(cached) " >&6
3709 if test -z "$LD"; then
3710 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3711 for ac_dir in $PATH; do
3713 test -z "$ac_dir" && ac_dir=.
3714 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3715 lt_cv_path_LD="$ac_dir/$ac_prog"
3716 # Check to see if the program is GNU ld. I'd rather use --version,
3717 # but apparently some variants of GNU ld only accept -v.
3718 # Break only if it was the GNU/non-GNU ld that we prefer.
3719 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3720 *GNU* | *'with BFD'*)
3721 test "$with_gnu_ld" != no && break
3724 test "$with_gnu_ld" != yes && break
3731 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3736 if test -n "$LD"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3738 $as_echo "$LD" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3743 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3745 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3746 if ${lt_cv_prog_gnu_ld+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3750 case `$LD -v 2>&1 </dev
/null
` in
3751 *GNU* | *'with BFD'*)
3752 lt_cv_prog_gnu_ld=yes
3755 lt_cv_prog_gnu_ld=no
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3760 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3761 with_gnu_ld=$lt_cv_prog_gnu_ld
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3772 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3773 if ${lt_cv_path_NM+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$NM"; then
3777 # Let the user override the test.
3780 lt_nm_to_check="${ac_tool_prefix}nm"
3781 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3782 lt_nm_to_check="$lt_nm_to_check nm"
3784 for lt_tmp_nm in $lt_nm_to_check; do
3785 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3786 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3788 test -z "$ac_dir" && ac_dir=.
3789 tmp_nm="$ac_dir/$lt_tmp_nm"
3790 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3791 # Check to see if the nm accepts a BSD-compat flag.
3792 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3793 # nm: unknown option "B" ignored
3794 # Tru64's nm complains that
/dev
/null is an invalid object
file
3795 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3796 */dev
/null
* |
*'Invalid file or object type'*)
3797 lt_cv_path_NM
="$tmp_nm -B"
3801 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3803 lt_cv_path_NM
="$tmp_nm -p"
3807 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3808 continue # so that we can try to find one that supports BSD flags
3817 : ${lt_cv_path_NM=no}
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3821 $as_echo "$lt_cv_path_NM" >&6; }
3822 if test "$lt_cv_path_NM" != "no"; then
3825 # Didn't find any BSD compatible name lister, look for dumpbin.
3826 if test -n "$ac_tool_prefix"; then
3827 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3830 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$DUMPBIN"; then
3837 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 DUMPBIN
=$ac_cv_prog_DUMPBIN
3857 if test -n "$DUMPBIN"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3859 $as_echo "$DUMPBIN" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3866 test -n "$DUMPBIN" && break
3869 if test -z "$DUMPBIN"; then
3870 ac_ct_DUMPBIN
=$DUMPBIN
3871 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3873 # Extract the first word of "$ac_prog", so it can be a program name with args.
3874 set dummy
$ac_prog; ac_word
=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$ac_ct_DUMPBIN"; then
3881 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3890 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3901 if test -n "$ac_ct_DUMPBIN"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3903 $as_echo "$ac_ct_DUMPBIN" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3910 test -n "$ac_ct_DUMPBIN" && break
3913 if test "x$ac_ct_DUMPBIN" = x
; then
3916 case $cross_compiling:$ac_tool_warned in
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3920 ac_tool_warned
=yes ;;
3922 DUMPBIN
=$ac_ct_DUMPBIN
3927 if test "$DUMPBIN" != ":"; then
3931 test -z "$NM" && NM
=nm
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3940 if ${lt_cv_nm_interface+:} false
; then :
3941 $as_echo_n "(cached) " >&6
3943 lt_cv_nm_interface
="BSD nm"
3944 echo "int some_variable = 0;" > conftest.
$ac_ext
3945 (eval echo "\"\$as_me:3945: $ac_compile\"" >&5)
3946 (eval "$ac_compile" 2>conftest.err
)
3947 cat conftest.err
>&5
3948 (eval echo "\"\$as_me:3948: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3949 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3950 cat conftest.err
>&5
3951 (eval echo "\"\$as_me:3951: output\"" >&5)
3952 cat conftest.out
>&5
3953 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3954 lt_cv_nm_interface
="MS dumpbin"
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3959 $as_echo "$lt_cv_nm_interface" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3962 $as_echo_n "checking whether ln -s works... " >&6; }
3964 if test "$LN_S" = "ln -s"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3966 $as_echo "yes" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3969 $as_echo "no, using $LN_S" >&6; }
3972 # find the maximum length of command line arguments
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3974 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3975 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3976 $as_echo_n "(cached) " >&6
3983 # On DJGPP, this test can blow up pretty badly due to problems in libc
3984 # (any single argument exceeding 2000 bytes causes a buffer overrun
3985 # during glob expansion). Even if it were fixed, the result of this
3986 # check would be larger than it should be.
3987 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3991 # Under GNU Hurd, this test is not required because there is
3992 # no limit to the length of command line arguments.
3993 # Libtool will interpret -1 as no limit whatsoever
3994 lt_cv_sys_max_cmd_len
=-1;
3997 cygwin
* | mingw
* | cegcc
*)
3998 # On Win9x/ME, this test blows up -- it succeeds, but takes
3999 # about 5 minutes as the teststring grows exponentially.
4000 # Worse, since 9x/ME are not pre-emptively multitasking,
4001 # you end up with a "frozen" computer, even though with patience
4002 # the test eventually succeeds (with a max line length of 256k).
4003 # Instead, let's just punt: use the minimum linelength reported by
4004 # all of the supported platforms: 8192 (on NT/2K/XP).
4005 lt_cv_sys_max_cmd_len
=8192;
4009 # On AmigaOS with pdksh, this test takes hours, literally.
4010 # So we just punt and use a minimum line length of 8192.
4011 lt_cv_sys_max_cmd_len
=8192;
4014 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4015 # This has been around since 386BSD, at least. Likely further.
4016 if test -x /sbin
/sysctl
; then
4017 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4018 elif test -x /usr
/sbin
/sysctl
; then
4019 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4021 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4023 # And add a safety zone
4024 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4025 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4029 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4030 lt_cv_sys_max_cmd_len
=196608
4034 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4035 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4036 # nice to cause kernel panics so lets avoid the loop below.
4037 # First set a reasonable default.
4038 lt_cv_sys_max_cmd_len
=16384
4040 if test -x /sbin
/sysconfig
; then
4041 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4042 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4047 lt_cv_sys_max_cmd_len
=102400
4049 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4050 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4051 if test -n "$kargmax"; then
4052 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4054 lt_cv_sys_max_cmd_len
=32768
4058 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4059 if test -n "$lt_cv_sys_max_cmd_len"; then
4060 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4061 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4063 # Make teststring a little bigger before we do anything with it.
4064 # a 1K string should be a reasonable start.
4065 for i
in 1 2 3 4 5 6 7 8 ; do
4066 teststring
=$teststring$teststring
4068 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4069 # If test is not a shell built-in, we'll probably end up computing a
4070 # maximum length that is only half of the actual maximum length, but
4072 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4073 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4074 test $i != 17 # 1/2 MB should be enough
4077 teststring
=$teststring$teststring
4079 # Only check the string length outside the loop.
4080 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4082 # Add a significant safety factor because C++ compilers can tack on
4083 # massive amounts of additional arguments before passing them to the
4084 # linker. It appears as though 1/2 is a usable value.
4085 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4092 if test -n $lt_cv_sys_max_cmd_len ; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4094 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4097 $as_echo "none" >&6; }
4099 max_cmd_len
=$lt_cv_sys_max_cmd_len
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4111 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4112 # Try some XSI features
4115 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4117 && eval 'test $(( 1 + 1 )) -eq 2 \
4118 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4121 $as_echo "$xsi_shell" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4125 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4127 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4129 && lt_shell_append=yes
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4131 $as_echo "$lt_shell_append" >&6; }
4134 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4144 # test EBCDIC or ASCII
4145 case `echo X|tr X '\101'` in
4146 A) # ASCII based system
4147 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4148 lt_SP2NL='tr \040 \012'
4149 lt_NL2SP='tr \015\012 \040\040'
4151 *) # EBCDIC based system
4152 lt_SP2NL='tr \100 \n'
4153 lt_NL2SP='tr \r\n \100\100'
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4166 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4167 if ${lt_cv_ld_reload_flag+:} false; then :
4168 $as_echo_n "(cached
) " >&6
4170 lt_cv_ld_reload_flag='-r'
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4173 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4174 reload_flag=$lt_cv_ld_reload_flag
4175 case $reload_flag in
4177 *) reload_flag=" $reload_flag" ;;
4179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4182 if test "$GCC" = yes; then
4183 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4185 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4198 if test -n "$ac_tool_prefix"; then
4199 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4202 $as_echo_n "checking
for $ac_word...
" >&6; }
4203 if ${ac_cv_prog_OBJDUMP+:} false; then :
4204 $as_echo_n "(cached
) " >&6
4206 if test -n "$OBJDUMP"; then
4207 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 test -z "$as_dir" && as_dir=.
4214 for ac_exec_ext in '' $ac_executable_extensions; do
4215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4216 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4226 OBJDUMP=$ac_cv_prog_OBJDUMP
4227 if test -n "$OBJDUMP"; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4229 $as_echo "$OBJDUMP" >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4232 $as_echo "no
" >&6; }
4237 if test -z "$ac_cv_prog_OBJDUMP"; then
4238 ac_ct_OBJDUMP=$OBJDUMP
4239 # Extract the first word of "objdump
", so it can be a program name with args.
4240 set dummy objdump; ac_word=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4242 $as_echo_n "checking
for $ac_word...
" >&6; }
4243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4244 $as_echo_n "(cached
) " >&6
4246 if test -n "$ac_ct_OBJDUMP"; then
4247 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253 test -z "$as_dir" && as_dir=.
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4256 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4267 if test -n "$ac_ct_OBJDUMP"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4269 $as_echo "$ac_ct_OBJDUMP" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4272 $as_echo "no
" >&6; }
4275 if test "x
$ac_ct_OBJDUMP" = x; then
4278 case $cross_compiling:$ac_tool_warned in
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4281 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4282 ac_tool_warned=yes ;;
4284 OBJDUMP=$ac_ct_OBJDUMP
4287 OBJDUMP="$ac_cv_prog_OBJDUMP"
4290 test -z "$OBJDUMP" && OBJDUMP=objdump
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4301 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4302 if ${lt_cv_deplibs_check_method+:} false; then :
4303 $as_echo_n "(cached
) " >&6
4305 lt_cv_file_magic_cmd='$MAGIC_CMD'
4306 lt_cv_file_magic_test_file=
4307 lt_cv_deplibs_check_method='unknown'
4308 # Need to set the preceding variable on all platforms that support
4309 # interlibrary dependencies.
4310 # 'none' -- dependencies not supported.
4311 # `unknown' -- same as none, but documents that we really don't know.
4312 # 'pass_all' -- all dependencies passed with no checks.
4313 # 'test_compile' -- check by making test program.
4314 # 'file_magic [[regex]]' -- check by looking for files in library path
4315 # which responds to the $file_magic_cmd with a given extended regex.
4316 # If you have `file' or equivalent on your system and you're not sure
4317 # whether `pass_all' will *always* work, you probably want this one.
4321 lt_cv_deplibs_check_method=pass_all
4325 lt_cv_deplibs_check_method=pass_all
4329 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4330 lt_cv_file_magic_cmd='/usr/bin/file -L'
4331 lt_cv_file_magic_test_file=/shlib/libc.so
4335 # func_win32_libid is a shell function defined in ltmain.sh
4336 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4337 lt_cv_file_magic_cmd='func_win32_libid'
4341 # Base MSYS/MinGW do not provide the 'file' command needed by
4342 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4343 # unless we find 'file', for example because we are cross-compiling.
4344 if ( file / ) >/dev/null 2>&1; then
4345 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4346 lt_cv_file_magic_cmd='func_win32_libid'
4348 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4349 lt_cv_file_magic_cmd='$OBJDUMP -f'
4354 # use the weaker test based on 'objdump'. See mingw*.
4355 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4356 lt_cv_file_magic_cmd='$OBJDUMP -f'
4359 darwin* | rhapsody*)
4360 lt_cv_deplibs_check_method=pass_all
4363 freebsd* | dragonfly*)
4364 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4367 # Not sure whether the presence of OpenBSD here was a mistake.
4368 # Let's accept both of them until this is cleared up.
4369 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4370 lt_cv_file_magic_cmd=/usr/bin/file
4371 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4375 lt_cv_deplibs_check_method=pass_all
4380 lt_cv_deplibs_check_method=pass_all
4383 hpux10.20* | hpux11*)
4384 lt_cv_file_magic_cmd=/usr/bin/file
4387 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4388 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4391 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4392 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4395 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4396 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4402 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4406 irix5* | irix6* | nonstopux*)
4408 *-32|*"-32 ") libmagic=32-bit;;
4409 *-n32|*"-n32 ") libmagic=N32;;
4410 *-64|*"-64 ") libmagic=64-bit;;
4411 *) libmagic=never-match;;
4413 lt_cv_deplibs_check_method=pass_all
4416 # This must be Linux ELF.
4417 linux* | k*bsd*-gnu)
4418 lt_cv_deplibs_check_method=pass_all
4422 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4425 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4430 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4431 lt_cv_file_magic_cmd=/usr/bin/file
4432 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4436 lt_cv_deplibs_check_method=pass_all
4440 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4447 osf3* | osf4* | osf5*)
4448 lt_cv_deplibs_check_method=pass_all
4452 lt_cv_deplibs_check_method=pass_all
4456 lt_cv_deplibs_check_method=pass_all
4459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4460 lt_cv_deplibs_check_method=pass_all
4464 case $host_vendor in
4466 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]'
4467 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4470 lt_cv_deplibs_check_method=pass_all
4473 lt_cv_file_magic_cmd='/bin/file'
4474 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4477 lt_cv_file_magic_cmd='/bin/file'
4478 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4479 lt_cv_file_magic_test_file=/lib/libc.so
4482 lt_cv_deplibs_check_method=pass_all
4485 lt_cv_deplibs_check_method=pass_all
4491 lt_cv_deplibs_check_method=pass_all
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4497 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4498 file_magic_cmd=$lt_cv_file_magic_cmd
4499 deplibs_check_method=$lt_cv_deplibs_check_method
4500 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4513 if test -n "$ac_tool_prefix"; then
4514 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4515 set dummy ${ac_tool_prefix}ar; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4517 $as_echo_n "checking
for $ac_word...
" >&6; }
4518 if ${ac_cv_prog_AR+:} false; then :
4519 $as_echo_n "(cached
) " >&6
4521 if test -n "$AR"; then
4522 ac_cv_prog_AR="$AR" # Let the user override the test.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_AR="${ac_tool_prefix}ar"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4542 if test -n "$AR"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
4544 $as_echo "$AR" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4547 $as_echo "no
" >&6; }
4552 if test -z "$ac_cv_prog_AR"; then
4554 # Extract the first word of "ar", so it can be a program name with args.
4555 set dummy ar; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4557 $as_echo_n "checking
for $ac_word...
" >&6; }
4558 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4559 $as_echo_n "(cached
) " >&6
4561 if test -n "$ac_ct_AR"; then
4562 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_ac_ct_AR="ar"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4581 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4582 if test -n "$ac_ct_AR"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
4584 $as_echo "$ac_ct_AR" >&6; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4587 $as_echo "no
" >&6; }
4590 if test "x
$ac_ct_AR" = x; then
4593 case $cross_compiling:$ac_tool_warned in
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4596 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4597 ac_tool_warned=yes ;;
4605 test -z "$AR" && AR=ar
4606 test -z "$AR_FLAGS" && AR_FLAGS=cru
4618 if test -n "$ac_tool_prefix"; then
4619 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4620 set dummy ${ac_tool_prefix}strip; ac_word=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4622 $as_echo_n "checking
for $ac_word...
" >&6; }
4623 if ${ac_cv_prog_STRIP+:} false; then :
4624 $as_echo_n "(cached
) " >&6
4626 if test -n "$STRIP"; then
4627 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir=.
4634 for ac_exec_ext in '' $ac_executable_extensions; do
4635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4646 STRIP=$ac_cv_prog_STRIP
4647 if test -n "$STRIP"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4649 $as_echo "$STRIP" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4652 $as_echo "no
" >&6; }
4657 if test -z "$ac_cv_prog_STRIP"; then
4659 # Extract the first word of "strip
", so it can be a program name with args.
4660 set dummy strip; ac_word=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4662 $as_echo_n "checking
for $ac_word...
" >&6; }
4663 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4664 $as_echo_n "(cached
) " >&6
4666 if test -n "$ac_ct_STRIP"; then
4667 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir=.
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_ac_ct_STRIP="strip
"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4687 if test -n "$ac_ct_STRIP"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
4689 $as_echo "$ac_ct_STRIP" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4692 $as_echo "no
" >&6; }
4695 if test "x
$ac_ct_STRIP" = x; then
4698 case $cross_compiling:$ac_tool_warned in
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4701 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4702 ac_tool_warned=yes ;;
4707 STRIP="$ac_cv_prog_STRIP"
4710 test -z "$STRIP" && STRIP=:
4717 if test -n "$ac_tool_prefix"; then
4718 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4719 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4721 $as_echo_n "checking
for $ac_word...
" >&6; }
4722 if ${ac_cv_prog_RANLIB+:} false; then :
4723 $as_echo_n "(cached
) " >&6
4725 if test -n "$RANLIB"; then
4726 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir=.
4733 for ac_exec_ext in '' $ac_executable_extensions; do
4734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4745 RANLIB=$ac_cv_prog_RANLIB
4746 if test -n "$RANLIB"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
4748 $as_echo "$RANLIB" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4751 $as_echo "no
" >&6; }
4756 if test -z "$ac_cv_prog_RANLIB"; then
4757 ac_ct_RANLIB=$RANLIB
4758 # Extract the first word of "ranlib
", so it can be a program name with args.
4759 set dummy ranlib; ac_word=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4761 $as_echo_n "checking
for $ac_word...
" >&6; }
4762 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4763 $as_echo_n "(cached
) " >&6
4765 if test -n "$ac_ct_RANLIB"; then
4766 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir=.
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4775 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4785 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4786 if test -n "$ac_ct_RANLIB"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
4788 $as_echo "$ac_ct_RANLIB" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4791 $as_echo "no
" >&6; }
4794 if test "x
$ac_ct_RANLIB" = x; then
4797 case $cross_compiling:$ac_tool_warned in
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4800 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4801 ac_tool_warned=yes ;;
4803 RANLIB=$ac_ct_RANLIB
4806 RANLIB="$ac_cv_prog_RANLIB"
4809 test -z "$RANLIB" && RANLIB=:
4816 # Determine commands to create old-style static archives.
4817 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4818 old_postinstall_cmds='chmod 644 $oldlib'
4819 old_postuninstall_cmds=
4821 if test -n "$RANLIB"; then
4824 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4827 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4830 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4866 # If no C compiler was specified, use CC.
4869 # If no C compiler flags were specified, use CFLAGS.
4870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4872 # Allow CC to be a program name with arguments.
4876 # Check for command to grab the raw symbol name followed by C symbol from nm.
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
4878 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4879 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
4880 $as_echo_n "(cached
) " >&6
4883 # These are sane defaults that work on at least a few old systems.
4884 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4886 # Character class describing NM global symbol codes.
4887 symcode='[BCDEGRST]'
4889 # Regexp to match symbols that can be accessed directly from C.
4890 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4892 # Define system-specific variables.
4897 cygwin* | mingw* | pw32* | cegcc*)
4898 symcode='[ABCDGISTW]'
4901 if test "$host_cpu" = ia64; then
4902 symcode='[ABCDEGRST]'
4906 symcode='[BCDEGRST]'
4909 symcode='[BCDEGQRST]'
4920 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4928 # If we're using GNU nm, then use its standard symbol codes.
4929 case `$NM -V 2>&1` in
4930 *GNU* | *'with BFD'*)
4931 symcode='[ABCDGIRSTW]' ;;
4934 # Transform an extracted symbol line into a proper C declaration.
4935 # Some systems (esp. on ia64) link data and code symbols differently,
4936 # so use this general approach.
4937 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4939 # Transform an extracted symbol line into symbol name and symbol address
4940 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4941 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
4943 # Handle CRLF in mingw tool chain
4947 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4951 # Try without a prefix underscore, then with it.
4952 for ac_symprfx in "" "_
"; do
4954 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4955 symxfrm="\\1 $ac_symprfx\\2 \\2"
4957 # Write the raw and C identifiers.
4958 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4959 # Fake it for dumpbin and say T for any non-static function
4960 # and D for any global variable.
4961 # Also find C++ and __fastcall symbols from MSVC++,
4962 # which start with @ or ?.
4963 lt_cv_sys_global_symbol_pipe="$AWK '"\
4964 " {last_section=section; section=\$ 3};"\
4965 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4966 " \$ 0!~/External *\|/{next};"\
4967 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4968 " {if(hide[section]) next};"\
4969 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4970 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4971 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4972 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4973 " ' prfx
=^
$ac_symprfx"
4975 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4978 # Check to see that the pipe works correctly.
4982 cat > conftest.$ac_ext <<_LT_EOF
4987 void nm_test_func(void);
4988 void nm_test_func(void){}
4992 int main(){nm_test_var='a';nm_test_func();return(0);}
4995 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4996 (eval $ac_compile) 2>&5
4998 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4999 test $ac_status = 0; }; then
5000 # Now try to grab the symbols.
5002 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
5003 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5005 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5006 test $ac_status = 0; } && test -s "$nlist"; then
5007 # Try sorting and uniquifying the output.
5008 if sort "$nlist" | uniq > "$nlist"T; then
5009 mv -f "$nlist"T "$nlist"
5014 # Make sure that we snagged all the symbols we need.
5015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5017 cat <<_LT_EOF > conftest.$ac_ext
5023 # Now generate the symbol file.
5024 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5026 cat <<_LT_EOF >> conftest.$ac_ext
5028 /* The mapping between symbol names and symbols. */
5033 lt__PROGRAM__LTX_preloaded_symbols[] =
5035 { "@PROGRAM@
", (void *) 0 },
5037 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5038 cat <<\_LT_EOF >> conftest.$ac_ext
5042 /* This works around a problem in FreeBSD linker */
5043 #ifdef FREEBSD_WORKAROUND
5044 static const void *lt_preloaded_setup() {
5045 return lt__PROGRAM__LTX_preloaded_symbols;
5053 # Now try linking the two files.
5054 mv conftest.$ac_objext conftstm.$ac_objext
5055 lt_save_LIBS="$LIBS"
5056 lt_save_CFLAGS="$CFLAGS"
5057 LIBS="conftstm.
$ac_objext"
5058 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5059 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5060 (eval $ac_link) 2>&5
5062 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5063 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5066 LIBS="$lt_save_LIBS"
5067 CFLAGS="$lt_save_CFLAGS"
5069 echo "cannot
find nm_test_func
in $nlist" >&5
5072 echo "cannot
find nm_test_var
in $nlist" >&5
5075 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5078 echo "$progname: failed program was
:" >&5
5079 cat conftest.$ac_ext >&5
5081 rm -rf conftest* conftst*
5083 # Do not use the global_symbol_pipe unless it works.
5084 if test "$pipe_works" = yes; then
5087 lt_cv_sys_global_symbol_pipe=
5093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5094 lt_cv_sys_global_symbol_to_cdecl=
5096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5098 $as_echo "failed
" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5101 $as_echo "ok
" >&6; }
5126 # Check whether --enable-libtool-lock was given.
5127 if test "${enable_libtool_lock+set}" = set; then :
5128 enableval=$enable_libtool_lock;
5131 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5133 # Some flags need to be propagated to the compiler or linker for good
5137 # Find out which ABI we are using.
5138 echo 'int i;' > conftest.$ac_ext
5139 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5140 (eval $ac_compile) 2>&5
5142 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5143 test $ac_status = 0; }; then
5144 case `/usr/bin/file conftest.$ac_objext` in
5156 # Find out which ABI we are using.
5157 echo '#line 5157 "configure
"' > conftest.$ac_ext
5158 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5159 (eval $ac_compile) 2>&5
5161 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5162 test $ac_status = 0; }; then
5163 if test "$lt_cv_prog_gnu_ld" = yes; then
5164 case `/usr/bin/file conftest.$ac_objext` in
5166 LD="${LD-ld} -melf32bsmip"
5169 LD="${LD-ld} -melf32bmipn32"
5172 LD="${LD-ld} -melf64bmip"
5176 case `/usr/bin/file conftest.$ac_objext` in
5192 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5193 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5194 # Find out which ABI we are using.
5195 echo 'int i;' > conftest.$ac_ext
5196 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5197 (eval $ac_compile) 2>&5
5199 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5200 test $ac_status = 0; }; then
5201 case `/usr/bin/file conftest.o` in
5204 x86_64-*kfreebsd*-gnu)
5205 LD="${LD-ld} -m elf_i386_fbsd
"
5208 LD="${LD-ld} -m elf_i386
"
5210 ppc64-*linux*|powerpc64-*linux*)
5211 LD="${LD-ld} -m elf32ppclinux
"
5214 LD="${LD-ld} -m elf_s390
"
5217 LD="${LD-ld} -m elf32_sparc
"
5223 x86_64-*kfreebsd*-gnu)
5224 LD="${LD-ld} -m elf_x86_64_fbsd
"
5227 LD="${LD-ld} -m elf_x86_64
"
5229 ppc*-*linux*|powerpc*-*linux*)
5230 LD="${LD-ld} -m elf64ppc
"
5232 s390*-*linux*|s390*-*tpf*)
5233 LD="${LD-ld} -m elf64_s390
"
5236 LD="${LD-ld} -m elf64_sparc
"
5246 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5247 SAVE_CFLAGS="$CFLAGS"
5248 CFLAGS="$CFLAGS -belf"
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5250 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5251 if ${lt_cv_cc_needs_belf+:} false; then :
5252 $as_echo_n "(cached
) " >&6
5255 ac_cpp='$CPP $CPPFLAGS'
5256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5271 if ac_fn_c_try_link "$LINENO"; then :
5272 lt_cv_cc_needs_belf=yes
5274 lt_cv_cc_needs_belf=no
5276 rm -f core conftest.err conftest.$ac_objext \
5277 conftest$ac_exeext conftest.$ac_ext
5279 ac_cpp='$CPP $CPPFLAGS'
5280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5286 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5287 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5288 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5289 CFLAGS="$SAVE_CFLAGS"
5293 # Find out which ABI we are using.
5294 echo 'int i;' > conftest.$ac_ext
5295 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5296 (eval $ac_compile) 2>&5
5298 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5299 test $ac_status = 0; }; then
5300 case `/usr/bin/file conftest.o` in
5302 case $lt_cv_prog_gnu_ld in
5303 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5305 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5317 need_locks="$enable_libtool_lock"
5321 rhapsody* | darwin*)
5322 if test -n "$ac_tool_prefix"; then
5323 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5324 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5326 $as_echo_n "checking
for $ac_word...
" >&6; }
5327 if ${ac_cv_prog_DSYMUTIL+:} false; then :
5328 $as_echo_n "(cached
) " >&6
5330 if test -n "$DSYMUTIL"; then
5331 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5350 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5351 if test -n "$DSYMUTIL"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5353 $as_echo "$DSYMUTIL" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5356 $as_echo "no
" >&6; }
5361 if test -z "$ac_cv_prog_DSYMUTIL"; then
5362 ac_ct_DSYMUTIL=$DSYMUTIL
5363 # Extract the first word of "dsymutil
", so it can be a program name with args.
5364 set dummy dsymutil; ac_word=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5366 $as_echo_n "checking
for $ac_word...
" >&6; }
5367 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5368 $as_echo_n "(cached
) " >&6
5370 if test -n "$ac_ct_DSYMUTIL"; then
5371 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5390 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5391 if test -n "$ac_ct_DSYMUTIL"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
5393 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5396 $as_echo "no
" >&6; }
5399 if test "x
$ac_ct_DSYMUTIL" = x; then
5402 case $cross_compiling:$ac_tool_warned in
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5405 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5406 ac_tool_warned=yes ;;
5408 DSYMUTIL=$ac_ct_DSYMUTIL
5411 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5414 if test -n "$ac_tool_prefix"; then
5415 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5416 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5418 $as_echo_n "checking
for $ac_word...
" >&6; }
5419 if ${ac_cv_prog_NMEDIT+:} false; then :
5420 $as_echo_n "(cached
) " >&6
5422 if test -n "$NMEDIT"; then
5423 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5442 NMEDIT=$ac_cv_prog_NMEDIT
5443 if test -n "$NMEDIT"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
5445 $as_echo "$NMEDIT" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5448 $as_echo "no
" >&6; }
5453 if test -z "$ac_cv_prog_NMEDIT"; then
5454 ac_ct_NMEDIT=$NMEDIT
5455 # Extract the first word of "nmedit
", so it can be a program name with args.
5456 set dummy nmedit; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5458 $as_echo_n "checking
for $ac_word...
" >&6; }
5459 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
5460 $as_echo_n "(cached
) " >&6
5462 if test -n "$ac_ct_NMEDIT"; then
5463 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5482 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5483 if test -n "$ac_ct_NMEDIT"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
5485 $as_echo "$ac_ct_NMEDIT" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5488 $as_echo "no
" >&6; }
5491 if test "x
$ac_ct_NMEDIT" = x; then
5494 case $cross_compiling:$ac_tool_warned in
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5497 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5498 ac_tool_warned=yes ;;
5500 NMEDIT=$ac_ct_NMEDIT
5503 NMEDIT="$ac_cv_prog_NMEDIT"
5506 if test -n "$ac_tool_prefix"; then
5507 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5508 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5510 $as_echo_n "checking
for $ac_word...
" >&6; }
5511 if ${ac_cv_prog_LIPO+:} false; then :
5512 $as_echo_n "(cached
) " >&6
5514 if test -n "$LIPO"; then
5515 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5534 LIPO=$ac_cv_prog_LIPO
5535 if test -n "$LIPO"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
5537 $as_echo "$LIPO" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5540 $as_echo "no
" >&6; }
5545 if test -z "$ac_cv_prog_LIPO"; then
5547 # Extract the first word of "lipo
", so it can be a program name with args.
5548 set dummy lipo; ac_word=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5550 $as_echo_n "checking
for $ac_word...
" >&6; }
5551 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
5552 $as_echo_n "(cached
) " >&6
5554 if test -n "$ac_ct_LIPO"; then
5555 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_ac_ct_LIPO="lipo
"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5574 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5575 if test -n "$ac_ct_LIPO"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
5577 $as_echo "$ac_ct_LIPO" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5580 $as_echo "no
" >&6; }
5583 if test "x
$ac_ct_LIPO" = x; then
5586 case $cross_compiling:$ac_tool_warned in
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5589 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5590 ac_tool_warned=yes ;;
5595 LIPO="$ac_cv_prog_LIPO"
5598 if test -n "$ac_tool_prefix"; then
5599 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5600 set dummy ${ac_tool_prefix}otool; ac_word=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5602 $as_echo_n "checking
for $ac_word...
" >&6; }
5603 if ${ac_cv_prog_OTOOL+:} false; then :
5604 $as_echo_n "(cached
) " >&6
5606 if test -n "$OTOOL"; then
5607 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 test -z "$as_dir" && as_dir=.
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5626 OTOOL=$ac_cv_prog_OTOOL
5627 if test -n "$OTOOL"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
5629 $as_echo "$OTOOL" >&6; }
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5632 $as_echo "no
" >&6; }
5637 if test -z "$ac_cv_prog_OTOOL"; then
5639 # Extract the first word of "otool
", so it can be a program name with args.
5640 set dummy otool; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5642 $as_echo_n "checking
for $ac_word...
" >&6; }
5643 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
5644 $as_echo_n "(cached
) " >&6
5646 if test -n "$ac_ct_OTOOL"; then
5647 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_ac_ct_OTOOL="otool
"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5666 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5667 if test -n "$ac_ct_OTOOL"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
5669 $as_echo "$ac_ct_OTOOL" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5672 $as_echo "no
" >&6; }
5675 if test "x
$ac_ct_OTOOL" = x; then
5678 case $cross_compiling:$ac_tool_warned in
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5681 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5682 ac_tool_warned=yes ;;
5687 OTOOL="$ac_cv_prog_OTOOL"
5690 if test -n "$ac_tool_prefix"; then
5691 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5692 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5694 $as_echo_n "checking
for $ac_word...
" >&6; }
5695 if ${ac_cv_prog_OTOOL64+:} false; then :
5696 $as_echo_n "(cached
) " >&6
5698 if test -n "$OTOOL64"; then
5699 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir=.
5706 for ac_exec_ext in '' $ac_executable_extensions; do
5707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5708 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5718 OTOOL64=$ac_cv_prog_OTOOL64
5719 if test -n "$OTOOL64"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
5721 $as_echo "$OTOOL64" >&6; }
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5724 $as_echo "no
" >&6; }
5729 if test -z "$ac_cv_prog_OTOOL64"; then
5730 ac_ct_OTOOL64=$OTOOL64
5731 # Extract the first word of "otool64
", so it can be a program name with args.
5732 set dummy otool64; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5734 $as_echo_n "checking
for $ac_word...
" >&6; }
5735 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
5736 $as_echo_n "(cached
) " >&6
5738 if test -n "$ac_ct_OTOOL64"; then
5739 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5758 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5759 if test -n "$ac_ct_OTOOL64"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
5761 $as_echo "$ac_ct_OTOOL64" >&6; }
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5764 $as_echo "no
" >&6; }
5767 if test "x
$ac_ct_OTOOL64" = x; then
5770 case $cross_compiling:$ac_tool_warned in
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5773 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5774 ac_tool_warned=yes ;;
5776 OTOOL64=$ac_ct_OTOOL64
5779 OTOOL64="$ac_cv_prog_OTOOL64"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
5809 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5810 if ${lt_cv_apple_cc_single_mod+:} false; then :
5811 $as_echo_n "(cached
) " >&6
5813 lt_cv_apple_cc_single_mod=no
5814 if test -z "${LT_MULTI_MODULE}"; then
5815 # By default we will add the -single_module flag. You can override
5816 # by either setting the environment variable LT_MULTI_MODULE
5817 # non-empty at configure time, or by adding -multi_module to the
5819 rm -rf libconftest.dylib*
5820 echo "int foo
(void
){return 1;}" > conftest.c
5821 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5822 -dynamiclib -Wl,-single_module conftest.c
" >&5
5823 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5824 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5826 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5827 lt_cv_apple_cc_single_mod=yes
5829 cat conftest.err >&5
5831 rm -rf libconftest.dylib*
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
5836 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
5838 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5839 if ${lt_cv_ld_exported_symbols_list+:} false; then :
5840 $as_echo_n "(cached
) " >&6
5842 lt_cv_ld_exported_symbols_list=no
5843 save_LDFLAGS=$LDFLAGS
5844 echo "_main
" > conftest.sym
5845 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5857 if ac_fn_c_try_link "$LINENO"; then :
5858 lt_cv_ld_exported_symbols_list=yes
5860 lt_cv_ld_exported_symbols_list=no
5862 rm -f core conftest.err conftest.$ac_objext \
5863 conftest$ac_exeext conftest.$ac_ext
5864 LDFLAGS="$save_LDFLAGS"
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
5868 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5870 rhapsody* | darwin1.[012])
5871 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5873 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5874 darwin*) # darwin 5.x on
5875 # if running on 10.5 or later, the deployment target defaults
5876 # to the OS version, if on x86, and 10.4, the deployment
5877 # target defaults to 10.4. Don't you love it?
5878 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5879 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5880 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5882 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5884 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5888 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5889 _lt_dar_single_mod='$single_module'
5891 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5892 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5894 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5896 if test "$DSYMUTIL" != ":"; then
5897 _lt_dsymutil='~$DSYMUTIL $lib || :'
5905 ac_cpp='$CPP $CPPFLAGS'
5906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
5910 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5911 # On Suns, sometimes $CPP names a directory.
5912 if test -n "$CPP" && test -d "$CPP"; then
5915 if test -z "$CPP"; then
5916 if ${ac_cv_prog_CPP+:} false; then :
5917 $as_echo_n "(cached
) " >&6
5919 # Double quotes because CPP needs to be expanded
5920 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5923 for ac_c_preproc_warn_flag in '' yes
5925 # Use a header file that comes with gcc, so configuring glibc
5926 # with a fresh cross-compiler works.
5927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5928 # <limits.h> exists even on freestanding compilers.
5929 # On the NeXT, cc -E runs the code through the compiler's parser,
5930 # not just through cpp. "Syntax error
" is here to catch this case.
5931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5932 /* end confdefs.h. */
5934 # include <limits.h>
5936 # include <assert.h>
5940 if ac_fn_c_try_cpp "$LINENO"; then :
5943 # Broken: fails on valid input.
5946 rm -f conftest.err conftest.i conftest.$ac_ext
5948 # OK, works on sane cases. Now check whether nonexistent headers
5949 # can be detected and how.
5950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5952 #include <ac_nonexistent.h>
5954 if ac_fn_c_try_cpp "$LINENO"; then :
5955 # Broken: success on invalid input.
5958 # Passes both tests.
5962 rm -f conftest.err conftest.i conftest.$ac_ext
5965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5966 rm -f conftest.i conftest.err conftest.$ac_ext
5967 if $ac_preproc_ok; then :
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
5980 $as_echo "$CPP" >&6; }
5982 for ac_c_preproc_warn_flag in '' yes
5984 # Use a header file that comes with gcc, so configuring glibc
5985 # with a fresh cross-compiler works.
5986 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5987 # <limits.h> exists even on freestanding compilers.
5988 # On the NeXT, cc -E runs the code through the compiler's parser,
5989 # not just through cpp. "Syntax error
" is here to catch this case.
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5993 # include <limits.h>
5995 # include <assert.h>
5999 if ac_fn_c_try_cpp "$LINENO"; then :
6002 # Broken: fails on valid input.
6005 rm -f conftest.err conftest.i conftest.$ac_ext
6007 # OK, works on sane cases. Now check whether nonexistent headers
6008 # can be detected and how.
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6011 #include <ac_nonexistent.h>
6013 if ac_fn_c_try_cpp "$LINENO"; then :
6014 # Broken: success on invalid input.
6017 # Passes both tests.
6021 rm -f conftest.err conftest.i conftest.$ac_ext
6024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6025 rm -f conftest.i conftest.err conftest.$ac_ext
6026 if $ac_preproc_ok; then :
6029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6031 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6032 See \`config.log' for more details
" "$LINENO" 5; }
6036 ac_cpp='$CPP $CPPFLAGS'
6037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6043 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6044 if ${ac_cv_header_stdc+:} false; then :
6045 $as_echo_n "(cached
) " >&6
6047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6062 if ac_fn_c_try_compile "$LINENO"; then :
6063 ac_cv_header_stdc=yes
6065 ac_cv_header_stdc=no
6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6069 if test $ac_cv_header_stdc = yes; then
6070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 /* end confdefs.h. */
6076 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6077 $EGREP "memchr
" >/dev/null 2>&1; then :
6080 ac_cv_header_stdc=no
6086 if test $ac_cv_header_stdc = yes; then
6087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6089 /* end confdefs.h. */
6093 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6094 $EGREP "free
" >/dev/null 2>&1; then :
6097 ac_cv_header_stdc=no
6103 if test $ac_cv_header_stdc = yes; then
6104 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6105 if test "$cross_compiling" = yes; then :
6108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6112 #if ((' ' & 0x0FF) == 0x020)
6113 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6114 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6116 # define ISLOWER(c) \
6117 (('a' <= (c) && (c) <= 'i') \
6118 || ('j' <= (c) && (c) <= 'r') \
6119 || ('s' <= (c) && (c) <= 'z'))
6120 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6123 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6128 for (i = 0; i < 256; i++)
6129 if (XOR (islower (i), ISLOWER (i))
6130 || toupper (i) != TOUPPER (i))
6135 if ac_fn_c_try_run "$LINENO"; then :
6138 ac_cv_header_stdc=no
6140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6141 conftest.$ac_objext conftest.beam conftest.$ac_ext
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6147 $as_echo "$ac_cv_header_stdc" >&6; }
6148 if test $ac_cv_header_stdc = yes; then
6150 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6154 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6155 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6156 inttypes.h stdint.h unistd.h
6158 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6159 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6161 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6162 cat >>confdefs.h
<<_ACEOF
6163 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6171 for ac_header
in dlfcn.h
6173 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6175 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6176 cat >>confdefs.h
<<_ACEOF
6177 #define HAVE_DLFCN_H 1
6196 # Check whether --enable-shared was given.
6197 if test "${enable_shared+set}" = set; then :
6198 enableval
=$enable_shared; p
=${PACKAGE-default}
6200 yes) enable_shared
=yes ;;
6201 no
) enable_shared
=no
;;
6204 # Look at the argument we got. We use all the common list separators.
6205 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6206 for pkg
in $enableval; do
6208 if test "X$pkg" = "X$p"; then
6227 # Check whether --enable-static was given.
6228 if test "${enable_static+set}" = set; then :
6229 enableval
=$enable_static; p
=${PACKAGE-default}
6231 yes) enable_static
=yes ;;
6232 no
) enable_static
=no
;;
6235 # Look at the argument we got. We use all the common list separators.
6236 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6237 for pkg
in $enableval; do
6239 if test "X$pkg" = "X$p"; then
6259 # Check whether --with-pic was given.
6260 if test "${with_pic+set}" = set; then :
6261 withval
=$with_pic; pic_mode
="$withval"
6267 test -z "$pic_mode" && pic_mode
=default
6275 # Check whether --enable-fast-install was given.
6276 if test "${enable_fast_install+set}" = set; then :
6277 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6279 yes) enable_fast_install
=yes ;;
6280 no
) enable_fast_install
=no
;;
6282 enable_fast_install
=no
6283 # Look at the argument we got. We use all the common list separators.
6284 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6285 for pkg
in $enableval; do
6287 if test "X$pkg" = "X$p"; then
6288 enable_fast_install
=yes
6295 enable_fast_install
=yes
6308 # This can be used to rebuild libtool when needed
6309 LIBTOOL_DEPS
="$ltmain"
6311 # Always use our own libtool.
6312 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6338 test -z "$LN_S" && LN_S
="ln -s"
6353 if test -n "${ZSH_VERSION+set}" ; then
6354 setopt NO_GLOB_SUBST
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6358 $as_echo_n "checking for objdir... " >&6; }
6359 if ${lt_cv_objdir+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6362 rm -f .libs
2>/dev
/null
6363 mkdir .libs
2>/dev
/null
6364 if test -d .libs
; then
6367 # MS-DOS does not allow filenames that begin with a dot.
6370 rmdir .libs
2>/dev
/null
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6373 $as_echo "$lt_cv_objdir" >&6; }
6374 objdir
=$lt_cv_objdir
6380 cat >>confdefs.h
<<_ACEOF
6381 #define LT_OBJDIR "$lt_cv_objdir/"
6402 # AIX sometimes has problems with the GCC collect2 program. For some
6403 # reason, if we set the COLLECT_NAMES environment variable, the problems
6404 # vanish in a puff of smoke.
6405 if test "X${COLLECT_NAMES+set}" != Xset
; then
6407 export COLLECT_NAMES
6412 # Sed substitution that helps us do robust quoting. It backslashifies
6413 # metacharacters that are still active within double-quoted strings.
6414 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6416 # Same as above, but do not quote variable references.
6417 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6419 # Sed substitution to delay expansion of an escaped shell variable in a
6420 # double_quote_subst'ed string.
6421 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6423 # Sed substitution to delay expansion of an escaped single quote.
6424 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6426 # Sed substitution to avoid accidental globbing in evaled expressions
6427 no_glob_subst
='s/\*/\\\*/g'
6431 can_build_shared
=yes
6433 # All known linkers require a `.a' archive for static linking (except MSVC,
6434 # which needs '.lib').
6437 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6440 old_CFLAGS
="$CFLAGS"
6442 # Set sane defaults for various variables
6443 test -z "$CC" && CC
=cc
6444 test -z "$LTCC" && LTCC
=$CC
6445 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6446 test -z "$LD" && LD
=ld
6447 test -z "$ac_objext" && ac_objext
=o
6449 for cc_temp
in $compiler""; do
6451 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6452 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6457 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6460 # Only perform the check for file, if the check method requires it
6461 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6462 case $deplibs_check_method in
6464 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6466 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6467 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6468 $as_echo_n "(cached) " >&6
6472 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6475 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6476 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6477 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6478 for ac_dir
in $ac_dummy; do
6480 test -z "$ac_dir" && ac_dir
=.
6481 if test -f $ac_dir/${ac_tool_prefix}file; then
6482 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6483 if test -n "$file_magic_test_file"; then
6484 case $deplibs_check_method in
6486 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6487 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6488 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6489 $EGREP "$file_magic_regex" > /dev
/null
; then
6494 *** Warning: the command libtool uses to detect shared libraries,
6495 *** $file_magic_cmd, produces output that libtool cannot recognize.
6496 *** The result is that libtool may fail to recognize shared libraries
6497 *** as such. This will affect the creation of libtool libraries that
6498 *** depend on shared libraries, but programs linked with such libtool
6499 *** libraries will work regardless of this problem. Nevertheless, you
6500 *** may want to report the problem to your system manager and/or to
6501 *** bug-libtool@gnu.org
6511 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6516 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6517 if test -n "$MAGIC_CMD"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6519 $as_echo "$MAGIC_CMD" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6529 if test -z "$lt_cv_path_MAGIC_CMD"; then
6530 if test -n "$ac_tool_prefix"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6532 $as_echo_n "checking for file... " >&6; }
6533 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6534 $as_echo_n "(cached) " >&6
6538 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6541 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6542 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6543 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6544 for ac_dir
in $ac_dummy; do
6546 test -z "$ac_dir" && ac_dir
=.
6547 if test -f $ac_dir/file; then
6548 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6549 if test -n "$file_magic_test_file"; then
6550 case $deplibs_check_method in
6552 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6553 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6554 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6555 $EGREP "$file_magic_regex" > /dev
/null
; then
6560 *** Warning: the command libtool uses to detect shared libraries,
6561 *** $file_magic_cmd, produces output that libtool cannot recognize.
6562 *** The result is that libtool may fail to recognize shared libraries
6563 *** as such. This will affect the creation of libtool libraries that
6564 *** depend on shared libraries, but programs linked with such libtool
6565 *** libraries will work regardless of this problem. Nevertheless, you
6566 *** may want to report the problem to your system manager and/or to
6567 *** bug-libtool@gnu.org
6577 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6582 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6583 if test -n "$MAGIC_CMD"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6585 $as_echo "$MAGIC_CMD" >&6; }
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6601 # Use C for the default configuration in the libtool script
6605 ac_cpp
='$CPP $CPPFLAGS'
6606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6611 # Source file extension for C test sources.
6614 # Object file extension for compiled C test sources.
6618 # Code to be used in simple compile tests
6619 lt_simple_compile_test_code
="int some_variable = 0;"
6621 # Code to be used in simple link tests
6622 lt_simple_link_test_code
='int main(){return(0);}'
6630 # If no C compiler was specified, use CC.
6633 # If no C compiler flags were specified, use CFLAGS.
6634 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6636 # Allow CC to be a program name with arguments.
6639 # Save the default compiler, since it gets overwritten when the other
6640 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6641 compiler_DEFAULT
=$CC
6643 # save warnings/boilerplate of simple test code
6644 ac_outfile
=conftest.
$ac_objext
6645 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6646 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6647 _lt_compiler_boilerplate
=`cat conftest.err`
6650 ac_outfile
=conftest.
$ac_objext
6651 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6652 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6653 _lt_linker_boilerplate
=`cat conftest.err`
6657 if test -n "$compiler"; then
6659 lt_prog_compiler_no_builtin_flag
=
6661 if test "$GCC" = yes; then
6662 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6665 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6666 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
6667 $as_echo_n "(cached) " >&6
6669 lt_cv_prog_compiler_rtti_exceptions
=no
6670 ac_outfile
=conftest.
$ac_objext
6671 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6672 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6673 # Insert the option either (1) after the last *FLAGS variable, or
6674 # (2) before a word containing "conftest.", or (3) at the end.
6675 # Note that $ac_compile itself does not contain backslashes and begins
6676 # with a dollar sign (not a hyphen), so the echo should work correctly.
6677 # The option is referenced via a variable to avoid confusing sed.
6678 lt_compile
=`echo "$ac_compile" | $SED \
6679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6681 -e 's:$: $lt_compiler_flag:'`
6682 (eval echo "\"\$as_me:6682: $lt_compile\"" >&5)
6683 (eval "$lt_compile" 2>conftest.err
)
6685 cat conftest.err
>&5
6686 echo "$as_me:6686: \$? = $ac_status" >&5
6687 if (exit $ac_status) && test -s "$ac_outfile"; then
6688 # The compiler can only warn and ignore the option if not recognized
6689 # So say no if there are warnings other than the usual output.
6690 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6691 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6692 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6693 lt_cv_prog_compiler_rtti_exceptions
=yes
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6700 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6702 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6703 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6715 lt_prog_compiler_wl
=
6716 lt_prog_compiler_pic
=
6717 lt_prog_compiler_static
=
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6720 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6722 if test "$GCC" = yes; then
6723 lt_prog_compiler_wl
='-Wl,'
6724 lt_prog_compiler_static
='-static'
6728 # All AIX code is PIC.
6729 if test "$host_cpu" = ia64
; then
6730 # AIX 5 now supports IA64 processor
6731 lt_prog_compiler_static
='-Bstatic'
6738 # see comment about AmigaOS4 .so support
6739 lt_prog_compiler_pic
='-fPIC'
6742 # FIXME: we need at least 68020 code to build shared libraries, but
6743 # adding the `-m68020' flag to GCC prevents building anything better,
6745 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6750 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6751 # PIC is the default for these OSes.
6754 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6755 # This hack is so that the source file can tell whether it is being
6756 # built for inclusion in a dll (and should export symbols for example).
6757 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6758 # (--disable-auto-import) libraries
6759 lt_prog_compiler_pic
='-DDLL_EXPORT'
6762 darwin
* | rhapsody
*)
6763 # PIC is the default on this platform
6764 # Common symbols not allowed in MH_DYLIB files
6765 lt_prog_compiler_pic
='-fno-common'
6769 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6770 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6771 # sets the default TLS model and affects inlining.
6777 lt_prog_compiler_pic
='-fPIC'
6783 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6784 # Instead, we relocate shared libraries at runtime.
6788 # Just because we use GCC doesn't mean we suddenly get shared libraries
6789 # on systems that don't support them.
6790 lt_prog_compiler_can_build_shared
=no
6795 # QNX uses GNU C++, but need to define -shared option too, otherwise
6797 lt_prog_compiler_pic
='-fPIC -shared'
6801 if test -d /usr
/nec
; then
6802 lt_prog_compiler_pic
=-Kconform_pic
6807 lt_prog_compiler_pic
='-fPIC'
6811 # PORTME Check for flag to pass linker flags through the system compiler.
6814 lt_prog_compiler_wl
='-Wl,'
6815 if test "$host_cpu" = ia64
; then
6816 # AIX 5 now supports IA64 processor
6817 lt_prog_compiler_static
='-Bstatic'
6819 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6823 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6824 # This hack is so that the source file can tell whether it is being
6825 # built for inclusion in a dll (and should export symbols for example).
6826 lt_prog_compiler_pic
='-DDLL_EXPORT'
6829 hpux9
* | hpux10
* | hpux11
*)
6830 lt_prog_compiler_wl
='-Wl,'
6831 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6838 lt_prog_compiler_pic
='+Z'
6841 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6842 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6845 irix5
* | irix6
* | nonstopux
*)
6846 lt_prog_compiler_wl
='-Wl,'
6847 # PIC (with -KPIC) is the default.
6848 lt_prog_compiler_static
='-non_shared'
6851 linux
* | k
*bsd
*-gnu)
6852 case $cc_basename in
6853 # old Intel for x86_64 which still supported -KPIC.
6855 lt_prog_compiler_wl
='-Wl,'
6856 lt_prog_compiler_pic
='-KPIC'
6857 lt_prog_compiler_static
='-static'
6859 # icc used to be incompatible with GCC.
6860 # ICC 10 doesn't accept -KPIC any more.
6862 lt_prog_compiler_wl
='-Wl,'
6863 lt_prog_compiler_pic
='-fPIC'
6864 lt_prog_compiler_static
='-static'
6866 # Lahey Fortran 8.1.
6868 lt_prog_compiler_wl
='-Wl,'
6869 lt_prog_compiler_pic
='--shared'
6870 lt_prog_compiler_static
='--static'
6872 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6873 # Portland Group compilers (*not* the Pentium gcc compiler,
6874 # which looks to be a dead project)
6875 lt_prog_compiler_wl
='-Wl,'
6876 lt_prog_compiler_pic
='-fpic'
6877 lt_prog_compiler_static
='-Bstatic'
6880 lt_prog_compiler_wl
='-Wl,'
6881 # All Alpha code is PIC.
6882 lt_prog_compiler_static
='-non_shared'
6885 # IBM XL C 8.0/Fortran 10.1 on PPC
6886 lt_prog_compiler_wl
='-Wl,'
6887 lt_prog_compiler_pic
='-qpic'
6888 lt_prog_compiler_static
='-qstaticlink'
6891 case `$CC -V 2>&1 | sed 5q` in
6894 lt_prog_compiler_pic
='-KPIC'
6895 lt_prog_compiler_static
='-Bstatic'
6896 lt_prog_compiler_wl
='-Wl,'
6899 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6900 lt_prog_compiler_pic
='-KPIC'
6901 lt_prog_compiler_static
='-Bstatic'
6902 lt_prog_compiler_wl
=''
6910 lt_prog_compiler_pic
='-KPIC'
6911 lt_prog_compiler_static
='-Bstatic'
6915 # QNX uses GNU C++, but need to define -shared option too, otherwise
6917 lt_prog_compiler_pic
='-fPIC -shared'
6920 osf3
* | osf4
* | osf5
*)
6921 lt_prog_compiler_wl
='-Wl,'
6922 # All OSF/1 code is PIC.
6923 lt_prog_compiler_static
='-non_shared'
6927 lt_prog_compiler_static
='-non_shared'
6931 lt_prog_compiler_pic
='-KPIC'
6932 lt_prog_compiler_static
='-Bstatic'
6933 case $cc_basename in
6935 lt_prog_compiler_wl
='-Qoption ld ';;
6937 lt_prog_compiler_wl
='-Wl,';;
6942 lt_prog_compiler_wl
='-Qoption ld '
6943 lt_prog_compiler_pic
='-PIC'
6944 lt_prog_compiler_static
='-Bstatic'
6947 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6948 lt_prog_compiler_wl
='-Wl,'
6949 lt_prog_compiler_pic
='-KPIC'
6950 lt_prog_compiler_static
='-Bstatic'
6954 if test -d /usr
/nec
;then
6955 lt_prog_compiler_pic
='-Kconform_pic'
6956 lt_prog_compiler_static
='-Bstatic'
6960 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6961 lt_prog_compiler_wl
='-Wl,'
6962 lt_prog_compiler_pic
='-KPIC'
6963 lt_prog_compiler_static
='-Bstatic'
6967 lt_prog_compiler_wl
='-Wl,'
6968 lt_prog_compiler_can_build_shared
=no
6972 lt_prog_compiler_pic
='-pic'
6973 lt_prog_compiler_static
='-Bstatic'
6977 lt_prog_compiler_can_build_shared
=no
6983 # For platforms which do not support PIC, -DPIC is meaningless:
6985 lt_prog_compiler_pic
=
6988 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6992 $as_echo "$lt_prog_compiler_pic" >&6; }
7000 # Check to make sure the PIC flag actually works.
7002 if test -n "$lt_prog_compiler_pic"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7004 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7005 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7006 $as_echo_n "(cached) " >&6
7008 lt_cv_prog_compiler_pic_works
=no
7009 ac_outfile
=conftest.
$ac_objext
7010 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7011 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7012 # Insert the option either (1) after the last *FLAGS variable, or
7013 # (2) before a word containing "conftest.", or (3) at the end.
7014 # Note that $ac_compile itself does not contain backslashes and begins
7015 # with a dollar sign (not a hyphen), so the echo should work correctly.
7016 # The option is referenced via a variable to avoid confusing sed.
7017 lt_compile
=`echo "$ac_compile" | $SED \
7018 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7019 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7020 -e 's:$: $lt_compiler_flag:'`
7021 (eval echo "\"\$as_me:7021: $lt_compile\"" >&5)
7022 (eval "$lt_compile" 2>conftest.err
)
7024 cat conftest.err
>&5
7025 echo "$as_me:7025: \$? = $ac_status" >&5
7026 if (exit $ac_status) && test -s "$ac_outfile"; then
7027 # The compiler can only warn and ignore the option if not recognized
7028 # So say no if there are warnings other than the usual output.
7029 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7030 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7031 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7032 lt_cv_prog_compiler_pic_works
=yes
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7039 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7041 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7042 case $lt_prog_compiler_pic in
7044 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7047 lt_prog_compiler_pic
=
7048 lt_prog_compiler_can_build_shared
=no
7059 # Check to make sure the static flag actually works.
7061 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7063 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7064 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7065 $as_echo_n "(cached) " >&6
7067 lt_cv_prog_compiler_static_works
=no
7068 save_LDFLAGS
="$LDFLAGS"
7069 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7070 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7071 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7072 # The linker can only warn and ignore the option if not recognized
7073 # So say no if there are warnings
7074 if test -s conftest.err
; then
7075 # Append any errors to the config.log.
7076 cat conftest.err
1>&5
7077 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7078 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7079 if diff conftest.exp conftest.er2
>/dev
/null
; then
7080 lt_cv_prog_compiler_static_works
=yes
7083 lt_cv_prog_compiler_static_works
=yes
7087 LDFLAGS
="$save_LDFLAGS"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7091 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7093 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7096 lt_prog_compiler_static
=
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7106 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7107 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7108 $as_echo_n "(cached) " >&6
7110 lt_cv_prog_compiler_c_o
=no
7111 $RM -r conftest
2>/dev
/null
7115 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7117 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7118 # Insert the option either (1) after the last *FLAGS variable, or
7119 # (2) before a word containing "conftest.", or (3) at the end.
7120 # Note that $ac_compile itself does not contain backslashes and begins
7121 # with a dollar sign (not a hyphen), so the echo should work correctly.
7122 lt_compile
=`echo "$ac_compile" | $SED \
7123 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7125 -e 's:$: $lt_compiler_flag:'`
7126 (eval echo "\"\$as_me:7126: $lt_compile\"" >&5)
7127 (eval "$lt_compile" 2>out
/conftest.err
)
7129 cat out
/conftest.err
>&5
7130 echo "$as_me:7130: \$? = $ac_status" >&5
7131 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7133 # The compiler can only warn and ignore the option if not recognized
7134 # So say no if there are warnings
7135 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7136 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7137 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7138 lt_cv_prog_compiler_c_o
=yes
7143 # SGI C++ compiler will create directory out/ii_files/ for
7144 # template instantiation
7145 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7146 $RM out
/* && rmdir out
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7153 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7161 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7162 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7165 lt_cv_prog_compiler_c_o
=no
7166 $RM -r conftest
2>/dev
/null
7170 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7172 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7173 # Insert the option either (1) after the last *FLAGS variable, or
7174 # (2) before a word containing "conftest.", or (3) at the end.
7175 # Note that $ac_compile itself does not contain backslashes and begins
7176 # with a dollar sign (not a hyphen), so the echo should work correctly.
7177 lt_compile
=`echo "$ac_compile" | $SED \
7178 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7179 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7180 -e 's:$: $lt_compiler_flag:'`
7181 (eval echo "\"\$as_me:7181: $lt_compile\"" >&5)
7182 (eval "$lt_compile" 2>out
/conftest.err
)
7184 cat out
/conftest.err
>&5
7185 echo "$as_me:7185: \$? = $ac_status" >&5
7186 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7188 # The compiler can only warn and ignore the option if not recognized
7189 # So say no if there are warnings
7190 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7191 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7192 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7193 lt_cv_prog_compiler_c_o
=yes
7198 # SGI C++ compiler will create directory out/ii_files/ for
7199 # template instantiation
7200 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7201 $RM out
/* && rmdir out
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7208 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7213 hard_links
="nottested"
7214 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7215 # do not overwrite the value of need_locks provided by the user
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7217 $as_echo_n "checking if we can lock with hard links... " >&6; }
7220 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7222 ln conftest.a conftest.b
2>&5 || hard_links
=no
7223 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7225 $as_echo "$hard_links" >&6; }
7226 if test "$hard_links" = no
; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7228 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7241 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7244 allow_undefined_flag
=
7245 always_export_symbols
=no
7247 archive_expsym_cmds
=
7248 compiler_needs_object
=no
7249 enable_shared_with_static_runtimes
=no
7250 export_dynamic_flag_spec
=
7251 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7252 hardcode_automatic
=no
7254 hardcode_direct_absolute
=no
7255 hardcode_libdir_flag_spec
=
7256 hardcode_libdir_flag_spec_ld
=
7257 hardcode_libdir_separator
=
7259 hardcode_shlibpath_var
=unsupported
7261 link_all_deplibs
=unknown
7264 old_archive_from_new_cmds
=
7265 old_archive_from_expsyms_cmds
=
7266 thread_safe_flag_spec
=
7267 whole_archive_flag_spec
=
7268 # include_expsyms should be a list of space-separated symbols to be *always*
7269 # included in the symbol list
7271 # exclude_expsyms can be an extended regexp of symbols to exclude
7272 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7273 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7274 # as well as any symbol that contains `d'.
7275 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7276 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7277 # platforms (ab)use it in PIC code, but their linkers get confused if
7278 # the symbol is explicitly referenced. Since portable code cannot
7279 # rely on this symbol name, it's probably fine to never include it in
7280 # preloaded symbol tables.
7281 # Exclude shared library initialization/finalization symbols.
7282 extract_expsyms_cmds
=
7285 cygwin
* | mingw
* | pw32
* | cegcc
*)
7286 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7287 # When not using gcc, we currently assume that we are using
7288 # Microsoft Visual C++.
7289 if test "$GCC" != yes; then
7294 # we just hope/assume this is gcc and not c89 (= MSVC++)
7303 if test "$with_gnu_ld" = yes; then
7304 # If archive_cmds runs LD, not CC, wlarc should be empty
7307 # Set some defaults for GNU ld with shared library support. These
7308 # are reset later if shared libraries are not supported. Putting them
7309 # here allows them to be overridden if necessary.
7310 runpath_var
=LD_RUN_PATH
7311 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7312 export_dynamic_flag_spec
='${wl}--export-dynamic'
7313 # ancient GNU ld didn't support --whole-archive et. al.
7314 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7315 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7317 whole_archive_flag_spec
=
7319 supports_anon_versioning
=no
7320 case `$LD -v 2>&1` in
7321 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7322 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7323 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7324 *\
2.11.
*) ;; # other 2.11 versions
7325 *) supports_anon_versioning
=yes ;;
7328 # See if GNU ld supports shared libraries.
7331 # On AIX/PPC, the GNU linker is very broken
7332 if test "$host_cpu" != ia64
; then
7336 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7337 *** to be unable to reliably create shared libraries on AIX.
7338 *** Therefore, libtool is disabling shared libraries support. If you
7339 *** really care for shared libraries, you may want to modify your PATH
7340 *** so that a non-GNU linker is found, and then restart.
7349 # see comment about AmigaOS4 .so support
7350 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7351 archive_expsym_cmds
=''
7354 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)'
7355 hardcode_libdir_flag_spec
='-L$libdir'
7356 hardcode_minus_L
=yes
7362 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7363 allow_undefined_flag
=unsupported
7364 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7365 # support --undefined. This deserves some investigation. FIXME
7366 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7372 cygwin
* | mingw
* | pw32
* | cegcc
*)
7373 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7374 # as there is no search path for DLLs.
7375 hardcode_libdir_flag_spec
='-L$libdir'
7376 allow_undefined_flag
=unsupported
7377 always_export_symbols
=no
7378 enable_shared_with_static_runtimes
=yes
7379 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7381 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7383 # If the export-symbols file already is a .def file (1st line
7384 # is EXPORTS), use it as is; otherwise, prepend...
7385 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7386 cp $export_symbols $output_objdir/$soname.def;
7388 echo EXPORTS > $output_objdir/$soname.def;
7389 cat $export_symbols >> $output_objdir/$soname.def;
7391 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7399 hardcode_shlibpath_var
=no
7400 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7401 export_dynamic_flag_spec
='${wl}-E'
7402 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7403 # Instead, shared libraries are loaded at an image base (0x10000000 by
7404 # default) and relocated if they conflict, which is a slow very memory
7405 # consuming and fragmenting process. To avoid this, we pick a random,
7406 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7407 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7408 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7409 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'
7412 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7414 if test "$host_os" = linux-dietlibc
; then
7415 case $cc_basename in
7416 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7419 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7420 && test "$tmp_diet" = no
7423 tmp_sharedflag
='-shared'
7424 case $cc_basename,$host_cpu in
7425 pgcc
*) # Portland Group C compiler
7426 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7427 tmp_addflag
=' $pic_flag'
7429 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7430 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7431 tmp_addflag
=' $pic_flag -Mnomain' ;;
7432 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7433 tmp_addflag
=' -i_dynamic' ;;
7434 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7435 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7436 ifc
* | ifort
*) # Intel Fortran compiler
7437 tmp_addflag
=' -nofor_main' ;;
7438 lf95
*) # Lahey Fortran 8.1
7439 whole_archive_flag_spec
=
7440 tmp_sharedflag
='--shared' ;;
7441 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7442 tmp_sharedflag
='-qmkshrobj'
7445 case `$CC -V 2>&1 | sed 5q` in
7446 *Sun\ C
*) # Sun C 5.9
7447 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7448 compiler_needs_object
=yes
7449 tmp_sharedflag
='-G' ;;
7450 *Sun\ F
*) # Sun Fortran 8.3
7451 tmp_sharedflag
='-G' ;;
7453 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7455 if test "x$supports_anon_versioning" = xyes
; then
7456 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7457 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7458 echo "local: *; };" >> $output_objdir/$libname.ver~
7459 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7462 case $cc_basename in
7464 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7465 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7466 hardcode_libdir_flag_spec
=
7467 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7468 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7469 if test "x$supports_anon_versioning" = xyes
; then
7470 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7471 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7472 echo "local: *; };" >> $output_objdir/$libname.ver~
7473 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7483 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7484 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7487 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7488 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7493 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7497 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7498 *** create shared libraries on Solaris systems. Therefore, libtool
7499 *** is disabling shared libraries support. We urge you to upgrade GNU
7500 *** binutils to release 2.9.1 or newer. Another option is to modify
7501 *** your PATH or compiler configuration so that the native linker is
7502 *** used, and then restart.
7505 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7506 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7507 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7513 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7514 case `$LD -v 2>&1` in
7515 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7519 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7520 *** reliably create shared libraries on SCO systems. Therefore, libtool
7521 *** is disabling shared libraries support. We urge you to upgrade GNU
7522 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7523 *** your PATH or compiler configuration so that the native linker is
7524 *** used, and then restart.
7529 # For security reasons, it is highly recommended that you always
7530 # use absolute paths for naming shared libraries, and exclude the
7531 # DT_RUNPATH tag from executables and libraries. But doing so
7532 # requires that you compile everything twice, which is a pain.
7533 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7534 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7535 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7536 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7545 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7548 hardcode_shlibpath_var
=no
7552 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7553 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7554 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7561 if test "$ld_shlibs" = no
; then
7563 hardcode_libdir_flag_spec
=
7564 export_dynamic_flag_spec
=
7565 whole_archive_flag_spec
=
7568 # PORTME fill in a description of your system's linker (not GNU ld)
7571 allow_undefined_flag
=unsupported
7572 always_export_symbols
=yes
7573 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'
7574 # Note: this linker hardcodes the directories in LIBPATH if there
7575 # are no directories specified by -L.
7576 hardcode_minus_L
=yes
7577 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7578 # Neither direct hardcoding nor static linking is supported with a
7580 hardcode_direct
=unsupported
7585 if test "$host_cpu" = ia64
; then
7586 # On IA64, the linker does run time linking by default, so we don't
7587 # have to do anything special.
7588 aix_use_runtimelinking
=no
7589 exp_sym_flag
='-Bexport'
7592 # If we're using GNU nm, then we don't want the "-C" option.
7593 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7594 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7595 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7597 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7599 aix_use_runtimelinking
=no
7601 # Test if we are trying to use run time linking or normal
7602 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7603 # need to do runtime linking.
7604 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7605 for ld_flag
in $LDFLAGS; do
7606 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7607 aix_use_runtimelinking
=yes
7614 exp_sym_flag
='-bexport'
7615 no_entry_flag
='-bnoentry'
7618 # When large executables or shared objects are built, AIX ld can
7619 # have problems creating the table of contents. If linking a library
7620 # or program results in "error TOC overflow" add -mminimal-toc to
7621 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7622 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7626 hardcode_direct_absolute
=yes
7627 hardcode_libdir_separator
=':'
7628 link_all_deplibs
=yes
7629 file_list_spec
='${wl}-f,'
7631 if test "$GCC" = yes; then
7632 case $host_os in aix4.
[012]|aix4.
[012].
*)
7633 # We only want to do this on AIX 4.2 and lower, the check
7634 # below for broken collect2 doesn't work under 4.3+
7635 collect2name
=`${CC} -print-prog-name=collect2`
7636 if test -f "$collect2name" &&
7637 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7639 # We have reworked collect2
7642 # We have old collect2
7643 hardcode_direct
=unsupported
7644 # It fails to find uninstalled libraries when the uninstalled
7645 # path is not listed in the libpath. Setting hardcode_minus_L
7646 # to unsupported forces relinking
7647 hardcode_minus_L
=yes
7648 hardcode_libdir_flag_spec
='-L$libdir'
7649 hardcode_libdir_separator
=
7653 shared_flag
='-shared'
7654 if test "$aix_use_runtimelinking" = yes; then
7655 shared_flag
="$shared_flag "'${wl}-G'
7659 if test "$host_cpu" = ia64
; then
7660 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7661 # chokes on -Wl,-G. The following line is correct:
7664 if test "$aix_use_runtimelinking" = yes; then
7665 shared_flag
='${wl}-G'
7667 shared_flag
='${wl}-bM:SRE'
7672 export_dynamic_flag_spec
='${wl}-bexpall'
7673 # It seems that -bexpall does not export symbols beginning with
7674 # underscore (_), so it is better to generate a list of symbols to export.
7675 always_export_symbols
=yes
7676 if test "$aix_use_runtimelinking" = yes; then
7677 # Warning - without using the other runtime loading flags (-brtl),
7678 # -berok will link without error, but may produce a broken library.
7679 allow_undefined_flag
='-berok'
7680 # Determine the default libpath from the value encoded in an
7682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7683 /* end confdefs.h. */
7693 if ac_fn_c_try_link
"$LINENO"; then :
7695 lt_aix_libpath_sed
='
7696 /Import File Strings/,/^$/ {
7702 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7703 # Check for a 64-bit object if we didn't find anything.
7704 if test -z "$aix_libpath"; then
7705 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7708 rm -f core conftest.err conftest.
$ac_objext \
7709 conftest
$ac_exeext conftest.
$ac_ext
7710 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7712 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7713 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7715 if test "$host_cpu" = ia64
; then
7716 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7717 allow_undefined_flag
="-z nodefs"
7718 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"
7720 # Determine the default libpath from the value encoded in an
7722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7733 if ac_fn_c_try_link
"$LINENO"; then :
7735 lt_aix_libpath_sed
='
7736 /Import File Strings/,/^$/ {
7742 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7743 # Check for a 64-bit object if we didn't find anything.
7744 if test -z "$aix_libpath"; then
7745 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7748 rm -f core conftest.err conftest.
$ac_objext \
7749 conftest
$ac_exeext conftest.
$ac_ext
7750 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7752 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7753 # Warning - without using the other run time loading flags,
7754 # -berok will link without error, but may produce a broken library.
7755 no_undefined_flag
=' ${wl}-bernotok'
7756 allow_undefined_flag
=' ${wl}-berok'
7757 # Exported symbols can be pulled into shared objects from archives
7758 whole_archive_flag_spec
='$convenience'
7759 archive_cmds_need_lc
=yes
7760 # This is similar to how AIX traditionally builds its shared libraries.
7761 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7769 # see comment about AmigaOS4 .so support
7770 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7771 archive_expsym_cmds
=''
7774 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)'
7775 hardcode_libdir_flag_spec
='-L$libdir'
7776 hardcode_minus_L
=yes
7782 export_dynamic_flag_spec
=-rdynamic
7785 cygwin
* | mingw
* | pw32
* | cegcc
*)
7786 # When not using gcc, we currently assume that we are using
7787 # Microsoft Visual C++.
7788 # hardcode_libdir_flag_spec is actually meaningless, as there is
7789 # no search path for DLLs.
7790 hardcode_libdir_flag_spec
=' '
7791 allow_undefined_flag
=unsupported
7792 # Tell ltmain to make .lib files, not .a files.
7794 # Tell ltmain to make .dll files, not .so files.
7796 # FIXME: Setting linknames here is a bad hack.
7797 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7798 # The linker will automatically build a .lib file if we build a DLL.
7799 old_archive_from_new_cmds
='true'
7800 # FIXME: Should let the user specify the lib program.
7801 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7802 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7803 enable_shared_with_static_runtimes
=yes
7806 darwin
* | rhapsody
*)
7809 archive_cmds_need_lc
=no
7811 hardcode_automatic
=yes
7812 hardcode_shlibpath_var
=unsupported
7813 whole_archive_flag_spec
=''
7814 link_all_deplibs
=yes
7815 allow_undefined_flag
="$_lt_dar_allow_undefined"
7816 case $cc_basename in
7817 ifort
*) _lt_dar_can_shared
=yes ;;
7818 *) _lt_dar_can_shared
=$GCC ;;
7820 if test "$_lt_dar_can_shared" = "yes"; then
7821 output_verbose_link_cmd
=echo
7822 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7823 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7824 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}"
7825 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}"
7834 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7835 hardcode_libdir_flag_spec
='-L$libdir'
7836 hardcode_shlibpath_var
=no
7843 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7844 # support. Future versions do this automatically, but an explicit c++rt0.o
7845 # does not break anything, and helps significantly (at the cost of a little
7848 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7849 hardcode_libdir_flag_spec
='-R$libdir'
7851 hardcode_shlibpath_var
=no
7854 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7856 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7858 hardcode_minus_L
=yes
7859 hardcode_shlibpath_var
=no
7862 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7863 freebsd
* | dragonfly
*)
7864 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7865 hardcode_libdir_flag_spec
='-R$libdir'
7867 hardcode_shlibpath_var
=no
7871 if test "$GCC" = yes; then
7872 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7874 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7876 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7877 hardcode_libdir_separator
=:
7880 # hardcode_minus_L: Not really in the search PATH,
7881 # but as the default location of the library.
7882 hardcode_minus_L
=yes
7883 export_dynamic_flag_spec
='${wl}-E'
7887 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7888 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7890 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7892 if test "$with_gnu_ld" = no
; then
7893 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7894 hardcode_libdir_flag_spec_ld
='+b $libdir'
7895 hardcode_libdir_separator
=:
7897 hardcode_direct_absolute
=yes
7898 export_dynamic_flag_spec
='${wl}-E'
7899 # hardcode_minus_L: Not really in the search PATH,
7900 # but as the default location of the library.
7901 hardcode_minus_L
=yes
7906 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7909 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7912 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7915 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7921 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7924 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7927 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7931 if test "$with_gnu_ld" = no
; then
7932 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7933 hardcode_libdir_separator
=:
7938 hardcode_shlibpath_var
=no
7942 hardcode_direct_absolute
=yes
7943 export_dynamic_flag_spec
='${wl}-E'
7945 # hardcode_minus_L: Not really in the search PATH,
7946 # but as the default location of the library.
7947 hardcode_minus_L
=yes
7953 irix5
* | irix6
* | nonstopux
*)
7954 if test "$GCC" = yes; then
7955 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7956 # Try to use the -exported_symbol ld option, if it does not
7957 # work, assume that -exports_file does not work either and
7958 # implicitly export all symbols.
7959 save_LDFLAGS
="$LDFLAGS"
7960 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7965 if ac_fn_c_try_link
"$LINENO"; then :
7966 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7969 rm -f core conftest.err conftest.
$ac_objext \
7970 conftest
$ac_exeext conftest.
$ac_ext
7971 LDFLAGS
="$save_LDFLAGS"
7973 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7974 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7976 archive_cmds_need_lc
='no'
7977 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7978 hardcode_libdir_separator
=:
7980 link_all_deplibs
=yes
7984 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7985 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7987 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7989 hardcode_libdir_flag_spec
='-R$libdir'
7991 hardcode_shlibpath_var
=no
7995 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7997 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7998 hardcode_libdir_separator
=:
7999 hardcode_shlibpath_var
=no
8006 if test -f /usr
/libexec
/ld.so
; then
8008 hardcode_shlibpath_var
=no
8009 hardcode_direct_absolute
=yes
8010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8011 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8012 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8013 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8014 export_dynamic_flag_spec
='${wl}-E'
8017 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8018 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8019 hardcode_libdir_flag_spec
='-R$libdir'
8022 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8023 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8033 hardcode_libdir_flag_spec
='-L$libdir'
8034 hardcode_minus_L
=yes
8035 allow_undefined_flag
=unsupported
8036 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8037 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8041 if test "$GCC" = yes; then
8042 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8043 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8045 allow_undefined_flag
=' -expect_unresolved \*'
8046 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8048 archive_cmds_need_lc
='no'
8049 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8050 hardcode_libdir_separator
=:
8053 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8054 if test "$GCC" = yes; then
8055 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8056 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8057 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8059 allow_undefined_flag
=' -expect_unresolved \*'
8060 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8061 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~
8062 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8064 # Both c and cxx compiler support -rpath directly
8065 hardcode_libdir_flag_spec
='-rpath $libdir'
8067 archive_cmds_need_lc
='no'
8068 hardcode_libdir_separator
=:
8072 no_undefined_flag
=' -z defs'
8073 if test "$GCC" = yes; then
8075 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8076 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8077 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8079 case `$CC -V 2>&1` in
8082 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8083 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8084 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8088 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8089 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8090 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8094 hardcode_libdir_flag_spec
='-R$libdir'
8095 hardcode_shlibpath_var
=no
8097 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8099 # The compiler driver will combine and reorder linker options,
8100 # but understands `-z linker_flag'. GCC discards it without `$wl',
8101 # but is careful enough not to reorder.
8102 # Supported since Solaris 2.6 (maybe 2.5.1?)
8103 if test "$GCC" = yes; then
8104 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8106 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8110 link_all_deplibs
=yes
8114 if test "x$host_vendor" = xsequent
; then
8115 # Use $CC to link under sequent, because it throws in some extra .o
8116 # files that make .init and .fini sections work.
8117 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8119 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8121 hardcode_libdir_flag_spec
='-L$libdir'
8123 hardcode_minus_L
=yes
8124 hardcode_shlibpath_var
=no
8128 case $host_vendor in
8130 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8131 hardcode_direct
=yes # is this really true???
8134 ## LD is ld it makes a PLAMLIB
8135 ## CC just makes a GrossModule.
8136 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8137 reload_cmds
='$CC -r -o $output$reload_objs'
8141 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8142 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8145 runpath_var
='LD_RUN_PATH'
8146 hardcode_shlibpath_var
=no
8150 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8151 hardcode_shlibpath_var
=no
8152 export_dynamic_flag_spec
='-Bexport'
8156 if test -d /usr
/nec
; then
8157 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8158 hardcode_shlibpath_var
=no
8159 runpath_var
=LD_RUN_PATH
8160 hardcode_runpath_var
=yes
8165 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8166 no_undefined_flag
='${wl}-z,text'
8167 archive_cmds_need_lc
=no
8168 hardcode_shlibpath_var
=no
8169 runpath_var
='LD_RUN_PATH'
8171 if test "$GCC" = yes; then
8172 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8173 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8175 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8176 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8180 sysv5
* | sco3.2v5
* | sco5v6
*)
8181 # Note: We can NOT use -z defs as we might desire, because we do not
8182 # link with -lc, and that would cause any symbols used from libc to
8183 # always be unresolved, which means just about no library would
8184 # ever link correctly. If we're not using GNU ld we use -z text
8185 # though, which does catch some bad symbols but isn't as heavy-handed
8187 no_undefined_flag
='${wl}-z,text'
8188 allow_undefined_flag
='${wl}-z,nodefs'
8189 archive_cmds_need_lc
=no
8190 hardcode_shlibpath_var
=no
8191 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8192 hardcode_libdir_separator
=':'
8193 link_all_deplibs
=yes
8194 export_dynamic_flag_spec
='${wl}-Bexport'
8195 runpath_var
='LD_RUN_PATH'
8197 if test "$GCC" = yes; then
8198 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8199 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8201 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8202 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8207 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8208 hardcode_libdir_flag_spec
='-L$libdir'
8209 hardcode_shlibpath_var
=no
8217 if test x
$host_vendor = xsni
; then
8219 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8220 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8227 $as_echo "$ld_shlibs" >&6; }
8228 test "$ld_shlibs" = no
&& can_build_shared
=no
8230 with_gnu_ld
=$with_gnu_ld
8247 # Do we need to explicitly link libc?
8249 case "x$archive_cmds_need_lc" in
8251 # Assume -lc should be added
8252 archive_cmds_need_lc
=yes
8254 if test "$enable_shared" = yes && test "$GCC" = yes; then
8255 case $archive_cmds in
8257 # FIXME: we may have to deal with multi-command sequences.
8260 # Test whether the compiler implicitly links with -lc since on some
8261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8262 # to ld, don't add -lc before -lgcc.
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8264 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8266 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8269 (eval $ac_compile) 2>&5
8271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8272 test $ac_status = 0; } 2>conftest.err
; then
8275 libobjs
=conftest.
$ac_objext
8277 wl
=$lt_prog_compiler_wl
8278 pic_flag
=$lt_prog_compiler_pic
8284 lt_save_allow_undefined_flag
=$allow_undefined_flag
8285 allow_undefined_flag
=
8286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8287 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8290 test $ac_status = 0; }
8292 archive_cmds_need_lc
=no
8294 archive_cmds_need_lc
=yes
8296 allow_undefined_flag
=$lt_save_allow_undefined_flag
8298 cat conftest.err
1>&5
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8302 $as_echo "$archive_cmds_need_lc" >&6; }
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8466 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8468 if test "$GCC" = yes; then
8470 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8471 *) lt_awk_arg
="/^libraries:/" ;;
8473 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8474 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8475 # if the path contains ";" then we assume it to be the separator
8476 # otherwise default to the standard path separator (i.e. ":") - it is
8477 # assumed that no part of a normal pathname contains ";" but that should
8478 # okay in the real world where ";" in dirpaths is itself problematic.
8479 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8481 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8483 # Ok, now we have the path, separated by spaces, we can step through it
8484 # and add multilib dir if necessary.
8485 lt_tmp_lt_search_path_spec
=
8486 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8487 for lt_sys_path
in $lt_search_path_spec; do
8488 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8489 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8491 test -d "$lt_sys_path" && \
8492 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8495 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8496 BEGIN {RS=" "; FS="/|\n";} {
8499 for (lt_i = NF; lt_i > 0; lt_i--) {
8500 if ($lt_i != "" && $lt_i != ".") {
8501 if ($lt_i == "..") {
8504 if (lt_count == 0) {
8505 lt_foo="/" $lt_i lt_foo;
8512 if (lt_foo != "") { lt_freq[lt_foo]++; }
8513 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8515 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8517 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8520 libname_spec
='lib$name'
8528 shlibpath_overrides_runpath
=unknown
8530 dynamic_linker
="$host_os ld.so"
8531 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8532 need_lib_prefix
=unknown
8533 hardcode_into_libs
=no
8535 # when you set need_version to no, make sure it does not cause -set_version
8536 # flags to be left without arguments
8537 need_version
=unknown
8542 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8543 shlibpath_var
=LIBPATH
8545 # AIX 3 has no versioning support, so we append a major version to the name.
8546 soname_spec
='${libname}${release}${shared_ext}$major'
8553 hardcode_into_libs
=yes
8554 if test "$host_cpu" = ia64
; then
8555 # AIX 5 supports IA64
8556 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8557 shlibpath_var
=LD_LIBRARY_PATH
8559 # With GCC up to 2.95.x, collect2 would create an import file
8560 # for dependence libraries. The import file would start with
8561 # the line `#! .'. This would cause the generated library to
8562 # depend on `.', always an invalid library. This was fixed in
8563 # development snapshots of GCC prior to 3.0.
8565 aix4 | aix4.
[01] | aix4.
[01].
*)
8566 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8568 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8575 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8576 # soname into executable. Probably we can add versioning support to
8577 # collect2, so additional links can be useful in future.
8578 if test "$aix_use_runtimelinking" = yes; then
8579 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8580 # instead of lib<name>.a to let people know that these are not
8581 # typical AIX shared libraries.
8582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8584 # We preserve .a as extension for shared libraries through AIX4.2
8585 # and later when we are not doing run time linking.
8586 library_names_spec
='${libname}${release}.a $libname.a'
8587 soname_spec
='${libname}${release}${shared_ext}$major'
8589 shlibpath_var
=LIBPATH
8596 # Since July 2007 AmigaOS4 officially supports .so libraries.
8597 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8601 library_names_spec
='$libname.ixlibrary $libname.a'
8602 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8603 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
8609 library_names_spec
='${libname}${shared_ext}'
8610 dynamic_linker
="$host_os ld.so"
8611 shlibpath_var
=LIBRARY_PATH
8617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8618 soname_spec
='${libname}${release}${shared_ext}$major'
8619 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8620 shlibpath_var
=LD_LIBRARY_PATH
8621 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8622 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8623 # the default ld.so.conf also contains /usr/contrib/lib and
8624 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8625 # libtool to hard-code these into programs
8628 cygwin
* | mingw
* | pw32
* | cegcc
*)
8629 version_type
=windows
8634 case $GCC,$host_os in
8635 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8636 library_names_spec
='$libname.dll.a'
8637 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8638 postinstall_cmds
='base_file=`basename \${file}`~
8639 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8640 dldir=$destdir/`dirname \$dlpath`~
8641 test -d \$dldir || mkdir -p \$dldir~
8642 $install_prog $dir/$dlname \$dldir/$dlname~
8643 chmod a+x \$dldir/$dlname~
8644 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8645 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8647 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8648 dlpath=$dir/\$dldll~
8650 shlibpath_overrides_runpath
=yes
8654 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8655 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8656 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8659 # MinGW DLLs use traditional 'lib' prefix
8660 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8661 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8662 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8663 # It is most probably a Windows format PATH printed by
8664 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8665 # path with ; separators, and with drive letters. We can handle the
8666 # drive letters (cygwin fileutils understands them), so leave them,
8667 # especially as we might pass files found there to a mingw objdump,
8668 # which wouldn't understand a cygwinified path. Ahh.
8669 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8671 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8675 # pw32 DLLs use 'pw' prefix rather than 'lib'
8676 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8682 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8685 dynamic_linker
='Win32 ld.exe'
8686 # FIXME: first we should search . and the directory the executable is in
8690 darwin
* | rhapsody
*)
8691 dynamic_linker
="$host_os dyld"
8695 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8696 soname_spec
='${libname}${release}${major}$shared_ext'
8697 shlibpath_overrides_runpath
=yes
8698 shlibpath_var
=DYLD_LIBRARY_PATH
8699 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8701 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8702 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8710 soname_spec
='${libname}${release}${shared_ext}$major'
8711 shlibpath_var
=LD_LIBRARY_PATH
8718 freebsd
* | dragonfly
*)
8719 # DragonFly does not have aout. When/if they implement a new
8720 # versioning mechanism, adjust this.
8721 if test -x /usr
/bin
/objformat
; then
8722 objformat
=`/usr/bin/objformat`
8725 freebsd
[123]*) objformat
=aout
;;
8729 # Handle Gentoo/FreeBSD as it was Linux
8730 case $host_vendor in
8732 version_type
=linux
;;
8734 version_type
=freebsd-
$objformat ;;
8737 case $version_type in
8739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8744 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8749 soname_spec
='${libname}${release}${shared_ext}$major'
8754 shlibpath_var
=LD_LIBRARY_PATH
8757 shlibpath_overrides_runpath
=yes
8759 freebsd3.
[01]* | freebsdelf3.
[01]*)
8760 shlibpath_overrides_runpath
=yes
8761 hardcode_into_libs
=yes
8763 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8764 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8765 shlibpath_overrides_runpath
=no
8766 hardcode_into_libs
=yes
8768 *) # from 4.6 on, and DragonFly
8769 shlibpath_overrides_runpath
=yes
8770 hardcode_into_libs
=yes
8779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8780 soname_spec
='${libname}${release}${shared_ext}$major'
8781 shlibpath_var
=LD_LIBRARY_PATH
8782 hardcode_into_libs
=yes
8785 hpux9
* | hpux10
* | hpux11
*)
8786 # Give a soname corresponding to the major version so that dld.sl refuses to
8787 # link against other versions.
8794 hardcode_into_libs
=yes
8795 dynamic_linker
="$host_os dld.so"
8796 shlibpath_var
=LD_LIBRARY_PATH
8797 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8799 soname_spec
='${libname}${release}${shared_ext}$major'
8800 if test "X$HPUX_IA64_MODE" = X32
; then
8801 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8803 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8805 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8809 hardcode_into_libs
=yes
8810 dynamic_linker
="$host_os dld.sl"
8811 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8812 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8814 soname_spec
='${libname}${release}${shared_ext}$major'
8815 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8816 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8820 dynamic_linker
="$host_os dld.sl"
8821 shlibpath_var
=SHLIB_PATH
8822 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8824 soname_spec
='${libname}${release}${shared_ext}$major'
8827 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8828 postinstall_cmds
='chmod 555 $lib'
8835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8836 soname_spec
='${libname}${release}${shared_ext}$major'
8837 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8838 shlibpath_var
=LD_LIBRARY_PATH
8839 shlibpath_overrides_runpath
=no
8840 hardcode_into_libs
=yes
8843 irix5
* | irix6
* | nonstopux
*)
8845 nonstopux
*) version_type
=nonstopux
;;
8847 if test "$lt_cv_prog_gnu_ld" = yes; then
8855 soname_spec
='${libname}${release}${shared_ext}$major'
8856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8858 irix5
* | nonstopux
*)
8862 case $LD in # libtool.m4 will add one of these switches to LD
8863 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8864 libsuff
= shlibsuff
= libmagic
=32-bit;;
8865 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8866 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8867 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8868 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8869 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8873 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8874 shlibpath_overrides_runpath
=no
8875 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8876 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8877 hardcode_into_libs
=yes
8880 # No shared lib support for Linux oldld, aout, or coff.
8881 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8885 # This must be Linux ELF.
8886 linux
* | k
*bsd
*-gnu)
8890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8891 soname_spec
='${libname}${release}${shared_ext}$major'
8892 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8893 shlibpath_var
=LD_LIBRARY_PATH
8894 shlibpath_overrides_runpath
=no
8895 # Some binutils ld are patched to set DT_RUNPATH
8896 save_LDFLAGS
=$LDFLAGS
8898 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8899 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8911 if ac_fn_c_try_link
"$LINENO"; then :
8912 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
8913 shlibpath_overrides_runpath
=yes
8916 rm -f core conftest.err conftest.
$ac_objext \
8917 conftest
$ac_exeext conftest.
$ac_ext
8918 LDFLAGS
=$save_LDFLAGS
8921 # This implies no fast_install, which is unacceptable.
8922 # Some rework will be needed to allow for fast_install
8923 # before this can be enabled.
8924 hardcode_into_libs
=yes
8926 # Append ld.so.conf contents to the search path
8927 if test -f /etc
/ld.so.conf
; then
8928 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;/^$/d' | tr '\n' ' '`
8929 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8932 # We used to test for /lib/ld.so.1 and disable shared libraries on
8933 # powerpc, because MkLinux only supported shared libraries with the
8934 # GNU dynamic linker. Since this was broken with cross compilers,
8935 # most powerpc-linux boxes support dynamic linking these days and
8936 # people can always --disable-shared, the test was removed, and we
8937 # assume the GNU/Linux dynamic linker is in use.
8938 dynamic_linker
='GNU/Linux ld.so'
8945 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8947 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8948 dynamic_linker
='NetBSD (a.out) ld.so'
8950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8951 soname_spec
='${libname}${release}${shared_ext}$major'
8952 dynamic_linker
='NetBSD ld.elf_so'
8954 shlibpath_var
=LD_LIBRARY_PATH
8955 shlibpath_overrides_runpath
=yes
8956 hardcode_into_libs
=yes
8961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8962 shlibpath_var
=LD_LIBRARY_PATH
8963 shlibpath_overrides_runpath
=yes
8970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8971 soname_spec
='${libname}${release}${shared_ext}$major'
8972 shlibpath_var
=LD_LIBRARY_PATH
8973 shlibpath_overrides_runpath
=no
8974 hardcode_into_libs
=yes
8975 dynamic_linker
='ldqnx.so'
8980 sys_lib_dlsearch_path_spec
="/usr/lib"
8982 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8984 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8985 *) need_version
=no
;;
8987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8989 shlibpath_var
=LD_LIBRARY_PATH
8990 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8992 openbsd2.
[89] | openbsd2.
[89].
*)
8993 shlibpath_overrides_runpath
=no
8996 shlibpath_overrides_runpath
=yes
9000 shlibpath_overrides_runpath
=yes
9005 libname_spec
='$name'
9008 library_names_spec
='$libname${shared_ext} $libname.a'
9009 dynamic_linker
='OS/2 ld.exe'
9010 shlibpath_var
=LIBPATH
9013 osf3
* | osf4
* | osf5
*)
9017 soname_spec
='${libname}${release}${shared_ext}$major'
9018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9019 shlibpath_var
=LD_LIBRARY_PATH
9020 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9021 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9033 soname_spec
='${libname}${release}${shared_ext}$major'
9034 shlibpath_var
=LD_LIBRARY_PATH
9035 shlibpath_overrides_runpath
=yes
9036 hardcode_into_libs
=yes
9037 # ldd complains unless libraries are executable
9038 postinstall_cmds
='chmod +x $lib'
9043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9044 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9045 shlibpath_var
=LD_LIBRARY_PATH
9046 shlibpath_overrides_runpath
=yes
9047 if test "$with_gnu_ld" = yes; then
9055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9056 soname_spec
='${libname}${release}${shared_ext}$major'
9057 shlibpath_var
=LD_LIBRARY_PATH
9058 case $host_vendor in
9060 shlibpath_overrides_runpath
=no
9062 runpath_var
=LD_RUN_PATH
9070 shlibpath_overrides_runpath
=no
9071 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9077 if test -d /usr
/nec
;then
9079 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9080 soname_spec
='$libname${shared_ext}.$major'
9081 shlibpath_var
=LD_LIBRARY_PATH
9085 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9086 version_type
=freebsd-elf
9089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9090 soname_spec
='${libname}${release}${shared_ext}$major'
9091 shlibpath_var
=LD_LIBRARY_PATH
9092 shlibpath_overrides_runpath
=yes
9093 hardcode_into_libs
=yes
9094 if test "$with_gnu_ld" = yes; then
9095 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9097 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9100 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9104 sys_lib_dlsearch_path_spec
='/usr/lib'
9108 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9113 shlibpath_var
=LD_LIBRARY_PATH
9114 shlibpath_overrides_runpath
=no
9115 hardcode_into_libs
=yes
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9121 soname_spec
='${libname}${release}${shared_ext}$major'
9122 shlibpath_var
=LD_LIBRARY_PATH
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9130 $as_echo "$dynamic_linker" >&6; }
9131 test "$dynamic_linker" = no
&& can_build_shared
=no
9133 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9134 if test "$GCC" = yes; then
9135 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9138 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9139 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9141 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9142 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9232 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9234 if test -n "$hardcode_libdir_flag_spec" ||
9235 test -n "$runpath_var" ||
9236 test "X$hardcode_automatic" = "Xyes" ; then
9238 # We can hardcode non-existent directories.
9239 if test "$hardcode_direct" != no
&&
9240 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9241 # have to relink, otherwise we might link with an installed library
9242 # when we should be linking with a yet-to-be-installed one
9243 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9244 test "$hardcode_minus_L" != no
; then
9245 # Linking always hardcodes the temporary library directory.
9246 hardcode_action
=relink
9248 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9249 hardcode_action
=immediate
9252 # We cannot hardcode anything, or else we can only hardcode existing
9254 hardcode_action
=unsupported
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9257 $as_echo "$hardcode_action" >&6; }
9259 if test "$hardcode_action" = relink ||
9260 test "$inherit_rpath" = yes; then
9261 # Fast installation is not supported
9262 enable_fast_install
=no
9263 elif test "$shlibpath_overrides_runpath" = yes ||
9264 test "$enable_shared" = no
; then
9265 # Fast installation is not necessary
9266 enable_fast_install
=needless
9274 if test "x$enable_dlopen" != xyes
; then
9275 enable_dlopen
=unknown
9276 enable_dlopen_self
=unknown
9277 enable_dlopen_self_static
=unknown
9284 lt_cv_dlopen
="load_add_on"
9286 lt_cv_dlopen_self
=yes
9289 mingw
* | pw32
* | cegcc
*)
9290 lt_cv_dlopen
="LoadLibrary"
9295 lt_cv_dlopen
="dlopen"
9300 # if libdl is installed we need to link against it
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9302 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9303 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9304 $as_echo_n "(cached) " >&6
9306 ac_check_lib_save_LIBS
=$LIBS
9308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9311 /* Override any GCC internal prototype to avoid an error.
9312 Use char because int might match the return type of a GCC
9313 builtin and then its argument prototype would still apply. */
9326 if ac_fn_c_try_link
"$LINENO"; then :
9327 ac_cv_lib_dl_dlopen
=yes
9329 ac_cv_lib_dl_dlopen
=no
9331 rm -f core conftest.err conftest.
$ac_objext \
9332 conftest
$ac_exeext conftest.
$ac_ext
9333 LIBS
=$ac_check_lib_save_LIBS
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9336 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9337 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9338 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9343 lt_cv_dlopen_self
=yes
9350 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9351 if test "x$ac_cv_func_shl_load" = xyes
; then :
9352 lt_cv_dlopen
="shl_load"
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9355 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9356 if ${ac_cv_lib_dld_shl_load+:} false
; then :
9357 $as_echo_n "(cached) " >&6
9359 ac_check_lib_save_LIBS
=$LIBS
9361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9364 /* Override any GCC internal prototype to avoid an error.
9365 Use char because int might match the return type of a GCC
9366 builtin and then its argument prototype would still apply. */
9379 if ac_fn_c_try_link
"$LINENO"; then :
9380 ac_cv_lib_dld_shl_load
=yes
9382 ac_cv_lib_dld_shl_load
=no
9384 rm -f core conftest.err conftest.
$ac_objext \
9385 conftest
$ac_exeext conftest.
$ac_ext
9386 LIBS
=$ac_check_lib_save_LIBS
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9389 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9390 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
9391 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9393 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9394 if test "x$ac_cv_func_dlopen" = xyes
; then :
9395 lt_cv_dlopen
="dlopen"
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9398 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9399 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9400 $as_echo_n "(cached) " >&6
9402 ac_check_lib_save_LIBS
=$LIBS
9404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9422 if ac_fn_c_try_link
"$LINENO"; then :
9423 ac_cv_lib_dl_dlopen
=yes
9425 ac_cv_lib_dl_dlopen
=no
9427 rm -f core conftest.err conftest.
$ac_objext \
9428 conftest
$ac_exeext conftest.
$ac_ext
9429 LIBS
=$ac_check_lib_save_LIBS
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9432 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9433 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9434 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9437 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9438 if ${ac_cv_lib_svld_dlopen+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 ac_check_lib_save_LIBS
=$LIBS
9443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9461 if ac_fn_c_try_link
"$LINENO"; then :
9462 ac_cv_lib_svld_dlopen
=yes
9464 ac_cv_lib_svld_dlopen
=no
9466 rm -f core conftest.err conftest.
$ac_objext \
9467 conftest
$ac_exeext conftest.
$ac_ext
9468 LIBS
=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9471 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9472 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
9473 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9476 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9477 if ${ac_cv_lib_dld_dld_link+:} false
; then :
9478 $as_echo_n "(cached) " >&6
9480 ac_check_lib_save_LIBS
=$LIBS
9482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9485 /* Override any GCC internal prototype to avoid an error.
9486 Use char because int might match the return type of a GCC
9487 builtin and then its argument prototype would still apply. */
9500 if ac_fn_c_try_link
"$LINENO"; then :
9501 ac_cv_lib_dld_dld_link
=yes
9503 ac_cv_lib_dld_dld_link
=no
9505 rm -f core conftest.err conftest.
$ac_objext \
9506 conftest
$ac_exeext conftest.
$ac_ext
9507 LIBS
=$ac_check_lib_save_LIBS
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9510 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9511 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
9512 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9533 if test "x$lt_cv_dlopen" != xno
; then
9539 case $lt_cv_dlopen in
9541 save_CPPFLAGS
="$CPPFLAGS"
9542 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9544 save_LDFLAGS
="$LDFLAGS"
9545 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9548 LIBS
="$lt_cv_dlopen_libs $LIBS"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9551 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9552 if ${lt_cv_dlopen_self+:} false
; then :
9553 $as_echo_n "(cached) " >&6
9555 if test "$cross_compiling" = yes; then :
9556 lt_cv_dlopen_self
=cross
9558 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9559 lt_status
=$lt_dlunknown
9560 cat > conftest.
$ac_ext <<_LT_EOF
9561 #line 9561 "configure"
9562 #include "confdefs.h"
9571 # define LT_DLGLOBAL RTLD_GLOBAL
9574 # define LT_DLGLOBAL DL_GLOBAL
9576 # define LT_DLGLOBAL 0
9580 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9581 find out it does not work in some platform. */
9582 #ifndef LT_DLLAZY_OR_NOW
9584 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9587 # define LT_DLLAZY_OR_NOW DL_LAZY
9590 # define LT_DLLAZY_OR_NOW RTLD_NOW
9593 # define LT_DLLAZY_OR_NOW DL_NOW
9595 # define LT_DLLAZY_OR_NOW 0
9602 void fnord() { int i=42;}
9605 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9606 int status = $lt_dlunknown;
9610 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9611 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9612 /* dlclose (self); */
9620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9621 (eval $ac_link) 2>&5
9623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9624 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9625 (.
/conftest
; exit; ) >&5 2>/dev
/null
9628 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9629 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9630 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9633 # compilation failed
9634 lt_cv_dlopen_self
=no
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9642 $as_echo "$lt_cv_dlopen_self" >&6; }
9644 if test "x$lt_cv_dlopen_self" = xyes
; then
9645 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9647 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9648 if ${lt_cv_dlopen_self_static+:} false
; then :
9649 $as_echo_n "(cached) " >&6
9651 if test "$cross_compiling" = yes; then :
9652 lt_cv_dlopen_self_static
=cross
9654 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9655 lt_status
=$lt_dlunknown
9656 cat > conftest.
$ac_ext <<_LT_EOF
9657 #line 9657 "configure"
9658 #include "confdefs.h"
9667 # define LT_DLGLOBAL RTLD_GLOBAL
9670 # define LT_DLGLOBAL DL_GLOBAL
9672 # define LT_DLGLOBAL 0
9676 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9677 find out it does not work in some platform. */
9678 #ifndef LT_DLLAZY_OR_NOW
9680 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9683 # define LT_DLLAZY_OR_NOW DL_LAZY
9686 # define LT_DLLAZY_OR_NOW RTLD_NOW
9689 # define LT_DLLAZY_OR_NOW DL_NOW
9691 # define LT_DLLAZY_OR_NOW 0
9698 void fnord() { int i=42;}
9701 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9702 int status = $lt_dlunknown;
9706 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9707 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9708 /* dlclose (self); */
9716 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9717 (eval $ac_link) 2>&5
9719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9720 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9721 (.
/conftest
; exit; ) >&5 2>/dev
/null
9724 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9725 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9726 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9729 # compilation failed
9730 lt_cv_dlopen_self_static
=no
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9738 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9741 CPPFLAGS
="$save_CPPFLAGS"
9742 LDFLAGS
="$save_LDFLAGS"
9747 case $lt_cv_dlopen_self in
9748 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9749 *) enable_dlopen_self
=unknown
;;
9752 case $lt_cv_dlopen_self_static in
9753 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9754 *) enable_dlopen_self_static
=unknown
;;
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9777 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9778 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9779 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9780 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9782 $as_echo "yes" >&6; }
9784 # FIXME - insert some real tests, host_os isn't really good enough
9787 if test -n "$STRIP" ; then
9788 striplib
="$STRIP -x"
9789 old_striplib
="$STRIP -S"
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9791 $as_echo "yes" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9794 $as_echo "no" >&6; }
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9799 $as_echo "no" >&6; }
9815 # Report which library types will actually be built
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9817 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9819 $as_echo "$can_build_shared" >&6; }
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9822 $as_echo_n "checking whether to build shared libraries... " >&6; }
9823 test "$can_build_shared" = "no" && enable_shared
=no
9825 # On AIX, shared libraries and static libraries use the same namespace, and
9826 # are all built from PIC.
9829 test "$enable_shared" = yes && enable_static
=no
9830 if test -n "$RANLIB"; then
9831 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9832 postinstall_cmds
='$RANLIB $lib'
9837 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9838 test "$enable_shared" = yes && enable_static
=no
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9843 $as_echo "$enable_shared" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9846 $as_echo_n "checking whether to build static libraries... " >&6; }
9847 # Make sure either enable_shared or enable_static is yes.
9848 test "$enable_shared" = yes || enable_static
=yes
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9850 $as_echo "$enable_static" >&6; }
9857 ac_cpp
='$CPP $CPPFLAGS'
9858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9876 ac_config_commands
="$ac_config_commands libtool"
9884 # Find a good install program. We prefer a C program (faster),
9885 # so one script is as good as another. But avoid the broken or
9886 # incompatible versions:
9887 # SysV /etc/install, /usr/sbin/install
9888 # SunOS /usr/etc/install
9889 # IRIX /sbin/install
9891 # AmigaOS /C/install, which installs bootblocks on floppy discs
9892 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9893 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9894 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9895 # OS/2's system install, which has a completely different semantic
9896 # ./install, which can be erroneously created by make from ./install.sh.
9897 # Reject install programs that cannot install multiple files.
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9899 $as_echo_n "checking for a BSD-compatible install... " >&6; }
9900 if test -z "$INSTALL"; then
9901 if ${ac_cv_path_install+:} false
; then :
9902 $as_echo_n "(cached) " >&6
9904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9908 test -z "$as_dir" && as_dir
=.
9909 # Account for people who put trailing slashes in PATH elements.
9910 case $as_dir/ in #((
9911 .
/ | .
// |
/[cC
]/* | \
9912 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
9913 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
9916 # OSF1 and SCO ODT 3.0 have their own names for install.
9917 # Don't use installbsd from OSF since it installs stuff as root
9919 for ac_prog
in ginstall scoinst
install; do
9920 for ac_exec_ext
in '' $ac_executable_extensions; do
9921 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
9922 if test $ac_prog = install &&
9923 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9924 # AIX install. It has an incompatible calling convention.
9926 elif test $ac_prog = install &&
9927 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9928 # program-specific install script used by HP pwplus--don't use.
9931 rm -rf conftest.one conftest.two conftest.dir
9932 echo one
> conftest.one
9933 echo two
> conftest.two
9935 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
9936 test -s conftest.one
&& test -s conftest.two
&&
9937 test -s conftest.dir
/conftest.one
&&
9938 test -s conftest.dir
/conftest.two
9940 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
9953 rm -rf conftest.one conftest.two conftest.dir
9956 if test "${ac_cv_path_install+set}" = set; then
9957 INSTALL
=$ac_cv_path_install
9959 # As a last resort, use the slow shell script. Don't cache a
9960 # value for INSTALL within a source directory, because that will
9961 # break other packages using the cache if that directory is
9962 # removed, or if the value is a relative name.
9963 INSTALL
=$ac_install_sh
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9967 $as_echo "$INSTALL" >&6; }
9969 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9970 # It thinks the first close brace ends the variable substitution.
9971 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9973 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
9975 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9979 # Enable large file support (if special flags are necessary)
9981 # Check whether --enable-largefile was given.
9982 if test "${enable_largefile+set}" = set; then :
9983 enableval
=$enable_largefile;
9986 if test "$enable_largefile" != no
; then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
9989 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
9990 if ${ac_cv_sys_largefile_CC+:} false
; then :
9991 $as_echo_n "(cached) " >&6
9993 ac_cv_sys_largefile_CC
=no
9994 if test "$GCC" != yes; then
9997 # IRIX 6.2 and later do not support large files by default,
9998 # so use the C compiler's -n32 option if that helps.
9999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10001 #include <sys/types.h>
10002 /* Check that off_t can represent 2**63 - 1 correctly.
10003 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10004 since some C++ compilers masquerading as C compilers
10005 incorrectly reject 9223372036854775807. */
10006 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10007 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10008 && LARGE_OFF_T % 2147483647 == 1)
10018 if ac_fn_c_try_compile
"$LINENO"; then :
10021 rm -f core conftest.err conftest.
$ac_objext
10023 if ac_fn_c_try_compile
"$LINENO"; then :
10024 ac_cv_sys_largefile_CC
=' -n32'; break
10026 rm -f core conftest.err conftest.
$ac_objext
10030 rm -f conftest.
$ac_ext
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
10034 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10035 if test "$ac_cv_sys_largefile_CC" != no
; then
10036 CC
=$CC$ac_cv_sys_largefile_CC
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10040 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10041 if ${ac_cv_sys_file_offset_bits+:} false
; then :
10042 $as_echo_n "(cached) " >&6
10045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10047 #include <sys/types.h>
10048 /* Check that off_t can represent 2**63 - 1 correctly.
10049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10050 since some C++ compilers masquerading as C compilers
10051 incorrectly reject 9223372036854775807. */
10052 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10054 && LARGE_OFF_T % 2147483647 == 1)
10064 if ac_fn_c_try_compile
"$LINENO"; then :
10065 ac_cv_sys_file_offset_bits
=no
; break
10067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10070 #define _FILE_OFFSET_BITS 64
10071 #include <sys/types.h>
10072 /* Check that off_t can represent 2**63 - 1 correctly.
10073 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10074 since some C++ compilers masquerading as C compilers
10075 incorrectly reject 9223372036854775807. */
10076 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10078 && LARGE_OFF_T % 2147483647 == 1)
10088 if ac_fn_c_try_compile
"$LINENO"; then :
10089 ac_cv_sys_file_offset_bits
=64; break
10091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10092 ac_cv_sys_file_offset_bits
=unknown
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
10097 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10098 case $ac_cv_sys_file_offset_bits in #(
10101 cat >>confdefs.h
<<_ACEOF
10102 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10107 if test $ac_cv_sys_file_offset_bits = unknown
; then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
10109 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10110 if ${ac_cv_sys_large_files+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 #include <sys/types.h>
10117 /* Check that off_t can represent 2**63 - 1 correctly.
10118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10119 since some C++ compilers masquerading as C compilers
10120 incorrectly reject 9223372036854775807. */
10121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10123 && LARGE_OFF_T % 2147483647 == 1)
10133 if ac_fn_c_try_compile
"$LINENO"; then :
10134 ac_cv_sys_large_files
=no
; break
10136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 #define _LARGE_FILES 1
10140 #include <sys/types.h>
10141 /* Check that off_t can represent 2**63 - 1 correctly.
10142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10143 since some C++ compilers masquerading as C compilers
10144 incorrectly reject 9223372036854775807. */
10145 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10147 && LARGE_OFF_T % 2147483647 == 1)
10157 if ac_fn_c_try_compile
"$LINENO"; then :
10158 ac_cv_sys_large_files
=1; break
10160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10161 ac_cv_sys_large_files
=unknown
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
10166 $as_echo "$ac_cv_sys_large_files" >&6; }
10167 case $ac_cv_sys_large_files in #(
10170 cat >>confdefs.h
<<_ACEOF
10171 #define _LARGE_FILES $ac_cv_sys_large_files
10183 # Check for needed/wanted data types
10184 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
10185 if test "x$ac_cv_type_int8_t" = xyes
; then :
10187 cat >>confdefs.h
<<_ACEOF
10188 #define HAVE_INT8_T 1
10193 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
10194 if test "x$ac_cv_type_int16_t" = xyes
; then :
10196 cat >>confdefs.h
<<_ACEOF
10197 #define HAVE_INT16_T 1
10202 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
10203 if test "x$ac_cv_type_int32_t" = xyes
; then :
10205 cat >>confdefs.h
<<_ACEOF
10206 #define HAVE_INT32_T 1
10211 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
10212 if test "x$ac_cv_type_int64_t" = xyes
; then :
10214 cat >>confdefs.h
<<_ACEOF
10215 #define HAVE_INT64_T 1
10220 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
10221 if test "x$ac_cv_type_intptr_t" = xyes
; then :
10223 cat >>confdefs.h
<<_ACEOF
10224 #define HAVE_INTPTR_T 1
10229 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
10230 if test "x$ac_cv_type_uint8_t" = xyes
; then :
10232 cat >>confdefs.h
<<_ACEOF
10233 #define HAVE_UINT8_T 1
10238 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
10239 if test "x$ac_cv_type_uint16_t" = xyes
; then :
10241 cat >>confdefs.h
<<_ACEOF
10242 #define HAVE_UINT16_T 1
10247 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
10248 if test "x$ac_cv_type_uint32_t" = xyes
; then :
10250 cat >>confdefs.h
<<_ACEOF
10251 #define HAVE_UINT32_T 1
10256 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
10257 if test "x$ac_cv_type_uint64_t" = xyes
; then :
10259 cat >>confdefs.h
<<_ACEOF
10260 #define HAVE_UINT64_T 1
10265 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
10266 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
10268 cat >>confdefs.h
<<_ACEOF
10269 #define HAVE_UINTPTR_T 1
10277 # Check for needed/wanted headers
10278 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
10280 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10281 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10282 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10283 cat >>confdefs.h
<<_ACEOF
10284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10293 # Figure out whether or not we have these functions
10295 for ac_func
in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul
usleep utime pread pread64 pwrite pwrite64
10297 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10298 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10299 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10300 cat >>confdefs.h
<<_ACEOF
10301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10309 # By default, we use the amalgamation (this may be changed below...)
10314 # See whether we can run specific tclsh versions known to work well;
10315 # if not, then we fall back to plain tclsh.
10316 # TODO: try other versions before falling back?
10318 for ac_prog
in tclsh8.7 tclsh8.6 tclsh8.5 tclsh
10320 # Extract the first word of "$ac_prog", so it can be a program name with args.
10321 set dummy
$ac_prog; ac_word
=$2
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10323 $as_echo_n "checking for $ac_word... " >&6; }
10324 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
10325 $as_echo_n "(cached) " >&6
10327 if test -n "$TCLSH_CMD"; then
10328 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
10330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10331 for as_dir
in $PATH
10334 test -z "$as_dir" && as_dir
=.
10335 for ac_exec_ext
in '' $ac_executable_extensions; do
10336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10337 ac_cv_prog_TCLSH_CMD
="$ac_prog"
10338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10347 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
10348 if test -n "$TCLSH_CMD"; then
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
10350 $as_echo "$TCLSH_CMD" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10353 $as_echo "no" >&6; }
10357 test -n "$TCLSH_CMD" && break
10359 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
10361 if test "$TCLSH_CMD" = "none"; then
10362 # If we can't find a local tclsh, then building the amalgamation will fail.
10363 # We act as though --disable-amalgamation has been used.
10364 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
10371 if test "x${TCLLIBDIR+set}" != "xset" ; then
10372 TCLLIBDIR
='$(libdir)'
10373 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
10374 if test -d $i ; then
10379 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
10384 # Set up an appropriate program prefix
10386 if test "$program_prefix" = "NONE"; then
10391 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
10393 $as_echo "$as_me: Version set to $VERSION" >&6;}
10395 RELEASE
=`cat $srcdir/VERSION`
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
10397 $as_echo "$as_me: Release set to $RELEASE" >&6;}
10401 # Handle --with-wasi-sdk=DIR
10403 # This must be early because it changes the toolchain.
10406 # Check whether --with-wasi-sdk was given.
10407 if test "${with_wasi_sdk+set}" = set; then :
10408 withval
=$with_wasi_sdk; with_wasisdk
=${withval}
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WASI SDK directory" >&5
10412 $as_echo_n "checking for WASI SDK directory... " >&6; }
10413 if ${ac_cv_c_wasi_sdk+:} false
; then :
10414 $as_echo_n "(cached) " >&6
10417 # First check to see if --with-tcl was specified.
10418 if test x
"${with_wasi_sdk}" != x
; then
10419 if ! test -d "${with_wasi_sdk}" ; then
10420 as_fn_error $?
"${with_wasi_sdk} directory doesn't exist" "$LINENO" 5
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_wasi_sdk}: using wasi-sdk clang, disabling: tcl, CLI shell, DLL" >&5
10423 $as_echo "${with_wasi_sdk}: using wasi-sdk clang, disabling: tcl, CLI shell, DLL" >&6; }
10431 if test "${use_wasi_sdk}" = "no" ; then
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10434 $as_echo "no" >&6; }
10437 # Changing --host and --target have no effect here except to possibly
10438 # cause confusion. autoconf has finished processing them by this
10441 # host_alias=wasm32-wasi
10442 # target=wasm32-wasi
10444 # Merely changing CC and LD to the wasi-sdk's is enough to get
10445 # sqlite3.o building in WASM format.
10446 CC
="${with_wasi_sdk}/bin/clang"
10447 LD
="${with_wasi_sdk}/bin/wasm-ld"
10448 RANLIB
="${with_wasi_sdk}/bin/llvm-ranlib"
10449 cross_compiling
=yes
10450 enable_threadsafe
=no
10453 # libtool is apparently hard-coded to use gcc for linking DLLs, so
10454 # we disable the DLL build...
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10457 $as_echo "yes" >&6; }
10463 # Locate a compiler for the build machine. This compiler should
10464 # generate command-line programs that run on the build machine.
10466 if test x
"$cross_compiling" = xno
; then
10468 BUILD_CFLAGS
=$CFLAGS
10470 if test "${BUILD_CC+set}" != set; then
10471 for ac_prog
in gcc cc cl
10473 # Extract the first word of "$ac_prog", so it can be a program name with args.
10474 set dummy
$ac_prog; ac_word
=$2
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10476 $as_echo_n "checking for $ac_word... " >&6; }
10477 if ${ac_cv_prog_BUILD_CC+:} false
; then :
10478 $as_echo_n "(cached) " >&6
10480 if test -n "$BUILD_CC"; then
10481 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
10483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10484 for as_dir
in $PATH
10487 test -z "$as_dir" && as_dir
=.
10488 for ac_exec_ext
in '' $ac_executable_extensions; do
10489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10490 ac_cv_prog_BUILD_CC
="$ac_prog"
10491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10500 BUILD_CC
=$ac_cv_prog_BUILD_CC
10501 if test -n "$BUILD_CC"; then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10503 $as_echo "$BUILD_CC" >&6; }
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10506 $as_echo "no" >&6; }
10510 test -n "$BUILD_CC" && break
10514 if test "${BUILD_CFLAGS+set}" != set; then
10521 # Do we want to support multithreaded use of sqlite
10523 # Check whether --enable-threadsafe was given.
10524 if test "${enable_threadsafe+set}" = set; then :
10525 enableval
=$enable_threadsafe;
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
10529 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
10530 if test "$enable_threadsafe" = "no"; then
10531 SQLITE_THREADSAFE
=0
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 $as_echo "no" >&6; }
10535 SQLITE_THREADSAFE
=1
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10537 $as_echo "yes" >&6; }
10541 if test "$SQLITE_THREADSAFE" = "1"; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
10543 $as_echo_n "checking for library containing pthread_create... " >&6; }
10544 if ${ac_cv_search_pthread_create+:} false
; then :
10545 $as_echo_n "(cached) " >&6
10547 ac_func_search_save_LIBS
=$LIBS
10548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10557 char pthread_create ();
10561 return pthread_create ();
10566 for ac_lib
in '' pthread
; do
10567 if test -z "$ac_lib"; then
10568 ac_res
="none required"
10571 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10573 if ac_fn_c_try_link
"$LINENO"; then :
10574 ac_cv_search_pthread_create
=$ac_res
10576 rm -f core conftest.err conftest.
$ac_objext \
10578 if ${ac_cv_search_pthread_create+:} false
; then :
10582 if ${ac_cv_search_pthread_create+:} false
; then :
10585 ac_cv_search_pthread_create
=no
10587 rm conftest.
$ac_ext
10588 LIBS
=$ac_func_search_save_LIBS
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
10591 $as_echo "$ac_cv_search_pthread_create" >&6; }
10592 ac_res
=$ac_cv_search_pthread_create
10593 if test "$ac_res" != no
; then :
10594 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
10599 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
10600 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10601 $as_echo_n "(cached) " >&6
10603 ac_func_search_save_LIBS
=$LIBS
10604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10613 char pthread_mutexattr_init ();
10617 return pthread_mutexattr_init ();
10622 for ac_lib
in '' pthread
; do
10623 if test -z "$ac_lib"; then
10624 ac_res
="none required"
10627 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10629 if ac_fn_c_try_link
"$LINENO"; then :
10630 ac_cv_search_pthread_mutexattr_init
=$ac_res
10632 rm -f core conftest.err conftest.
$ac_objext \
10634 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10638 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10641 ac_cv_search_pthread_mutexattr_init
=no
10643 rm conftest.
$ac_ext
10644 LIBS
=$ac_func_search_save_LIBS
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
10647 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
10648 ac_res
=$ac_cv_search_pthread_mutexattr_init
10649 if test "$ac_res" != no
; then :
10650 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10657 # Do we want to support release
10659 # Check whether --enable-releasemode was given.
10660 if test "${enable_releasemode+set}" = set; then :
10661 enableval
=$enable_releasemode;
10663 enable_releasemode
=no
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
10667 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
10668 if test "$enable_releasemode" = "no"; then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10671 $as_echo "no" >&6; }
10673 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10675 $as_echo "yes" >&6; }
10680 # Do we want temporary databases in memory
10682 # Check whether --enable-tempstore was given.
10683 if test "${enable_tempstore+set}" = set; then :
10684 enableval
=$enable_tempstore;
10686 enable_tempstore
=no
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
10690 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
10691 case "$enable_tempstore" in
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
10695 $as_echo "never" >&6; }
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10700 $as_echo "no" >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10705 $as_echo "yes" >&6; }
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
10710 $as_echo "always" >&6; }
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10715 $as_echo "no" >&6; }
10722 # Lots of things are different if we are compiling for Windows using
10723 # the CYGWIN environment. So check for that special case and handle
10724 # things accordingly.
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
10727 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
10728 if test "$config_BUILD_EXEEXT" = ".exe"; then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10731 $as_echo "yes" >&6; }
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
10734 $as_echo "unknown" >&6; }
10736 if test "$CYGWIN" != "yes"; then
10739 *cygwin
* ) CYGWIN
=yes;;
10744 if test "$CYGWIN" = "yes"; then
10747 BUILD_EXEEXT
=$EXEEXT
10749 if test x
"$cross_compiling" = xno
; then
10750 TARGET_EXEEXT
=$BUILD_EXEEXT
10752 TARGET_EXEEXT
=$config_TARGET_EXEEXT
10754 if test "$TARGET_EXEEXT" = ".exe"; then
10757 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
10761 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
10770 # Figure out all the parameters needed to compile against Tcl.
10772 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
10773 # macros in the in the tcl.m4 file of the standard TCL distribution.
10774 # Those macros could not be used directly since we have to make some
10775 # minor changes to accomodate systems that do not have TCL installed.
10777 # Check whether --enable-tcl was given.
10778 if test "${enable_tcl+set}" = set; then :
10779 enableval
=$enable_tcl; use_tcl
=$enableval
10784 if test "${use_tcl}" = "yes" ; then
10786 # Check whether --with-tcl was given.
10787 if test "${with_tcl+set}" = set; then :
10788 withval
=$with_tcl; with_tclconfig
=${withval}
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
10792 $as_echo_n "checking for Tcl configuration... " >&6; }
10793 if ${ac_cv_c_tclconfig+:} false
; then :
10794 $as_echo_n "(cached) " >&6
10797 # First check to see if --with-tcl was specified.
10798 if test x
"${with_tclconfig}" != x
; then
10799 if test -f "${with_tclconfig}/tclConfig.sh" ; then
10800 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
10802 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
10806 # Start autosearch by asking tclsh
10807 if test x
"${ac_cv_c_tclconfig}" = x
; then
10808 if test x
"$cross_compiling" = xno
; then
10809 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
10811 if test -f "$i/tclConfig.sh" ; then
10812 ac_cv_c_tclconfig
="$i"
10819 # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
10820 # So try again after applying corrections.
10821 if test x
"${ac_cv_c_tclconfig}" = x
; then
10822 if test x
"$cross_compiling" = xno
; then
10823 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
10825 if test -f "$i/tclConfig.sh" ; then
10826 ac_cv_c_tclconfig
="$i"
10833 # Recent versions of Xcode on Macs hid the tclConfig.sh file
10834 # in a strange place.
10835 if test x
"${ac_cv_c_tclconfig}" = x
; then
10836 if test x
"$cross_compiling" = xno
; then
10837 for i
in /Applications
/Xcode.app
/Contents
/Developer
/Platforms
/MacOSX.platform
/Developer
/SDKs
/MacOSX
*.sdk
/usr
/lib
10839 if test -f "$i/tclConfig.sh" ; then
10840 ac_cv_c_tclconfig
="$i"
10847 # then check for a private Tcl installation
10848 if test x
"${ac_cv_c_tclconfig}" = x
; then
10851 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10852 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
10853 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
10855 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10856 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
10857 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
10859 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10860 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
10861 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
10863 if test -f "$i/unix/tclConfig.sh" ; then
10864 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10870 # check in a few common install locations
10871 if test x
"${ac_cv_c_tclconfig}" = x
; then
10873 `ls -d ${libdir} 2>/dev/null` \
10874 `ls -d /usr/local/lib 2>/dev/null` \
10875 `ls -d /usr/contrib/lib 2>/dev/null` \
10876 `ls -d /usr/lib 2>/dev/null`
10878 if test -f "$i/tclConfig.sh" ; then
10879 ac_cv_c_tclconfig
=`(cd $i; pwd)`
10885 # check in a few other private locations
10886 if test x
"${ac_cv_c_tclconfig}" = x
; then
10889 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10890 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
10891 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
10893 if test -f "$i/unix/tclConfig.sh" ; then
10894 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10903 if test x
"${ac_cv_c_tclconfig}" = x
; then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
10906 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
10908 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
10910 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
10912 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
10914 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
10917 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
10918 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
10920 $as_echo "loading" >&6; }
10921 .
$TCL_BIN_DIR/tclConfig.sh
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
10924 $as_echo "file not found" >&6; }
10928 # If the TCL_BIN_DIR is the build directory (not the install directory),
10929 # then set the common variable name to the value of the build variables.
10930 # For example, the variable TCL_LIB_SPEC will be set to the value
10931 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
10932 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
10933 # installed and uninstalled version of Tcl.
10936 if test -f $TCL_BIN_DIR/Makefile
; then
10937 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
10938 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
10939 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
10943 # eval is required to do the TCL_DBGX substitution
10946 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
10947 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
10948 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
10950 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
10951 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
10952 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
10969 if test "${use_tcl}" = "no" ; then
10977 # Figure out what C libraries are required to compile programs
10978 # that use "readline()" library.
10980 TARGET_READLINE_LIBS
=""
10981 TARGET_READLINE_INC
=""
10982 TARGET_HAVE_READLINE
=0
10983 TARGET_HAVE_EDITLINE
=0
10984 # Check whether --enable-editline was given.
10985 if test "${enable_editline+set}" = set; then :
10986 enableval
=$enable_editline; with_editline
=$enableval
10991 # Check whether --enable-readline was given.
10992 if test "${enable_readline+set}" = set; then :
10993 enableval
=$enable_readline; with_readline
=$enableval
10999 if test x
"$with_editline" != xno
; then
11002 TARGET_HAVE_EDITLINE
=1
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
11004 $as_echo_n "checking for library containing readline... " >&6; }
11005 if ${ac_cv_search_readline+:} false
; then :
11006 $as_echo_n "(cached) " >&6
11008 ac_func_search_save_LIBS
=$LIBS
11009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11022 return readline ();
11027 for ac_lib
in '' edit
; do
11028 if test -z "$ac_lib"; then
11029 ac_res
="none required"
11032 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11034 if ac_fn_c_try_link
"$LINENO"; then :
11035 ac_cv_search_readline
=$ac_res
11037 rm -f core conftest.err conftest.
$ac_objext \
11039 if ${ac_cv_search_readline+:} false
; then :
11043 if ${ac_cv_search_readline+:} false
; then :
11046 ac_cv_search_readline
=no
11048 rm conftest.
$ac_ext
11049 LIBS
=$ac_func_search_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
11052 $as_echo "$ac_cv_search_readline" >&6; }
11053 ac_res
=$ac_cv_search_readline
11054 if test "$ac_res" != no
; then :
11055 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11058 TARGET_HAVE_EDITLINE
=0
11061 TARGET_READLINE_LIBS
=$LIBS
11064 if test x
"$with_readline" != xno
; then
11068 # Check whether --with-readline-lib was given.
11069 if test "${with_readline_lib+set}" = set; then :
11070 withval
=$with_readline_lib; with_readline_lib
=$withval
11072 with_readline_lib
="auto"
11075 if test "x$with_readline_lib" = xauto
; then
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
11079 $as_echo_n "checking for library containing tgetent... " >&6; }
11080 if ${ac_cv_search_tgetent+:} false
; then :
11081 $as_echo_n "(cached) " >&6
11083 ac_func_search_save_LIBS
=$LIBS
11084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h. */
11087 /* Override any GCC internal prototype to avoid an error.
11088 Use char because int might match the return type of a GCC
11089 builtin and then its argument prototype would still apply. */
11102 for ac_lib
in '' readline ncurses curses termcap
; do
11103 if test -z "$ac_lib"; then
11104 ac_res
="none required"
11107 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11109 if ac_fn_c_try_link
"$LINENO"; then :
11110 ac_cv_search_tgetent
=$ac_res
11112 rm -f core conftest.err conftest.
$ac_objext \
11114 if ${ac_cv_search_tgetent+:} false
; then :
11118 if ${ac_cv_search_tgetent+:} false
; then :
11121 ac_cv_search_tgetent
=no
11123 rm conftest.
$ac_ext
11124 LIBS
=$ac_func_search_save_LIBS
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
11127 $as_echo "$ac_cv_search_tgetent" >&6; }
11128 ac_res
=$ac_cv_search_tgetent
11129 if test "$ac_res" != no
; then :
11130 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
11137 $as_echo_n "checking for readline in -lreadline... " >&6; }
11138 if ${ac_cv_lib_readline_readline+:} false
; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_lib_save_LIBS
=$LIBS
11142 LIBS
="-lreadline $LIBS"
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11156 return readline ();
11161 if ac_fn_c_try_link
"$LINENO"; then :
11162 ac_cv_lib_readline_readline
=yes
11164 ac_cv_lib_readline_readline
=no
11166 rm -f core conftest.err conftest.
$ac_objext \
11167 conftest
$ac_exeext conftest.
$ac_ext
11168 LIBS
=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
11171 $as_echo "$ac_cv_lib_readline_readline" >&6; }
11172 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
11173 TARGET_READLINE_LIBS
="-lreadline"
11178 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
11181 TARGET_READLINE_LIBS
="$with_readline_lib"
11185 # Check whether --with-readline-inc was given.
11186 if test "${with_readline_inc+set}" = set; then :
11187 withval
=$with_readline_inc; with_readline_inc
=$withval
11189 with_readline_inc
="auto"
11192 if test "x$with_readline_inc" = xauto
; then
11193 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
11194 if test "x$ac_cv_header_readline_h" = xyes
; then :
11199 if test "$cross_compiling" != yes; then
11200 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
11201 for subdir
in include include
/readline
; do
11202 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
11204 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
11205 if eval \
${$as_ac_File+:} false
; then :
11206 $as_echo_n "(cached) " >&6
11208 test "$cross_compiling" = yes &&
11209 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
11210 if test -r "$dir/$subdir/readline.h"; then
11211 eval "$as_ac_File=yes"
11213 eval "$as_ac_File=no"
11216 eval ac_res
=\$
$as_ac_File
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11218 $as_echo "$ac_res" >&6; }
11219 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
11223 if test "$found" = "yes"; then
11224 TARGET_READLINE_INC
="-I$dir/$subdir"
11228 test "$found" = "yes" && break
11236 TARGET_READLINE_INC
="$with_readline_inc"
11239 if test x
"$found" = xno
; then
11240 TARGET_READLINE_LIBS
=""
11241 TARGET_READLINE_INC
=""
11242 TARGET_HAVE_READLINE
=0
11244 TARGET_HAVE_READLINE
=1
11254 # Figure out what C libraries are required to compile programs
11255 # that use "fdatasync()" function.
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
11258 $as_echo_n "checking for library containing fdatasync... " >&6; }
11259 if ${ac_cv_search_fdatasync+:} false
; then :
11260 $as_echo_n "(cached) " >&6
11262 ac_func_search_save_LIBS
=$LIBS
11263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11276 return fdatasync ();
11281 for ac_lib
in '' rt
; do
11282 if test -z "$ac_lib"; then
11283 ac_res
="none required"
11286 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11288 if ac_fn_c_try_link
"$LINENO"; then :
11289 ac_cv_search_fdatasync
=$ac_res
11291 rm -f core conftest.err conftest.
$ac_objext \
11293 if ${ac_cv_search_fdatasync+:} false
; then :
11297 if ${ac_cv_search_fdatasync+:} false
; then :
11300 ac_cv_search_fdatasync
=no
11302 rm conftest.
$ac_ext
11303 LIBS
=$ac_func_search_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
11306 $as_echo "$ac_cv_search_fdatasync" >&6; }
11307 ac_res
=$ac_cv_search_fdatasync
11308 if test "$ac_res" != no
; then :
11309 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11315 # check for debug enabled
11316 # Check whether --enable-debug was given.
11317 if test "${enable_debug+set}" = set; then :
11318 enableval
=$enable_debug;
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build type" >&5
11322 $as_echo_n "checking build type... " >&6; }
11323 if test "${enable_debug}" = "yes" ; then
11324 TARGET_DEBUG
="-DSQLITE_DEBUG=1 -DSQLITE_ENABLE_SELECTTRACE -DSQLITE_ENABLE_WHERETRACE -O0"
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: debug" >&5
11326 $as_echo "debug" >&6; }
11328 TARGET_DEBUG
="-DNDEBUG"
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release" >&5
11330 $as_echo "release" >&6; }
11335 # See whether we should use the amalgamation to build
11337 # Check whether --enable-amalgamation was given.
11338 if test "${enable_amalgamation+set}" = set; then :
11339 enableval
=$enable_amalgamation;
11342 if test "${enable_amalgamation}" = "no" ; then
11348 # Look for zlib. Only needed by extensions and by the sqlite3.exe shell
11349 for ac_header
in zlib.h
11351 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
11352 if test "x$ac_cv_header_zlib_h" = xyes
; then :
11353 cat >>confdefs.h
<<_ACEOF
11354 #define HAVE_ZLIB_H 1
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5
11362 $as_echo_n "checking for library containing deflate... " >&6; }
11363 if ${ac_cv_search_deflate+:} false
; then :
11364 $as_echo_n "(cached) " >&6
11366 ac_func_search_save_LIBS
=$LIBS
11367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11385 for ac_lib
in '' z
; do
11386 if test -z "$ac_lib"; then
11387 ac_res
="none required"
11390 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11392 if ac_fn_c_try_link
"$LINENO"; then :
11393 ac_cv_search_deflate
=$ac_res
11395 rm -f core conftest.err conftest.
$ac_objext \
11397 if ${ac_cv_search_deflate+:} false
; then :
11401 if ${ac_cv_search_deflate+:} false
; then :
11404 ac_cv_search_deflate
=no
11406 rm conftest.
$ac_ext
11407 LIBS
=$ac_func_search_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5
11410 $as_echo "$ac_cv_search_deflate" >&6; }
11411 ac_res
=$ac_cv_search_deflate
11412 if test "$ac_res" != no
; then :
11413 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11414 HAVE_ZLIB
="-DSQLITE_HAVE_ZLIB=1"
11422 # See whether we should allow loadable extensions
11423 # Check whether --enable-load-extension was given.
11424 if test "${enable_load_extension+set}" = set; then :
11425 enableval
=$enable_load_extension;
11427 enable_load_extension
=yes
11430 if test "${enable_load_extension}" = "yes" ; then
11431 OPT_FEATURE_FLAGS
=""
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11433 $as_echo_n "checking for library containing dlopen... " >&6; }
11434 if ${ac_cv_search_dlopen+:} false
; then :
11435 $as_echo_n "(cached) " >&6
11437 ac_func_search_save_LIBS
=$LIBS
11438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11441 /* Override any GCC internal prototype to avoid an error.
11442 Use char because int might match the return type of a GCC
11443 builtin and then its argument prototype would still apply. */
11456 for ac_lib
in '' dl
; do
11457 if test -z "$ac_lib"; then
11458 ac_res
="none required"
11461 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11463 if ac_fn_c_try_link
"$LINENO"; then :
11464 ac_cv_search_dlopen
=$ac_res
11466 rm -f core conftest.err conftest.
$ac_objext \
11468 if ${ac_cv_search_dlopen+:} false
; then :
11472 if ${ac_cv_search_dlopen+:} false
; then :
11475 ac_cv_search_dlopen
=no
11477 rm conftest.
$ac_ext
11478 LIBS
=$ac_func_search_save_LIBS
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11481 $as_echo "$ac_cv_search_dlopen" >&6; }
11482 ac_res
=$ac_cv_search_dlopen
11483 if test "$ac_res" != no
; then :
11484 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11489 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
11493 # Do we want to support math functions
11495 # Check whether --enable-math was given.
11496 if test "${enable_math+set}" = set; then :
11497 enableval
=$enable_math;
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support math functions" >&5
11501 $as_echo_n "checking whether to support math functions... " >&6; }
11502 if test "$enable_math" = "no"; then
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11504 $as_echo "no" >&6; }
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11507 $as_echo "yes" >&6; }
11508 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MATH_FUNCTIONS"
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ceil" >&5
11510 $as_echo_n "checking for library containing ceil... " >&6; }
11511 if ${ac_cv_search_ceil+:} false
; then :
11512 $as_echo_n "(cached) " >&6
11514 ac_func_search_save_LIBS
=$LIBS
11515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11533 for ac_lib
in '' m
; do
11534 if test -z "$ac_lib"; then
11535 ac_res
="none required"
11538 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11540 if ac_fn_c_try_link
"$LINENO"; then :
11541 ac_cv_search_ceil
=$ac_res
11543 rm -f core conftest.err conftest.
$ac_objext \
11545 if ${ac_cv_search_ceil+:} false
; then :
11549 if ${ac_cv_search_ceil+:} false
; then :
11552 ac_cv_search_ceil
=no
11554 rm conftest.
$ac_ext
11555 LIBS
=$ac_func_search_save_LIBS
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ceil" >&5
11558 $as_echo "$ac_cv_search_ceil" >&6; }
11559 ac_res
=$ac_cv_search_ceil
11560 if test "$ac_res" != no
; then :
11561 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11568 # Do we want to support JSON functions
11570 # Check whether --enable-json was given.
11571 if test "${enable_json+set}" = set; then :
11572 enableval
=$enable_json;
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support JSON functions" >&5
11576 $as_echo_n "checking whether to support JSON functions... " >&6; }
11577 if test "$enable_json" = "no"; then
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11579 $as_echo "no" >&6; }
11580 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_OMIT_JSON"
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11583 $as_echo "yes" >&6; }
11587 # The --enable-all argument is short-hand to enable
11588 # multiple extensions.
11589 # Check whether --enable-all was given.
11590 if test "${enable_all+set}" = set; then :
11591 enableval
=$enable_all;
11596 # Do we want to support memsys3 and/or memsys5
11598 # Check whether --enable-memsys5 was given.
11599 if test "${enable_memsys5+set}" = set; then :
11600 enableval
=$enable_memsys5;
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS5" >&5
11604 $as_echo_n "checking whether to support MEMSYS5... " >&6; }
11605 if test "${enable_memsys5}" = "yes"; then
11606 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS5"
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11608 $as_echo "yes" >&6; }
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11611 $as_echo "no" >&6; }
11613 # Check whether --enable-memsys3 was given.
11614 if test "${enable_memsys3+set}" = set; then :
11615 enableval
=$enable_memsys3;
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS3" >&5
11619 $as_echo_n "checking whether to support MEMSYS3... " >&6; }
11620 if test "${enable_memsys3}" = "yes" -a "${enable_memsys5}" = "no"; then
11621 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS3"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11623 $as_echo "yes" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11630 # See whether we should enable Full Text Search extensions
11631 # Check whether --enable-fts3 was given.
11632 if test "${enable_fts3+set}" = set; then :
11633 enableval
=$enable_fts3;
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support FTS3" >&5
11637 $as_echo_n "checking whether to support FTS3... " >&6; }
11638 if test "${enable_fts3}" = "yes" ; then
11639 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS3"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11641 $as_echo "yes" >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11644 $as_echo "no" >&6; }
11646 # Check whether --enable-fts4 was given.
11647 if test "${enable_fts4+set}" = set; then :
11648 enableval
=$enable_fts4;
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support FTS4" >&5
11652 $as_echo_n "checking whether to support FTS4... " >&6; }
11653 if test "${enable_fts4}" = "yes" -o "${enable_all}" = "yes" ; then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11655 $as_echo "yes" >&6; }
11656 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS4"
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
11658 $as_echo_n "checking for library containing log... " >&6; }
11659 if ${ac_cv_search_log+:} false
; then :
11660 $as_echo_n "(cached) " >&6
11662 ac_func_search_save_LIBS
=$LIBS
11663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11666 /* Override any GCC internal prototype to avoid an error.
11667 Use char because int might match the return type of a GCC
11668 builtin and then its argument prototype would still apply. */
11681 for ac_lib
in '' m
; do
11682 if test -z "$ac_lib"; then
11683 ac_res
="none required"
11686 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11688 if ac_fn_c_try_link
"$LINENO"; then :
11689 ac_cv_search_log
=$ac_res
11691 rm -f core conftest.err conftest.
$ac_objext \
11693 if ${ac_cv_search_log+:} false
; then :
11697 if ${ac_cv_search_log+:} false
; then :
11700 ac_cv_search_log
=no
11702 rm conftest.
$ac_ext
11703 LIBS
=$ac_func_search_save_LIBS
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
11706 $as_echo "$ac_cv_search_log" >&6; }
11707 ac_res
=$ac_cv_search_log
11708 if test "$ac_res" != no
; then :
11709 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11715 $as_echo "no" >&6; }
11717 # Check whether --enable-fts5 was given.
11718 if test "${enable_fts5+set}" = set; then :
11719 enableval
=$enable_fts5;
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support FTS5" >&5
11723 $as_echo_n "checking whether to support FTS5... " >&6; }
11724 if test "${enable_fts5}" = "yes" -o "${enable_all}" = "yes" ; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11726 $as_echo "yes" >&6; }
11727 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS5"
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
11729 $as_echo_n "checking for library containing log... " >&6; }
11730 if ${ac_cv_search_log+:} false
; then :
11731 $as_echo_n "(cached) " >&6
11733 ac_func_search_save_LIBS
=$LIBS
11734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11752 for ac_lib
in '' m
; do
11753 if test -z "$ac_lib"; then
11754 ac_res
="none required"
11757 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11759 if ac_fn_c_try_link
"$LINENO"; then :
11760 ac_cv_search_log
=$ac_res
11762 rm -f core conftest.err conftest.
$ac_objext \
11764 if ${ac_cv_search_log+:} false
; then :
11768 if ${ac_cv_search_log+:} false
; then :
11771 ac_cv_search_log
=no
11773 rm conftest.
$ac_ext
11774 LIBS
=$ac_func_search_save_LIBS
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
11777 $as_echo "$ac_cv_search_log" >&6; }
11778 ac_res
=$ac_cv_search_log
11779 if test "$ac_res" != no
; then :
11780 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 $as_echo "no" >&6; }
11790 # See whether we should enable the LIMIT clause on UPDATE and DELETE
11792 # Check whether --enable-update-limit was given.
11793 if test "${enable_update_limit+set}" = set; then :
11794 enableval
=$enable_update_limit;
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support LIMIT on UPDATE and DELETE statements" >&5
11798 $as_echo_n "checking whether to support LIMIT on UPDATE and DELETE statements... " >&6; }
11799 if test "${enable_update_limit}" = "yes" ; then
11800 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT"
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11802 $as_echo "yes" >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11809 # See whether we should enable GEOPOLY
11810 # Check whether --enable-geopoly was given.
11811 if test "${enable_geopoly+set}" = set; then :
11812 enableval
=$enable_geopoly; enable_geopoly
=yes
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support GEOPOLY" >&5
11818 $as_echo_n "checking whether to support GEOPOLY... " >&6; }
11819 if test "${enable_geopoly}" = "yes" -o "${enable_all}" = "yes" ; then
11820 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_GEOPOLY"
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11823 $as_echo "yes" >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11826 $as_echo "no" >&6; }
11830 # See whether we should enable RTREE
11831 # Check whether --enable-rtree was given.
11832 if test "${enable_rtree+set}" = set; then :
11833 enableval
=$enable_rtree;
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support RTREE" >&5
11837 $as_echo_n "checking whether to support RTREE... " >&6; }
11838 if test "${enable_rtree}" = "yes" ; then
11839 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_RTREE"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11848 # See whether we should enable the SESSION extension
11849 # Check whether --enable-session was given.
11850 if test "${enable_session+set}" = set; then :
11851 enableval
=$enable_session;
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support SESSION" >&5
11855 $as_echo_n "checking whether to support SESSION... " >&6; }
11856 if test "${enable_session}" = "yes" -o "${enable_all}" = "yes" ; then
11857 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_SESSION"
11858 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_PREUPDATE_HOOK"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11863 $as_echo "no" >&6; }
11867 # attempt to duplicate any OMITS and ENABLES into the ${OPT_FEATURE_FLAGS} parameter
11868 for option
in $CFLAGS $CPPFLAGS
11871 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11872 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11878 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
11880 for option
in $CFLAGS
11884 -DSQLITE_ENABLE*) ;;
11885 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
11888 CFLAGS
=$ac_temp_CFLAGS
11891 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
11892 ac_temp_CPPFLAGS
=""
11893 for option
in $CPPFLAGS
11897 -DSQLITE_ENABLE*) ;;
11898 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
11901 CPPFLAGS
=$ac_temp_CPPFLAGS
11904 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
11905 ac_temp_BUILD_CFLAGS
=""
11906 for option
in $BUILD_CFLAGS
11910 -DSQLITE_ENABLE*) ;;
11911 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
11914 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
11918 # See whether we should use GCOV
11919 # Check whether --enable-gcov was given.
11920 if test "${enable_gcov+set}" = set; then :
11921 enableval
=$enable_gcov;
11924 if test "${use_gcov}" = "yes" ; then
11932 # Enable/disabled amalagamation line macros
11934 AMALGAMATION_LINE_MACROS
=--linemacros=0
11935 if test "${amalgamation_line_macros}" = "yes" ; then
11936 AMALGAMATION_LINE_MACROS
=--linemacros=1
11938 if test "${amalgamation_line_macros}" = "no" ; then
11939 AMALGAMATION_LINE_MACROS
=--linemacros=0
11944 # Output the config header
11945 ac_config_headers
="$ac_config_headers sqlite_cfg.h"
11949 # Generate the output files.
11952 ac_config_files
="$ac_config_files Makefile sqlite3.pc"
11954 cat >confcache
<<\_ACEOF
11955 # This file is a shell script that caches the results of configure
11956 # tests run on this system so they can be shared between configure
11957 # scripts and configure runs, see configure's option --config-cache.
11958 # It is not useful on other systems. If it contains results you don't
11959 # want to keep, you may remove or edit it.
11961 # config.status only pays attention to the cache file if you give it
11962 # the --recheck option to rerun configure.
11964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11966 # following values.
11970 # The following way of writing the cache mishandles newlines in values,
11971 # but we know of no workaround that is simple, portable, and efficient.
11972 # So, we kill variables containing newlines.
11973 # Ultrix sh set writes to stderr and can't be redirected directly,
11974 # and sets the high bit in the cache file unless we assign to the vars.
11976 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11977 eval ac_val
=\$
$ac_var
11981 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11985 _ | IFS | as_nl
) ;; #(
11986 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11987 *) { eval $ac_var=; unset $ac_var;} ;;
11993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11994 *${as_nl}ac_space
=\
*)
11995 # `set' does not quote correctly, so add quotes: double-quote
11996 # substitution turns \\\\ into \\, and sed turns \\ into \.
11999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12002 # `set' quotes correctly as required by POSIX, so do not add quotes.
12003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12016 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12017 if test -w "$cache_file"; then
12018 if test "x$cache_file" != "x/dev/null"; then
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12020 $as_echo "$as_me: updating cache $cache_file" >&6;}
12021 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12022 cat confcache
>"$cache_file"
12024 case $cache_file in #(
12026 mv -f confcache
"$cache_file"$$
&&
12027 mv -f "$cache_file"$$
"$cache_file" ;; #(
12029 mv -f confcache
"$cache_file" ;;
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12035 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12040 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12041 # Let make expand exec_prefix.
12042 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12044 DEFS
=-DHAVE_CONFIG_H
12049 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12050 # 1. Remove the extension, and $U if already installed.
12051 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12052 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12053 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12054 # will be set to the directory where LIBOBJS objects are built.
12055 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12056 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12058 LIBOBJS
=$ac_libobjs
12060 LTLIBOBJS
=$ac_ltlibobjs
12064 : "${CONFIG_STATUS=./config.status}"
12066 ac_clean_files_save
=$ac_clean_files
12067 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12071 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12073 # Generated by $as_me.
12074 # Run this file to recreate the current configuration.
12075 # Compiler output produced by configure, useful for debugging
12076 # configure, is in config.log if it exists.
12079 ac_cs_recheck=false
12082 SHELL=\${CONFIG_SHELL-$SHELL}
12085 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12086 ## -------------------- ##
12087 ## M4sh Initialization. ##
12088 ## -------------------- ##
12090 # Be more Bourne compatible
12091 DUALCASE
=1; export DUALCASE
# for MKS sh
12092 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12095 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12096 # is contrary to our usage. Disable this feature.
12097 alias -g '${1+"$@"}'='"$@"'
12098 setopt NO_GLOB_SUBST
12100 case `(set -o) 2>/dev/null` in #(
12112 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12113 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12116 # Prefer a ksh shell builtin over an external printf program on Solaris,
12117 # but without wasting forks for bash or zsh.
12118 if test -z "$BASH_VERSION$ZSH_VERSION" \
12119 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12120 as_echo='print
-r --'
12121 as_echo_n='print
-rn --'
12122 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12123 as_echo='printf %s
\n'
12124 as_echo_n='printf %s
'
12126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12127 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12128 as_echo_n='/usr
/ucb
/echo -n'
12130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12131 as_echo_n_body='eval
12135 expr "X$arg" : "X\\(.*\\)$as_nl";
12136 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12138 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12140 export as_echo_n_body
12141 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12143 export as_echo_body
12144 as_echo='sh
-c $as_echo_body as_echo
'
12147 # The user is always right.
12148 if test "${PATH_SEPARATOR+set}" != set; then
12150 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12151 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12158 # We need space, tab and new line, in precisely that order. Quoting is
12159 # there to prevent editors from complaining about space-tab.
12160 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12161 # splitting by setting IFS to empty value.)
12164 # Find who we are. Look in the path if we contain no directory separator.
12167 *[\\/]* ) as_myself=$0 ;;
12168 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12169 for as_dir in $PATH
12172 test -z "$as_dir" && as_dir=.
12173 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12179 # We did not find ourselves, most probably we were run as `sh COMMAND'
12180 # in which case we are not to be found in the path.
12181 if test "x$as_myself" = x
; then
12184 if test ! -f "$as_myself"; then
12185 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12189 # Unset variables that we do not need and which cause bugs (e.g. in
12190 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12191 # suppresses any "Segmentation fault" message there. '((' could
12192 # trigger a bug in pdksh 5.2.14.
12193 for as_var
in BASH_ENV ENV MAIL MAILPATH
12194 do eval test x\
${$as_var+set} = xset \
12195 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12208 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12211 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12212 # ----------------------------------------
12213 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12214 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12215 # script with STATUS, using 1 if that was 0.
12218 as_status
=$1; test $as_status -eq 0 && as_status
=1
12220 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12221 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12223 $as_echo "$as_me: error: $2" >&2
12224 as_fn_exit
$as_status
12228 # as_fn_set_status STATUS
12229 # -----------------------
12230 # Set $? to STATUS, without forking.
12231 as_fn_set_status
()
12234 } # as_fn_set_status
12236 # as_fn_exit STATUS
12237 # -----------------
12238 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12242 as_fn_set_status
$1
12248 # Portably unset VAR.
12251 { eval $1=; unset $1;}
12253 as_unset
=as_fn_unset
12254 # as_fn_append VAR VALUE
12255 # ----------------------
12256 # Append the text in VALUE to the end of the definition contained in VAR. Take
12257 # advantage of any shell optimizations that allow amortized linear growth over
12258 # repeated appends, instead of the typical quadratic growth present in naive
12260 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12261 eval 'as_fn_append ()
12272 # as_fn_arith ARG...
12273 # ------------------
12274 # Perform arithmetic evaluation on the ARGs, and store the result in the
12275 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12276 # must be portable across $(()) and expr.
12277 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12278 eval 'as_fn_arith ()
12285 as_val
=`expr "$@" || test $? -eq 1`
12290 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12291 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12297 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12298 as_basename
=basename
12303 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12309 as_me
=`$as_basename -- "$0" ||
12310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12311 X"$0" : 'X\(//\)$' \| \
12312 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12314 sed '/^.*\/\([^/][^/]*\)\/*$/{
12328 # Avoid depending upon Character Ranges.
12329 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12330 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12331 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12332 as_cr_digits
='0123456789'
12333 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12335 ECHO_C
= ECHO_N
= ECHO_T
=
12336 case `echo -n x` in #(((((
12338 case `echo 'xy\c'` in
12339 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12341 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12348 rm -f conf$$ conf$$.exe conf$$.
file
12349 if test -d conf$$.dir
; then
12350 rm -f conf$$.dir
/conf$$.
file
12353 mkdir conf$$.dir
2>/dev
/null
12355 if (echo >conf$$.
file) 2>/dev
/null
; then
12356 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12358 # ... but there are two gotchas:
12359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12361 # In both cases, we have to default to `cp -pR'.
12362 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12364 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12372 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12373 rmdir conf$$.dir
2>/dev
/null
12378 # Create "$as_dir" as a directory, including parents if necessary.
12383 -*) as_dir
=.
/$as_dir;;
12385 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12389 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12390 *) as_qdir
=$as_dir;;
12392 as_dirs
="'$as_qdir' $as_dirs"
12393 as_dir
=`$as_dirname -- "$as_dir" ||
12394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12395 X"$as_dir" : 'X\(//\)[^/]' \| \
12396 X"$as_dir" : 'X\(//\)$' \| \
12397 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12398 $as_echo X"$as_dir" |
12399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12403 /^X\(\/\/\)[^/].*/{
12416 test -d "$as_dir" && break
12418 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12419 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12423 if mkdir
-p .
2>/dev
/null
; then
12424 as_mkdir_p
='mkdir -p "$as_dir"'
12426 test -d .
/-p && rmdir .
/-p
12431 # as_fn_executable_p FILE
12432 # -----------------------
12433 # Test if FILE is an executable regular file.
12434 as_fn_executable_p
()
12436 test -f "$1" && test -x "$1"
12437 } # as_fn_executable_p
12438 as_test_x
='test -x'
12439 as_executable_p
=as_fn_executable_p
12441 # Sed expression to map a string onto a valid CPP name.
12442 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12444 # Sed expression to map a string onto a valid variable name.
12445 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12449 ## ----------------------------------- ##
12450 ## Main body of $CONFIG_STATUS script. ##
12451 ## ----------------------------------- ##
12453 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12456 # Save the log message, to keep $0 and so on meaningful, and to
12457 # report actual input values of CONFIG_FILES etc. instead of their
12458 # values after options handling.
12460 This file was extended by sqlite $as_me 3.43.2, which was
12461 generated by GNU Autoconf 2.69. Invocation command line was
12463 CONFIG_FILES = $CONFIG_FILES
12464 CONFIG_HEADERS = $CONFIG_HEADERS
12465 CONFIG_LINKS = $CONFIG_LINKS
12466 CONFIG_COMMANDS = $CONFIG_COMMANDS
12469 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12474 case $ac_config_files in *"
12475 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12478 case $ac_config_headers in *"
12479 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12484 # Files that config.status was made for.
12485 config_files="$ac_config_files"
12486 config_headers="$ac_config_headers"
12487 config_commands="$ac_config_commands"
12491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12493 \`$as_me' instantiates files and other configuration actions
12494 from templates according to the current configuration. Unless the files
12495 and actions are specified as TAGs, all are instantiated by default.
12497 Usage: $0 [OPTION]... [TAG]...
12499 -h, --help print this help, then exit
12500 -V, --version print version number and configuration settings, then exit
12501 --config print configuration, then exit
12502 -q, --quiet, --silent
12503 do not print progress messages
12504 -d, --debug don't remove temporary files
12505 --recheck update $as_me by reconfiguring in the same conditions
12506 --file=FILE[:TEMPLATE]
12507 instantiate the configuration file FILE
12508 --header=FILE[:TEMPLATE]
12509 instantiate the configuration header FILE
12511 Configuration files:
12514 Configuration headers:
12517 Configuration commands:
12520 Report bugs to the package provider."
12523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12524 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12526 sqlite config.status 3.43.2
12527 configured by $0, generated by GNU Autoconf 2.69,
12528 with options \\"\$ac_cs_config\\"
12530 Copyright (C) 2012 Free Software Foundation, Inc.
12531 This config.status script is free software; the Free Software Foundation
12532 gives unlimited permission to copy, distribute and modify it."
12537 test -n "\$AWK" || AWK=awk
12540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12541 # The default lists apply if the user does not specify any file.
12547 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12548 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12552 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12564 # Handling of the options.
12565 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12567 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12568 $as_echo "$ac_cs_version"; exit ;;
12569 --config |
--confi |
--conf |
--con |
--co |
--c )
12570 $as_echo "$ac_cs_config"; exit ;;
12571 --debug |
--debu |
--deb |
--de |
--d |
-d )
12573 --file |
--fil |
--fi |
--f )
12576 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12577 '') as_fn_error $?
"missing file argument" ;;
12579 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12580 ac_need_defaults
=false
;;
12581 --header |
--heade |
--head |
--hea )
12584 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12586 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12587 ac_need_defaults
=false
;;
12589 # Conflict between --help and --header
12590 as_fn_error $?
"ambiguous option: \`$1'
12591 Try \`$0 --help' for more information.";;
12592 --help |
--hel |
-h )
12593 $as_echo "$ac_cs_usage"; exit ;;
12594 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12595 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12598 # This is an error.
12599 -*) as_fn_error $?
"unrecognized option: \`$1'
12600 Try \`$0 --help' for more information." ;;
12602 *) as_fn_append ac_config_targets
" $1"
12603 ac_need_defaults
=false
;;
12609 ac_configure_extra_args
=
12611 if $ac_cs_silent; then
12613 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12618 if \$ac_cs_recheck; then
12619 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12622 CONFIG_SHELL='$SHELL'
12623 export CONFIG_SHELL
12628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12633 ## Running $as_me. ##
12639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12645 # The HP-UX ksh and POSIX shell print the target directory to stdout
12646 # if CDPATH is set.
12647 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12649 sed_quote_subst='$sed_quote_subst'
12650 double_quote_subst='$double_quote_subst'
12651 delay_variable_subst='$delay_variable_subst'
12652 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12653 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12654 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12655 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12656 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12657 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12658 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12659 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12660 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12661 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12662 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12663 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12664 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12665 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12666 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12667 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12668 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12669 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12670 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12671 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12672 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12673 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12674 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12675 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12676 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12677 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12678 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12679 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12680 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12681 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12682 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12683 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12684 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12685 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12686 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12687 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12688 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12689 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12690 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12691 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12692 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12693 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12694 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12695 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12696 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12697 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12698 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12699 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12700 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12701 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12702 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12703 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12704 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12705 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12706 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12707 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12708 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12709 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12710 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12711 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12712 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12713 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12714 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12715 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12716 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12717 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12718 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12719 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12720 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12721 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12722 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12723 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12724 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12725 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12726 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12727 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12728 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12729 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12730 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12731 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12732 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12733 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12734 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12735 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12736 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12737 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12738 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12739 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12740 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12741 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12742 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12743 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12744 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12745 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12746 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12747 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12748 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12749 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12750 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12751 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12752 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12753 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12754 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12755 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12756 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12757 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12758 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12759 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12760 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12761 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12762 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12763 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12764 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12765 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12766 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12767 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12768 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12769 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12772 LTCFLAGS='$LTCFLAGS'
12773 compiler='$compiler_DEFAULT'
12775 # Quote evaled strings.
12787 deplibs_check_method \
12796 lt_cv_sys_global_symbol_pipe \
12797 lt_cv_sys_global_symbol_to_cdecl \
12798 lt_cv_sys_global_symbol_to_c_name_address \
12799 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12802 lt_prog_compiler_no_builtin_flag \
12803 lt_prog_compiler_wl \
12804 lt_prog_compiler_pic \
12805 lt_prog_compiler_static \
12806 lt_cv_prog_compiler_c_o \
12814 export_dynamic_flag_spec \
12815 whole_archive_flag_spec \
12816 compiler_needs_object \
12818 allow_undefined_flag \
12819 no_undefined_flag \
12820 hardcode_libdir_flag_spec \
12821 hardcode_libdir_flag_spec_ld \
12822 hardcode_libdir_separator \
12827 variables_saved_for_relink \
12829 library_names_spec \
12834 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12835 *[\\\\\\\`\\"\\\$]*)
12836 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12839 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12844 # Double-quote double-evaled strings.
12845 for var in reload_cmds \
12846 old_postinstall_cmds \
12847 old_postuninstall_cmds \
12849 extract_expsyms_cmds \
12850 old_archive_from_new_cmds \
12851 old_archive_from_expsyms_cmds \
12853 archive_expsym_cmds \
12855 module_expsym_cmds \
12856 export_symbols_cmds \
12859 postuninstall_cmds \
12861 sys_lib_search_path_spec \
12862 sys_lib_dlsearch_path_spec; do
12863 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12864 *[\\\\\\\`\\"\\\$]*)
12865 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12868 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12873 # Fix-up fallback echo if it was mangled by the above quoting rules.
12875 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12879 ac_aux_dir='$ac_aux_dir'
12880 xsi_shell='$xsi_shell'
12881 lt_shell_append='$lt_shell_append'
12883 # See if we are running on zsh, and set the options which allow our
12884 # commands through without removal of \ escapes INIT.
12885 if test -n "\${ZSH_VERSION+set}" ; then
12886 setopt NO_GLOB_SUBST
12892 TIMESTAMP='$TIMESTAMP'
12901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12903 # Handling of arguments.
12904 for ac_config_target
in $ac_config_targets
12906 case $ac_config_target in
12907 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12908 "sqlite_cfg.h") CONFIG_HEADERS
="$CONFIG_HEADERS sqlite_cfg.h" ;;
12909 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12910 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
12912 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12917 # If the user did not use the arguments to specify the items to instantiate,
12918 # then the envvar interface is used. Set only those that are not.
12919 # We use the long form for the default assignment because of an extremely
12920 # bizarre bug on SunOS 4.1.3.
12921 if $ac_need_defaults; then
12922 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12923 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12924 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12927 # Have a temporary directory for convenience. Make it in the build tree
12928 # simply because there is no reason against having it here, and in addition,
12929 # creating and moving files from /tmp can sometimes cause problems.
12930 # Hook for its removal unless debugging.
12931 # Note that there is a small window in which the directory will not be cleaned:
12932 # after its creation but before its name has been assigned to `$tmp'.
12936 trap 'exit_status=$?
12937 : "${ac_tmp:=$tmp}"
12938 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12940 trap 'as_fn_exit 1' 1 2 13 15
12942 # Create a (secure) tmp directory for tmp files.
12945 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12949 tmp
=.
/conf$$
-$RANDOM
12950 (umask 077 && mkdir
"$tmp")
12951 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12954 # Set up the scripts for CONFIG_FILES section.
12955 # No need to generate them if there are no CONFIG_FILES.
12956 # This happens for instance with `./config.status config.h'.
12957 if test -n "$CONFIG_FILES"; then
12960 ac_cr
=`echo X | tr X '\015'`
12961 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12962 # But we know of no other shell where ac_cr would be empty at this
12963 # point, so we can use a bashism as a fallback.
12964 if test "x$ac_cr" = x
; then
12965 eval ac_cr
=\$
\'\\r
\'
12967 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12968 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12971 ac_cs_awk_cr
=$ac_cr
12974 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12979 echo "cat >conf$$subs.awk <<_ACEOF" &&
12980 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12982 } >conf$$subs.sh ||
12983 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12984 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12986 for ac_last_try in false false false false false :; do
12987 . ./conf$$subs.sh ||
12988 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12990 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12991 if test $ac_delim_n = $ac_delim_num; then
12993 elif $ac_last_try; then
12994 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12996 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12999 rm -f conf$$subs.sh
13001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13002 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13006 s/^/S["/; s
/!.
*/"]=/
13016 s/\(.\{148\}\)..*/\1/
13018 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13023 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13030 s/\(.\{148\}\)..*/\1/
13032 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13036 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13041 ' <conf$$subs.awk | sed '
13046 ' >>$CONFIG_STATUS || ac_write_fail=1
13047 rm -f conf$$subs.awk
13048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13050 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13051 for (key in S) S_is_set[key] = 1
13057 nfields = split(line, field, "@
")
13059 len = length(field[1])
13060 for (i = 2; i < nfields; i++) {
13062 keylen = length(key)
13063 if (S_is_set[key]) {
13065 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13066 len += length(value) + length(field[++i])
13077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13078 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13079 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13082 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13083 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13086 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13087 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13088 # trailing colons and then remove the whole line if VPATH becomes empty
13089 # (actually we leave an empty line to preserve line numbers).
13090 if test "x
$srcdir" = x.; then
13091 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13110 fi # test -n "$CONFIG_FILES"
13112 # Set up the scripts for CONFIG_HEADERS section.
13113 # No need to generate them if there are no CONFIG_HEADERS.
13114 # This happens for instance with `./config.status Makefile'.
13115 if test -n "$CONFIG_HEADERS"; then
13116 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13120 # Transform confdefs.h into an awk script `defines.awk', embedded as
13121 # here-document in config.status, that substitutes the proper values into
13122 # config.h.in to produce config.h.
13124 # Create a delimiter string that does not exist in confdefs.h, to ease
13125 # handling of long lines.
13127 for ac_last_try in false false :; do
13128 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13129 if test -z "$ac_tt"; then
13131 elif $ac_last_try; then
13132 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13134 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13138 # For the awk script, D is an array of macro values keyed by name,
13139 # likewise P contains macro parameters if any. Preserve backslash
13140 # newline sequences.
13142 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13144 s/.\{148\}/&'"$ac_delim"'/g
13147 s/^[ ]*#[ ]*define[ ][ ]*/ /
13154 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13156 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13160 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13161 D["\
1"]=" \
3\\\\\\n
"\\/p
13163 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13168 s/.\{148\}/&'"$ac_delim"'/g
13173 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13176 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13178 ' <confdefs.h | sed '
13179 s/'"$ac_delim"'/"\\\
13180 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13183 for (key in D) D_is_set[key] = 1
13186 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13188 split(line, arg, " ")
13189 if (arg[1] == "#") {
13193 defundef
= substr
(arg
[1], 2)
13196 split(mac1
, mac2
, "(") #)
13198 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13199 if (D_is_set
[macro
]) {
13200 # Preserve the white space surrounding the "#".
13201 print prefix
"define", macro P
[macro
] D
[macro
]
13204 # Replace #undef with comments. This is necessary, for example,
13205 # in the case of _POSIX_SOURCE, which is predefined and required
13206 # on some systems where configure will not decide to define it.
13207 if (defundef
== "undef") {
13208 print
"/*", prefix defundef
, macro
, "*/"
13216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13217 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13218 fi # test -n "$CONFIG_HEADERS"
13221 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13226 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13228 case $ac_mode$ac_tag in
13230 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13231 :[FH
]-) ac_tag
=-:-;;
13232 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13249 -) ac_f
="$ac_tmp/stdin";;
13250 *) # Look for the file first in the build tree, then in the source tree
13251 # (if the path is not absolute). The absolute path cannot be DOS-style,
13252 # because $ac_f cannot contain `:'.
13256 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13258 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13260 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13261 as_fn_append ac_file_inputs
" '$ac_f'"
13264 # Let's still pretend it is `configure' which instantiates (i.e., don't
13265 # use $as_me), people would be surprised to read:
13266 # /* config.h. Generated by config.status. */
13267 configure_input
='Generated from '`
13268 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13270 if test x
"$ac_file" != x-
; then
13271 configure_input
="$ac_file. $configure_input"
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13273 $as_echo "$as_me: creating $ac_file" >&6;}
13275 # Neutralize special characters interpreted by sed in replacement strings.
13276 case $configure_input in #(
13277 *\
&* |
*\|
* |
*\\* )
13278 ac_sed_conf_input
=`$as_echo "$configure_input" |
13279 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13280 *) ac_sed_conf_input
=$configure_input;;
13284 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13285 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13290 ac_dir
=`$as_dirname -- "$ac_file" ||
13291 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13292 X"$ac_file" : 'X\(//\)[^/]' \| \
13293 X"$ac_file" : 'X\(//\)$' \| \
13294 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13295 $as_echo X"$ac_file" |
13296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13300 /^X\(\/\/\)[^/].*/{
13313 as_dir
="$ac_dir"; as_fn_mkdir_p
13317 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13319 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13320 # A ".." for each directory in $ac_dir_suffix.
13321 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13322 case $ac_top_builddir_sub in
13323 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13324 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13327 ac_abs_top_builddir
=$ac_pwd
13328 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13329 # for backward compatibility:
13330 ac_top_builddir
=$ac_top_build_prefix
13333 .
) # We are building in place.
13335 ac_top_srcdir
=$ac_top_builddir_sub
13336 ac_abs_top_srcdir
=$ac_pwd ;;
13337 [\\/]* | ?
:[\\/]* ) # Absolute name.
13338 ac_srcdir
=$srcdir$ac_dir_suffix;
13339 ac_top_srcdir
=$srcdir
13340 ac_abs_top_srcdir
=$srcdir ;;
13341 *) # Relative name.
13342 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13343 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13344 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13346 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13356 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13357 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13362 # If the template does not know about datarootdir, expand it.
13363 # FIXME: This hack should be removed a few years after 2.60.
13364 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13375 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13376 *datarootdir
*) ac_datarootdir_seen
=yes;;
13377 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13379 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13382 ac_datarootdir_hack='
13383 s&@datadir@&$datadir&g
13384 s&@docdir@&$docdir&g
13385 s&@infodir@&$infodir&g
13386 s&@localedir@&$localedir&g
13387 s&@mandir@&$mandir&g
13388 s&\\\${datarootdir}&$datarootdir&g' ;;
13392 # Neutralize VPATH when `$srcdir' = `.'.
13393 # Shell code in configure.ac might set extrasub.
13394 # FIXME: do we really want to maintain this feature?
13395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13396 ac_sed_extra="$ac_vpsub
13399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13401 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13402 s|@configure_input@|
$ac_sed_conf_input|
;t t
13403 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13404 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13405 s
&@srcdir@
&$ac_srcdir&;t t
13406 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13407 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13408 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13409 s
&@builddir@
&$ac_builddir&;t t
13410 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13411 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13412 s
&@INSTALL@
&$ac_INSTALL&;t t
13413 $ac_datarootdir_hack
13415 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13416 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13418 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13419 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13420 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13421 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13423 which seems to be undefined. Please make sure it is defined" >&5
13424 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13425 which seems to be undefined. Please make sure it is defined" >&2;}
13427 rm -f "$ac_tmp/stdin"
13429 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13430 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13432 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13438 if test x"$ac_file" != x-; then
13440 $as_echo "/* $configure_input */" \
13441 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13442 } >"$ac_tmp/config.h" \
13443 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13444 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13446 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13449 mv "$ac_tmp/config.h" "$ac_file" \
13450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13453 $as_echo "/* $configure_input */" \
13454 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13455 || as_fn_error $? "could not create -" "$LINENO" 5
13459 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13460 $as_echo "$as_me: executing $ac_file commands" >&6;}
13465 case $ac_file$ac_mode in
13468 # See if we are running on zsh, and set the options which allow our
13469 # commands through without removal of \ escapes.
13470 if test -n "${ZSH_VERSION+set}" ; then
13471 setopt NO_GLOB_SUBST
13474 cfgfile="${ofile}T"
13475 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13478 cat <<_LT_EOF >> "$cfgfile"
13481 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
13482 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13483 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13484 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13486 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13487 # 2006, 2007, 2008 Free Software Foundation, Inc.
13488 # Written by Gordon Matzigkeit, 1996
13490 # This file is part of GNU Libtool.
13492 # GNU Libtool is free software; you can redistribute it and/or
13493 # modify it under the terms of the GNU General Public License as
13494 # published by the Free Software Foundation; either version 2 of
13495 # the License, or (at your option) any later version.
13497 # As a special exception to the GNU General Public License,
13498 # if you distribute this file as part of a program or library that
13499 # is built using GNU Libtool, you may include this file under the
13500 # same distribution terms that you use for the rest of that program.
13502 # GNU Libtool is distributed in the hope that it will be useful,
13503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13505 # GNU General Public License for more details.
13507 # You should have received a copy of the GNU General Public License
13508 # along with GNU Libtool; see the file COPYING. If not, a copy
13509 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13510 # obtained by writing to the Free Software Foundation, Inc.,
13511 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13514 # The names of the tagged configurations supported by this script.
13517 # ### BEGIN LIBTOOL CONFIG
13519 # Which release of libtool.m4 was used?
13520 macro_version=$macro_version
13521 macro_revision=$macro_revision
13523 # Whether or not to build shared libraries.
13524 build_libtool_libs=$enable_shared
13526 # Whether or not to build static libraries.
13527 build_old_libs=$enable_static
13529 # What type of objects to build.
13532 # Whether or not to optimize for fast installation.
13533 fast_install=$enable_fast_install
13536 host_alias=$host_alias
13540 # The build system.
13541 build_alias=$build_alias
13545 # A sed program that does not truncate output.
13548 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13549 Xsed="\$SED -e 1s/^X//"
13551 # A grep program that handles long lines.
13557 # A literal string matcher.
13560 # A BSD- or MS-compatible name lister.
13563 # Whether we need soft or hard links.
13566 # What is the maximum length of a command?
13567 max_cmd_len=$max_cmd_len
13569 # Object file suffix (normally "o").
13572 # Executable file suffix (normally "").
13575 # whether the shell understands "unset".
13578 # turn spaces into newlines.
13581 # turn newlines into spaces.
13584 # How to create reloadable object files.
13585 reload_flag=$lt_reload_flag
13586 reload_cmds=$lt_reload_cmds
13588 # An object symbol dumper.
13589 OBJDUMP=$lt_OBJDUMP
13591 # Method to check whether dependent libraries are shared objects.
13592 deplibs_check_method=$lt_deplibs_check_method
13594 # Command to use when deplibs_check_method == "file_magic".
13595 file_magic_cmd=$lt_file_magic_cmd
13599 AR_FLAGS=$lt_AR_FLAGS
13601 # A symbol stripping program.
13604 # Commands used to install an old-style archive.
13606 old_postinstall_cmds=$lt_old_postinstall_cmds
13607 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13612 # LTCC compiler flags.
13613 LTCFLAGS=$lt_CFLAGS
13615 # Take the output of nm and produce a listing of raw symbols and C names.
13616 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13618 # Transform the output of nm in a proper C declaration.
13619 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13621 # Transform the output of nm in a C name address pair.
13622 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13624 # Transform the output of nm in a C name address pair when lib prefix is needed.
13625 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13627 # The name of the directory that contains temporary libtool files.
13630 # Shell to use when invoking shell scripts.
13633 # An echo program that does not interpret backslashes.
13636 # Used to examine libraries when file_magic_cmd begins with "file".
13637 MAGIC_CMD=$MAGIC_CMD
13639 # Must we lock files when doing compilation?
13640 need_locks=$lt_need_locks
13642 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13643 DSYMUTIL=$lt_DSYMUTIL
13645 # Tool to change global to local symbols on Mac OS X.
13648 # Tool to manipulate fat objects and archives on Mac OS X.
13651 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13654 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13655 OTOOL64=$lt_OTOOL64
13657 # Old archive suffix (normally "a").
13660 # Shared library suffix (normally ".so").
13661 shrext_cmds=$lt_shrext_cmds
13663 # The commands to extract the exported symbol list from a shared archive.
13664 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13666 # Variables whose values should be saved in libtool wrapper scripts and
13667 # restored at link time.
13668 variables_saved_for_relink=$lt_variables_saved_for_relink
13670 # Do we need the "lib" prefix for modules?
13671 need_lib_prefix=$need_lib_prefix
13673 # Do we need a version for libraries?
13674 need_version=$need_version
13676 # Library versioning type.
13677 version_type=$version_type
13679 # Shared library runtime path variable.
13680 runpath_var=$runpath_var
13682 # Shared library path variable.
13683 shlibpath_var=$shlibpath_var
13685 # Is shlibpath searched before the hard-coded library search path?
13686 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13688 # Format of library name prefix.
13689 libname_spec=$lt_libname_spec
13691 # List of archive names. First name is the real one, the rest are links.
13692 # The last name is the one that the linker finds with -lNAME
13693 library_names_spec=$lt_library_names_spec
13695 # The coded name of the library, if different from the real name.
13696 soname_spec=$lt_soname_spec
13698 # Command to use after installation of a shared archive.
13699 postinstall_cmds=$lt_postinstall_cmds
13701 # Command to use after uninstallation of a shared archive.
13702 postuninstall_cmds=$lt_postuninstall_cmds
13704 # Commands used to finish a libtool library installation in a directory.
13705 finish_cmds=$lt_finish_cmds
13707 # As "finish_cmds", except a single script fragment to be evaled but
13709 finish_eval=$lt_finish_eval
13711 # Whether we should hardcode library paths into libraries.
13712 hardcode_into_libs=$hardcode_into_libs
13714 # Compile-time system search path for libraries.
13715 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13717 # Run-time system search path for libraries.
13718 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13720 # Whether dlopen is supported.
13721 dlopen_support=$enable_dlopen
13723 # Whether dlopen of programs is supported.
13724 dlopen_self=$enable_dlopen_self
13726 # Whether dlopen of statically linked programs is supported.
13727 dlopen_self_static=$enable_dlopen_self_static
13729 # Commands to strip libraries.
13730 old_striplib=$lt_old_striplib
13731 striplib=$lt_striplib
13734 # The linker used to build libraries.
13737 # Commands used to build an old-style archive.
13738 old_archive_cmds=$lt_old_archive_cmds
13740 # A language specific compiler.
13743 # Is the compiler the GNU compiler?
13746 # Compiler flag to turn off builtin functions.
13747 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13749 # How to pass a linker flag through the compiler.
13750 wl=$lt_lt_prog_compiler_wl
13752 # Additional compiler flags for building library objects.
13753 pic_flag=$lt_lt_prog_compiler_pic
13755 # Compiler flag to prevent dynamic linking.
13756 link_static_flag=$lt_lt_prog_compiler_static
13758 # Does compiler simultaneously support -c and -o options?
13759 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13761 # Whether or not to add -lc for building shared libraries.
13762 build_libtool_need_lc=$archive_cmds_need_lc
13764 # Whether or not to disallow shared libs when runtime libs are static.
13765 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13767 # Compiler flag to allow reflexive dlopens.
13768 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13770 # Compiler flag to generate shared objects directly from archives.
13771 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13773 # Whether the compiler copes with passing no objects directly.
13774 compiler_needs_object=$lt_compiler_needs_object
13776 # Create an old-style archive from a shared archive.
13777 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13779 # Create a temporary old-style archive to link instead of a shared archive.
13780 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13782 # Commands used to build a shared archive.
13783 archive_cmds=$lt_archive_cmds
13784 archive_expsym_cmds=$lt_archive_expsym_cmds
13786 # Commands used to build a loadable module if different from building
13787 # a shared archive.
13788 module_cmds=$lt_module_cmds
13789 module_expsym_cmds=$lt_module_expsym_cmds
13791 # Whether we are building with GNU ld or not.
13792 with_gnu_ld=$lt_with_gnu_ld
13794 # Flag that allows shared libraries with undefined symbols to be built.
13795 allow_undefined_flag=$lt_allow_undefined_flag
13797 # Flag that enforces no undefined symbols.
13798 no_undefined_flag=$lt_no_undefined_flag
13800 # Flag to hardcode \$libdir into a binary during linking.
13801 # This must work even if \$libdir does not exist
13802 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13804 # If ld is used when linking, flag to hardcode \$libdir into a binary
13805 # during linking. This must work even if \$libdir does not exist.
13806 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13808 # Whether we need a single "-rpath" flag with a separated argument.
13809 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13811 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13812 # DIR into the resulting binary.
13813 hardcode_direct=$hardcode_direct
13815 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13816 # DIR into the resulting binary and the resulting library dependency is
13817 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13818 # library is relocated.
13819 hardcode_direct_absolute=$hardcode_direct_absolute
13821 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13822 # into the resulting binary.
13823 hardcode_minus_L=$hardcode_minus_L
13825 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13826 # into the resulting binary.
13827 hardcode_shlibpath_var=$hardcode_shlibpath_var
13829 # Set to "yes" if building a shared library automatically hardcodes DIR
13830 # into the library and all subsequent libraries and executables linked
13832 hardcode_automatic=$hardcode_automatic
13834 # Set to yes if linker adds runtime paths of dependent libraries
13835 # to runtime path list.
13836 inherit_rpath=$inherit_rpath
13838 # Whether libtool must link a program against all its dependency libraries.
13839 link_all_deplibs=$link_all_deplibs
13841 # Fix the shell variable \$srcfile for the compiler.
13842 fix_srcfile_path=$lt_fix_srcfile_path
13844 # Set to "yes" if exported symbols are required.
13845 always_export_symbols=$always_export_symbols
13847 # The commands to list exported symbols.
13848 export_symbols_cmds=$lt_export_symbols_cmds
13850 # Symbols that should not be listed in the preloaded symbols.
13851 exclude_expsyms=$lt_exclude_expsyms
13853 # Symbols that must always be exported.
13854 include_expsyms=$lt_include_expsyms
13856 # Commands necessary for linking programs (against libraries) with templates.
13857 prelink_cmds=$lt_prelink_cmds
13859 # Specify filename containing input files.
13860 file_list_spec=$lt_file_list_spec
13862 # How to hardcode a shared library path into an executable.
13863 hardcode_action=$hardcode_action
13865 # ### END LIBTOOL CONFIG
13871 cat <<\_LT_EOF >> "$cfgfile"
13872 # AIX sometimes has problems with the GCC collect2 program. For some
13873 # reason, if we set the COLLECT_NAMES environment variable, the problems
13874 # vanish in a puff of smoke.
13875 if test "X${COLLECT_NAMES+set}" != Xset; then
13877 export COLLECT_NAMES
13884 ltmain="$ac_aux_dir/ltmain.sh"
13887 # We use sed instead of cat because bash on DJGPP gets confused if
13888 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13889 # text mode, it properly converts lines to CR/LF. This bash problem
13890 # is reportedly fixed, but why not run on old versions too?
13891 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13892 ||
(rm -f "$cfgfile"; exit 1)
13896 cat << \_LT_EOF
>> "$cfgfile"
13898 # func_dirname file append nondir_replacement
13899 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13900 # otherwise set result to NONDIR_REPLACEMENT.
13904 */*) func_dirname_result
="${1%/*}${2}" ;;
13905 * ) func_dirname_result
="${3}" ;;
13909 # func_basename file
13912 func_basename_result
="${1##*/}"
13915 # func_dirname_and_basename file append nondir_replacement
13916 # perform func_basename and func_dirname in a single function
13918 # dirname: Compute the dirname of FILE. If nonempty,
13919 # add APPEND to the result, otherwise set result
13920 # to NONDIR_REPLACEMENT.
13921 # value returned in "$func_dirname_result"
13922 # basename: Compute filename of FILE.
13923 # value retuned in "$func_basename_result"
13924 # Implementation must be kept synchronized with func_dirname
13925 # and func_basename. For efficiency, we do not delegate to
13926 # those functions but instead duplicate the functionality here.
13927 func_dirname_and_basename
()
13930 */*) func_dirname_result
="${1%/*}${2}" ;;
13931 * ) func_dirname_result
="${3}" ;;
13933 func_basename_result
="${1##*/}"
13936 # func_stripname prefix suffix name
13937 # strip PREFIX and SUFFIX off of NAME.
13938 # PREFIX and SUFFIX must not contain globbing or regex special
13939 # characters, hashes, percent signs, but SUFFIX may contain a leading
13940 # dot (in which case that matches only a dot).
13943 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13944 # positional parameters, so assign one to ordinary parameter first.
13945 func_stripname_result
=${3}
13946 func_stripname_result
=${func_stripname_result#"${1}"}
13947 func_stripname_result
=${func_stripname_result%"${2}"}
13953 func_opt_split_opt
=${1%%=*}
13954 func_opt_split_arg
=${1#*=}
13961 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13962 *) func_lo2o_result
=${1} ;;
13966 # func_xform libobj-or-source
13969 func_xform_result
=${1%.*}.lo
13972 # func_arith arithmetic-term...
13975 func_arith_result
=$
(( $
* ))
13979 # STRING may not start with a hyphen.
13982 func_len_result
=${#1}
13987 *) # Bourne compatible functions.
13988 cat << \_LT_EOF
>> "$cfgfile"
13990 # func_dirname file append nondir_replacement
13991 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13992 # otherwise set result to NONDIR_REPLACEMENT.
13995 # Extract subdirectory from the argument.
13996 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13997 if test "X$func_dirname_result" = "X${1}"; then
13998 func_dirname_result
="${3}"
14000 func_dirname_result
="$func_dirname_result${2}"
14004 # func_basename file
14007 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14011 # func_stripname prefix suffix name
14012 # strip PREFIX and SUFFIX off of NAME.
14013 # PREFIX and SUFFIX must not contain globbing or regex special
14014 # characters, hashes, percent signs, but SUFFIX may contain a leading
14015 # dot (in which case that matches only a dot).
14016 # func_strip_suffix prefix name
14020 .
*) func_stripname_result
=`$ECHO "X${3}" \
14021 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14022 *) func_stripname_result
=`$ECHO "X${3}" \
14023 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14028 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14029 my_sed_long_arg
='1s/^-[^=]*=//'
14034 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14035 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14041 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14044 # func_xform libobj-or-source
14047 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14050 # func_arith arithmetic-term...
14053 func_arith_result
=`expr "$@"`
14057 # STRING may not start with a hyphen.
14060 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14066 case $lt_shell_append in
14068 cat << \_LT_EOF
>> "$cfgfile"
14070 # func_append var value
14071 # Append VALUE to the end of shell variable VAR.
14079 cat << \_LT_EOF
>> "$cfgfile"
14081 # func_append var value
14082 # Append VALUE to the end of shell variable VAR.
14093 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14094 ||
(rm -f "$cfgfile"; exit 1)
14096 mv -f "$cfgfile" "$ofile" ||
14097 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14108 ac_clean_files
=$ac_clean_files_save
14110 test $ac_write_fail = 0 ||
14111 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14114 # configure is writing to config.log, and then calls config.status.
14115 # config.status does its own redirection, appending to config.log.
14116 # Unfortunately, on DOS this fails, as config.log is still kept open
14117 # by configure, so config.status won't be able to write to it; its
14118 # output is simply discarded. So we exec the FD to /dev/null,
14119 # effectively closing config.log, so it can be properly (re)opened and
14120 # appended to by config.status. When coming back to configure, we
14121 # need to make the FD available again.
14122 if test "$no_create" != yes; then
14124 ac_config_status_args
=
14125 test "$silent" = yes &&
14126 ac_config_status_args
="$ac_config_status_args --quiet"
14128 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14130 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14131 # would make configure fail if this is the last instruction.
14132 $ac_cs_success || as_fn_exit
1
14134 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14136 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}