2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sqlite 3.24.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.24.0'
730 PACKAGE_STRING
='sqlite 3.24.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
874 program_transform_name
887 enable_option_checking
906 enable_load_extension
918 ac_precious_vars
='build_alias
930 # Initialize some variables set by options.
932 ac_init_version
=false
933 ac_unrecognized_opts
=
935 # The variables have the same names as the options, with
936 # dashes changed to underlines.
944 program_transform_name
=s
,x
,x
,
952 # Installation directory options.
953 # These are left unexpanded so users can "make install exec_prefix=/foo"
954 # and all the variables that are supposed to be based on exec_prefix
955 # by default will actually change.
956 # Use braces instead of parens because sh, perl, etc. also accept them.
957 # (The list follows the same order as the GNU Coding Standards.)
958 bindir
='${exec_prefix}/bin'
959 sbindir
='${exec_prefix}/sbin'
960 libexecdir
='${exec_prefix}/libexec'
961 datarootdir
='${prefix}/share'
962 datadir
='${datarootdir}'
963 sysconfdir
='${prefix}/etc'
964 sharedstatedir
='${prefix}/com'
965 localstatedir
='${prefix}/var'
966 includedir
='${prefix}/include'
967 oldincludedir
='/usr/include'
968 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
969 infodir
='${datarootdir}/info'
974 libdir
='${exec_prefix}/lib'
975 localedir
='${datarootdir}/locale'
976 mandir
='${datarootdir}/man'
982 # If the previous option needs an argument, assign it.
983 if test -n "$ac_prev"; then
984 eval $ac_prev=\
$ac_option
990 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
995 # Accept the important Cygnus configure options, so we can diagnose typos.
997 case $ac_dashdash$ac_option in
1001 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1003 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1004 bindir
=$ac_optarg ;;
1006 -build |
--build |
--buil |
--bui |
--bu)
1007 ac_prev
=build_alias
;;
1008 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1009 build_alias
=$ac_optarg ;;
1011 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1012 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1013 ac_prev
=cache_file
;;
1014 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1015 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1016 cache_file
=$ac_optarg ;;
1018 --config-cache |
-C)
1019 cache_file
=config.cache
;;
1021 -datadir |
--datadir |
--datadi |
--datad)
1023 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1024 datadir
=$ac_optarg ;;
1026 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1027 |
--dataroo |
--dataro |
--datar)
1028 ac_prev
=datarootdir
;;
1029 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1030 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1031 datarootdir
=$ac_optarg ;;
1033 -disable-* |
--disable-*)
1034 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1037 as_fn_error $?
"invalid feature name: $ac_useropt"
1038 ac_useropt_orig
=$ac_useropt
1039 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1042 "enable_
$ac_useropt"
1044 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1045 ac_unrecognized_sep
=', ';;
1047 eval enable_
$ac_useropt=no
;;
1049 -docdir |
--docdir |
--docdi |
--doc |
--do)
1051 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1052 docdir
=$ac_optarg ;;
1054 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1056 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1057 dvidir
=$ac_optarg ;;
1059 -enable-* |
--enable-*)
1060 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1063 as_fn_error $?
"invalid feature name: $ac_useropt"
1064 ac_useropt_orig
=$ac_useropt
1065 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "enable_
$ac_useropt"
1070 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1071 ac_unrecognized_sep
=', ';;
1073 eval enable_
$ac_useropt=\
$ac_optarg ;;
1075 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1076 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1077 |
--exec |
--exe |
--ex)
1078 ac_prev
=exec_prefix
;;
1079 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1080 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1081 |
--exec=* |
--exe=* |
--ex=*)
1082 exec_prefix
=$ac_optarg ;;
1084 -gas |
--gas |
--ga |
--g)
1085 # Obsolete; use --with-gas.
1088 -help |
--help |
--hel |
--he |
-h)
1089 ac_init_help
=long
;;
1090 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1091 ac_init_help
=recursive
;;
1092 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1093 ac_init_help
=short
;;
1095 -host |
--host |
--hos |
--ho)
1096 ac_prev
=host_alias
;;
1097 -host=* |
--host=* |
--hos=* |
--ho=*)
1098 host_alias
=$ac_optarg ;;
1100 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1102 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1104 htmldir
=$ac_optarg ;;
1106 -includedir |
--includedir |
--includedi |
--included |
--include \
1107 |
--includ |
--inclu |
--incl |
--inc)
1108 ac_prev
=includedir
;;
1109 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1110 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1111 includedir
=$ac_optarg ;;
1113 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1115 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1116 infodir
=$ac_optarg ;;
1118 -libdir |
--libdir |
--libdi |
--libd)
1120 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1121 libdir
=$ac_optarg ;;
1123 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1124 |
--libexe |
--libex |
--libe)
1125 ac_prev
=libexecdir
;;
1126 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1127 |
--libexe=* |
--libex=* |
--libe=*)
1128 libexecdir
=$ac_optarg ;;
1130 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1131 ac_prev
=localedir
;;
1132 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1133 localedir
=$ac_optarg ;;
1135 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1136 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1137 ac_prev
=localstatedir
;;
1138 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1139 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1140 localstatedir
=$ac_optarg ;;
1142 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1144 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1145 mandir
=$ac_optarg ;;
1147 -nfp |
--nfp |
--nf)
1148 # Obsolete; use --without-fp.
1151 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1152 |
--no-cr |
--no-c |
-n)
1155 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1156 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1159 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1160 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1161 |
--oldin |
--oldi |
--old |
--ol |
--o)
1162 ac_prev
=oldincludedir
;;
1163 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1164 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1165 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1166 oldincludedir
=$ac_optarg ;;
1168 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1170 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1171 prefix
=$ac_optarg ;;
1173 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1174 |
--program-pre |
--program-pr |
--program-p)
1175 ac_prev
=program_prefix
;;
1176 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1177 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1178 program_prefix
=$ac_optarg ;;
1180 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1181 |
--program-suf |
--program-su |
--program-s)
1182 ac_prev
=program_suffix
;;
1183 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1184 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1185 program_suffix
=$ac_optarg ;;
1187 -program-transform-name |
--program-transform-name \
1188 |
--program-transform-nam |
--program-transform-na \
1189 |
--program-transform-n |
--program-transform- \
1190 |
--program-transform |
--program-transfor \
1191 |
--program-transfo |
--program-transf \
1192 |
--program-trans |
--program-tran \
1193 |
--progr-tra |
--program-tr |
--program-t)
1194 ac_prev
=program_transform_name
;;
1195 -program-transform-name=* |
--program-transform-name=* \
1196 |
--program-transform-nam=* |
--program-transform-na=* \
1197 |
--program-transform-n=* |
--program-transform-=* \
1198 |
--program-transform=* |
--program-transfor=* \
1199 |
--program-transfo=* |
--program-transf=* \
1200 |
--program-trans=* |
--program-tran=* \
1201 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1202 program_transform_name
=$ac_optarg ;;
1204 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1206 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1207 pdfdir
=$ac_optarg ;;
1209 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1211 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1214 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1215 |
-silent |
--silent |
--silen |
--sile |
--sil)
1218 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1220 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1222 sbindir
=$ac_optarg ;;
1224 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1225 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1226 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1228 ac_prev
=sharedstatedir
;;
1229 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1230 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1231 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1233 sharedstatedir
=$ac_optarg ;;
1235 -site |
--site |
--sit)
1237 -site=* |
--site=* |
--sit=*)
1240 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1242 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1243 srcdir
=$ac_optarg ;;
1245 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1246 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1247 ac_prev
=sysconfdir
;;
1248 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1249 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1250 sysconfdir
=$ac_optarg ;;
1252 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1253 ac_prev
=target_alias
;;
1254 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1255 target_alias
=$ac_optarg ;;
1257 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1260 -version |
--version |
--versio |
--versi |
--vers |
-V)
1261 ac_init_version
=: ;;
1264 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1267 as_fn_error $?
"invalid package name: $ac_useropt"
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=\
$ac_optarg ;;
1279 -without-* |
--without-*)
1280 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1283 as_fn_error $?
"invalid package name: $ac_useropt"
1284 ac_useropt_orig
=$ac_useropt
1285 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1286 case $ac_user_opts in
1290 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1291 ac_unrecognized_sep
=', ';;
1293 eval with_
$ac_useropt=no
;;
1296 # Obsolete; use --with-x.
1299 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1300 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1301 ac_prev
=x_includes
;;
1302 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1303 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1304 x_includes
=$ac_optarg ;;
1306 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1307 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1308 ac_prev
=x_libraries
;;
1309 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1310 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1311 x_libraries
=$ac_optarg ;;
1313 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1314 Try \`$0 --help' for more information"
1318 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1319 # Reject names that are not valid shell variable names.
1320 case $ac_envvar in #(
1321 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1322 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1324 eval $ac_envvar=\
$ac_optarg
1325 export $ac_envvar ;;
1328 # FIXME: should be removed in autoconf 3.0.
1329 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1330 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1331 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1332 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1338 if test -n "$ac_prev"; then
1339 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1340 as_fn_error $?
"missing argument to $ac_option"
1343 if test -n "$ac_unrecognized_opts"; then
1344 case $enable_option_checking in
1346 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1347 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1351 # Check all directory arguments for consistency.
1352 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1353 datadir sysconfdir sharedstatedir localstatedir includedir \
1354 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1355 libdir localedir mandir
1357 eval ac_val
=\$
$ac_var
1358 # Remove trailing slashes.
1361 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1362 eval $ac_var=\
$ac_val;;
1364 # Be sure to have absolute directory names.
1366 [\\/$
]* | ?
:[\\/]* ) continue;;
1367 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1369 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1372 # There might be people who depend on the old broken behavior: `$host'
1373 # used to hold the argument of --host etc.
1374 # FIXME: To remove some day.
1377 target
=$target_alias
1379 # FIXME: To remove some day.
1380 if test "x$host_alias" != x
; then
1381 if test "x$build_alias" = x
; then
1382 cross_compiling
=maybe
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 as_fn_error $?
"working directory cannot be determined"
1398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399 as_fn_error $?
"pwd does not report name of working directory"
1402 # Find the source files, if location was not specified.
1403 if test -z "$srcdir"; then
1404 ac_srcdir_defaulted
=yes
1405 # Try the directory containing this script, then the parent directory.
1406 ac_confdir
=`$as_dirname -- "$as_myself" ||
1407 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408 X"$as_myself" : 'X\(//\)[^/]' \| \
1409 X"$as_myself" : 'X\(//\)$' \| \
1410 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411 $as_echo X"$as_myself" |
1412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1434 ac_srcdir_defaulted
=no
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1437 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1438 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1440 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1444 # When building in place, set srcdir=.
1445 if test "$ac_abs_confdir" = "$ac_pwd"; then
1448 # Remove unnecessary trailing slashes from srcdir.
1449 # Double slashes in file names in object file debugging info
1450 # mess up M-x gdb in Emacs.
1452 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454 for ac_var
in $ac_precious_vars; do
1455 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1456 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1457 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1458 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1462 # Report the --help message.
1464 if test "$ac_init_help" = "long"; then
1465 # Omit some internal or obsolete options to make the list less imposing.
1466 # This message is too long to be a string in the A/UX 3.1 sh.
1468 \`configure' configures sqlite 3.24.0 to adapt to many kinds of systems.
1470 Usage: $0 [OPTION]... [VAR=VALUE]...
1472 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473 VAR=VALUE. See below for descriptions of some of the useful variables.
1475 Defaults for the options are specified in brackets.
1478 -h, --help display this help and exit
1479 --help=short display options specific to this package
1480 --help=recursive display the short help of all the included packages
1481 -V, --version display version information and exit
1482 -q, --quiet, --silent do not print \`checking ...' messages
1483 --cache-file=FILE cache test results in FILE [disabled]
1484 -C, --config-cache alias for \`--cache-file=config.cache'
1485 -n, --no-create do not create output files
1486 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1488 Installation directories:
1489 --prefix=PREFIX install architecture-independent files in PREFIX
1490 [$ac_default_prefix]
1491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494 By default, \`make install' will install all the files in
1495 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497 for instance \`--prefix=\$HOME'.
1499 For better control, use the options below.
1501 Fine tuning of the installation directories:
1502 --bindir=DIR user executables [EPREFIX/bin]
1503 --sbindir=DIR system admin executables [EPREFIX/sbin]
1504 --libexecdir=DIR program executables [EPREFIX/libexec]
1505 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508 --libdir=DIR object code libraries [EPREFIX/lib]
1509 --includedir=DIR C header files [PREFIX/include]
1510 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1511 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513 --infodir=DIR info documentation [DATAROOTDIR/info]
1514 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515 --mandir=DIR man documentation [DATAROOTDIR/man]
1516 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1517 --htmldir=DIR html documentation [DOCDIR]
1518 --dvidir=DIR dvi documentation [DOCDIR]
1519 --pdfdir=DIR pdf documentation [DOCDIR]
1520 --psdir=DIR ps documentation [DOCDIR]
1526 --build=BUILD configure
for building on BUILD
[guessed
]
1527 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1531 if test -n "$ac_init_help"; then
1532 case $ac_init_help in
1533 short | recursive
) echo "Configuration of sqlite 3.24.0:";;
1538 --disable-option-checking ignore unrecognized
--enable/--with options
1539 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1540 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1541 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1542 --enable-static[=PKGS
] build static libraries
[default
=yes]
1543 --enable-fast-install[=PKGS
]
1544 optimize
for fast installation
[default
=yes]
1545 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1546 --disable-largefile omit support
for large files
1547 --disable-threadsafe Disable mutexing
1548 --enable-releasemode Support libtool link to release mode
1549 --enable-tempstore Use an in-ram database
for temporary tables
1550 (never
,no
,yes,always
)
1551 --disable-tcl do not build TCL extension
1552 --enable-editline enable BSD editline support
1553 --disable-readline disable readline support
1554 --enable-debug enable debugging
& verbose explain
1555 --disable-amalgamation Disable the amalgamation and instead build all files
1557 --disable-load-extension
1558 Disable loading of external extensions
1559 --enable-memsys5 Enable MEMSYS5
1560 --enable-memsys3 Enable MEMSYS3
1561 --enable-fts3 Enable the FTS3 extension
1562 --enable-fts4 Enable the FTS4 extension
1563 --enable-fts5 Enable the FTS5 extension
1564 --enable-json1 Enable the JSON1 extension
1565 --enable-update-limit Enable the UPDATE
/DELETE LIMIT clause
1566 --enable-rtree Enable the RTREE extension
1567 --enable-session Enable the SESSION extension
1568 --enable-gcov Enable coverage testing using gcov
1571 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1572 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1573 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1575 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1576 --with-tcl=DIR directory containing tcl configuration
1578 --with-readline-lib specify readline library
1579 --with-readline-inc specify readline include paths
1581 Some influential environment variables
:
1582 CC C compiler
command
1583 CFLAGS C compiler flags
1584 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1585 nonstandard directory
<lib dir
>
1586 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1587 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1588 you have headers
in a nonstandard directory
<include dir
>
1590 TCLLIBDIR Where to
install tcl plugin
1592 Use these variables to override the choices made by
`configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1595 Report bugs to the package provider.
1600 if test "$ac_init_help" = "recursive"; then
1601 # If there are subdirs, report their specific --help.
1602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603 test -d "$ac_dir" ||
1604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1625 .) # We are building in place.
1627 ac_top_srcdir=$ac_top_builddir_sub
1628 ac_abs_top_srcdir=$ac_pwd ;;
1629 [\\/]* | ?:[\\/]* ) # Absolute name.
1630 ac_srcdir=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir=$srcdir
1632 ac_abs_top_srcdir=$srcdir ;;
1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" || { ac_status=$?; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" || { ac_status=$?; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 sqlite configure 3.24.0
1659 generated by GNU Autoconf 2.69
1661 Copyright (C) 2012 Free Software Foundation, Inc.
1662 This configure script is free software; the Free Software Foundation
1663 gives unlimited permission to copy, distribute and modify it.
1668 ## ------------------------ ##
1669 ## Autoconf initialization. ##
1670 ## ------------------------ ##
1672 # ac_fn_c_try_compile LINENO
1673 # --------------------------
1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_compile ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 rm -f conftest.$ac_objext
1679 if { { ac_try="$ac_compile"
1681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1682 *) ac_try_echo
=$ac_try;;
1684 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_compile") 2>conftest.err
1688 if test -s conftest.err
; then
1689 grep -v '^ *+' conftest.err
>conftest.er1
1690 cat conftest.er1
>&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && {
1695 test -z "$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1697 } && test -s conftest.
$ac_objext; then :
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.
$ac_ext >&5
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status
$ac_retval
1708 } # ac_fn_c_try_compile
1710 # ac_fn_c_try_link LINENO
1711 # -----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded.
1715 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1716 rm -f conftest.
$ac_objext conftest
$ac_exeext
1717 if { { ac_try
="$ac_link"
1719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest$ac_exeext && {
1736 test "$cross_compiling" = yes ||
1737 test -x conftest$ac_exeext
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1747 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1748 # interfere with the next link command; also delete a directory that is
1749 # left behind by Apple's compiler. We do this before executing the actions.
1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status $ac_retval
1754 } # ac_fn_c_try_link
1756 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1757 # -------------------------------------------------------
1758 # Tests whether HEADER exists and can be compiled using the include files in
1759 # INCLUDES, setting the cache variable VAR accordingly.
1760 ac_fn_c_check_header_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h. */
1773 if ac_fn_c_try_compile "$LINENO"; then :
1778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 } # ac_fn_c_check_header_compile
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1796 *) ac_try_echo
=$ac_try;;
1798 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 if test -s conftest.err
; then
1803 grep -v '^ *+' conftest.err
>conftest.er1
1804 cat conftest.er1
>&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } > conftest.i
&& {
1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.
$ac_ext >&5
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status
$ac_retval
1824 # ac_fn_c_try_run LINENO
1825 # ----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1827 # that executables *can* be run.
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 if { { ac_try
="$ac_link"
1833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>&5
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1842 { { case "(($ac_try" in
1843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1844 *) ac_try_echo
=$ac_try;;
1846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_try") 2>&5
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; }; }; then :
1854 $as_echo "$as_me: program exited with status $ac_status" >&5
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.
$ac_ext >&5
1858 ac_retval
=$ac_status
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 as_fn_set_status
$ac_retval
1866 # ac_fn_c_check_func LINENO FUNC VAR
1867 # ----------------------------------
1868 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1869 ac_fn_c_check_func
()
1871 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873 $as_echo_n "checking for $2... " >&6; }
1874 if eval \
${$3+:} false
; then :
1875 $as_echo_n "(cached) " >&6
1877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1879 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1881 #define $2 innocuous_$2
1883 /* System header to define __stub macros and hopefully few prototypes,
1884 which can conflict with char $2 (); below.
1885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1886 <limits.h> exists even on freestanding compilers. */
1889 # include <limits.h>
1891 # include <assert.h>
1896 /* Override any GCC internal prototype to avoid an error.
1897 Use char because int might match the return type of a GCC
1898 builtin and then its argument prototype would still apply. */
1903 /* The GNU C library defines this for functions which it implements
1904 to always fail with ENOSYS. Some functions are actually named
1905 something starting with __ and the normal name is an alias. */
1906 #if defined __stub_$2 || defined __stub___$2
1918 if ac_fn_c_try_link
"$LINENO"; then :
1923 rm -f core conftest.err conftest.
$ac_objext \
1924 conftest
$ac_exeext conftest.
$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_func
1933 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1934 # -------------------------------------------
1935 # Tests whether TYPE exists after having included INCLUDES, setting cache
1936 # variable VAR accordingly.
1937 ac_fn_c_check_type
()
1939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941 $as_echo_n "checking for $2... " >&6; }
1942 if eval \
${$3+:} false
; then :
1943 $as_echo_n "(cached) " >&6
1946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1958 if ac_fn_c_try_compile
"$LINENO"; then :
1959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1971 if ac_fn_c_try_compile
"$LINENO"; then :
1976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 } # ac_fn_c_check_type
1987 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1988 # -------------------------------------------------------
1989 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1990 # the include files in INCLUDES and setting the cache variable VAR
1992 ac_fn_c_check_header_mongrel
()
1994 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1995 if eval \
${$3+:} false
; then :
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \
${$3+:} false
; then :
1999 $as_echo_n "(cached) " >&6
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003 $as_echo "$ac_res" >&6; }
2005 # Is the header compilable?
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2007 $as_echo_n "checking $2 usability... " >&6; }
2008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2013 if ac_fn_c_try_compile
"$LINENO"; then :
2014 ac_header_compiler
=yes
2016 ac_header_compiler
=no
2018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2020 $as_echo "$ac_header_compiler" >&6; }
2022 # Is the header present?
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2024 $as_echo_n "checking $2 presence... " >&6; }
2025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2029 if ac_fn_c_try_cpp
"$LINENO"; then :
2030 ac_header_preproc
=yes
2032 ac_header_preproc
=no
2034 rm -f conftest.err conftest.i conftest.
$ac_ext
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2036 $as_echo "$ac_header_preproc" >&6; }
2038 # So? What about this header?
2039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2042 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2048 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2050 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2052 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2054 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2056 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \
${$3+:} false
; then :
2062 $as_echo_n "(cached) " >&6
2064 eval "$3=\$ac_header_compiler"
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 } # ac_fn_c_check_header_mongrel
2073 cat >config.log
<<_ACEOF
2074 This file contains any messages produced by compilers while
2075 running configure, to aid debugging if configure makes a mistake.
2077 It was created by sqlite $as_me 3.24.0, which was
2078 generated by GNU Autoconf 2.69. Invocation command line was
2090 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2091 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2092 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2093 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2094 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2096 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2097 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2099 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2100 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2101 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2102 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2103 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2104 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2105 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir
=.
2114 $as_echo "PATH: $as_dir"
2130 # Keep a trace of the command line.
2131 # Strip out --no-create and --no-recursion so they do not pile up.
2132 # Strip out --silent because we don't want to record it for future runs.
2133 # Also quote any args containing shell meta-characters.
2134 # Make two passes to allow for proper duplicate-argument suppression.
2138 ac_must_keep_next
=false
2144 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2145 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2146 |
-silent |
--silent |
--silen |
--sile |
--sil)
2149 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2152 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2154 as_fn_append ac_configure_args1
" '$ac_arg'"
2155 if test $ac_must_keep_next = true
; then
2156 ac_must_keep_next
=false
# Got value, back to normal.
2159 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2160 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2161 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2162 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2163 case "$ac_configure_args0 " in
2164 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2167 -* ) ac_must_keep_next
=true
;;
2170 as_fn_append ac_configure_args
" '$ac_arg'"
2175 { ac_configure_args0
=; unset ac_configure_args0
;}
2176 { ac_configure_args1
=; unset ac_configure_args1
;}
2178 # When interrupted or exit'd, cleanup temporary files, and complete
2179 # config.log. We remove comments because anyway the quotes in there
2180 # would cause problems or look ugly.
2181 # WARNING: Use '\'' to represent an apostrophe within the trap.
2182 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2183 trap 'exit_status=$?
2184 # Save into config.log some information that might help in debugging.
2188 $as_echo "## ---------------- ##
2189 ## Cache variables. ##
2190 ## ---------------- ##"
2192 # The following way of writing the cache mishandles newlines in values,
2194 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2195 eval ac_val=\$$ac_var
2199 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2200 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2203 _ | IFS | as_nl) ;; #(
2204 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2205 *) { eval $ac_var=; unset $ac_var;} ;;
2210 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2211 *${as_nl}ac_space=\ *)
2213 "s/'\''/'\''\\\\'\'''\''/g;
2214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2224 $as_echo "## ----------------- ##
2225 ## Output variables. ##
2226 ## ----------------- ##"
2228 for ac_var in $ac_subst_vars
2230 eval ac_val=\$$ac_var
2232 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2234 $as_echo "$ac_var='\''$ac_val'\''"
2238 if test -n "$ac_subst_files"; then
2239 $as_echo "## ------------------- ##
2240 ## File substitutions. ##
2241 ## ------------------- ##"
2243 for ac_var
in $ac_subst_files
2245 eval ac_val
=\$
$ac_var
2247 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249 $as_echo "$ac_var='\''$ac_val'\''"
2254 if test -s confdefs.h; then
2255 $as_echo "## ----------- ##
2262 test "$ac_signal" != 0 &&
2263 $as_echo "$as_me: caught signal $ac_signal"
2264 $as_echo "$as_me: exit $exit_status"
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 for ac_signal
in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest
* confdefs.h
2278 $as_echo "/* confdefs.h */" > confdefs.h
2280 # Predefined preprocessor variables.
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_NAME "$PACKAGE_NAME"
2286 cat >>confdefs.h
<<_ACEOF
2287 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 cat >>confdefs.h
<<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 cat >>confdefs.h
<<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 cat >>confdefs.h
<<_ACEOF
2299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 cat >>confdefs.h
<<_ACEOF
2303 #define PACKAGE_URL "$PACKAGE_URL"
2307 # Let the site file select an alternate cache file if it wants to.
2308 # Prefer an explicitly selected file to automatically selected ones.
2311 if test -n "$CONFIG_SITE"; then
2312 # We do not want a PATH search for config.site.
2313 case $CONFIG_SITE in #((
2314 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2315 */*) ac_site_file1
=$CONFIG_SITE;;
2316 *) ac_site_file1
=.
/$CONFIG_SITE;;
2318 elif test "x$prefix" != xNONE
; then
2319 ac_site_file1
=$prefix/share
/config.site
2320 ac_site_file2
=$prefix/etc
/config.site
2322 ac_site_file1
=$ac_default_prefix/share
/config.site
2323 ac_site_file2
=$ac_default_prefix/etc
/config.site
2325 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2327 test "x$ac_site_file" = xNONE
&& continue
2328 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2330 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2331 sed 's/^/| /' "$ac_site_file" >&5
2333 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 as_fn_error $?
"failed to load site script $ac_site_file
2336 See \`config.log' for more details" "$LINENO" 5; }
2340 if test -r "$cache_file"; then
2341 # Some versions of bash will fail to source /dev/null (special files
2342 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2343 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2345 $as_echo "$as_me: loading cache $cache_file" >&6;}
2347 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2348 *) .
"./$cache_file";;
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2353 $as_echo "$as_me: creating cache $cache_file" >&6;}
2357 # Check that the precious variables saved in the cache have kept the same
2359 ac_cache_corrupted
=false
2360 for ac_var
in $ac_precious_vars; do
2361 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2362 eval ac_new_set
=\
$ac_env_${ac_var}_set
2363 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2364 eval ac_new_val
=\
$ac_env_${ac_var}_value
2365 case $ac_old_set,$ac_new_set in
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2368 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2369 ac_cache_corrupted
=: ;;
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2372 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2373 ac_cache_corrupted
=: ;;
2376 if test "x$ac_old_val" != "x$ac_new_val"; then
2377 # differences in whitespace do not lead to failure.
2378 ac_old_val_w
=`echo x $ac_old_val`
2379 ac_new_val_w
=`echo x $ac_new_val`
2380 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2382 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2383 ac_cache_corrupted
=:
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2386 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2387 eval $ac_var=\
$ac_old_val
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2390 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2392 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2395 # Pass precious variables to config.status.
2396 if test "$ac_new_set" = set; then
2398 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2399 *) ac_arg
=$ac_var=$ac_new_val ;;
2401 case " $ac_configure_args " in
2402 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2403 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2407 if $ac_cache_corrupted; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2411 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2414 ## -------------------- ##
2415 ## Main body of script. ##
2416 ## -------------------- ##
2419 ac_cpp
='$CPP $CPPFLAGS'
2420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2426 sqlite_version_sanity_check
=`cat $srcdir/VERSION | tr -d '\n'`
2427 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2428 as_fn_error $?
"configure script is out of date:
2429 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2430 top level VERSION file = $sqlite_version_sanity_check
2431 please regen with autoconf" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2440 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2445 macro_version
='2.2.6'
2446 macro_revision
='1.3012'
2460 ltmain
="$ac_aux_dir/ltmain.sh"
2463 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2464 if test -f "$ac_dir/install-sh"; then
2466 ac_install_sh
="$ac_aux_dir/install-sh -c"
2468 elif test -f "$ac_dir/install.sh"; then
2470 ac_install_sh
="$ac_aux_dir/install.sh -c"
2472 elif test -f "$ac_dir/shtool"; then
2474 ac_install_sh
="$ac_aux_dir/shtool install -c"
2478 if test -z "$ac_aux_dir"; then
2479 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2482 # These three variables are undocumented and unsupported,
2483 # and are intended to be withdrawn in a future Autoconf release.
2484 # They can cause serious problems if a builder's source tree is in a directory
2485 # whose full name contains unusual characters.
2486 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2487 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2488 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2491 # Make sure we can run config.sub.
2492 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2493 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2496 $as_echo_n "checking build system type... " >&6; }
2497 if ${ac_cv_build+:} false
; then :
2498 $as_echo_n "(cached) " >&6
2500 ac_build_alias
=$build_alias
2501 test "x$ac_build_alias" = x
&&
2502 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2503 test "x$ac_build_alias" = x
&&
2504 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2505 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2506 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2510 $as_echo "$ac_cv_build" >&6; }
2511 case $ac_cv_build in
2513 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2516 ac_save_IFS
=$IFS; IFS
='-'
2522 # Remember, the first character of IFS is used to create $*,
2523 # except with old shells:
2526 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2530 $as_echo_n "checking host system type... " >&6; }
2531 if ${ac_cv_host+:} false
; then :
2532 $as_echo_n "(cached) " >&6
2534 if test "x$host_alias" = x
; then
2535 ac_cv_host
=$ac_cv_build
2537 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2538 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2543 $as_echo "$ac_cv_host" >&6; }
2546 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2549 ac_save_IFS
=$IFS; IFS
='-'
2555 # Remember, the first character of IFS is used to create $*,
2556 # except with old shells:
2559 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2563 ac_cpp
='$CPP $CPPFLAGS'
2564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2569 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if ${ac_cv_prog_CC+:} false
; then :
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC
="$CC" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 if test -n "$CC"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2598 $as_echo "$CC" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2606 if test -z "$ac_cv_prog_CC"; then
2608 # Extract the first word of "gcc", so it can be a program name with args.
2609 set dummy gcc
; ac_word
=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$ac_ct_CC"; then
2616 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir
=.
2623 for ac_exec_ext
in '' $ac_executable_extensions; do
2624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2625 ac_cv_prog_ac_ct_CC
="gcc"
2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2636 if test -n "$ac_ct_CC"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2638 $as_echo "$ac_ct_CC" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2644 if test "x$ac_ct_CC" = x
; then
2647 case $cross_compiling:$ac_tool_warned in
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2651 ac_tool_warned
=yes ;;
2659 if test -z "$CC"; then
2660 if test -n "$ac_tool_prefix"; then
2661 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2662 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if ${ac_cv_prog_CC+:} false
; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$CC"; then
2669 ac_cv_prog_CC
="$CC" # Let the user override the test.
2671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir
=.
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2678 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 if test -n "$CC"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2691 $as_echo "$CC" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2700 if test -z "$CC"; then
2701 # Extract the first word of "cc", so it can be a program name with args.
2702 set dummy cc
; ac_word
=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_CC+:} false
; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$CC"; then
2709 ac_cv_prog_CC
="$CC" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2719 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2720 ac_prog_rejected
=yes
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 if test $ac_prog_rejected = yes; then
2732 # We found a bogon in the path, so make sure we never use it.
2733 set dummy
$ac_cv_prog_CC
2735 if test $# != 0; then
2736 # We chose a different compiler from the bogus one.
2737 # However, it has the same basename, so the bogon will be chosen
2738 # first if we set CC to just the basename; use the full file name.
2740 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2746 if test -n "$CC"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2748 $as_echo "$CC" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2756 if test -z "$CC"; then
2757 if test -n "$ac_tool_prefix"; then
2758 for ac_prog
in cl.exe
2760 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2761 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if ${ac_cv_prog_CC+:} false
; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$CC"; then
2768 ac_cv_prog_CC
="$CC" # Let the user override the test.
2770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir
=.
2775 for ac_exec_ext
in '' $ac_executable_extensions; do
2776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2777 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test -n "$CC"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2790 $as_echo "$CC" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2797 test -n "$CC" && break
2800 if test -z "$CC"; then
2802 for ac_prog
in cl.exe
2804 # Extract the first word of "$ac_prog", so it can be a program name with args.
2805 set dummy
$ac_prog; ac_word
=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_CC"; then
2812 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_ac_ct_CC
="$ac_prog"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2832 if test -n "$ac_ct_CC"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2834 $as_echo "$ac_ct_CC" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2841 test -n "$ac_ct_CC" && break
2844 if test "x$ac_ct_CC" = x
; then
2847 case $cross_compiling:$ac_tool_warned in
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2851 ac_tool_warned
=yes ;;
2860 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2862 as_fn_error $?
"no acceptable C compiler found in \$PATH
2863 See \`config.log' for more details" "$LINENO" 5; }
2865 # Provide some information about the compiler.
2866 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2869 for ac_option
in --version -v -V -qversion; do
2870 { { ac_try
="$ac_compiler $ac_option >&5"
2872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 $as_echo "$ac_try_echo"; } >&5
2877 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2879 if test -s conftest.err; then
2881 ... rest of stderr output deleted ...
2882 10q' conftest.err >conftest.er1
2883 cat conftest.er1 >&5
2885 rm -f conftest.er1 conftest.err
2886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; }
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2901 ac_clean_files_save=$ac_clean_files
2902 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2903 # Try to create an executable without -o first, disregard a.out.
2904 # It will help us diagnose broken compilers, and finding out an intuition
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2907 $as_echo_n "checking whether the C compiler works... " >&6; }
2908 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2910 # The possible output files:
2911 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2914 for ac_file in $ac_files
2917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2918 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2923 if { { ac_try="$ac_link_default"
2925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2926 *) ac_try_echo
=$ac_try;;
2928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2929 $as_echo "$ac_try_echo"; } >&5
2930 (eval "$ac_link_default") 2>&5
2932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2933 test $ac_status = 0; }; then :
2934 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2935 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2936 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2937 # so that the user can short-circuit this test for compilers unknown to
2939 for ac_file
in $ac_files ''
2941 test -f "$ac_file" ||
continue
2943 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2946 # We found the default executable, but exeext='' is most
2950 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2952 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2954 # We set ac_cv_exeext here because the later test for it is not
2955 # safe: cross compilers may not add the suffix if given an `-o'
2956 # argument, so we may need to know it at that point already.
2957 # Even if this section looks crufty: it has the advantage of
2964 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2969 if test -z "$ac_file"; then :
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2972 $as_echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.
$ac_ext >&5
2975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2977 as_fn_error
77 "C compiler cannot create executables
2978 See \`config.log' for more details" "$LINENO" 5; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2981 $as_echo "yes" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2984 $as_echo_n "checking for C compiler default output file name... " >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2986 $as_echo "$ac_file" >&6; }
2987 ac_exeext
=$ac_cv_exeext
2989 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2990 ac_clean_files
=$ac_clean_files_save
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2992 $as_echo_n "checking for suffix of executables... " >&6; }
2993 if { { ac_try
="$ac_link"
2995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2999 $as_echo "$ac_try_echo"; } >&5
3000 (eval "$ac_link") 2>&5
3002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3003 test $ac_status = 0; }; then :
3004 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3005 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3006 # work properly (i.e., refer to `conftest.exe'), while it won't with
3008 for ac_file
in conftest.exe conftest conftest.
*; do
3009 test -f "$ac_file" ||
continue
3011 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3012 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3021 See \`config.log' for more details" "$LINENO" 5; }
3023 rm -f conftest conftest
$ac_cv_exeext
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3025 $as_echo "$ac_cv_exeext" >&6; }
3027 rm -f conftest.
$ac_ext
3028 EXEEXT
=$ac_cv_exeext
3030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3036 FILE *f = fopen ("conftest.out", "w");
3037 return ferror (f) || fclose (f) != 0;
3043 ac_clean_files
="$ac_clean_files conftest.out"
3044 # Check that the compiler produces executables we can run. If not, either
3045 # the compiler is broken, or we cross compile.
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3047 $as_echo_n "checking whether we are cross compiling... " >&6; }
3048 if test "$cross_compiling" != yes; then
3049 { { ac_try
="$ac_link"
3051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3055 $as_echo "$ac_try_echo"; } >&5
3056 (eval "$ac_link") 2>&5
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; }
3060 if { ac_try='./conftest$ac_cv_exeext'
3061 { { case "(($ac_try" in
3062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3063 *) ac_try_echo
=$ac_try;;
3065 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_try") 2>&5
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070 test $ac_status = 0; }; }; then
3073 if test "$cross_compiling" = maybe
; then
3076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error $?
"cannot run C compiled programs.
3079 If you meant to cross compile, use \`--host'.
3080 See \`config.log' for more details" "$LINENO" 5; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3085 $as_echo "$cross_compiling" >&6; }
3087 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3088 ac_clean_files
=$ac_clean_files_save
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3090 $as_echo_n "checking for suffix of object files... " >&6; }
3091 if ${ac_cv_objext+:} false
; then :
3092 $as_echo_n "(cached) " >&6
3094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3105 rm -f conftest.o conftest.obj
3106 if { { ac_try
="$ac_compile"
3108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_compile") 2>&5
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; }; then :
3117 for ac_file in conftest.o conftest.obj conftest.*; do
3118 test -f "$ac_file" || continue;
3120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3126 $as_echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3131 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3132 See \
`config.log' for more details" "$LINENO" 5; }
3134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3137 $as_echo "$ac_cv_objext" >&6; }
3138 OBJEXT=$ac_cv_objext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3142 if ${ac_cv_c_compiler_gnu+:} false; then :
3143 $as_echo_n "(cached) " >&6
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3159 if ac_fn_c_try_compile "$LINENO"; then :
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3170 if test $ac_compiler_gnu = yes; then
3175 ac_test_CFLAGS=${CFLAGS+set}
3176 ac_save_CFLAGS=$CFLAGS
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3179 if ${ac_cv_prog_cc_g+:} false; then :
3180 $as_echo_n "(cached) " >&6
3182 ac_save_c_werror_flag=$ac_c_werror_flag
3183 ac_c_werror_flag=yes
3186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h. */
3197 if ac_fn_c_try_compile "$LINENO"; then :
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3212 if ac_fn_c_try_compile "$LINENO"; then :
3215 ac_c_werror_flag=$ac_save_c_werror_flag
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 if ac_fn_c_try_compile "$LINENO"; then :
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236 ac_c_werror_flag=$ac_save_c_werror_flag
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3239 $as_echo "$ac_cv_prog_cc_g" >&6; }
3240 if test "$ac_test_CFLAGS" = set; then
3241 CFLAGS=$ac_save_CFLAGS
3242 elif test $ac_cv_prog_cc_g = yes; then
3243 if test "$GCC" = yes; then
3249 if test "$GCC" = yes; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3257 if ${ac_cv_prog_cc_c89+:} false; then :
3258 $as_echo_n "(cached) " >&6
3260 ac_cv_prog_cc_c89=no
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3267 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3268 struct buf { int x; };
3269 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3270 static char *e (p, i)
3276 static char *f (char * (*g) (char **, int), char **p, ...)
3281 s = g (p, va_arg (v,int));
3286 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3287 function prototypes and stuff, but not '\xHH' hex character constants.
3288 These don't provoke an error unfortunately, instead are silently treated
3289 as 'x'. The following induces an error, until -std is added to get
3290 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3291 array size at least. It's necessary to write '\x00'==0 to get something
3292 that's true only with -std. */
3293 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3295 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3296 inside strings and character constants. */
3298 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3300 int test (int i, double x);
3301 struct s1 {int (*f) (int a);};
3302 struct s2 {int (*f) (double a);};
3303 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3309 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3314 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3315 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3317 CC="$ac_save_CC $ac_arg"
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 ac_cv_prog_cc_c89=$ac_arg
3321 rm -f core conftest.err conftest.$ac_objext
3322 test "x$ac_cv_prog_cc_c89" != "xno" && break
3324 rm -f conftest.$ac_ext
3329 case "x$ac_cv_prog_cc_c89" in
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3332 $as_echo "none needed" >&6; } ;;
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3335 $as_echo "unsupported" >&6; } ;;
3337 CC="$CC $ac_cv_prog_cc_c89"
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3339 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3341 if test "x$ac_cv_prog_cc_c89" != xno; then :
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3352 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3353 if ${ac_cv_path_SED+:} false; then :
3354 $as_echo_n "(cached) " >&6
3356 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3357 for ac_i in 1 2 3 4 5 6 7; do
3358 ac_script="$ac_script$as_nl$ac_script"
3360 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3361 { ac_script=; unset ac_script;}
3362 if test -z "$SED"; then
3363 ac_path_SED_found=false
3364 # Loop through the user's path and test for each of PROGNAME-LIST
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir=.
3370 for ac_prog in sed gsed; do
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3373 as_fn_executable_p "$ac_path_SED" || continue
3374 # Check for GNU ac_path_SED and select it if it is found.
3375 # Check for GNU $ac_path_SED
3376 case `"$ac_path_SED" --version 2>&1` in
3378 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3381 $as_echo_n 0123456789 >"conftest.in"
3384 cat "conftest.in" "conftest.in" >"conftest.tmp"
3385 mv "conftest.tmp" "conftest.in"
3386 cp "conftest.in" "conftest.nl"
3387 $as_echo '' >> "conftest.nl"
3388 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3390 as_fn_arith $ac_count + 1 && ac_count=$as_val
3391 if test $ac_count -gt ${ac_path_SED_max-0}; then
3392 # Best one so far, save it but keep looking for a better one
3393 ac_cv_path_SED="$ac_path_SED"
3394 ac_path_SED_max=$ac_count
3396 # 10*(2^10) chars as input seems more than enough
3397 test $ac_count -gt 10 && break
3399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3402 $ac_path_SED_found && break 3
3407 if test -z "$ac_cv_path_SED"; then
3408 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3416 $as_echo "$ac_cv_path_SED" >&6; }
3417 SED="$ac_cv_path_SED"
3420 test -z "$SED" && SED=sed
3421 Xsed="$SED -e 1s/^X//"
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3434 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3435 if ${ac_cv_path_GREP+:} false; then :
3436 $as_echo_n "(cached) " >&6
3438 if test -z "$GREP"; then
3439 ac_path_GREP_found=false
3440 # Loop through the user's path and test for each of PROGNAME-LIST
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in grep ggrep; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3449 as_fn_executable_p "$ac_path_GREP" || continue
3450 # Check for GNU ac_path_GREP and select it if it is found.
3451 # Check for GNU $ac_path_GREP
3452 case `"$ac_path_GREP" --version 2>&1` in
3454 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3457 $as_echo_n 0123456789 >"conftest.in"
3460 cat "conftest.in" "conftest.in" >"conftest.tmp"
3461 mv "conftest.tmp" "conftest.in"
3462 cp "conftest.in" "conftest.nl"
3463 $as_echo 'GREP' >> "conftest.nl"
3464 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3466 as_fn_arith $ac_count + 1 && ac_count=$as_val
3467 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3468 # Best one so far, save it but keep looking for a better one
3469 ac_cv_path_GREP="$ac_path_GREP"
3470 ac_path_GREP_max=$ac_count
3472 # 10*(2^10) chars as input seems more than enough
3473 test $ac_count -gt 10 && break
3475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3478 $ac_path_GREP_found && break 3
3483 if test -z "$ac_cv_path_GREP"; then
3484 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3487 ac_cv_path_GREP=$GREP
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3492 $as_echo "$ac_cv_path_GREP" >&6; }
3493 GREP="$ac_cv_path_GREP"
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3497 $as_echo_n "checking for egrep... " >&6; }
3498 if ${ac_cv_path_EGREP+:} false; then :
3499 $as_echo_n "(cached) " >&6
3501 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3502 then ac_cv_path_EGREP="$GREP -E"
3504 if test -z "$EGREP"; then
3505 ac_path_EGREP_found=false
3506 # Loop through the user's path and test for each of PROGNAME-LIST
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3511 test -z "$as_dir" && as_dir=.
3512 for ac_prog in egrep; do
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3515 as_fn_executable_p "$ac_path_EGREP" || continue
3516 # Check for GNU ac_path_EGREP and select it if it is found.
3517 # Check for GNU $ac_path_EGREP
3518 case `"$ac_path_EGREP" --version 2>&1` in
3520 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3523 $as_echo_n 0123456789 >"conftest.in"
3526 cat "conftest.in" "conftest.in" >"conftest.tmp"
3527 mv "conftest.tmp" "conftest.in"
3528 cp "conftest.in" "conftest.nl"
3529 $as_echo 'EGREP' >> "conftest.nl"
3530 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3532 as_fn_arith $ac_count + 1 && ac_count=$as_val
3533 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3534 # Best one so far, save it but keep looking for a better one
3535 ac_cv_path_EGREP="$ac_path_EGREP"
3536 ac_path_EGREP_max=$ac_count
3538 # 10*(2^10) chars as input seems more than enough
3539 test $ac_count -gt 10 && break
3541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3544 $ac_path_EGREP_found && break 3
3549 if test -z "$ac_cv_path_EGREP"; then
3550 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3553 ac_cv_path_EGREP=$EGREP
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3559 $as_echo "$ac_cv_path_EGREP" >&6; }
3560 EGREP="$ac_cv_path_EGREP"
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3564 $as_echo_n "checking for fgrep... " >&6; }
3565 if ${ac_cv_path_FGREP+:} false; then :
3566 $as_echo_n "(cached) " >&6
3568 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3569 then ac_cv_path_FGREP="$GREP -F"
3571 if test -z "$FGREP"; then
3572 ac_path_FGREP_found=false
3573 # Loop through the user's path and test for each of PROGNAME-LIST
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3578 test -z "$as_dir" && as_dir=.
3579 for ac_prog in fgrep; do
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3582 as_fn_executable_p "$ac_path_FGREP" || continue
3583 # Check for GNU ac_path_FGREP and select it if it is found.
3584 # Check for GNU $ac_path_FGREP
3585 case `"$ac_path_FGREP" --version 2>&1` in
3587 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3590 $as_echo_n 0123456789 >"conftest.in"
3593 cat "conftest.in" "conftest.in" >"conftest.tmp"
3594 mv "conftest.tmp" "conftest.in"
3595 cp "conftest.in" "conftest.nl"
3596 $as_echo 'FGREP' >> "conftest.nl"
3597 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3598 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3599 as_fn_arith $ac_count + 1 && ac_count=$as_val
3600 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3601 # Best one so far, save it but keep looking for a better one
3602 ac_cv_path_FGREP="$ac_path_FGREP"
3603 ac_path_FGREP_max=$ac_count
3605 # 10*(2^10) chars as input seems more than enough
3606 test $ac_count -gt 10 && break
3608 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3611 $ac_path_FGREP_found && break 3
3616 if test -z "$ac_cv_path_FGREP"; then
3617 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3620 ac_cv_path_FGREP=$FGREP
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3626 $as_echo "$ac_cv_path_FGREP" >&6; }
3627 FGREP="$ac_cv_path_FGREP"
3630 test -z "$GREP" && GREP=grep
3650 # Check whether --with-gnu-ld was given.
3651 if test "${with_gnu_ld+set}" = set; then :
3652 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3658 if test "$GCC" = yes; then
3659 # Check if gcc -print-prog-name=ld gives a path.
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3661 $as_echo_n "checking for ld used by $CC... " >&6; }
3664 # gcc leaves a trailing carriage return which upsets mingw
3665 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3667 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3670 # Accept absolute paths.
3672 re_direlt='/[^/][^/]*/\.\./'
3673 # Canonicalize the pathname of ld
3674 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
3675 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3676 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
3678 test -z "$LD" && LD="$ac_prog"
3681 # If it fails, then pretend we aren't using GCC.
3685 # If it is relative, then search for the first ld in PATH.
3689 elif test "$with_gnu_ld" = yes; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3691 $as_echo_n "checking for GNU ld... " >&6; }
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3694 $as_echo_n "checking for non-GNU ld... " >&6; }
3696 if ${lt_cv_path_LD+:} false; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -z "$LD"; then
3700 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3701 for ac_dir in $PATH; do
3703 test -z "$ac_dir" && ac_dir=.
3704 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3705 lt_cv_path_LD="$ac_dir/$ac_prog"
3706 # Check to see if the program is GNU ld. I'd rather use --version,
3707 # but apparently some variants of GNU ld only accept -v.
3708 # Break only if it was the GNU/non-GNU ld that we prefer.
3709 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3710 *GNU* | *'with BFD'*)
3711 test "$with_gnu_ld" != no && break
3714 test "$with_gnu_ld" != yes && break
3721 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3726 if test -n "$LD"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3728 $as_echo "$LD" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3733 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3735 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3736 if ${lt_cv_prog_gnu_ld+:} false; then :
3737 $as_echo_n "(cached) " >&6
3739 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3740 case `$LD -v 2>&1 </dev
/null
` in
3741 *GNU* | *'with BFD'*)
3742 lt_cv_prog_gnu_ld=yes
3745 lt_cv_prog_gnu_ld=no
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3750 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3751 with_gnu_ld=$lt_cv_prog_gnu_ld
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3762 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3763 if ${lt_cv_path_NM+:} false; then :
3764 $as_echo_n "(cached) " >&6
3766 if test -n "$NM"; then
3767 # Let the user override the test.
3770 lt_nm_to_check="${ac_tool_prefix}nm"
3771 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3772 lt_nm_to_check="$lt_nm_to_check nm"
3774 for lt_tmp_nm in $lt_nm_to_check; do
3775 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3776 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3778 test -z "$ac_dir" && ac_dir=.
3779 tmp_nm="$ac_dir/$lt_tmp_nm"
3780 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3781 # Check to see if the nm accepts a BSD-compat flag.
3782 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3783 # nm: unknown option "B" ignored
3784 # Tru64's nm complains that
/dev
/null is an invalid object
file
3785 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3786 */dev
/null
* |
*'Invalid file or object type'*)
3787 lt_cv_path_NM
="$tmp_nm -B"
3791 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3793 lt_cv_path_NM
="$tmp_nm -p"
3797 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3798 continue # so that we can try to find one that supports BSD flags
3807 : ${lt_cv_path_NM=no}
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3811 $as_echo "$lt_cv_path_NM" >&6; }
3812 if test "$lt_cv_path_NM" != "no"; then
3815 # Didn't find any BSD compatible name lister, look for dumpbin.
3816 if test -n "$ac_tool_prefix"; then
3817 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3820 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3824 $as_echo_n "(cached) " >&6
3826 if test -n "$DUMPBIN"; then
3827 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir
=.
3834 for ac_exec_ext
in '' $ac_executable_extensions; do
3835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 DUMPBIN
=$ac_cv_prog_DUMPBIN
3847 if test -n "$DUMPBIN"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3849 $as_echo "$DUMPBIN" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3856 test -n "$DUMPBIN" && break
3859 if test -z "$DUMPBIN"; then
3860 ac_ct_DUMPBIN
=$DUMPBIN
3861 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3863 # Extract the first word of "$ac_prog", so it can be a program name with args.
3864 set dummy
$ac_prog; ac_word
=$2
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866 $as_echo_n "checking for $ac_word... " >&6; }
3867 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3868 $as_echo_n "(cached) " >&6
3870 if test -n "$ac_ct_DUMPBIN"; then
3871 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir
=.
3878 for ac_exec_ext
in '' $ac_executable_extensions; do
3879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3891 if test -n "$ac_ct_DUMPBIN"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3893 $as_echo "$ac_ct_DUMPBIN" >&6; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3900 test -n "$ac_ct_DUMPBIN" && break
3903 if test "x$ac_ct_DUMPBIN" = x
; then
3906 case $cross_compiling:$ac_tool_warned in
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3910 ac_tool_warned
=yes ;;
3912 DUMPBIN
=$ac_ct_DUMPBIN
3917 if test "$DUMPBIN" != ":"; then
3921 test -z "$NM" && NM
=nm
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3929 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3930 if ${lt_cv_nm_interface+:} false
; then :
3931 $as_echo_n "(cached) " >&6
3933 lt_cv_nm_interface
="BSD nm"
3934 echo "int some_variable = 0;" > conftest.
$ac_ext
3935 (eval echo "\"\$as_me:3935: $ac_compile\"" >&5)
3936 (eval "$ac_compile" 2>conftest.err
)
3937 cat conftest.err
>&5
3938 (eval echo "\"\$as_me:3938: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3939 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3940 cat conftest.err
>&5
3941 (eval echo "\"\$as_me:3941: output\"" >&5)
3942 cat conftest.out
>&5
3943 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3944 lt_cv_nm_interface
="MS dumpbin"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3949 $as_echo "$lt_cv_nm_interface" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3952 $as_echo_n "checking whether ln -s works... " >&6; }
3954 if test "$LN_S" = "ln -s"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3956 $as_echo "yes" >&6; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3959 $as_echo "no, using $LN_S" >&6; }
3962 # find the maximum length of command line arguments
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3964 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3965 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3966 $as_echo_n "(cached) " >&6
3973 # On DJGPP, this test can blow up pretty badly due to problems in libc
3974 # (any single argument exceeding 2000 bytes causes a buffer overrun
3975 # during glob expansion). Even if it were fixed, the result of this
3976 # check would be larger than it should be.
3977 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3981 # Under GNU Hurd, this test is not required because there is
3982 # no limit to the length of command line arguments.
3983 # Libtool will interpret -1 as no limit whatsoever
3984 lt_cv_sys_max_cmd_len
=-1;
3987 cygwin
* | mingw
* | cegcc
*)
3988 # On Win9x/ME, this test blows up -- it succeeds, but takes
3989 # about 5 minutes as the teststring grows exponentially.
3990 # Worse, since 9x/ME are not pre-emptively multitasking,
3991 # you end up with a "frozen" computer, even though with patience
3992 # the test eventually succeeds (with a max line length of 256k).
3993 # Instead, let's just punt: use the minimum linelength reported by
3994 # all of the supported platforms: 8192 (on NT/2K/XP).
3995 lt_cv_sys_max_cmd_len
=8192;
3999 # On AmigaOS with pdksh, this test takes hours, literally.
4000 # So we just punt and use a minimum line length of 8192.
4001 lt_cv_sys_max_cmd_len
=8192;
4004 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4005 # This has been around since 386BSD, at least. Likely further.
4006 if test -x /sbin
/sysctl
; then
4007 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4008 elif test -x /usr
/sbin
/sysctl
; then
4009 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4011 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4013 # And add a safety zone
4014 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4015 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4019 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4020 lt_cv_sys_max_cmd_len
=196608
4024 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4025 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4026 # nice to cause kernel panics so lets avoid the loop below.
4027 # First set a reasonable default.
4028 lt_cv_sys_max_cmd_len
=16384
4030 if test -x /sbin
/sysconfig
; then
4031 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4032 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4037 lt_cv_sys_max_cmd_len
=102400
4039 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4040 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4041 if test -n "$kargmax"; then
4042 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4044 lt_cv_sys_max_cmd_len
=32768
4048 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4049 if test -n "$lt_cv_sys_max_cmd_len"; then
4050 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4051 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4053 # Make teststring a little bigger before we do anything with it.
4054 # a 1K string should be a reasonable start.
4055 for i
in 1 2 3 4 5 6 7 8 ; do
4056 teststring
=$teststring$teststring
4058 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4059 # If test is not a shell built-in, we'll probably end up computing a
4060 # maximum length that is only half of the actual maximum length, but
4062 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4063 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4064 test $i != 17 # 1/2 MB should be enough
4067 teststring
=$teststring$teststring
4069 # Only check the string length outside the loop.
4070 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4072 # Add a significant safety factor because C++ compilers can tack on
4073 # massive amounts of additional arguments before passing them to the
4074 # linker. It appears as though 1/2 is a usable value.
4075 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4082 if test -n $lt_cv_sys_max_cmd_len ; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4084 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4087 $as_echo "none" >&6; }
4089 max_cmd_len
=$lt_cv_sys_max_cmd_len
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4101 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4102 # Try some XSI features
4105 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4107 && eval 'test $(( 1 + 1 )) -eq 2 \
4108 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4111 $as_echo "$xsi_shell" >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4115 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4117 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4119 && lt_shell_append=yes
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4121 $as_echo "$lt_shell_append" >&6; }
4124 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4134 # test EBCDIC or ASCII
4135 case `echo X|tr X '\101'` in
4136 A) # ASCII based system
4137 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4138 lt_SP2NL='tr \040 \012'
4139 lt_NL2SP='tr \015\012 \040\040'
4141 *) # EBCDIC based system
4142 lt_SP2NL='tr \100 \n'
4143 lt_NL2SP='tr \r\n \100\100'
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4156 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4157 if ${lt_cv_ld_reload_flag+:} false; then :
4158 $as_echo_n "(cached
) " >&6
4160 lt_cv_ld_reload_flag='-r'
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4163 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4164 reload_flag=$lt_cv_ld_reload_flag
4165 case $reload_flag in
4167 *) reload_flag=" $reload_flag" ;;
4169 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4172 if test "$GCC" = yes; then
4173 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4175 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4188 if test -n "$ac_tool_prefix"; then
4189 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4190 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4192 $as_echo_n "checking
for $ac_word...
" >&6; }
4193 if ${ac_cv_prog_OBJDUMP+:} false; then :
4194 $as_echo_n "(cached
) " >&6
4196 if test -n "$OBJDUMP"; then
4197 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir=.
4204 for ac_exec_ext in '' $ac_executable_extensions; do
4205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4206 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4216 OBJDUMP=$ac_cv_prog_OBJDUMP
4217 if test -n "$OBJDUMP"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4219 $as_echo "$OBJDUMP" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4222 $as_echo "no
" >&6; }
4227 if test -z "$ac_cv_prog_OBJDUMP"; then
4228 ac_ct_OBJDUMP=$OBJDUMP
4229 # Extract the first word of "objdump
", so it can be a program name with args.
4230 set dummy objdump; ac_word=$2
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4232 $as_echo_n "checking
for $ac_word...
" >&6; }
4233 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4234 $as_echo_n "(cached
) " >&6
4236 if test -n "$ac_ct_OBJDUMP"; then
4237 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir=.
4244 for ac_exec_ext in '' $ac_executable_extensions; do
4245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4246 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4256 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4257 if test -n "$ac_ct_OBJDUMP"; then
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4259 $as_echo "$ac_ct_OBJDUMP" >&6; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4262 $as_echo "no
" >&6; }
4265 if test "x
$ac_ct_OBJDUMP" = x; then
4268 case $cross_compiling:$ac_tool_warned in
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4271 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4272 ac_tool_warned=yes ;;
4274 OBJDUMP=$ac_ct_OBJDUMP
4277 OBJDUMP="$ac_cv_prog_OBJDUMP"
4280 test -z "$OBJDUMP" && OBJDUMP=objdump
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4291 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4292 if ${lt_cv_deplibs_check_method+:} false; then :
4293 $as_echo_n "(cached
) " >&6
4295 lt_cv_file_magic_cmd='$MAGIC_CMD'
4296 lt_cv_file_magic_test_file=
4297 lt_cv_deplibs_check_method='unknown'
4298 # Need to set the preceding variable on all platforms that support
4299 # interlibrary dependencies.
4300 # 'none' -- dependencies not supported.
4301 # `unknown' -- same as none, but documents that we really don't know.
4302 # 'pass_all' -- all dependencies passed with no checks.
4303 # 'test_compile' -- check by making test program.
4304 # 'file_magic [[regex]]' -- check by looking for files in library path
4305 # which responds to the $file_magic_cmd with a given extended regex.
4306 # If you have `file' or equivalent on your system and you're not sure
4307 # whether `pass_all' will *always* work, you probably want this one.
4311 lt_cv_deplibs_check_method=pass_all
4315 lt_cv_deplibs_check_method=pass_all
4319 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4320 lt_cv_file_magic_cmd='/usr/bin/file -L'
4321 lt_cv_file_magic_test_file=/shlib/libc.so
4325 # func_win32_libid is a shell function defined in ltmain.sh
4326 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4327 lt_cv_file_magic_cmd='func_win32_libid'
4331 # Base MSYS/MinGW do not provide the 'file' command needed by
4332 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4333 # unless we find 'file', for example because we are cross-compiling.
4334 if ( file / ) >/dev/null 2>&1; then
4335 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4336 lt_cv_file_magic_cmd='func_win32_libid'
4338 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4339 lt_cv_file_magic_cmd='$OBJDUMP -f'
4344 # use the weaker test based on 'objdump'. See mingw*.
4345 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4346 lt_cv_file_magic_cmd='$OBJDUMP -f'
4349 darwin* | rhapsody*)
4350 lt_cv_deplibs_check_method=pass_all
4353 freebsd* | dragonfly*)
4354 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4357 # Not sure whether the presence of OpenBSD here was a mistake.
4358 # Let's accept both of them until this is cleared up.
4359 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4360 lt_cv_file_magic_cmd=/usr/bin/file
4361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4365 lt_cv_deplibs_check_method=pass_all
4370 lt_cv_deplibs_check_method=pass_all
4373 hpux10.20* | hpux11*)
4374 lt_cv_file_magic_cmd=/usr/bin/file
4377 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4378 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4381 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]'
4382 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4385 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4386 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4392 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4396 irix5* | irix6* | nonstopux*)
4398 *-32|*"-32 ") libmagic=32-bit;;
4399 *-n32|*"-n32 ") libmagic=N32;;
4400 *-64|*"-64 ") libmagic=64-bit;;
4401 *) libmagic=never-match;;
4403 lt_cv_deplibs_check_method=pass_all
4406 # This must be Linux ELF.
4407 linux* | k*bsd*-gnu)
4408 lt_cv_deplibs_check_method=pass_all
4412 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4415 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4420 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4421 lt_cv_file_magic_cmd=/usr/bin/file
4422 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4426 lt_cv_deplibs_check_method=pass_all
4430 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4433 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4437 osf3* | osf4* | osf5*)
4438 lt_cv_deplibs_check_method=pass_all
4442 lt_cv_deplibs_check_method=pass_all
4446 lt_cv_deplibs_check_method=pass_all
4449 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4450 lt_cv_deplibs_check_method=pass_all
4454 case $host_vendor in
4456 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]'
4457 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4460 lt_cv_deplibs_check_method=pass_all
4463 lt_cv_file_magic_cmd='/bin/file'
4464 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4467 lt_cv_file_magic_cmd='/bin/file'
4468 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4469 lt_cv_file_magic_test_file=/lib/libc.so
4472 lt_cv_deplibs_check_method=pass_all
4475 lt_cv_deplibs_check_method=pass_all
4481 lt_cv_deplibs_check_method=pass_all
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4487 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4488 file_magic_cmd=$lt_cv_file_magic_cmd
4489 deplibs_check_method=$lt_cv_deplibs_check_method
4490 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4503 if test -n "$ac_tool_prefix"; then
4504 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4505 set dummy ${ac_tool_prefix}ar; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4507 $as_echo_n "checking
for $ac_word...
" >&6; }
4508 if ${ac_cv_prog_AR+:} false; then :
4509 $as_echo_n "(cached
) " >&6
4511 if test -n "$AR"; then
4512 ac_cv_prog_AR="$AR" # Let the user override the test.
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_AR="${ac_tool_prefix}ar"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$AR"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
4534 $as_echo "$AR" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4537 $as_echo "no
" >&6; }
4542 if test -z "$ac_cv_prog_AR"; then
4544 # Extract the first word of "ar", so it can be a program name with args.
4545 set dummy ar; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4547 $as_echo_n "checking
for $ac_word...
" >&6; }
4548 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4549 $as_echo_n "(cached
) " >&6
4551 if test -n "$ac_ct_AR"; then
4552 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_ac_ct_AR="ar"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4571 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4572 if test -n "$ac_ct_AR"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
4574 $as_echo "$ac_ct_AR" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4577 $as_echo "no
" >&6; }
4580 if test "x
$ac_ct_AR" = x; then
4583 case $cross_compiling:$ac_tool_warned in
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4586 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4587 ac_tool_warned=yes ;;
4595 test -z "$AR" && AR=ar
4596 test -z "$AR_FLAGS" && AR_FLAGS=cru
4608 if test -n "$ac_tool_prefix"; then
4609 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4610 set dummy ${ac_tool_prefix}strip; ac_word=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4612 $as_echo_n "checking
for $ac_word...
" >&6; }
4613 if ${ac_cv_prog_STRIP+:} false; then :
4614 $as_echo_n "(cached
) " >&6
4616 if test -n "$STRIP"; then
4617 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir=.
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4636 STRIP=$ac_cv_prog_STRIP
4637 if test -n "$STRIP"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4639 $as_echo "$STRIP" >&6; }
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4642 $as_echo "no
" >&6; }
4647 if test -z "$ac_cv_prog_STRIP"; then
4649 # Extract the first word of "strip
", so it can be a program name with args.
4650 set dummy strip; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4652 $as_echo_n "checking
for $ac_word...
" >&6; }
4653 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4654 $as_echo_n "(cached
) " >&6
4656 if test -n "$ac_ct_STRIP"; then
4657 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_STRIP="strip
"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4676 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4677 if test -n "$ac_ct_STRIP"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
4679 $as_echo "$ac_ct_STRIP" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4682 $as_echo "no
" >&6; }
4685 if test "x
$ac_ct_STRIP" = x; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4691 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4692 ac_tool_warned=yes ;;
4697 STRIP="$ac_cv_prog_STRIP"
4700 test -z "$STRIP" && STRIP=:
4707 if test -n "$ac_tool_prefix"; then
4708 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4709 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4711 $as_echo_n "checking
for $ac_word...
" >&6; }
4712 if ${ac_cv_prog_RANLIB+:} false; then :
4713 $as_echo_n "(cached
) " >&6
4715 if test -n "$RANLIB"; then
4716 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir=.
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4735 RANLIB=$ac_cv_prog_RANLIB
4736 if test -n "$RANLIB"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
4738 $as_echo "$RANLIB" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4741 $as_echo "no
" >&6; }
4746 if test -z "$ac_cv_prog_RANLIB"; then
4747 ac_ct_RANLIB=$RANLIB
4748 # Extract the first word of "ranlib
", so it can be a program name with args.
4749 set dummy ranlib; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4751 $as_echo_n "checking
for $ac_word...
" >&6; }
4752 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4753 $as_echo_n "(cached
) " >&6
4755 if test -n "$ac_ct_RANLIB"; then
4756 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4765 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4775 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4776 if test -n "$ac_ct_RANLIB"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
4778 $as_echo "$ac_ct_RANLIB" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4781 $as_echo "no
" >&6; }
4784 if test "x
$ac_ct_RANLIB" = x; then
4787 case $cross_compiling:$ac_tool_warned in
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4790 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4791 ac_tool_warned=yes ;;
4793 RANLIB=$ac_ct_RANLIB
4796 RANLIB="$ac_cv_prog_RANLIB"
4799 test -z "$RANLIB" && RANLIB=:
4806 # Determine commands to create old-style static archives.
4807 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4808 old_postinstall_cmds='chmod 644 $oldlib'
4809 old_postuninstall_cmds=
4811 if test -n "$RANLIB"; then
4814 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4817 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4820 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4856 # If no C compiler was specified, use CC.
4859 # If no C compiler flags were specified, use CFLAGS.
4860 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4862 # Allow CC to be a program name with arguments.
4866 # Check for command to grab the raw symbol name followed by C symbol from nm.
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
4868 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4869 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
4870 $as_echo_n "(cached
) " >&6
4873 # These are sane defaults that work on at least a few old systems.
4874 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4876 # Character class describing NM global symbol codes.
4877 symcode='[BCDEGRST]'
4879 # Regexp to match symbols that can be accessed directly from C.
4880 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4882 # Define system-specific variables.
4887 cygwin* | mingw* | pw32* | cegcc*)
4888 symcode='[ABCDGISTW]'
4891 if test "$host_cpu" = ia64; then
4892 symcode='[ABCDEGRST]'
4896 symcode='[BCDEGRST]'
4899 symcode='[BCDEGQRST]'
4910 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4918 # If we're using GNU nm, then use its standard symbol codes.
4919 case `$NM -V 2>&1` in
4920 *GNU* | *'with BFD'*)
4921 symcode='[ABCDGIRSTW]' ;;
4924 # Transform an extracted symbol line into a proper C declaration.
4925 # Some systems (esp. on ia64) link data and code symbols differently,
4926 # so use this general approach.
4927 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4929 # Transform an extracted symbol line into symbol name and symbol address
4930 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4931 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'"
4933 # Handle CRLF in mingw tool chain
4937 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4941 # Try without a prefix underscore, then with it.
4942 for ac_symprfx in "" "_
"; do
4944 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4945 symxfrm="\\1 $ac_symprfx\\2 \\2"
4947 # Write the raw and C identifiers.
4948 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4949 # Fake it for dumpbin and say T for any non-static function
4950 # and D for any global variable.
4951 # Also find C++ and __fastcall symbols from MSVC++,
4952 # which start with @ or ?.
4953 lt_cv_sys_global_symbol_pipe="$AWK '"\
4954 " {last_section=section; section=\$ 3};"\
4955 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4956 " \$ 0!~/External *\|/{next};"\
4957 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4958 " {if(hide[section]) next};"\
4959 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4960 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4961 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4962 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4963 " ' prfx
=^
$ac_symprfx"
4965 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4968 # Check to see that the pipe works correctly.
4972 cat > conftest.$ac_ext <<_LT_EOF
4977 void nm_test_func(void);
4978 void nm_test_func(void){}
4982 int main(){nm_test_var='a';nm_test_func();return(0);}
4985 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4986 (eval $ac_compile) 2>&5
4988 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4989 test $ac_status = 0; }; then
4990 # Now try to grab the symbols.
4992 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
4993 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4995 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4996 test $ac_status = 0; } && test -s "$nlist"; then
4997 # Try sorting and uniquifying the output.
4998 if sort "$nlist" | uniq > "$nlist"T; then
4999 mv -f "$nlist"T "$nlist"
5004 # Make sure that we snagged all the symbols we need.
5005 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5006 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5007 cat <<_LT_EOF > conftest.$ac_ext
5013 # Now generate the symbol file.
5014 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5016 cat <<_LT_EOF >> conftest.$ac_ext
5018 /* The mapping between symbol names and symbols. */
5023 lt__PROGRAM__LTX_preloaded_symbols[] =
5025 { "@PROGRAM@
", (void *) 0 },
5027 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5028 cat <<\_LT_EOF >> conftest.$ac_ext
5032 /* This works around a problem in FreeBSD linker */
5033 #ifdef FREEBSD_WORKAROUND
5034 static const void *lt_preloaded_setup() {
5035 return lt__PROGRAM__LTX_preloaded_symbols;
5043 # Now try linking the two files.
5044 mv conftest.$ac_objext conftstm.$ac_objext
5045 lt_save_LIBS="$LIBS"
5046 lt_save_CFLAGS="$CFLAGS"
5047 LIBS="conftstm.
$ac_objext"
5048 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5049 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5050 (eval $ac_link) 2>&5
5052 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5053 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5056 LIBS="$lt_save_LIBS"
5057 CFLAGS="$lt_save_CFLAGS"
5059 echo "cannot
find nm_test_func
in $nlist" >&5
5062 echo "cannot
find nm_test_var
in $nlist" >&5
5065 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5068 echo "$progname: failed program was
:" >&5
5069 cat conftest.$ac_ext >&5
5071 rm -rf conftest* conftst*
5073 # Do not use the global_symbol_pipe unless it works.
5074 if test "$pipe_works" = yes; then
5077 lt_cv_sys_global_symbol_pipe=
5083 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5084 lt_cv_sys_global_symbol_to_cdecl=
5086 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5088 $as_echo "failed
" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5091 $as_echo "ok
" >&6; }
5116 # Check whether --enable-libtool-lock was given.
5117 if test "${enable_libtool_lock+set}" = set; then :
5118 enableval=$enable_libtool_lock;
5121 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5123 # Some flags need to be propagated to the compiler or linker for good
5127 # Find out which ABI we are using.
5128 echo 'int i;' > conftest.$ac_ext
5129 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5130 (eval $ac_compile) 2>&5
5132 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5133 test $ac_status = 0; }; then
5134 case `/usr/bin/file conftest.$ac_objext` in
5146 # Find out which ABI we are using.
5147 echo '#line 5147 "configure
"' > conftest.$ac_ext
5148 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5149 (eval $ac_compile) 2>&5
5151 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5152 test $ac_status = 0; }; then
5153 if test "$lt_cv_prog_gnu_ld" = yes; then
5154 case `/usr/bin/file conftest.$ac_objext` in
5156 LD="${LD-ld} -melf32bsmip"
5159 LD="${LD-ld} -melf32bmipn32"
5162 LD="${LD-ld} -melf64bmip"
5166 case `/usr/bin/file conftest.$ac_objext` in
5182 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5183 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5184 # Find out which ABI we are using.
5185 echo 'int i;' > conftest.$ac_ext
5186 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5187 (eval $ac_compile) 2>&5
5189 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5190 test $ac_status = 0; }; then
5191 case `/usr/bin/file conftest.o` in
5194 x86_64-*kfreebsd*-gnu)
5195 LD="${LD-ld} -m elf_i386_fbsd
"
5198 LD="${LD-ld} -m elf_i386
"
5200 ppc64-*linux*|powerpc64-*linux*)
5201 LD="${LD-ld} -m elf32ppclinux
"
5204 LD="${LD-ld} -m elf_s390
"
5207 LD="${LD-ld} -m elf32_sparc
"
5213 x86_64-*kfreebsd*-gnu)
5214 LD="${LD-ld} -m elf_x86_64_fbsd
"
5217 LD="${LD-ld} -m elf_x86_64
"
5219 ppc*-*linux*|powerpc*-*linux*)
5220 LD="${LD-ld} -m elf64ppc
"
5222 s390*-*linux*|s390*-*tpf*)
5223 LD="${LD-ld} -m elf64_s390
"
5226 LD="${LD-ld} -m elf64_sparc
"
5236 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5237 SAVE_CFLAGS="$CFLAGS"
5238 CFLAGS="$CFLAGS -belf"
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5240 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5241 if ${lt_cv_cc_needs_belf+:} false; then :
5242 $as_echo_n "(cached
) " >&6
5245 ac_cpp='$CPP $CPPFLAGS'
5246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5261 if ac_fn_c_try_link "$LINENO"; then :
5262 lt_cv_cc_needs_belf=yes
5264 lt_cv_cc_needs_belf=no
5266 rm -f core conftest.err conftest.$ac_objext \
5267 conftest$ac_exeext conftest.$ac_ext
5269 ac_cpp='$CPP $CPPFLAGS'
5270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5276 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5277 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5278 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5279 CFLAGS="$SAVE_CFLAGS"
5283 # Find out which ABI we are using.
5284 echo 'int i;' > conftest.$ac_ext
5285 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5286 (eval $ac_compile) 2>&5
5288 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5289 test $ac_status = 0; }; then
5290 case `/usr/bin/file conftest.o` in
5292 case $lt_cv_prog_gnu_ld in
5293 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5295 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5307 need_locks="$enable_libtool_lock"
5311 rhapsody* | darwin*)
5312 if test -n "$ac_tool_prefix"; then
5313 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5314 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5316 $as_echo_n "checking
for $ac_word...
" >&6; }
5317 if ${ac_cv_prog_DSYMUTIL+:} false; then :
5318 $as_echo_n "(cached
) " >&6
5320 if test -n "$DSYMUTIL"; then
5321 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5330 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5340 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5341 if test -n "$DSYMUTIL"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5343 $as_echo "$DSYMUTIL" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5346 $as_echo "no
" >&6; }
5351 if test -z "$ac_cv_prog_DSYMUTIL"; then
5352 ac_ct_DSYMUTIL=$DSYMUTIL
5353 # Extract the first word of "dsymutil
", so it can be a program name with args.
5354 set dummy dsymutil; ac_word=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5356 $as_echo_n "checking
for $ac_word...
" >&6; }
5357 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5358 $as_echo_n "(cached
) " >&6
5360 if test -n "$ac_ct_DSYMUTIL"; then
5361 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir=.
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5370 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5380 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5381 if test -n "$ac_ct_DSYMUTIL"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
5383 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5386 $as_echo "no
" >&6; }
5389 if test "x
$ac_ct_DSYMUTIL" = x; then
5392 case $cross_compiling:$ac_tool_warned in
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5395 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5396 ac_tool_warned=yes ;;
5398 DSYMUTIL=$ac_ct_DSYMUTIL
5401 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5404 if test -n "$ac_tool_prefix"; then
5405 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5406 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5408 $as_echo_n "checking
for $ac_word...
" >&6; }
5409 if ${ac_cv_prog_NMEDIT+:} false; then :
5410 $as_echo_n "(cached
) " >&6
5412 if test -n "$NMEDIT"; then
5413 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5432 NMEDIT=$ac_cv_prog_NMEDIT
5433 if test -n "$NMEDIT"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
5435 $as_echo "$NMEDIT" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5438 $as_echo "no
" >&6; }
5443 if test -z "$ac_cv_prog_NMEDIT"; then
5444 ac_ct_NMEDIT=$NMEDIT
5445 # Extract the first word of "nmedit
", so it can be a program name with args.
5446 set dummy nmedit; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5448 $as_echo_n "checking
for $ac_word...
" >&6; }
5449 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
5450 $as_echo_n "(cached
) " >&6
5452 if test -n "$ac_ct_NMEDIT"; then
5453 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5472 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5473 if test -n "$ac_ct_NMEDIT"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
5475 $as_echo "$ac_ct_NMEDIT" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5478 $as_echo "no
" >&6; }
5481 if test "x
$ac_ct_NMEDIT" = x; then
5484 case $cross_compiling:$ac_tool_warned in
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5487 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5488 ac_tool_warned=yes ;;
5490 NMEDIT=$ac_ct_NMEDIT
5493 NMEDIT="$ac_cv_prog_NMEDIT"
5496 if test -n "$ac_tool_prefix"; then
5497 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5498 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5500 $as_echo_n "checking
for $ac_word...
" >&6; }
5501 if ${ac_cv_prog_LIPO+:} false; then :
5502 $as_echo_n "(cached
) " >&6
5504 if test -n "$LIPO"; then
5505 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5524 LIPO=$ac_cv_prog_LIPO
5525 if test -n "$LIPO"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
5527 $as_echo "$LIPO" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5530 $as_echo "no
" >&6; }
5535 if test -z "$ac_cv_prog_LIPO"; then
5537 # Extract the first word of "lipo
", so it can be a program name with args.
5538 set dummy lipo; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5540 $as_echo_n "checking
for $ac_word...
" >&6; }
5541 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
5542 $as_echo_n "(cached
) " >&6
5544 if test -n "$ac_ct_LIPO"; then
5545 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_ac_ct_LIPO="lipo
"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5564 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5565 if test -n "$ac_ct_LIPO"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
5567 $as_echo "$ac_ct_LIPO" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5570 $as_echo "no
" >&6; }
5573 if test "x
$ac_ct_LIPO" = x; then
5576 case $cross_compiling:$ac_tool_warned in
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5579 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5580 ac_tool_warned=yes ;;
5585 LIPO="$ac_cv_prog_LIPO"
5588 if test -n "$ac_tool_prefix"; then
5589 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5590 set dummy ${ac_tool_prefix}otool; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5592 $as_echo_n "checking
for $ac_word...
" >&6; }
5593 if ${ac_cv_prog_OTOOL+:} false; then :
5594 $as_echo_n "(cached
) " >&6
5596 if test -n "$OTOOL"; then
5597 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5616 OTOOL=$ac_cv_prog_OTOOL
5617 if test -n "$OTOOL"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
5619 $as_echo "$OTOOL" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5622 $as_echo "no
" >&6; }
5627 if test -z "$ac_cv_prog_OTOOL"; then
5629 # Extract the first word of "otool
", so it can be a program name with args.
5630 set dummy otool; ac_word=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5632 $as_echo_n "checking
for $ac_word...
" >&6; }
5633 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
5634 $as_echo_n "(cached
) " >&6
5636 if test -n "$ac_ct_OTOOL"; then
5637 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir=.
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_ac_ct_OTOOL="otool
"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5656 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5657 if test -n "$ac_ct_OTOOL"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
5659 $as_echo "$ac_ct_OTOOL" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5662 $as_echo "no
" >&6; }
5665 if test "x
$ac_ct_OTOOL" = x; then
5668 case $cross_compiling:$ac_tool_warned in
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5671 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5672 ac_tool_warned=yes ;;
5677 OTOOL="$ac_cv_prog_OTOOL"
5680 if test -n "$ac_tool_prefix"; then
5681 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5682 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5684 $as_echo_n "checking
for $ac_word...
" >&6; }
5685 if ${ac_cv_prog_OTOOL64+:} false; then :
5686 $as_echo_n "(cached
) " >&6
5688 if test -n "$OTOOL64"; then
5689 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5708 OTOOL64=$ac_cv_prog_OTOOL64
5709 if test -n "$OTOOL64"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
5711 $as_echo "$OTOOL64" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5714 $as_echo "no
" >&6; }
5719 if test -z "$ac_cv_prog_OTOOL64"; then
5720 ac_ct_OTOOL64=$OTOOL64
5721 # Extract the first word of "otool64
", so it can be a program name with args.
5722 set dummy otool64; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5724 $as_echo_n "checking
for $ac_word...
" >&6; }
5725 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
5726 $as_echo_n "(cached
) " >&6
5728 if test -n "$ac_ct_OTOOL64"; then
5729 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5748 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5749 if test -n "$ac_ct_OTOOL64"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
5751 $as_echo "$ac_ct_OTOOL64" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5754 $as_echo "no
" >&6; }
5757 if test "x
$ac_ct_OTOOL64" = x; then
5760 case $cross_compiling:$ac_tool_warned in
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5763 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5764 ac_tool_warned=yes ;;
5766 OTOOL64=$ac_ct_OTOOL64
5769 OTOOL64="$ac_cv_prog_OTOOL64"
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
5799 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5800 if ${lt_cv_apple_cc_single_mod+:} false; then :
5801 $as_echo_n "(cached
) " >&6
5803 lt_cv_apple_cc_single_mod=no
5804 if test -z "${LT_MULTI_MODULE}"; then
5805 # By default we will add the -single_module flag. You can override
5806 # by either setting the environment variable LT_MULTI_MODULE
5807 # non-empty at configure time, or by adding -multi_module to the
5809 rm -rf libconftest.dylib*
5810 echo "int foo
(void
){return 1;}" > conftest.c
5811 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5812 -dynamiclib -Wl,-single_module conftest.c
" >&5
5813 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5814 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5816 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5817 lt_cv_apple_cc_single_mod=yes
5819 cat conftest.err >&5
5821 rm -rf libconftest.dylib*
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
5826 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
5828 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5829 if ${lt_cv_ld_exported_symbols_list+:} false; then :
5830 $as_echo_n "(cached
) " >&6
5832 lt_cv_ld_exported_symbols_list=no
5833 save_LDFLAGS=$LDFLAGS
5834 echo "_main
" > conftest.sym
5835 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5847 if ac_fn_c_try_link "$LINENO"; then :
5848 lt_cv_ld_exported_symbols_list=yes
5850 lt_cv_ld_exported_symbols_list=no
5852 rm -f core conftest.err conftest.$ac_objext \
5853 conftest$ac_exeext conftest.$ac_ext
5854 LDFLAGS="$save_LDFLAGS"
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
5858 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5860 rhapsody* | darwin1.[012])
5861 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5863 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5864 darwin*) # darwin 5.x on
5865 # if running on 10.5 or later, the deployment target defaults
5866 # to the OS version, if on x86, and 10.4, the deployment
5867 # target defaults to 10.4. Don't you love it?
5868 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5869 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5870 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5872 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5874 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5878 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5879 _lt_dar_single_mod='$single_module'
5881 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5882 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5884 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5886 if test "$DSYMUTIL" != ":"; then
5887 _lt_dsymutil='~$DSYMUTIL $lib || :'
5895 ac_cpp='$CPP $CPPFLAGS'
5896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
5900 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5901 # On Suns, sometimes $CPP names a directory.
5902 if test -n "$CPP" && test -d "$CPP"; then
5905 if test -z "$CPP"; then
5906 if ${ac_cv_prog_CPP+:} false; then :
5907 $as_echo_n "(cached
) " >&6
5909 # Double quotes because CPP needs to be expanded
5910 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5913 for ac_c_preproc_warn_flag in '' yes
5915 # Use a header file that comes with gcc, so configuring glibc
5916 # with a fresh cross-compiler works.
5917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5918 # <limits.h> exists even on freestanding compilers.
5919 # On the NeXT, cc -E runs the code through the compiler's parser,
5920 # not just through cpp. "Syntax error
" is here to catch this case.
5921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5922 /* end confdefs.h. */
5924 # include <limits.h>
5926 # include <assert.h>
5930 if ac_fn_c_try_cpp "$LINENO"; then :
5933 # Broken: fails on valid input.
5936 rm -f conftest.err conftest.i conftest.$ac_ext
5938 # OK, works on sane cases. Now check whether nonexistent headers
5939 # can be detected and how.
5940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5941 /* end confdefs.h. */
5942 #include <ac_nonexistent.h>
5944 if ac_fn_c_try_cpp "$LINENO"; then :
5945 # Broken: success on invalid input.
5948 # Passes both tests.
5952 rm -f conftest.err conftest.i conftest.$ac_ext
5955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5956 rm -f conftest.i conftest.err conftest.$ac_ext
5957 if $ac_preproc_ok; then :
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
5970 $as_echo "$CPP" >&6; }
5972 for ac_c_preproc_warn_flag in '' yes
5974 # Use a header file that comes with gcc, so configuring glibc
5975 # with a fresh cross-compiler works.
5976 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5977 # <limits.h> exists even on freestanding compilers.
5978 # On the NeXT, cc -E runs the code through the compiler's parser,
5979 # not just through cpp. "Syntax error
" is here to catch this case.
5980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5981 /* end confdefs.h. */
5983 # include <limits.h>
5985 # include <assert.h>
5989 if ac_fn_c_try_cpp "$LINENO"; then :
5992 # Broken: fails on valid input.
5995 rm -f conftest.err conftest.i conftest.$ac_ext
5997 # OK, works on sane cases. Now check whether nonexistent headers
5998 # can be detected and how.
5999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6001 #include <ac_nonexistent.h>
6003 if ac_fn_c_try_cpp "$LINENO"; then :
6004 # Broken: success on invalid input.
6007 # Passes both tests.
6011 rm -f conftest.err conftest.i conftest.$ac_ext
6014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6015 rm -f conftest.i conftest.err conftest.$ac_ext
6016 if $ac_preproc_ok; then :
6019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6021 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6022 See \`config.log' for more details
" "$LINENO" 5; }
6026 ac_cpp='$CPP $CPPFLAGS'
6027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6033 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6034 if ${ac_cv_header_stdc+:} false; then :
6035 $as_echo_n "(cached
) " >&6
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6052 if ac_fn_c_try_compile "$LINENO"; then :
6053 ac_cv_header_stdc=yes
6055 ac_cv_header_stdc=no
6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6059 if test $ac_cv_header_stdc = yes; then
6060 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6062 /* end confdefs.h. */
6066 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6067 $EGREP "memchr
" >/dev/null 2>&1; then :
6070 ac_cv_header_stdc=no
6076 if test $ac_cv_header_stdc = yes; then
6077 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6083 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6084 $EGREP "free
" >/dev/null 2>&1; then :
6087 ac_cv_header_stdc=no
6093 if test $ac_cv_header_stdc = yes; then
6094 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6095 if test "$cross_compiling" = yes; then :
6098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6099 /* end confdefs.h. */
6102 #if ((' ' & 0x0FF) == 0x020)
6103 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6104 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6106 # define ISLOWER(c) \
6107 (('a' <= (c) && (c) <= 'i') \
6108 || ('j' <= (c) && (c) <= 'r') \
6109 || ('s' <= (c) && (c) <= 'z'))
6110 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6113 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6118 for (i = 0; i < 256; i++)
6119 if (XOR (islower (i), ISLOWER (i))
6120 || toupper (i) != TOUPPER (i))
6125 if ac_fn_c_try_run "$LINENO"; then :
6128 ac_cv_header_stdc=no
6130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6131 conftest.$ac_objext conftest.beam conftest.$ac_ext
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6137 $as_echo "$ac_cv_header_stdc" >&6; }
6138 if test $ac_cv_header_stdc = yes; then
6140 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6144 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6145 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6146 inttypes.h stdint.h unistd.h
6148 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6149 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6151 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6152 cat >>confdefs.h
<<_ACEOF
6153 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6161 for ac_header
in dlfcn.h
6163 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6165 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6166 cat >>confdefs.h
<<_ACEOF
6167 #define HAVE_DLFCN_H 1
6186 # Check whether --enable-shared was given.
6187 if test "${enable_shared+set}" = set; then :
6188 enableval
=$enable_shared; p
=${PACKAGE-default}
6190 yes) enable_shared
=yes ;;
6191 no
) enable_shared
=no
;;
6194 # Look at the argument we got. We use all the common list separators.
6195 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6196 for pkg
in $enableval; do
6198 if test "X$pkg" = "X$p"; then
6217 # Check whether --enable-static was given.
6218 if test "${enable_static+set}" = set; then :
6219 enableval
=$enable_static; p
=${PACKAGE-default}
6221 yes) enable_static
=yes ;;
6222 no
) enable_static
=no
;;
6225 # Look at the argument we got. We use all the common list separators.
6226 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6227 for pkg
in $enableval; do
6229 if test "X$pkg" = "X$p"; then
6249 # Check whether --with-pic was given.
6250 if test "${with_pic+set}" = set; then :
6251 withval
=$with_pic; pic_mode
="$withval"
6257 test -z "$pic_mode" && pic_mode
=default
6265 # Check whether --enable-fast-install was given.
6266 if test "${enable_fast_install+set}" = set; then :
6267 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6269 yes) enable_fast_install
=yes ;;
6270 no
) enable_fast_install
=no
;;
6272 enable_fast_install
=no
6273 # Look at the argument we got. We use all the common list separators.
6274 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6275 for pkg
in $enableval; do
6277 if test "X$pkg" = "X$p"; then
6278 enable_fast_install
=yes
6285 enable_fast_install
=yes
6298 # This can be used to rebuild libtool when needed
6299 LIBTOOL_DEPS
="$ltmain"
6301 # Always use our own libtool.
6302 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6328 test -z "$LN_S" && LN_S
="ln -s"
6343 if test -n "${ZSH_VERSION+set}" ; then
6344 setopt NO_GLOB_SUBST
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6348 $as_echo_n "checking for objdir... " >&6; }
6349 if ${lt_cv_objdir+:} false
; then :
6350 $as_echo_n "(cached) " >&6
6352 rm -f .libs
2>/dev
/null
6353 mkdir .libs
2>/dev
/null
6354 if test -d .libs
; then
6357 # MS-DOS does not allow filenames that begin with a dot.
6360 rmdir .libs
2>/dev
/null
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6363 $as_echo "$lt_cv_objdir" >&6; }
6364 objdir
=$lt_cv_objdir
6370 cat >>confdefs.h
<<_ACEOF
6371 #define LT_OBJDIR "$lt_cv_objdir/"
6392 # AIX sometimes has problems with the GCC collect2 program. For some
6393 # reason, if we set the COLLECT_NAMES environment variable, the problems
6394 # vanish in a puff of smoke.
6395 if test "X${COLLECT_NAMES+set}" != Xset
; then
6397 export COLLECT_NAMES
6402 # Sed substitution that helps us do robust quoting. It backslashifies
6403 # metacharacters that are still active within double-quoted strings.
6404 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6406 # Same as above, but do not quote variable references.
6407 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6409 # Sed substitution to delay expansion of an escaped shell variable in a
6410 # double_quote_subst'ed string.
6411 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6413 # Sed substitution to delay expansion of an escaped single quote.
6414 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6416 # Sed substitution to avoid accidental globbing in evaled expressions
6417 no_glob_subst
='s/\*/\\\*/g'
6421 can_build_shared
=yes
6423 # All known linkers require a `.a' archive for static linking (except MSVC,
6424 # which needs '.lib').
6427 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6430 old_CFLAGS
="$CFLAGS"
6432 # Set sane defaults for various variables
6433 test -z "$CC" && CC
=cc
6434 test -z "$LTCC" && LTCC
=$CC
6435 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6436 test -z "$LD" && LD
=ld
6437 test -z "$ac_objext" && ac_objext
=o
6439 for cc_temp
in $compiler""; do
6441 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6442 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6447 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6450 # Only perform the check for file, if the check method requires it
6451 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6452 case $deplibs_check_method in
6454 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6456 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6457 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6458 $as_echo_n "(cached) " >&6
6462 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6465 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6466 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6467 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6468 for ac_dir
in $ac_dummy; do
6470 test -z "$ac_dir" && ac_dir
=.
6471 if test -f $ac_dir/${ac_tool_prefix}file; then
6472 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6473 if test -n "$file_magic_test_file"; then
6474 case $deplibs_check_method in
6476 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6477 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6478 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6479 $EGREP "$file_magic_regex" > /dev
/null
; then
6484 *** Warning: the command libtool uses to detect shared libraries,
6485 *** $file_magic_cmd, produces output that libtool cannot recognize.
6486 *** The result is that libtool may fail to recognize shared libraries
6487 *** as such. This will affect the creation of libtool libraries that
6488 *** depend on shared libraries, but programs linked with such libtool
6489 *** libraries will work regardless of this problem. Nevertheless, you
6490 *** may want to report the problem to your system manager and/or to
6491 *** bug-libtool@gnu.org
6501 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6506 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6507 if test -n "$MAGIC_CMD"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6509 $as_echo "$MAGIC_CMD" >&6; }
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6519 if test -z "$lt_cv_path_MAGIC_CMD"; then
6520 if test -n "$ac_tool_prefix"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6522 $as_echo_n "checking for file... " >&6; }
6523 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6524 $as_echo_n "(cached) " >&6
6528 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6531 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6532 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6533 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6534 for ac_dir
in $ac_dummy; do
6536 test -z "$ac_dir" && ac_dir
=.
6537 if test -f $ac_dir/file; then
6538 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6539 if test -n "$file_magic_test_file"; then
6540 case $deplibs_check_method in
6542 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6543 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6544 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6545 $EGREP "$file_magic_regex" > /dev
/null
; then
6550 *** Warning: the command libtool uses to detect shared libraries,
6551 *** $file_magic_cmd, produces output that libtool cannot recognize.
6552 *** The result is that libtool may fail to recognize shared libraries
6553 *** as such. This will affect the creation of libtool libraries that
6554 *** depend on shared libraries, but programs linked with such libtool
6555 *** libraries will work regardless of this problem. Nevertheless, you
6556 *** may want to report the problem to your system manager and/or to
6557 *** bug-libtool@gnu.org
6567 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6572 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6573 if test -n "$MAGIC_CMD"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6575 $as_echo "$MAGIC_CMD" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6591 # Use C for the default configuration in the libtool script
6595 ac_cpp
='$CPP $CPPFLAGS'
6596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6601 # Source file extension for C test sources.
6604 # Object file extension for compiled C test sources.
6608 # Code to be used in simple compile tests
6609 lt_simple_compile_test_code
="int some_variable = 0;"
6611 # Code to be used in simple link tests
6612 lt_simple_link_test_code
='int main(){return(0);}'
6620 # If no C compiler was specified, use CC.
6623 # If no C compiler flags were specified, use CFLAGS.
6624 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6626 # Allow CC to be a program name with arguments.
6629 # Save the default compiler, since it gets overwritten when the other
6630 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6631 compiler_DEFAULT
=$CC
6633 # save warnings/boilerplate of simple test code
6634 ac_outfile
=conftest.
$ac_objext
6635 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6636 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6637 _lt_compiler_boilerplate
=`cat conftest.err`
6640 ac_outfile
=conftest.
$ac_objext
6641 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6642 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6643 _lt_linker_boilerplate
=`cat conftest.err`
6647 if test -n "$compiler"; then
6649 lt_prog_compiler_no_builtin_flag
=
6651 if test "$GCC" = yes; then
6652 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6655 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6656 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
6657 $as_echo_n "(cached) " >&6
6659 lt_cv_prog_compiler_rtti_exceptions
=no
6660 ac_outfile
=conftest.
$ac_objext
6661 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6662 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6663 # Insert the option either (1) after the last *FLAGS variable, or
6664 # (2) before a word containing "conftest.", or (3) at the end.
6665 # Note that $ac_compile itself does not contain backslashes and begins
6666 # with a dollar sign (not a hyphen), so the echo should work correctly.
6667 # The option is referenced via a variable to avoid confusing sed.
6668 lt_compile
=`echo "$ac_compile" | $SED \
6669 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6670 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6671 -e 's:$: $lt_compiler_flag:'`
6672 (eval echo "\"\$as_me:6672: $lt_compile\"" >&5)
6673 (eval "$lt_compile" 2>conftest.err
)
6675 cat conftest.err
>&5
6676 echo "$as_me:6676: \$? = $ac_status" >&5
6677 if (exit $ac_status) && test -s "$ac_outfile"; then
6678 # The compiler can only warn and ignore the option if not recognized
6679 # So say no if there are warnings other than the usual output.
6680 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6681 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6682 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6683 lt_cv_prog_compiler_rtti_exceptions
=yes
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6690 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6692 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6693 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6705 lt_prog_compiler_wl
=
6706 lt_prog_compiler_pic
=
6707 lt_prog_compiler_static
=
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6710 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6712 if test "$GCC" = yes; then
6713 lt_prog_compiler_wl
='-Wl,'
6714 lt_prog_compiler_static
='-static'
6718 # All AIX code is PIC.
6719 if test "$host_cpu" = ia64
; then
6720 # AIX 5 now supports IA64 processor
6721 lt_prog_compiler_static
='-Bstatic'
6728 # see comment about AmigaOS4 .so support
6729 lt_prog_compiler_pic
='-fPIC'
6732 # FIXME: we need at least 68020 code to build shared libraries, but
6733 # adding the `-m68020' flag to GCC prevents building anything better,
6735 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6740 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6741 # PIC is the default for these OSes.
6744 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6745 # This hack is so that the source file can tell whether it is being
6746 # built for inclusion in a dll (and should export symbols for example).
6747 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6748 # (--disable-auto-import) libraries
6749 lt_prog_compiler_pic
='-DDLL_EXPORT'
6752 darwin
* | rhapsody
*)
6753 # PIC is the default on this platform
6754 # Common symbols not allowed in MH_DYLIB files
6755 lt_prog_compiler_pic
='-fno-common'
6759 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6760 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6761 # sets the default TLS model and affects inlining.
6767 lt_prog_compiler_pic
='-fPIC'
6773 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6774 # Instead, we relocate shared libraries at runtime.
6778 # Just because we use GCC doesn't mean we suddenly get shared libraries
6779 # on systems that don't support them.
6780 lt_prog_compiler_can_build_shared
=no
6785 # QNX uses GNU C++, but need to define -shared option too, otherwise
6787 lt_prog_compiler_pic
='-fPIC -shared'
6791 if test -d /usr
/nec
; then
6792 lt_prog_compiler_pic
=-Kconform_pic
6797 lt_prog_compiler_pic
='-fPIC'
6801 # PORTME Check for flag to pass linker flags through the system compiler.
6804 lt_prog_compiler_wl
='-Wl,'
6805 if test "$host_cpu" = ia64
; then
6806 # AIX 5 now supports IA64 processor
6807 lt_prog_compiler_static
='-Bstatic'
6809 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6813 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6814 # This hack is so that the source file can tell whether it is being
6815 # built for inclusion in a dll (and should export symbols for example).
6816 lt_prog_compiler_pic
='-DDLL_EXPORT'
6819 hpux9
* | hpux10
* | hpux11
*)
6820 lt_prog_compiler_wl
='-Wl,'
6821 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6828 lt_prog_compiler_pic
='+Z'
6831 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6832 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6835 irix5
* | irix6
* | nonstopux
*)
6836 lt_prog_compiler_wl
='-Wl,'
6837 # PIC (with -KPIC) is the default.
6838 lt_prog_compiler_static
='-non_shared'
6841 linux
* | k
*bsd
*-gnu)
6842 case $cc_basename in
6843 # old Intel for x86_64 which still supported -KPIC.
6845 lt_prog_compiler_wl
='-Wl,'
6846 lt_prog_compiler_pic
='-KPIC'
6847 lt_prog_compiler_static
='-static'
6849 # icc used to be incompatible with GCC.
6850 # ICC 10 doesn't accept -KPIC any more.
6852 lt_prog_compiler_wl
='-Wl,'
6853 lt_prog_compiler_pic
='-fPIC'
6854 lt_prog_compiler_static
='-static'
6856 # Lahey Fortran 8.1.
6858 lt_prog_compiler_wl
='-Wl,'
6859 lt_prog_compiler_pic
='--shared'
6860 lt_prog_compiler_static
='--static'
6862 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6863 # Portland Group compilers (*not* the Pentium gcc compiler,
6864 # which looks to be a dead project)
6865 lt_prog_compiler_wl
='-Wl,'
6866 lt_prog_compiler_pic
='-fpic'
6867 lt_prog_compiler_static
='-Bstatic'
6870 lt_prog_compiler_wl
='-Wl,'
6871 # All Alpha code is PIC.
6872 lt_prog_compiler_static
='-non_shared'
6875 # IBM XL C 8.0/Fortran 10.1 on PPC
6876 lt_prog_compiler_wl
='-Wl,'
6877 lt_prog_compiler_pic
='-qpic'
6878 lt_prog_compiler_static
='-qstaticlink'
6881 case `$CC -V 2>&1 | sed 5q` in
6884 lt_prog_compiler_pic
='-KPIC'
6885 lt_prog_compiler_static
='-Bstatic'
6886 lt_prog_compiler_wl
='-Wl,'
6889 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6890 lt_prog_compiler_pic
='-KPIC'
6891 lt_prog_compiler_static
='-Bstatic'
6892 lt_prog_compiler_wl
=''
6900 lt_prog_compiler_pic
='-KPIC'
6901 lt_prog_compiler_static
='-Bstatic'
6905 # QNX uses GNU C++, but need to define -shared option too, otherwise
6907 lt_prog_compiler_pic
='-fPIC -shared'
6910 osf3
* | osf4
* | osf5
*)
6911 lt_prog_compiler_wl
='-Wl,'
6912 # All OSF/1 code is PIC.
6913 lt_prog_compiler_static
='-non_shared'
6917 lt_prog_compiler_static
='-non_shared'
6921 lt_prog_compiler_pic
='-KPIC'
6922 lt_prog_compiler_static
='-Bstatic'
6923 case $cc_basename in
6925 lt_prog_compiler_wl
='-Qoption ld ';;
6927 lt_prog_compiler_wl
='-Wl,';;
6932 lt_prog_compiler_wl
='-Qoption ld '
6933 lt_prog_compiler_pic
='-PIC'
6934 lt_prog_compiler_static
='-Bstatic'
6937 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6938 lt_prog_compiler_wl
='-Wl,'
6939 lt_prog_compiler_pic
='-KPIC'
6940 lt_prog_compiler_static
='-Bstatic'
6944 if test -d /usr
/nec
;then
6945 lt_prog_compiler_pic
='-Kconform_pic'
6946 lt_prog_compiler_static
='-Bstatic'
6950 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6951 lt_prog_compiler_wl
='-Wl,'
6952 lt_prog_compiler_pic
='-KPIC'
6953 lt_prog_compiler_static
='-Bstatic'
6957 lt_prog_compiler_wl
='-Wl,'
6958 lt_prog_compiler_can_build_shared
=no
6962 lt_prog_compiler_pic
='-pic'
6963 lt_prog_compiler_static
='-Bstatic'
6967 lt_prog_compiler_can_build_shared
=no
6973 # For platforms which do not support PIC, -DPIC is meaningless:
6975 lt_prog_compiler_pic
=
6978 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6982 $as_echo "$lt_prog_compiler_pic" >&6; }
6990 # Check to make sure the PIC flag actually works.
6992 if test -n "$lt_prog_compiler_pic"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6994 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
6995 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
6996 $as_echo_n "(cached) " >&6
6998 lt_cv_prog_compiler_pic_works
=no
6999 ac_outfile
=conftest.
$ac_objext
7000 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7001 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7002 # Insert the option either (1) after the last *FLAGS variable, or
7003 # (2) before a word containing "conftest.", or (3) at the end.
7004 # Note that $ac_compile itself does not contain backslashes and begins
7005 # with a dollar sign (not a hyphen), so the echo should work correctly.
7006 # The option is referenced via a variable to avoid confusing sed.
7007 lt_compile
=`echo "$ac_compile" | $SED \
7008 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7010 -e 's:$: $lt_compiler_flag:'`
7011 (eval echo "\"\$as_me:7011: $lt_compile\"" >&5)
7012 (eval "$lt_compile" 2>conftest.err
)
7014 cat conftest.err
>&5
7015 echo "$as_me:7015: \$? = $ac_status" >&5
7016 if (exit $ac_status) && test -s "$ac_outfile"; then
7017 # The compiler can only warn and ignore the option if not recognized
7018 # So say no if there are warnings other than the usual output.
7019 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7020 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7021 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7022 lt_cv_prog_compiler_pic_works
=yes
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7029 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7031 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7032 case $lt_prog_compiler_pic in
7034 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7037 lt_prog_compiler_pic
=
7038 lt_prog_compiler_can_build_shared
=no
7049 # Check to make sure the static flag actually works.
7051 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7053 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7054 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7055 $as_echo_n "(cached) " >&6
7057 lt_cv_prog_compiler_static_works
=no
7058 save_LDFLAGS
="$LDFLAGS"
7059 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7060 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7061 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7062 # The linker can only warn and ignore the option if not recognized
7063 # So say no if there are warnings
7064 if test -s conftest.err
; then
7065 # Append any errors to the config.log.
7066 cat conftest.err
1>&5
7067 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7068 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7069 if diff conftest.exp conftest.er2
>/dev
/null
; then
7070 lt_cv_prog_compiler_static_works
=yes
7073 lt_cv_prog_compiler_static_works
=yes
7077 LDFLAGS
="$save_LDFLAGS"
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7081 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7083 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7086 lt_prog_compiler_static
=
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7096 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7097 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7098 $as_echo_n "(cached) " >&6
7100 lt_cv_prog_compiler_c_o
=no
7101 $RM -r conftest
2>/dev
/null
7105 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7107 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7108 # Insert the option either (1) after the last *FLAGS variable, or
7109 # (2) before a word containing "conftest.", or (3) at the end.
7110 # Note that $ac_compile itself does not contain backslashes and begins
7111 # with a dollar sign (not a hyphen), so the echo should work correctly.
7112 lt_compile
=`echo "$ac_compile" | $SED \
7113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7115 -e 's:$: $lt_compiler_flag:'`
7116 (eval echo "\"\$as_me:7116: $lt_compile\"" >&5)
7117 (eval "$lt_compile" 2>out
/conftest.err
)
7119 cat out
/conftest.err
>&5
7120 echo "$as_me:7120: \$? = $ac_status" >&5
7121 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7123 # The compiler can only warn and ignore the option if not recognized
7124 # So say no if there are warnings
7125 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7126 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7127 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7128 lt_cv_prog_compiler_c_o
=yes
7133 # SGI C++ compiler will create directory out/ii_files/ for
7134 # template instantiation
7135 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7136 $RM out
/* && rmdir out
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7143 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7151 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7152 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7153 $as_echo_n "(cached) " >&6
7155 lt_cv_prog_compiler_c_o
=no
7156 $RM -r conftest
2>/dev
/null
7160 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7162 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7163 # Insert the option either (1) after the last *FLAGS variable, or
7164 # (2) before a word containing "conftest.", or (3) at the end.
7165 # Note that $ac_compile itself does not contain backslashes and begins
7166 # with a dollar sign (not a hyphen), so the echo should work correctly.
7167 lt_compile
=`echo "$ac_compile" | $SED \
7168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7170 -e 's:$: $lt_compiler_flag:'`
7171 (eval echo "\"\$as_me:7171: $lt_compile\"" >&5)
7172 (eval "$lt_compile" 2>out
/conftest.err
)
7174 cat out
/conftest.err
>&5
7175 echo "$as_me:7175: \$? = $ac_status" >&5
7176 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7178 # The compiler can only warn and ignore the option if not recognized
7179 # So say no if there are warnings
7180 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7181 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7182 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7183 lt_cv_prog_compiler_c_o
=yes
7188 # SGI C++ compiler will create directory out/ii_files/ for
7189 # template instantiation
7190 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7191 $RM out
/* && rmdir out
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7198 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7203 hard_links
="nottested"
7204 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7205 # do not overwrite the value of need_locks provided by the user
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7207 $as_echo_n "checking if we can lock with hard links... " >&6; }
7210 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7212 ln conftest.a conftest.b
2>&5 || hard_links
=no
7213 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7215 $as_echo "$hard_links" >&6; }
7216 if test "$hard_links" = no
; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7218 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7231 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7234 allow_undefined_flag
=
7235 always_export_symbols
=no
7237 archive_expsym_cmds
=
7238 compiler_needs_object
=no
7239 enable_shared_with_static_runtimes
=no
7240 export_dynamic_flag_spec
=
7241 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7242 hardcode_automatic
=no
7244 hardcode_direct_absolute
=no
7245 hardcode_libdir_flag_spec
=
7246 hardcode_libdir_flag_spec_ld
=
7247 hardcode_libdir_separator
=
7249 hardcode_shlibpath_var
=unsupported
7251 link_all_deplibs
=unknown
7254 old_archive_from_new_cmds
=
7255 old_archive_from_expsyms_cmds
=
7256 thread_safe_flag_spec
=
7257 whole_archive_flag_spec
=
7258 # include_expsyms should be a list of space-separated symbols to be *always*
7259 # included in the symbol list
7261 # exclude_expsyms can be an extended regexp of symbols to exclude
7262 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7263 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7264 # as well as any symbol that contains `d'.
7265 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7266 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7267 # platforms (ab)use it in PIC code, but their linkers get confused if
7268 # the symbol is explicitly referenced. Since portable code cannot
7269 # rely on this symbol name, it's probably fine to never include it in
7270 # preloaded symbol tables.
7271 # Exclude shared library initialization/finalization symbols.
7272 extract_expsyms_cmds
=
7275 cygwin
* | mingw
* | pw32
* | cegcc
*)
7276 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7277 # When not using gcc, we currently assume that we are using
7278 # Microsoft Visual C++.
7279 if test "$GCC" != yes; then
7284 # we just hope/assume this is gcc and not c89 (= MSVC++)
7293 if test "$with_gnu_ld" = yes; then
7294 # If archive_cmds runs LD, not CC, wlarc should be empty
7297 # Set some defaults for GNU ld with shared library support. These
7298 # are reset later if shared libraries are not supported. Putting them
7299 # here allows them to be overridden if necessary.
7300 runpath_var
=LD_RUN_PATH
7301 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7302 export_dynamic_flag_spec
='${wl}--export-dynamic'
7303 # ancient GNU ld didn't support --whole-archive et. al.
7304 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7305 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7307 whole_archive_flag_spec
=
7309 supports_anon_versioning
=no
7310 case `$LD -v 2>&1` in
7311 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7312 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7313 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7314 *\
2.11.
*) ;; # other 2.11 versions
7315 *) supports_anon_versioning
=yes ;;
7318 # See if GNU ld supports shared libraries.
7321 # On AIX/PPC, the GNU linker is very broken
7322 if test "$host_cpu" != ia64
; then
7326 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7327 *** to be unable to reliably create shared libraries on AIX.
7328 *** Therefore, libtool is disabling shared libraries support. If you
7329 *** really care for shared libraries, you may want to modify your PATH
7330 *** so that a non-GNU linker is found, and then restart.
7339 # see comment about AmigaOS4 .so support
7340 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7341 archive_expsym_cmds
=''
7344 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)'
7345 hardcode_libdir_flag_spec
='-L$libdir'
7346 hardcode_minus_L
=yes
7352 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7353 allow_undefined_flag
=unsupported
7354 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7355 # support --undefined. This deserves some investigation. FIXME
7356 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7362 cygwin
* | mingw
* | pw32
* | cegcc
*)
7363 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7364 # as there is no search path for DLLs.
7365 hardcode_libdir_flag_spec
='-L$libdir'
7366 allow_undefined_flag
=unsupported
7367 always_export_symbols
=no
7368 enable_shared_with_static_runtimes
=yes
7369 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7371 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7372 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7373 # If the export-symbols file already is a .def file (1st line
7374 # is EXPORTS), use it as is; otherwise, prepend...
7375 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7376 cp $export_symbols $output_objdir/$soname.def;
7378 echo EXPORTS > $output_objdir/$soname.def;
7379 cat $export_symbols >> $output_objdir/$soname.def;
7381 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7389 hardcode_shlibpath_var
=no
7390 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7391 export_dynamic_flag_spec
='${wl}-E'
7392 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7393 # Instead, shared libraries are loaded at an image base (0x10000000 by
7394 # default) and relocated if they conflict, which is a slow very memory
7395 # consuming and fragmenting process. To avoid this, we pick a random,
7396 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7397 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7398 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7399 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'
7402 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7404 if test "$host_os" = linux-dietlibc
; then
7405 case $cc_basename in
7406 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7409 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7410 && test "$tmp_diet" = no
7413 tmp_sharedflag
='-shared'
7414 case $cc_basename,$host_cpu in
7415 pgcc
*) # Portland Group C compiler
7416 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'
7417 tmp_addflag
=' $pic_flag'
7419 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7420 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'
7421 tmp_addflag
=' $pic_flag -Mnomain' ;;
7422 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7423 tmp_addflag
=' -i_dynamic' ;;
7424 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7425 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7426 ifc
* | ifort
*) # Intel Fortran compiler
7427 tmp_addflag
=' -nofor_main' ;;
7428 lf95
*) # Lahey Fortran 8.1
7429 whole_archive_flag_spec
=
7430 tmp_sharedflag
='--shared' ;;
7431 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7432 tmp_sharedflag
='-qmkshrobj'
7435 case `$CC -V 2>&1 | sed 5q` in
7436 *Sun\ C
*) # Sun C 5.9
7437 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'
7438 compiler_needs_object
=yes
7439 tmp_sharedflag
='-G' ;;
7440 *Sun\ F
*) # Sun Fortran 8.3
7441 tmp_sharedflag
='-G' ;;
7443 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7445 if test "x$supports_anon_versioning" = xyes
; then
7446 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7447 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7448 echo "local: *; };" >> $output_objdir/$libname.ver~
7449 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7452 case $cc_basename in
7454 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7455 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7456 hardcode_libdir_flag_spec
=
7457 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7458 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7459 if test "x$supports_anon_versioning" = xyes
; then
7460 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7462 echo "local: *; };" >> $output_objdir/$libname.ver~
7463 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7473 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7474 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7477 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7478 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7483 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7487 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7488 *** create shared libraries on Solaris systems. Therefore, libtool
7489 *** is disabling shared libraries support. We urge you to upgrade GNU
7490 *** binutils to release 2.9.1 or newer. Another option is to modify
7491 *** your PATH or compiler configuration so that the native linker is
7492 *** used, and then restart.
7495 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7497 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7503 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7504 case `$LD -v 2>&1` in
7505 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7509 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7510 *** reliably create shared libraries on SCO systems. Therefore, libtool
7511 *** is disabling shared libraries support. We urge you to upgrade GNU
7512 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7513 *** your PATH or compiler configuration so that the native linker is
7514 *** used, and then restart.
7519 # For security reasons, it is highly recommended that you always
7520 # use absolute paths for naming shared libraries, and exclude the
7521 # DT_RUNPATH tag from executables and libraries. But doing so
7522 # requires that you compile everything twice, which is a pain.
7523 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7524 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7525 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7526 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7535 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7538 hardcode_shlibpath_var
=no
7542 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7543 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7544 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7551 if test "$ld_shlibs" = no
; then
7553 hardcode_libdir_flag_spec
=
7554 export_dynamic_flag_spec
=
7555 whole_archive_flag_spec
=
7558 # PORTME fill in a description of your system's linker (not GNU ld)
7561 allow_undefined_flag
=unsupported
7562 always_export_symbols
=yes
7563 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'
7564 # Note: this linker hardcodes the directories in LIBPATH if there
7565 # are no directories specified by -L.
7566 hardcode_minus_L
=yes
7567 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7568 # Neither direct hardcoding nor static linking is supported with a
7570 hardcode_direct
=unsupported
7575 if test "$host_cpu" = ia64
; then
7576 # On IA64, the linker does run time linking by default, so we don't
7577 # have to do anything special.
7578 aix_use_runtimelinking
=no
7579 exp_sym_flag
='-Bexport'
7582 # If we're using GNU nm, then we don't want the "-C" option.
7583 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7584 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7585 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'
7587 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'
7589 aix_use_runtimelinking
=no
7591 # Test if we are trying to use run time linking or normal
7592 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7593 # need to do runtime linking.
7594 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7595 for ld_flag
in $LDFLAGS; do
7596 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7597 aix_use_runtimelinking
=yes
7604 exp_sym_flag
='-bexport'
7605 no_entry_flag
='-bnoentry'
7608 # When large executables or shared objects are built, AIX ld can
7609 # have problems creating the table of contents. If linking a library
7610 # or program results in "error TOC overflow" add -mminimal-toc to
7611 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7612 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7616 hardcode_direct_absolute
=yes
7617 hardcode_libdir_separator
=':'
7618 link_all_deplibs
=yes
7619 file_list_spec
='${wl}-f,'
7621 if test "$GCC" = yes; then
7622 case $host_os in aix4.
[012]|aix4.
[012].
*)
7623 # We only want to do this on AIX 4.2 and lower, the check
7624 # below for broken collect2 doesn't work under 4.3+
7625 collect2name
=`${CC} -print-prog-name=collect2`
7626 if test -f "$collect2name" &&
7627 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7629 # We have reworked collect2
7632 # We have old collect2
7633 hardcode_direct
=unsupported
7634 # It fails to find uninstalled libraries when the uninstalled
7635 # path is not listed in the libpath. Setting hardcode_minus_L
7636 # to unsupported forces relinking
7637 hardcode_minus_L
=yes
7638 hardcode_libdir_flag_spec
='-L$libdir'
7639 hardcode_libdir_separator
=
7643 shared_flag
='-shared'
7644 if test "$aix_use_runtimelinking" = yes; then
7645 shared_flag
="$shared_flag "'${wl}-G'
7649 if test "$host_cpu" = ia64
; then
7650 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7651 # chokes on -Wl,-G. The following line is correct:
7654 if test "$aix_use_runtimelinking" = yes; then
7655 shared_flag
='${wl}-G'
7657 shared_flag
='${wl}-bM:SRE'
7662 export_dynamic_flag_spec
='${wl}-bexpall'
7663 # It seems that -bexpall does not export symbols beginning with
7664 # underscore (_), so it is better to generate a list of symbols to export.
7665 always_export_symbols
=yes
7666 if test "$aix_use_runtimelinking" = yes; then
7667 # Warning - without using the other runtime loading flags (-brtl),
7668 # -berok will link without error, but may produce a broken library.
7669 allow_undefined_flag
='-berok'
7670 # Determine the default libpath from the value encoded in an
7672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7683 if ac_fn_c_try_link
"$LINENO"; then :
7685 lt_aix_libpath_sed
='
7686 /Import File Strings/,/^$/ {
7692 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7693 # Check for a 64-bit object if we didn't find anything.
7694 if test -z "$aix_libpath"; then
7695 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7698 rm -f core conftest.err conftest.
$ac_objext \
7699 conftest
$ac_exeext conftest.
$ac_ext
7700 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7702 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7703 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"
7705 if test "$host_cpu" = ia64
; then
7706 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7707 allow_undefined_flag
="-z nodefs"
7708 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"
7710 # Determine the default libpath from the value encoded in an
7712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7713 /* end confdefs.h. */
7723 if ac_fn_c_try_link
"$LINENO"; then :
7725 lt_aix_libpath_sed
='
7726 /Import File Strings/,/^$/ {
7732 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7733 # Check for a 64-bit object if we didn't find anything.
7734 if test -z "$aix_libpath"; then
7735 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7738 rm -f core conftest.err conftest.
$ac_objext \
7739 conftest
$ac_exeext conftest.
$ac_ext
7740 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7742 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7743 # Warning - without using the other run time loading flags,
7744 # -berok will link without error, but may produce a broken library.
7745 no_undefined_flag
=' ${wl}-bernotok'
7746 allow_undefined_flag
=' ${wl}-berok'
7747 # Exported symbols can be pulled into shared objects from archives
7748 whole_archive_flag_spec
='$convenience'
7749 archive_cmds_need_lc
=yes
7750 # This is similar to how AIX traditionally builds its shared libraries.
7751 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'
7759 # see comment about AmigaOS4 .so support
7760 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7761 archive_expsym_cmds
=''
7764 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)'
7765 hardcode_libdir_flag_spec
='-L$libdir'
7766 hardcode_minus_L
=yes
7772 export_dynamic_flag_spec
=-rdynamic
7775 cygwin
* | mingw
* | pw32
* | cegcc
*)
7776 # When not using gcc, we currently assume that we are using
7777 # Microsoft Visual C++.
7778 # hardcode_libdir_flag_spec is actually meaningless, as there is
7779 # no search path for DLLs.
7780 hardcode_libdir_flag_spec
=' '
7781 allow_undefined_flag
=unsupported
7782 # Tell ltmain to make .lib files, not .a files.
7784 # Tell ltmain to make .dll files, not .so files.
7786 # FIXME: Setting linknames here is a bad hack.
7787 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7788 # The linker will automatically build a .lib file if we build a DLL.
7789 old_archive_from_new_cmds
='true'
7790 # FIXME: Should let the user specify the lib program.
7791 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7792 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7793 enable_shared_with_static_runtimes
=yes
7796 darwin
* | rhapsody
*)
7799 archive_cmds_need_lc
=no
7801 hardcode_automatic
=yes
7802 hardcode_shlibpath_var
=unsupported
7803 whole_archive_flag_spec
=''
7804 link_all_deplibs
=yes
7805 allow_undefined_flag
="$_lt_dar_allow_undefined"
7806 case $cc_basename in
7807 ifort
*) _lt_dar_can_shared
=yes ;;
7808 *) _lt_dar_can_shared
=$GCC ;;
7810 if test "$_lt_dar_can_shared" = "yes"; then
7811 output_verbose_link_cmd
=echo
7812 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7813 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7814 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}"
7815 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}"
7824 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7825 hardcode_libdir_flag_spec
='-L$libdir'
7826 hardcode_shlibpath_var
=no
7833 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7834 # support. Future versions do this automatically, but an explicit c++rt0.o
7835 # does not break anything, and helps significantly (at the cost of a little
7838 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7839 hardcode_libdir_flag_spec
='-R$libdir'
7841 hardcode_shlibpath_var
=no
7844 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7846 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7848 hardcode_minus_L
=yes
7849 hardcode_shlibpath_var
=no
7852 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7853 freebsd
* | dragonfly
*)
7854 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7855 hardcode_libdir_flag_spec
='-R$libdir'
7857 hardcode_shlibpath_var
=no
7861 if test "$GCC" = yes; then
7862 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'
7864 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'
7866 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7867 hardcode_libdir_separator
=:
7870 # hardcode_minus_L: Not really in the search PATH,
7871 # but as the default location of the library.
7872 hardcode_minus_L
=yes
7873 export_dynamic_flag_spec
='${wl}-E'
7877 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7878 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7880 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7882 if test "$with_gnu_ld" = no
; then
7883 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7884 hardcode_libdir_flag_spec_ld
='+b $libdir'
7885 hardcode_libdir_separator
=:
7887 hardcode_direct_absolute
=yes
7888 export_dynamic_flag_spec
='${wl}-E'
7889 # hardcode_minus_L: Not really in the search PATH,
7890 # but as the default location of the library.
7891 hardcode_minus_L
=yes
7896 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7899 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7902 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7905 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7911 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7914 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7917 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7921 if test "$with_gnu_ld" = no
; then
7922 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7923 hardcode_libdir_separator
=:
7928 hardcode_shlibpath_var
=no
7932 hardcode_direct_absolute
=yes
7933 export_dynamic_flag_spec
='${wl}-E'
7935 # hardcode_minus_L: Not really in the search PATH,
7936 # but as the default location of the library.
7937 hardcode_minus_L
=yes
7943 irix5
* | irix6
* | nonstopux
*)
7944 if test "$GCC" = yes; then
7945 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'
7946 # Try to use the -exported_symbol ld option, if it does not
7947 # work, assume that -exports_file does not work either and
7948 # implicitly export all symbols.
7949 save_LDFLAGS
="$LDFLAGS"
7950 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7952 /* end confdefs.h. */
7955 if ac_fn_c_try_link
"$LINENO"; then :
7956 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'
7959 rm -f core conftest.err conftest.
$ac_objext \
7960 conftest
$ac_exeext conftest.
$ac_ext
7961 LDFLAGS
="$save_LDFLAGS"
7963 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'
7964 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'
7966 archive_cmds_need_lc
='no'
7967 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7968 hardcode_libdir_separator
=:
7970 link_all_deplibs
=yes
7974 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7975 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7977 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7979 hardcode_libdir_flag_spec
='-R$libdir'
7981 hardcode_shlibpath_var
=no
7985 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7987 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7988 hardcode_libdir_separator
=:
7989 hardcode_shlibpath_var
=no
7996 if test -f /usr
/libexec
/ld.so
; then
7998 hardcode_shlibpath_var
=no
7999 hardcode_direct_absolute
=yes
8000 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8001 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8002 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8003 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8004 export_dynamic_flag_spec
='${wl}-E'
8007 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8008 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8009 hardcode_libdir_flag_spec
='-R$libdir'
8012 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8013 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8023 hardcode_libdir_flag_spec
='-L$libdir'
8024 hardcode_minus_L
=yes
8025 allow_undefined_flag
=unsupported
8026 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'
8027 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8031 if test "$GCC" = yes; then
8032 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8033 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'
8035 allow_undefined_flag
=' -expect_unresolved \*'
8036 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'
8038 archive_cmds_need_lc
='no'
8039 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8040 hardcode_libdir_separator
=:
8043 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8044 if test "$GCC" = yes; then
8045 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8046 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'
8047 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8049 allow_undefined_flag
=' -expect_unresolved \*'
8050 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'
8051 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~
8052 $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'
8054 # Both c and cxx compiler support -rpath directly
8055 hardcode_libdir_flag_spec
='-rpath $libdir'
8057 archive_cmds_need_lc
='no'
8058 hardcode_libdir_separator
=:
8062 no_undefined_flag
=' -z defs'
8063 if test "$GCC" = yes; then
8065 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8066 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8067 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8069 case `$CC -V 2>&1` in
8072 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8073 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8074 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8078 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8079 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8080 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8084 hardcode_libdir_flag_spec
='-R$libdir'
8085 hardcode_shlibpath_var
=no
8087 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8089 # The compiler driver will combine and reorder linker options,
8090 # but understands `-z linker_flag'. GCC discards it without `$wl',
8091 # but is careful enough not to reorder.
8092 # Supported since Solaris 2.6 (maybe 2.5.1?)
8093 if test "$GCC" = yes; then
8094 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8096 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8100 link_all_deplibs
=yes
8104 if test "x$host_vendor" = xsequent
; then
8105 # Use $CC to link under sequent, because it throws in some extra .o
8106 # files that make .init and .fini sections work.
8107 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8109 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8111 hardcode_libdir_flag_spec
='-L$libdir'
8113 hardcode_minus_L
=yes
8114 hardcode_shlibpath_var
=no
8118 case $host_vendor in
8120 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8121 hardcode_direct
=yes # is this really true???
8124 ## LD is ld it makes a PLAMLIB
8125 ## CC just makes a GrossModule.
8126 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8127 reload_cmds
='$CC -r -o $output$reload_objs'
8131 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8132 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8135 runpath_var
='LD_RUN_PATH'
8136 hardcode_shlibpath_var
=no
8140 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8141 hardcode_shlibpath_var
=no
8142 export_dynamic_flag_spec
='-Bexport'
8146 if test -d /usr
/nec
; then
8147 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8148 hardcode_shlibpath_var
=no
8149 runpath_var
=LD_RUN_PATH
8150 hardcode_runpath_var
=yes
8155 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8156 no_undefined_flag
='${wl}-z,text'
8157 archive_cmds_need_lc
=no
8158 hardcode_shlibpath_var
=no
8159 runpath_var
='LD_RUN_PATH'
8161 if test "$GCC" = yes; then
8162 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8163 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8165 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8166 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8170 sysv5
* | sco3.2v5
* | sco5v6
*)
8171 # Note: We can NOT use -z defs as we might desire, because we do not
8172 # link with -lc, and that would cause any symbols used from libc to
8173 # always be unresolved, which means just about no library would
8174 # ever link correctly. If we're not using GNU ld we use -z text
8175 # though, which does catch some bad symbols but isn't as heavy-handed
8177 no_undefined_flag
='${wl}-z,text'
8178 allow_undefined_flag
='${wl}-z,nodefs'
8179 archive_cmds_need_lc
=no
8180 hardcode_shlibpath_var
=no
8181 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8182 hardcode_libdir_separator
=':'
8183 link_all_deplibs
=yes
8184 export_dynamic_flag_spec
='${wl}-Bexport'
8185 runpath_var
='LD_RUN_PATH'
8187 if test "$GCC" = yes; then
8188 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8189 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8191 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8192 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8197 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8198 hardcode_libdir_flag_spec
='-L$libdir'
8199 hardcode_shlibpath_var
=no
8207 if test x
$host_vendor = xsni
; then
8209 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8210 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8217 $as_echo "$ld_shlibs" >&6; }
8218 test "$ld_shlibs" = no
&& can_build_shared
=no
8220 with_gnu_ld
=$with_gnu_ld
8237 # Do we need to explicitly link libc?
8239 case "x$archive_cmds_need_lc" in
8241 # Assume -lc should be added
8242 archive_cmds_need_lc
=yes
8244 if test "$enable_shared" = yes && test "$GCC" = yes; then
8245 case $archive_cmds in
8247 # FIXME: we may have to deal with multi-command sequences.
8250 # Test whether the compiler implicitly links with -lc since on some
8251 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8252 # to ld, don't add -lc before -lgcc.
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8254 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8256 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8259 (eval $ac_compile) 2>&5
8261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8262 test $ac_status = 0; } 2>conftest.err
; then
8265 libobjs
=conftest.
$ac_objext
8267 wl
=$lt_prog_compiler_wl
8268 pic_flag
=$lt_prog_compiler_pic
8274 lt_save_allow_undefined_flag
=$allow_undefined_flag
8275 allow_undefined_flag
=
8276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8277 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8280 test $ac_status = 0; }
8282 archive_cmds_need_lc
=no
8284 archive_cmds_need_lc
=yes
8286 allow_undefined_flag
=$lt_save_allow_undefined_flag
8288 cat conftest.err
1>&5
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8292 $as_echo "$archive_cmds_need_lc" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8456 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8458 if test "$GCC" = yes; then
8460 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8461 *) lt_awk_arg
="/^libraries:/" ;;
8463 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8464 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8465 # if the path contains ";" then we assume it to be the separator
8466 # otherwise default to the standard path separator (i.e. ":") - it is
8467 # assumed that no part of a normal pathname contains ";" but that should
8468 # okay in the real world where ";" in dirpaths is itself problematic.
8469 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8471 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8473 # Ok, now we have the path, separated by spaces, we can step through it
8474 # and add multilib dir if necessary.
8475 lt_tmp_lt_search_path_spec
=
8476 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8477 for lt_sys_path
in $lt_search_path_spec; do
8478 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8479 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8481 test -d "$lt_sys_path" && \
8482 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8485 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8486 BEGIN {RS=" "; FS="/|\n";} {
8489 for (lt_i = NF; lt_i > 0; lt_i--) {
8490 if ($lt_i != "" && $lt_i != ".") {
8491 if ($lt_i == "..") {
8494 if (lt_count == 0) {
8495 lt_foo="/" $lt_i lt_foo;
8502 if (lt_foo != "") { lt_freq[lt_foo]++; }
8503 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8505 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8507 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8510 libname_spec
='lib$name'
8518 shlibpath_overrides_runpath
=unknown
8520 dynamic_linker
="$host_os ld.so"
8521 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8522 need_lib_prefix
=unknown
8523 hardcode_into_libs
=no
8525 # when you set need_version to no, make sure it does not cause -set_version
8526 # flags to be left without arguments
8527 need_version
=unknown
8532 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8533 shlibpath_var
=LIBPATH
8535 # AIX 3 has no versioning support, so we append a major version to the name.
8536 soname_spec
='${libname}${release}${shared_ext}$major'
8543 hardcode_into_libs
=yes
8544 if test "$host_cpu" = ia64
; then
8545 # AIX 5 supports IA64
8546 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8547 shlibpath_var
=LD_LIBRARY_PATH
8549 # With GCC up to 2.95.x, collect2 would create an import file
8550 # for dependence libraries. The import file would start with
8551 # the line `#! .'. This would cause the generated library to
8552 # depend on `.', always an invalid library. This was fixed in
8553 # development snapshots of GCC prior to 3.0.
8555 aix4 | aix4.
[01] | aix4.
[01].
*)
8556 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8558 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8565 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8566 # soname into executable. Probably we can add versioning support to
8567 # collect2, so additional links can be useful in future.
8568 if test "$aix_use_runtimelinking" = yes; then
8569 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8570 # instead of lib<name>.a to let people know that these are not
8571 # typical AIX shared libraries.
8572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8574 # We preserve .a as extension for shared libraries through AIX4.2
8575 # and later when we are not doing run time linking.
8576 library_names_spec
='${libname}${release}.a $libname.a'
8577 soname_spec
='${libname}${release}${shared_ext}$major'
8579 shlibpath_var
=LIBPATH
8586 # Since July 2007 AmigaOS4 officially supports .so libraries.
8587 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8591 library_names_spec
='$libname.ixlibrary $libname.a'
8592 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8593 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'
8599 library_names_spec
='${libname}${shared_ext}'
8600 dynamic_linker
="$host_os ld.so"
8601 shlibpath_var
=LIBRARY_PATH
8607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8608 soname_spec
='${libname}${release}${shared_ext}$major'
8609 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8610 shlibpath_var
=LD_LIBRARY_PATH
8611 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8612 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8613 # the default ld.so.conf also contains /usr/contrib/lib and
8614 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8615 # libtool to hard-code these into programs
8618 cygwin
* | mingw
* | pw32
* | cegcc
*)
8619 version_type
=windows
8624 case $GCC,$host_os in
8625 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8626 library_names_spec
='$libname.dll.a'
8627 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8628 postinstall_cmds
='base_file=`basename \${file}`~
8629 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8630 dldir=$destdir/`dirname \$dlpath`~
8631 test -d \$dldir || mkdir -p \$dldir~
8632 $install_prog $dir/$dlname \$dldir/$dlname~
8633 chmod a+x \$dldir/$dlname~
8634 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8635 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8637 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8638 dlpath=$dir/\$dldll~
8640 shlibpath_overrides_runpath
=yes
8644 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8645 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8646 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8649 # MinGW DLLs use traditional 'lib' prefix
8650 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8651 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8652 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8653 # It is most probably a Windows format PATH printed by
8654 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8655 # path with ; separators, and with drive letters. We can handle the
8656 # drive letters (cygwin fileutils understands them), so leave them,
8657 # especially as we might pass files found there to a mingw objdump,
8658 # which wouldn't understand a cygwinified path. Ahh.
8659 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8661 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8665 # pw32 DLLs use 'pw' prefix rather than 'lib'
8666 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8672 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8675 dynamic_linker
='Win32 ld.exe'
8676 # FIXME: first we should search . and the directory the executable is in
8680 darwin
* | rhapsody
*)
8681 dynamic_linker
="$host_os dyld"
8685 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8686 soname_spec
='${libname}${release}${major}$shared_ext'
8687 shlibpath_overrides_runpath
=yes
8688 shlibpath_var
=DYLD_LIBRARY_PATH
8689 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8691 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8692 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8700 soname_spec
='${libname}${release}${shared_ext}$major'
8701 shlibpath_var
=LD_LIBRARY_PATH
8708 freebsd
* | dragonfly
*)
8709 # DragonFly does not have aout. When/if they implement a new
8710 # versioning mechanism, adjust this.
8711 if test -x /usr
/bin
/objformat
; then
8712 objformat
=`/usr/bin/objformat`
8715 freebsd
[123]*) objformat
=aout
;;
8719 # Handle Gentoo/FreeBSD as it was Linux
8720 case $host_vendor in
8722 version_type
=linux
;;
8724 version_type
=freebsd-
$objformat ;;
8727 case $version_type in
8729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8734 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8739 soname_spec
='${libname}${release}${shared_ext}$major'
8744 shlibpath_var
=LD_LIBRARY_PATH
8747 shlibpath_overrides_runpath
=yes
8749 freebsd3.
[01]* | freebsdelf3.
[01]*)
8750 shlibpath_overrides_runpath
=yes
8751 hardcode_into_libs
=yes
8753 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8754 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8755 shlibpath_overrides_runpath
=no
8756 hardcode_into_libs
=yes
8758 *) # from 4.6 on, and DragonFly
8759 shlibpath_overrides_runpath
=yes
8760 hardcode_into_libs
=yes
8769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8770 soname_spec
='${libname}${release}${shared_ext}$major'
8771 shlibpath_var
=LD_LIBRARY_PATH
8772 hardcode_into_libs
=yes
8775 hpux9
* | hpux10
* | hpux11
*)
8776 # Give a soname corresponding to the major version so that dld.sl refuses to
8777 # link against other versions.
8784 hardcode_into_libs
=yes
8785 dynamic_linker
="$host_os dld.so"
8786 shlibpath_var
=LD_LIBRARY_PATH
8787 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8789 soname_spec
='${libname}${release}${shared_ext}$major'
8790 if test "X$HPUX_IA64_MODE" = X32
; then
8791 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8793 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8795 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8799 hardcode_into_libs
=yes
8800 dynamic_linker
="$host_os dld.sl"
8801 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8802 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8804 soname_spec
='${libname}${release}${shared_ext}$major'
8805 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8806 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8810 dynamic_linker
="$host_os dld.sl"
8811 shlibpath_var
=SHLIB_PATH
8812 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8814 soname_spec
='${libname}${release}${shared_ext}$major'
8817 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8818 postinstall_cmds
='chmod 555 $lib'
8825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8826 soname_spec
='${libname}${release}${shared_ext}$major'
8827 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8828 shlibpath_var
=LD_LIBRARY_PATH
8829 shlibpath_overrides_runpath
=no
8830 hardcode_into_libs
=yes
8833 irix5
* | irix6
* | nonstopux
*)
8835 nonstopux
*) version_type
=nonstopux
;;
8837 if test "$lt_cv_prog_gnu_ld" = yes; then
8845 soname_spec
='${libname}${release}${shared_ext}$major'
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8848 irix5
* | nonstopux
*)
8852 case $LD in # libtool.m4 will add one of these switches to LD
8853 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8854 libsuff
= shlibsuff
= libmagic
=32-bit;;
8855 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8856 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8857 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8858 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8859 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8863 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8864 shlibpath_overrides_runpath
=no
8865 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8866 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8867 hardcode_into_libs
=yes
8870 # No shared lib support for Linux oldld, aout, or coff.
8871 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8875 # This must be Linux ELF.
8876 linux
* | k
*bsd
*-gnu)
8880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8881 soname_spec
='${libname}${release}${shared_ext}$major'
8882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8883 shlibpath_var
=LD_LIBRARY_PATH
8884 shlibpath_overrides_runpath
=no
8885 # Some binutils ld are patched to set DT_RUNPATH
8886 save_LDFLAGS
=$LDFLAGS
8888 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8889 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8901 if ac_fn_c_try_link
"$LINENO"; then :
8902 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
8903 shlibpath_overrides_runpath
=yes
8906 rm -f core conftest.err conftest.
$ac_objext \
8907 conftest
$ac_exeext conftest.
$ac_ext
8908 LDFLAGS
=$save_LDFLAGS
8911 # This implies no fast_install, which is unacceptable.
8912 # Some rework will be needed to allow for fast_install
8913 # before this can be enabled.
8914 hardcode_into_libs
=yes
8916 # Append ld.so.conf contents to the search path
8917 if test -f /etc
/ld.so.conf
; then
8918 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' ' '`
8919 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8922 # We used to test for /lib/ld.so.1 and disable shared libraries on
8923 # powerpc, because MkLinux only supported shared libraries with the
8924 # GNU dynamic linker. Since this was broken with cross compilers,
8925 # most powerpc-linux boxes support dynamic linking these days and
8926 # people can always --disable-shared, the test was removed, and we
8927 # assume the GNU/Linux dynamic linker is in use.
8928 dynamic_linker
='GNU/Linux ld.so'
8935 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8937 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8938 dynamic_linker
='NetBSD (a.out) ld.so'
8940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8941 soname_spec
='${libname}${release}${shared_ext}$major'
8942 dynamic_linker
='NetBSD ld.elf_so'
8944 shlibpath_var
=LD_LIBRARY_PATH
8945 shlibpath_overrides_runpath
=yes
8946 hardcode_into_libs
=yes
8951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8952 shlibpath_var
=LD_LIBRARY_PATH
8953 shlibpath_overrides_runpath
=yes
8960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8961 soname_spec
='${libname}${release}${shared_ext}$major'
8962 shlibpath_var
=LD_LIBRARY_PATH
8963 shlibpath_overrides_runpath
=no
8964 hardcode_into_libs
=yes
8965 dynamic_linker
='ldqnx.so'
8970 sys_lib_dlsearch_path_spec
="/usr/lib"
8972 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8974 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8975 *) need_version
=no
;;
8977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8978 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8979 shlibpath_var
=LD_LIBRARY_PATH
8980 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8982 openbsd2.
[89] | openbsd2.
[89].
*)
8983 shlibpath_overrides_runpath
=no
8986 shlibpath_overrides_runpath
=yes
8990 shlibpath_overrides_runpath
=yes
8995 libname_spec
='$name'
8998 library_names_spec
='$libname${shared_ext} $libname.a'
8999 dynamic_linker
='OS/2 ld.exe'
9000 shlibpath_var
=LIBPATH
9003 osf3
* | osf4
* | osf5
*)
9007 soname_spec
='${libname}${release}${shared_ext}$major'
9008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9009 shlibpath_var
=LD_LIBRARY_PATH
9010 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9011 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9023 soname_spec
='${libname}${release}${shared_ext}$major'
9024 shlibpath_var
=LD_LIBRARY_PATH
9025 shlibpath_overrides_runpath
=yes
9026 hardcode_into_libs
=yes
9027 # ldd complains unless libraries are executable
9028 postinstall_cmds
='chmod +x $lib'
9033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9034 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9035 shlibpath_var
=LD_LIBRARY_PATH
9036 shlibpath_overrides_runpath
=yes
9037 if test "$with_gnu_ld" = yes; then
9045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9046 soname_spec
='${libname}${release}${shared_ext}$major'
9047 shlibpath_var
=LD_LIBRARY_PATH
9048 case $host_vendor in
9050 shlibpath_overrides_runpath
=no
9052 runpath_var
=LD_RUN_PATH
9060 shlibpath_overrides_runpath
=no
9061 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9067 if test -d /usr
/nec
;then
9069 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9070 soname_spec
='$libname${shared_ext}.$major'
9071 shlibpath_var
=LD_LIBRARY_PATH
9075 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9076 version_type
=freebsd-elf
9079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9080 soname_spec
='${libname}${release}${shared_ext}$major'
9081 shlibpath_var
=LD_LIBRARY_PATH
9082 shlibpath_overrides_runpath
=yes
9083 hardcode_into_libs
=yes
9084 if test "$with_gnu_ld" = yes; then
9085 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9087 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9090 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9094 sys_lib_dlsearch_path_spec
='/usr/lib'
9098 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9103 shlibpath_var
=LD_LIBRARY_PATH
9104 shlibpath_overrides_runpath
=no
9105 hardcode_into_libs
=yes
9110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9111 soname_spec
='${libname}${release}${shared_ext}$major'
9112 shlibpath_var
=LD_LIBRARY_PATH
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9120 $as_echo "$dynamic_linker" >&6; }
9121 test "$dynamic_linker" = no
&& can_build_shared
=no
9123 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9124 if test "$GCC" = yes; then
9125 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9128 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9129 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9131 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9132 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9222 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9224 if test -n "$hardcode_libdir_flag_spec" ||
9225 test -n "$runpath_var" ||
9226 test "X$hardcode_automatic" = "Xyes" ; then
9228 # We can hardcode non-existent directories.
9229 if test "$hardcode_direct" != no
&&
9230 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9231 # have to relink, otherwise we might link with an installed library
9232 # when we should be linking with a yet-to-be-installed one
9233 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9234 test "$hardcode_minus_L" != no
; then
9235 # Linking always hardcodes the temporary library directory.
9236 hardcode_action
=relink
9238 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9239 hardcode_action
=immediate
9242 # We cannot hardcode anything, or else we can only hardcode existing
9244 hardcode_action
=unsupported
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9247 $as_echo "$hardcode_action" >&6; }
9249 if test "$hardcode_action" = relink ||
9250 test "$inherit_rpath" = yes; then
9251 # Fast installation is not supported
9252 enable_fast_install
=no
9253 elif test "$shlibpath_overrides_runpath" = yes ||
9254 test "$enable_shared" = no
; then
9255 # Fast installation is not necessary
9256 enable_fast_install
=needless
9264 if test "x$enable_dlopen" != xyes
; then
9265 enable_dlopen
=unknown
9266 enable_dlopen_self
=unknown
9267 enable_dlopen_self_static
=unknown
9274 lt_cv_dlopen
="load_add_on"
9276 lt_cv_dlopen_self
=yes
9279 mingw
* | pw32
* | cegcc
*)
9280 lt_cv_dlopen
="LoadLibrary"
9285 lt_cv_dlopen
="dlopen"
9290 # if libdl is installed we need to link against it
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9292 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9293 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 ac_check_lib_save_LIBS
=$LIBS
9298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9316 if ac_fn_c_try_link
"$LINENO"; then :
9317 ac_cv_lib_dl_dlopen
=yes
9319 ac_cv_lib_dl_dlopen
=no
9321 rm -f core conftest.err conftest.
$ac_objext \
9322 conftest
$ac_exeext conftest.
$ac_ext
9323 LIBS
=$ac_check_lib_save_LIBS
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9326 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9327 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9328 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9333 lt_cv_dlopen_self
=yes
9340 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9341 if test "x$ac_cv_func_shl_load" = xyes
; then :
9342 lt_cv_dlopen
="shl_load"
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9345 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9346 if ${ac_cv_lib_dld_shl_load+:} false
; then :
9347 $as_echo_n "(cached) " >&6
9349 ac_check_lib_save_LIBS
=$LIBS
9351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9369 if ac_fn_c_try_link
"$LINENO"; then :
9370 ac_cv_lib_dld_shl_load
=yes
9372 ac_cv_lib_dld_shl_load
=no
9374 rm -f core conftest.err conftest.
$ac_objext \
9375 conftest
$ac_exeext conftest.
$ac_ext
9376 LIBS
=$ac_check_lib_save_LIBS
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9379 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9380 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
9381 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9383 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9384 if test "x$ac_cv_func_dlopen" = xyes
; then :
9385 lt_cv_dlopen
="dlopen"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9388 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9389 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9390 $as_echo_n "(cached) " >&6
9392 ac_check_lib_save_LIBS
=$LIBS
9394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9397 /* Override any GCC internal prototype to avoid an error.
9398 Use char because int might match the return type of a GCC
9399 builtin and then its argument prototype would still apply. */
9412 if ac_fn_c_try_link
"$LINENO"; then :
9413 ac_cv_lib_dl_dlopen
=yes
9415 ac_cv_lib_dl_dlopen
=no
9417 rm -f core conftest.err conftest.
$ac_objext \
9418 conftest
$ac_exeext conftest.
$ac_ext
9419 LIBS
=$ac_check_lib_save_LIBS
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9422 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9423 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9424 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9427 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9428 if ${ac_cv_lib_svld_dlopen+:} false
; then :
9429 $as_echo_n "(cached) " >&6
9431 ac_check_lib_save_LIBS
=$LIBS
9433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9451 if ac_fn_c_try_link
"$LINENO"; then :
9452 ac_cv_lib_svld_dlopen
=yes
9454 ac_cv_lib_svld_dlopen
=no
9456 rm -f core conftest.err conftest.
$ac_objext \
9457 conftest
$ac_exeext conftest.
$ac_ext
9458 LIBS
=$ac_check_lib_save_LIBS
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9461 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9462 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
9463 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9466 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9467 if ${ac_cv_lib_dld_dld_link+:} false
; then :
9468 $as_echo_n "(cached) " >&6
9470 ac_check_lib_save_LIBS
=$LIBS
9472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9490 if ac_fn_c_try_link
"$LINENO"; then :
9491 ac_cv_lib_dld_dld_link
=yes
9493 ac_cv_lib_dld_dld_link
=no
9495 rm -f core conftest.err conftest.
$ac_objext \
9496 conftest
$ac_exeext conftest.
$ac_ext
9497 LIBS
=$ac_check_lib_save_LIBS
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9500 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9501 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
9502 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9523 if test "x$lt_cv_dlopen" != xno
; then
9529 case $lt_cv_dlopen in
9531 save_CPPFLAGS
="$CPPFLAGS"
9532 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9534 save_LDFLAGS
="$LDFLAGS"
9535 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9538 LIBS
="$lt_cv_dlopen_libs $LIBS"
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9541 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9542 if ${lt_cv_dlopen_self+:} false
; then :
9543 $as_echo_n "(cached) " >&6
9545 if test "$cross_compiling" = yes; then :
9546 lt_cv_dlopen_self
=cross
9548 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9549 lt_status
=$lt_dlunknown
9550 cat > conftest.
$ac_ext <<_LT_EOF
9551 #line 9551 "configure"
9552 #include "confdefs.h"
9561 # define LT_DLGLOBAL RTLD_GLOBAL
9564 # define LT_DLGLOBAL DL_GLOBAL
9566 # define LT_DLGLOBAL 0
9570 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9571 find out it does not work in some platform. */
9572 #ifndef LT_DLLAZY_OR_NOW
9574 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9577 # define LT_DLLAZY_OR_NOW DL_LAZY
9580 # define LT_DLLAZY_OR_NOW RTLD_NOW
9583 # define LT_DLLAZY_OR_NOW DL_NOW
9585 # define LT_DLLAZY_OR_NOW 0
9592 void fnord() { int i=42;}
9595 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9596 int status = $lt_dlunknown;
9600 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9601 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9602 /* dlclose (self); */
9610 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9611 (eval $ac_link) 2>&5
9613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9614 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9615 (.
/conftest
; exit; ) >&5 2>/dev
/null
9618 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9619 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9620 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9623 # compilation failed
9624 lt_cv_dlopen_self
=no
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9632 $as_echo "$lt_cv_dlopen_self" >&6; }
9634 if test "x$lt_cv_dlopen_self" = xyes
; then
9635 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9637 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9638 if ${lt_cv_dlopen_self_static+:} false
; then :
9639 $as_echo_n "(cached) " >&6
9641 if test "$cross_compiling" = yes; then :
9642 lt_cv_dlopen_self_static
=cross
9644 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9645 lt_status
=$lt_dlunknown
9646 cat > conftest.
$ac_ext <<_LT_EOF
9647 #line 9647 "configure"
9648 #include "confdefs.h"
9657 # define LT_DLGLOBAL RTLD_GLOBAL
9660 # define LT_DLGLOBAL DL_GLOBAL
9662 # define LT_DLGLOBAL 0
9666 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9667 find out it does not work in some platform. */
9668 #ifndef LT_DLLAZY_OR_NOW
9670 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9673 # define LT_DLLAZY_OR_NOW DL_LAZY
9676 # define LT_DLLAZY_OR_NOW RTLD_NOW
9679 # define LT_DLLAZY_OR_NOW DL_NOW
9681 # define LT_DLLAZY_OR_NOW 0
9688 void fnord() { int i=42;}
9691 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9692 int status = $lt_dlunknown;
9696 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9697 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9698 /* dlclose (self); */
9706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9707 (eval $ac_link) 2>&5
9709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9710 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9711 (.
/conftest
; exit; ) >&5 2>/dev
/null
9714 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9715 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9716 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9719 # compilation failed
9720 lt_cv_dlopen_self_static
=no
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9728 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9731 CPPFLAGS
="$save_CPPFLAGS"
9732 LDFLAGS
="$save_LDFLAGS"
9737 case $lt_cv_dlopen_self in
9738 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9739 *) enable_dlopen_self
=unknown
;;
9742 case $lt_cv_dlopen_self_static in
9743 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9744 *) enable_dlopen_self_static
=unknown
;;
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9767 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9768 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9769 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9770 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9772 $as_echo "yes" >&6; }
9774 # FIXME - insert some real tests, host_os isn't really good enough
9777 if test -n "$STRIP" ; then
9778 striplib
="$STRIP -x"
9779 old_striplib
="$STRIP -S"
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9781 $as_echo "yes" >&6; }
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9784 $as_echo "no" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9789 $as_echo "no" >&6; }
9805 # Report which library types will actually be built
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9807 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9809 $as_echo "$can_build_shared" >&6; }
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9812 $as_echo_n "checking whether to build shared libraries... " >&6; }
9813 test "$can_build_shared" = "no" && enable_shared
=no
9815 # On AIX, shared libraries and static libraries use the same namespace, and
9816 # are all built from PIC.
9819 test "$enable_shared" = yes && enable_static
=no
9820 if test -n "$RANLIB"; then
9821 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9822 postinstall_cmds
='$RANLIB $lib'
9827 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9828 test "$enable_shared" = yes && enable_static
=no
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9833 $as_echo "$enable_shared" >&6; }
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9836 $as_echo_n "checking whether to build static libraries... " >&6; }
9837 # Make sure either enable_shared or enable_static is yes.
9838 test "$enable_shared" = yes || enable_static
=yes
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9840 $as_echo "$enable_static" >&6; }
9847 ac_cpp
='$CPP $CPPFLAGS'
9848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9866 ac_config_commands
="$ac_config_commands libtool"
9874 # Find a good install program. We prefer a C program (faster),
9875 # so one script is as good as another. But avoid the broken or
9876 # incompatible versions:
9877 # SysV /etc/install, /usr/sbin/install
9878 # SunOS /usr/etc/install
9879 # IRIX /sbin/install
9881 # AmigaOS /C/install, which installs bootblocks on floppy discs
9882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9885 # OS/2's system install, which has a completely different semantic
9886 # ./install, which can be erroneously created by make from ./install.sh.
9887 # Reject install programs that cannot install multiple files.
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9889 $as_echo_n "checking for a BSD-compatible install... " >&6; }
9890 if test -z "$INSTALL"; then
9891 if ${ac_cv_path_install+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir
=.
9899 # Account for people who put trailing slashes in PATH elements.
9900 case $as_dir/ in #((
9901 .
/ | .
// |
/[cC
]/* | \
9902 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
9903 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
9906 # OSF1 and SCO ODT 3.0 have their own names for install.
9907 # Don't use installbsd from OSF since it installs stuff as root
9909 for ac_prog
in ginstall scoinst
install; do
9910 for ac_exec_ext
in '' $ac_executable_extensions; do
9911 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
9912 if test $ac_prog = install &&
9913 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9914 # AIX install. It has an incompatible calling convention.
9916 elif test $ac_prog = install &&
9917 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9918 # program-specific install script used by HP pwplus--don't use.
9921 rm -rf conftest.one conftest.two conftest.dir
9922 echo one
> conftest.one
9923 echo two
> conftest.two
9925 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
9926 test -s conftest.one
&& test -s conftest.two
&&
9927 test -s conftest.dir
/conftest.one
&&
9928 test -s conftest.dir
/conftest.two
9930 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
9943 rm -rf conftest.one conftest.two conftest.dir
9946 if test "${ac_cv_path_install+set}" = set; then
9947 INSTALL
=$ac_cv_path_install
9949 # As a last resort, use the slow shell script. Don't cache a
9950 # value for INSTALL within a source directory, because that will
9951 # break other packages using the cache if that directory is
9952 # removed, or if the value is a relative name.
9953 INSTALL
=$ac_install_sh
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9957 $as_echo "$INSTALL" >&6; }
9959 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9960 # It thinks the first close brace ends the variable substitution.
9961 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9963 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
9965 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9969 # Enable large file support (if special flags are necessary)
9971 # Check whether --enable-largefile was given.
9972 if test "${enable_largefile+set}" = set; then :
9973 enableval
=$enable_largefile;
9976 if test "$enable_largefile" != no
; then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
9979 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
9980 if ${ac_cv_sys_largefile_CC+:} false
; then :
9981 $as_echo_n "(cached) " >&6
9983 ac_cv_sys_largefile_CC
=no
9984 if test "$GCC" != yes; then
9987 # IRIX 6.2 and later do not support large files by default,
9988 # so use the C compiler's -n32 option if that helps.
9989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 #include <sys/types.h>
9992 /* Check that off_t can represent 2**63 - 1 correctly.
9993 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9994 since some C++ compilers masquerading as C compilers
9995 incorrectly reject 9223372036854775807. */
9996 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9997 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9998 && LARGE_OFF_T % 2147483647 == 1)
10008 if ac_fn_c_try_compile
"$LINENO"; then :
10011 rm -f core conftest.err conftest.
$ac_objext
10013 if ac_fn_c_try_compile
"$LINENO"; then :
10014 ac_cv_sys_largefile_CC
=' -n32'; break
10016 rm -f core conftest.err conftest.
$ac_objext
10020 rm -f conftest.
$ac_ext
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
10024 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10025 if test "$ac_cv_sys_largefile_CC" != no
; then
10026 CC
=$CC$ac_cv_sys_largefile_CC
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10030 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10031 if ${ac_cv_sys_file_offset_bits+:} false
; then :
10032 $as_echo_n "(cached) " >&6
10035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10037 #include <sys/types.h>
10038 /* Check that off_t can represent 2**63 - 1 correctly.
10039 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10040 since some C++ compilers masquerading as C compilers
10041 incorrectly reject 9223372036854775807. */
10042 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10043 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10044 && LARGE_OFF_T % 2147483647 == 1)
10054 if ac_fn_c_try_compile
"$LINENO"; then :
10055 ac_cv_sys_file_offset_bits
=no
; break
10057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10060 #define _FILE_OFFSET_BITS 64
10061 #include <sys/types.h>
10062 /* Check that off_t can represent 2**63 - 1 correctly.
10063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10064 since some C++ compilers masquerading as C compilers
10065 incorrectly reject 9223372036854775807. */
10066 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10068 && LARGE_OFF_T % 2147483647 == 1)
10078 if ac_fn_c_try_compile
"$LINENO"; then :
10079 ac_cv_sys_file_offset_bits
=64; break
10081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10082 ac_cv_sys_file_offset_bits
=unknown
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
10087 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10088 case $ac_cv_sys_file_offset_bits in #(
10091 cat >>confdefs.h
<<_ACEOF
10092 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10097 if test $ac_cv_sys_file_offset_bits = unknown
; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
10099 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10100 if ${ac_cv_sys_large_files+:} false
; then :
10101 $as_echo_n "(cached) " >&6
10104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106 #include <sys/types.h>
10107 /* Check that off_t can represent 2**63 - 1 correctly.
10108 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10109 since some C++ compilers masquerading as C compilers
10110 incorrectly reject 9223372036854775807. */
10111 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10112 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10113 && LARGE_OFF_T % 2147483647 == 1)
10123 if ac_fn_c_try_compile
"$LINENO"; then :
10124 ac_cv_sys_large_files
=no
; break
10126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 #define _LARGE_FILES 1
10130 #include <sys/types.h>
10131 /* Check that off_t can represent 2**63 - 1 correctly.
10132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10133 since some C++ compilers masquerading as C compilers
10134 incorrectly reject 9223372036854775807. */
10135 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10137 && LARGE_OFF_T % 2147483647 == 1)
10147 if ac_fn_c_try_compile
"$LINENO"; then :
10148 ac_cv_sys_large_files
=1; break
10150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10151 ac_cv_sys_large_files
=unknown
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
10156 $as_echo "$ac_cv_sys_large_files" >&6; }
10157 case $ac_cv_sys_large_files in #(
10160 cat >>confdefs.h
<<_ACEOF
10161 #define _LARGE_FILES $ac_cv_sys_large_files
10173 # Check for needed/wanted data types
10174 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
10175 if test "x$ac_cv_type_int8_t" = xyes
; then :
10177 cat >>confdefs.h
<<_ACEOF
10178 #define HAVE_INT8_T 1
10183 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
10184 if test "x$ac_cv_type_int16_t" = xyes
; then :
10186 cat >>confdefs.h
<<_ACEOF
10187 #define HAVE_INT16_T 1
10192 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
10193 if test "x$ac_cv_type_int32_t" = xyes
; then :
10195 cat >>confdefs.h
<<_ACEOF
10196 #define HAVE_INT32_T 1
10201 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
10202 if test "x$ac_cv_type_int64_t" = xyes
; then :
10204 cat >>confdefs.h
<<_ACEOF
10205 #define HAVE_INT64_T 1
10210 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
10211 if test "x$ac_cv_type_intptr_t" = xyes
; then :
10213 cat >>confdefs.h
<<_ACEOF
10214 #define HAVE_INTPTR_T 1
10219 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
10220 if test "x$ac_cv_type_uint8_t" = xyes
; then :
10222 cat >>confdefs.h
<<_ACEOF
10223 #define HAVE_UINT8_T 1
10228 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
10229 if test "x$ac_cv_type_uint16_t" = xyes
; then :
10231 cat >>confdefs.h
<<_ACEOF
10232 #define HAVE_UINT16_T 1
10237 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
10238 if test "x$ac_cv_type_uint32_t" = xyes
; then :
10240 cat >>confdefs.h
<<_ACEOF
10241 #define HAVE_UINT32_T 1
10246 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
10247 if test "x$ac_cv_type_uint64_t" = xyes
; then :
10249 cat >>confdefs.h
<<_ACEOF
10250 #define HAVE_UINT64_T 1
10255 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
10256 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
10258 cat >>confdefs.h
<<_ACEOF
10259 #define HAVE_UINTPTR_T 1
10267 # Check for needed/wanted headers
10268 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
10270 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10271 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10272 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10273 cat >>confdefs.h
<<_ACEOF
10274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10283 # Figure out whether or not we have these functions
10285 for ac_func
in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul
usleep utime pread pread64 pwrite pwrite64
10287 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10288 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10289 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10290 cat >>confdefs.h
<<_ACEOF
10291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10299 # By default, we use the amalgamation (this may be changed below...)
10304 # See whether we can run specific tclsh versions known to work well;
10305 # if not, then we fall back to plain tclsh.
10306 # TODO: try other versions before falling back?
10308 for ac_prog
in tclsh8.7 tclsh8.6 tclsh8.5 tclsh
10310 # Extract the first word of "$ac_prog", so it can be a program name with args.
10311 set dummy
$ac_prog; ac_word
=$2
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10313 $as_echo_n "checking for $ac_word... " >&6; }
10314 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
10315 $as_echo_n "(cached) " >&6
10317 if test -n "$TCLSH_CMD"; then
10318 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
10320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10321 for as_dir
in $PATH
10324 test -z "$as_dir" && as_dir
=.
10325 for ac_exec_ext
in '' $ac_executable_extensions; do
10326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10327 ac_cv_prog_TCLSH_CMD
="$ac_prog"
10328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
10338 if test -n "$TCLSH_CMD"; then
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
10340 $as_echo "$TCLSH_CMD" >&6; }
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 $as_echo "no" >&6; }
10347 test -n "$TCLSH_CMD" && break
10349 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
10351 if test "$TCLSH_CMD" = "none"; then
10352 # If we can't find a local tclsh, then building the amalgamation will fail.
10353 # We act as though --disable-amalgamation has been used.
10354 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
10361 if test "x${TCLLIBDIR+set}" != "xset" ; then
10362 TCLLIBDIR
='$(libdir)'
10363 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
10367 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
10372 # Set up an appropriate program prefix
10374 if test "$program_prefix" = "NONE"; then
10379 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
10381 $as_echo "$as_me: Version set to $VERSION" >&6;}
10383 RELEASE
=`cat $srcdir/VERSION`
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
10385 $as_echo "$as_me: Release set to $RELEASE" >&6;}
10387 VERSION_NUMBER
=`cat $srcdir/VERSION \
10388 | sed 's/[^0-9]/ /g' \
10389 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
10391 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
10395 # Locate a compiler for the build machine. This compiler should
10396 # generate command-line programs that run on the build machine.
10398 if test x
"$cross_compiling" = xno
; then
10400 BUILD_CFLAGS
=$CFLAGS
10402 if test "${BUILD_CC+set}" != set; then
10403 for ac_prog
in gcc cc cl
10405 # Extract the first word of "$ac_prog", so it can be a program name with args.
10406 set dummy
$ac_prog; ac_word
=$2
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10408 $as_echo_n "checking for $ac_word... " >&6; }
10409 if ${ac_cv_prog_BUILD_CC+:} false
; then :
10410 $as_echo_n "(cached) " >&6
10412 if test -n "$BUILD_CC"; then
10413 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
10415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10416 for as_dir
in $PATH
10419 test -z "$as_dir" && as_dir
=.
10420 for ac_exec_ext
in '' $ac_executable_extensions; do
10421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10422 ac_cv_prog_BUILD_CC
="$ac_prog"
10423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10432 BUILD_CC
=$ac_cv_prog_BUILD_CC
10433 if test -n "$BUILD_CC"; then
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10435 $as_echo "$BUILD_CC" >&6; }
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10438 $as_echo "no" >&6; }
10442 test -n "$BUILD_CC" && break
10446 if test "${BUILD_CFLAGS+set}" != set; then
10453 # Do we want to support multithreaded use of sqlite
10455 # Check whether --enable-threadsafe was given.
10456 if test "${enable_threadsafe+set}" = set; then :
10457 enableval
=$enable_threadsafe;
10459 enable_threadsafe
=yes
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
10463 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
10464 if test "$enable_threadsafe" = "no"; then
10465 SQLITE_THREADSAFE
=0
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467 $as_echo "no" >&6; }
10469 SQLITE_THREADSAFE
=1
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10471 $as_echo "yes" >&6; }
10475 if test "$SQLITE_THREADSAFE" = "1"; then
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
10477 $as_echo_n "checking for library containing pthread_create... " >&6; }
10478 if ${ac_cv_search_pthread_create+:} false
; then :
10479 $as_echo_n "(cached) " >&6
10481 ac_func_search_save_LIBS
=$LIBS
10482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10485 /* Override any GCC internal prototype to avoid an error.
10486 Use char because int might match the return type of a GCC
10487 builtin and then its argument prototype would still apply. */
10491 char pthread_create ();
10495 return pthread_create ();
10500 for ac_lib
in '' pthread
; do
10501 if test -z "$ac_lib"; then
10502 ac_res
="none required"
10505 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10507 if ac_fn_c_try_link
"$LINENO"; then :
10508 ac_cv_search_pthread_create
=$ac_res
10510 rm -f core conftest.err conftest.
$ac_objext \
10512 if ${ac_cv_search_pthread_create+:} false
; then :
10516 if ${ac_cv_search_pthread_create+:} false
; then :
10519 ac_cv_search_pthread_create
=no
10521 rm conftest.
$ac_ext
10522 LIBS
=$ac_func_search_save_LIBS
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
10525 $as_echo "$ac_cv_search_pthread_create" >&6; }
10526 ac_res
=$ac_cv_search_pthread_create
10527 if test "$ac_res" != no
; then :
10528 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutexattr_init" >&5
10533 $as_echo_n "checking for library containing pthread_mutexattr_init... " >&6; }
10534 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10535 $as_echo_n "(cached) " >&6
10537 ac_func_search_save_LIBS
=$LIBS
10538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10547 char pthread_mutexattr_init ();
10551 return pthread_mutexattr_init ();
10556 for ac_lib
in '' pthread
; do
10557 if test -z "$ac_lib"; then
10558 ac_res
="none required"
10561 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10563 if ac_fn_c_try_link
"$LINENO"; then :
10564 ac_cv_search_pthread_mutexattr_init
=$ac_res
10566 rm -f core conftest.err conftest.
$ac_objext \
10568 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10572 if ${ac_cv_search_pthread_mutexattr_init+:} false
; then :
10575 ac_cv_search_pthread_mutexattr_init
=no
10577 rm conftest.
$ac_ext
10578 LIBS
=$ac_func_search_save_LIBS
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutexattr_init" >&5
10581 $as_echo "$ac_cv_search_pthread_mutexattr_init" >&6; }
10582 ac_res
=$ac_cv_search_pthread_mutexattr_init
10583 if test "$ac_res" != no
; then :
10584 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10591 # Do we want to support release
10593 # Check whether --enable-releasemode was given.
10594 if test "${enable_releasemode+set}" = set; then :
10595 enableval
=$enable_releasemode;
10597 enable_releasemode
=no
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
10601 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
10602 if test "$enable_releasemode" = "no"; then
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10605 $as_echo "no" >&6; }
10607 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10609 $as_echo "yes" >&6; }
10614 # Do we want temporary databases in memory
10616 # Check whether --enable-tempstore was given.
10617 if test "${enable_tempstore+set}" = set; then :
10618 enableval
=$enable_tempstore;
10620 enable_tempstore
=no
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
10624 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
10625 case "$enable_tempstore" in
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
10629 $as_echo "never" >&6; }
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10634 $as_echo "no" >&6; }
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10639 $as_echo "yes" >&6; }
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
10644 $as_echo "always" >&6; }
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649 $as_echo "no" >&6; }
10656 # Lots of things are different if we are compiling for Windows using
10657 # the CYGWIN environment. So check for that special case and handle
10658 # things accordingly.
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
10661 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
10662 if test "$config_BUILD_EXEEXT" = ".exe"; then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10665 $as_echo "yes" >&6; }
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
10668 $as_echo "unknown" >&6; }
10670 if test "$CYGWIN" != "yes"; then
10673 *cygwin
* ) CYGWIN
=yes;;
10678 if test "$CYGWIN" = "yes"; then
10681 BUILD_EXEEXT
=$EXEEXT
10683 if test x
"$cross_compiling" = xno
; then
10684 TARGET_EXEEXT
=$BUILD_EXEEXT
10686 TARGET_EXEEXT
=$config_TARGET_EXEEXT
10688 if test "$TARGET_EXEEXT" = ".exe"; then
10691 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
10695 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
10704 # Figure out all the parameters needed to compile against Tcl.
10706 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
10707 # macros in the in the tcl.m4 file of the standard TCL distribution.
10708 # Those macros could not be used directly since we have to make some
10709 # minor changes to accomodate systems that do not have TCL installed.
10711 # Check whether --enable-tcl was given.
10712 if test "${enable_tcl+set}" = set; then :
10713 enableval
=$enable_tcl; use_tcl
=$enableval
10718 if test "${use_tcl}" = "yes" ; then
10720 # Check whether --with-tcl was given.
10721 if test "${with_tcl+set}" = set; then :
10722 withval
=$with_tcl; with_tclconfig
=${withval}
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
10726 $as_echo_n "checking for Tcl configuration... " >&6; }
10727 if ${ac_cv_c_tclconfig+:} false
; then :
10728 $as_echo_n "(cached) " >&6
10731 # First check to see if --with-tcl was specified.
10732 if test x
"${with_tclconfig}" != x
; then
10733 if test -f "${with_tclconfig}/tclConfig.sh" ; then
10734 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
10736 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
10740 # Start autosearch by asking tclsh
10741 if test x
"${ac_cv_c_tclconfig}" = x
; then
10742 if test x
"$cross_compiling" = xno
; then
10743 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
10745 if test -f "$i/tclConfig.sh" ; then
10746 ac_cv_c_tclconfig
="$i"
10753 # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
10754 # So try again after applying corrections.
10755 if test x
"${ac_cv_c_tclconfig}" = x
; then
10756 if test x
"$cross_compiling" = xno
; then
10757 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
10759 if test -f "$i/tclConfig.sh" ; then
10760 ac_cv_c_tclconfig
="$i"
10767 # Recent versions of Xcode on Macs hid the tclConfig.sh file
10768 # in a strange place.
10769 if test x
"${ac_cv_c_tclconfig}" = x
; then
10770 if test x
"$cross_compiling" = xno
; then
10771 for i
in /Applications
/Xcode.app
/Contents
/Developer
/Platforms
/MacOSX.platform
/Developer
/SDKs
/MacOSX
*.sdk
/usr
/lib
10773 if test -f "$i/tclConfig.sh" ; then
10774 ac_cv_c_tclconfig
="$i"
10781 # then check for a private Tcl installation
10782 if test x
"${ac_cv_c_tclconfig}" = x
; then
10785 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10786 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
10787 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
10789 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10790 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
10791 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
10793 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10794 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
10795 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
10797 if test -f "$i/unix/tclConfig.sh" ; then
10798 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10804 # check in a few common install locations
10805 if test x
"${ac_cv_c_tclconfig}" = x
; then
10807 `ls -d ${libdir} 2>/dev/null` \
10808 `ls -d /usr/local/lib 2>/dev/null` \
10809 `ls -d /usr/contrib/lib 2>/dev/null` \
10810 `ls -d /usr/lib 2>/dev/null`
10812 if test -f "$i/tclConfig.sh" ; then
10813 ac_cv_c_tclconfig
=`(cd $i; pwd)`
10819 # check in a few other private locations
10820 if test x
"${ac_cv_c_tclconfig}" = x
; then
10823 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10824 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
10825 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
10827 if test -f "$i/unix/tclConfig.sh" ; then
10828 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10837 if test x
"${ac_cv_c_tclconfig}" = x
; then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
10840 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
10842 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
10844 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
10846 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
10848 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
10851 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
10852 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
10854 $as_echo "loading" >&6; }
10855 .
$TCL_BIN_DIR/tclConfig.sh
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
10858 $as_echo "file not found" >&6; }
10862 # If the TCL_BIN_DIR is the build directory (not the install directory),
10863 # then set the common variable name to the value of the build variables.
10864 # For example, the variable TCL_LIB_SPEC will be set to the value
10865 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
10866 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
10867 # installed and uninstalled version of Tcl.
10870 if test -f $TCL_BIN_DIR/Makefile
; then
10871 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
10872 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
10873 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
10877 # eval is required to do the TCL_DBGX substitution
10880 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
10881 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
10882 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
10884 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
10885 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
10886 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
10903 if test "${use_tcl}" = "no" ; then
10911 # Figure out what C libraries are required to compile programs
10912 # that use "readline()" library.
10914 TARGET_READLINE_LIBS
=""
10915 TARGET_READLINE_INC
=""
10916 TARGET_HAVE_READLINE
=0
10917 TARGET_HAVE_EDITLINE
=0
10918 # Check whether --enable-editline was given.
10919 if test "${enable_editline+set}" = set; then :
10920 enableval
=$enable_editline; with_editline
=$enableval
10925 # Check whether --enable-readline was given.
10926 if test "${enable_readline+set}" = set; then :
10927 enableval
=$enable_readline; with_readline
=$enableval
10933 if test x
"$with_editline" != xno
; then
10936 TARGET_HAVE_EDITLINE
=1
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
10938 $as_echo_n "checking for library containing readline... " >&6; }
10939 if ${ac_cv_search_readline+:} false
; then :
10940 $as_echo_n "(cached) " >&6
10942 ac_func_search_save_LIBS
=$LIBS
10943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10956 return readline ();
10961 for ac_lib
in '' edit
; do
10962 if test -z "$ac_lib"; then
10963 ac_res
="none required"
10966 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10968 if ac_fn_c_try_link
"$LINENO"; then :
10969 ac_cv_search_readline
=$ac_res
10971 rm -f core conftest.err conftest.
$ac_objext \
10973 if ${ac_cv_search_readline+:} false
; then :
10977 if ${ac_cv_search_readline+:} false
; then :
10980 ac_cv_search_readline
=no
10982 rm conftest.
$ac_ext
10983 LIBS
=$ac_func_search_save_LIBS
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
10986 $as_echo "$ac_cv_search_readline" >&6; }
10987 ac_res
=$ac_cv_search_readline
10988 if test "$ac_res" != no
; then :
10989 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10992 TARGET_HAVE_EDITLINE
=0
10995 TARGET_READLINE_LIBS
=$LIBS
10998 if test x
"$with_readline" != xno
; then
11002 # Check whether --with-readline-lib was given.
11003 if test "${with_readline_lib+set}" = set; then :
11004 withval
=$with_readline_lib; with_readline_lib
=$withval
11006 with_readline_lib
="auto"
11009 if test "x$with_readline_lib" = xauto
; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
11013 $as_echo_n "checking for library containing tgetent... " >&6; }
11014 if ${ac_cv_search_tgetent+:} false
; then :
11015 $as_echo_n "(cached) " >&6
11017 ac_func_search_save_LIBS
=$LIBS
11018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11036 for ac_lib
in '' readline ncurses curses termcap
; do
11037 if test -z "$ac_lib"; then
11038 ac_res
="none required"
11041 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11043 if ac_fn_c_try_link
"$LINENO"; then :
11044 ac_cv_search_tgetent
=$ac_res
11046 rm -f core conftest.err conftest.
$ac_objext \
11048 if ${ac_cv_search_tgetent+:} false
; then :
11052 if ${ac_cv_search_tgetent+:} false
; then :
11055 ac_cv_search_tgetent
=no
11057 rm conftest.
$ac_ext
11058 LIBS
=$ac_func_search_save_LIBS
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
11061 $as_echo "$ac_cv_search_tgetent" >&6; }
11062 ac_res
=$ac_cv_search_tgetent
11063 if test "$ac_res" != no
; then :
11064 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
11071 $as_echo_n "checking for readline in -lreadline... " >&6; }
11072 if ${ac_cv_lib_readline_readline+:} false
; then :
11073 $as_echo_n "(cached) " >&6
11075 ac_check_lib_save_LIBS
=$LIBS
11076 LIBS
="-lreadline $LIBS"
11077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11080 /* Override any GCC internal prototype to avoid an error.
11081 Use char because int might match the return type of a GCC
11082 builtin and then its argument prototype would still apply. */
11090 return readline ();
11095 if ac_fn_c_try_link
"$LINENO"; then :
11096 ac_cv_lib_readline_readline
=yes
11098 ac_cv_lib_readline_readline
=no
11100 rm -f core conftest.err conftest.
$ac_objext \
11101 conftest
$ac_exeext conftest.
$ac_ext
11102 LIBS
=$ac_check_lib_save_LIBS
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
11105 $as_echo "$ac_cv_lib_readline_readline" >&6; }
11106 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
11107 TARGET_READLINE_LIBS
="-lreadline"
11112 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
11115 TARGET_READLINE_LIBS
="$with_readline_lib"
11119 # Check whether --with-readline-inc was given.
11120 if test "${with_readline_inc+set}" = set; then :
11121 withval
=$with_readline_inc; with_readline_inc
=$withval
11123 with_readline_inc
="auto"
11126 if test "x$with_readline_inc" = xauto
; then
11127 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
11128 if test "x$ac_cv_header_readline_h" = xyes
; then :
11133 if test "$cross_compiling" != yes; then
11134 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
11135 for subdir
in include include
/readline
; do
11136 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
11138 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
11139 if eval \
${$as_ac_File+:} false
; then :
11140 $as_echo_n "(cached) " >&6
11142 test "$cross_compiling" = yes &&
11143 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
11144 if test -r "$dir/$subdir/readline.h"; then
11145 eval "$as_ac_File=yes"
11147 eval "$as_ac_File=no"
11150 eval ac_res
=\$
$as_ac_File
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11152 $as_echo "$ac_res" >&6; }
11153 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
11157 if test "$found" = "yes"; then
11158 TARGET_READLINE_INC
="-I$dir/$subdir"
11162 test "$found" = "yes" && break
11170 TARGET_READLINE_INC
="$with_readline_inc"
11173 if test x
"$found" = xno
; then
11174 TARGET_READLINE_LIBS
=""
11175 TARGET_READLINE_INC
=""
11176 TARGET_HAVE_READLINE
=0
11178 TARGET_HAVE_READLINE
=1
11188 # Figure out what C libraries are required to compile programs
11189 # that use "fdatasync()" function.
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
11192 $as_echo_n "checking for library containing fdatasync... " >&6; }
11193 if ${ac_cv_search_fdatasync+:} false
; then :
11194 $as_echo_n "(cached) " >&6
11196 ac_func_search_save_LIBS
=$LIBS
11197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11210 return fdatasync ();
11215 for ac_lib
in '' rt
; do
11216 if test -z "$ac_lib"; then
11217 ac_res
="none required"
11220 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11222 if ac_fn_c_try_link
"$LINENO"; then :
11223 ac_cv_search_fdatasync
=$ac_res
11225 rm -f core conftest.err conftest.
$ac_objext \
11227 if ${ac_cv_search_fdatasync+:} false
; then :
11231 if ${ac_cv_search_fdatasync+:} false
; then :
11234 ac_cv_search_fdatasync
=no
11236 rm conftest.
$ac_ext
11237 LIBS
=$ac_func_search_save_LIBS
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
11240 $as_echo "$ac_cv_search_fdatasync" >&6; }
11241 ac_res
=$ac_cv_search_fdatasync
11242 if test "$ac_res" != no
; then :
11243 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11249 # check for debug enabled
11250 # Check whether --enable-debug was given.
11251 if test "${enable_debug+set}" = set; then :
11252 enableval
=$enable_debug; use_debug
=$enableval
11257 if test "${use_debug}" = "yes" ; then
11258 TARGET_DEBUG
="-DSQLITE_DEBUG=1 -DSQLITE_ENABLE_SELECTTRACE -DSQLITE_ENABLE_WHERETRACE -O0"
11260 TARGET_DEBUG
="-DNDEBUG"
11265 # See whether we should use the amalgamation to build
11266 # Check whether --enable-amalgamation was given.
11267 if test "${enable_amalgamation+set}" = set; then :
11268 enableval
=$enable_amalgamation; use_amalgamation
=$enableval
11270 use_amalgamation
=yes
11273 if test "${use_amalgamation}" != "yes" ; then
11279 # Look for zlib. Only needed by extensions and by the sqlite3.exe shell
11280 for ac_header
in zlib.h
11282 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
11283 if test "x$ac_cv_header_zlib_h" = xyes
; then :
11284 cat >>confdefs.h
<<_ACEOF
11285 #define HAVE_ZLIB_H 1
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing deflate" >&5
11293 $as_echo_n "checking for library containing deflate... " >&6; }
11294 if ${ac_cv_search_deflate+:} false
; then :
11295 $as_echo_n "(cached) " >&6
11297 ac_func_search_save_LIBS
=$LIBS
11298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11316 for ac_lib
in '' z
; do
11317 if test -z "$ac_lib"; then
11318 ac_res
="none required"
11321 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11323 if ac_fn_c_try_link
"$LINENO"; then :
11324 ac_cv_search_deflate
=$ac_res
11326 rm -f core conftest.err conftest.
$ac_objext \
11328 if ${ac_cv_search_deflate+:} false
; then :
11332 if ${ac_cv_search_deflate+:} false
; then :
11335 ac_cv_search_deflate
=no
11337 rm conftest.
$ac_ext
11338 LIBS
=$ac_func_search_save_LIBS
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_deflate" >&5
11341 $as_echo "$ac_cv_search_deflate" >&6; }
11342 ac_res
=$ac_cv_search_deflate
11343 if test "$ac_res" != no
; then :
11344 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11345 HAVE_ZLIB
="-DSQLITE_HAVE_ZLIB=1"
11353 # See whether we should allow loadable extensions
11354 # Check whether --enable-load-extension was given.
11355 if test "${enable_load_extension+set}" = set; then :
11356 enableval
=$enable_load_extension; use_loadextension
=$enableval
11358 use_loadextension
=yes
11361 if test "${use_loadextension}" = "yes" ; then
11362 OPT_FEATURE_FLAGS
=""
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11364 $as_echo_n "checking for library containing dlopen... " >&6; }
11365 if ${ac_cv_search_dlopen+:} false
; then :
11366 $as_echo_n "(cached) " >&6
11368 ac_func_search_save_LIBS
=$LIBS
11369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11387 for ac_lib
in '' dl
; do
11388 if test -z "$ac_lib"; then
11389 ac_res
="none required"
11392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11394 if ac_fn_c_try_link
"$LINENO"; then :
11395 ac_cv_search_dlopen
=$ac_res
11397 rm -f core conftest.err conftest.
$ac_objext \
11399 if ${ac_cv_search_dlopen+:} false
; then :
11403 if ${ac_cv_search_dlopen+:} false
; then :
11406 ac_cv_search_dlopen
=no
11408 rm conftest.
$ac_ext
11409 LIBS
=$ac_func_search_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11412 $as_echo "$ac_cv_search_dlopen" >&6; }
11413 ac_res
=$ac_cv_search_dlopen
11414 if test "$ac_res" != no
; then :
11415 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11420 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
11424 # Do we want to support memsys3 and/or memsys5
11426 # Check whether --enable-memsys5 was given.
11427 if test "${enable_memsys5+set}" = set; then :
11428 enableval
=$enable_memsys5; enable_memsys5
=yes
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS5" >&5
11434 $as_echo_n "checking whether to support MEMSYS5... " >&6; }
11435 if test "${enable_memsys5}" = "yes"; then
11436 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS5"
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11438 $as_echo "yes" >&6; }
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11441 $as_echo "no" >&6; }
11443 # Check whether --enable-memsys3 was given.
11444 if test "${enable_memsys3+set}" = set; then :
11445 enableval
=$enable_memsys3; enable_memsys3
=yes
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support MEMSYS3" >&5
11451 $as_echo_n "checking whether to support MEMSYS3... " >&6; }
11452 if test "${enable_memsys3}" = "yes" -a "${enable_memsys5}" = "no"; then
11453 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_MEMSYS3"
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11455 $as_echo "yes" >&6; }
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11458 $as_echo "no" >&6; }
11462 # See whether we should enable Full Text Search extensions
11463 # Check whether --enable-fts3 was given.
11464 if test "${enable_fts3+set}" = set; then :
11465 enableval
=$enable_fts3; enable_fts3
=yes
11470 if test "${enable_fts3}" = "yes" ; then
11471 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS3"
11473 # Check whether --enable-fts4 was given.
11474 if test "${enable_fts4+set}" = set; then :
11475 enableval
=$enable_fts4; enable_fts4
=yes
11480 if test "${enable_fts4}" = "yes" ; then
11481 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS4"
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
11483 $as_echo_n "checking for library containing log... " >&6; }
11484 if ${ac_cv_search_log+:} false
; then :
11485 $as_echo_n "(cached) " >&6
11487 ac_func_search_save_LIBS
=$LIBS
11488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11491 /* Override any GCC internal prototype to avoid an error.
11492 Use char because int might match the return type of a GCC
11493 builtin and then its argument prototype would still apply. */
11506 for ac_lib
in '' m
; do
11507 if test -z "$ac_lib"; then
11508 ac_res
="none required"
11511 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11513 if ac_fn_c_try_link
"$LINENO"; then :
11514 ac_cv_search_log
=$ac_res
11516 rm -f core conftest.err conftest.
$ac_objext \
11518 if ${ac_cv_search_log+:} false
; then :
11522 if ${ac_cv_search_log+:} false
; then :
11525 ac_cv_search_log
=no
11527 rm conftest.
$ac_ext
11528 LIBS
=$ac_func_search_save_LIBS
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
11531 $as_echo "$ac_cv_search_log" >&6; }
11532 ac_res
=$ac_cv_search_log
11533 if test "$ac_res" != no
; then :
11534 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11539 # Check whether --enable-fts5 was given.
11540 if test "${enable_fts5+set}" = set; then :
11541 enableval
=$enable_fts5; enable_fts5
=yes
11546 if test "${enable_fts5}" = "yes" ; then
11547 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_FTS5"
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log" >&5
11549 $as_echo_n "checking for library containing log... " >&6; }
11550 if ${ac_cv_search_log+:} false
; then :
11551 $as_echo_n "(cached) " >&6
11553 ac_func_search_save_LIBS
=$LIBS
11554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h. */
11557 /* Override any GCC internal prototype to avoid an error.
11558 Use char because int might match the return type of a GCC
11559 builtin and then its argument prototype would still apply. */
11572 for ac_lib
in '' m
; do
11573 if test -z "$ac_lib"; then
11574 ac_res
="none required"
11577 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11579 if ac_fn_c_try_link
"$LINENO"; then :
11580 ac_cv_search_log
=$ac_res
11582 rm -f core conftest.err conftest.
$ac_objext \
11584 if ${ac_cv_search_log+:} false
; then :
11588 if ${ac_cv_search_log+:} false
; then :
11591 ac_cv_search_log
=no
11593 rm conftest.
$ac_ext
11594 LIBS
=$ac_func_search_save_LIBS
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log" >&5
11597 $as_echo "$ac_cv_search_log" >&6; }
11598 ac_res
=$ac_cv_search_log
11599 if test "$ac_res" != no
; then :
11600 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11607 # See whether we should enable JSON1
11608 # Check whether --enable-json1 was given.
11609 if test "${enable_json1+set}" = set; then :
11610 enableval
=$enable_json1; enable_json1
=yes
11615 if test "${enable_json1}" = "yes" ; then
11616 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_JSON1"
11620 # See whether we should enable the LIMIT clause on UPDATE and DELETE
11622 # Check whether --enable-update-limit was given.
11623 if test "${enable_update_limit+set}" = set; then :
11624 enableval
=$enable_update_limit; enable_udlimit
=yes
11629 if test "${enable_udlimit}" = "yes" ; then
11630 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT"
11634 # See whether we should enable RTREE
11635 # Check whether --enable-rtree was given.
11636 if test "${enable_rtree+set}" = set; then :
11637 enableval
=$enable_rtree; enable_rtree
=yes
11642 if test "${enable_rtree}" = "yes" ; then
11643 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_RTREE"
11647 # See whether we should enable the SESSION extension
11648 # Check whether --enable-session was given.
11649 if test "${enable_session+set}" = set; then :
11650 enableval
=$enable_session; enable_session
=yes
11655 if test "${enable_session}" = "yes" ; then
11656 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_SESSION"
11657 OPT_FEATURE_FLAGS
="${OPT_FEATURE_FLAGS} -DSQLITE_ENABLE_PREUPDATE_HOOK"
11661 # attempt to duplicate any OMITS and ENABLES into the ${OPT_FEATURE_FLAGS} parameter
11662 for option
in $CFLAGS $CPPFLAGS
11665 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11666 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11672 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
11674 for option
in $CFLAGS
11678 -DSQLITE_ENABLE*) ;;
11679 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
11682 CFLAGS
=$ac_temp_CFLAGS
11685 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
11686 ac_temp_CPPFLAGS
=""
11687 for option
in $CPPFLAGS
11691 -DSQLITE_ENABLE*) ;;
11692 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
11695 CPPFLAGS
=$ac_temp_CPPFLAGS
11698 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
11699 ac_temp_BUILD_CFLAGS
=""
11700 for option
in $BUILD_CFLAGS
11704 -DSQLITE_ENABLE*) ;;
11705 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
11708 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
11712 # See whether we should use GCOV
11713 # Check whether --enable-gcov was given.
11714 if test "${enable_gcov+set}" = set; then :
11715 enableval
=$enable_gcov; use_gcov
=$enableval
11720 if test "${use_gcov}" = "yes" ; then
11729 # Output the config header
11730 ac_config_headers
="$ac_config_headers config.h"
11734 # Generate the output files.
11737 ac_config_files
="$ac_config_files Makefile sqlite3.pc"
11739 cat >confcache
<<\_ACEOF
11740 # This file is a shell script that caches the results of configure
11741 # tests run on this system so they can be shared between configure
11742 # scripts and configure runs, see configure's option --config-cache.
11743 # It is not useful on other systems. If it contains results you don't
11744 # want to keep, you may remove or edit it.
11746 # config.status only pays attention to the cache file if you give it
11747 # the --recheck option to rerun configure.
11749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11751 # following values.
11755 # The following way of writing the cache mishandles newlines in values,
11756 # but we know of no workaround that is simple, portable, and efficient.
11757 # So, we kill variables containing newlines.
11758 # Ultrix sh set writes to stderr and can't be redirected directly,
11759 # and sets the high bit in the cache file unless we assign to the vars.
11761 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11762 eval ac_val
=\$
$ac_var
11766 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11767 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11770 _ | IFS | as_nl
) ;; #(
11771 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11772 *) { eval $ac_var=; unset $ac_var;} ;;
11778 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11779 *${as_nl}ac_space
=\
*)
11780 # `set' does not quote correctly, so add quotes: double-quote
11781 # substitution turns \\\\ into \\, and sed turns \\ into \.
11784 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11787 # `set' quotes correctly as required by POSIX, so do not add quotes.
11788 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11797 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11799 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11801 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11802 if test -w "$cache_file"; then
11803 if test "x$cache_file" != "x/dev/null"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11805 $as_echo "$as_me: updating cache $cache_file" >&6;}
11806 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11807 cat confcache
>"$cache_file"
11809 case $cache_file in #(
11811 mv -f confcache
"$cache_file"$$
&&
11812 mv -f "$cache_file"$$
"$cache_file" ;; #(
11814 mv -f confcache
"$cache_file" ;;
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11820 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11825 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11826 # Let make expand exec_prefix.
11827 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11829 DEFS
=-DHAVE_CONFIG_H
11834 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11835 # 1. Remove the extension, and $U if already installed.
11836 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11837 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11838 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11839 # will be set to the directory where LIBOBJS objects are built.
11840 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11841 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11843 LIBOBJS
=$ac_libobjs
11845 LTLIBOBJS
=$ac_ltlibobjs
11849 : "${CONFIG_STATUS=./config.status}"
11851 ac_clean_files_save
=$ac_clean_files
11852 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11854 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11856 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11858 # Generated by $as_me.
11859 # Run this file to recreate the current configuration.
11860 # Compiler output produced by configure, useful for debugging
11861 # configure, is in config.log if it exists.
11864 ac_cs_recheck=false
11867 SHELL=\${CONFIG_SHELL-$SHELL}
11870 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11871 ## -------------------- ##
11872 ## M4sh Initialization. ##
11873 ## -------------------- ##
11875 # Be more Bourne compatible
11876 DUALCASE
=1; export DUALCASE
# for MKS sh
11877 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11880 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11881 # is contrary to our usage. Disable this feature.
11882 alias -g '${1+"$@"}'='"$@"'
11883 setopt NO_GLOB_SUBST
11885 case `(set -o) 2>/dev/null` in #(
11897 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11898 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11900 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11901 # Prefer a ksh shell builtin over an external printf program on Solaris,
11902 # but without wasting forks for bash or zsh.
11903 if test -z "$BASH_VERSION$ZSH_VERSION" \
11904 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11905 as_echo='print
-r --'
11906 as_echo_n='print
-rn --'
11907 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11908 as_echo='printf %s
\n'
11909 as_echo_n='printf %s
'
11911 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11912 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11913 as_echo_n='/usr
/ucb
/echo -n'
11915 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11916 as_echo_n_body='eval
11920 expr "X$arg" : "X\\(.*\\)$as_nl";
11921 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11923 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11925 export as_echo_n_body
11926 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11928 export as_echo_body
11929 as_echo='sh
-c $as_echo_body as_echo
'
11932 # The user is always right.
11933 if test "${PATH_SEPARATOR+set}" != set; then
11935 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11936 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11943 # We need space, tab and new line, in precisely that order. Quoting is
11944 # there to prevent editors from complaining about space-tab.
11945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11946 # splitting by setting IFS to empty value.)
11949 # Find who we are. Look in the path if we contain no directory separator.
11952 *[\\/]* ) as_myself=$0 ;;
11953 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11954 for as_dir in $PATH
11957 test -z "$as_dir" && as_dir=.
11958 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11964 # We did not find ourselves, most probably we were run as `sh COMMAND'
11965 # in which case we are not to be found in the path.
11966 if test "x$as_myself" = x
; then
11969 if test ! -f "$as_myself"; then
11970 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11974 # Unset variables that we do not need and which cause bugs (e.g. in
11975 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11976 # suppresses any "Segmentation fault" message there. '((' could
11977 # trigger a bug in pdksh 5.2.14.
11978 for as_var
in BASH_ENV ENV MAIL MAILPATH
11979 do eval test x\
${$as_var+set} = xset \
11980 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11993 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11996 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11997 # ----------------------------------------
11998 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11999 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12000 # script with STATUS, using 1 if that was 0.
12003 as_status
=$1; test $as_status -eq 0 && as_status
=1
12005 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12006 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12008 $as_echo "$as_me: error: $2" >&2
12009 as_fn_exit
$as_status
12013 # as_fn_set_status STATUS
12014 # -----------------------
12015 # Set $? to STATUS, without forking.
12016 as_fn_set_status
()
12019 } # as_fn_set_status
12021 # as_fn_exit STATUS
12022 # -----------------
12023 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12027 as_fn_set_status
$1
12033 # Portably unset VAR.
12036 { eval $1=; unset $1;}
12038 as_unset
=as_fn_unset
12039 # as_fn_append VAR VALUE
12040 # ----------------------
12041 # Append the text in VALUE to the end of the definition contained in VAR. Take
12042 # advantage of any shell optimizations that allow amortized linear growth over
12043 # repeated appends, instead of the typical quadratic growth present in naive
12045 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12046 eval 'as_fn_append ()
12057 # as_fn_arith ARG...
12058 # ------------------
12059 # Perform arithmetic evaluation on the ARGs, and store the result in the
12060 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12061 # must be portable across $(()) and expr.
12062 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12063 eval 'as_fn_arith ()
12070 as_val
=`expr "$@" || test $? -eq 1`
12075 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12076 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12082 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12083 as_basename
=basename
12088 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12094 as_me
=`$as_basename -- "$0" ||
12095 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12096 X"$0" : 'X\(//\)$' \| \
12097 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12099 sed '/^.*\/\([^/][^/]*\)\/*$/{
12113 # Avoid depending upon Character Ranges.
12114 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12115 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12116 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12117 as_cr_digits
='0123456789'
12118 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12120 ECHO_C
= ECHO_N
= ECHO_T
=
12121 case `echo -n x` in #(((((
12123 case `echo 'xy\c'` in
12124 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12126 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12133 rm -f conf$$ conf$$.exe conf$$.
file
12134 if test -d conf$$.dir
; then
12135 rm -f conf$$.dir
/conf$$.
file
12138 mkdir conf$$.dir
2>/dev
/null
12140 if (echo >conf$$.
file) 2>/dev
/null
; then
12141 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12143 # ... but there are two gotchas:
12144 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12145 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12146 # In both cases, we have to default to `cp -pR'.
12147 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12149 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12157 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12158 rmdir conf$$.dir
2>/dev
/null
12163 # Create "$as_dir" as a directory, including parents if necessary.
12168 -*) as_dir
=.
/$as_dir;;
12170 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12174 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12175 *) as_qdir
=$as_dir;;
12177 as_dirs
="'$as_qdir' $as_dirs"
12178 as_dir
=`$as_dirname -- "$as_dir" ||
12179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12180 X"$as_dir" : 'X\(//\)[^/]' \| \
12181 X"$as_dir" : 'X\(//\)$' \| \
12182 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12183 $as_echo X"$as_dir" |
12184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12188 /^X\(\/\/\)[^/].*/{
12201 test -d "$as_dir" && break
12203 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12204 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12208 if mkdir
-p .
2>/dev
/null
; then
12209 as_mkdir_p
='mkdir -p "$as_dir"'
12211 test -d .
/-p && rmdir .
/-p
12216 # as_fn_executable_p FILE
12217 # -----------------------
12218 # Test if FILE is an executable regular file.
12219 as_fn_executable_p
()
12221 test -f "$1" && test -x "$1"
12222 } # as_fn_executable_p
12223 as_test_x
='test -x'
12224 as_executable_p
=as_fn_executable_p
12226 # Sed expression to map a string onto a valid CPP name.
12227 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12229 # Sed expression to map a string onto a valid variable name.
12230 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12234 ## ----------------------------------- ##
12235 ## Main body of $CONFIG_STATUS script. ##
12236 ## ----------------------------------- ##
12238 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12241 # Save the log message, to keep $0 and so on meaningful, and to
12242 # report actual input values of CONFIG_FILES etc. instead of their
12243 # values after options handling.
12245 This file was extended by sqlite $as_me 3.24.0, which was
12246 generated by GNU Autoconf 2.69. Invocation command line was
12248 CONFIG_FILES = $CONFIG_FILES
12249 CONFIG_HEADERS = $CONFIG_HEADERS
12250 CONFIG_LINKS = $CONFIG_LINKS
12251 CONFIG_COMMANDS = $CONFIG_COMMANDS
12254 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12259 case $ac_config_files in *"
12260 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12263 case $ac_config_headers in *"
12264 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12269 # Files that config.status was made for.
12270 config_files="$ac_config_files"
12271 config_headers="$ac_config_headers"
12272 config_commands="$ac_config_commands"
12276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12278 \`$as_me' instantiates files and other configuration actions
12279 from templates according to the current configuration. Unless the files
12280 and actions are specified as TAGs, all are instantiated by default.
12282 Usage: $0 [OPTION]... [TAG]...
12284 -h, --help print this help, then exit
12285 -V, --version print version number and configuration settings, then exit
12286 --config print configuration, then exit
12287 -q, --quiet, --silent
12288 do not print progress messages
12289 -d, --debug don't remove temporary files
12290 --recheck update $as_me by reconfiguring in the same conditions
12291 --file=FILE[:TEMPLATE]
12292 instantiate the configuration file FILE
12293 --header=FILE[:TEMPLATE]
12294 instantiate the configuration header FILE
12296 Configuration files:
12299 Configuration headers:
12302 Configuration commands:
12305 Report bugs to the package provider."
12308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12309 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12311 sqlite config.status 3.24.0
12312 configured by $0, generated by GNU Autoconf 2.69,
12313 with options \\"\$ac_cs_config\\"
12315 Copyright (C) 2012 Free Software Foundation, Inc.
12316 This config.status script is free software; the Free Software Foundation
12317 gives unlimited permission to copy, distribute and modify it."
12322 test -n "\$AWK" || AWK=awk
12325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12326 # The default lists apply if the user does not specify any file.
12332 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12333 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12337 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12349 # Handling of the options.
12350 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12352 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12353 $as_echo "$ac_cs_version"; exit ;;
12354 --config |
--confi |
--conf |
--con |
--co |
--c )
12355 $as_echo "$ac_cs_config"; exit ;;
12356 --debug |
--debu |
--deb |
--de |
--d |
-d )
12358 --file |
--fil |
--fi |
--f )
12361 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12362 '') as_fn_error $?
"missing file argument" ;;
12364 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12365 ac_need_defaults
=false
;;
12366 --header |
--heade |
--head |
--hea )
12369 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12371 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12372 ac_need_defaults
=false
;;
12374 # Conflict between --help and --header
12375 as_fn_error $?
"ambiguous option: \`$1'
12376 Try \`$0 --help' for more information.";;
12377 --help |
--hel |
-h )
12378 $as_echo "$ac_cs_usage"; exit ;;
12379 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12380 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12383 # This is an error.
12384 -*) as_fn_error $?
"unrecognized option: \`$1'
12385 Try \`$0 --help' for more information." ;;
12387 *) as_fn_append ac_config_targets
" $1"
12388 ac_need_defaults
=false
;;
12394 ac_configure_extra_args
=
12396 if $ac_cs_silent; then
12398 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12403 if \$ac_cs_recheck; then
12404 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12406 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12407 CONFIG_SHELL='$SHELL'
12408 export CONFIG_SHELL
12413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12418 ## Running $as_me. ##
12424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12430 # The HP-UX ksh and POSIX shell print the target directory to stdout
12431 # if CDPATH is set.
12432 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12434 sed_quote_subst='$sed_quote_subst'
12435 double_quote_subst='$double_quote_subst'
12436 delay_variable_subst='$delay_variable_subst'
12437 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12438 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12439 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12440 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12441 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12442 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12443 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12444 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12445 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12446 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12447 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12448 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12449 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12450 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12451 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12452 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12453 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12454 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12455 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12456 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12457 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12458 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12459 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12460 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12461 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12462 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12463 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12464 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12465 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12466 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12467 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12468 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12469 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12470 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12471 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12472 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12473 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12474 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12475 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12476 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12477 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12478 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12479 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12480 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12481 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"`'
12482 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"`'
12483 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12484 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12485 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12486 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12487 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12488 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12489 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12490 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12491 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12492 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12493 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12494 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12495 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12496 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12497 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12498 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12499 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12500 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12501 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12502 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12503 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12504 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12505 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12506 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12507 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12508 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12509 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12510 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12511 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12512 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12513 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12514 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12515 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12516 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12517 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12518 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12519 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12520 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12521 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12522 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12523 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12524 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12525 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12526 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12527 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12528 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12529 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12530 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12531 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12532 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12533 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12534 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12535 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12536 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12537 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12538 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12539 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12540 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12541 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12542 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12543 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12544 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12545 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12546 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12547 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12548 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12549 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12550 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12551 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12552 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12553 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12554 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12557 LTCFLAGS='$LTCFLAGS'
12558 compiler='$compiler_DEFAULT'
12560 # Quote evaled strings.
12572 deplibs_check_method \
12581 lt_cv_sys_global_symbol_pipe \
12582 lt_cv_sys_global_symbol_to_cdecl \
12583 lt_cv_sys_global_symbol_to_c_name_address \
12584 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12587 lt_prog_compiler_no_builtin_flag \
12588 lt_prog_compiler_wl \
12589 lt_prog_compiler_pic \
12590 lt_prog_compiler_static \
12591 lt_cv_prog_compiler_c_o \
12599 export_dynamic_flag_spec \
12600 whole_archive_flag_spec \
12601 compiler_needs_object \
12603 allow_undefined_flag \
12604 no_undefined_flag \
12605 hardcode_libdir_flag_spec \
12606 hardcode_libdir_flag_spec_ld \
12607 hardcode_libdir_separator \
12612 variables_saved_for_relink \
12614 library_names_spec \
12619 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12620 *[\\\\\\\`\\"\\\$]*)
12621 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12624 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12629 # Double-quote double-evaled strings.
12630 for var in reload_cmds \
12631 old_postinstall_cmds \
12632 old_postuninstall_cmds \
12634 extract_expsyms_cmds \
12635 old_archive_from_new_cmds \
12636 old_archive_from_expsyms_cmds \
12638 archive_expsym_cmds \
12640 module_expsym_cmds \
12641 export_symbols_cmds \
12644 postuninstall_cmds \
12646 sys_lib_search_path_spec \
12647 sys_lib_dlsearch_path_spec; do
12648 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12649 *[\\\\\\\`\\"\\\$]*)
12650 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12653 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12658 # Fix-up fallback echo if it was mangled by the above quoting rules.
12660 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12664 ac_aux_dir='$ac_aux_dir'
12665 xsi_shell='$xsi_shell'
12666 lt_shell_append='$lt_shell_append'
12668 # See if we are running on zsh, and set the options which allow our
12669 # commands through without removal of \ escapes INIT.
12670 if test -n "\${ZSH_VERSION+set}" ; then
12671 setopt NO_GLOB_SUBST
12677 TIMESTAMP='$TIMESTAMP'
12686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12688 # Handling of arguments.
12689 for ac_config_target
in $ac_config_targets
12691 case $ac_config_target in
12692 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12693 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12694 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12695 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
12697 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12702 # If the user did not use the arguments to specify the items to instantiate,
12703 # then the envvar interface is used. Set only those that are not.
12704 # We use the long form for the default assignment because of an extremely
12705 # bizarre bug on SunOS 4.1.3.
12706 if $ac_need_defaults; then
12707 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12708 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12709 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12712 # Have a temporary directory for convenience. Make it in the build tree
12713 # simply because there is no reason against having it here, and in addition,
12714 # creating and moving files from /tmp can sometimes cause problems.
12715 # Hook for its removal unless debugging.
12716 # Note that there is a small window in which the directory will not be cleaned:
12717 # after its creation but before its name has been assigned to `$tmp'.
12721 trap 'exit_status=$?
12722 : "${ac_tmp:=$tmp}"
12723 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12725 trap 'as_fn_exit 1' 1 2 13 15
12727 # Create a (secure) tmp directory for tmp files.
12730 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12734 tmp
=.
/conf$$
-$RANDOM
12735 (umask 077 && mkdir
"$tmp")
12736 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12739 # Set up the scripts for CONFIG_FILES section.
12740 # No need to generate them if there are no CONFIG_FILES.
12741 # This happens for instance with `./config.status config.h'.
12742 if test -n "$CONFIG_FILES"; then
12745 ac_cr
=`echo X | tr X '\015'`
12746 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12747 # But we know of no other shell where ac_cr would be empty at this
12748 # point, so we can use a bashism as a fallback.
12749 if test "x$ac_cr" = x
; then
12750 eval ac_cr
=\$
\'\\r
\'
12752 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12753 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12756 ac_cs_awk_cr
=$ac_cr
12759 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12764 echo "cat >conf$$subs.awk <<_ACEOF" &&
12765 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12767 } >conf$$subs.sh ||
12768 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12769 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12771 for ac_last_try in false false false false false :; do
12772 . ./conf$$subs.sh ||
12773 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12775 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12776 if test $ac_delim_n = $ac_delim_num; then
12778 elif $ac_last_try; then
12779 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12781 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12784 rm -f conf$$subs.sh
12786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12787 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12791 s/^/S["/; s
/!.
*/"]=/
12801 s/\(.\{148\}\)..*/\1/
12803 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12808 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12815 s/\(.\{148\}\)..*/\1/
12817 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12821 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12826 ' <conf$$subs.awk | sed '
12831 ' >>$CONFIG_STATUS || ac_write_fail=1
12832 rm -f conf$$subs.awk
12833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12835 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12836 for (key in S) S_is_set[key] = 1
12842 nfields = split(line, field, "@
")
12844 len = length(field[1])
12845 for (i = 2; i < nfields; i++) {
12847 keylen = length(key)
12848 if (S_is_set[key]) {
12850 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12851 len += length(value) + length(field[++i])
12862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12863 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12864 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12867 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12868 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12871 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12872 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12873 # trailing colons and then remove the whole line if VPATH becomes empty
12874 # (actually we leave an empty line to preserve line numbers).
12875 if test "x
$srcdir" = x.; then
12876 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12895 fi # test -n "$CONFIG_FILES"
12897 # Set up the scripts for CONFIG_HEADERS section.
12898 # No need to generate them if there are no CONFIG_HEADERS.
12899 # This happens for instance with `./config.status Makefile'.
12900 if test -n "$CONFIG_HEADERS"; then
12901 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12905 # Transform confdefs.h into an awk script `defines.awk', embedded as
12906 # here-document in config.status, that substitutes the proper values into
12907 # config.h.in to produce config.h.
12909 # Create a delimiter string that does not exist in confdefs.h, to ease
12910 # handling of long lines.
12912 for ac_last_try in false false :; do
12913 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12914 if test -z "$ac_tt"; then
12916 elif $ac_last_try; then
12917 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12919 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12923 # For the awk script, D is an array of macro values keyed by name,
12924 # likewise P contains macro parameters if any. Preserve backslash
12925 # newline sequences.
12927 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12929 s/.\{148\}/&'"$ac_delim"'/g
12932 s/^[ ]*#[ ]*define[ ][ ]*/ /
12939 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12941 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12945 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12946 D["\
1"]=" \
3\\\\\\n
"\\/p
12948 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12953 s/.\{148\}/&'"$ac_delim"'/g
12958 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12961 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12963 ' <confdefs.h | sed '
12964 s/'"$ac_delim"'/"\\\
12965 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12968 for (key in D) D_is_set[key] = 1
12971 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12973 split(line, arg, " ")
12974 if (arg[1] == "#") {
12978 defundef
= substr
(arg
[1], 2)
12981 split(mac1
, mac2
, "(") #)
12983 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12984 if (D_is_set
[macro
]) {
12985 # Preserve the white space surrounding the "#".
12986 print prefix
"define", macro P
[macro
] D
[macro
]
12989 # Replace #undef with comments. This is necessary, for example,
12990 # in the case of _POSIX_SOURCE, which is predefined and required
12991 # on some systems where configure will not decide to define it.
12992 if (defundef
== "undef") {
12993 print
"/*", prefix defundef
, macro
, "*/"
13001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13002 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13003 fi # test -n "$CONFIG_HEADERS"
13006 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13011 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13013 case $ac_mode$ac_tag in
13015 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13016 :[FH
]-) ac_tag
=-:-;;
13017 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13034 -) ac_f
="$ac_tmp/stdin";;
13035 *) # Look for the file first in the build tree, then in the source tree
13036 # (if the path is not absolute). The absolute path cannot be DOS-style,
13037 # because $ac_f cannot contain `:'.
13041 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13043 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13045 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13046 as_fn_append ac_file_inputs
" '$ac_f'"
13049 # Let's still pretend it is `configure' which instantiates (i.e., don't
13050 # use $as_me), people would be surprised to read:
13051 # /* config.h. Generated by config.status. */
13052 configure_input
='Generated from '`
13053 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13055 if test x
"$ac_file" != x-
; then
13056 configure_input
="$ac_file. $configure_input"
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13058 $as_echo "$as_me: creating $ac_file" >&6;}
13060 # Neutralize special characters interpreted by sed in replacement strings.
13061 case $configure_input in #(
13062 *\
&* |
*\|
* |
*\\* )
13063 ac_sed_conf_input
=`$as_echo "$configure_input" |
13064 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13065 *) ac_sed_conf_input
=$configure_input;;
13069 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13070 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13075 ac_dir
=`$as_dirname -- "$ac_file" ||
13076 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13077 X"$ac_file" : 'X\(//\)[^/]' \| \
13078 X"$ac_file" : 'X\(//\)$' \| \
13079 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13080 $as_echo X"$ac_file" |
13081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13085 /^X\(\/\/\)[^/].*/{
13098 as_dir
="$ac_dir"; as_fn_mkdir_p
13102 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13104 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13105 # A ".." for each directory in $ac_dir_suffix.
13106 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13107 case $ac_top_builddir_sub in
13108 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13109 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13112 ac_abs_top_builddir
=$ac_pwd
13113 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13114 # for backward compatibility:
13115 ac_top_builddir
=$ac_top_build_prefix
13118 .
) # We are building in place.
13120 ac_top_srcdir
=$ac_top_builddir_sub
13121 ac_abs_top_srcdir
=$ac_pwd ;;
13122 [\\/]* | ?
:[\\/]* ) # Absolute name.
13123 ac_srcdir
=$srcdir$ac_dir_suffix;
13124 ac_top_srcdir
=$srcdir
13125 ac_abs_top_srcdir
=$srcdir ;;
13126 *) # Relative name.
13127 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13128 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13129 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13131 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13141 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13142 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13147 # If the template does not know about datarootdir, expand it.
13148 # FIXME: This hack should be removed a few years after 2.60.
13149 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13160 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13161 *datarootdir
*) ac_datarootdir_seen
=yes;;
13162 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13164 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13167 ac_datarootdir_hack='
13168 s&@datadir@&$datadir&g
13169 s&@docdir@&$docdir&g
13170 s&@infodir@&$infodir&g
13171 s&@localedir@&$localedir&g
13172 s&@mandir@&$mandir&g
13173 s&\\\${datarootdir}&$datarootdir&g' ;;
13177 # Neutralize VPATH when `$srcdir' = `.'.
13178 # Shell code in configure.ac might set extrasub.
13179 # FIXME: do we really want to maintain this feature?
13180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13181 ac_sed_extra="$ac_vpsub
13184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13186 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13187 s|@configure_input@|
$ac_sed_conf_input|
;t t
13188 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13189 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13190 s
&@srcdir@
&$ac_srcdir&;t t
13191 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13192 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13193 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13194 s
&@builddir@
&$ac_builddir&;t t
13195 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13196 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13197 s
&@INSTALL@
&$ac_INSTALL&;t t
13198 $ac_datarootdir_hack
13200 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13201 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13203 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13204 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13205 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13206 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13208 which seems to be undefined. Please make sure it is defined" >&5
13209 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13210 which seems to be undefined. Please make sure it is defined" >&2;}
13212 rm -f "$ac_tmp/stdin"
13214 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13215 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13217 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13223 if test x"$ac_file" != x-; then
13225 $as_echo "/* $configure_input */" \
13226 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13227 } >"$ac_tmp/config.h" \
13228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13229 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13231 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13234 mv "$ac_tmp/config.h" "$ac_file" \
13235 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13238 $as_echo "/* $configure_input */" \
13239 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13240 || as_fn_error $? "could not create -" "$LINENO" 5
13244 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13245 $as_echo "$as_me: executing $ac_file commands" >&6;}
13250 case $ac_file$ac_mode in
13253 # See if we are running on zsh, and set the options which allow our
13254 # commands through without removal of \ escapes.
13255 if test -n "${ZSH_VERSION+set}" ; then
13256 setopt NO_GLOB_SUBST
13259 cfgfile="${ofile}T"
13260 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13263 cat <<_LT_EOF >> "$cfgfile"
13266 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
13267 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13268 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13269 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13271 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13272 # 2006, 2007, 2008 Free Software Foundation, Inc.
13273 # Written by Gordon Matzigkeit, 1996
13275 # This file is part of GNU Libtool.
13277 # GNU Libtool is free software; you can redistribute it and/or
13278 # modify it under the terms of the GNU General Public License as
13279 # published by the Free Software Foundation; either version 2 of
13280 # the License, or (at your option) any later version.
13282 # As a special exception to the GNU General Public License,
13283 # if you distribute this file as part of a program or library that
13284 # is built using GNU Libtool, you may include this file under the
13285 # same distribution terms that you use for the rest of that program.
13287 # GNU Libtool is distributed in the hope that it will be useful,
13288 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13289 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13290 # GNU General Public License for more details.
13292 # You should have received a copy of the GNU General Public License
13293 # along with GNU Libtool; see the file COPYING. If not, a copy
13294 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13295 # obtained by writing to the Free Software Foundation, Inc.,
13296 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13299 # The names of the tagged configurations supported by this script.
13302 # ### BEGIN LIBTOOL CONFIG
13304 # Which release of libtool.m4 was used?
13305 macro_version=$macro_version
13306 macro_revision=$macro_revision
13308 # Whether or not to build shared libraries.
13309 build_libtool_libs=$enable_shared
13311 # Whether or not to build static libraries.
13312 build_old_libs=$enable_static
13314 # What type of objects to build.
13317 # Whether or not to optimize for fast installation.
13318 fast_install=$enable_fast_install
13321 host_alias=$host_alias
13325 # The build system.
13326 build_alias=$build_alias
13330 # A sed program that does not truncate output.
13333 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13334 Xsed="\$SED -e 1s/^X//"
13336 # A grep program that handles long lines.
13342 # A literal string matcher.
13345 # A BSD- or MS-compatible name lister.
13348 # Whether we need soft or hard links.
13351 # What is the maximum length of a command?
13352 max_cmd_len=$max_cmd_len
13354 # Object file suffix (normally "o").
13357 # Executable file suffix (normally "").
13360 # whether the shell understands "unset".
13363 # turn spaces into newlines.
13366 # turn newlines into spaces.
13369 # How to create reloadable object files.
13370 reload_flag=$lt_reload_flag
13371 reload_cmds=$lt_reload_cmds
13373 # An object symbol dumper.
13374 OBJDUMP=$lt_OBJDUMP
13376 # Method to check whether dependent libraries are shared objects.
13377 deplibs_check_method=$lt_deplibs_check_method
13379 # Command to use when deplibs_check_method == "file_magic".
13380 file_magic_cmd=$lt_file_magic_cmd
13384 AR_FLAGS=$lt_AR_FLAGS
13386 # A symbol stripping program.
13389 # Commands used to install an old-style archive.
13391 old_postinstall_cmds=$lt_old_postinstall_cmds
13392 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13397 # LTCC compiler flags.
13398 LTCFLAGS=$lt_CFLAGS
13400 # Take the output of nm and produce a listing of raw symbols and C names.
13401 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13403 # Transform the output of nm in a proper C declaration.
13404 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13406 # Transform the output of nm in a C name address pair.
13407 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13409 # Transform the output of nm in a C name address pair when lib prefix is needed.
13410 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13412 # The name of the directory that contains temporary libtool files.
13415 # Shell to use when invoking shell scripts.
13418 # An echo program that does not interpret backslashes.
13421 # Used to examine libraries when file_magic_cmd begins with "file".
13422 MAGIC_CMD=$MAGIC_CMD
13424 # Must we lock files when doing compilation?
13425 need_locks=$lt_need_locks
13427 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13428 DSYMUTIL=$lt_DSYMUTIL
13430 # Tool to change global to local symbols on Mac OS X.
13433 # Tool to manipulate fat objects and archives on Mac OS X.
13436 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13439 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13440 OTOOL64=$lt_OTOOL64
13442 # Old archive suffix (normally "a").
13445 # Shared library suffix (normally ".so").
13446 shrext_cmds=$lt_shrext_cmds
13448 # The commands to extract the exported symbol list from a shared archive.
13449 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13451 # Variables whose values should be saved in libtool wrapper scripts and
13452 # restored at link time.
13453 variables_saved_for_relink=$lt_variables_saved_for_relink
13455 # Do we need the "lib" prefix for modules?
13456 need_lib_prefix=$need_lib_prefix
13458 # Do we need a version for libraries?
13459 need_version=$need_version
13461 # Library versioning type.
13462 version_type=$version_type
13464 # Shared library runtime path variable.
13465 runpath_var=$runpath_var
13467 # Shared library path variable.
13468 shlibpath_var=$shlibpath_var
13470 # Is shlibpath searched before the hard-coded library search path?
13471 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13473 # Format of library name prefix.
13474 libname_spec=$lt_libname_spec
13476 # List of archive names. First name is the real one, the rest are links.
13477 # The last name is the one that the linker finds with -lNAME
13478 library_names_spec=$lt_library_names_spec
13480 # The coded name of the library, if different from the real name.
13481 soname_spec=$lt_soname_spec
13483 # Command to use after installation of a shared archive.
13484 postinstall_cmds=$lt_postinstall_cmds
13486 # Command to use after uninstallation of a shared archive.
13487 postuninstall_cmds=$lt_postuninstall_cmds
13489 # Commands used to finish a libtool library installation in a directory.
13490 finish_cmds=$lt_finish_cmds
13492 # As "finish_cmds", except a single script fragment to be evaled but
13494 finish_eval=$lt_finish_eval
13496 # Whether we should hardcode library paths into libraries.
13497 hardcode_into_libs=$hardcode_into_libs
13499 # Compile-time system search path for libraries.
13500 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13502 # Run-time system search path for libraries.
13503 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13505 # Whether dlopen is supported.
13506 dlopen_support=$enable_dlopen
13508 # Whether dlopen of programs is supported.
13509 dlopen_self=$enable_dlopen_self
13511 # Whether dlopen of statically linked programs is supported.
13512 dlopen_self_static=$enable_dlopen_self_static
13514 # Commands to strip libraries.
13515 old_striplib=$lt_old_striplib
13516 striplib=$lt_striplib
13519 # The linker used to build libraries.
13522 # Commands used to build an old-style archive.
13523 old_archive_cmds=$lt_old_archive_cmds
13525 # A language specific compiler.
13528 # Is the compiler the GNU compiler?
13531 # Compiler flag to turn off builtin functions.
13532 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13534 # How to pass a linker flag through the compiler.
13535 wl=$lt_lt_prog_compiler_wl
13537 # Additional compiler flags for building library objects.
13538 pic_flag=$lt_lt_prog_compiler_pic
13540 # Compiler flag to prevent dynamic linking.
13541 link_static_flag=$lt_lt_prog_compiler_static
13543 # Does compiler simultaneously support -c and -o options?
13544 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13546 # Whether or not to add -lc for building shared libraries.
13547 build_libtool_need_lc=$archive_cmds_need_lc
13549 # Whether or not to disallow shared libs when runtime libs are static.
13550 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13552 # Compiler flag to allow reflexive dlopens.
13553 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13555 # Compiler flag to generate shared objects directly from archives.
13556 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13558 # Whether the compiler copes with passing no objects directly.
13559 compiler_needs_object=$lt_compiler_needs_object
13561 # Create an old-style archive from a shared archive.
13562 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13564 # Create a temporary old-style archive to link instead of a shared archive.
13565 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13567 # Commands used to build a shared archive.
13568 archive_cmds=$lt_archive_cmds
13569 archive_expsym_cmds=$lt_archive_expsym_cmds
13571 # Commands used to build a loadable module if different from building
13572 # a shared archive.
13573 module_cmds=$lt_module_cmds
13574 module_expsym_cmds=$lt_module_expsym_cmds
13576 # Whether we are building with GNU ld or not.
13577 with_gnu_ld=$lt_with_gnu_ld
13579 # Flag that allows shared libraries with undefined symbols to be built.
13580 allow_undefined_flag=$lt_allow_undefined_flag
13582 # Flag that enforces no undefined symbols.
13583 no_undefined_flag=$lt_no_undefined_flag
13585 # Flag to hardcode \$libdir into a binary during linking.
13586 # This must work even if \$libdir does not exist
13587 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13589 # If ld is used when linking, flag to hardcode \$libdir into a binary
13590 # during linking. This must work even if \$libdir does not exist.
13591 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13593 # Whether we need a single "-rpath" flag with a separated argument.
13594 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13596 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13597 # DIR into the resulting binary.
13598 hardcode_direct=$hardcode_direct
13600 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13601 # DIR into the resulting binary and the resulting library dependency is
13602 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13603 # library is relocated.
13604 hardcode_direct_absolute=$hardcode_direct_absolute
13606 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13607 # into the resulting binary.
13608 hardcode_minus_L=$hardcode_minus_L
13610 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13611 # into the resulting binary.
13612 hardcode_shlibpath_var=$hardcode_shlibpath_var
13614 # Set to "yes" if building a shared library automatically hardcodes DIR
13615 # into the library and all subsequent libraries and executables linked
13617 hardcode_automatic=$hardcode_automatic
13619 # Set to yes if linker adds runtime paths of dependent libraries
13620 # to runtime path list.
13621 inherit_rpath=$inherit_rpath
13623 # Whether libtool must link a program against all its dependency libraries.
13624 link_all_deplibs=$link_all_deplibs
13626 # Fix the shell variable \$srcfile for the compiler.
13627 fix_srcfile_path=$lt_fix_srcfile_path
13629 # Set to "yes" if exported symbols are required.
13630 always_export_symbols=$always_export_symbols
13632 # The commands to list exported symbols.
13633 export_symbols_cmds=$lt_export_symbols_cmds
13635 # Symbols that should not be listed in the preloaded symbols.
13636 exclude_expsyms=$lt_exclude_expsyms
13638 # Symbols that must always be exported.
13639 include_expsyms=$lt_include_expsyms
13641 # Commands necessary for linking programs (against libraries) with templates.
13642 prelink_cmds=$lt_prelink_cmds
13644 # Specify filename containing input files.
13645 file_list_spec=$lt_file_list_spec
13647 # How to hardcode a shared library path into an executable.
13648 hardcode_action=$hardcode_action
13650 # ### END LIBTOOL CONFIG
13656 cat <<\_LT_EOF >> "$cfgfile"
13657 # AIX sometimes has problems with the GCC collect2 program. For some
13658 # reason, if we set the COLLECT_NAMES environment variable, the problems
13659 # vanish in a puff of smoke.
13660 if test "X${COLLECT_NAMES+set}" != Xset; then
13662 export COLLECT_NAMES
13669 ltmain="$ac_aux_dir/ltmain.sh"
13672 # We use sed instead of cat because bash on DJGPP gets confused if
13673 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13674 # text mode, it properly converts lines to CR/LF. This bash problem
13675 # is reportedly fixed, but why not run on old versions too?
13676 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13677 ||
(rm -f "$cfgfile"; exit 1)
13681 cat << \_LT_EOF
>> "$cfgfile"
13683 # func_dirname file append nondir_replacement
13684 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13685 # otherwise set result to NONDIR_REPLACEMENT.
13689 */*) func_dirname_result
="${1%/*}${2}" ;;
13690 * ) func_dirname_result
="${3}" ;;
13694 # func_basename file
13697 func_basename_result
="${1##*/}"
13700 # func_dirname_and_basename file append nondir_replacement
13701 # perform func_basename and func_dirname in a single function
13703 # dirname: Compute the dirname of FILE. If nonempty,
13704 # add APPEND to the result, otherwise set result
13705 # to NONDIR_REPLACEMENT.
13706 # value returned in "$func_dirname_result"
13707 # basename: Compute filename of FILE.
13708 # value retuned in "$func_basename_result"
13709 # Implementation must be kept synchronized with func_dirname
13710 # and func_basename. For efficiency, we do not delegate to
13711 # those functions but instead duplicate the functionality here.
13712 func_dirname_and_basename
()
13715 */*) func_dirname_result
="${1%/*}${2}" ;;
13716 * ) func_dirname_result
="${3}" ;;
13718 func_basename_result
="${1##*/}"
13721 # func_stripname prefix suffix name
13722 # strip PREFIX and SUFFIX off of NAME.
13723 # PREFIX and SUFFIX must not contain globbing or regex special
13724 # characters, hashes, percent signs, but SUFFIX may contain a leading
13725 # dot (in which case that matches only a dot).
13728 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13729 # positional parameters, so assign one to ordinary parameter first.
13730 func_stripname_result
=${3}
13731 func_stripname_result
=${func_stripname_result#"${1}"}
13732 func_stripname_result
=${func_stripname_result%"${2}"}
13738 func_opt_split_opt
=${1%%=*}
13739 func_opt_split_arg
=${1#*=}
13746 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13747 *) func_lo2o_result
=${1} ;;
13751 # func_xform libobj-or-source
13754 func_xform_result
=${1%.*}.lo
13757 # func_arith arithmetic-term...
13760 func_arith_result
=$
(( $
* ))
13764 # STRING may not start with a hyphen.
13767 func_len_result
=${#1}
13772 *) # Bourne compatible functions.
13773 cat << \_LT_EOF
>> "$cfgfile"
13775 # func_dirname file append nondir_replacement
13776 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13777 # otherwise set result to NONDIR_REPLACEMENT.
13780 # Extract subdirectory from the argument.
13781 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13782 if test "X$func_dirname_result" = "X${1}"; then
13783 func_dirname_result
="${3}"
13785 func_dirname_result
="$func_dirname_result${2}"
13789 # func_basename file
13792 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13796 # func_stripname prefix suffix name
13797 # strip PREFIX and SUFFIX off of NAME.
13798 # PREFIX and SUFFIX must not contain globbing or regex special
13799 # characters, hashes, percent signs, but SUFFIX may contain a leading
13800 # dot (in which case that matches only a dot).
13801 # func_strip_suffix prefix name
13805 .
*) func_stripname_result
=`$ECHO "X${3}" \
13806 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13807 *) func_stripname_result
=`$ECHO "X${3}" \
13808 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13813 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13814 my_sed_long_arg
='1s/^-[^=]*=//'
13819 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13820 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13826 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13829 # func_xform libobj-or-source
13832 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13835 # func_arith arithmetic-term...
13838 func_arith_result
=`expr "$@"`
13842 # STRING may not start with a hyphen.
13845 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13851 case $lt_shell_append in
13853 cat << \_LT_EOF
>> "$cfgfile"
13855 # func_append var value
13856 # Append VALUE to the end of shell variable VAR.
13864 cat << \_LT_EOF
>> "$cfgfile"
13866 # func_append var value
13867 # Append VALUE to the end of shell variable VAR.
13878 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13879 ||
(rm -f "$cfgfile"; exit 1)
13881 mv -f "$cfgfile" "$ofile" ||
13882 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13893 ac_clean_files
=$ac_clean_files_save
13895 test $ac_write_fail = 0 ||
13896 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13899 # configure is writing to config.log, and then calls config.status.
13900 # config.status does its own redirection, appending to config.log.
13901 # Unfortunately, on DOS this fails, as config.log is still kept open
13902 # by configure, so config.status won't be able to write to it; its
13903 # output is simply discarded. So we exec the FD to /dev/null,
13904 # effectively closing config.log, so it can be properly (re)opened and
13905 # appended to by config.status. When coming back to configure, we
13906 # need to make the FD available again.
13907 if test "$no_create" != yes; then
13909 ac_config_status_args
=
13910 test "$silent" = yes &&
13911 ac_config_status_args
="$ac_config_status_args --quiet"
13913 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13915 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13916 # would make configure fail if this is the last instruction.
13917 $ac_cs_success || as_fn_exit
1
13919 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13921 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}