2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlite 3.17.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
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.17.0'
730 PACKAGE_STRING
='sqlite 3.17.0'
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
873 program_transform_name
886 enable_option_checking
905 enable_load_extension
916 ac_precious_vars
='build_alias
928 # Initialize some variables set by options.
930 ac_init_version
=false
931 ac_unrecognized_opts
=
933 # The variables have the same names as the options, with
934 # dashes changed to underlines.
942 program_transform_name
=s
,x
,x
,
950 # Installation directory options.
951 # These are left unexpanded so users can "make install exec_prefix=/foo"
952 # and all the variables that are supposed to be based on exec_prefix
953 # by default will actually change.
954 # Use braces instead of parens because sh, perl, etc. also accept them.
955 # (The list follows the same order as the GNU Coding Standards.)
956 bindir
='${exec_prefix}/bin'
957 sbindir
='${exec_prefix}/sbin'
958 libexecdir
='${exec_prefix}/libexec'
959 datarootdir
='${prefix}/share'
960 datadir
='${datarootdir}'
961 sysconfdir
='${prefix}/etc'
962 sharedstatedir
='${prefix}/com'
963 localstatedir
='${prefix}/var'
964 includedir
='${prefix}/include'
965 oldincludedir
='/usr/include'
966 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
967 infodir
='${datarootdir}/info'
972 libdir
='${exec_prefix}/lib'
973 localedir
='${datarootdir}/locale'
974 mandir
='${datarootdir}/man'
980 # If the previous option needs an argument, assign it.
981 if test -n "$ac_prev"; then
982 eval $ac_prev=\
$ac_option
988 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
993 # Accept the important Cygnus configure options, so we can diagnose typos.
995 case $ac_dashdash$ac_option in
999 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1001 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1002 bindir
=$ac_optarg ;;
1004 -build |
--build |
--buil |
--bui |
--bu)
1005 ac_prev
=build_alias
;;
1006 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1007 build_alias
=$ac_optarg ;;
1009 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1010 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1011 ac_prev
=cache_file
;;
1012 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1013 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1014 cache_file
=$ac_optarg ;;
1016 --config-cache |
-C)
1017 cache_file
=config.cache
;;
1019 -datadir |
--datadir |
--datadi |
--datad)
1021 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1022 datadir
=$ac_optarg ;;
1024 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1025 |
--dataroo |
--dataro |
--datar)
1026 ac_prev
=datarootdir
;;
1027 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1028 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1029 datarootdir
=$ac_optarg ;;
1031 -disable-* |
--disable-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error $?
"invalid feature name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=no
;;
1047 -docdir |
--docdir |
--docdi |
--doc |
--do)
1049 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1050 docdir
=$ac_optarg ;;
1052 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1054 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1055 dvidir
=$ac_optarg ;;
1057 -enable-* |
--enable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error $?
"invalid feature name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=\
$ac_optarg ;;
1073 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1074 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1075 |
--exec |
--exe |
--ex)
1076 ac_prev
=exec_prefix
;;
1077 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1078 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1079 |
--exec=* |
--exe=* |
--ex=*)
1080 exec_prefix
=$ac_optarg ;;
1082 -gas |
--gas |
--ga |
--g)
1083 # Obsolete; use --with-gas.
1086 -help |
--help |
--hel |
--he |
-h)
1087 ac_init_help
=long
;;
1088 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1089 ac_init_help
=recursive
;;
1090 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1091 ac_init_help
=short
;;
1093 -host |
--host |
--hos |
--ho)
1094 ac_prev
=host_alias
;;
1095 -host=* |
--host=* |
--hos=* |
--ho=*)
1096 host_alias
=$ac_optarg ;;
1098 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1100 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1102 htmldir
=$ac_optarg ;;
1104 -includedir |
--includedir |
--includedi |
--included |
--include \
1105 |
--includ |
--inclu |
--incl |
--inc)
1106 ac_prev
=includedir
;;
1107 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1108 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1109 includedir
=$ac_optarg ;;
1111 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1113 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1114 infodir
=$ac_optarg ;;
1116 -libdir |
--libdir |
--libdi |
--libd)
1118 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1119 libdir
=$ac_optarg ;;
1121 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1122 |
--libexe |
--libex |
--libe)
1123 ac_prev
=libexecdir
;;
1124 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1125 |
--libexe=* |
--libex=* |
--libe=*)
1126 libexecdir
=$ac_optarg ;;
1128 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1129 ac_prev
=localedir
;;
1130 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1131 localedir
=$ac_optarg ;;
1133 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1134 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1135 ac_prev
=localstatedir
;;
1136 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1137 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1138 localstatedir
=$ac_optarg ;;
1140 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1142 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1143 mandir
=$ac_optarg ;;
1145 -nfp |
--nfp |
--nf)
1146 # Obsolete; use --without-fp.
1149 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1150 |
--no-cr |
--no-c |
-n)
1153 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1154 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1157 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1158 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1159 |
--oldin |
--oldi |
--old |
--ol |
--o)
1160 ac_prev
=oldincludedir
;;
1161 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1162 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1163 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1164 oldincludedir
=$ac_optarg ;;
1166 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1168 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1169 prefix
=$ac_optarg ;;
1171 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1172 |
--program-pre |
--program-pr |
--program-p)
1173 ac_prev
=program_prefix
;;
1174 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1175 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1176 program_prefix
=$ac_optarg ;;
1178 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1179 |
--program-suf |
--program-su |
--program-s)
1180 ac_prev
=program_suffix
;;
1181 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1182 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1183 program_suffix
=$ac_optarg ;;
1185 -program-transform-name |
--program-transform-name \
1186 |
--program-transform-nam |
--program-transform-na \
1187 |
--program-transform-n |
--program-transform- \
1188 |
--program-transform |
--program-transfor \
1189 |
--program-transfo |
--program-transf \
1190 |
--program-trans |
--program-tran \
1191 |
--progr-tra |
--program-tr |
--program-t)
1192 ac_prev
=program_transform_name
;;
1193 -program-transform-name=* |
--program-transform-name=* \
1194 |
--program-transform-nam=* |
--program-transform-na=* \
1195 |
--program-transform-n=* |
--program-transform-=* \
1196 |
--program-transform=* |
--program-transfor=* \
1197 |
--program-transfo=* |
--program-transf=* \
1198 |
--program-trans=* |
--program-tran=* \
1199 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1200 program_transform_name
=$ac_optarg ;;
1202 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1204 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1205 pdfdir
=$ac_optarg ;;
1207 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1209 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1212 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1213 |
-silent |
--silent |
--silen |
--sile |
--sil)
1216 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1218 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1220 sbindir
=$ac_optarg ;;
1222 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1223 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1224 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1226 ac_prev
=sharedstatedir
;;
1227 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1228 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1229 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1231 sharedstatedir
=$ac_optarg ;;
1233 -site |
--site |
--sit)
1235 -site=* |
--site=* |
--sit=*)
1238 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1240 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1241 srcdir
=$ac_optarg ;;
1243 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1244 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1245 ac_prev
=sysconfdir
;;
1246 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1247 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1248 sysconfdir
=$ac_optarg ;;
1250 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1251 ac_prev
=target_alias
;;
1252 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1253 target_alias
=$ac_optarg ;;
1255 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1258 -version |
--version |
--versio |
--versi |
--vers |
-V)
1259 ac_init_version
=: ;;
1262 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1265 as_fn_error $?
"invalid package name: $ac_useropt"
1266 ac_useropt_orig
=$ac_useropt
1267 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273 ac_unrecognized_sep
=', ';;
1275 eval with_
$ac_useropt=\
$ac_optarg ;;
1277 -without-* |
--without-*)
1278 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1281 as_fn_error $?
"invalid package name: $ac_useropt"
1282 ac_useropt_orig
=$ac_useropt
1283 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284 case $ac_user_opts in
1288 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289 ac_unrecognized_sep
=', ';;
1291 eval with_
$ac_useropt=no
;;
1294 # Obsolete; use --with-x.
1297 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1298 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1299 ac_prev
=x_includes
;;
1300 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1301 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1302 x_includes
=$ac_optarg ;;
1304 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1305 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1306 ac_prev
=x_libraries
;;
1307 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1308 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1309 x_libraries
=$ac_optarg ;;
1311 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1312 Try \`$0 --help' for more information"
1316 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1317 # Reject names that are not valid shell variable names.
1318 case $ac_envvar in #(
1319 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1320 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1322 eval $ac_envvar=\
$ac_optarg
1323 export $ac_envvar ;;
1326 # FIXME: should be removed in autoconf 3.0.
1327 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1329 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1336 if test -n "$ac_prev"; then
1337 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1338 as_fn_error $?
"missing argument to $ac_option"
1341 if test -n "$ac_unrecognized_opts"; then
1342 case $enable_option_checking in
1344 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1345 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349 # Check all directory arguments for consistency.
1350 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351 datadir sysconfdir sharedstatedir localstatedir includedir \
1352 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353 libdir localedir mandir
1355 eval ac_val
=\$
$ac_var
1356 # Remove trailing slashes.
1359 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360 eval $ac_var=\
$ac_val;;
1362 # Be sure to have absolute directory names.
1364 [\\/$
]* | ?
:[\\/]* ) continue;;
1365 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1367 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 elif test "x$build_alias" != "x$host_alias"; then
1387 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1389 test "$silent" = yes && exec 6>/dev
/null
1392 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1393 ac_ls_di
=`ls -di .` &&
1394 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1395 as_fn_error $?
"working directory cannot be determined"
1396 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1397 as_fn_error $?
"pwd does not report name of working directory"
1400 # Find the source files, if location was not specified.
1401 if test -z "$srcdir"; then
1402 ac_srcdir_defaulted
=yes
1403 # Try the directory containing this script, then the parent directory.
1404 ac_confdir
=`$as_dirname -- "$as_myself" ||
1405 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1406 X"$as_myself" : 'X\(//\)[^/]' \| \
1407 X"$as_myself" : 'X\(//\)$' \| \
1408 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1409 $as_echo X"$as_myself" |
1410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1428 if test ! -r "$srcdir/$ac_unique_file"; then
1432 ac_srcdir_defaulted
=no
1434 if test ! -r "$srcdir/$ac_unique_file"; then
1435 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1436 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1438 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1440 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1442 # When building in place, set srcdir=.
1443 if test "$ac_abs_confdir" = "$ac_pwd"; then
1446 # Remove unnecessary trailing slashes from srcdir.
1447 # Double slashes in file names in object file debugging info
1448 # mess up M-x gdb in Emacs.
1450 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1452 for ac_var
in $ac_precious_vars; do
1453 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1454 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1455 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1456 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1460 # Report the --help message.
1462 if test "$ac_init_help" = "long"; then
1463 # Omit some internal or obsolete options to make the list less imposing.
1464 # This message is too long to be a string in the A/UX 3.1 sh.
1466 \`configure' configures sqlite 3.17.0 to adapt to many kinds of systems.
1468 Usage: $0 [OPTION]... [VAR=VALUE]...
1470 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1471 VAR=VALUE. See below for descriptions of some of the useful variables.
1473 Defaults for the options are specified in brackets.
1476 -h, --help display this help and exit
1477 --help=short display options specific to this package
1478 --help=recursive display the short help of all the included packages
1479 -V, --version display version information and exit
1480 -q, --quiet, --silent do not print \`checking ...' messages
1481 --cache-file=FILE cache test results in FILE [disabled]
1482 -C, --config-cache alias for \`--cache-file=config.cache'
1483 -n, --no-create do not create output files
1484 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1486 Installation directories:
1487 --prefix=PREFIX install architecture-independent files in PREFIX
1488 [$ac_default_prefix]
1489 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1492 By default, \`make install' will install all the files in
1493 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1494 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1495 for instance \`--prefix=\$HOME'.
1497 For better control, use the options below.
1499 Fine tuning of the installation directories:
1500 --bindir=DIR user executables [EPREFIX/bin]
1501 --sbindir=DIR system admin executables [EPREFIX/sbin]
1502 --libexecdir=DIR program executables [EPREFIX/libexec]
1503 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1504 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1505 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1506 --libdir=DIR object code libraries [EPREFIX/lib]
1507 --includedir=DIR C header files [PREFIX/include]
1508 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1509 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1510 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1511 --infodir=DIR info documentation [DATAROOTDIR/info]
1512 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1513 --mandir=DIR man documentation [DATAROOTDIR/man]
1514 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1515 --htmldir=DIR html documentation [DOCDIR]
1516 --dvidir=DIR dvi documentation [DOCDIR]
1517 --pdfdir=DIR pdf documentation [DOCDIR]
1518 --psdir=DIR ps documentation [DOCDIR]
1524 --build=BUILD configure
for building on BUILD
[guessed
]
1525 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1529 if test -n "$ac_init_help"; then
1530 case $ac_init_help in
1531 short | recursive
) echo "Configuration of sqlite 3.17.0:";;
1536 --disable-option-checking ignore unrecognized
--enable/--with options
1537 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1538 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1540 --enable-static[=PKGS
] build static libraries
[default
=yes]
1541 --enable-fast-install[=PKGS
]
1542 optimize
for fast installation
[default
=yes]
1543 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1544 --disable-largefile omit support
for large files
1545 --disable-threadsafe Disable mutexing
1546 --enable-releasemode Support libtool link to release mode
1547 --enable-tempstore Use an in-ram database
for temporary tables
1548 (never
,no
,yes,always
)
1549 --disable-tcl do not build TCL extension
1550 --enable-editline enable BSD editline support
1551 --disable-readline disable readline support
1552 --enable-debug enable debugging
& verbose explain
1553 --disable-amalgamation Disable the amalgamation and instead build all files
1555 --disable-load-extension
1556 Disable loading of external extensions
1557 --enable-memsys5 Enable MEMSYS5
1558 --enable-memsys3 Enable MEMSYS3
1559 --enable-fts3 Enable the FTS3 extension
1560 --enable-fts4 Enable the FTS4 extension
1561 --enable-fts5 Enable the FTS5 extension
1562 --enable-json1 Enable the JSON1 extension
1563 --enable-rtree Enable the RTREE extension
1564 --enable-session Enable the SESSION extension
1565 --enable-gcov Enable coverage testing using gcov
1568 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1569 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1570 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1572 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1573 --with-tcl=DIR directory containing tcl configuration
1575 --with-readline-lib specify readline library
1576 --with-readline-inc specify readline include paths
1578 Some influential environment variables
:
1579 CC C compiler
command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1582 nonstandard directory
<lib dir
>
1583 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1584 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1585 you have headers
in a nonstandard directory
<include dir
>
1587 TCLLIBDIR Where to
install tcl plugin
1589 Use these variables to override the choices made by
`configure' or to help
1590 it to find libraries and programs with nonstandard names/locations.
1592 Report bugs to the package provider.
1597 if test "$ac_init_help" = "recursive"; then
1598 # If there are subdirs, report their specific --help.
1599 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1600 test -d "$ac_dir" ||
1601 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1609 # A ".." for each directory in $ac_dir_suffix.
1610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1611 case $ac_top_builddir_sub in
1612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1616 ac_abs_top_builddir=$ac_pwd
1617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1618 # for backward compatibility:
1619 ac_top_builddir=$ac_top_build_prefix
1622 .) # We are building in place.
1624 ac_top_srcdir=$ac_top_builddir_sub
1625 ac_abs_top_srcdir=$ac_pwd ;;
1626 [\\/]* | ?:[\\/]* ) # Absolute name.
1627 ac_srcdir=$srcdir$ac_dir_suffix;
1628 ac_top_srcdir=$srcdir
1629 ac_abs_top_srcdir=$srcdir ;;
1631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1632 ac_top_srcdir=$ac_top_build_prefix$srcdir
1633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637 cd "$ac_dir" || { ac_status=$?; continue; }
1638 # Check for guested configure.
1639 if test -f "$ac_srcdir/configure.gnu"; then
1641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1642 elif test -f "$ac_srcdir/configure"; then
1644 $SHELL "$ac_srcdir/configure" --help=recursive
1646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648 cd "$ac_pwd" || { ac_status=$?; break; }
1652 test -n "$ac_init_help" && exit $ac_status
1653 if $ac_init_version; then
1655 sqlite configure 3.17.0
1656 generated by GNU Autoconf 2.69
1658 Copyright (C) 2012 Free Software Foundation, Inc.
1659 This configure script is free software; the Free Software Foundation
1660 gives unlimited permission to copy, distribute and modify it.
1665 ## ------------------------ ##
1666 ## Autoconf initialization. ##
1667 ## ------------------------ ##
1669 # ac_fn_c_try_compile LINENO
1670 # --------------------------
1671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1672 ac_fn_c_try_compile ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 rm -f conftest.$ac_objext
1676 if { { ac_try="$ac_compile"
1678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1679 *) ac_try_echo
=$ac_try;;
1681 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_compile") 2>conftest.err
1685 if test -s conftest.err
; then
1686 grep -v '^ *+' conftest.err
>conftest.er1
1687 cat conftest.er1
>&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && {
1692 test -z "$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1694 } && test -s conftest.
$ac_objext; then :
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.
$ac_ext >&5
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status
$ac_retval
1705 } # ac_fn_c_try_compile
1707 # ac_fn_c_try_link LINENO
1708 # -----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
1712 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1713 rm -f conftest.
$ac_objext conftest
$ac_exeext
1714 if { { ac_try
="$ac_link"
1716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_link") 2>conftest.err
1723 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest$ac_exeext && {
1733 test "$cross_compiling" = yes ||
1734 test -x conftest$ac_exeext
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745 # interfere with the next link command; also delete a directory that is
1746 # left behind by Apple's compiler. We do this before executing the actions.
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1751 } # ac_fn_c_try_link
1753 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1754 # -------------------------------------------------------
1755 # Tests whether HEADER exists and can be compiled using the include files in
1756 # INCLUDES, setting the cache variable VAR accordingly.
1757 ac_fn_c_check_header_compile ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766 /* end confdefs.h. */
1770 if ac_fn_c_try_compile "$LINENO"; then :
1775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 } # ac_fn_c_check_header_compile
1784 # ac_fn_c_try_cpp LINENO
1785 # ----------------------
1786 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } > conftest.i
&& {
1806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.
$ac_ext >&5
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status
$ac_retval
1821 # ac_fn_c_try_run LINENO
1822 # ----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1824 # that executables *can* be run.
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 if { { ac_try
="$ac_link"
1830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>&5
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1839 { { case "(($ac_try" in
1840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1841 *) ac_try_echo
=$ac_try;;
1843 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_try") 2>&5
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; }; }; then :
1851 $as_echo "$as_me: program exited with status $ac_status" >&5
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.
$ac_ext >&5
1855 ac_retval
=$ac_status
1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status
$ac_retval
1863 # ac_fn_c_check_func LINENO FUNC VAR
1864 # ----------------------------------
1865 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1866 ac_fn_c_check_func
()
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \
${$3+:} false
; then :
1872 $as_echo_n "(cached) " >&6
1874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1876 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1878 #define $2 innocuous_$2
1880 /* System header to define __stub macros and hopefully few prototypes,
1881 which can conflict with char $2 (); below.
1882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1883 <limits.h> exists even on freestanding compilers. */
1886 # include <limits.h>
1888 # include <assert.h>
1893 /* Override any GCC internal prototype to avoid an error.
1894 Use char because int might match the return type of a GCC
1895 builtin and then its argument prototype would still apply. */
1900 /* The GNU C library defines this for functions which it implements
1901 to always fail with ENOSYS. Some functions are actually named
1902 something starting with __ and the normal name is an alias. */
1903 #if defined __stub_$2 || defined __stub___$2
1915 if ac_fn_c_try_link
"$LINENO"; then :
1920 rm -f core conftest.err conftest.
$ac_objext \
1921 conftest
$ac_exeext conftest.
$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 } # ac_fn_c_check_func
1930 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1931 # -------------------------------------------
1932 # Tests whether TYPE exists after having included INCLUDES, setting cache
1933 # variable VAR accordingly.
1934 ac_fn_c_check_type
()
1936 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if eval \
${$3+:} false
; then :
1940 $as_echo_n "(cached) " >&6
1943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1955 if ac_fn_c_try_compile
"$LINENO"; then :
1956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1968 if ac_fn_c_try_compile
"$LINENO"; then :
1973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 } # ac_fn_c_check_type
1984 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1985 # -------------------------------------------------------
1986 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1987 # the include files in INCLUDES and setting the cache variable VAR
1989 ac_fn_c_check_header_mongrel
()
1991 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1992 if eval \
${$3+:} false
; then :
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994 $as_echo_n "checking for $2... " >&6; }
1995 if eval \
${$3+:} false
; then :
1996 $as_echo_n "(cached) " >&6
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2002 # Is the header compilable?
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2004 $as_echo_n "checking $2 usability... " >&6; }
2005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2010 if ac_fn_c_try_compile
"$LINENO"; then :
2011 ac_header_compiler
=yes
2013 ac_header_compiler
=no
2015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2017 $as_echo "$ac_header_compiler" >&6; }
2019 # Is the header present?
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2021 $as_echo_n "checking $2 presence... " >&6; }
2022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2026 if ac_fn_c_try_cpp
"$LINENO"; then :
2027 ac_header_preproc
=yes
2029 ac_header_preproc
=no
2031 rm -f conftest.err conftest.i conftest.
$ac_ext
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2033 $as_echo "$ac_header_preproc" >&6; }
2035 # So? What about this header?
2036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2039 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2045 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2047 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2049 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2051 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2053 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057 $as_echo_n "checking for $2... " >&6; }
2058 if eval \
${$3+:} false
; then :
2059 $as_echo_n "(cached) " >&6
2061 eval "$3=\$ac_header_compiler"
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2069 } # ac_fn_c_check_header_mongrel
2070 cat >config.log
<<_ACEOF
2071 This file contains any messages produced by compilers while
2072 running configure, to aid debugging if configure makes a mistake.
2074 It was created by sqlite $as_me 3.17.0, which was
2075 generated by GNU Autoconf 2.69. Invocation command line was
2087 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2088 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2089 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2090 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2091 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2093 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2094 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2096 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2097 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2098 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2099 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2100 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2101 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2102 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir
=.
2111 $as_echo "PATH: $as_dir"
2127 # Keep a trace of the command line.
2128 # Strip out --no-create and --no-recursion so they do not pile up.
2129 # Strip out --silent because we don't want to record it for future runs.
2130 # Also quote any args containing shell meta-characters.
2131 # Make two passes to allow for proper duplicate-argument suppression.
2135 ac_must_keep_next
=false
2141 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2142 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2143 |
-silent |
--silent |
--silen |
--sile |
--sil)
2146 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2149 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2151 as_fn_append ac_configure_args1
" '$ac_arg'"
2152 if test $ac_must_keep_next = true
; then
2153 ac_must_keep_next
=false
# Got value, back to normal.
2156 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2157 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2158 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2159 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2160 case "$ac_configure_args0 " in
2161 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2164 -* ) ac_must_keep_next
=true
;;
2167 as_fn_append ac_configure_args
" '$ac_arg'"
2172 { ac_configure_args0
=; unset ac_configure_args0
;}
2173 { ac_configure_args1
=; unset ac_configure_args1
;}
2175 # When interrupted or exit'd, cleanup temporary files, and complete
2176 # config.log. We remove comments because anyway the quotes in there
2177 # would cause problems or look ugly.
2178 # WARNING: Use '\'' to represent an apostrophe within the trap.
2179 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2180 trap 'exit_status=$?
2181 # Save into config.log some information that might help in debugging.
2185 $as_echo "## ---------------- ##
2186 ## Cache variables. ##
2187 ## ---------------- ##"
2189 # The following way of writing the cache mishandles newlines in values,
2191 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2192 eval ac_val=\$$ac_var
2196 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2197 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2200 _ | IFS | as_nl) ;; #(
2201 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2202 *) { eval $ac_var=; unset $ac_var;} ;;
2207 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2208 *${as_nl}ac_space=\ *)
2210 "s/'\''/'\''\\\\'\'''\''/g;
2211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2214 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2221 $as_echo "## ----------------- ##
2222 ## Output variables. ##
2223 ## ----------------- ##"
2225 for ac_var in $ac_subst_vars
2227 eval ac_val=\$$ac_var
2229 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231 $as_echo "$ac_var='\''$ac_val'\''"
2235 if test -n "$ac_subst_files"; then
2236 $as_echo "## ------------------- ##
2237 ## File substitutions. ##
2238 ## ------------------- ##"
2240 for ac_var
in $ac_subst_files
2242 eval ac_val
=\$
$ac_var
2244 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 $as_echo "$ac_var='\''$ac_val'\''"
2251 if test -s confdefs.h; then
2252 $as_echo "## ----------- ##
2259 test "$ac_signal" != 0 &&
2260 $as_echo "$as_me: caught signal $ac_signal"
2261 $as_echo "$as_me: exit $exit_status"
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 for ac_signal
in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest
* confdefs.h
2275 $as_echo "/* confdefs.h */" > confdefs.h
2277 # Predefined preprocessor variables.
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2283 cat >>confdefs.h
<<_ACEOF
2284 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2291 cat >>confdefs.h
<<_ACEOF
2292 #define PACKAGE_STRING "$PACKAGE_STRING"
2295 cat >>confdefs.h
<<_ACEOF
2296 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299 cat >>confdefs.h
<<_ACEOF
2300 #define PACKAGE_URL "$PACKAGE_URL"
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer an explicitly selected file to automatically selected ones.
2308 if test -n "$CONFIG_SITE"; then
2309 # We do not want a PATH search for config.site.
2310 case $CONFIG_SITE in #((
2311 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2312 */*) ac_site_file1
=$CONFIG_SITE;;
2313 *) ac_site_file1
=.
/$CONFIG_SITE;;
2315 elif test "x$prefix" != xNONE
; then
2316 ac_site_file1
=$prefix/share
/config.site
2317 ac_site_file2
=$prefix/etc
/config.site
2319 ac_site_file1
=$ac_default_prefix/share
/config.site
2320 ac_site_file2
=$ac_default_prefix/etc
/config.site
2322 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2324 test "x$ac_site_file" = xNONE
&& continue
2325 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2327 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2328 sed 's/^/| /' "$ac_site_file" >&5
2330 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332 as_fn_error $?
"failed to load site script $ac_site_file
2333 See \`config.log' for more details" "$LINENO" 5; }
2337 if test -r "$cache_file"; then
2338 # Some versions of bash will fail to source /dev/null (special files
2339 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2340 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2342 $as_echo "$as_me: loading cache $cache_file" >&6;}
2344 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2345 *) .
"./$cache_file";;
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2350 $as_echo "$as_me: creating cache $cache_file" >&6;}
2354 # Check that the precious variables saved in the cache have kept the same
2356 ac_cache_corrupted
=false
2357 for ac_var
in $ac_precious_vars; do
2358 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2359 eval ac_new_set
=\
$ac_env_${ac_var}_set
2360 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2361 eval ac_new_val
=\
$ac_env_${ac_var}_value
2362 case $ac_old_set,$ac_new_set in
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2365 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2366 ac_cache_corrupted
=: ;;
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2369 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2370 ac_cache_corrupted
=: ;;
2373 if test "x$ac_old_val" != "x$ac_new_val"; then
2374 # differences in whitespace do not lead to failure.
2375 ac_old_val_w
=`echo x $ac_old_val`
2376 ac_new_val_w
=`echo x $ac_new_val`
2377 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2379 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2380 ac_cache_corrupted
=:
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2383 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2384 eval $ac_var=\
$ac_old_val
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2387 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2389 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2392 # Pass precious variables to config.status.
2393 if test "$ac_new_set" = set; then
2395 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2396 *) ac_arg
=$ac_var=$ac_new_val ;;
2398 case " $ac_configure_args " in
2399 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2400 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2404 if $ac_cache_corrupted; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2408 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2409 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2411 ## -------------------- ##
2412 ## Main body of script. ##
2413 ## -------------------- ##
2416 ac_cpp
='$CPP $CPPFLAGS'
2417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2423 sqlite_version_sanity_check
=`cat $srcdir/VERSION | tr -d '\n'`
2424 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2425 as_fn_error $?
"configure script is out of date:
2426 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2427 top level VERSION file = $sqlite_version_sanity_check
2428 please regen with autoconf" "$LINENO" 5
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2437 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2442 macro_version
='2.2.6'
2443 macro_revision
='1.3012'
2457 ltmain
="$ac_aux_dir/ltmain.sh"
2460 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461 if test -f "$ac_dir/install-sh"; then
2463 ac_install_sh
="$ac_aux_dir/install-sh -c"
2465 elif test -f "$ac_dir/install.sh"; then
2467 ac_install_sh
="$ac_aux_dir/install.sh -c"
2469 elif test -f "$ac_dir/shtool"; then
2471 ac_install_sh
="$ac_aux_dir/shtool install -c"
2475 if test -z "$ac_aux_dir"; then
2476 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2479 # These three variables are undocumented and unsupported,
2480 # and are intended to be withdrawn in a future Autoconf release.
2481 # They can cause serious problems if a builder's source tree is in a directory
2482 # whose full name contains unusual characters.
2483 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2484 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2485 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2488 # Make sure we can run config.sub.
2489 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2490 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2493 $as_echo_n "checking build system type... " >&6; }
2494 if ${ac_cv_build+:} false
; then :
2495 $as_echo_n "(cached) " >&6
2497 ac_build_alias
=$build_alias
2498 test "x$ac_build_alias" = x
&&
2499 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2500 test "x$ac_build_alias" = x
&&
2501 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2502 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2503 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2507 $as_echo "$ac_cv_build" >&6; }
2508 case $ac_cv_build in
2510 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2513 ac_save_IFS
=$IFS; IFS
='-'
2519 # Remember, the first character of IFS is used to create $*,
2520 # except with old shells:
2523 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2527 $as_echo_n "checking host system type... " >&6; }
2528 if ${ac_cv_host+:} false
; then :
2529 $as_echo_n "(cached) " >&6
2531 if test "x$host_alias" = x
; then
2532 ac_cv_host
=$ac_cv_build
2534 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2535 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2540 $as_echo "$ac_cv_host" >&6; }
2543 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2546 ac_save_IFS
=$IFS; IFS
='-'
2552 # Remember, the first character of IFS is used to create $*,
2553 # except with old shells:
2556 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2560 ac_cpp
='$CPP $CPPFLAGS'
2561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2564 if test -n "$ac_tool_prefix"; then
2565 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2566 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if ${ac_cv_prog_CC+:} false
; then :
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$CC"; then
2573 ac_cv_prog_CC
="$CC" # Let the user override the test.
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_exec_ext
in '' $ac_executable_extensions; do
2581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2582 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test -n "$CC"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2595 $as_echo "$CC" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2603 if test -z "$ac_cv_prog_CC"; then
2605 # Extract the first word of "gcc", so it can be a program name with args.
2606 set dummy gcc
; ac_word
=$2
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608 $as_echo_n "checking for $ac_word... " >&6; }
2609 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2610 $as_echo_n "(cached) " >&6
2612 if test -n "$ac_ct_CC"; then
2613 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_prog_ac_ct_CC
="gcc"
2623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2633 if test -n "$ac_ct_CC"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2635 $as_echo "$ac_ct_CC" >&6; }
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638 $as_echo "no" >&6; }
2641 if test "x$ac_ct_CC" = x
; then
2644 case $cross_compiling:$ac_tool_warned in
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2648 ac_tool_warned
=yes ;;
2656 if test -z "$CC"; then
2657 if test -n "$ac_tool_prefix"; then
2658 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2659 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661 $as_echo_n "checking for $ac_word... " >&6; }
2662 if ${ac_cv_prog_CC+:} false
; then :
2663 $as_echo_n "(cached) " >&6
2665 if test -n "$CC"; then
2666 ac_cv_prog_CC
="$CC" # Let the user override the test.
2668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir
=.
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2675 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test -n "$CC"; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2688 $as_echo "$CC" >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2697 if test -z "$CC"; then
2698 # Extract the first word of "cc", so it can be a program name with args.
2699 set dummy cc
; ac_word
=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if ${ac_cv_prog_CC+:} false
; then :
2703 $as_echo_n "(cached) " >&6
2705 if test -n "$CC"; then
2706 ac_cv_prog_CC
="$CC" # Let the user override the test.
2709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir
=.
2714 for ac_exec_ext
in '' $ac_executable_extensions; do
2715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2716 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2717 ac_prog_rejected
=yes
2721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test $ac_prog_rejected = yes; then
2729 # We found a bogon in the path, so make sure we never use it.
2730 set dummy
$ac_cv_prog_CC
2732 if test $# != 0; then
2733 # We chose a different compiler from the bogus one.
2734 # However, it has the same basename, so the bogon will be chosen
2735 # first if we set CC to just the basename; use the full file name.
2737 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2743 if test -n "$CC"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2745 $as_echo "$CC" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2753 if test -z "$CC"; then
2754 if test -n "$ac_tool_prefix"; then
2755 for ac_prog
in cl.exe
2757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2758 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_CC+:} false
; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$CC"; then
2765 ac_cv_prog_CC
="$CC" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test -n "$CC"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2787 $as_echo "$CC" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2794 test -n "$CC" && break
2797 if test -z "$CC"; then
2799 for ac_prog
in cl.exe
2801 # Extract the first word of "$ac_prog", so it can be a program name with args.
2802 set dummy
$ac_prog; ac_word
=$2
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2806 $as_echo_n "(cached) " >&6
2808 if test -n "$ac_ct_CC"; then
2809 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir
=.
2816 for ac_exec_ext
in '' $ac_executable_extensions; do
2817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2818 ac_cv_prog_ac_ct_CC
="$ac_prog"
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2829 if test -n "$ac_ct_CC"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2831 $as_echo "$ac_ct_CC" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2838 test -n "$ac_ct_CC" && break
2841 if test "x$ac_ct_CC" = x
; then
2844 case $cross_compiling:$ac_tool_warned in
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2848 ac_tool_warned
=yes ;;
2857 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2859 as_fn_error $?
"no acceptable C compiler found in \$PATH
2860 See \`config.log' for more details" "$LINENO" 5; }
2862 # Provide some information about the compiler.
2863 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2866 for ac_option
in --version -v -V -qversion; do
2867 { { ac_try
="$ac_compiler $ac_option >&5"
2869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873 $as_echo "$ac_try_echo"; } >&5
2874 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2876 if test -s conftest.err; then
2878 ... rest of stderr output deleted ...
2879 10q' conftest.err >conftest.er1
2880 cat conftest.er1 >&5
2882 rm -f conftest.er1 conftest.err
2883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2884 test $ac_status = 0; }
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2898 ac_clean_files_save=$ac_clean_files
2899 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2900 # Try to create an executable without -o first, disregard a.out.
2901 # It will help us diagnose broken compilers, and finding out an intuition
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2904 $as_echo_n "checking whether the C compiler works... " >&6; }
2905 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2907 # The possible output files:
2908 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2911 for ac_file in $ac_files
2914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2915 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2920 if { { ac_try="$ac_link_default"
2922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2923 *) ac_try_echo
=$ac_try;;
2925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_link_default") 2>&5
2929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2930 test $ac_status = 0; }; then :
2931 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2932 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2933 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2934 # so that the user can short-circuit this test for compilers unknown to
2936 for ac_file
in $ac_files ''
2938 test -f "$ac_file" ||
continue
2940 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2943 # We found the default executable, but exeext='' is most
2947 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2949 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2951 # We set ac_cv_exeext here because the later test for it is not
2952 # safe: cross compilers may not add the suffix if given an `-o'
2953 # argument, so we may need to know it at that point already.
2954 # Even if this section looks crufty: it has the advantage of
2961 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2966 if test -z "$ac_file"; then :
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2969 $as_echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.
$ac_ext >&5
2972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error
77 "C compiler cannot create executables
2975 See \`config.log' for more details" "$LINENO" 5; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2981 $as_echo_n "checking for C compiler default output file name... " >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2983 $as_echo "$ac_file" >&6; }
2984 ac_exeext
=$ac_cv_exeext
2986 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2987 ac_clean_files
=$ac_clean_files_save
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2989 $as_echo_n "checking for suffix of executables... " >&6; }
2990 if { { ac_try
="$ac_link"
2992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_link") 2>&5
2999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; }; then :
3001 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3002 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3003 # work properly (i.e., refer to `conftest.exe'), while it won't with
3005 for ac_file
in conftest.exe conftest conftest.
*; do
3006 test -f "$ac_file" ||
continue
3008 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3009 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3017 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3018 See \`config.log' for more details" "$LINENO" 5; }
3020 rm -f conftest conftest
$ac_cv_exeext
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3022 $as_echo "$ac_cv_exeext" >&6; }
3024 rm -f conftest.
$ac_ext
3025 EXEEXT
=$ac_cv_exeext
3027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3033 FILE *f = fopen ("conftest.out", "w");
3034 return ferror (f) || fclose (f) != 0;
3040 ac_clean_files
="$ac_clean_files conftest.out"
3041 # Check that the compiler produces executables we can run. If not, either
3042 # the compiler is broken, or we cross compile.
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3044 $as_echo_n "checking whether we are cross compiling... " >&6; }
3045 if test "$cross_compiling" != yes; then
3046 { { ac_try
="$ac_link"
3048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_link") 2>&5
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; }
3057 if { ac_try='./conftest$ac_cv_exeext'
3058 { { case "(($ac_try" in
3059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3060 *) ac_try_echo
=$ac_try;;
3062 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3063 $as_echo "$ac_try_echo"; } >&5
3064 (eval "$ac_try") 2>&5
3066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3067 test $ac_status = 0; }; }; then
3070 if test "$cross_compiling" = maybe
; then
3073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error $?
"cannot run C compiled programs.
3076 If you meant to cross compile, use \`--host'.
3077 See \`config.log' for more details" "$LINENO" 5; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3082 $as_echo "$cross_compiling" >&6; }
3084 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3085 ac_clean_files
=$ac_clean_files_save
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3087 $as_echo_n "checking for suffix of object files... " >&6; }
3088 if ${ac_cv_objext+:} false
; then :
3089 $as_echo_n "(cached) " >&6
3091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3102 rm -f conftest.o conftest.obj
3103 if { { ac_try
="$ac_compile"
3105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109 $as_echo "$ac_try_echo"; } >&5
3110 (eval "$ac_compile") 2>&5
3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113 test $ac_status = 0; }; then :
3114 for ac_file in conftest.o conftest.obj conftest.*; do
3115 test -f "$ac_file" || continue;
3117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3118 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3129 See \
`config.log' for more details" "$LINENO" 5; }
3131 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3134 $as_echo "$ac_cv_objext" >&6; }
3135 OBJEXT=$ac_cv_objext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3138 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3139 if ${ac_cv_c_compiler_gnu+:} false; then :
3140 $as_echo_n "(cached) " >&6
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3156 if ac_fn_c_try_compile "$LINENO"; then :
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3166 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3167 if test $ac_compiler_gnu = yes; then
3172 ac_test_CFLAGS=${CFLAGS+set}
3173 ac_save_CFLAGS=$CFLAGS
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3175 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3176 if ${ac_cv_prog_cc_g+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 ac_save_c_werror_flag=$ac_c_werror_flag
3180 ac_c_werror_flag=yes
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3194 if ac_fn_c_try_compile "$LINENO"; then :
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3209 if ac_fn_c_try_compile "$LINENO"; then :
3212 ac_c_werror_flag=$ac_save_c_werror_flag
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3225 if ac_fn_c_try_compile "$LINENO"; then :
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 ac_c_werror_flag=$ac_save_c_werror_flag
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3236 $as_echo "$ac_cv_prog_cc_g" >&6; }
3237 if test "$ac_test_CFLAGS" = set; then
3238 CFLAGS=$ac_save_CFLAGS
3239 elif test $ac_cv_prog_cc_g = yes; then
3240 if test "$GCC" = yes; then
3246 if test "$GCC" = yes; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3253 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3254 if ${ac_cv_prog_cc_c89+:} false; then :
3255 $as_echo_n "(cached) " >&6
3257 ac_cv_prog_cc_c89=no
3259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3264 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3265 struct buf { int x; };
3266 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3267 static char *e (p, i)
3273 static char *f (char * (*g) (char **, int), char **p, ...)
3278 s = g (p, va_arg (v,int));
3283 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3284 function prototypes and stuff, but not '\xHH' hex character constants.
3285 These don't provoke an error unfortunately, instead are silently treated
3286 as 'x'. The following induces an error, until -std is added to get
3287 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3288 array size at least. It's necessary to write '\x00'==0 to get something
3289 that's true only with -std. */
3290 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3292 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3293 inside strings and character constants. */
3295 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3297 int test (int i, double x);
3298 struct s1 {int (*f) (int a);};
3299 struct s2 {int (*f) (double a);};
3300 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3306 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3311 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3312 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3314 CC="$ac_save_CC $ac_arg"
3315 if ac_fn_c_try_compile "$LINENO"; then :
3316 ac_cv_prog_cc_c89=$ac_arg
3318 rm -f core conftest.err conftest.$ac_objext
3319 test "x$ac_cv_prog_cc_c89" != "xno" && break
3321 rm -f conftest.$ac_ext
3326 case "x$ac_cv_prog_cc_c89" in
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3329 $as_echo "none needed" >&6; } ;;
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3332 $as_echo "unsupported" >&6; } ;;
3334 CC="$CC $ac_cv_prog_cc_c89"
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3336 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3338 if test "x$ac_cv_prog_cc_c89" != xno; then :
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3349 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3350 if ${ac_cv_path_SED+:} false; then :
3351 $as_echo_n "(cached) " >&6
3353 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3354 for ac_i in 1 2 3 4 5 6 7; do
3355 ac_script="$ac_script$as_nl$ac_script"
3357 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3358 { ac_script=; unset ac_script;}
3359 if test -z "$SED"; then
3360 ac_path_SED_found=false
3361 # Loop through the user's path and test for each of PROGNAME-LIST
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_prog in sed gsed; do
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3370 as_fn_executable_p "$ac_path_SED" || continue
3371 # Check for GNU ac_path_SED and select it if it is found.
3372 # Check for GNU $ac_path_SED
3373 case `"$ac_path_SED" --version 2>&1` in
3375 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3378 $as_echo_n 0123456789 >"conftest.in"
3381 cat "conftest.in" "conftest.in" >"conftest.tmp"
3382 mv "conftest.tmp" "conftest.in"
3383 cp "conftest.in" "conftest.nl"
3384 $as_echo '' >> "conftest.nl"
3385 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3387 as_fn_arith $ac_count + 1 && ac_count=$as_val
3388 if test $ac_count -gt ${ac_path_SED_max-0}; then
3389 # Best one so far, save it but keep looking for a better one
3390 ac_cv_path_SED="$ac_path_SED"
3391 ac_path_SED_max=$ac_count
3393 # 10*(2^10) chars as input seems more than enough
3394 test $ac_count -gt 10 && break
3396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3399 $ac_path_SED_found && break 3
3404 if test -z "$ac_cv_path_SED"; then
3405 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3413 $as_echo "$ac_cv_path_SED" >&6; }
3414 SED="$ac_cv_path_SED"
3417 test -z "$SED" && SED=sed
3418 Xsed="$SED -e 1s/^X//"
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3431 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3432 if ${ac_cv_path_GREP+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 if test -z "$GREP"; then
3436 ac_path_GREP_found=false
3437 # Loop through the user's path and test for each of PROGNAME-LIST
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3442 test -z "$as_dir" && as_dir=.
3443 for ac_prog in grep ggrep; do
3444 for ac_exec_ext in '' $ac_executable_extensions; do
3445 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3446 as_fn_executable_p "$ac_path_GREP" || continue
3447 # Check for GNU ac_path_GREP and select it if it is found.
3448 # Check for GNU $ac_path_GREP
3449 case `"$ac_path_GREP" --version 2>&1` in
3451 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3454 $as_echo_n 0123456789 >"conftest.in"
3457 cat "conftest.in" "conftest.in" >"conftest.tmp"
3458 mv "conftest.tmp" "conftest.in"
3459 cp "conftest.in" "conftest.nl"
3460 $as_echo 'GREP' >> "conftest.nl"
3461 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3463 as_fn_arith $ac_count + 1 && ac_count=$as_val
3464 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3465 # Best one so far, save it but keep looking for a better one
3466 ac_cv_path_GREP="$ac_path_GREP"
3467 ac_path_GREP_max=$ac_count
3469 # 10*(2^10) chars as input seems more than enough
3470 test $ac_count -gt 10 && break
3472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3475 $ac_path_GREP_found && break 3
3480 if test -z "$ac_cv_path_GREP"; then
3481 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3484 ac_cv_path_GREP=$GREP
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3489 $as_echo "$ac_cv_path_GREP" >&6; }
3490 GREP="$ac_cv_path_GREP"
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3494 $as_echo_n "checking for egrep... " >&6; }
3495 if ${ac_cv_path_EGREP+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3499 then ac_cv_path_EGREP="$GREP -E"
3501 if test -z "$EGREP"; then
3502 ac_path_EGREP_found=false
3503 # Loop through the user's path and test for each of PROGNAME-LIST
3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3508 test -z "$as_dir" && as_dir=.
3509 for ac_prog in egrep; do
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3512 as_fn_executable_p "$ac_path_EGREP" || continue
3513 # Check for GNU ac_path_EGREP and select it if it is found.
3514 # Check for GNU $ac_path_EGREP
3515 case `"$ac_path_EGREP" --version 2>&1` in
3517 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3520 $as_echo_n 0123456789 >"conftest.in"
3523 cat "conftest.in" "conftest.in" >"conftest.tmp"
3524 mv "conftest.tmp" "conftest.in"
3525 cp "conftest.in" "conftest.nl"
3526 $as_echo 'EGREP' >> "conftest.nl"
3527 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3529 as_fn_arith $ac_count + 1 && ac_count=$as_val
3530 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3531 # Best one so far, save it but keep looking for a better one
3532 ac_cv_path_EGREP="$ac_path_EGREP"
3533 ac_path_EGREP_max=$ac_count
3535 # 10*(2^10) chars as input seems more than enough
3536 test $ac_count -gt 10 && break
3538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3541 $ac_path_EGREP_found && break 3
3546 if test -z "$ac_cv_path_EGREP"; then
3547 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3550 ac_cv_path_EGREP=$EGREP
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3556 $as_echo "$ac_cv_path_EGREP" >&6; }
3557 EGREP="$ac_cv_path_EGREP"
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3561 $as_echo_n "checking for fgrep... " >&6; }
3562 if ${ac_cv_path_FGREP+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3566 then ac_cv_path_FGREP="$GREP -F"
3568 if test -z "$FGREP"; then
3569 ac_path_FGREP_found=false
3570 # Loop through the user's path and test for each of PROGNAME-LIST
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3575 test -z "$as_dir" && as_dir=.
3576 for ac_prog in fgrep; do
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3579 as_fn_executable_p "$ac_path_FGREP" || continue
3580 # Check for GNU ac_path_FGREP and select it if it is found.
3581 # Check for GNU $ac_path_FGREP
3582 case `"$ac_path_FGREP" --version 2>&1` in
3584 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3587 $as_echo_n 0123456789 >"conftest.in"
3590 cat "conftest.in" "conftest.in" >"conftest.tmp"
3591 mv "conftest.tmp" "conftest.in"
3592 cp "conftest.in" "conftest.nl"
3593 $as_echo 'FGREP' >> "conftest.nl"
3594 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3595 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3596 as_fn_arith $ac_count + 1 && ac_count=$as_val
3597 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3598 # Best one so far, save it but keep looking for a better one
3599 ac_cv_path_FGREP="$ac_path_FGREP"
3600 ac_path_FGREP_max=$ac_count
3602 # 10*(2^10) chars as input seems more than enough
3603 test $ac_count -gt 10 && break
3605 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3608 $ac_path_FGREP_found && break 3
3613 if test -z "$ac_cv_path_FGREP"; then
3614 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3617 ac_cv_path_FGREP=$FGREP
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3623 $as_echo "$ac_cv_path_FGREP" >&6; }
3624 FGREP="$ac_cv_path_FGREP"
3627 test -z "$GREP" && GREP=grep
3647 # Check whether --with-gnu-ld was given.
3648 if test "${with_gnu_ld+set}" = set; then :
3649 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3655 if test "$GCC" = yes; then
3656 # Check if gcc -print-prog-name=ld gives a path.
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3658 $as_echo_n "checking for ld used by $CC... " >&6; }
3661 # gcc leaves a trailing carriage return which upsets mingw
3662 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3664 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3667 # Accept absolute paths.
3669 re_direlt='/[^/][^/]*/\.\./'
3670 # Canonicalize the pathname of ld
3671 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
3672 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3673 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
3675 test -z "$LD" && LD="$ac_prog"
3678 # If it fails, then pretend we aren't using GCC.
3682 # If it is relative, then search for the first ld in PATH.
3686 elif test "$with_gnu_ld" = yes; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3688 $as_echo_n "checking for GNU ld... " >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3691 $as_echo_n "checking for non-GNU ld... " >&6; }
3693 if ${lt_cv_path_LD+:} false; then :
3694 $as_echo_n "(cached) " >&6
3696 if test -z "$LD"; then
3697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3698 for ac_dir in $PATH; do
3700 test -z "$ac_dir" && ac_dir=.
3701 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3702 lt_cv_path_LD="$ac_dir/$ac_prog"
3703 # Check to see if the program is GNU ld. I'd rather use --version,
3704 # but apparently some variants of GNU ld only accept -v.
3705 # Break only if it was the GNU/non-GNU ld that we prefer.
3706 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3707 *GNU* | *'with BFD'*)
3708 test "$with_gnu_ld" != no && break
3711 test "$with_gnu_ld" != yes && break
3718 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3723 if test -n "$LD"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3725 $as_echo "$LD" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3730 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3732 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3733 if ${lt_cv_prog_gnu_ld+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3737 case `$LD -v 2>&1 </dev
/null
` in
3738 *GNU* | *'with BFD'*)
3739 lt_cv_prog_gnu_ld=yes
3742 lt_cv_prog_gnu_ld=no
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3747 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3748 with_gnu_ld=$lt_cv_prog_gnu_ld
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3759 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3760 if ${lt_cv_path_NM+:} false; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$NM"; then
3764 # Let the user override the test.
3767 lt_nm_to_check="${ac_tool_prefix}nm"
3768 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3769 lt_nm_to_check="$lt_nm_to_check nm"
3771 for lt_tmp_nm in $lt_nm_to_check; do
3772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3773 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3775 test -z "$ac_dir" && ac_dir=.
3776 tmp_nm="$ac_dir/$lt_tmp_nm"
3777 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3778 # Check to see if the nm accepts a BSD-compat flag.
3779 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3780 # nm: unknown option "B" ignored
3781 # Tru64's nm complains that
/dev
/null is an invalid object
file
3782 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3783 */dev
/null
* |
*'Invalid file or object type'*)
3784 lt_cv_path_NM
="$tmp_nm -B"
3788 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3790 lt_cv_path_NM
="$tmp_nm -p"
3794 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3795 continue # so that we can try to find one that supports BSD flags
3804 : ${lt_cv_path_NM=no}
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3808 $as_echo "$lt_cv_path_NM" >&6; }
3809 if test "$lt_cv_path_NM" != "no"; then
3812 # Didn't find any BSD compatible name lister, look for dumpbin.
3813 if test -n "$ac_tool_prefix"; then
3814 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3817 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3821 $as_echo_n "(cached) " >&6
3823 if test -n "$DUMPBIN"; then
3824 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_exec_ext
in '' $ac_executable_extensions; do
3832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3833 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 DUMPBIN
=$ac_cv_prog_DUMPBIN
3844 if test -n "$DUMPBIN"; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3846 $as_echo "$DUMPBIN" >&6; }
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849 $as_echo "no" >&6; }
3853 test -n "$DUMPBIN" && break
3856 if test -z "$DUMPBIN"; then
3857 ac_ct_DUMPBIN
=$DUMPBIN
3858 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3860 # Extract the first word of "$ac_prog", so it can be a program name with args.
3861 set dummy
$ac_prog; ac_word
=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3865 $as_echo_n "(cached) " >&6
3867 if test -n "$ac_ct_DUMPBIN"; then
3868 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir
=.
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3888 if test -n "$ac_ct_DUMPBIN"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3890 $as_echo "$ac_ct_DUMPBIN" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3897 test -n "$ac_ct_DUMPBIN" && break
3900 if test "x$ac_ct_DUMPBIN" = x
; then
3903 case $cross_compiling:$ac_tool_warned in
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3907 ac_tool_warned
=yes ;;
3909 DUMPBIN
=$ac_ct_DUMPBIN
3914 if test "$DUMPBIN" != ":"; then
3918 test -z "$NM" && NM
=nm
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3927 if ${lt_cv_nm_interface+:} false
; then :
3928 $as_echo_n "(cached) " >&6
3930 lt_cv_nm_interface
="BSD nm"
3931 echo "int some_variable = 0;" > conftest.
$ac_ext
3932 (eval echo "\"\$as_me:3932: $ac_compile\"" >&5)
3933 (eval "$ac_compile" 2>conftest.err
)
3934 cat conftest.err
>&5
3935 (eval echo "\"\$as_me:3935: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3937 cat conftest.err
>&5
3938 (eval echo "\"\$as_me:3938: output\"" >&5)
3939 cat conftest.out
>&5
3940 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3941 lt_cv_nm_interface
="MS dumpbin"
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3946 $as_echo "$lt_cv_nm_interface" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3949 $as_echo_n "checking whether ln -s works... " >&6; }
3951 if test "$LN_S" = "ln -s"; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3953 $as_echo "yes" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3956 $as_echo "no, using $LN_S" >&6; }
3959 # find the maximum length of command line arguments
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3961 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3962 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3963 $as_echo_n "(cached) " >&6
3970 # On DJGPP, this test can blow up pretty badly due to problems in libc
3971 # (any single argument exceeding 2000 bytes causes a buffer overrun
3972 # during glob expansion). Even if it were fixed, the result of this
3973 # check would be larger than it should be.
3974 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3978 # Under GNU Hurd, this test is not required because there is
3979 # no limit to the length of command line arguments.
3980 # Libtool will interpret -1 as no limit whatsoever
3981 lt_cv_sys_max_cmd_len
=-1;
3984 cygwin
* | mingw
* | cegcc
*)
3985 # On Win9x/ME, this test blows up -- it succeeds, but takes
3986 # about 5 minutes as the teststring grows exponentially.
3987 # Worse, since 9x/ME are not pre-emptively multitasking,
3988 # you end up with a "frozen" computer, even though with patience
3989 # the test eventually succeeds (with a max line length of 256k).
3990 # Instead, let's just punt: use the minimum linelength reported by
3991 # all of the supported platforms: 8192 (on NT/2K/XP).
3992 lt_cv_sys_max_cmd_len
=8192;
3996 # On AmigaOS with pdksh, this test takes hours, literally.
3997 # So we just punt and use a minimum line length of 8192.
3998 lt_cv_sys_max_cmd_len
=8192;
4001 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4002 # This has been around since 386BSD, at least. Likely further.
4003 if test -x /sbin
/sysctl
; then
4004 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4005 elif test -x /usr
/sbin
/sysctl
; then
4006 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4008 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4010 # And add a safety zone
4011 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4012 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4016 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4017 lt_cv_sys_max_cmd_len
=196608
4021 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4022 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4023 # nice to cause kernel panics so lets avoid the loop below.
4024 # First set a reasonable default.
4025 lt_cv_sys_max_cmd_len
=16384
4027 if test -x /sbin
/sysconfig
; then
4028 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4029 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4034 lt_cv_sys_max_cmd_len
=102400
4036 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4037 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4038 if test -n "$kargmax"; then
4039 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4041 lt_cv_sys_max_cmd_len
=32768
4045 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4046 if test -n "$lt_cv_sys_max_cmd_len"; then
4047 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4048 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4050 # Make teststring a little bigger before we do anything with it.
4051 # a 1K string should be a reasonable start.
4052 for i
in 1 2 3 4 5 6 7 8 ; do
4053 teststring
=$teststring$teststring
4055 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4056 # If test is not a shell built-in, we'll probably end up computing a
4057 # maximum length that is only half of the actual maximum length, but
4059 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4060 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4061 test $i != 17 # 1/2 MB should be enough
4064 teststring
=$teststring$teststring
4066 # Only check the string length outside the loop.
4067 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4069 # Add a significant safety factor because C++ compilers can tack on
4070 # massive amounts of additional arguments before passing them to the
4071 # linker. It appears as though 1/2 is a usable value.
4072 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4079 if test -n $lt_cv_sys_max_cmd_len ; then
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4081 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4084 $as_echo "none" >&6; }
4086 max_cmd_len
=$lt_cv_sys_max_cmd_len
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4098 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4099 # Try some XSI features
4102 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4104 && eval 'test $(( 1 + 1 )) -eq 2 \
4105 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4108 $as_echo "$xsi_shell" >&6; }
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4112 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4114 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4116 && lt_shell_append=yes
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4118 $as_echo "$lt_shell_append" >&6; }
4121 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4131 # test EBCDIC or ASCII
4132 case `echo X|tr X '\101'` in
4133 A) # ASCII based system
4134 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4135 lt_SP2NL='tr \040 \012'
4136 lt_NL2SP='tr \015\012 \040\040'
4138 *) # EBCDIC based system
4139 lt_SP2NL='tr \100 \n'
4140 lt_NL2SP='tr \r\n \100\100'
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4153 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4154 if ${lt_cv_ld_reload_flag+:} false; then :
4155 $as_echo_n "(cached
) " >&6
4157 lt_cv_ld_reload_flag='-r'
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4160 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4161 reload_flag=$lt_cv_ld_reload_flag
4162 case $reload_flag in
4164 *) reload_flag=" $reload_flag" ;;
4166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4169 if test "$GCC" = yes; then
4170 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4185 if test -n "$ac_tool_prefix"; then
4186 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4187 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4189 $as_echo_n "checking
for $ac_word...
" >&6; }
4190 if ${ac_cv_prog_OBJDUMP+:} false; then :
4191 $as_echo_n "(cached
) " >&6
4193 if test -n "$OBJDUMP"; then
4194 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4213 OBJDUMP=$ac_cv_prog_OBJDUMP
4214 if test -n "$OBJDUMP"; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4216 $as_echo "$OBJDUMP" >&6; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4219 $as_echo "no
" >&6; }
4224 if test -z "$ac_cv_prog_OBJDUMP"; then
4225 ac_ct_OBJDUMP=$OBJDUMP
4226 # Extract the first word of "objdump
", so it can be a program name with args.
4227 set dummy objdump; ac_word=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4229 $as_echo_n "checking
for $ac_word...
" >&6; }
4230 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4231 $as_echo_n "(cached
) " >&6
4233 if test -n "$ac_ct_OBJDUMP"; then
4234 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir=.
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4243 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4253 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4254 if test -n "$ac_ct_OBJDUMP"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4256 $as_echo "$ac_ct_OBJDUMP" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4259 $as_echo "no
" >&6; }
4262 if test "x
$ac_ct_OBJDUMP" = x; then
4265 case $cross_compiling:$ac_tool_warned in
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4269 ac_tool_warned=yes ;;
4271 OBJDUMP=$ac_ct_OBJDUMP
4274 OBJDUMP="$ac_cv_prog_OBJDUMP"
4277 test -z "$OBJDUMP" && OBJDUMP=objdump
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4288 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4289 if ${lt_cv_deplibs_check_method+:} false; then :
4290 $as_echo_n "(cached
) " >&6
4292 lt_cv_file_magic_cmd='$MAGIC_CMD'
4293 lt_cv_file_magic_test_file=
4294 lt_cv_deplibs_check_method='unknown'
4295 # Need to set the preceding variable on all platforms that support
4296 # interlibrary dependencies.
4297 # 'none' -- dependencies not supported.
4298 # `unknown' -- same as none, but documents that we really don't know.
4299 # 'pass_all' -- all dependencies passed with no checks.
4300 # 'test_compile' -- check by making test program.
4301 # 'file_magic [[regex]]' -- check by looking for files in library path
4302 # which responds to the $file_magic_cmd with a given extended regex.
4303 # If you have `file' or equivalent on your system and you're not sure
4304 # whether `pass_all' will *always* work, you probably want this one.
4308 lt_cv_deplibs_check_method=pass_all
4312 lt_cv_deplibs_check_method=pass_all
4316 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4317 lt_cv_file_magic_cmd='/usr/bin/file -L'
4318 lt_cv_file_magic_test_file=/shlib/libc.so
4322 # func_win32_libid is a shell function defined in ltmain.sh
4323 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4324 lt_cv_file_magic_cmd='func_win32_libid'
4328 # Base MSYS/MinGW do not provide the 'file' command needed by
4329 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4330 # unless we find 'file', for example because we are cross-compiling.
4331 if ( file / ) >/dev/null 2>&1; then
4332 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4333 lt_cv_file_magic_cmd='func_win32_libid'
4335 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4336 lt_cv_file_magic_cmd='$OBJDUMP -f'
4341 # use the weaker test based on 'objdump'. See mingw*.
4342 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4343 lt_cv_file_magic_cmd='$OBJDUMP -f'
4346 darwin* | rhapsody*)
4347 lt_cv_deplibs_check_method=pass_all
4350 freebsd* | dragonfly*)
4351 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4354 # Not sure whether the presence of OpenBSD here was a mistake.
4355 # Let's accept both of them until this is cleared up.
4356 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4357 lt_cv_file_magic_cmd=/usr/bin/file
4358 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4362 lt_cv_deplibs_check_method=pass_all
4367 lt_cv_deplibs_check_method=pass_all
4370 hpux10.20* | hpux11*)
4371 lt_cv_file_magic_cmd=/usr/bin/file
4374 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4375 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4378 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]'
4379 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4382 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4383 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4389 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4390 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4393 irix5* | irix6* | nonstopux*)
4395 *-32|*"-32 ") libmagic=32-bit;;
4396 *-n32|*"-n32 ") libmagic=N32;;
4397 *-64|*"-64 ") libmagic=64-bit;;
4398 *) libmagic=never-match;;
4400 lt_cv_deplibs_check_method=pass_all
4403 # This must be Linux ELF.
4404 linux* | k*bsd*-gnu)
4405 lt_cv_deplibs_check_method=pass_all
4409 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4410 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4412 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4417 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4418 lt_cv_file_magic_cmd=/usr/bin/file
4419 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4423 lt_cv_deplibs_check_method=pass_all
4427 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4434 osf3* | osf4* | osf5*)
4435 lt_cv_deplibs_check_method=pass_all
4439 lt_cv_deplibs_check_method=pass_all
4443 lt_cv_deplibs_check_method=pass_all
4446 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4447 lt_cv_deplibs_check_method=pass_all
4451 case $host_vendor in
4453 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]'
4454 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4457 lt_cv_deplibs_check_method=pass_all
4460 lt_cv_file_magic_cmd='/bin/file'
4461 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4464 lt_cv_file_magic_cmd='/bin/file'
4465 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4466 lt_cv_file_magic_test_file=/lib/libc.so
4469 lt_cv_deplibs_check_method=pass_all
4472 lt_cv_deplibs_check_method=pass_all
4478 lt_cv_deplibs_check_method=pass_all
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4484 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4485 file_magic_cmd=$lt_cv_file_magic_cmd
4486 deplibs_check_method=$lt_cv_deplibs_check_method
4487 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4500 if test -n "$ac_tool_prefix"; then
4501 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4502 set dummy ${ac_tool_prefix}ar; ac_word=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4504 $as_echo_n "checking
for $ac_word...
" >&6; }
4505 if ${ac_cv_prog_AR+:} false; then :
4506 $as_echo_n "(cached
) " >&6
4508 if test -n "$AR"; then
4509 ac_cv_prog_AR="$AR" # Let the user override the test.
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir=.
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_AR="${ac_tool_prefix}ar"
4519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4529 if test -n "$AR"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
4531 $as_echo "$AR" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4534 $as_echo "no
" >&6; }
4539 if test -z "$ac_cv_prog_AR"; then
4541 # Extract the first word of "ar", so it can be a program name with args.
4542 set dummy ar; ac_word=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4544 $as_echo_n "checking
for $ac_word...
" >&6; }
4545 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4546 $as_echo_n "(cached
) " >&6
4548 if test -n "$ac_ct_AR"; then
4549 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_ac_ct_AR="ar"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4568 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4569 if test -n "$ac_ct_AR"; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
4571 $as_echo "$ac_ct_AR" >&6; }
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4574 $as_echo "no
" >&6; }
4577 if test "x
$ac_ct_AR" = x; then
4580 case $cross_compiling:$ac_tool_warned in
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4583 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4584 ac_tool_warned=yes ;;
4592 test -z "$AR" && AR=ar
4593 test -z "$AR_FLAGS" && AR_FLAGS=cru
4605 if test -n "$ac_tool_prefix"; then
4606 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4607 set dummy ${ac_tool_prefix}strip; ac_word=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4609 $as_echo_n "checking
for $ac_word...
" >&6; }
4610 if ${ac_cv_prog_STRIP+:} false; then :
4611 $as_echo_n "(cached
) " >&6
4613 if test -n "$STRIP"; then
4614 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4633 STRIP=$ac_cv_prog_STRIP
4634 if test -n "$STRIP"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4636 $as_echo "$STRIP" >&6; }
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4639 $as_echo "no
" >&6; }
4644 if test -z "$ac_cv_prog_STRIP"; then
4646 # Extract the first word of "strip
", so it can be a program name with args.
4647 set dummy strip; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4649 $as_echo_n "checking
for $ac_word...
" >&6; }
4650 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4651 $as_echo_n "(cached
) " >&6
4653 if test -n "$ac_ct_STRIP"; then
4654 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_ac_ct_STRIP="strip
"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4673 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4674 if test -n "$ac_ct_STRIP"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
4676 $as_echo "$ac_ct_STRIP" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4679 $as_echo "no
" >&6; }
4682 if test "x
$ac_ct_STRIP" = x; then
4685 case $cross_compiling:$ac_tool_warned in
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4688 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4689 ac_tool_warned=yes ;;
4694 STRIP="$ac_cv_prog_STRIP"
4697 test -z "$STRIP" && STRIP=:
4704 if test -n "$ac_tool_prefix"; then
4705 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4706 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4708 $as_echo_n "checking
for $ac_word...
" >&6; }
4709 if ${ac_cv_prog_RANLIB+:} false; then :
4710 $as_echo_n "(cached
) " >&6
4712 if test -n "$RANLIB"; then
4713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir=.
4720 for ac_exec_ext in '' $ac_executable_extensions; do
4721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4732 RANLIB=$ac_cv_prog_RANLIB
4733 if test -n "$RANLIB"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
4735 $as_echo "$RANLIB" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4738 $as_echo "no
" >&6; }
4743 if test -z "$ac_cv_prog_RANLIB"; then
4744 ac_ct_RANLIB=$RANLIB
4745 # Extract the first word of "ranlib
", so it can be a program name with args.
4746 set dummy ranlib; ac_word=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4748 $as_echo_n "checking
for $ac_word...
" >&6; }
4749 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4750 $as_echo_n "(cached
) " >&6
4752 if test -n "$ac_ct_RANLIB"; then
4753 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir=.
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4772 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4773 if test -n "$ac_ct_RANLIB"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
4775 $as_echo "$ac_ct_RANLIB" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4778 $as_echo "no
" >&6; }
4781 if test "x
$ac_ct_RANLIB" = x; then
4784 case $cross_compiling:$ac_tool_warned in
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4787 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4788 ac_tool_warned=yes ;;
4790 RANLIB=$ac_ct_RANLIB
4793 RANLIB="$ac_cv_prog_RANLIB"
4796 test -z "$RANLIB" && RANLIB=:
4803 # Determine commands to create old-style static archives.
4804 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4805 old_postinstall_cmds='chmod 644 $oldlib'
4806 old_postuninstall_cmds=
4808 if test -n "$RANLIB"; then
4811 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4814 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4817 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4853 # If no C compiler was specified, use CC.
4856 # If no C compiler flags were specified, use CFLAGS.
4857 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4859 # Allow CC to be a program name with arguments.
4863 # Check for command to grab the raw symbol name followed by C symbol from nm.
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
4865 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4866 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
4867 $as_echo_n "(cached
) " >&6
4870 # These are sane defaults that work on at least a few old systems.
4871 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4873 # Character class describing NM global symbol codes.
4874 symcode='[BCDEGRST]'
4876 # Regexp to match symbols that can be accessed directly from C.
4877 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4879 # Define system-specific variables.
4884 cygwin* | mingw* | pw32* | cegcc*)
4885 symcode='[ABCDGISTW]'
4888 if test "$host_cpu" = ia64; then
4889 symcode='[ABCDEGRST]'
4893 symcode='[BCDEGRST]'
4896 symcode='[BCDEGQRST]'
4907 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4915 # If we're using GNU nm, then use its standard symbol codes.
4916 case `$NM -V 2>&1` in
4917 *GNU* | *'with BFD'*)
4918 symcode='[ABCDGIRSTW]' ;;
4921 # Transform an extracted symbol line into a proper C declaration.
4922 # Some systems (esp. on ia64) link data and code symbols differently,
4923 # so use this general approach.
4924 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4926 # Transform an extracted symbol line into symbol name and symbol address
4927 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4928 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'"
4930 # Handle CRLF in mingw tool chain
4934 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4938 # Try without a prefix underscore, then with it.
4939 for ac_symprfx in "" "_
"; do
4941 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4942 symxfrm="\\1 $ac_symprfx\\2 \\2"
4944 # Write the raw and C identifiers.
4945 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4946 # Fake it for dumpbin and say T for any non-static function
4947 # and D for any global variable.
4948 # Also find C++ and __fastcall symbols from MSVC++,
4949 # which start with @ or ?.
4950 lt_cv_sys_global_symbol_pipe="$AWK '"\
4951 " {last_section=section; section=\$ 3};"\
4952 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4953 " \$ 0!~/External *\|/{next};"\
4954 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4955 " {if(hide[section]) next};"\
4956 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4957 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4958 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4959 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4960 " ' prfx
=^
$ac_symprfx"
4962 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4965 # Check to see that the pipe works correctly.
4969 cat > conftest.$ac_ext <<_LT_EOF
4974 void nm_test_func(void);
4975 void nm_test_func(void){}
4979 int main(){nm_test_var='a';nm_test_func();return(0);}
4982 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4983 (eval $ac_compile) 2>&5
4985 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4986 test $ac_status = 0; }; then
4987 # Now try to grab the symbols.
4989 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
4990 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4992 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4993 test $ac_status = 0; } && test -s "$nlist"; then
4994 # Try sorting and uniquifying the output.
4995 if sort "$nlist" | uniq > "$nlist"T; then
4996 mv -f "$nlist"T "$nlist"
5001 # Make sure that we snagged all the symbols we need.
5002 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5003 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5004 cat <<_LT_EOF > conftest.$ac_ext
5010 # Now generate the symbol file.
5011 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5013 cat <<_LT_EOF >> conftest.$ac_ext
5015 /* The mapping between symbol names and symbols. */
5020 lt__PROGRAM__LTX_preloaded_symbols[] =
5022 { "@PROGRAM@
", (void *) 0 },
5024 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5025 cat <<\_LT_EOF >> conftest.$ac_ext
5029 /* This works around a problem in FreeBSD linker */
5030 #ifdef FREEBSD_WORKAROUND
5031 static const void *lt_preloaded_setup() {
5032 return lt__PROGRAM__LTX_preloaded_symbols;
5040 # Now try linking the two files.
5041 mv conftest.$ac_objext conftstm.$ac_objext
5042 lt_save_LIBS="$LIBS"
5043 lt_save_CFLAGS="$CFLAGS"
5044 LIBS="conftstm.
$ac_objext"
5045 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5046 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5047 (eval $ac_link) 2>&5
5049 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5050 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5053 LIBS="$lt_save_LIBS"
5054 CFLAGS="$lt_save_CFLAGS"
5056 echo "cannot
find nm_test_func
in $nlist" >&5
5059 echo "cannot
find nm_test_var
in $nlist" >&5
5062 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5065 echo "$progname: failed program was
:" >&5
5066 cat conftest.$ac_ext >&5
5068 rm -rf conftest* conftst*
5070 # Do not use the global_symbol_pipe unless it works.
5071 if test "$pipe_works" = yes; then
5074 lt_cv_sys_global_symbol_pipe=
5080 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5081 lt_cv_sys_global_symbol_to_cdecl=
5083 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5085 $as_echo "failed
" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5088 $as_echo "ok
" >&6; }
5113 # Check whether --enable-libtool-lock was given.
5114 if test "${enable_libtool_lock+set}" = set; then :
5115 enableval=$enable_libtool_lock;
5118 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5120 # Some flags need to be propagated to the compiler or linker for good
5124 # Find out which ABI we are using.
5125 echo 'int i;' > conftest.$ac_ext
5126 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5127 (eval $ac_compile) 2>&5
5129 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5130 test $ac_status = 0; }; then
5131 case `/usr/bin/file conftest.$ac_objext` in
5143 # Find out which ABI we are using.
5144 echo '#line 5144 "configure
"' > conftest.$ac_ext
5145 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5146 (eval $ac_compile) 2>&5
5148 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5149 test $ac_status = 0; }; then
5150 if test "$lt_cv_prog_gnu_ld" = yes; then
5151 case `/usr/bin/file conftest.$ac_objext` in
5153 LD="${LD-ld} -melf32bsmip"
5156 LD="${LD-ld} -melf32bmipn32"
5159 LD="${LD-ld} -melf64bmip"
5163 case `/usr/bin/file conftest.$ac_objext` in
5179 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5180 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5181 # Find out which ABI we are using.
5182 echo 'int i;' > conftest.$ac_ext
5183 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5184 (eval $ac_compile) 2>&5
5186 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5187 test $ac_status = 0; }; then
5188 case `/usr/bin/file conftest.o` in
5191 x86_64-*kfreebsd*-gnu)
5192 LD="${LD-ld} -m elf_i386_fbsd
"
5195 LD="${LD-ld} -m elf_i386
"
5197 ppc64-*linux*|powerpc64-*linux*)
5198 LD="${LD-ld} -m elf32ppclinux
"
5201 LD="${LD-ld} -m elf_s390
"
5204 LD="${LD-ld} -m elf32_sparc
"
5210 x86_64-*kfreebsd*-gnu)
5211 LD="${LD-ld} -m elf_x86_64_fbsd
"
5214 LD="${LD-ld} -m elf_x86_64
"
5216 ppc*-*linux*|powerpc*-*linux*)
5217 LD="${LD-ld} -m elf64ppc
"
5219 s390*-*linux*|s390*-*tpf*)
5220 LD="${LD-ld} -m elf64_s390
"
5223 LD="${LD-ld} -m elf64_sparc
"
5233 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5234 SAVE_CFLAGS="$CFLAGS"
5235 CFLAGS="$CFLAGS -belf"
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5237 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5238 if ${lt_cv_cc_needs_belf+:} false; then :
5239 $as_echo_n "(cached
) " >&6
5242 ac_cpp='$CPP $CPPFLAGS'
5243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5258 if ac_fn_c_try_link "$LINENO"; then :
5259 lt_cv_cc_needs_belf=yes
5261 lt_cv_cc_needs_belf=no
5263 rm -f core conftest.err conftest.$ac_objext \
5264 conftest$ac_exeext conftest.$ac_ext
5266 ac_cpp='$CPP $CPPFLAGS'
5267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5273 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5274 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5275 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5276 CFLAGS="$SAVE_CFLAGS"
5280 # Find out which ABI we are using.
5281 echo 'int i;' > conftest.$ac_ext
5282 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5283 (eval $ac_compile) 2>&5
5285 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5286 test $ac_status = 0; }; then
5287 case `/usr/bin/file conftest.o` in
5289 case $lt_cv_prog_gnu_ld in
5290 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5292 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5304 need_locks="$enable_libtool_lock"
5308 rhapsody* | darwin*)
5309 if test -n "$ac_tool_prefix"; then
5310 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5311 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5313 $as_echo_n "checking
for $ac_word...
" >&6; }
5314 if ${ac_cv_prog_DSYMUTIL+:} false; then :
5315 $as_echo_n "(cached
) " >&6
5317 if test -n "$DSYMUTIL"; then
5318 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5337 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5338 if test -n "$DSYMUTIL"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5340 $as_echo "$DSYMUTIL" >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5343 $as_echo "no
" >&6; }
5348 if test -z "$ac_cv_prog_DSYMUTIL"; then
5349 ac_ct_DSYMUTIL=$DSYMUTIL
5350 # Extract the first word of "dsymutil
", so it can be a program name with args.
5351 set dummy dsymutil; ac_word=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5353 $as_echo_n "checking
for $ac_word...
" >&6; }
5354 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5355 $as_echo_n "(cached
) " >&6
5357 if test -n "$ac_ct_DSYMUTIL"; then
5358 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5377 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5378 if test -n "$ac_ct_DSYMUTIL"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
5380 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5383 $as_echo "no
" >&6; }
5386 if test "x
$ac_ct_DSYMUTIL" = x; then
5389 case $cross_compiling:$ac_tool_warned in
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5392 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5393 ac_tool_warned=yes ;;
5395 DSYMUTIL=$ac_ct_DSYMUTIL
5398 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5401 if test -n "$ac_tool_prefix"; then
5402 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5403 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5405 $as_echo_n "checking
for $ac_word...
" >&6; }
5406 if ${ac_cv_prog_NMEDIT+:} false; then :
5407 $as_echo_n "(cached
) " >&6
5409 if test -n "$NMEDIT"; then
5410 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5429 NMEDIT=$ac_cv_prog_NMEDIT
5430 if test -n "$NMEDIT"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
5432 $as_echo "$NMEDIT" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5435 $as_echo "no
" >&6; }
5440 if test -z "$ac_cv_prog_NMEDIT"; then
5441 ac_ct_NMEDIT=$NMEDIT
5442 # Extract the first word of "nmedit
", so it can be a program name with args.
5443 set dummy nmedit; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5445 $as_echo_n "checking
for $ac_word...
" >&6; }
5446 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
5447 $as_echo_n "(cached
) " >&6
5449 if test -n "$ac_ct_NMEDIT"; then
5450 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5469 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5470 if test -n "$ac_ct_NMEDIT"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
5472 $as_echo "$ac_ct_NMEDIT" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5475 $as_echo "no
" >&6; }
5478 if test "x
$ac_ct_NMEDIT" = x; then
5481 case $cross_compiling:$ac_tool_warned in
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5484 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5485 ac_tool_warned=yes ;;
5487 NMEDIT=$ac_ct_NMEDIT
5490 NMEDIT="$ac_cv_prog_NMEDIT"
5493 if test -n "$ac_tool_prefix"; then
5494 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5495 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5497 $as_echo_n "checking
for $ac_word...
" >&6; }
5498 if ${ac_cv_prog_LIPO+:} false; then :
5499 $as_echo_n "(cached
) " >&6
5501 if test -n "$LIPO"; then
5502 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5521 LIPO=$ac_cv_prog_LIPO
5522 if test -n "$LIPO"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
5524 $as_echo "$LIPO" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5527 $as_echo "no
" >&6; }
5532 if test -z "$ac_cv_prog_LIPO"; then
5534 # Extract the first word of "lipo
", so it can be a program name with args.
5535 set dummy lipo; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5537 $as_echo_n "checking
for $ac_word...
" >&6; }
5538 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
5539 $as_echo_n "(cached
) " >&6
5541 if test -n "$ac_ct_LIPO"; then
5542 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_ac_ct_LIPO="lipo
"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5561 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5562 if test -n "$ac_ct_LIPO"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
5564 $as_echo "$ac_ct_LIPO" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5567 $as_echo "no
" >&6; }
5570 if test "x
$ac_ct_LIPO" = x; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5576 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5577 ac_tool_warned=yes ;;
5582 LIPO="$ac_cv_prog_LIPO"
5585 if test -n "$ac_tool_prefix"; then
5586 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5587 set dummy ${ac_tool_prefix}otool; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5589 $as_echo_n "checking
for $ac_word...
" >&6; }
5590 if ${ac_cv_prog_OTOOL+:} false; then :
5591 $as_echo_n "(cached
) " >&6
5593 if test -n "$OTOOL"; then
5594 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5613 OTOOL=$ac_cv_prog_OTOOL
5614 if test -n "$OTOOL"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
5616 $as_echo "$OTOOL" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5619 $as_echo "no
" >&6; }
5624 if test -z "$ac_cv_prog_OTOOL"; then
5626 # Extract the first word of "otool
", so it can be a program name with args.
5627 set dummy otool; ac_word=$2
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5629 $as_echo_n "checking
for $ac_word...
" >&6; }
5630 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
5631 $as_echo_n "(cached
) " >&6
5633 if test -n "$ac_ct_OTOOL"; then
5634 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5643 ac_cv_prog_ac_ct_OTOOL="otool
"
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5653 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5654 if test -n "$ac_ct_OTOOL"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
5656 $as_echo "$ac_ct_OTOOL" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5659 $as_echo "no
" >&6; }
5662 if test "x
$ac_ct_OTOOL" = x; then
5665 case $cross_compiling:$ac_tool_warned in
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5668 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5669 ac_tool_warned=yes ;;
5674 OTOOL="$ac_cv_prog_OTOOL"
5677 if test -n "$ac_tool_prefix"; then
5678 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5679 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5681 $as_echo_n "checking
for $ac_word...
" >&6; }
5682 if ${ac_cv_prog_OTOOL64+:} false; then :
5683 $as_echo_n "(cached
) " >&6
5685 if test -n "$OTOOL64"; then
5686 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir=.
5693 for ac_exec_ext in '' $ac_executable_extensions; do
5694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5695 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5705 OTOOL64=$ac_cv_prog_OTOOL64
5706 if test -n "$OTOOL64"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
5708 $as_echo "$OTOOL64" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5711 $as_echo "no
" >&6; }
5716 if test -z "$ac_cv_prog_OTOOL64"; then
5717 ac_ct_OTOOL64=$OTOOL64
5718 # Extract the first word of "otool64
", so it can be a program name with args.
5719 set dummy otool64; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5721 $as_echo_n "checking
for $ac_word...
" >&6; }
5722 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
5723 $as_echo_n "(cached
) " >&6
5725 if test -n "$ac_ct_OTOOL64"; then
5726 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5745 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5746 if test -n "$ac_ct_OTOOL64"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
5748 $as_echo "$ac_ct_OTOOL64" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5751 $as_echo "no
" >&6; }
5754 if test "x
$ac_ct_OTOOL64" = x; then
5757 case $cross_compiling:$ac_tool_warned in
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5760 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5761 ac_tool_warned=yes ;;
5763 OTOOL64=$ac_ct_OTOOL64
5766 OTOOL64="$ac_cv_prog_OTOOL64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
5796 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5797 if ${lt_cv_apple_cc_single_mod+:} false; then :
5798 $as_echo_n "(cached
) " >&6
5800 lt_cv_apple_cc_single_mod=no
5801 if test -z "${LT_MULTI_MODULE}"; then
5802 # By default we will add the -single_module flag. You can override
5803 # by either setting the environment variable LT_MULTI_MODULE
5804 # non-empty at configure time, or by adding -multi_module to the
5806 rm -rf libconftest.dylib*
5807 echo "int foo
(void
){return 1;}" > conftest.c
5808 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5809 -dynamiclib -Wl,-single_module conftest.c
" >&5
5810 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5811 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5813 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5814 lt_cv_apple_cc_single_mod=yes
5816 cat conftest.err >&5
5818 rm -rf libconftest.dylib*
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
5823 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
5825 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5826 if ${lt_cv_ld_exported_symbols_list+:} false; then :
5827 $as_echo_n "(cached
) " >&6
5829 lt_cv_ld_exported_symbols_list=no
5830 save_LDFLAGS=$LDFLAGS
5831 echo "_main
" > conftest.sym
5832 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5844 if ac_fn_c_try_link "$LINENO"; then :
5845 lt_cv_ld_exported_symbols_list=yes
5847 lt_cv_ld_exported_symbols_list=no
5849 rm -f core conftest.err conftest.$ac_objext \
5850 conftest$ac_exeext conftest.$ac_ext
5851 LDFLAGS="$save_LDFLAGS"
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
5855 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5857 rhapsody* | darwin1.[012])
5858 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5861 darwin*) # darwin 5.x on
5862 # if running on 10.5 or later, the deployment target defaults
5863 # to the OS version, if on x86, and 10.4, the deployment
5864 # target defaults to 10.4. Don't you love it?
5865 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5866 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5867 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5869 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5871 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5875 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5876 _lt_dar_single_mod='$single_module'
5878 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5879 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5881 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5883 if test "$DSYMUTIL" != ":"; then
5884 _lt_dsymutil='~$DSYMUTIL $lib || :'
5892 ac_cpp='$CPP $CPPFLAGS'
5893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
5897 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5898 # On Suns, sometimes $CPP names a directory.
5899 if test -n "$CPP" && test -d "$CPP"; then
5902 if test -z "$CPP"; then
5903 if ${ac_cv_prog_CPP+:} false; then :
5904 $as_echo_n "(cached
) " >&6
5906 # Double quotes because CPP needs to be expanded
5907 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5910 for ac_c_preproc_warn_flag in '' yes
5912 # Use a header file that comes with gcc, so configuring glibc
5913 # with a fresh cross-compiler works.
5914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5915 # <limits.h> exists even on freestanding compilers.
5916 # On the NeXT, cc -E runs the code through the compiler's parser,
5917 # not just through cpp. "Syntax error
" is here to catch this case.
5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5921 # include <limits.h>
5923 # include <assert.h>
5927 if ac_fn_c_try_cpp "$LINENO"; then :
5930 # Broken: fails on valid input.
5933 rm -f conftest.err conftest.i conftest.$ac_ext
5935 # OK, works on sane cases. Now check whether nonexistent headers
5936 # can be detected and how.
5937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5939 #include <ac_nonexistent.h>
5941 if ac_fn_c_try_cpp "$LINENO"; then :
5942 # Broken: success on invalid input.
5945 # Passes both tests.
5949 rm -f conftest.err conftest.i conftest.$ac_ext
5952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5953 rm -f conftest.i conftest.err conftest.$ac_ext
5954 if $ac_preproc_ok; then :
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
5967 $as_echo "$CPP" >&6; }
5969 for ac_c_preproc_warn_flag in '' yes
5971 # Use a header file that comes with gcc, so configuring glibc
5972 # with a fresh cross-compiler works.
5973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5974 # <limits.h> exists even on freestanding compilers.
5975 # On the NeXT, cc -E runs the code through the compiler's parser,
5976 # not just through cpp. "Syntax error
" is here to catch this case.
5977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */
5980 # include <limits.h>
5982 # include <assert.h>
5986 if ac_fn_c_try_cpp "$LINENO"; then :
5989 # Broken: fails on valid input.
5992 rm -f conftest.err conftest.i conftest.$ac_ext
5994 # OK, works on sane cases. Now check whether nonexistent headers
5995 # can be detected and how.
5996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5998 #include <ac_nonexistent.h>
6000 if ac_fn_c_try_cpp "$LINENO"; then :
6001 # Broken: success on invalid input.
6004 # Passes both tests.
6008 rm -f conftest.err conftest.i conftest.$ac_ext
6011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6012 rm -f conftest.i conftest.err conftest.$ac_ext
6013 if $ac_preproc_ok; then :
6016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6018 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6019 See \`config.log' for more details
" "$LINENO" 5; }
6023 ac_cpp='$CPP $CPPFLAGS'
6024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6030 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6031 if ${ac_cv_header_stdc+:} false; then :
6032 $as_echo_n "(cached
) " >&6
6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6049 if ac_fn_c_try_compile "$LINENO"; then :
6050 ac_cv_header_stdc=yes
6052 ac_cv_header_stdc=no
6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 if test $ac_cv_header_stdc = yes; then
6057 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6059 /* end confdefs.h. */
6063 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6064 $EGREP "memchr
" >/dev/null 2>&1; then :
6067 ac_cv_header_stdc=no
6073 if test $ac_cv_header_stdc = yes; then
6074 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6076 /* end confdefs.h. */
6080 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6081 $EGREP "free
" >/dev/null 2>&1; then :
6084 ac_cv_header_stdc=no
6090 if test $ac_cv_header_stdc = yes; then
6091 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6092 if test "$cross_compiling" = yes; then :
6095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6099 #if ((' ' & 0x0FF) == 0x020)
6100 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6101 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6103 # define ISLOWER(c) \
6104 (('a' <= (c) && (c) <= 'i') \
6105 || ('j' <= (c) && (c) <= 'r') \
6106 || ('s' <= (c) && (c) <= 'z'))
6107 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6110 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6115 for (i = 0; i < 256; i++)
6116 if (XOR (islower (i), ISLOWER (i))
6117 || toupper (i) != TOUPPER (i))
6122 if ac_fn_c_try_run "$LINENO"; then :
6125 ac_cv_header_stdc=no
6127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6128 conftest.$ac_objext conftest.beam conftest.$ac_ext
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6134 $as_echo "$ac_cv_header_stdc" >&6; }
6135 if test $ac_cv_header_stdc = yes; then
6137 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6141 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6142 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6143 inttypes.h stdint.h unistd.h
6145 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6146 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6148 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6149 cat >>confdefs.h
<<_ACEOF
6150 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6158 for ac_header
in dlfcn.h
6160 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6162 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6163 cat >>confdefs.h
<<_ACEOF
6164 #define HAVE_DLFCN_H 1
6183 # Check whether --enable-shared was given.
6184 if test "${enable_shared+set}" = set; then :
6185 enableval
=$enable_shared; p
=${PACKAGE-default}
6187 yes) enable_shared
=yes ;;
6188 no
) enable_shared
=no
;;
6191 # Look at the argument we got. We use all the common list separators.
6192 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6193 for pkg
in $enableval; do
6195 if test "X$pkg" = "X$p"; then
6214 # Check whether --enable-static was given.
6215 if test "${enable_static+set}" = set; then :
6216 enableval
=$enable_static; p
=${PACKAGE-default}
6218 yes) enable_static
=yes ;;
6219 no
) enable_static
=no
;;
6222 # Look at the argument we got. We use all the common list separators.
6223 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6224 for pkg
in $enableval; do
6226 if test "X$pkg" = "X$p"; then
6246 # Check whether --with-pic was given.
6247 if test "${with_pic+set}" = set; then :
6248 withval
=$with_pic; pic_mode
="$withval"
6254 test -z "$pic_mode" && pic_mode
=default
6262 # Check whether --enable-fast-install was given.
6263 if test "${enable_fast_install+set}" = set; then :
6264 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6266 yes) enable_fast_install
=yes ;;
6267 no
) enable_fast_install
=no
;;
6269 enable_fast_install
=no
6270 # Look at the argument we got. We use all the common list separators.
6271 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6272 for pkg
in $enableval; do
6274 if test "X$pkg" = "X$p"; then
6275 enable_fast_install
=yes
6282 enable_fast_install
=yes
6295 # This can be used to rebuild libtool when needed
6296 LIBTOOL_DEPS
="$ltmain"
6298 # Always use our own libtool.
6299 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6325 test -z "$LN_S" && LN_S
="ln -s"
6340 if test -n "${ZSH_VERSION+set}" ; then
6341 setopt NO_GLOB_SUBST
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6345 $as_echo_n "checking for objdir... " >&6; }
6346 if ${lt_cv_objdir+:} false
; then :
6347 $as_echo_n "(cached) " >&6
6349 rm -f .libs
2>/dev
/null
6350 mkdir .libs
2>/dev
/null
6351 if test -d .libs
; then
6354 # MS-DOS does not allow filenames that begin with a dot.
6357 rmdir .libs
2>/dev
/null
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6360 $as_echo "$lt_cv_objdir" >&6; }
6361 objdir
=$lt_cv_objdir
6367 cat >>confdefs.h
<<_ACEOF
6368 #define LT_OBJDIR "$lt_cv_objdir/"
6389 # AIX sometimes has problems with the GCC collect2 program. For some
6390 # reason, if we set the COLLECT_NAMES environment variable, the problems
6391 # vanish in a puff of smoke.
6392 if test "X${COLLECT_NAMES+set}" != Xset
; then
6394 export COLLECT_NAMES
6399 # Sed substitution that helps us do robust quoting. It backslashifies
6400 # metacharacters that are still active within double-quoted strings.
6401 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6403 # Same as above, but do not quote variable references.
6404 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6406 # Sed substitution to delay expansion of an escaped shell variable in a
6407 # double_quote_subst'ed string.
6408 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6410 # Sed substitution to delay expansion of an escaped single quote.
6411 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6413 # Sed substitution to avoid accidental globbing in evaled expressions
6414 no_glob_subst
='s/\*/\\\*/g'
6418 can_build_shared
=yes
6420 # All known linkers require a `.a' archive for static linking (except MSVC,
6421 # which needs '.lib').
6424 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6427 old_CFLAGS
="$CFLAGS"
6429 # Set sane defaults for various variables
6430 test -z "$CC" && CC
=cc
6431 test -z "$LTCC" && LTCC
=$CC
6432 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6433 test -z "$LD" && LD
=ld
6434 test -z "$ac_objext" && ac_objext
=o
6436 for cc_temp
in $compiler""; do
6438 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6439 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6444 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6447 # Only perform the check for file, if the check method requires it
6448 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6449 case $deplibs_check_method in
6451 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6453 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6454 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6455 $as_echo_n "(cached) " >&6
6459 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6462 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6463 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6464 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6465 for ac_dir
in $ac_dummy; do
6467 test -z "$ac_dir" && ac_dir
=.
6468 if test -f $ac_dir/${ac_tool_prefix}file; then
6469 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6470 if test -n "$file_magic_test_file"; then
6471 case $deplibs_check_method in
6473 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6474 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6475 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6476 $EGREP "$file_magic_regex" > /dev
/null
; then
6481 *** Warning: the command libtool uses to detect shared libraries,
6482 *** $file_magic_cmd, produces output that libtool cannot recognize.
6483 *** The result is that libtool may fail to recognize shared libraries
6484 *** as such. This will affect the creation of libtool libraries that
6485 *** depend on shared libraries, but programs linked with such libtool
6486 *** libraries will work regardless of this problem. Nevertheless, you
6487 *** may want to report the problem to your system manager and/or to
6488 *** bug-libtool@gnu.org
6498 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6503 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6504 if test -n "$MAGIC_CMD"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6506 $as_echo "$MAGIC_CMD" >&6; }
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; }
6516 if test -z "$lt_cv_path_MAGIC_CMD"; then
6517 if test -n "$ac_tool_prefix"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6519 $as_echo_n "checking for file... " >&6; }
6520 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6521 $as_echo_n "(cached) " >&6
6525 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6528 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6529 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6530 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6531 for ac_dir
in $ac_dummy; do
6533 test -z "$ac_dir" && ac_dir
=.
6534 if test -f $ac_dir/file; then
6535 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6536 if test -n "$file_magic_test_file"; then
6537 case $deplibs_check_method in
6539 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6540 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6541 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6542 $EGREP "$file_magic_regex" > /dev
/null
; then
6547 *** Warning: the command libtool uses to detect shared libraries,
6548 *** $file_magic_cmd, produces output that libtool cannot recognize.
6549 *** The result is that libtool may fail to recognize shared libraries
6550 *** as such. This will affect the creation of libtool libraries that
6551 *** depend on shared libraries, but programs linked with such libtool
6552 *** libraries will work regardless of this problem. Nevertheless, you
6553 *** may want to report the problem to your system manager and/or to
6554 *** bug-libtool@gnu.org
6564 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6569 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6570 if test -n "$MAGIC_CMD"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6572 $as_echo "$MAGIC_CMD" >&6; }
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6588 # Use C for the default configuration in the libtool script
6592 ac_cpp
='$CPP $CPPFLAGS'
6593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6598 # Source file extension for C test sources.
6601 # Object file extension for compiled C test sources.
6605 # Code to be used in simple compile tests
6606 lt_simple_compile_test_code
="int some_variable = 0;"
6608 # Code to be used in simple link tests
6609 lt_simple_link_test_code
='int main(){return(0);}'
6617 # If no C compiler was specified, use CC.
6620 # If no C compiler flags were specified, use CFLAGS.
6621 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6623 # Allow CC to be a program name with arguments.
6626 # Save the default compiler, since it gets overwritten when the other
6627 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6628 compiler_DEFAULT
=$CC
6630 # save warnings/boilerplate of simple test code
6631 ac_outfile
=conftest.
$ac_objext
6632 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6633 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6634 _lt_compiler_boilerplate
=`cat conftest.err`
6637 ac_outfile
=conftest.
$ac_objext
6638 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6639 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6640 _lt_linker_boilerplate
=`cat conftest.err`
6644 if test -n "$compiler"; then
6646 lt_prog_compiler_no_builtin_flag
=
6648 if test "$GCC" = yes; then
6649 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6652 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6653 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
6654 $as_echo_n "(cached) " >&6
6656 lt_cv_prog_compiler_rtti_exceptions
=no
6657 ac_outfile
=conftest.
$ac_objext
6658 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6659 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6660 # Insert the option either (1) after the last *FLAGS variable, or
6661 # (2) before a word containing "conftest.", or (3) at the end.
6662 # Note that $ac_compile itself does not contain backslashes and begins
6663 # with a dollar sign (not a hyphen), so the echo should work correctly.
6664 # The option is referenced via a variable to avoid confusing sed.
6665 lt_compile
=`echo "$ac_compile" | $SED \
6666 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6667 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6668 -e 's:$: $lt_compiler_flag:'`
6669 (eval echo "\"\$as_me:6669: $lt_compile\"" >&5)
6670 (eval "$lt_compile" 2>conftest.err
)
6672 cat conftest.err
>&5
6673 echo "$as_me:6673: \$? = $ac_status" >&5
6674 if (exit $ac_status) && test -s "$ac_outfile"; then
6675 # The compiler can only warn and ignore the option if not recognized
6676 # So say no if there are warnings other than the usual output.
6677 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6678 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6679 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6680 lt_cv_prog_compiler_rtti_exceptions
=yes
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6687 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6689 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6690 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6702 lt_prog_compiler_wl
=
6703 lt_prog_compiler_pic
=
6704 lt_prog_compiler_static
=
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6709 if test "$GCC" = yes; then
6710 lt_prog_compiler_wl
='-Wl,'
6711 lt_prog_compiler_static
='-static'
6715 # All AIX code is PIC.
6716 if test "$host_cpu" = ia64
; then
6717 # AIX 5 now supports IA64 processor
6718 lt_prog_compiler_static
='-Bstatic'
6725 # see comment about AmigaOS4 .so support
6726 lt_prog_compiler_pic
='-fPIC'
6729 # FIXME: we need at least 68020 code to build shared libraries, but
6730 # adding the `-m68020' flag to GCC prevents building anything better,
6732 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6737 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6738 # PIC is the default for these OSes.
6741 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6742 # This hack is so that the source file can tell whether it is being
6743 # built for inclusion in a dll (and should export symbols for example).
6744 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6745 # (--disable-auto-import) libraries
6746 lt_prog_compiler_pic
='-DDLL_EXPORT'
6749 darwin
* | rhapsody
*)
6750 # PIC is the default on this platform
6751 # Common symbols not allowed in MH_DYLIB files
6752 lt_prog_compiler_pic
='-fno-common'
6756 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6757 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6758 # sets the default TLS model and affects inlining.
6764 lt_prog_compiler_pic
='-fPIC'
6770 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6771 # Instead, we relocate shared libraries at runtime.
6775 # Just because we use GCC doesn't mean we suddenly get shared libraries
6776 # on systems that don't support them.
6777 lt_prog_compiler_can_build_shared
=no
6782 # QNX uses GNU C++, but need to define -shared option too, otherwise
6784 lt_prog_compiler_pic
='-fPIC -shared'
6788 if test -d /usr
/nec
; then
6789 lt_prog_compiler_pic
=-Kconform_pic
6794 lt_prog_compiler_pic
='-fPIC'
6798 # PORTME Check for flag to pass linker flags through the system compiler.
6801 lt_prog_compiler_wl
='-Wl,'
6802 if test "$host_cpu" = ia64
; then
6803 # AIX 5 now supports IA64 processor
6804 lt_prog_compiler_static
='-Bstatic'
6806 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6810 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6811 # This hack is so that the source file can tell whether it is being
6812 # built for inclusion in a dll (and should export symbols for example).
6813 lt_prog_compiler_pic
='-DDLL_EXPORT'
6816 hpux9
* | hpux10
* | hpux11
*)
6817 lt_prog_compiler_wl
='-Wl,'
6818 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6825 lt_prog_compiler_pic
='+Z'
6828 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6829 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6832 irix5
* | irix6
* | nonstopux
*)
6833 lt_prog_compiler_wl
='-Wl,'
6834 # PIC (with -KPIC) is the default.
6835 lt_prog_compiler_static
='-non_shared'
6838 linux
* | k
*bsd
*-gnu)
6839 case $cc_basename in
6840 # old Intel for x86_64 which still supported -KPIC.
6842 lt_prog_compiler_wl
='-Wl,'
6843 lt_prog_compiler_pic
='-KPIC'
6844 lt_prog_compiler_static
='-static'
6846 # icc used to be incompatible with GCC.
6847 # ICC 10 doesn't accept -KPIC any more.
6849 lt_prog_compiler_wl
='-Wl,'
6850 lt_prog_compiler_pic
='-fPIC'
6851 lt_prog_compiler_static
='-static'
6853 # Lahey Fortran 8.1.
6855 lt_prog_compiler_wl
='-Wl,'
6856 lt_prog_compiler_pic
='--shared'
6857 lt_prog_compiler_static
='--static'
6859 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6860 # Portland Group compilers (*not* the Pentium gcc compiler,
6861 # which looks to be a dead project)
6862 lt_prog_compiler_wl
='-Wl,'
6863 lt_prog_compiler_pic
='-fpic'
6864 lt_prog_compiler_static
='-Bstatic'
6867 lt_prog_compiler_wl
='-Wl,'
6868 # All Alpha code is PIC.
6869 lt_prog_compiler_static
='-non_shared'
6872 # IBM XL C 8.0/Fortran 10.1 on PPC
6873 lt_prog_compiler_wl
='-Wl,'
6874 lt_prog_compiler_pic
='-qpic'
6875 lt_prog_compiler_static
='-qstaticlink'
6878 case `$CC -V 2>&1 | sed 5q` in
6881 lt_prog_compiler_pic
='-KPIC'
6882 lt_prog_compiler_static
='-Bstatic'
6883 lt_prog_compiler_wl
='-Wl,'
6886 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6887 lt_prog_compiler_pic
='-KPIC'
6888 lt_prog_compiler_static
='-Bstatic'
6889 lt_prog_compiler_wl
=''
6897 lt_prog_compiler_pic
='-KPIC'
6898 lt_prog_compiler_static
='-Bstatic'
6902 # QNX uses GNU C++, but need to define -shared option too, otherwise
6904 lt_prog_compiler_pic
='-fPIC -shared'
6907 osf3
* | osf4
* | osf5
*)
6908 lt_prog_compiler_wl
='-Wl,'
6909 # All OSF/1 code is PIC.
6910 lt_prog_compiler_static
='-non_shared'
6914 lt_prog_compiler_static
='-non_shared'
6918 lt_prog_compiler_pic
='-KPIC'
6919 lt_prog_compiler_static
='-Bstatic'
6920 case $cc_basename in
6922 lt_prog_compiler_wl
='-Qoption ld ';;
6924 lt_prog_compiler_wl
='-Wl,';;
6929 lt_prog_compiler_wl
='-Qoption ld '
6930 lt_prog_compiler_pic
='-PIC'
6931 lt_prog_compiler_static
='-Bstatic'
6934 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6935 lt_prog_compiler_wl
='-Wl,'
6936 lt_prog_compiler_pic
='-KPIC'
6937 lt_prog_compiler_static
='-Bstatic'
6941 if test -d /usr
/nec
;then
6942 lt_prog_compiler_pic
='-Kconform_pic'
6943 lt_prog_compiler_static
='-Bstatic'
6947 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6948 lt_prog_compiler_wl
='-Wl,'
6949 lt_prog_compiler_pic
='-KPIC'
6950 lt_prog_compiler_static
='-Bstatic'
6954 lt_prog_compiler_wl
='-Wl,'
6955 lt_prog_compiler_can_build_shared
=no
6959 lt_prog_compiler_pic
='-pic'
6960 lt_prog_compiler_static
='-Bstatic'
6964 lt_prog_compiler_can_build_shared
=no
6970 # For platforms which do not support PIC, -DPIC is meaningless:
6972 lt_prog_compiler_pic
=
6975 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6979 $as_echo "$lt_prog_compiler_pic" >&6; }
6987 # Check to make sure the PIC flag actually works.
6989 if test -n "$lt_prog_compiler_pic"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6991 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
6992 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
6993 $as_echo_n "(cached) " >&6
6995 lt_cv_prog_compiler_pic_works
=no
6996 ac_outfile
=conftest.
$ac_objext
6997 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6998 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6999 # Insert the option either (1) after the last *FLAGS variable, or
7000 # (2) before a word containing "conftest.", or (3) at the end.
7001 # Note that $ac_compile itself does not contain backslashes and begins
7002 # with a dollar sign (not a hyphen), so the echo should work correctly.
7003 # The option is referenced via a variable to avoid confusing sed.
7004 lt_compile
=`echo "$ac_compile" | $SED \
7005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7007 -e 's:$: $lt_compiler_flag:'`
7008 (eval echo "\"\$as_me:7008: $lt_compile\"" >&5)
7009 (eval "$lt_compile" 2>conftest.err
)
7011 cat conftest.err
>&5
7012 echo "$as_me:7012: \$? = $ac_status" >&5
7013 if (exit $ac_status) && test -s "$ac_outfile"; then
7014 # The compiler can only warn and ignore the option if not recognized
7015 # So say no if there are warnings other than the usual output.
7016 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7017 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7018 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7019 lt_cv_prog_compiler_pic_works
=yes
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7026 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7028 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7029 case $lt_prog_compiler_pic in
7031 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7034 lt_prog_compiler_pic
=
7035 lt_prog_compiler_can_build_shared
=no
7046 # Check to make sure the static flag actually works.
7048 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7050 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7051 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7052 $as_echo_n "(cached) " >&6
7054 lt_cv_prog_compiler_static_works
=no
7055 save_LDFLAGS
="$LDFLAGS"
7056 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7057 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7058 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7059 # The linker can only warn and ignore the option if not recognized
7060 # So say no if there are warnings
7061 if test -s conftest.err
; then
7062 # Append any errors to the config.log.
7063 cat conftest.err
1>&5
7064 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7065 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7066 if diff conftest.exp conftest.er2
>/dev
/null
; then
7067 lt_cv_prog_compiler_static_works
=yes
7070 lt_cv_prog_compiler_static_works
=yes
7074 LDFLAGS
="$save_LDFLAGS"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7078 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7080 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7083 lt_prog_compiler_static
=
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7093 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7094 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7095 $as_echo_n "(cached) " >&6
7097 lt_cv_prog_compiler_c_o
=no
7098 $RM -r conftest
2>/dev
/null
7102 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7104 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7105 # Insert the option either (1) after the last *FLAGS variable, or
7106 # (2) before a word containing "conftest.", or (3) at the end.
7107 # Note that $ac_compile itself does not contain backslashes and begins
7108 # with a dollar sign (not a hyphen), so the echo should work correctly.
7109 lt_compile
=`echo "$ac_compile" | $SED \
7110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7112 -e 's:$: $lt_compiler_flag:'`
7113 (eval echo "\"\$as_me:7113: $lt_compile\"" >&5)
7114 (eval "$lt_compile" 2>out
/conftest.err
)
7116 cat out
/conftest.err
>&5
7117 echo "$as_me:7117: \$? = $ac_status" >&5
7118 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7120 # The compiler can only warn and ignore the option if not recognized
7121 # So say no if there are warnings
7122 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7123 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7124 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7125 lt_cv_prog_compiler_c_o
=yes
7130 # SGI C++ compiler will create directory out/ii_files/ for
7131 # template instantiation
7132 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7133 $RM out
/* && rmdir out
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7140 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7148 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7149 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7150 $as_echo_n "(cached) " >&6
7152 lt_cv_prog_compiler_c_o
=no
7153 $RM -r conftest
2>/dev
/null
7157 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7159 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7160 # Insert the option either (1) after the last *FLAGS variable, or
7161 # (2) before a word containing "conftest.", or (3) at the end.
7162 # Note that $ac_compile itself does not contain backslashes and begins
7163 # with a dollar sign (not a hyphen), so the echo should work correctly.
7164 lt_compile
=`echo "$ac_compile" | $SED \
7165 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7166 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7167 -e 's:$: $lt_compiler_flag:'`
7168 (eval echo "\"\$as_me:7168: $lt_compile\"" >&5)
7169 (eval "$lt_compile" 2>out
/conftest.err
)
7171 cat out
/conftest.err
>&5
7172 echo "$as_me:7172: \$? = $ac_status" >&5
7173 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7175 # The compiler can only warn and ignore the option if not recognized
7176 # So say no if there are warnings
7177 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7178 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7179 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7180 lt_cv_prog_compiler_c_o
=yes
7185 # SGI C++ compiler will create directory out/ii_files/ for
7186 # template instantiation
7187 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7188 $RM out
/* && rmdir out
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7195 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7200 hard_links
="nottested"
7201 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7202 # do not overwrite the value of need_locks provided by the user
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7204 $as_echo_n "checking if we can lock with hard links... " >&6; }
7207 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7209 ln conftest.a conftest.b
2>&5 || hard_links
=no
7210 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7212 $as_echo "$hard_links" >&6; }
7213 if test "$hard_links" = no
; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7215 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7228 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7231 allow_undefined_flag
=
7232 always_export_symbols
=no
7234 archive_expsym_cmds
=
7235 compiler_needs_object
=no
7236 enable_shared_with_static_runtimes
=no
7237 export_dynamic_flag_spec
=
7238 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7239 hardcode_automatic
=no
7241 hardcode_direct_absolute
=no
7242 hardcode_libdir_flag_spec
=
7243 hardcode_libdir_flag_spec_ld
=
7244 hardcode_libdir_separator
=
7246 hardcode_shlibpath_var
=unsupported
7248 link_all_deplibs
=unknown
7251 old_archive_from_new_cmds
=
7252 old_archive_from_expsyms_cmds
=
7253 thread_safe_flag_spec
=
7254 whole_archive_flag_spec
=
7255 # include_expsyms should be a list of space-separated symbols to be *always*
7256 # included in the symbol list
7258 # exclude_expsyms can be an extended regexp of symbols to exclude
7259 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7260 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7261 # as well as any symbol that contains `d'.
7262 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7263 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7264 # platforms (ab)use it in PIC code, but their linkers get confused if
7265 # the symbol is explicitly referenced. Since portable code cannot
7266 # rely on this symbol name, it's probably fine to never include it in
7267 # preloaded symbol tables.
7268 # Exclude shared library initialization/finalization symbols.
7269 extract_expsyms_cmds
=
7272 cygwin
* | mingw
* | pw32
* | cegcc
*)
7273 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7274 # When not using gcc, we currently assume that we are using
7275 # Microsoft Visual C++.
7276 if test "$GCC" != yes; then
7281 # we just hope/assume this is gcc and not c89 (= MSVC++)
7290 if test "$with_gnu_ld" = yes; then
7291 # If archive_cmds runs LD, not CC, wlarc should be empty
7294 # Set some defaults for GNU ld with shared library support. These
7295 # are reset later if shared libraries are not supported. Putting them
7296 # here allows them to be overridden if necessary.
7297 runpath_var
=LD_RUN_PATH
7298 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7299 export_dynamic_flag_spec
='${wl}--export-dynamic'
7300 # ancient GNU ld didn't support --whole-archive et. al.
7301 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7302 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7304 whole_archive_flag_spec
=
7306 supports_anon_versioning
=no
7307 case `$LD -v 2>&1` in
7308 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7309 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7310 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7311 *\
2.11.
*) ;; # other 2.11 versions
7312 *) supports_anon_versioning
=yes ;;
7315 # See if GNU ld supports shared libraries.
7318 # On AIX/PPC, the GNU linker is very broken
7319 if test "$host_cpu" != ia64
; then
7323 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7324 *** to be unable to reliably create shared libraries on AIX.
7325 *** Therefore, libtool is disabling shared libraries support. If you
7326 *** really care for shared libraries, you may want to modify your PATH
7327 *** so that a non-GNU linker is found, and then restart.
7336 # see comment about AmigaOS4 .so support
7337 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7338 archive_expsym_cmds
=''
7341 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)'
7342 hardcode_libdir_flag_spec
='-L$libdir'
7343 hardcode_minus_L
=yes
7349 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7350 allow_undefined_flag
=unsupported
7351 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7352 # support --undefined. This deserves some investigation. FIXME
7353 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7359 cygwin
* | mingw
* | pw32
* | cegcc
*)
7360 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7361 # as there is no search path for DLLs.
7362 hardcode_libdir_flag_spec
='-L$libdir'
7363 allow_undefined_flag
=unsupported
7364 always_export_symbols
=no
7365 enable_shared_with_static_runtimes
=yes
7366 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7368 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7369 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7370 # If the export-symbols file already is a .def file (1st line
7371 # is EXPORTS), use it as is; otherwise, prepend...
7372 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7373 cp $export_symbols $output_objdir/$soname.def;
7375 echo EXPORTS > $output_objdir/$soname.def;
7376 cat $export_symbols >> $output_objdir/$soname.def;
7378 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7386 hardcode_shlibpath_var
=no
7387 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7388 export_dynamic_flag_spec
='${wl}-E'
7389 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7390 # Instead, shared libraries are loaded at an image base (0x10000000 by
7391 # default) and relocated if they conflict, which is a slow very memory
7392 # consuming and fragmenting process. To avoid this, we pick a random,
7393 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7394 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7395 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7396 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'
7399 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7401 if test "$host_os" = linux-dietlibc
; then
7402 case $cc_basename in
7403 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7406 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7407 && test "$tmp_diet" = no
7410 tmp_sharedflag
='-shared'
7411 case $cc_basename,$host_cpu in
7412 pgcc
*) # Portland Group C compiler
7413 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'
7414 tmp_addflag
=' $pic_flag'
7416 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7417 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'
7418 tmp_addflag
=' $pic_flag -Mnomain' ;;
7419 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7420 tmp_addflag
=' -i_dynamic' ;;
7421 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7422 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7423 ifc
* | ifort
*) # Intel Fortran compiler
7424 tmp_addflag
=' -nofor_main' ;;
7425 lf95
*) # Lahey Fortran 8.1
7426 whole_archive_flag_spec
=
7427 tmp_sharedflag
='--shared' ;;
7428 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7429 tmp_sharedflag
='-qmkshrobj'
7432 case `$CC -V 2>&1 | sed 5q` in
7433 *Sun\ C
*) # Sun C 5.9
7434 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'
7435 compiler_needs_object
=yes
7436 tmp_sharedflag
='-G' ;;
7437 *Sun\ F
*) # Sun Fortran 8.3
7438 tmp_sharedflag
='-G' ;;
7440 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7442 if test "x$supports_anon_versioning" = xyes
; then
7443 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7444 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7445 echo "local: *; };" >> $output_objdir/$libname.ver~
7446 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7449 case $cc_basename in
7451 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7452 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7453 hardcode_libdir_flag_spec
=
7454 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7455 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7456 if test "x$supports_anon_versioning" = xyes
; then
7457 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7458 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7459 echo "local: *; };" >> $output_objdir/$libname.ver~
7460 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7470 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7471 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7475 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7480 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7484 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7485 *** create shared libraries on Solaris systems. Therefore, libtool
7486 *** is disabling shared libraries support. We urge you to upgrade GNU
7487 *** binutils to release 2.9.1 or newer. Another option is to modify
7488 *** your PATH or compiler configuration so that the native linker is
7489 *** used, and then restart.
7492 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7493 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7494 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7500 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7501 case `$LD -v 2>&1` in
7502 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7506 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7507 *** reliably create shared libraries on SCO systems. Therefore, libtool
7508 *** is disabling shared libraries support. We urge you to upgrade GNU
7509 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7510 *** your PATH or compiler configuration so that the native linker is
7511 *** used, and then restart.
7516 # For security reasons, it is highly recommended that you always
7517 # use absolute paths for naming shared libraries, and exclude the
7518 # DT_RUNPATH tag from executables and libraries. But doing so
7519 # requires that you compile everything twice, which is a pain.
7520 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7521 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7522 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7523 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7532 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7535 hardcode_shlibpath_var
=no
7539 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7540 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7541 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7548 if test "$ld_shlibs" = no
; then
7550 hardcode_libdir_flag_spec
=
7551 export_dynamic_flag_spec
=
7552 whole_archive_flag_spec
=
7555 # PORTME fill in a description of your system's linker (not GNU ld)
7558 allow_undefined_flag
=unsupported
7559 always_export_symbols
=yes
7560 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'
7561 # Note: this linker hardcodes the directories in LIBPATH if there
7562 # are no directories specified by -L.
7563 hardcode_minus_L
=yes
7564 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7565 # Neither direct hardcoding nor static linking is supported with a
7567 hardcode_direct
=unsupported
7572 if test "$host_cpu" = ia64
; then
7573 # On IA64, the linker does run time linking by default, so we don't
7574 # have to do anything special.
7575 aix_use_runtimelinking
=no
7576 exp_sym_flag
='-Bexport'
7579 # If we're using GNU nm, then we don't want the "-C" option.
7580 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7581 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7582 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'
7584 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'
7586 aix_use_runtimelinking
=no
7588 # Test if we are trying to use run time linking or normal
7589 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7590 # need to do runtime linking.
7591 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7592 for ld_flag
in $LDFLAGS; do
7593 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7594 aix_use_runtimelinking
=yes
7601 exp_sym_flag
='-bexport'
7602 no_entry_flag
='-bnoentry'
7605 # When large executables or shared objects are built, AIX ld can
7606 # have problems creating the table of contents. If linking a library
7607 # or program results in "error TOC overflow" add -mminimal-toc to
7608 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7609 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7613 hardcode_direct_absolute
=yes
7614 hardcode_libdir_separator
=':'
7615 link_all_deplibs
=yes
7616 file_list_spec
='${wl}-f,'
7618 if test "$GCC" = yes; then
7619 case $host_os in aix4.
[012]|aix4.
[012].
*)
7620 # We only want to do this on AIX 4.2 and lower, the check
7621 # below for broken collect2 doesn't work under 4.3+
7622 collect2name
=`${CC} -print-prog-name=collect2`
7623 if test -f "$collect2name" &&
7624 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7626 # We have reworked collect2
7629 # We have old collect2
7630 hardcode_direct
=unsupported
7631 # It fails to find uninstalled libraries when the uninstalled
7632 # path is not listed in the libpath. Setting hardcode_minus_L
7633 # to unsupported forces relinking
7634 hardcode_minus_L
=yes
7635 hardcode_libdir_flag_spec
='-L$libdir'
7636 hardcode_libdir_separator
=
7640 shared_flag
='-shared'
7641 if test "$aix_use_runtimelinking" = yes; then
7642 shared_flag
="$shared_flag "'${wl}-G'
7646 if test "$host_cpu" = ia64
; then
7647 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7648 # chokes on -Wl,-G. The following line is correct:
7651 if test "$aix_use_runtimelinking" = yes; then
7652 shared_flag
='${wl}-G'
7654 shared_flag
='${wl}-bM:SRE'
7659 export_dynamic_flag_spec
='${wl}-bexpall'
7660 # It seems that -bexpall does not export symbols beginning with
7661 # underscore (_), so it is better to generate a list of symbols to export.
7662 always_export_symbols
=yes
7663 if test "$aix_use_runtimelinking" = yes; then
7664 # Warning - without using the other runtime loading flags (-brtl),
7665 # -berok will link without error, but may produce a broken library.
7666 allow_undefined_flag
='-berok'
7667 # Determine the default libpath from the value encoded in an
7669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7670 /* end confdefs.h. */
7680 if ac_fn_c_try_link
"$LINENO"; then :
7682 lt_aix_libpath_sed
='
7683 /Import File Strings/,/^$/ {
7689 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7690 # Check for a 64-bit object if we didn't find anything.
7691 if test -z "$aix_libpath"; then
7692 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7695 rm -f core conftest.err conftest.
$ac_objext \
7696 conftest
$ac_exeext conftest.
$ac_ext
7697 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7699 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7700 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"
7702 if test "$host_cpu" = ia64
; then
7703 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7704 allow_undefined_flag
="-z nodefs"
7705 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"
7707 # Determine the default libpath from the value encoded in an
7709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7720 if ac_fn_c_try_link
"$LINENO"; then :
7722 lt_aix_libpath_sed
='
7723 /Import File Strings/,/^$/ {
7729 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7730 # Check for a 64-bit object if we didn't find anything.
7731 if test -z "$aix_libpath"; then
7732 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7735 rm -f core conftest.err conftest.
$ac_objext \
7736 conftest
$ac_exeext conftest.
$ac_ext
7737 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7739 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7740 # Warning - without using the other run time loading flags,
7741 # -berok will link without error, but may produce a broken library.
7742 no_undefined_flag
=' ${wl}-bernotok'
7743 allow_undefined_flag
=' ${wl}-berok'
7744 # Exported symbols can be pulled into shared objects from archives
7745 whole_archive_flag_spec
='$convenience'
7746 archive_cmds_need_lc
=yes
7747 # This is similar to how AIX traditionally builds its shared libraries.
7748 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'
7756 # see comment about AmigaOS4 .so support
7757 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7758 archive_expsym_cmds
=''
7761 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)'
7762 hardcode_libdir_flag_spec
='-L$libdir'
7763 hardcode_minus_L
=yes
7769 export_dynamic_flag_spec
=-rdynamic
7772 cygwin
* | mingw
* | pw32
* | cegcc
*)
7773 # When not using gcc, we currently assume that we are using
7774 # Microsoft Visual C++.
7775 # hardcode_libdir_flag_spec is actually meaningless, as there is
7776 # no search path for DLLs.
7777 hardcode_libdir_flag_spec
=' '
7778 allow_undefined_flag
=unsupported
7779 # Tell ltmain to make .lib files, not .a files.
7781 # Tell ltmain to make .dll files, not .so files.
7783 # FIXME: Setting linknames here is a bad hack.
7784 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7785 # The linker will automatically build a .lib file if we build a DLL.
7786 old_archive_from_new_cmds
='true'
7787 # FIXME: Should let the user specify the lib program.
7788 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7789 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7790 enable_shared_with_static_runtimes
=yes
7793 darwin
* | rhapsody
*)
7796 archive_cmds_need_lc
=no
7798 hardcode_automatic
=yes
7799 hardcode_shlibpath_var
=unsupported
7800 whole_archive_flag_spec
=''
7801 link_all_deplibs
=yes
7802 allow_undefined_flag
="$_lt_dar_allow_undefined"
7803 case $cc_basename in
7804 ifort
*) _lt_dar_can_shared
=yes ;;
7805 *) _lt_dar_can_shared
=$GCC ;;
7807 if test "$_lt_dar_can_shared" = "yes"; then
7808 output_verbose_link_cmd
=echo
7809 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7810 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7811 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}"
7812 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}"
7821 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7822 hardcode_libdir_flag_spec
='-L$libdir'
7823 hardcode_shlibpath_var
=no
7830 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7831 # support. Future versions do this automatically, but an explicit c++rt0.o
7832 # does not break anything, and helps significantly (at the cost of a little
7835 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7836 hardcode_libdir_flag_spec
='-R$libdir'
7838 hardcode_shlibpath_var
=no
7841 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7843 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7845 hardcode_minus_L
=yes
7846 hardcode_shlibpath_var
=no
7849 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7850 freebsd
* | dragonfly
*)
7851 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7852 hardcode_libdir_flag_spec
='-R$libdir'
7854 hardcode_shlibpath_var
=no
7858 if test "$GCC" = yes; then
7859 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'
7861 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'
7863 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7864 hardcode_libdir_separator
=:
7867 # hardcode_minus_L: Not really in the search PATH,
7868 # but as the default location of the library.
7869 hardcode_minus_L
=yes
7870 export_dynamic_flag_spec
='${wl}-E'
7874 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7875 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7877 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7879 if test "$with_gnu_ld" = no
; then
7880 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7881 hardcode_libdir_flag_spec_ld
='+b $libdir'
7882 hardcode_libdir_separator
=:
7884 hardcode_direct_absolute
=yes
7885 export_dynamic_flag_spec
='${wl}-E'
7886 # hardcode_minus_L: Not really in the search PATH,
7887 # but as the default location of the library.
7888 hardcode_minus_L
=yes
7893 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7896 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7899 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7902 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7908 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7911 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7914 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7918 if test "$with_gnu_ld" = no
; then
7919 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7920 hardcode_libdir_separator
=:
7925 hardcode_shlibpath_var
=no
7929 hardcode_direct_absolute
=yes
7930 export_dynamic_flag_spec
='${wl}-E'
7932 # hardcode_minus_L: Not really in the search PATH,
7933 # but as the default location of the library.
7934 hardcode_minus_L
=yes
7940 irix5
* | irix6
* | nonstopux
*)
7941 if test "$GCC" = yes; then
7942 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'
7943 # Try to use the -exported_symbol ld option, if it does not
7944 # work, assume that -exports_file does not work either and
7945 # implicitly export all symbols.
7946 save_LDFLAGS
="$LDFLAGS"
7947 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7952 if ac_fn_c_try_link
"$LINENO"; then :
7953 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'
7956 rm -f core conftest.err conftest.
$ac_objext \
7957 conftest
$ac_exeext conftest.
$ac_ext
7958 LDFLAGS
="$save_LDFLAGS"
7960 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'
7961 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'
7963 archive_cmds_need_lc
='no'
7964 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7965 hardcode_libdir_separator
=:
7967 link_all_deplibs
=yes
7971 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7972 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7974 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7976 hardcode_libdir_flag_spec
='-R$libdir'
7978 hardcode_shlibpath_var
=no
7982 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7984 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7985 hardcode_libdir_separator
=:
7986 hardcode_shlibpath_var
=no
7993 if test -f /usr
/libexec
/ld.so
; then
7995 hardcode_shlibpath_var
=no
7996 hardcode_direct_absolute
=yes
7997 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7998 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7999 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8000 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8001 export_dynamic_flag_spec
='${wl}-E'
8004 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8005 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8006 hardcode_libdir_flag_spec
='-R$libdir'
8009 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8010 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8020 hardcode_libdir_flag_spec
='-L$libdir'
8021 hardcode_minus_L
=yes
8022 allow_undefined_flag
=unsupported
8023 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'
8024 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8028 if test "$GCC" = yes; then
8029 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8030 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'
8032 allow_undefined_flag
=' -expect_unresolved \*'
8033 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'
8035 archive_cmds_need_lc
='no'
8036 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8037 hardcode_libdir_separator
=:
8040 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
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}-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'
8044 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8046 allow_undefined_flag
=' -expect_unresolved \*'
8047 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'
8048 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~
8049 $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'
8051 # Both c and cxx compiler support -rpath directly
8052 hardcode_libdir_flag_spec
='-rpath $libdir'
8054 archive_cmds_need_lc
='no'
8055 hardcode_libdir_separator
=:
8059 no_undefined_flag
=' -z defs'
8060 if test "$GCC" = yes; then
8062 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8063 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8064 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8066 case `$CC -V 2>&1` in
8069 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8070 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8071 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8075 archive_cmds
='$CC -G${allow_undefined_flag} -h $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 -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8081 hardcode_libdir_flag_spec
='-R$libdir'
8082 hardcode_shlibpath_var
=no
8084 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8086 # The compiler driver will combine and reorder linker options,
8087 # but understands `-z linker_flag'. GCC discards it without `$wl',
8088 # but is careful enough not to reorder.
8089 # Supported since Solaris 2.6 (maybe 2.5.1?)
8090 if test "$GCC" = yes; then
8091 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8093 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8097 link_all_deplibs
=yes
8101 if test "x$host_vendor" = xsequent
; then
8102 # Use $CC to link under sequent, because it throws in some extra .o
8103 # files that make .init and .fini sections work.
8104 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8106 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8108 hardcode_libdir_flag_spec
='-L$libdir'
8110 hardcode_minus_L
=yes
8111 hardcode_shlibpath_var
=no
8115 case $host_vendor in
8117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8118 hardcode_direct
=yes # is this really true???
8121 ## LD is ld it makes a PLAMLIB
8122 ## CC just makes a GrossModule.
8123 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8124 reload_cmds
='$CC -r -o $output$reload_objs'
8128 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8129 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8132 runpath_var
='LD_RUN_PATH'
8133 hardcode_shlibpath_var
=no
8137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8138 hardcode_shlibpath_var
=no
8139 export_dynamic_flag_spec
='-Bexport'
8143 if test -d /usr
/nec
; then
8144 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8145 hardcode_shlibpath_var
=no
8146 runpath_var
=LD_RUN_PATH
8147 hardcode_runpath_var
=yes
8152 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8153 no_undefined_flag
='${wl}-z,text'
8154 archive_cmds_need_lc
=no
8155 hardcode_shlibpath_var
=no
8156 runpath_var
='LD_RUN_PATH'
8158 if test "$GCC" = yes; then
8159 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8160 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8162 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8163 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8167 sysv5
* | sco3.2v5
* | sco5v6
*)
8168 # Note: We can NOT use -z defs as we might desire, because we do not
8169 # link with -lc, and that would cause any symbols used from libc to
8170 # always be unresolved, which means just about no library would
8171 # ever link correctly. If we're not using GNU ld we use -z text
8172 # though, which does catch some bad symbols but isn't as heavy-handed
8174 no_undefined_flag
='${wl}-z,text'
8175 allow_undefined_flag
='${wl}-z,nodefs'
8176 archive_cmds_need_lc
=no
8177 hardcode_shlibpath_var
=no
8178 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8179 hardcode_libdir_separator
=':'
8180 link_all_deplibs
=yes
8181 export_dynamic_flag_spec
='${wl}-Bexport'
8182 runpath_var
='LD_RUN_PATH'
8184 if test "$GCC" = yes; then
8185 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8186 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8188 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8189 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8195 hardcode_libdir_flag_spec
='-L$libdir'
8196 hardcode_shlibpath_var
=no
8204 if test x
$host_vendor = xsni
; then
8206 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8207 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8214 $as_echo "$ld_shlibs" >&6; }
8215 test "$ld_shlibs" = no
&& can_build_shared
=no
8217 with_gnu_ld
=$with_gnu_ld
8234 # Do we need to explicitly link libc?
8236 case "x$archive_cmds_need_lc" in
8238 # Assume -lc should be added
8239 archive_cmds_need_lc
=yes
8241 if test "$enable_shared" = yes && test "$GCC" = yes; then
8242 case $archive_cmds in
8244 # FIXME: we may have to deal with multi-command sequences.
8247 # Test whether the compiler implicitly links with -lc since on some
8248 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8249 # to ld, don't add -lc before -lgcc.
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8251 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8256 (eval $ac_compile) 2>&5
8258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8259 test $ac_status = 0; } 2>conftest.err
; then
8262 libobjs
=conftest.
$ac_objext
8264 wl
=$lt_prog_compiler_wl
8265 pic_flag
=$lt_prog_compiler_pic
8271 lt_save_allow_undefined_flag
=$allow_undefined_flag
8272 allow_undefined_flag
=
8273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8274 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8277 test $ac_status = 0; }
8279 archive_cmds_need_lc
=no
8281 archive_cmds_need_lc
=yes
8283 allow_undefined_flag
=$lt_save_allow_undefined_flag
8285 cat conftest.err
1>&5
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8289 $as_echo "$archive_cmds_need_lc" >&6; }
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8453 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8455 if test "$GCC" = yes; then
8457 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8458 *) lt_awk_arg
="/^libraries:/" ;;
8460 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8461 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8462 # if the path contains ";" then we assume it to be the separator
8463 # otherwise default to the standard path separator (i.e. ":") - it is
8464 # assumed that no part of a normal pathname contains ";" but that should
8465 # okay in the real world where ";" in dirpaths is itself problematic.
8466 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8468 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8470 # Ok, now we have the path, separated by spaces, we can step through it
8471 # and add multilib dir if necessary.
8472 lt_tmp_lt_search_path_spec
=
8473 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8474 for lt_sys_path
in $lt_search_path_spec; do
8475 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8476 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8478 test -d "$lt_sys_path" && \
8479 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8482 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8483 BEGIN {RS=" "; FS="/|\n";} {
8486 for (lt_i = NF; lt_i > 0; lt_i--) {
8487 if ($lt_i != "" && $lt_i != ".") {
8488 if ($lt_i == "..") {
8491 if (lt_count == 0) {
8492 lt_foo="/" $lt_i lt_foo;
8499 if (lt_foo != "") { lt_freq[lt_foo]++; }
8500 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8502 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8504 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8507 libname_spec
='lib$name'
8515 shlibpath_overrides_runpath
=unknown
8517 dynamic_linker
="$host_os ld.so"
8518 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8519 need_lib_prefix
=unknown
8520 hardcode_into_libs
=no
8522 # when you set need_version to no, make sure it does not cause -set_version
8523 # flags to be left without arguments
8524 need_version
=unknown
8529 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8530 shlibpath_var
=LIBPATH
8532 # AIX 3 has no versioning support, so we append a major version to the name.
8533 soname_spec
='${libname}${release}${shared_ext}$major'
8540 hardcode_into_libs
=yes
8541 if test "$host_cpu" = ia64
; then
8542 # AIX 5 supports IA64
8543 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8544 shlibpath_var
=LD_LIBRARY_PATH
8546 # With GCC up to 2.95.x, collect2 would create an import file
8547 # for dependence libraries. The import file would start with
8548 # the line `#! .'. This would cause the generated library to
8549 # depend on `.', always an invalid library. This was fixed in
8550 # development snapshots of GCC prior to 3.0.
8552 aix4 | aix4.
[01] | aix4.
[01].
*)
8553 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8555 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8562 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8563 # soname into executable. Probably we can add versioning support to
8564 # collect2, so additional links can be useful in future.
8565 if test "$aix_use_runtimelinking" = yes; then
8566 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8567 # instead of lib<name>.a to let people know that these are not
8568 # typical AIX shared libraries.
8569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8571 # We preserve .a as extension for shared libraries through AIX4.2
8572 # and later when we are not doing run time linking.
8573 library_names_spec
='${libname}${release}.a $libname.a'
8574 soname_spec
='${libname}${release}${shared_ext}$major'
8576 shlibpath_var
=LIBPATH
8583 # Since July 2007 AmigaOS4 officially supports .so libraries.
8584 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8588 library_names_spec
='$libname.ixlibrary $libname.a'
8589 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8590 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'
8596 library_names_spec
='${libname}${shared_ext}'
8597 dynamic_linker
="$host_os ld.so"
8598 shlibpath_var
=LIBRARY_PATH
8604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8605 soname_spec
='${libname}${release}${shared_ext}$major'
8606 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8607 shlibpath_var
=LD_LIBRARY_PATH
8608 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8609 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8610 # the default ld.so.conf also contains /usr/contrib/lib and
8611 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8612 # libtool to hard-code these into programs
8615 cygwin
* | mingw
* | pw32
* | cegcc
*)
8616 version_type
=windows
8621 case $GCC,$host_os in
8622 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8623 library_names_spec
='$libname.dll.a'
8624 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8625 postinstall_cmds
='base_file=`basename \${file}`~
8626 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8627 dldir=$destdir/`dirname \$dlpath`~
8628 test -d \$dldir || mkdir -p \$dldir~
8629 $install_prog $dir/$dlname \$dldir/$dlname~
8630 chmod a+x \$dldir/$dlname~
8631 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8632 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8634 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8635 dlpath=$dir/\$dldll~
8637 shlibpath_overrides_runpath
=yes
8641 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8642 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8643 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8646 # MinGW DLLs use traditional 'lib' prefix
8647 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8648 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8649 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8650 # It is most probably a Windows format PATH printed by
8651 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8652 # path with ; separators, and with drive letters. We can handle the
8653 # drive letters (cygwin fileutils understands them), so leave them,
8654 # especially as we might pass files found there to a mingw objdump,
8655 # which wouldn't understand a cygwinified path. Ahh.
8656 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8658 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8662 # pw32 DLLs use 'pw' prefix rather than 'lib'
8663 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8669 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8672 dynamic_linker
='Win32 ld.exe'
8673 # FIXME: first we should search . and the directory the executable is in
8677 darwin
* | rhapsody
*)
8678 dynamic_linker
="$host_os dyld"
8682 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8683 soname_spec
='${libname}${release}${major}$shared_ext'
8684 shlibpath_overrides_runpath
=yes
8685 shlibpath_var
=DYLD_LIBRARY_PATH
8686 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8688 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8689 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8697 soname_spec
='${libname}${release}${shared_ext}$major'
8698 shlibpath_var
=LD_LIBRARY_PATH
8705 freebsd
* | dragonfly
*)
8706 # DragonFly does not have aout. When/if they implement a new
8707 # versioning mechanism, adjust this.
8708 if test -x /usr
/bin
/objformat
; then
8709 objformat
=`/usr/bin/objformat`
8712 freebsd
[123]*) objformat
=aout
;;
8716 # Handle Gentoo/FreeBSD as it was Linux
8717 case $host_vendor in
8719 version_type
=linux
;;
8721 version_type
=freebsd-
$objformat ;;
8724 case $version_type in
8726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8731 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8736 soname_spec
='${libname}${release}${shared_ext}$major'
8741 shlibpath_var
=LD_LIBRARY_PATH
8744 shlibpath_overrides_runpath
=yes
8746 freebsd3.
[01]* | freebsdelf3.
[01]*)
8747 shlibpath_overrides_runpath
=yes
8748 hardcode_into_libs
=yes
8750 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8751 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8752 shlibpath_overrides_runpath
=no
8753 hardcode_into_libs
=yes
8755 *) # from 4.6 on, and DragonFly
8756 shlibpath_overrides_runpath
=yes
8757 hardcode_into_libs
=yes
8766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8767 soname_spec
='${libname}${release}${shared_ext}$major'
8768 shlibpath_var
=LD_LIBRARY_PATH
8769 hardcode_into_libs
=yes
8772 hpux9
* | hpux10
* | hpux11
*)
8773 # Give a soname corresponding to the major version so that dld.sl refuses to
8774 # link against other versions.
8781 hardcode_into_libs
=yes
8782 dynamic_linker
="$host_os dld.so"
8783 shlibpath_var
=LD_LIBRARY_PATH
8784 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8786 soname_spec
='${libname}${release}${shared_ext}$major'
8787 if test "X$HPUX_IA64_MODE" = X32
; then
8788 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8790 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8792 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8796 hardcode_into_libs
=yes
8797 dynamic_linker
="$host_os dld.sl"
8798 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8799 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8801 soname_spec
='${libname}${release}${shared_ext}$major'
8802 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8803 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8807 dynamic_linker
="$host_os dld.sl"
8808 shlibpath_var
=SHLIB_PATH
8809 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8811 soname_spec
='${libname}${release}${shared_ext}$major'
8814 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8815 postinstall_cmds
='chmod 555 $lib'
8822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8823 soname_spec
='${libname}${release}${shared_ext}$major'
8824 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8825 shlibpath_var
=LD_LIBRARY_PATH
8826 shlibpath_overrides_runpath
=no
8827 hardcode_into_libs
=yes
8830 irix5
* | irix6
* | nonstopux
*)
8832 nonstopux
*) version_type
=nonstopux
;;
8834 if test "$lt_cv_prog_gnu_ld" = yes; then
8842 soname_spec
='${libname}${release}${shared_ext}$major'
8843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8845 irix5
* | nonstopux
*)
8849 case $LD in # libtool.m4 will add one of these switches to LD
8850 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8851 libsuff
= shlibsuff
= libmagic
=32-bit;;
8852 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8853 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8854 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8855 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8856 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8860 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8861 shlibpath_overrides_runpath
=no
8862 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8863 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8864 hardcode_into_libs
=yes
8867 # No shared lib support for Linux oldld, aout, or coff.
8868 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8872 # This must be Linux ELF.
8873 linux
* | k
*bsd
*-gnu)
8877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8878 soname_spec
='${libname}${release}${shared_ext}$major'
8879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8880 shlibpath_var
=LD_LIBRARY_PATH
8881 shlibpath_overrides_runpath
=no
8882 # Some binutils ld are patched to set DT_RUNPATH
8883 save_LDFLAGS
=$LDFLAGS
8885 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8886 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8888 /* end confdefs.h. */
8898 if ac_fn_c_try_link
"$LINENO"; then :
8899 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
8900 shlibpath_overrides_runpath
=yes
8903 rm -f core conftest.err conftest.
$ac_objext \
8904 conftest
$ac_exeext conftest.
$ac_ext
8905 LDFLAGS
=$save_LDFLAGS
8908 # This implies no fast_install, which is unacceptable.
8909 # Some rework will be needed to allow for fast_install
8910 # before this can be enabled.
8911 hardcode_into_libs
=yes
8913 # Append ld.so.conf contents to the search path
8914 if test -f /etc
/ld.so.conf
; then
8915 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' ' '`
8916 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8919 # We used to test for /lib/ld.so.1 and disable shared libraries on
8920 # powerpc, because MkLinux only supported shared libraries with the
8921 # GNU dynamic linker. Since this was broken with cross compilers,
8922 # most powerpc-linux boxes support dynamic linking these days and
8923 # people can always --disable-shared, the test was removed, and we
8924 # assume the GNU/Linux dynamic linker is in use.
8925 dynamic_linker
='GNU/Linux ld.so'
8932 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8934 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8935 dynamic_linker
='NetBSD (a.out) ld.so'
8937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8938 soname_spec
='${libname}${release}${shared_ext}$major'
8939 dynamic_linker
='NetBSD ld.elf_so'
8941 shlibpath_var
=LD_LIBRARY_PATH
8942 shlibpath_overrides_runpath
=yes
8943 hardcode_into_libs
=yes
8948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8949 shlibpath_var
=LD_LIBRARY_PATH
8950 shlibpath_overrides_runpath
=yes
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8958 soname_spec
='${libname}${release}${shared_ext}$major'
8959 shlibpath_var
=LD_LIBRARY_PATH
8960 shlibpath_overrides_runpath
=no
8961 hardcode_into_libs
=yes
8962 dynamic_linker
='ldqnx.so'
8967 sys_lib_dlsearch_path_spec
="/usr/lib"
8969 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8971 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8972 *) need_version
=no
;;
8974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8976 shlibpath_var
=LD_LIBRARY_PATH
8977 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8979 openbsd2.
[89] | openbsd2.
[89].
*)
8980 shlibpath_overrides_runpath
=no
8983 shlibpath_overrides_runpath
=yes
8987 shlibpath_overrides_runpath
=yes
8992 libname_spec
='$name'
8995 library_names_spec
='$libname${shared_ext} $libname.a'
8996 dynamic_linker
='OS/2 ld.exe'
8997 shlibpath_var
=LIBPATH
9000 osf3
* | osf4
* | osf5
*)
9004 soname_spec
='${libname}${release}${shared_ext}$major'
9005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9006 shlibpath_var
=LD_LIBRARY_PATH
9007 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9008 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9020 soname_spec
='${libname}${release}${shared_ext}$major'
9021 shlibpath_var
=LD_LIBRARY_PATH
9022 shlibpath_overrides_runpath
=yes
9023 hardcode_into_libs
=yes
9024 # ldd complains unless libraries are executable
9025 postinstall_cmds
='chmod +x $lib'
9030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9031 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9032 shlibpath_var
=LD_LIBRARY_PATH
9033 shlibpath_overrides_runpath
=yes
9034 if test "$with_gnu_ld" = yes; then
9042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9043 soname_spec
='${libname}${release}${shared_ext}$major'
9044 shlibpath_var
=LD_LIBRARY_PATH
9045 case $host_vendor in
9047 shlibpath_overrides_runpath
=no
9049 runpath_var
=LD_RUN_PATH
9057 shlibpath_overrides_runpath
=no
9058 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9064 if test -d /usr
/nec
;then
9066 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9067 soname_spec
='$libname${shared_ext}.$major'
9068 shlibpath_var
=LD_LIBRARY_PATH
9072 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9073 version_type
=freebsd-elf
9076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9077 soname_spec
='${libname}${release}${shared_ext}$major'
9078 shlibpath_var
=LD_LIBRARY_PATH
9079 shlibpath_overrides_runpath
=yes
9080 hardcode_into_libs
=yes
9081 if test "$with_gnu_ld" = yes; then
9082 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9084 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9087 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9091 sys_lib_dlsearch_path_spec
='/usr/lib'
9095 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9100 shlibpath_var
=LD_LIBRARY_PATH
9101 shlibpath_overrides_runpath
=no
9102 hardcode_into_libs
=yes
9107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9108 soname_spec
='${libname}${release}${shared_ext}$major'
9109 shlibpath_var
=LD_LIBRARY_PATH
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9117 $as_echo "$dynamic_linker" >&6; }
9118 test "$dynamic_linker" = no
&& can_build_shared
=no
9120 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9121 if test "$GCC" = yes; then
9122 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9125 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9126 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9128 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9129 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9219 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9221 if test -n "$hardcode_libdir_flag_spec" ||
9222 test -n "$runpath_var" ||
9223 test "X$hardcode_automatic" = "Xyes" ; then
9225 # We can hardcode non-existent directories.
9226 if test "$hardcode_direct" != no
&&
9227 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9228 # have to relink, otherwise we might link with an installed library
9229 # when we should be linking with a yet-to-be-installed one
9230 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9231 test "$hardcode_minus_L" != no
; then
9232 # Linking always hardcodes the temporary library directory.
9233 hardcode_action
=relink
9235 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9236 hardcode_action
=immediate
9239 # We cannot hardcode anything, or else we can only hardcode existing
9241 hardcode_action
=unsupported
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9244 $as_echo "$hardcode_action" >&6; }
9246 if test "$hardcode_action" = relink ||
9247 test "$inherit_rpath" = yes; then
9248 # Fast installation is not supported
9249 enable_fast_install
=no
9250 elif test "$shlibpath_overrides_runpath" = yes ||
9251 test "$enable_shared" = no
; then
9252 # Fast installation is not necessary
9253 enable_fast_install
=needless
9261 if test "x$enable_dlopen" != xyes
; then
9262 enable_dlopen
=unknown
9263 enable_dlopen_self
=unknown
9264 enable_dlopen_self_static
=unknown
9271 lt_cv_dlopen
="load_add_on"
9273 lt_cv_dlopen_self
=yes
9276 mingw
* | pw32
* | cegcc
*)
9277 lt_cv_dlopen
="LoadLibrary"
9282 lt_cv_dlopen
="dlopen"
9287 # if libdl is installed we need to link against it
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9289 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9290 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9291 $as_echo_n "(cached) " >&6
9293 ac_check_lib_save_LIBS
=$LIBS
9295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9313 if ac_fn_c_try_link
"$LINENO"; then :
9314 ac_cv_lib_dl_dlopen
=yes
9316 ac_cv_lib_dl_dlopen
=no
9318 rm -f core conftest.err conftest.
$ac_objext \
9319 conftest
$ac_exeext conftest.
$ac_ext
9320 LIBS
=$ac_check_lib_save_LIBS
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9323 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9324 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9325 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9330 lt_cv_dlopen_self
=yes
9337 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9338 if test "x$ac_cv_func_shl_load" = xyes
; then :
9339 lt_cv_dlopen
="shl_load"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9342 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9343 if ${ac_cv_lib_dld_shl_load+:} false
; then :
9344 $as_echo_n "(cached) " >&6
9346 ac_check_lib_save_LIBS
=$LIBS
9348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9366 if ac_fn_c_try_link
"$LINENO"; then :
9367 ac_cv_lib_dld_shl_load
=yes
9369 ac_cv_lib_dld_shl_load
=no
9371 rm -f core conftest.err conftest.
$ac_objext \
9372 conftest
$ac_exeext conftest.
$ac_ext
9373 LIBS
=$ac_check_lib_save_LIBS
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9376 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9377 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
9378 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9380 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9381 if test "x$ac_cv_func_dlopen" = xyes
; then :
9382 lt_cv_dlopen
="dlopen"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9385 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9386 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9387 $as_echo_n "(cached) " >&6
9389 ac_check_lib_save_LIBS
=$LIBS
9391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9409 if ac_fn_c_try_link
"$LINENO"; then :
9410 ac_cv_lib_dl_dlopen
=yes
9412 ac_cv_lib_dl_dlopen
=no
9414 rm -f core conftest.err conftest.
$ac_objext \
9415 conftest
$ac_exeext conftest.
$ac_ext
9416 LIBS
=$ac_check_lib_save_LIBS
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9419 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9420 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9421 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9424 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9425 if ${ac_cv_lib_svld_dlopen+:} false
; then :
9426 $as_echo_n "(cached) " >&6
9428 ac_check_lib_save_LIBS
=$LIBS
9430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9448 if ac_fn_c_try_link
"$LINENO"; then :
9449 ac_cv_lib_svld_dlopen
=yes
9451 ac_cv_lib_svld_dlopen
=no
9453 rm -f core conftest.err conftest.
$ac_objext \
9454 conftest
$ac_exeext conftest.
$ac_ext
9455 LIBS
=$ac_check_lib_save_LIBS
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9458 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9459 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
9460 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9463 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9464 if ${ac_cv_lib_dld_dld_link+:} false
; then :
9465 $as_echo_n "(cached) " >&6
9467 ac_check_lib_save_LIBS
=$LIBS
9469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9487 if ac_fn_c_try_link
"$LINENO"; then :
9488 ac_cv_lib_dld_dld_link
=yes
9490 ac_cv_lib_dld_dld_link
=no
9492 rm -f core conftest.err conftest.
$ac_objext \
9493 conftest
$ac_exeext conftest.
$ac_ext
9494 LIBS
=$ac_check_lib_save_LIBS
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9497 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9498 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
9499 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9520 if test "x$lt_cv_dlopen" != xno
; then
9526 case $lt_cv_dlopen in
9528 save_CPPFLAGS
="$CPPFLAGS"
9529 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9531 save_LDFLAGS
="$LDFLAGS"
9532 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9535 LIBS
="$lt_cv_dlopen_libs $LIBS"
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9538 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9539 if ${lt_cv_dlopen_self+:} false
; then :
9540 $as_echo_n "(cached) " >&6
9542 if test "$cross_compiling" = yes; then :
9543 lt_cv_dlopen_self
=cross
9545 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9546 lt_status
=$lt_dlunknown
9547 cat > conftest.
$ac_ext <<_LT_EOF
9548 #line 9548 "configure"
9549 #include "confdefs.h"
9558 # define LT_DLGLOBAL RTLD_GLOBAL
9561 # define LT_DLGLOBAL DL_GLOBAL
9563 # define LT_DLGLOBAL 0
9567 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9568 find out it does not work in some platform. */
9569 #ifndef LT_DLLAZY_OR_NOW
9571 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9574 # define LT_DLLAZY_OR_NOW DL_LAZY
9577 # define LT_DLLAZY_OR_NOW RTLD_NOW
9580 # define LT_DLLAZY_OR_NOW DL_NOW
9582 # define LT_DLLAZY_OR_NOW 0
9589 void fnord() { int i=42;}
9592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9593 int status = $lt_dlunknown;
9597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9598 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9599 /* dlclose (self); */
9607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9608 (eval $ac_link) 2>&5
9610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9611 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9612 (.
/conftest
; exit; ) >&5 2>/dev
/null
9615 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9616 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9617 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9620 # compilation failed
9621 lt_cv_dlopen_self
=no
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9629 $as_echo "$lt_cv_dlopen_self" >&6; }
9631 if test "x$lt_cv_dlopen_self" = xyes
; then
9632 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9634 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9635 if ${lt_cv_dlopen_self_static+:} false
; then :
9636 $as_echo_n "(cached) " >&6
9638 if test "$cross_compiling" = yes; then :
9639 lt_cv_dlopen_self_static
=cross
9641 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9642 lt_status
=$lt_dlunknown
9643 cat > conftest.
$ac_ext <<_LT_EOF
9644 #line 9644 "configure"
9645 #include "confdefs.h"
9654 # define LT_DLGLOBAL RTLD_GLOBAL
9657 # define LT_DLGLOBAL DL_GLOBAL
9659 # define LT_DLGLOBAL 0
9663 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9664 find out it does not work in some platform. */
9665 #ifndef LT_DLLAZY_OR_NOW
9667 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9670 # define LT_DLLAZY_OR_NOW DL_LAZY
9673 # define LT_DLLAZY_OR_NOW RTLD_NOW
9676 # define LT_DLLAZY_OR_NOW DL_NOW
9678 # define LT_DLLAZY_OR_NOW 0
9685 void fnord() { int i=42;}
9688 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9689 int status = $lt_dlunknown;
9693 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9694 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9695 /* dlclose (self); */
9703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9704 (eval $ac_link) 2>&5
9706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9707 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9708 (.
/conftest
; exit; ) >&5 2>/dev
/null
9711 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9712 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9713 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9716 # compilation failed
9717 lt_cv_dlopen_self_static
=no
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9725 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9728 CPPFLAGS
="$save_CPPFLAGS"
9729 LDFLAGS
="$save_LDFLAGS"
9734 case $lt_cv_dlopen_self in
9735 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9736 *) enable_dlopen_self
=unknown
;;
9739 case $lt_cv_dlopen_self_static in
9740 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9741 *) enable_dlopen_self_static
=unknown
;;
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9764 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9765 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9766 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9767 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9769 $as_echo "yes" >&6; }
9771 # FIXME - insert some real tests, host_os isn't really good enough
9774 if test -n "$STRIP" ; then
9775 striplib
="$STRIP -x"
9776 old_striplib
="$STRIP -S"
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9778 $as_echo "yes" >&6; }
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9781 $as_echo "no" >&6; }
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9786 $as_echo "no" >&6; }
9802 # Report which library types will actually be built
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9804 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9806 $as_echo "$can_build_shared" >&6; }
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9809 $as_echo_n "checking whether to build shared libraries... " >&6; }
9810 test "$can_build_shared" = "no" && enable_shared
=no
9812 # On AIX, shared libraries and static libraries use the same namespace, and
9813 # are all built from PIC.
9816 test "$enable_shared" = yes && enable_static
=no
9817 if test -n "$RANLIB"; then
9818 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9819 postinstall_cmds
='$RANLIB $lib'
9824 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9825 test "$enable_shared" = yes && enable_static
=no
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9830 $as_echo "$enable_shared" >&6; }
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9833 $as_echo_n "checking whether to build static libraries... " >&6; }
9834 # Make sure either enable_shared or enable_static is yes.
9835 test "$enable_shared" = yes || enable_static
=yes
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9837 $as_echo "$enable_static" >&6; }
9844 ac_cpp
='$CPP $CPPFLAGS'
9845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9863 ac_config_commands
="$ac_config_commands libtool"
9871 # Find a good install program. We prefer a C program (faster),
9872 # so one script is as good as another. But avoid the broken or
9873 # incompatible versions:
9874 # SysV /etc/install, /usr/sbin/install
9875 # SunOS /usr/etc/install
9876 # IRIX /sbin/install
9878 # AmigaOS /C/install, which installs bootblocks on floppy discs
9879 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9880 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9881 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9882 # OS/2's system install, which has a completely different semantic
9883 # ./install, which can be erroneously created by make from ./install.sh.
9884 # Reject install programs that cannot install multiple files.
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9886 $as_echo_n "checking for a BSD-compatible install... " >&6; }
9887 if test -z "$INSTALL"; then
9888 if ${ac_cv_path_install+:} false
; then :
9889 $as_echo_n "(cached) " >&6
9891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9895 test -z "$as_dir" && as_dir
=.
9896 # Account for people who put trailing slashes in PATH elements.
9897 case $as_dir/ in #((
9898 .
/ | .
// |
/[cC
]/* | \
9899 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
9900 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
9903 # OSF1 and SCO ODT 3.0 have their own names for install.
9904 # Don't use installbsd from OSF since it installs stuff as root
9906 for ac_prog
in ginstall scoinst
install; do
9907 for ac_exec_ext
in '' $ac_executable_extensions; do
9908 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
9909 if test $ac_prog = install &&
9910 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9911 # AIX install. It has an incompatible calling convention.
9913 elif test $ac_prog = install &&
9914 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9915 # program-specific install script used by HP pwplus--don't use.
9918 rm -rf conftest.one conftest.two conftest.dir
9919 echo one
> conftest.one
9920 echo two
> conftest.two
9922 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
9923 test -s conftest.one
&& test -s conftest.two
&&
9924 test -s conftest.dir
/conftest.one
&&
9925 test -s conftest.dir
/conftest.two
9927 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
9940 rm -rf conftest.one conftest.two conftest.dir
9943 if test "${ac_cv_path_install+set}" = set; then
9944 INSTALL
=$ac_cv_path_install
9946 # As a last resort, use the slow shell script. Don't cache a
9947 # value for INSTALL within a source directory, because that will
9948 # break other packages using the cache if that directory is
9949 # removed, or if the value is a relative name.
9950 INSTALL
=$ac_install_sh
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9954 $as_echo "$INSTALL" >&6; }
9956 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9957 # It thinks the first close brace ends the variable substitution.
9958 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9960 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
9962 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9966 # Enable large file support (if special flags are necessary)
9968 # Check whether --enable-largefile was given.
9969 if test "${enable_largefile+set}" = set; then :
9970 enableval
=$enable_largefile;
9973 if test "$enable_largefile" != no
; then
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
9976 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
9977 if ${ac_cv_sys_largefile_CC+:} false
; then :
9978 $as_echo_n "(cached) " >&6
9980 ac_cv_sys_largefile_CC
=no
9981 if test "$GCC" != yes; then
9984 # IRIX 6.2 and later do not support large files by default,
9985 # so use the C compiler's -n32 option if that helps.
9986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 #include <sys/types.h>
9989 /* Check that off_t can represent 2**63 - 1 correctly.
9990 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9991 since some C++ compilers masquerading as C compilers
9992 incorrectly reject 9223372036854775807. */
9993 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9995 && LARGE_OFF_T % 2147483647 == 1)
10005 if ac_fn_c_try_compile
"$LINENO"; then :
10008 rm -f core conftest.err conftest.
$ac_objext
10010 if ac_fn_c_try_compile
"$LINENO"; then :
10011 ac_cv_sys_largefile_CC
=' -n32'; break
10013 rm -f core conftest.err conftest.
$ac_objext
10017 rm -f conftest.
$ac_ext
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
10021 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10022 if test "$ac_cv_sys_largefile_CC" != no
; then
10023 CC
=$CC$ac_cv_sys_largefile_CC
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10027 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10028 if ${ac_cv_sys_file_offset_bits+:} false
; then :
10029 $as_echo_n "(cached) " >&6
10032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 #include <sys/types.h>
10035 /* Check that off_t can represent 2**63 - 1 correctly.
10036 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10037 since some C++ compilers masquerading as C compilers
10038 incorrectly reject 9223372036854775807. */
10039 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10040 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10041 && LARGE_OFF_T % 2147483647 == 1)
10051 if ac_fn_c_try_compile
"$LINENO"; then :
10052 ac_cv_sys_file_offset_bits
=no
; break
10054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10057 #define _FILE_OFFSET_BITS 64
10058 #include <sys/types.h>
10059 /* Check that off_t can represent 2**63 - 1 correctly.
10060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10061 since some C++ compilers masquerading as C compilers
10062 incorrectly reject 9223372036854775807. */
10063 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10065 && LARGE_OFF_T % 2147483647 == 1)
10075 if ac_fn_c_try_compile
"$LINENO"; then :
10076 ac_cv_sys_file_offset_bits
=64; break
10078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10079 ac_cv_sys_file_offset_bits
=unknown
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
10084 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10085 case $ac_cv_sys_file_offset_bits in #(
10088 cat >>confdefs.h
<<_ACEOF
10089 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10094 if test $ac_cv_sys_file_offset_bits = unknown
; then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
10096 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10097 if ${ac_cv_sys_large_files+:} false
; then :
10098 $as_echo_n "(cached) " >&6
10101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10103 #include <sys/types.h>
10104 /* Check that off_t can represent 2**63 - 1 correctly.
10105 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10106 since some C++ compilers masquerading as C compilers
10107 incorrectly reject 9223372036854775807. */
10108 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10109 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10110 && LARGE_OFF_T % 2147483647 == 1)
10120 if ac_fn_c_try_compile
"$LINENO"; then :
10121 ac_cv_sys_large_files
=no
; break
10123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10126 #define _LARGE_FILES 1
10127 #include <sys/types.h>
10128 /* Check that off_t can represent 2**63 - 1 correctly.
10129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10130 since some C++ compilers masquerading as C compilers
10131 incorrectly reject 9223372036854775807. */
10132 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10134 && LARGE_OFF_T % 2147483647 == 1)
10144 if ac_fn_c_try_compile
"$LINENO"; then :
10145 ac_cv_sys_large_files
=1; break
10147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10148 ac_cv_sys_large_files
=unknown
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
10153 $as_echo "$ac_cv_sys_large_files" >&6; }
10154 case $ac_cv_sys_large_files in #(
10157 cat >>confdefs.h
<<_ACEOF
10158 #define _LARGE_FILES $ac_cv_sys_large_files
10170 # Check for needed/wanted data types
10171 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
10172 if test "x$ac_cv_type_int8_t" = xyes
; then :
10174 cat >>confdefs.h
<<_ACEOF
10175 #define HAVE_INT8_T 1
10180 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
10181 if test "x$ac_cv_type_int16_t" = xyes
; then :
10183 cat >>confdefs.h
<<_ACEOF
10184 #define HAVE_INT16_T 1
10189 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
10190 if test "x$ac_cv_type_int32_t" = xyes
; then :
10192 cat >>confdefs.h
<<_ACEOF
10193 #define HAVE_INT32_T 1
10198 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
10199 if test "x$ac_cv_type_int64_t" = xyes
; then :
10201 cat >>confdefs.h
<<_ACEOF
10202 #define HAVE_INT64_T 1
10207 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
10208 if test "x$ac_cv_type_intptr_t" = xyes
; then :
10210 cat >>confdefs.h
<<_ACEOF
10211 #define HAVE_INTPTR_T 1
10216 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
10217 if test "x$ac_cv_type_uint8_t" = xyes
; then :
10219 cat >>confdefs.h
<<_ACEOF
10220 #define HAVE_UINT8_T 1
10225 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
10226 if test "x$ac_cv_type_uint16_t" = xyes
; then :
10228 cat >>confdefs.h
<<_ACEOF
10229 #define HAVE_UINT16_T 1
10234 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
10235 if test "x$ac_cv_type_uint32_t" = xyes
; then :
10237 cat >>confdefs.h
<<_ACEOF
10238 #define HAVE_UINT32_T 1
10243 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
10244 if test "x$ac_cv_type_uint64_t" = xyes
; then :
10246 cat >>confdefs.h
<<_ACEOF
10247 #define HAVE_UINT64_T 1
10252 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
10253 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
10255 cat >>confdefs.h
<<_ACEOF
10256 #define HAVE_UINTPTR_T 1
10264 # Check for needed/wanted headers
10265 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
10267 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10268 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10269 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10270 cat >>confdefs.h
<<_ACEOF
10271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10280 # Figure out whether or not we have these functions
10282 for ac_func
in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul
usleep utime pread pread64 pwrite pwrite64
10284 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10285 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10286 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10287 cat >>confdefs.h
<<_ACEOF
10288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10296 # By default, we use the amalgamation (this may be changed below...)
10301 # See whether we can run specific tclsh versions known to work well;
10302 # if not, then we fall back to plain tclsh.
10303 # TODO: try other versions before falling back?
10305 for ac_prog
in tclsh8.6 tclsh8.5 tclsh
10307 # Extract the first word of "$ac_prog", so it can be a program name with args.
10308 set dummy
$ac_prog; ac_word
=$2
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10310 $as_echo_n "checking for $ac_word... " >&6; }
10311 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
10312 $as_echo_n "(cached) " >&6
10314 if test -n "$TCLSH_CMD"; then
10315 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
10317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10318 for as_dir
in $PATH
10321 test -z "$as_dir" && as_dir
=.
10322 for ac_exec_ext
in '' $ac_executable_extensions; do
10323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10324 ac_cv_prog_TCLSH_CMD
="$ac_prog"
10325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10334 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
10335 if test -n "$TCLSH_CMD"; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
10337 $as_echo "$TCLSH_CMD" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10340 $as_echo "no" >&6; }
10344 test -n "$TCLSH_CMD" && break
10346 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
10348 if test "$TCLSH_CMD" = "none"; then
10349 # If we can't find a local tclsh, then building the amalgamation will fail.
10350 # We act as though --disable-amalgamation has been used.
10351 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
10358 if test "x${TCLLIBDIR+set}" != "xset" ; then
10359 TCLLIBDIR
='$(libdir)'
10360 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
10364 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
10369 # Set up an appropriate program prefix
10371 if test "$program_prefix" = "NONE"; then
10376 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
10378 $as_echo "$as_me: Version set to $VERSION" >&6;}
10380 RELEASE
=`cat $srcdir/VERSION`
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
10382 $as_echo "$as_me: Release set to $RELEASE" >&6;}
10384 VERSION_NUMBER
=`cat $srcdir/VERSION \
10385 | sed 's/[^0-9]/ /g' \
10386 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
10388 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
10392 # Locate a compiler for the build machine. This compiler should
10393 # generate command-line programs that run on the build machine.
10395 if test x
"$cross_compiling" = xno
; then
10397 BUILD_CFLAGS
=$CFLAGS
10399 if test "${BUILD_CC+set}" != set; then
10400 for ac_prog
in gcc cc cl
10402 # Extract the first word of "$ac_prog", so it can be a program name with args.
10403 set dummy
$ac_prog; ac_word
=$2
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10405 $as_echo_n "checking for $ac_word... " >&6; }
10406 if ${ac_cv_prog_BUILD_CC+:} false
; then :
10407 $as_echo_n "(cached) " >&6
10409 if test -n "$BUILD_CC"; then
10410 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
10412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10413 for as_dir
in $PATH
10416 test -z "$as_dir" && as_dir
=.
10417 for ac_exec_ext
in '' $ac_executable_extensions; do
10418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10419 ac_cv_prog_BUILD_CC
="$ac_prog"
10420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10429 BUILD_CC
=$ac_cv_prog_BUILD_CC
10430 if test -n "$BUILD_CC"; then
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10432 $as_echo "$BUILD_CC" >&6; }
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10435 $as_echo "no" >&6; }
10439 test -n "$BUILD_CC" && break
10443 if test "${BUILD_CFLAGS+set}" != set; then
10450 # Do we want to support multithreaded use of sqlite
10452 # Check whether --enable-threadsafe was given.
10453 if test "${enable_threadsafe+set}" = set; then :
10454 enableval
=$enable_threadsafe;
10456 enable_threadsafe
=yes
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
10460 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
10461 if test "$enable_threadsafe" = "no"; then
10462 SQLITE_THREADSAFE
=0
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10464 $as_echo "no" >&6; }
10466 SQLITE_THREADSAFE
=1
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10468 $as_echo "yes" >&6; }
10472 if test "$SQLITE_THREADSAFE" = "1"; then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
10474 $as_echo_n "checking for library containing pthread_create... " >&6; }
10475 if ${ac_cv_search_pthread_create+:} false
; then :
10476 $as_echo_n "(cached) " >&6
10478 ac_func_search_save_LIBS
=$LIBS
10479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10488 char pthread_create ();
10492 return pthread_create ();
10497 for ac_lib
in '' pthread
; do
10498 if test -z "$ac_lib"; then
10499 ac_res
="none required"
10502 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10504 if ac_fn_c_try_link
"$LINENO"; then :
10505 ac_cv_search_pthread_create
=$ac_res
10507 rm -f core conftest.err conftest.
$ac_objext \
10509 if ${ac_cv_search_pthread_create+:} false
; then :
10513 if ${ac_cv_search_pthread_create+:} false
; then :
10516 ac_cv_search_pthread_create
=no
10518 rm conftest.
$ac_ext
10519 LIBS
=$ac_func_search_save_LIBS
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
10522 $as_echo "$ac_cv_search_pthread_create" >&6; }
10523 ac_res
=$ac_cv_search_pthread_create
10524 if test "$ac_res" != no
; then :
10525 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
10530 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
10531 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10532 $as_echo_n "(cached) " >&6
10534 ac_func_search_save_LIBS
=$LIBS
10535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10544 char pthread_mutexattr_init ();
10548 return pthread_mutexattr_init ();
10553 for ac_lib
in '' pthread
; do
10554 if test -z "$ac_lib"; then
10555 ac_res
="none required"
10558 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10560 if ac_fn_c_try_link
"$LINENO"; then :
10561 ac_cv_search_pthread_mutexattr_init
=$ac_res
10563 rm -f core conftest.err conftest.
$ac_objext \
10565 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10569 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10572 ac_cv_search_pthread_mutexattr_init
=no
10574 rm conftest.
$ac_ext
10575 LIBS
=$ac_func_search_save_LIBS
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
10578 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
10579 ac_res
=$ac_cv_search_pthread_mutexattr_init
10580 if test "$ac_res" != no
; then :
10581 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10588 # Do we want to support release
10590 # Check whether --enable-releasemode was given.
10591 if test "${enable_releasemode+set}" = set; then :
10592 enableval
=$enable_releasemode;
10594 enable_releasemode
=no
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
10598 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
10599 if test "$enable_releasemode" = "no"; then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10602 $as_echo "no" >&6; }
10604 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10606 $as_echo "yes" >&6; }
10611 # Do we want temporary databases in memory
10613 # Check whether --enable-tempstore was given.
10614 if test "${enable_tempstore+set}" = set; then :
10615 enableval
=$enable_tempstore;
10617 enable_tempstore
=no
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
10621 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
10622 case "$enable_tempstore" in
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
10626 $as_echo "never" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10631 $as_echo "no" >&6; }
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10636 $as_echo "yes" >&6; }
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
10641 $as_echo "always" >&6; }
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10646 $as_echo "no" >&6; }
10653 # Lots of things are different if we are compiling for Windows using
10654 # the CYGWIN environment. So check for that special case and handle
10655 # things accordingly.
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
10658 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
10659 if test "$config_BUILD_EXEEXT" = ".exe"; then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10662 $as_echo "yes" >&6; }
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
10665 $as_echo "unknown" >&6; }
10667 if test "$CYGWIN" != "yes"; then
10670 *cygwin
* ) CYGWIN
=yes;;
10675 if test "$CYGWIN" = "yes"; then
10678 BUILD_EXEEXT
=$EXEEXT
10680 if test x
"$cross_compiling" = xno
; then
10681 TARGET_EXEEXT
=$BUILD_EXEEXT
10683 TARGET_EXEEXT
=$config_TARGET_EXEEXT
10685 if test "$TARGET_EXEEXT" = ".exe"; then
10688 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
10692 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
10701 # Figure out all the parameters needed to compile against Tcl.
10703 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
10704 # macros in the in the tcl.m4 file of the standard TCL distribution.
10705 # Those macros could not be used directly since we have to make some
10706 # minor changes to accomodate systems that do not have TCL installed.
10708 # Check whether --enable-tcl was given.
10709 if test "${enable_tcl+set}" = set; then :
10710 enableval
=$enable_tcl; use_tcl
=$enableval
10715 if test "${use_tcl}" = "yes" ; then
10717 # Check whether --with-tcl was given.
10718 if test "${with_tcl+set}" = set; then :
10719 withval
=$with_tcl; with_tclconfig
=${withval}
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
10723 $as_echo_n "checking for Tcl configuration... " >&6; }
10724 if ${ac_cv_c_tclconfig+:} false
; then :
10725 $as_echo_n "(cached) " >&6
10728 # First check to see if --with-tcl was specified.
10729 if test x
"${with_tclconfig}" != x
; then
10730 if test -f "${with_tclconfig}/tclConfig.sh" ; then
10731 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
10733 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
10737 # Start autosearch by asking tclsh
10738 if test x
"${ac_cv_c_tclconfig}" = x
; then
10739 if test x
"$cross_compiling" = xno
; then
10740 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
10742 if test -f "$i/tclConfig.sh" ; then
10743 ac_cv_c_tclconfig
="$i"
10750 # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
10751 # So try again after applying corrections.
10752 if test x
"${ac_cv_c_tclconfig}" = x
; then
10753 if test x
"$cross_compiling" = xno
; then
10754 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
10756 if test -f "$i/tclConfig.sh" ; then
10757 ac_cv_c_tclconfig
="$i"
10764 # Recent versions of Xcode on Macs hid the tclConfig.sh file
10765 # in a strange place.
10766 if test x
"${ac_cv_c_tclconfig}" = x
; then
10767 if test x
"$cross_compiling" = xno
; then
10768 for i
in /Applications
/Xcode.app
/Contents
/Developer
/Platforms
/MacOSX.platform
/Developer
/SDKs
/MacOSX
*.sdk
/usr
/lib
10770 if test -f "$i/tclConfig.sh" ; then
10771 ac_cv_c_tclconfig
="$i"
10778 # then check for a private Tcl installation
10779 if test x
"${ac_cv_c_tclconfig}" = x
; then
10782 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10783 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
10784 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
10786 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10787 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
10788 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
10790 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10791 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
10792 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
10794 if test -f "$i/unix/tclConfig.sh" ; then
10795 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10801 # check in a few common install locations
10802 if test x
"${ac_cv_c_tclconfig}" = x
; then
10804 `ls -d ${libdir} 2>/dev/null` \
10805 `ls -d /usr/local/lib 2>/dev/null` \
10806 `ls -d /usr/contrib/lib 2>/dev/null` \
10807 `ls -d /usr/lib 2>/dev/null`
10809 if test -f "$i/tclConfig.sh" ; then
10810 ac_cv_c_tclconfig
=`(cd $i; pwd)`
10816 # check in a few other private locations
10817 if test x
"${ac_cv_c_tclconfig}" = x
; then
10820 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10821 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
10822 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
10824 if test -f "$i/unix/tclConfig.sh" ; then
10825 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10834 if test x
"${ac_cv_c_tclconfig}" = x
; then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
10837 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
10839 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
10841 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
10843 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
10845 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
10848 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
10849 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
10851 $as_echo "loading" >&6; }
10852 .
$TCL_BIN_DIR/tclConfig.sh
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
10855 $as_echo "file not found" >&6; }
10859 # If the TCL_BIN_DIR is the build directory (not the install directory),
10860 # then set the common variable name to the value of the build variables.
10861 # For example, the variable TCL_LIB_SPEC will be set to the value
10862 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
10863 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
10864 # installed and uninstalled version of Tcl.
10867 if test -f $TCL_BIN_DIR/Makefile
; then
10868 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
10869 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
10870 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
10874 # eval is required to do the TCL_DBGX substitution
10877 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
10878 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
10879 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
10881 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
10882 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
10883 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
10900 if test "${use_tcl}" = "no" ; then
10908 # Figure out what C libraries are required to compile programs
10909 # that use "readline()" library.
10911 TARGET_READLINE_LIBS
=""
10912 TARGET_READLINE_INC
=""
10913 TARGET_HAVE_READLINE
=0
10914 TARGET_HAVE_EDITLINE
=0
10915 # Check whether --enable-editline was given.
10916 if test "${enable_editline+set}" = set; then :
10917 enableval
=$enable_editline; with_editline
=$enableval
10922 # Check whether --enable-readline was given.
10923 if test "${enable_readline+set}" = set; then :
10924 enableval
=$enable_readline; with_readline
=$enableval
10930 if test x
"$with_editline" != xno
; then
10933 TARGET_HAVE_EDITLINE
=1
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
10935 $as_echo_n "checking for library containing readline... " >&6; }
10936 if ${ac_cv_search_readline+:} false
; then :
10937 $as_echo_n "(cached) " >&6
10939 ac_func_search_save_LIBS
=$LIBS
10940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10953 return readline ();
10958 for ac_lib
in '' edit
; do
10959 if test -z "$ac_lib"; then
10960 ac_res
="none required"
10963 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10965 if ac_fn_c_try_link
"$LINENO"; then :
10966 ac_cv_search_readline
=$ac_res
10968 rm -f core conftest.err conftest.
$ac_objext \
10970 if ${ac_cv_search_readline+:} false
; then :
10974 if ${ac_cv_search_readline+:} false
; then :
10977 ac_cv_search_readline
=no
10979 rm conftest.
$ac_ext
10980 LIBS
=$ac_func_search_save_LIBS
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
10983 $as_echo "$ac_cv_search_readline" >&6; }
10984 ac_res
=$ac_cv_search_readline
10985 if test "$ac_res" != no
; then :
10986 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10989 TARGET_HAVE_EDITLINE
=0
10992 TARGET_READLINE_LIBS
=$LIBS
10995 if test x
"$with_readline" != xno
; then
10999 # Check whether --with-readline-lib was given.
11000 if test "${with_readline_lib+set}" = set; then :
11001 withval
=$with_readline_lib; with_readline_lib
=$withval
11003 with_readline_lib
="auto"
11006 if test "x$with_readline_lib" = xauto
; then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
11010 $as_echo_n "checking for library containing tgetent... " >&6; }
11011 if ${ac_cv_search_tgetent+:} false
; then :
11012 $as_echo_n "(cached) " >&6
11014 ac_func_search_save_LIBS
=$LIBS
11015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11033 for ac_lib
in '' readline ncurses curses termcap
; do
11034 if test -z "$ac_lib"; then
11035 ac_res
="none required"
11038 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11040 if ac_fn_c_try_link
"$LINENO"; then :
11041 ac_cv_search_tgetent
=$ac_res
11043 rm -f core conftest.err conftest.
$ac_objext \
11045 if ${ac_cv_search_tgetent+:} false
; then :
11049 if ${ac_cv_search_tgetent+:} false
; then :
11052 ac_cv_search_tgetent
=no
11054 rm conftest.
$ac_ext
11055 LIBS
=$ac_func_search_save_LIBS
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
11058 $as_echo "$ac_cv_search_tgetent" >&6; }
11059 ac_res
=$ac_cv_search_tgetent
11060 if test "$ac_res" != no
; then :
11061 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
11068 $as_echo_n "checking for readline in -lreadline... " >&6; }
11069 if ${ac_cv_lib_readline_readline+:} false
; then :
11070 $as_echo_n "(cached) " >&6
11072 ac_check_lib_save_LIBS
=$LIBS
11073 LIBS
="-lreadline $LIBS"
11074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11087 return readline ();
11092 if ac_fn_c_try_link
"$LINENO"; then :
11093 ac_cv_lib_readline_readline
=yes
11095 ac_cv_lib_readline_readline
=no
11097 rm -f core conftest.err conftest.
$ac_objext \
11098 conftest
$ac_exeext conftest.
$ac_ext
11099 LIBS
=$ac_check_lib_save_LIBS
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
11102 $as_echo "$ac_cv_lib_readline_readline" >&6; }
11103 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
11104 TARGET_READLINE_LIBS
="-lreadline"
11109 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
11112 TARGET_READLINE_LIBS
="$with_readline_lib"
11116 # Check whether --with-readline-inc was given.
11117 if test "${with_readline_inc+set}" = set; then :
11118 withval
=$with_readline_inc; with_readline_inc
=$withval
11120 with_readline_inc
="auto"
11123 if test "x$with_readline_inc" = xauto
; then
11124 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
11125 if test "x$ac_cv_header_readline_h" = xyes
; then :
11130 if test "$cross_compiling" != yes; then
11131 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
11132 for subdir
in include include
/readline
; do
11133 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
11135 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
11136 if eval \
${$as_ac_File+:} false
; then :
11137 $as_echo_n "(cached) " >&6
11139 test "$cross_compiling" = yes &&
11140 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
11141 if test -r "$dir/$subdir/readline.h"; then
11142 eval "$as_ac_File=yes"
11144 eval "$as_ac_File=no"
11147 eval ac_res
=\$
$as_ac_File
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11149 $as_echo "$ac_res" >&6; }
11150 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
11154 if test "$found" = "yes"; then
11155 TARGET_READLINE_INC
="-I$dir/$subdir"
11159 test "$found" = "yes" && break
11167 TARGET_READLINE_INC
="$with_readline_inc"
11170 if test x
"$found" = xno
; then
11171 TARGET_READLINE_LIBS
=""
11172 TARGET_READLINE_INC
=""
11173 TARGET_HAVE_READLINE
=0
11175 TARGET_HAVE_READLINE
=1
11185 # Figure out what C libraries are required to compile programs
11186 # that use "fdatasync()" function.
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
11189 $as_echo_n "checking for library containing fdatasync... " >&6; }
11190 if ${ac_cv_search_fdatasync+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11193 ac_func_search_save_LIBS
=$LIBS
11194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11197 /* Override any GCC internal prototype to avoid an error.
11198 Use char because int might match the return type of a GCC
11199 builtin and then its argument prototype would still apply. */
11207 return fdatasync ();
11212 for ac_lib
in '' rt
; do
11213 if test -z "$ac_lib"; then
11214 ac_res
="none required"
11217 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11219 if ac_fn_c_try_link
"$LINENO"; then :
11220 ac_cv_search_fdatasync
=$ac_res
11222 rm -f core conftest.err conftest.
$ac_objext \
11224 if ${ac_cv_search_fdatasync+:} false
; then :
11228 if ${ac_cv_search_fdatasync+:} false
; then :
11231 ac_cv_search_fdatasync
=no
11233 rm conftest.
$ac_ext
11234 LIBS
=$ac_func_search_save_LIBS
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
11237 $as_echo "$ac_cv_search_fdatasync" >&6; }
11238 ac_res
=$ac_cv_search_fdatasync
11239 if test "$ac_res" != no
; then :
11240 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11246 # check for debug enabled
11247 # Check whether --enable-debug was given.
11248 if test "${enable_debug+set}" = set; then :
11249 enableval
=$enable_debug; use_debug
=$enableval
11254 if test "${use_debug}" = "yes" ; then
11255 TARGET_DEBUG
="-DSQLITE_DEBUG=1 -DSQLITE_ENABLE_SELECTTRACE -DSQLITE_ENABLE_WHERETRACE"
11257 TARGET_DEBUG
="-DNDEBUG"
11262 # See whether we should use the amalgamation to build
11263 # Check whether --enable-amalgamation was given.
11264 if test "${enable_amalgamation+set}" = set; then :
11265 enableval
=$enable_amalgamation; use_amalgamation
=$enableval
11267 use_amalgamation
=yes
11270 if test "${use_amalgamation}" != "yes" ; then
11276 # See whether we should allow loadable extensions
11277 # Check whether --enable-load-extension was given.
11278 if test "${enable_load_extension+set}" = set; then :
11279 enableval
=$enable_load_extension; use_loadextension
=$enableval
11281 use_loadextension
=yes
11284 if test "${use_loadextension}" = "yes" ; then
11285 OPT_FEATURE_FLAGS
=""
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11287 $as_echo_n "checking for library containing dlopen... " >&6; }
11288 if ${ac_cv_search_dlopen+:} false
; then :
11289 $as_echo_n "(cached) " >&6
11291 ac_func_search_save_LIBS
=$LIBS
11292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11310 for ac_lib
in '' dl
; do
11311 if test -z "$ac_lib"; then
11312 ac_res
="none required"
11315 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11317 if ac_fn_c_try_link
"$LINENO"; then :
11318 ac_cv_search_dlopen
=$ac_res
11320 rm -f core conftest.err conftest.
$ac_objext \
11322 if ${ac_cv_search_dlopen+:} false
; then :
11326 if ${ac_cv_search_dlopen+:} false
; then :
11329 ac_cv_search_dlopen
=no
11331 rm conftest.
$ac_ext
11332 LIBS
=$ac_func_search_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11335 $as_echo "$ac_cv_search_dlopen" >&6; }
11336 ac_res
=$ac_cv_search_dlopen
11337 if test "$ac_res" != no
; then :
11338 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11343 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
11347 # Do we want to support memsys3 and/or memsys5
11349 # Check whether --enable-memsys5 was given.
11350 if test "${enable_memsys5+set}" = set; then :
11351 enableval
=$enable_memsys5; enable_memsys5
=yes
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS5" >&5
11357 $as_echo_n "checking whether to support MEMSYS5... " >&6; }
11358 if test "${enable_memsys5}" = "yes"; then
11359 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_MEMSYS5"
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11361 $as_echo "yes" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11364 $as_echo "no" >&6; }
11366 # Check whether --enable-memsys3 was given.
11367 if test "${enable_memsys3+set}" = set; then :
11368 enableval
=$enable_memsys3; enable_memsys3
=yes
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS3" >&5
11374 $as_echo_n "checking whether to support MEMSYS3... " >&6; }
11375 if test "${enable_memsys3}" = "yes" -a "${enable_memsys5}" = "no"; then
11376 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_MEMSYS3"
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11378 $as_echo "yes" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11381 $as_echo "no" >&6; }
11385 # See whether we should enable Full Text Search extensions
11386 # Check whether --enable-fts3 was given.
11387 if test "${enable_fts3+set}" = set; then :
11388 enableval
=$enable_fts3; enable_fts3
=yes
11393 if test "${enable_fts3}" = "yes" ; then
11394 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_FTS3"
11396 # Check whether --enable-fts4 was given.
11397 if test "${enable_fts4+set}" = set; then :
11398 enableval
=$enable_fts4; enable_fts4
=yes
11403 if test "${enable_fts4}" = "yes" ; then
11404 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_FTS4"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
11406 $as_echo_n "checking for library containing log... " >&6; }
11407 if ${ac_cv_search_log+:} false
; then :
11408 $as_echo_n "(cached) " >&6
11410 ac_func_search_save_LIBS
=$LIBS
11411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11429 for ac_lib
in '' m
; do
11430 if test -z "$ac_lib"; then
11431 ac_res
="none required"
11434 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11436 if ac_fn_c_try_link
"$LINENO"; then :
11437 ac_cv_search_log
=$ac_res
11439 rm -f core conftest.err conftest.
$ac_objext \
11441 if ${ac_cv_search_log+:} false
; then :
11445 if ${ac_cv_search_log+:} false
; then :
11448 ac_cv_search_log
=no
11450 rm conftest.
$ac_ext
11451 LIBS
=$ac_func_search_save_LIBS
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
11454 $as_echo "$ac_cv_search_log" >&6; }
11455 ac_res
=$ac_cv_search_log
11456 if test "$ac_res" != no
; then :
11457 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11462 # Check whether --enable-fts5 was given.
11463 if test "${enable_fts5+set}" = set; then :
11464 enableval
=$enable_fts5; enable_fts5
=yes
11469 if test "${enable_fts5}" = "yes" ; then
11470 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_FTS5"
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
11472 $as_echo_n "checking for library containing log... " >&6; }
11473 if ${ac_cv_search_log+:} false
; then :
11474 $as_echo_n "(cached) " >&6
11476 ac_func_search_save_LIBS
=$LIBS
11477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11495 for ac_lib
in '' m
; do
11496 if test -z "$ac_lib"; then
11497 ac_res
="none required"
11500 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11502 if ac_fn_c_try_link
"$LINENO"; then :
11503 ac_cv_search_log
=$ac_res
11505 rm -f core conftest.err conftest.
$ac_objext \
11507 if ${ac_cv_search_log+:} false
; then :
11511 if ${ac_cv_search_log+:} false
; then :
11514 ac_cv_search_log
=no
11516 rm conftest.
$ac_ext
11517 LIBS
=$ac_func_search_save_LIBS
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
11520 $as_echo "$ac_cv_search_log" >&6; }
11521 ac_res
=$ac_cv_search_log
11522 if test "$ac_res" != no
; then :
11523 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11530 # See whether we should enable JSON1
11531 # Check whether --enable-json1 was given.
11532 if test "${enable_json1+set}" = set; then :
11533 enableval
=$enable_json1; enable_json1
=yes
11538 if test "${enable_json1}" = "yes" ; then
11539 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_JSON1"
11543 # See whether we should enable RTREE
11544 # Check whether --enable-rtree was given.
11545 if test "${enable_rtree+set}" = set; then :
11546 enableval
=$enable_rtree; enable_rtree
=yes
11551 if test "${enable_rtree}" = "yes" ; then
11552 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_RTREE"
11556 # See whether we should enable the SESSION extension
11557 # Check whether --enable-session was given.
11558 if test "${enable_session+set}" = set; then :
11559 enableval
=$enable_session; enable_session
=yes
11564 if test "${enable_session}" = "yes" ; then
11565 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_SESSION"
11566 OPT_FEATURE_FLAGS
+=" -DSQLITE_ENABLE_PREUPDATE_HOOK"
11570 # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
11571 for option
in $CFLAGS $CPPFLAGS
11574 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11575 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11581 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
11583 for option
in $CFLAGS
11587 -DSQLITE_ENABLE*) ;;
11588 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
11591 CFLAGS
=$ac_temp_CFLAGS
11594 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
11595 ac_temp_CPPFLAGS
=""
11596 for option
in $CPPFLAGS
11600 -DSQLITE_ENABLE*) ;;
11601 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
11604 CPPFLAGS
=$ac_temp_CPPFLAGS
11607 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
11608 ac_temp_BUILD_CFLAGS
=""
11609 for option
in $BUILD_CFLAGS
11613 -DSQLITE_ENABLE*) ;;
11614 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
11617 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
11621 # See whether we should use GCOV
11622 # Check whether --enable-gcov was given.
11623 if test "${enable_gcov+set}" = set; then :
11624 enableval
=$enable_gcov; use_gcov
=$enableval
11629 if test "${use_gcov}" = "yes" ; then
11638 # Output the config header
11639 ac_config_headers
="$ac_config_headers config.h"
11643 # Generate the output files.
11646 ac_config_files
="$ac_config_files Makefile sqlite3.pc"
11648 cat >confcache
<<\_ACEOF
11649 # This file is a shell script that caches the results of configure
11650 # tests run on this system so they can be shared between configure
11651 # scripts and configure runs, see configure's option --config-cache.
11652 # It is not useful on other systems. If it contains results you don't
11653 # want to keep, you may remove or edit it.
11655 # config.status only pays attention to the cache file if you give it
11656 # the --recheck option to rerun configure.
11658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11660 # following values.
11664 # The following way of writing the cache mishandles newlines in values,
11665 # but we know of no workaround that is simple, portable, and efficient.
11666 # So, we kill variables containing newlines.
11667 # Ultrix sh set writes to stderr and can't be redirected directly,
11668 # and sets the high bit in the cache file unless we assign to the vars.
11670 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11671 eval ac_val
=\$
$ac_var
11675 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11676 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11679 _ | IFS | as_nl
) ;; #(
11680 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11681 *) { eval $ac_var=; unset $ac_var;} ;;
11687 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11688 *${as_nl}ac_space
=\
*)
11689 # `set' does not quote correctly, so add quotes: double-quote
11690 # substitution turns \\\\ into \\, and sed turns \\ into \.
11693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11696 # `set' quotes correctly as required by POSIX, so do not add quotes.
11697 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11706 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11708 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11710 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11711 if test -w "$cache_file"; then
11712 if test "x$cache_file" != "x/dev/null"; then
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11714 $as_echo "$as_me: updating cache $cache_file" >&6;}
11715 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11716 cat confcache
>"$cache_file"
11718 case $cache_file in #(
11720 mv -f confcache
"$cache_file"$$
&&
11721 mv -f "$cache_file"$$
"$cache_file" ;; #(
11723 mv -f confcache
"$cache_file" ;;
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11729 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11734 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11735 # Let make expand exec_prefix.
11736 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11738 DEFS
=-DHAVE_CONFIG_H
11743 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11744 # 1. Remove the extension, and $U if already installed.
11745 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11746 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11747 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11748 # will be set to the directory where LIBOBJS objects are built.
11749 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11750 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11752 LIBOBJS
=$ac_libobjs
11754 LTLIBOBJS
=$ac_ltlibobjs
11758 : "${CONFIG_STATUS=./config.status}"
11760 ac_clean_files_save
=$ac_clean_files
11761 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11763 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11765 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11767 # Generated by $as_me.
11768 # Run this file to recreate the current configuration.
11769 # Compiler output produced by configure, useful for debugging
11770 # configure, is in config.log if it exists.
11773 ac_cs_recheck=false
11776 SHELL=\${CONFIG_SHELL-$SHELL}
11779 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11780 ## -------------------- ##
11781 ## M4sh Initialization. ##
11782 ## -------------------- ##
11784 # Be more Bourne compatible
11785 DUALCASE
=1; export DUALCASE
# for MKS sh
11786 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11789 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11790 # is contrary to our usage. Disable this feature.
11791 alias -g '${1+"$@"}'='"$@"'
11792 setopt NO_GLOB_SUBST
11794 case `(set -o) 2>/dev/null` in #(
11806 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11807 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11808 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11810 # Prefer a ksh shell builtin over an external printf program on Solaris,
11811 # but without wasting forks for bash or zsh.
11812 if test -z "$BASH_VERSION$ZSH_VERSION" \
11813 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11814 as_echo='print
-r --'
11815 as_echo_n='print
-rn --'
11816 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11817 as_echo='printf %s
\n'
11818 as_echo_n='printf %s
'
11820 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11821 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11822 as_echo_n='/usr
/ucb
/echo -n'
11824 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11825 as_echo_n_body='eval
11829 expr "X$arg" : "X\\(.*\\)$as_nl";
11830 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11832 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11834 export as_echo_n_body
11835 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11837 export as_echo_body
11838 as_echo='sh
-c $as_echo_body as_echo
'
11841 # The user is always right.
11842 if test "${PATH_SEPARATOR+set}" != set; then
11844 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11845 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11852 # We need space, tab and new line, in precisely that order. Quoting is
11853 # there to prevent editors from complaining about space-tab.
11854 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11855 # splitting by setting IFS to empty value.)
11858 # Find who we are. Look in the path if we contain no directory separator.
11861 *[\\/]* ) as_myself=$0 ;;
11862 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11863 for as_dir in $PATH
11866 test -z "$as_dir" && as_dir=.
11867 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11873 # We did not find ourselves, most probably we were run as `sh COMMAND'
11874 # in which case we are not to be found in the path.
11875 if test "x$as_myself" = x
; then
11878 if test ! -f "$as_myself"; then
11879 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11883 # Unset variables that we do not need and which cause bugs (e.g. in
11884 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11885 # suppresses any "Segmentation fault" message there. '((' could
11886 # trigger a bug in pdksh 5.2.14.
11887 for as_var
in BASH_ENV ENV MAIL MAILPATH
11888 do eval test x\
${$as_var+set} = xset \
11889 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11902 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11905 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11906 # ----------------------------------------
11907 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11908 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11909 # script with STATUS, using 1 if that was 0.
11912 as_status
=$1; test $as_status -eq 0 && as_status
=1
11914 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11915 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11917 $as_echo "$as_me: error: $2" >&2
11918 as_fn_exit
$as_status
11922 # as_fn_set_status STATUS
11923 # -----------------------
11924 # Set $? to STATUS, without forking.
11925 as_fn_set_status
()
11928 } # as_fn_set_status
11930 # as_fn_exit STATUS
11931 # -----------------
11932 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11936 as_fn_set_status
$1
11942 # Portably unset VAR.
11945 { eval $1=; unset $1;}
11947 as_unset
=as_fn_unset
11948 # as_fn_append VAR VALUE
11949 # ----------------------
11950 # Append the text in VALUE to the end of the definition contained in VAR. Take
11951 # advantage of any shell optimizations that allow amortized linear growth over
11952 # repeated appends, instead of the typical quadratic growth present in naive
11954 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11955 eval 'as_fn_append ()
11966 # as_fn_arith ARG...
11967 # ------------------
11968 # Perform arithmetic evaluation on the ARGs, and store the result in the
11969 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11970 # must be portable across $(()) and expr.
11971 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11972 eval 'as_fn_arith ()
11979 as_val
=`expr "$@" || test $? -eq 1`
11984 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11985 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11991 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11992 as_basename
=basename
11997 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12003 as_me
=`$as_basename -- "$0" ||
12004 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12005 X"$0" : 'X\(//\)$' \| \
12006 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12008 sed '/^.*\/\([^/][^/]*\)\/*$/{
12022 # Avoid depending upon Character Ranges.
12023 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12024 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12025 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12026 as_cr_digits
='0123456789'
12027 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12029 ECHO_C
= ECHO_N
= ECHO_T
=
12030 case `echo -n x` in #(((((
12032 case `echo 'xy\c'` in
12033 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12035 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12042 rm -f conf$$ conf$$.exe conf$$.
file
12043 if test -d conf$$.dir
; then
12044 rm -f conf$$.dir
/conf$$.
file
12047 mkdir conf$$.dir
2>/dev
/null
12049 if (echo >conf$$.
file) 2>/dev
/null
; then
12050 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12052 # ... but there are two gotchas:
12053 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12054 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12055 # In both cases, we have to default to `cp -pR'.
12056 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12058 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12066 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12067 rmdir conf$$.dir
2>/dev
/null
12072 # Create "$as_dir" as a directory, including parents if necessary.
12077 -*) as_dir
=.
/$as_dir;;
12079 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12083 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12084 *) as_qdir
=$as_dir;;
12086 as_dirs
="'$as_qdir' $as_dirs"
12087 as_dir
=`$as_dirname -- "$as_dir" ||
12088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12089 X"$as_dir" : 'X\(//\)[^/]' \| \
12090 X"$as_dir" : 'X\(//\)$' \| \
12091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12092 $as_echo X"$as_dir" |
12093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12097 /^X\(\/\/\)[^/].*/{
12110 test -d "$as_dir" && break
12112 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12113 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12117 if mkdir
-p .
2>/dev
/null
; then
12118 as_mkdir_p
='mkdir -p "$as_dir"'
12120 test -d .
/-p && rmdir .
/-p
12125 # as_fn_executable_p FILE
12126 # -----------------------
12127 # Test if FILE is an executable regular file.
12128 as_fn_executable_p
()
12130 test -f "$1" && test -x "$1"
12131 } # as_fn_executable_p
12132 as_test_x
='test -x'
12133 as_executable_p
=as_fn_executable_p
12135 # Sed expression to map a string onto a valid CPP name.
12136 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12138 # Sed expression to map a string onto a valid variable name.
12139 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12143 ## ----------------------------------- ##
12144 ## Main body of $CONFIG_STATUS script. ##
12145 ## ----------------------------------- ##
12147 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12150 # Save the log message, to keep $0 and so on meaningful, and to
12151 # report actual input values of CONFIG_FILES etc. instead of their
12152 # values after options handling.
12154 This file was extended by sqlite $as_me 3.17.0, which was
12155 generated by GNU Autoconf 2.69. Invocation command line was
12157 CONFIG_FILES = $CONFIG_FILES
12158 CONFIG_HEADERS = $CONFIG_HEADERS
12159 CONFIG_LINKS = $CONFIG_LINKS
12160 CONFIG_COMMANDS = $CONFIG_COMMANDS
12163 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12168 case $ac_config_files in *"
12169 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12172 case $ac_config_headers in *"
12173 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12178 # Files that config.status was made for.
12179 config_files="$ac_config_files"
12180 config_headers="$ac_config_headers"
12181 config_commands="$ac_config_commands"
12185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12187 \`$as_me' instantiates files and other configuration actions
12188 from templates according to the current configuration. Unless the files
12189 and actions are specified as TAGs, all are instantiated by default.
12191 Usage: $0 [OPTION]... [TAG]...
12193 -h, --help print this help, then exit
12194 -V, --version print version number and configuration settings, then exit
12195 --config print configuration, then exit
12196 -q, --quiet, --silent
12197 do not print progress messages
12198 -d, --debug don't remove temporary files
12199 --recheck update $as_me by reconfiguring in the same conditions
12200 --file=FILE[:TEMPLATE]
12201 instantiate the configuration file FILE
12202 --header=FILE[:TEMPLATE]
12203 instantiate the configuration header FILE
12205 Configuration files:
12208 Configuration headers:
12211 Configuration commands:
12214 Report bugs to the package provider."
12217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12218 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12220 sqlite config.status 3.17.0
12221 configured by $0, generated by GNU Autoconf 2.69,
12222 with options \\"\$ac_cs_config\\"
12224 Copyright (C) 2012 Free Software Foundation, Inc.
12225 This config.status script is free software; the Free Software Foundation
12226 gives unlimited permission to copy, distribute and modify it."
12231 test -n "\$AWK" || AWK=awk
12234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12235 # The default lists apply if the user does not specify any file.
12241 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12242 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12246 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12258 # Handling of the options.
12259 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12261 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12262 $as_echo "$ac_cs_version"; exit ;;
12263 --config |
--confi |
--conf |
--con |
--co |
--c )
12264 $as_echo "$ac_cs_config"; exit ;;
12265 --debug |
--debu |
--deb |
--de |
--d |
-d )
12267 --file |
--fil |
--fi |
--f )
12270 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12271 '') as_fn_error $?
"missing file argument" ;;
12273 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12274 ac_need_defaults
=false
;;
12275 --header |
--heade |
--head |
--hea )
12278 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12280 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12281 ac_need_defaults
=false
;;
12283 # Conflict between --help and --header
12284 as_fn_error $?
"ambiguous option: \`$1'
12285 Try \`$0 --help' for more information.";;
12286 --help |
--hel |
-h )
12287 $as_echo "$ac_cs_usage"; exit ;;
12288 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12289 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12292 # This is an error.
12293 -*) as_fn_error $?
"unrecognized option: \`$1'
12294 Try \`$0 --help' for more information." ;;
12296 *) as_fn_append ac_config_targets
" $1"
12297 ac_need_defaults
=false
;;
12303 ac_configure_extra_args
=
12305 if $ac_cs_silent; then
12307 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12312 if \$ac_cs_recheck; then
12313 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12315 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12316 CONFIG_SHELL='$SHELL'
12317 export CONFIG_SHELL
12322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12326 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12327 ## Running $as_me. ##
12333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12339 # The HP-UX ksh and POSIX shell print the target directory to stdout
12340 # if CDPATH is set.
12341 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12343 sed_quote_subst='$sed_quote_subst'
12344 double_quote_subst='$double_quote_subst'
12345 delay_variable_subst='$delay_variable_subst'
12346 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12347 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12348 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12349 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12350 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12351 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12352 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12353 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12354 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12355 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12356 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12357 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12358 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12359 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12360 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12361 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12362 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12363 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12364 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12365 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12366 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12367 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12368 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12369 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12370 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12371 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12372 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12373 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12374 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12375 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12376 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12377 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12378 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12379 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12380 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12381 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12382 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12383 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12384 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12385 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12386 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12387 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12388 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12389 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12390 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"`'
12391 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"`'
12392 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12393 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12394 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12395 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12396 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12397 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12398 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12399 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12400 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12401 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12402 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12403 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12404 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12405 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12406 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12407 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12408 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12409 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12410 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12411 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12412 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12413 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12414 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12415 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12416 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12417 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12418 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12419 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12420 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12421 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12422 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12423 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12424 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12425 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12426 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12427 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12428 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12429 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12430 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12431 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12432 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12433 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12434 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12435 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12436 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12437 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12438 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12439 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12440 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12441 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12442 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12443 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12444 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12445 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12446 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12447 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12448 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12449 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12450 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12451 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12452 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12453 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12454 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12455 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12456 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12457 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12458 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12459 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12460 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12461 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12462 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12463 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12466 LTCFLAGS='$LTCFLAGS'
12467 compiler='$compiler_DEFAULT'
12469 # Quote evaled strings.
12481 deplibs_check_method \
12490 lt_cv_sys_global_symbol_pipe \
12491 lt_cv_sys_global_symbol_to_cdecl \
12492 lt_cv_sys_global_symbol_to_c_name_address \
12493 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12496 lt_prog_compiler_no_builtin_flag \
12497 lt_prog_compiler_wl \
12498 lt_prog_compiler_pic \
12499 lt_prog_compiler_static \
12500 lt_cv_prog_compiler_c_o \
12508 export_dynamic_flag_spec \
12509 whole_archive_flag_spec \
12510 compiler_needs_object \
12512 allow_undefined_flag \
12513 no_undefined_flag \
12514 hardcode_libdir_flag_spec \
12515 hardcode_libdir_flag_spec_ld \
12516 hardcode_libdir_separator \
12521 variables_saved_for_relink \
12523 library_names_spec \
12528 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12529 *[\\\\\\\`\\"\\\$]*)
12530 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12533 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12538 # Double-quote double-evaled strings.
12539 for var in reload_cmds \
12540 old_postinstall_cmds \
12541 old_postuninstall_cmds \
12543 extract_expsyms_cmds \
12544 old_archive_from_new_cmds \
12545 old_archive_from_expsyms_cmds \
12547 archive_expsym_cmds \
12549 module_expsym_cmds \
12550 export_symbols_cmds \
12553 postuninstall_cmds \
12555 sys_lib_search_path_spec \
12556 sys_lib_dlsearch_path_spec; do
12557 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12558 *[\\\\\\\`\\"\\\$]*)
12559 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12562 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12567 # Fix-up fallback echo if it was mangled by the above quoting rules.
12569 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12573 ac_aux_dir='$ac_aux_dir'
12574 xsi_shell='$xsi_shell'
12575 lt_shell_append='$lt_shell_append'
12577 # See if we are running on zsh, and set the options which allow our
12578 # commands through without removal of \ escapes INIT.
12579 if test -n "\${ZSH_VERSION+set}" ; then
12580 setopt NO_GLOB_SUBST
12586 TIMESTAMP='$TIMESTAMP'
12595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12597 # Handling of arguments.
12598 for ac_config_target
in $ac_config_targets
12600 case $ac_config_target in
12601 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12602 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12603 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12604 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
12606 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12611 # If the user did not use the arguments to specify the items to instantiate,
12612 # then the envvar interface is used. Set only those that are not.
12613 # We use the long form for the default assignment because of an extremely
12614 # bizarre bug on SunOS 4.1.3.
12615 if $ac_need_defaults; then
12616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12617 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12618 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12621 # Have a temporary directory for convenience. Make it in the build tree
12622 # simply because there is no reason against having it here, and in addition,
12623 # creating and moving files from /tmp can sometimes cause problems.
12624 # Hook for its removal unless debugging.
12625 # Note that there is a small window in which the directory will not be cleaned:
12626 # after its creation but before its name has been assigned to `$tmp'.
12630 trap 'exit_status=$?
12631 : "${ac_tmp:=$tmp}"
12632 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12634 trap 'as_fn_exit 1' 1 2 13 15
12636 # Create a (secure) tmp directory for tmp files.
12639 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12643 tmp
=.
/conf$$
-$RANDOM
12644 (umask 077 && mkdir
"$tmp")
12645 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12648 # Set up the scripts for CONFIG_FILES section.
12649 # No need to generate them if there are no CONFIG_FILES.
12650 # This happens for instance with `./config.status config.h'.
12651 if test -n "$CONFIG_FILES"; then
12654 ac_cr
=`echo X | tr X '\015'`
12655 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12656 # But we know of no other shell where ac_cr would be empty at this
12657 # point, so we can use a bashism as a fallback.
12658 if test "x$ac_cr" = x
; then
12659 eval ac_cr
=\$
\'\\r
\'
12661 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12662 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12665 ac_cs_awk_cr
=$ac_cr
12668 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12673 echo "cat >conf$$subs.awk <<_ACEOF" &&
12674 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12676 } >conf$$subs.sh ||
12677 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12678 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12680 for ac_last_try in false false false false false :; do
12681 . ./conf$$subs.sh ||
12682 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12684 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12685 if test $ac_delim_n = $ac_delim_num; then
12687 elif $ac_last_try; then
12688 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12690 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12693 rm -f conf$$subs.sh
12695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12696 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12700 s/^/S["/; s
/!.
*/"]=/
12710 s/\(.\{148\}\)..*/\1/
12712 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12717 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12724 s/\(.\{148\}\)..*/\1/
12726 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12730 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12735 ' <conf$$subs.awk | sed '
12740 ' >>$CONFIG_STATUS || ac_write_fail=1
12741 rm -f conf$$subs.awk
12742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12744 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12745 for (key in S) S_is_set[key] = 1
12751 nfields = split(line, field, "@
")
12753 len = length(field[1])
12754 for (i = 2; i < nfields; i++) {
12756 keylen = length(key)
12757 if (S_is_set[key]) {
12759 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12760 len += length(value) + length(field[++i])
12771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12772 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12773 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12776 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12777 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12780 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12781 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12782 # trailing colons and then remove the whole line if VPATH becomes empty
12783 # (actually we leave an empty line to preserve line numbers).
12784 if test "x
$srcdir" = x.; then
12785 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12804 fi # test -n "$CONFIG_FILES"
12806 # Set up the scripts for CONFIG_HEADERS section.
12807 # No need to generate them if there are no CONFIG_HEADERS.
12808 # This happens for instance with `./config.status Makefile'.
12809 if test -n "$CONFIG_HEADERS"; then
12810 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12814 # Transform confdefs.h into an awk script `defines.awk', embedded as
12815 # here-document in config.status, that substitutes the proper values into
12816 # config.h.in to produce config.h.
12818 # Create a delimiter string that does not exist in confdefs.h, to ease
12819 # handling of long lines.
12821 for ac_last_try in false false :; do
12822 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12823 if test -z "$ac_tt"; then
12825 elif $ac_last_try; then
12826 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12828 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12832 # For the awk script, D is an array of macro values keyed by name,
12833 # likewise P contains macro parameters if any. Preserve backslash
12834 # newline sequences.
12836 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12838 s/.\{148\}/&'"$ac_delim"'/g
12841 s/^[ ]*#[ ]*define[ ][ ]*/ /
12848 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12850 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12854 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12855 D["\
1"]=" \
3\\\\\\n
"\\/p
12857 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12862 s/.\{148\}/&'"$ac_delim"'/g
12867 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12870 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12872 ' <confdefs.h | sed '
12873 s/'"$ac_delim"'/"\\\
12874 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12877 for (key in D) D_is_set[key] = 1
12880 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12882 split(line, arg, " ")
12883 if (arg[1] == "#") {
12887 defundef
= substr
(arg
[1], 2)
12890 split(mac1
, mac2
, "(") #)
12892 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12893 if (D_is_set
[macro
]) {
12894 # Preserve the white space surrounding the "#".
12895 print prefix
"define", macro P
[macro
] D
[macro
]
12898 # Replace #undef with comments. This is necessary, for example,
12899 # in the case of _POSIX_SOURCE, which is predefined and required
12900 # on some systems where configure will not decide to define it.
12901 if (defundef
== "undef") {
12902 print
"/*", prefix defundef
, macro
, "*/"
12910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12911 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12912 fi # test -n "$CONFIG_HEADERS"
12915 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12920 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12922 case $ac_mode$ac_tag in
12924 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12925 :[FH
]-) ac_tag
=-:-;;
12926 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12943 -) ac_f
="$ac_tmp/stdin";;
12944 *) # Look for the file first in the build tree, then in the source tree
12945 # (if the path is not absolute). The absolute path cannot be DOS-style,
12946 # because $ac_f cannot contain `:'.
12950 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12952 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12954 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12955 as_fn_append ac_file_inputs
" '$ac_f'"
12958 # Let's still pretend it is `configure' which instantiates (i.e., don't
12959 # use $as_me), people would be surprised to read:
12960 # /* config.h. Generated by config.status. */
12961 configure_input
='Generated from '`
12962 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12964 if test x
"$ac_file" != x-
; then
12965 configure_input
="$ac_file. $configure_input"
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12967 $as_echo "$as_me: creating $ac_file" >&6;}
12969 # Neutralize special characters interpreted by sed in replacement strings.
12970 case $configure_input in #(
12971 *\
&* |
*\|
* |
*\\* )
12972 ac_sed_conf_input
=`$as_echo "$configure_input" |
12973 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12974 *) ac_sed_conf_input
=$configure_input;;
12978 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12979 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12984 ac_dir
=`$as_dirname -- "$ac_file" ||
12985 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12986 X"$ac_file" : 'X\(//\)[^/]' \| \
12987 X"$ac_file" : 'X\(//\)$' \| \
12988 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12989 $as_echo X"$ac_file" |
12990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12994 /^X\(\/\/\)[^/].*/{
13007 as_dir
="$ac_dir"; as_fn_mkdir_p
13011 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13013 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13014 # A ".." for each directory in $ac_dir_suffix.
13015 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13016 case $ac_top_builddir_sub in
13017 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13018 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13021 ac_abs_top_builddir
=$ac_pwd
13022 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13023 # for backward compatibility:
13024 ac_top_builddir
=$ac_top_build_prefix
13027 .
) # We are building in place.
13029 ac_top_srcdir
=$ac_top_builddir_sub
13030 ac_abs_top_srcdir
=$ac_pwd ;;
13031 [\\/]* | ?
:[\\/]* ) # Absolute name.
13032 ac_srcdir
=$srcdir$ac_dir_suffix;
13033 ac_top_srcdir
=$srcdir
13034 ac_abs_top_srcdir
=$srcdir ;;
13035 *) # Relative name.
13036 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13037 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13038 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13040 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13050 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13051 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13056 # If the template does not know about datarootdir, expand it.
13057 # FIXME: This hack should be removed a few years after 2.60.
13058 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13069 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13070 *datarootdir
*) ac_datarootdir_seen
=yes;;
13071 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13073 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13076 ac_datarootdir_hack='
13077 s&@datadir@&$datadir&g
13078 s&@docdir@&$docdir&g
13079 s&@infodir@&$infodir&g
13080 s&@localedir@&$localedir&g
13081 s&@mandir@&$mandir&g
13082 s&\\\${datarootdir}&$datarootdir&g' ;;
13086 # Neutralize VPATH when `$srcdir' = `.'.
13087 # Shell code in configure.ac might set extrasub.
13088 # FIXME: do we really want to maintain this feature?
13089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13090 ac_sed_extra="$ac_vpsub
13093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13095 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13096 s|@configure_input@|
$ac_sed_conf_input|
;t t
13097 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13098 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13099 s
&@srcdir@
&$ac_srcdir&;t t
13100 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13101 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13102 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13103 s
&@builddir@
&$ac_builddir&;t t
13104 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13105 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13106 s
&@INSTALL@
&$ac_INSTALL&;t t
13107 $ac_datarootdir_hack
13109 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13110 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13112 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13113 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13114 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13115 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13117 which seems to be undefined. Please make sure it is defined" >&5
13118 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13119 which seems to be undefined. Please make sure it is defined" >&2;}
13121 rm -f "$ac_tmp/stdin"
13123 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13124 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13126 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13132 if test x"$ac_file" != x-; then
13134 $as_echo "/* $configure_input */" \
13135 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13136 } >"$ac_tmp/config.h" \
13137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13138 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13140 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13143 mv "$ac_tmp/config.h" "$ac_file" \
13144 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13147 $as_echo "/* $configure_input */" \
13148 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13149 || as_fn_error $? "could not create -" "$LINENO" 5
13153 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13154 $as_echo "$as_me: executing $ac_file commands" >&6;}
13159 case $ac_file$ac_mode in
13162 # See if we are running on zsh, and set the options which allow our
13163 # commands through without removal of \ escapes.
13164 if test -n "${ZSH_VERSION+set}" ; then
13165 setopt NO_GLOB_SUBST
13168 cfgfile="${ofile}T"
13169 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13172 cat <<_LT_EOF >> "$cfgfile"
13175 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
13176 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13177 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13178 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13180 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13181 # 2006, 2007, 2008 Free Software Foundation, Inc.
13182 # Written by Gordon Matzigkeit, 1996
13184 # This file is part of GNU Libtool.
13186 # GNU Libtool is free software; you can redistribute it and/or
13187 # modify it under the terms of the GNU General Public License as
13188 # published by the Free Software Foundation; either version 2 of
13189 # the License, or (at your option) any later version.
13191 # As a special exception to the GNU General Public License,
13192 # if you distribute this file as part of a program or library that
13193 # is built using GNU Libtool, you may include this file under the
13194 # same distribution terms that you use for the rest of that program.
13196 # GNU Libtool is distributed in the hope that it will be useful,
13197 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13198 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13199 # GNU General Public License for more details.
13201 # You should have received a copy of the GNU General Public License
13202 # along with GNU Libtool; see the file COPYING. If not, a copy
13203 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13204 # obtained by writing to the Free Software Foundation, Inc.,
13205 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13208 # The names of the tagged configurations supported by this script.
13211 # ### BEGIN LIBTOOL CONFIG
13213 # Which release of libtool.m4 was used?
13214 macro_version=$macro_version
13215 macro_revision=$macro_revision
13217 # Whether or not to build shared libraries.
13218 build_libtool_libs=$enable_shared
13220 # Whether or not to build static libraries.
13221 build_old_libs=$enable_static
13223 # What type of objects to build.
13226 # Whether or not to optimize for fast installation.
13227 fast_install=$enable_fast_install
13230 host_alias=$host_alias
13234 # The build system.
13235 build_alias=$build_alias
13239 # A sed program that does not truncate output.
13242 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13243 Xsed="\$SED -e 1s/^X//"
13245 # A grep program that handles long lines.
13251 # A literal string matcher.
13254 # A BSD- or MS-compatible name lister.
13257 # Whether we need soft or hard links.
13260 # What is the maximum length of a command?
13261 max_cmd_len=$max_cmd_len
13263 # Object file suffix (normally "o").
13266 # Executable file suffix (normally "").
13269 # whether the shell understands "unset".
13272 # turn spaces into newlines.
13275 # turn newlines into spaces.
13278 # How to create reloadable object files.
13279 reload_flag=$lt_reload_flag
13280 reload_cmds=$lt_reload_cmds
13282 # An object symbol dumper.
13283 OBJDUMP=$lt_OBJDUMP
13285 # Method to check whether dependent libraries are shared objects.
13286 deplibs_check_method=$lt_deplibs_check_method
13288 # Command to use when deplibs_check_method == "file_magic".
13289 file_magic_cmd=$lt_file_magic_cmd
13293 AR_FLAGS=$lt_AR_FLAGS
13295 # A symbol stripping program.
13298 # Commands used to install an old-style archive.
13300 old_postinstall_cmds=$lt_old_postinstall_cmds
13301 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13306 # LTCC compiler flags.
13307 LTCFLAGS=$lt_CFLAGS
13309 # Take the output of nm and produce a listing of raw symbols and C names.
13310 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13312 # Transform the output of nm in a proper C declaration.
13313 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13315 # Transform the output of nm in a C name address pair.
13316 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13318 # Transform the output of nm in a C name address pair when lib prefix is needed.
13319 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13321 # The name of the directory that contains temporary libtool files.
13324 # Shell to use when invoking shell scripts.
13327 # An echo program that does not interpret backslashes.
13330 # Used to examine libraries when file_magic_cmd begins with "file".
13331 MAGIC_CMD=$MAGIC_CMD
13333 # Must we lock files when doing compilation?
13334 need_locks=$lt_need_locks
13336 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13337 DSYMUTIL=$lt_DSYMUTIL
13339 # Tool to change global to local symbols on Mac OS X.
13342 # Tool to manipulate fat objects and archives on Mac OS X.
13345 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13348 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13349 OTOOL64=$lt_OTOOL64
13351 # Old archive suffix (normally "a").
13354 # Shared library suffix (normally ".so").
13355 shrext_cmds=$lt_shrext_cmds
13357 # The commands to extract the exported symbol list from a shared archive.
13358 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13360 # Variables whose values should be saved in libtool wrapper scripts and
13361 # restored at link time.
13362 variables_saved_for_relink=$lt_variables_saved_for_relink
13364 # Do we need the "lib" prefix for modules?
13365 need_lib_prefix=$need_lib_prefix
13367 # Do we need a version for libraries?
13368 need_version=$need_version
13370 # Library versioning type.
13371 version_type=$version_type
13373 # Shared library runtime path variable.
13374 runpath_var=$runpath_var
13376 # Shared library path variable.
13377 shlibpath_var=$shlibpath_var
13379 # Is shlibpath searched before the hard-coded library search path?
13380 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13382 # Format of library name prefix.
13383 libname_spec=$lt_libname_spec
13385 # List of archive names. First name is the real one, the rest are links.
13386 # The last name is the one that the linker finds with -lNAME
13387 library_names_spec=$lt_library_names_spec
13389 # The coded name of the library, if different from the real name.
13390 soname_spec=$lt_soname_spec
13392 # Command to use after installation of a shared archive.
13393 postinstall_cmds=$lt_postinstall_cmds
13395 # Command to use after uninstallation of a shared archive.
13396 postuninstall_cmds=$lt_postuninstall_cmds
13398 # Commands used to finish a libtool library installation in a directory.
13399 finish_cmds=$lt_finish_cmds
13401 # As "finish_cmds", except a single script fragment to be evaled but
13403 finish_eval=$lt_finish_eval
13405 # Whether we should hardcode library paths into libraries.
13406 hardcode_into_libs=$hardcode_into_libs
13408 # Compile-time system search path for libraries.
13409 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13411 # Run-time system search path for libraries.
13412 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13414 # Whether dlopen is supported.
13415 dlopen_support=$enable_dlopen
13417 # Whether dlopen of programs is supported.
13418 dlopen_self=$enable_dlopen_self
13420 # Whether dlopen of statically linked programs is supported.
13421 dlopen_self_static=$enable_dlopen_self_static
13423 # Commands to strip libraries.
13424 old_striplib=$lt_old_striplib
13425 striplib=$lt_striplib
13428 # The linker used to build libraries.
13431 # Commands used to build an old-style archive.
13432 old_archive_cmds=$lt_old_archive_cmds
13434 # A language specific compiler.
13437 # Is the compiler the GNU compiler?
13440 # Compiler flag to turn off builtin functions.
13441 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13443 # How to pass a linker flag through the compiler.
13444 wl=$lt_lt_prog_compiler_wl
13446 # Additional compiler flags for building library objects.
13447 pic_flag=$lt_lt_prog_compiler_pic
13449 # Compiler flag to prevent dynamic linking.
13450 link_static_flag=$lt_lt_prog_compiler_static
13452 # Does compiler simultaneously support -c and -o options?
13453 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13455 # Whether or not to add -lc for building shared libraries.
13456 build_libtool_need_lc=$archive_cmds_need_lc
13458 # Whether or not to disallow shared libs when runtime libs are static.
13459 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13461 # Compiler flag to allow reflexive dlopens.
13462 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13464 # Compiler flag to generate shared objects directly from archives.
13465 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13467 # Whether the compiler copes with passing no objects directly.
13468 compiler_needs_object=$lt_compiler_needs_object
13470 # Create an old-style archive from a shared archive.
13471 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13473 # Create a temporary old-style archive to link instead of a shared archive.
13474 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13476 # Commands used to build a shared archive.
13477 archive_cmds=$lt_archive_cmds
13478 archive_expsym_cmds=$lt_archive_expsym_cmds
13480 # Commands used to build a loadable module if different from building
13481 # a shared archive.
13482 module_cmds=$lt_module_cmds
13483 module_expsym_cmds=$lt_module_expsym_cmds
13485 # Whether we are building with GNU ld or not.
13486 with_gnu_ld=$lt_with_gnu_ld
13488 # Flag that allows shared libraries with undefined symbols to be built.
13489 allow_undefined_flag=$lt_allow_undefined_flag
13491 # Flag that enforces no undefined symbols.
13492 no_undefined_flag=$lt_no_undefined_flag
13494 # Flag to hardcode \$libdir into a binary during linking.
13495 # This must work even if \$libdir does not exist
13496 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13498 # If ld is used when linking, flag to hardcode \$libdir into a binary
13499 # during linking. This must work even if \$libdir does not exist.
13500 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13502 # Whether we need a single "-rpath" flag with a separated argument.
13503 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13505 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13506 # DIR into the resulting binary.
13507 hardcode_direct=$hardcode_direct
13509 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13510 # DIR into the resulting binary and the resulting library dependency is
13511 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13512 # library is relocated.
13513 hardcode_direct_absolute=$hardcode_direct_absolute
13515 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13516 # into the resulting binary.
13517 hardcode_minus_L=$hardcode_minus_L
13519 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13520 # into the resulting binary.
13521 hardcode_shlibpath_var=$hardcode_shlibpath_var
13523 # Set to "yes" if building a shared library automatically hardcodes DIR
13524 # into the library and all subsequent libraries and executables linked
13526 hardcode_automatic=$hardcode_automatic
13528 # Set to yes if linker adds runtime paths of dependent libraries
13529 # to runtime path list.
13530 inherit_rpath=$inherit_rpath
13532 # Whether libtool must link a program against all its dependency libraries.
13533 link_all_deplibs=$link_all_deplibs
13535 # Fix the shell variable \$srcfile for the compiler.
13536 fix_srcfile_path=$lt_fix_srcfile_path
13538 # Set to "yes" if exported symbols are required.
13539 always_export_symbols=$always_export_symbols
13541 # The commands to list exported symbols.
13542 export_symbols_cmds=$lt_export_symbols_cmds
13544 # Symbols that should not be listed in the preloaded symbols.
13545 exclude_expsyms=$lt_exclude_expsyms
13547 # Symbols that must always be exported.
13548 include_expsyms=$lt_include_expsyms
13550 # Commands necessary for linking programs (against libraries) with templates.
13551 prelink_cmds=$lt_prelink_cmds
13553 # Specify filename containing input files.
13554 file_list_spec=$lt_file_list_spec
13556 # How to hardcode a shared library path into an executable.
13557 hardcode_action=$hardcode_action
13559 # ### END LIBTOOL CONFIG
13565 cat <<\_LT_EOF >> "$cfgfile"
13566 # AIX sometimes has problems with the GCC collect2 program. For some
13567 # reason, if we set the COLLECT_NAMES environment variable, the problems
13568 # vanish in a puff of smoke.
13569 if test "X${COLLECT_NAMES+set}" != Xset; then
13571 export COLLECT_NAMES
13578 ltmain="$ac_aux_dir/ltmain.sh"
13581 # We use sed instead of cat because bash on DJGPP gets confused if
13582 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13583 # text mode, it properly converts lines to CR/LF. This bash problem
13584 # is reportedly fixed, but why not run on old versions too?
13585 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13586 ||
(rm -f "$cfgfile"; exit 1)
13590 cat << \_LT_EOF
>> "$cfgfile"
13592 # func_dirname file append nondir_replacement
13593 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13594 # otherwise set result to NONDIR_REPLACEMENT.
13598 */*) func_dirname_result
="${1%/*}${2}" ;;
13599 * ) func_dirname_result
="${3}" ;;
13603 # func_basename file
13606 func_basename_result
="${1##*/}"
13609 # func_dirname_and_basename file append nondir_replacement
13610 # perform func_basename and func_dirname in a single function
13612 # dirname: Compute the dirname of FILE. If nonempty,
13613 # add APPEND to the result, otherwise set result
13614 # to NONDIR_REPLACEMENT.
13615 # value returned in "$func_dirname_result"
13616 # basename: Compute filename of FILE.
13617 # value retuned in "$func_basename_result"
13618 # Implementation must be kept synchronized with func_dirname
13619 # and func_basename. For efficiency, we do not delegate to
13620 # those functions but instead duplicate the functionality here.
13621 func_dirname_and_basename
()
13624 */*) func_dirname_result
="${1%/*}${2}" ;;
13625 * ) func_dirname_result
="${3}" ;;
13627 func_basename_result
="${1##*/}"
13630 # func_stripname prefix suffix name
13631 # strip PREFIX and SUFFIX off of NAME.
13632 # PREFIX and SUFFIX must not contain globbing or regex special
13633 # characters, hashes, percent signs, but SUFFIX may contain a leading
13634 # dot (in which case that matches only a dot).
13637 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13638 # positional parameters, so assign one to ordinary parameter first.
13639 func_stripname_result
=${3}
13640 func_stripname_result
=${func_stripname_result#"${1}"}
13641 func_stripname_result
=${func_stripname_result%"${2}"}
13647 func_opt_split_opt
=${1%%=*}
13648 func_opt_split_arg
=${1#*=}
13655 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13656 *) func_lo2o_result
=${1} ;;
13660 # func_xform libobj-or-source
13663 func_xform_result
=${1%.*}.lo
13666 # func_arith arithmetic-term...
13669 func_arith_result
=$
(( $
* ))
13673 # STRING may not start with a hyphen.
13676 func_len_result
=${#1}
13681 *) # Bourne compatible functions.
13682 cat << \_LT_EOF
>> "$cfgfile"
13684 # func_dirname file append nondir_replacement
13685 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13686 # otherwise set result to NONDIR_REPLACEMENT.
13689 # Extract subdirectory from the argument.
13690 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13691 if test "X$func_dirname_result" = "X${1}"; then
13692 func_dirname_result
="${3}"
13694 func_dirname_result
="$func_dirname_result${2}"
13698 # func_basename file
13701 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13705 # func_stripname prefix suffix name
13706 # strip PREFIX and SUFFIX off of NAME.
13707 # PREFIX and SUFFIX must not contain globbing or regex special
13708 # characters, hashes, percent signs, but SUFFIX may contain a leading
13709 # dot (in which case that matches only a dot).
13710 # func_strip_suffix prefix name
13714 .
*) func_stripname_result
=`$ECHO "X${3}" \
13715 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13716 *) func_stripname_result
=`$ECHO "X${3}" \
13717 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13722 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13723 my_sed_long_arg
='1s/^-[^=]*=//'
13728 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13729 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13735 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13738 # func_xform libobj-or-source
13741 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13744 # func_arith arithmetic-term...
13747 func_arith_result
=`expr "$@"`
13751 # STRING may not start with a hyphen.
13754 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13760 case $lt_shell_append in
13762 cat << \_LT_EOF
>> "$cfgfile"
13764 # func_append var value
13765 # Append VALUE to the end of shell variable VAR.
13773 cat << \_LT_EOF
>> "$cfgfile"
13775 # func_append var value
13776 # Append VALUE to the end of shell variable VAR.
13787 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13788 ||
(rm -f "$cfgfile"; exit 1)
13790 mv -f "$cfgfile" "$ofile" ||
13791 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13802 ac_clean_files
=$ac_clean_files_save
13804 test $ac_write_fail = 0 ||
13805 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13808 # configure is writing to config.log, and then calls config.status.
13809 # config.status does its own redirection, appending to config.log.
13810 # Unfortunately, on DOS this fails, as config.log is still kept open
13811 # by configure, so config.status won't be able to write to it; its
13812 # output is simply discarded. So we exec the FD to /dev/null,
13813 # effectively closing config.log, so it can be properly (re)opened and
13814 # appended to by config.status. When coming back to configure, we
13815 # need to make the FD available again.
13816 if test "$no_create" != yes; then
13818 ac_config_status_args
=
13819 test "$silent" = yes &&
13820 ac_config_status_args
="$ac_config_status_args --quiet"
13822 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13824 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13825 # would make configure fail if this is the last instruction.
13826 $ac_cs_success || as_fn_exit
1
13828 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13830 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}