2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for sqlite 3.7.14.1.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 # Check that we are running under the correct shell.
539 SHELL
=${CONFIG_SHELL-/bin/sh}
543 # Remove one level of quotation (which was required for Make).
544 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
549 if test "X$1" = X--no-reexec
; then
550 # Discard the --no-reexec flag, and continue.
552 elif test "X$1" = X--fallback-echo
; then
553 # Avoid inline document here, it may be left over
555 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
556 # Yippee, $ECHO works!
559 # Restart under the correct shell.
560 exec $SHELL "$0" --no-reexec ${1+"$@"}
563 if test "X$1" = X--fallback-echo
; then
564 # used as fallback echo
572 # The HP-UX ksh and POSIX shell print the target directory to stdout
574 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
576 if test -z "$lt_ECHO"; then
577 if test "X${echo_test_string+set}" != Xset
; then
578 # find a string as large as possible, as long as the shell can cope with it
579 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
582 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
589 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
590 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
591 test "X$echo_testing_string" = "X$echo_test_string"; then
594 # The Solaris, AIX, and Digital Unix default echo programs unquote
595 # backslashes. This makes it impossible to quote backslashes using
596 # echo "$something" | sed 's/\\/\\\\/g'
598 # So, first we look for a working echo in the user's PATH.
600 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
601 for dir
in $PATH /usr
/ucb
; do
603 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
604 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
605 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
613 if test "X$ECHO" = Xecho
; then
614 # We didn't find a better echo, so look for alternatives.
615 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
616 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
617 test "X$echo_testing_string" = "X$echo_test_string"; then
618 # This shell has a builtin print -r that does the trick.
620 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
621 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
622 # If we have ksh, try running configure again with it.
623 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
624 export ORIGINAL_CONFIG_SHELL
625 CONFIG_SHELL
=/bin
/ksh
627 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
631 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
636 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 test "X$echo_testing_string" = 'X\t' &&
638 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 test "X$echo_testing_string" = "X$echo_test_string"; then
640 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
642 SHELL
="$CONFIG_SHELL"
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
645 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
646 test "X$echo_testing_string" = 'X\t' &&
647 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
649 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
651 # maybe with a smaller string...
654 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
655 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
662 if test "$prev" != 'sed 50q "$0"'; then
663 echo_test_string
=`eval $prev`
664 export echo_test_string
665 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
667 # Oops. We lost completely, so just stick with echo.
676 # Copy echo and quote the copy suitably for passing to libtool from
677 # the Makefile, instead of quoting the original, which is used later.
679 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
680 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
686 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
690 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
691 # so uname gets run too.
692 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
697 ac_default_prefix
=/usr
/local
699 ac_config_libobj_dir
=.
706 # Identity of this package.
707 PACKAGE_NAME
='sqlite'
708 PACKAGE_TARNAME
='sqlite'
709 PACKAGE_VERSION
='3.7.14.1'
710 PACKAGE_STRING
='sqlite 3.7.14.1'
714 # Factoring default headers for most tests.
715 ac_includes_default
="\
717 #ifdef HAVE_SYS_TYPES_H
718 # include <sys/types.h>
720 #ifdef HAVE_SYS_STAT_H
721 # include <sys/stat.h>
727 # ifdef HAVE_STDLIB_H
732 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
737 #ifdef HAVE_STRINGS_H
738 # include <strings.h>
740 #ifdef HAVE_INTTYPES_H
741 # include <inttypes.h>
750 ac_subst_vars
='LTLIBOBJS
855 program_transform_name
868 enable_option_checking
878 enable_cross_thread_connections
888 enable_load_extension
891 ac_precious_vars
='build_alias
903 # Initialize some variables set by options.
905 ac_init_version
=false
906 ac_unrecognized_opts
=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
917 program_transform_name
=s
,x
,x
,
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir
='${exec_prefix}/bin'
932 sbindir
='${exec_prefix}/sbin'
933 libexecdir
='${exec_prefix}/libexec'
934 datarootdir
='${prefix}/share'
935 datadir
='${datarootdir}'
936 sysconfdir
='${prefix}/etc'
937 sharedstatedir
='${prefix}/com'
938 localstatedir
='${prefix}/var'
939 includedir
='${prefix}/include'
940 oldincludedir
='/usr/include'
941 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir
='${datarootdir}/info'
947 libdir
='${exec_prefix}/lib'
948 localedir
='${datarootdir}/locale'
949 mandir
='${datarootdir}/man'
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\
$ac_option
963 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
968 # Accept the important Cygnus configure options, so we can diagnose typos.
970 case $ac_dashdash$ac_option in
974 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
976 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
979 -build |
--build |
--buil |
--bui |
--bu)
980 ac_prev
=build_alias
;;
981 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
982 build_alias
=$ac_optarg ;;
984 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
985 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
986 ac_prev
=cache_file
;;
987 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
988 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
989 cache_file
=$ac_optarg ;;
992 cache_file
=config.cache
;;
994 -datadir |
--datadir |
--datadi |
--datad)
996 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
997 datadir
=$ac_optarg ;;
999 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1000 |
--dataroo |
--dataro |
--datar)
1001 ac_prev
=datarootdir
;;
1002 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1003 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1004 datarootdir
=$ac_optarg ;;
1006 -disable-* |
--disable-*)
1007 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1010 as_fn_error $?
"invalid feature name: $ac_useropt"
1011 ac_useropt_orig
=$ac_useropt
1012 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "enable_
$ac_useropt"
1017 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1018 ac_unrecognized_sep
=', ';;
1020 eval enable_
$ac_useropt=no
;;
1022 -docdir |
--docdir |
--docdi |
--doc |
--do)
1024 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1025 docdir
=$ac_optarg ;;
1027 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1029 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1030 dvidir
=$ac_optarg ;;
1032 -enable-* |
--enable-*)
1033 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error $?
"invalid feature name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_
$ac_useropt"
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval enable_
$ac_useropt=\
$ac_optarg ;;
1048 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1049 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1050 |
--exec |
--exe |
--ex)
1051 ac_prev
=exec_prefix
;;
1052 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1053 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1054 |
--exec=* |
--exe=* |
--ex=*)
1055 exec_prefix
=$ac_optarg ;;
1057 -gas |
--gas |
--ga |
--g)
1058 # Obsolete; use --with-gas.
1061 -help |
--help |
--hel |
--he |
-h)
1062 ac_init_help
=long
;;
1063 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1064 ac_init_help
=recursive
;;
1065 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1066 ac_init_help
=short
;;
1068 -host |
--host |
--hos |
--ho)
1069 ac_prev
=host_alias
;;
1070 -host=* |
--host=* |
--hos=* |
--ho=*)
1071 host_alias
=$ac_optarg ;;
1073 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1075 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1077 htmldir
=$ac_optarg ;;
1079 -includedir |
--includedir |
--includedi |
--included |
--include \
1080 |
--includ |
--inclu |
--incl |
--inc)
1081 ac_prev
=includedir
;;
1082 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1083 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1084 includedir
=$ac_optarg ;;
1086 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1088 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1089 infodir
=$ac_optarg ;;
1091 -libdir |
--libdir |
--libdi |
--libd)
1093 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1094 libdir
=$ac_optarg ;;
1096 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1097 |
--libexe |
--libex |
--libe)
1098 ac_prev
=libexecdir
;;
1099 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1100 |
--libexe=* |
--libex=* |
--libe=*)
1101 libexecdir
=$ac_optarg ;;
1103 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1104 ac_prev
=localedir
;;
1105 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1106 localedir
=$ac_optarg ;;
1108 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1109 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1110 ac_prev
=localstatedir
;;
1111 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1112 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1113 localstatedir
=$ac_optarg ;;
1115 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1117 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1118 mandir
=$ac_optarg ;;
1120 -nfp |
--nfp |
--nf)
1121 # Obsolete; use --without-fp.
1124 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1125 |
--no-cr |
--no-c |
-n)
1128 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1129 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1132 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1133 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1134 |
--oldin |
--oldi |
--old |
--ol |
--o)
1135 ac_prev
=oldincludedir
;;
1136 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1137 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1138 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1139 oldincludedir
=$ac_optarg ;;
1141 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1143 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1144 prefix
=$ac_optarg ;;
1146 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1147 |
--program-pre |
--program-pr |
--program-p)
1148 ac_prev
=program_prefix
;;
1149 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1150 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1151 program_prefix
=$ac_optarg ;;
1153 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1154 |
--program-suf |
--program-su |
--program-s)
1155 ac_prev
=program_suffix
;;
1156 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1157 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1158 program_suffix
=$ac_optarg ;;
1160 -program-transform-name |
--program-transform-name \
1161 |
--program-transform-nam |
--program-transform-na \
1162 |
--program-transform-n |
--program-transform- \
1163 |
--program-transform |
--program-transfor \
1164 |
--program-transfo |
--program-transf \
1165 |
--program-trans |
--program-tran \
1166 |
--progr-tra |
--program-tr |
--program-t)
1167 ac_prev
=program_transform_name
;;
1168 -program-transform-name=* |
--program-transform-name=* \
1169 |
--program-transform-nam=* |
--program-transform-na=* \
1170 |
--program-transform-n=* |
--program-transform-=* \
1171 |
--program-transform=* |
--program-transfor=* \
1172 |
--program-transfo=* |
--program-transf=* \
1173 |
--program-trans=* |
--program-tran=* \
1174 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1175 program_transform_name
=$ac_optarg ;;
1177 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1179 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1180 pdfdir
=$ac_optarg ;;
1182 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1184 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1187 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1188 |
-silent |
--silent |
--silen |
--sile |
--sil)
1191 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1193 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1195 sbindir
=$ac_optarg ;;
1197 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1198 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1199 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1201 ac_prev
=sharedstatedir
;;
1202 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1203 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1204 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1206 sharedstatedir
=$ac_optarg ;;
1208 -site |
--site |
--sit)
1210 -site=* |
--site=* |
--sit=*)
1213 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1215 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1216 srcdir
=$ac_optarg ;;
1218 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1219 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1220 ac_prev
=sysconfdir
;;
1221 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1222 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1223 sysconfdir
=$ac_optarg ;;
1225 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1226 ac_prev
=target_alias
;;
1227 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1228 target_alias
=$ac_optarg ;;
1230 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1233 -version |
--version |
--versio |
--versi |
--vers |
-V)
1234 ac_init_version
=: ;;
1237 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=\
$ac_optarg ;;
1252 -without-* |
--without-*)
1253 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1256 as_fn_error $?
"invalid package name: $ac_useropt"
1257 ac_useropt_orig
=$ac_useropt
1258 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264 ac_unrecognized_sep
=', ';;
1266 eval with_
$ac_useropt=no
;;
1269 # Obsolete; use --with-x.
1272 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1273 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1274 ac_prev
=x_includes
;;
1275 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1276 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1277 x_includes
=$ac_optarg ;;
1279 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1280 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1281 ac_prev
=x_libraries
;;
1282 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1283 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1284 x_libraries
=$ac_optarg ;;
1286 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1287 Try \`$0 --help' for more information"
1291 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1292 # Reject names that are not valid shell variable names.
1293 case $ac_envvar in #(
1294 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1295 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1297 eval $ac_envvar=\
$ac_optarg
1298 export $ac_envvar ;;
1301 # FIXME: should be removed in autoconf 3.0.
1302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1311 if test -n "$ac_prev"; then
1312 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1313 as_fn_error $?
"missing argument to $ac_option"
1316 if test -n "$ac_unrecognized_opts"; then
1317 case $enable_option_checking in
1319 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1324 # Check all directory arguments for consistency.
1325 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326 datadir sysconfdir sharedstatedir localstatedir includedir \
1327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328 libdir localedir mandir
1330 eval ac_val
=\$
$ac_var
1331 # Remove trailing slashes.
1334 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1335 eval $ac_var=\
$ac_val;;
1337 # Be sure to have absolute directory names.
1339 [\\/$
]* | ?
:[\\/]* ) continue;;
1340 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1342 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1345 # There might be people who depend on the old broken behavior: `$host'
1346 # used to hold the argument of --host etc.
1347 # FIXME: To remove some day.
1350 target
=$target_alias
1352 # FIXME: To remove some day.
1353 if test "x$host_alias" != x
; then
1354 if test "x$build_alias" = x
; then
1355 cross_compiling
=maybe
1356 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1357 If a cross compiler is detected then cross compile mode will be used" >&2
1358 elif test "x$build_alias" != "x$host_alias"; then
1364 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1366 test "$silent" = yes && exec 6>/dev
/null
1369 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1370 ac_ls_di
=`ls -di .` &&
1371 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1372 as_fn_error $?
"working directory cannot be determined"
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374 as_fn_error $?
"pwd does not report name of working directory"
1377 # Find the source files, if location was not specified.
1378 if test -z "$srcdir"; then
1379 ac_srcdir_defaulted
=yes
1380 # Try the directory containing this script, then the parent directory.
1381 ac_confdir
=`$as_dirname -- "$as_myself" ||
1382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1383 X"$as_myself" : 'X\(//\)[^/]' \| \
1384 X"$as_myself" : 'X\(//\)$' \| \
1385 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1386 $as_echo X"$as_myself" |
1387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1409 ac_srcdir_defaulted
=no
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1413 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1415 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1417 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1419 # When building in place, set srcdir=.
1420 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 # Remove unnecessary trailing slashes from srcdir.
1424 # Double slashes in file names in object file debugging info
1425 # mess up M-x gdb in Emacs.
1427 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429 for ac_var
in $ac_precious_vars; do
1430 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1431 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1432 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1433 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1437 # Report the --help message.
1439 if test "$ac_init_help" = "long"; then
1440 # Omit some internal or obsolete options to make the list less imposing.
1441 # This message is too long to be a string in the A/UX 3.1 sh.
1443 \`configure' configures sqlite 3.7.14.1 to adapt to many kinds of systems.
1445 Usage: $0 [OPTION]... [VAR=VALUE]...
1447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1448 VAR=VALUE. See below for descriptions of some of the useful variables.
1450 Defaults for the options are specified in brackets.
1453 -h, --help display this help and exit
1454 --help=short display options specific to this package
1455 --help=recursive display the short help of all the included packages
1456 -V, --version display version information and exit
1457 -q, --quiet, --silent do not print \`checking ...' messages
1458 --cache-file=FILE cache test results in FILE [disabled]
1459 -C, --config-cache alias for \`--cache-file=config.cache'
1460 -n, --no-create do not create output files
1461 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1463 Installation directories:
1464 --prefix=PREFIX install architecture-independent files in PREFIX
1465 [$ac_default_prefix]
1466 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 By default, \`make install' will install all the files in
1470 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1471 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1472 for instance \`--prefix=\$HOME'.
1474 For better control, use the options below.
1476 Fine tuning of the installation directories:
1477 --bindir=DIR user executables [EPREFIX/bin]
1478 --sbindir=DIR system admin executables [EPREFIX/sbin]
1479 --libexecdir=DIR program executables [EPREFIX/libexec]
1480 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1481 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1482 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1483 --libdir=DIR object code libraries [EPREFIX/lib]
1484 --includedir=DIR C header files [PREFIX/include]
1485 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1486 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1487 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1488 --infodir=DIR info documentation [DATAROOTDIR/info]
1489 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1490 --mandir=DIR man documentation [DATAROOTDIR/man]
1491 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1492 --htmldir=DIR html documentation [DOCDIR]
1493 --dvidir=DIR dvi documentation [DOCDIR]
1494 --pdfdir=DIR pdf documentation [DOCDIR]
1495 --psdir=DIR ps documentation [DOCDIR]
1501 --build=BUILD configure
for building on BUILD
[guessed
]
1502 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short | recursive
) echo "Configuration of sqlite 3.7.14.1:";;
1513 --disable-option-checking ignore unrecognized
--enable/--with options
1514 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1515 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1516 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1517 --enable-static[=PKGS
] build static libraries
[default
=yes]
1518 --enable-fast-install[=PKGS
]
1519 optimize
for fast installation
[default
=yes]
1520 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1521 --disable-largefile omit support
for large files
1522 --enable-threadsafe Support threadsafe operation
1523 --enable-cross-thread-connections
1524 Allow connection sharing across threads
1525 --enable-releasemode Support libtool link to release mode
1526 --enable-tempstore Use an in-ram database
for temporary tables
1527 (never
,no
,yes,always
)
1528 --disable-tcl do not build TCL extension
1529 --disable-readline disable readline support
[default
=detect
]
1530 --enable-debug enable debugging
& verbose explain
1531 --disable-amalgamation Disable the amalgamation and instead build all files
1533 --enable-load-extension Enable loading of external extensions
1534 --enable-gcov Enable coverage testing using gcov
1537 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1538 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1539 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1541 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1542 --with-hints=FILE Read configuration options from FILE
1543 --with-tcl=DIR directory containing tcl configuration
1545 --with-readline-lib specify readline library
1546 --with-readline-inc specify readline include paths
1548 Some influential environment variables
:
1549 CC C compiler
command
1550 CFLAGS C compiler flags
1551 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1552 nonstandard directory
<lib dir
>
1553 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1554 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1555 you have headers
in a nonstandard directory
<include dir
>
1557 TCLLIBDIR Where to
install tcl plugin
1559 Use these variables to override the choices made by
`configure' or to help
1560 it to find libraries and programs with nonstandard names/locations.
1562 Report bugs to the package provider.
1567 if test "$ac_init_help" = "recursive"; then
1568 # If there are subdirs, report their specific --help.
1569 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1570 test -d "$ac_dir" ||
1571 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1578 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1579 # A ".." for each directory in $ac_dir_suffix.
1580 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1581 case $ac_top_builddir_sub in
1582 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1583 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1586 ac_abs_top_builddir=$ac_pwd
1587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1588 # for backward compatibility:
1589 ac_top_builddir=$ac_top_build_prefix
1592 .) # We are building in place.
1594 ac_top_srcdir=$ac_top_builddir_sub
1595 ac_abs_top_srcdir=$ac_pwd ;;
1596 [\\/]* | ?:[\\/]* ) # Absolute name.
1597 ac_srcdir=$srcdir$ac_dir_suffix;
1598 ac_top_srcdir=$srcdir
1599 ac_abs_top_srcdir=$srcdir ;;
1601 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1602 ac_top_srcdir=$ac_top_build_prefix$srcdir
1603 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1607 cd "$ac_dir" || { ac_status=$?; continue; }
1608 # Check for guested configure.
1609 if test -f "$ac_srcdir/configure.gnu"; then
1611 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1612 elif test -f "$ac_srcdir/configure"; then
1614 $SHELL "$ac_srcdir/configure" --help=recursive
1616 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1618 cd "$ac_pwd" || { ac_status=$?; break; }
1622 test -n "$ac_init_help" && exit $ac_status
1623 if $ac_init_version; then
1625 sqlite configure 3.7.14.1
1626 generated by GNU Autoconf 2.68
1628 Copyright (C) 2010 Free Software Foundation, Inc.
1629 This configure script is free software; the Free Software Foundation
1630 gives unlimited permission to copy, distribute and modify it.
1635 ## ------------------------ ##
1636 ## Autoconf initialization. ##
1637 ## ------------------------ ##
1639 # ac_fn_c_try_compile LINENO
1640 # --------------------------
1641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1642 ac_fn_c_try_compile ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 rm -f conftest.$ac_objext
1646 if { { ac_try="$ac_compile"
1648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1649 *) ac_try_echo
=$ac_try;;
1651 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_compile") 2>conftest.err
1655 if test -s conftest.err
; then
1656 grep -v '^ *+' conftest.err
>conftest.er1
1657 cat conftest.er1
>&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } && {
1662 test -z "$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1664 } && test -s conftest.
$ac_objext; then :
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.
$ac_ext >&5
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status
$ac_retval
1675 } # ac_fn_c_try_compile
1677 # ac_fn_c_try_link LINENO
1678 # -----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded.
1682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1683 rm -f conftest.
$ac_objext conftest
$ac_exeext
1684 if { { ac_try
="$ac_link"
1686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest$ac_exeext && {
1703 test "$cross_compiling" = yes ||
1704 $as_test_x conftest$ac_exeext
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1713 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1714 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1715 # interfere with the next link command; also delete a directory that is
1716 # left behind by Apple's compiler. We do this before executing the actions.
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 as_fn_set_status $ac_retval
1721 } # ac_fn_c_try_link
1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1724 # -------------------------------------------------------
1725 # Tests whether HEADER exists and can be compiled using the include files in
1726 # INCLUDES, setting the cache variable VAR accordingly.
1727 ac_fn_c_check_header_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1740 if ac_fn_c_try_compile "$LINENO"; then :
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_header_compile
1754 # ac_fn_c_try_cpp LINENO
1755 # ----------------------
1756 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { { ac_try="$ac_cpp conftest.$ac_ext"
1762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1763 *) ac_try_echo
=$ac_try;;
1765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1769 if test -s conftest.err
; then
1770 grep -v '^ *+' conftest.err
>conftest.er1
1771 cat conftest.er1
>&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } > conftest.i
&& {
1776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1777 test ! -s conftest.err
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.
$ac_ext >&5
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status
$ac_retval
1791 # ac_fn_c_try_run LINENO
1792 # ----------------------
1793 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1794 # that executables *can* be run.
1797 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1798 if { { ac_try
="$ac_link"
1800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_link") 2>&5
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1809 { { case "(($ac_try" in
1810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1811 *) ac_try_echo
=$ac_try;;
1813 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_try") 2>&5
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; }; }; then :
1821 $as_echo "$as_me: program exited with status $ac_status" >&5
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.
$ac_ext >&5
1825 ac_retval
=$ac_status
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status
$ac_retval
1833 # ac_fn_c_check_func LINENO FUNC VAR
1834 # ----------------------------------
1835 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1836 ac_fn_c_check_func
()
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval \
${$3+:} false
; then :
1842 $as_echo_n "(cached) " >&6
1844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1848 #define $2 innocuous_$2
1850 /* System header to define __stub macros and hopefully few prototypes,
1851 which can conflict with char $2 (); below.
1852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1853 <limits.h> exists even on freestanding compilers. */
1856 # include <limits.h>
1858 # include <assert.h>
1863 /* Override any GCC internal prototype to avoid an error.
1864 Use char because int might match the return type of a GCC
1865 builtin and then its argument prototype would still apply. */
1870 /* The GNU C library defines this for functions which it implements
1871 to always fail with ENOSYS. Some functions are actually named
1872 something starting with __ and the normal name is an alias. */
1873 #if defined __stub_$2 || defined __stub___$2
1885 if ac_fn_c_try_link
"$LINENO"; then :
1890 rm -f core conftest.err conftest.
$ac_objext \
1891 conftest
$ac_exeext conftest.
$ac_ext
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898 } # ac_fn_c_check_func
1900 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1901 # -------------------------------------------
1902 # Tests whether TYPE exists after having included INCLUDES, setting cache
1903 # variable VAR accordingly.
1904 ac_fn_c_check_type
()
1906 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1908 $as_echo_n "checking for $2... " >&6; }
1909 if eval \
${$3+:} false
; then :
1910 $as_echo_n "(cached) " >&6
1913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1925 if ac_fn_c_try_compile
"$LINENO"; then :
1926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1938 if ac_fn_c_try_compile
"$LINENO"; then :
1943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_type
1954 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1955 # -------------------------------------------------------
1956 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1957 # the include files in INCLUDES and setting the cache variable VAR
1959 ac_fn_c_check_header_mongrel
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 if eval \
${$3+:} false
; then :
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if eval \
${$3+:} false
; then :
1966 $as_echo_n "(cached) " >&6
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1972 # Is the header compilable?
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1974 $as_echo_n "checking $2 usability... " >&6; }
1975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1980 if ac_fn_c_try_compile
"$LINENO"; then :
1981 ac_header_compiler
=yes
1983 ac_header_compiler
=no
1985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1987 $as_echo "$ac_header_compiler" >&6; }
1989 # Is the header present?
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1991 $as_echo_n "checking $2 presence... " >&6; }
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1996 if ac_fn_c_try_cpp
"$LINENO"; then :
1997 ac_header_preproc
=yes
1999 ac_header_preproc
=no
2001 rm -f conftest.err conftest.i conftest.
$ac_ext
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2003 $as_echo "$ac_header_preproc" >&6; }
2005 # So? What about this header?
2006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2009 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2015 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2017 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2019 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2021 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if eval \
${$3+:} false
; then :
2029 $as_echo_n "(cached) " >&6
2031 eval "$3=\$ac_header_compiler"
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039 } # ac_fn_c_check_header_mongrel
2040 cat >config.log
<<_ACEOF
2041 This file contains any messages produced by compilers while
2042 running configure, to aid debugging if configure makes a mistake.
2044 It was created by sqlite $as_me 3.7.14.1, which was
2045 generated by GNU Autoconf 2.68. Invocation command line was
2057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 $as_echo "PATH: $as_dir"
2097 # Keep a trace of the command line.
2098 # Strip out --no-create and --no-recursion so they do not pile up.
2099 # Strip out --silent because we don't want to record it for future runs.
2100 # Also quote any args containing shell meta-characters.
2101 # Make two passes to allow for proper duplicate-argument suppression.
2105 ac_must_keep_next
=false
2111 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2112 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2113 |
-silent |
--silent |
--silen |
--sile |
--sil)
2116 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2119 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2121 as_fn_append ac_configure_args1
" '$ac_arg'"
2122 if test $ac_must_keep_next = true
; then
2123 ac_must_keep_next
=false
# Got value, back to normal.
2126 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2127 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2128 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2129 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2130 case "$ac_configure_args0 " in
2131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2134 -* ) ac_must_keep_next
=true
;;
2137 as_fn_append ac_configure_args
" '$ac_arg'"
2142 { ac_configure_args0
=; unset ac_configure_args0
;}
2143 { ac_configure_args1
=; unset ac_configure_args1
;}
2145 # When interrupted or exit'd, cleanup temporary files, and complete
2146 # config.log. We remove comments because anyway the quotes in there
2147 # would cause problems or look ugly.
2148 # WARNING: Use '\'' to represent an apostrophe within the trap.
2149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2150 trap 'exit_status=$?
2151 # Save into config.log some information that might help in debugging.
2155 $as_echo "## ---------------- ##
2156 ## Cache variables. ##
2157 ## ---------------- ##"
2159 # The following way of writing the cache mishandles newlines in values,
2161 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2162 eval ac_val=\$$ac_var
2166 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2167 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2170 _ | IFS | as_nl) ;; #(
2171 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2172 *) { eval $ac_var=; unset $ac_var;} ;;
2177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2178 *${as_nl}ac_space=\ *)
2180 "s/'\''/'\''\\\\'\'''\''/g;
2181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2191 $as_echo "## ----------------- ##
2192 ## Output variables. ##
2193 ## ----------------- ##"
2195 for ac_var in $ac_subst_vars
2197 eval ac_val=\$$ac_var
2199 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 $as_echo "$ac_var='\''$ac_val'\''"
2205 if test -n "$ac_subst_files"; then
2206 $as_echo "## ------------------- ##
2207 ## File substitutions. ##
2208 ## ------------------- ##"
2210 for ac_var
in $ac_subst_files
2212 eval ac_val
=\$
$ac_var
2214 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216 $as_echo "$ac_var='\''$ac_val'\''"
2221 if test -s confdefs.h; then
2222 $as_echo "## ----------- ##
2229 test "$ac_signal" != 0 &&
2230 $as_echo "$as_me: caught signal $ac_signal"
2231 $as_echo "$as_me: exit $exit_status"
2233 rm -f core *.core core.conftest.* &&
2234 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2237 for ac_signal
in 1 2 13 15; do
2238 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2242 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2243 rm -f -r conftest
* confdefs.h
2245 $as_echo "/* confdefs.h */" > confdefs.h
2247 # Predefined preprocessor variables.
2249 cat >>confdefs.h
<<_ACEOF
2250 #define PACKAGE_NAME "$PACKAGE_NAME"
2253 cat >>confdefs.h
<<_ACEOF
2254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2261 cat >>confdefs.h
<<_ACEOF
2262 #define PACKAGE_STRING "$PACKAGE_STRING"
2265 cat >>confdefs.h
<<_ACEOF
2266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2269 cat >>confdefs.h
<<_ACEOF
2270 #define PACKAGE_URL "$PACKAGE_URL"
2274 # Let the site file select an alternate cache file if it wants to.
2275 # Prefer an explicitly selected file to automatically selected ones.
2278 if test -n "$CONFIG_SITE"; then
2279 # We do not want a PATH search for config.site.
2280 case $CONFIG_SITE in #((
2281 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2282 */*) ac_site_file1
=$CONFIG_SITE;;
2283 *) ac_site_file1
=.
/$CONFIG_SITE;;
2285 elif test "x$prefix" != xNONE
; then
2286 ac_site_file1
=$prefix/share
/config.site
2287 ac_site_file2
=$prefix/etc
/config.site
2289 ac_site_file1
=$ac_default_prefix/share
/config.site
2290 ac_site_file2
=$ac_default_prefix/etc
/config.site
2292 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2294 test "x$ac_site_file" = xNONE
&& continue
2295 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2297 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2298 sed 's/^/| /' "$ac_site_file" >&5
2300 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302 as_fn_error $?
"failed to load site script $ac_site_file
2303 See \`config.log' for more details" "$LINENO" 5; }
2307 if test -r "$cache_file"; then
2308 # Some versions of bash will fail to source /dev/null (special files
2309 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2310 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2312 $as_echo "$as_me: loading cache $cache_file" >&6;}
2314 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2315 *) .
"./$cache_file";;
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2320 $as_echo "$as_me: creating cache $cache_file" >&6;}
2324 # Check that the precious variables saved in the cache have kept the same
2326 ac_cache_corrupted
=false
2327 for ac_var
in $ac_precious_vars; do
2328 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2329 eval ac_new_set
=\
$ac_env_${ac_var}_set
2330 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2331 eval ac_new_val
=\
$ac_env_${ac_var}_value
2332 case $ac_old_set,$ac_new_set in
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2335 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2336 ac_cache_corrupted
=: ;;
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2339 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2340 ac_cache_corrupted
=: ;;
2343 if test "x$ac_old_val" != "x$ac_new_val"; then
2344 # differences in whitespace do not lead to failure.
2345 ac_old_val_w
=`echo x $ac_old_val`
2346 ac_new_val_w
=`echo x $ac_new_val`
2347 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2349 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2350 ac_cache_corrupted
=:
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2353 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2354 eval $ac_var=\
$ac_old_val
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2357 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2359 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2362 # Pass precious variables to config.status.
2363 if test "$ac_new_set" = set; then
2365 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2366 *) ac_arg
=$ac_var=$ac_new_val ;;
2368 case " $ac_configure_args " in
2369 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2370 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2374 if $ac_cache_corrupted; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2378 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2379 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2381 ## -------------------- ##
2382 ## Main body of script. ##
2383 ## -------------------- ##
2386 ac_cpp
='$CPP $CPPFLAGS'
2387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2393 sqlite_version_sanity_check
=`cat $srcdir/VERSION | tr -d '\n'`
2394 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2395 as_fn_error $?
"configure script is out of date:
2396 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2397 top level VERSION file = $sqlite_version_sanity_check
2398 please regen with autoconf" "$LINENO" 5
2401 # The following RCS revision string applies to configure.in
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2410 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2415 macro_version
='2.2.6'
2416 macro_revision
='1.3012'
2430 ltmain
="$ac_aux_dir/ltmain.sh"
2433 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2434 if test -f "$ac_dir/install-sh"; then
2436 ac_install_sh
="$ac_aux_dir/install-sh -c"
2438 elif test -f "$ac_dir/install.sh"; then
2440 ac_install_sh
="$ac_aux_dir/install.sh -c"
2442 elif test -f "$ac_dir/shtool"; then
2444 ac_install_sh
="$ac_aux_dir/shtool install -c"
2448 if test -z "$ac_aux_dir"; then
2449 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2452 # These three variables are undocumented and unsupported,
2453 # and are intended to be withdrawn in a future Autoconf release.
2454 # They can cause serious problems if a builder's source tree is in a directory
2455 # whose full name contains unusual characters.
2456 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2457 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2458 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2461 # Make sure we can run config.sub.
2462 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2463 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2466 $as_echo_n "checking build system type... " >&6; }
2467 if ${ac_cv_build+:} false
; then :
2468 $as_echo_n "(cached) " >&6
2470 ac_build_alias
=$build_alias
2471 test "x$ac_build_alias" = x
&&
2472 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x
&&
2474 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2475 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2480 $as_echo "$ac_cv_build" >&6; }
2481 case $ac_cv_build in
2483 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2486 ac_save_IFS
=$IFS; IFS
='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2500 $as_echo_n "checking host system type... " >&6; }
2501 if ${ac_cv_host+:} false
; then :
2502 $as_echo_n "(cached) " >&6
2504 if test "x$host_alias" = x
; then
2505 ac_cv_host
=$ac_cv_build
2507 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2513 $as_echo "$ac_cv_host" >&6; }
2516 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2519 ac_save_IFS
=$IFS; IFS
='-'
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2529 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2533 ac_cpp
='$CPP $CPPFLAGS'
2534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2537 if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541 $as_echo_n "checking for $ac_word... " >&6; }
2542 if ${ac_cv_prog_CC+:} false
; then :
2543 $as_echo_n "(cached) " >&6
2545 if test -n "$CC"; then
2546 ac_cv_prog_CC
="$CC" # Let the user override the test.
2548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir
=.
2553 for ac_exec_ext
in '' $ac_executable_extensions; do
2554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 if test -n "$CC"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2568 $as_echo "$CC" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571 $as_echo "no" >&6; }
2576 if test -z "$ac_cv_prog_CC"; then
2578 # Extract the first word of "gcc", so it can be a program name with args.
2579 set dummy gcc
; ac_word
=$2
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$ac_ct_CC"; then
2586 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595 ac_cv_prog_ac_ct_CC
="gcc"
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2606 if test -n "$ac_ct_CC"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2608 $as_echo "$ac_ct_CC" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611 $as_echo "no" >&6; }
2614 if test "x$ac_ct_CC" = x
; then
2617 case $cross_compiling:$ac_tool_warned in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621 ac_tool_warned
=yes ;;
2629 if test -z "$CC"; then
2630 if test -n "$ac_tool_prefix"; then
2631 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2632 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if ${ac_cv_prog_CC+:} false
; then :
2636 $as_echo_n "(cached) " >&6
2638 if test -n "$CC"; then
2639 ac_cv_prog_CC
="$CC" # Let the user override the test.
2641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir
=.
2646 for ac_exec_ext
in '' $ac_executable_extensions; do
2647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2648 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test -n "$CC"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2661 $as_echo "$CC" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2670 if test -z "$CC"; then
2671 # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc
; ac_word
=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_CC+:} false
; then :
2676 $as_echo_n "(cached) " >&6
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC
="$CC" # Let the user override the test.
2682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir
=.
2687 for ac_exec_ext
in '' $ac_executable_extensions; do
2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690 ac_prog_rejected
=yes
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test $ac_prog_rejected = yes; then
2702 # We found a bogon in the path, so make sure we never use it.
2703 set dummy
$ac_cv_prog_CC
2705 if test $# != 0; then
2706 # We chose a different compiler from the bogus one.
2707 # However, it has the same basename, so the bogon will be chosen
2708 # first if we set CC to just the basename; use the full file name.
2710 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 for ac_prog
in cl.exe
2730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2731 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_CC+:} false
; then :
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$CC"; then
2738 ac_cv_prog_CC
="$CC" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir
=.
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 if test -n "$CC"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2760 $as_echo "$CC" >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2767 test -n "$CC" && break
2770 if test -z "$CC"; then
2772 for ac_prog
in cl.exe
2774 # Extract the first word of "$ac_prog", so it can be a program name with args.
2775 set dummy
$ac_prog; ac_word
=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$ac_ct_CC"; then
2782 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir
=.
2789 for ac_exec_ext
in '' $ac_executable_extensions; do
2790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2791 ac_cv_prog_ac_ct_CC
="$ac_prog"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2802 if test -n "$ac_ct_CC"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2804 $as_echo "$ac_ct_CC" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2811 test -n "$ac_ct_CC" && break
2814 if test "x$ac_ct_CC" = x
; then
2817 case $cross_compiling:$ac_tool_warned in
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned
=yes ;;
2830 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 as_fn_error $?
"no acceptable C compiler found in \$PATH
2833 See \`config.log' for more details" "$LINENO" 5; }
2835 # Provide some information about the compiler.
2836 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2839 for ac_option
in --version -v -V -qversion; do
2840 { { ac_try
="$ac_compiler $ac_option >&5"
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2849 if test -s conftest.err; then
2851 ... rest of stderr output deleted ...
2852 10q' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2855 rm -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; }
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2871 ac_clean_files_save=$ac_clean_files
2872 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2873 # Try to create an executable without -o first, disregard a.out.
2874 # It will help us diagnose broken compilers, and finding out an intuition
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2877 $as_echo_n "checking whether the C compiler works... " >&6; }
2878 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2880 # The possible output files:
2881 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2884 for ac_file in $ac_files
2887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2888 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2893 if { { ac_try="$ac_link_default"
2895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2896 *) ac_try_echo
=$ac_try;;
2898 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2899 $as_echo "$ac_try_echo"; } >&5
2900 (eval "$ac_link_default") 2>&5
2902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2903 test $ac_status = 0; }; then :
2904 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2905 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2906 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2907 # so that the user can short-circuit this test for compilers unknown to
2909 for ac_file
in $ac_files ''
2911 test -f "$ac_file" ||
continue
2913 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2916 # We found the default executable, but exeext='' is most
2920 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2922 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2924 # We set ac_cv_exeext here because the later test for it is not
2925 # safe: cross compilers may not add the suffix if given an `-o'
2926 # argument, so we may need to know it at that point already.
2927 # Even if this section looks crufty: it has the advantage of
2934 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2939 if test -z "$ac_file"; then :
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2942 $as_echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.
$ac_ext >&5
2945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2947 as_fn_error
77 "C compiler cannot create executables
2948 See \`config.log' for more details" "$LINENO" 5; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2951 $as_echo "yes" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2954 $as_echo_n "checking for C compiler default output file name... " >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2956 $as_echo "$ac_file" >&6; }
2957 ac_exeext
=$ac_cv_exeext
2959 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2960 ac_clean_files
=$ac_clean_files_save
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2962 $as_echo_n "checking for suffix of executables... " >&6; }
2963 if { { ac_try
="$ac_link"
2965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>&5
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; }; then :
2974 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2975 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2978 for ac_file
in conftest.exe conftest conftest.
*; do
2979 test -f "$ac_file" ||
continue
2981 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2982 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details" "$LINENO" 5; }
2993 rm -f conftest conftest
$ac_cv_exeext
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2995 $as_echo "$ac_cv_exeext" >&6; }
2997 rm -f conftest.
$ac_ext
2998 EXEEXT
=$ac_cv_exeext
3000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3006 FILE *f = fopen ("conftest.out", "w");
3007 return ferror (f) || fclose (f) != 0;
3013 ac_clean_files
="$ac_clean_files conftest.out"
3014 # Check that the compiler produces executables we can run. If not, either
3015 # the compiler is broken, or we cross compile.
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3017 $as_echo_n "checking whether we are cross compiling... " >&6; }
3018 if test "$cross_compiling" != yes; then
3019 { { ac_try
="$ac_link"
3021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025 $as_echo "$ac_try_echo"; } >&5
3026 (eval "$ac_link") 2>&5
3028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029 test $ac_status = 0; }
3030 if { ac_try='./conftest$ac_cv_exeext'
3031 { { case "(($ac_try" in
3032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3033 *) ac_try_echo
=$ac_try;;
3035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_try") 2>&5
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }; }; then
3043 if test "$cross_compiling" = maybe
; then
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 as_fn_error $?
"cannot run C compiled programs.
3049 If you meant to cross compile, use \`--host'.
3050 See \`config.log' for more details" "$LINENO" 5; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3055 $as_echo "$cross_compiling" >&6; }
3057 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3058 ac_clean_files
=$ac_clean_files_save
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3060 $as_echo_n "checking for suffix of object files... " >&6; }
3061 if ${ac_cv_objext+:} false
; then :
3062 $as_echo_n "(cached) " >&6
3064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 rm -f conftest.o conftest.obj
3076 if { { ac_try
="$ac_compile"
3078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_compile") 2>&5
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086 test $ac_status = 0; }; then :
3087 for ac_file in conftest.o conftest.obj conftest.*; do
3088 test -f "$ac_file" || continue;
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3091 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3102 See \
`config.log' for more details" "$LINENO" 5; }
3104 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3107 $as_echo "$ac_cv_objext" >&6; }
3108 OBJEXT=$ac_cv_objext
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3111 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3112 if ${ac_cv_c_compiler_gnu+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3129 if ac_fn_c_try_compile "$LINENO"; then :
3134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3139 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3140 if test $ac_compiler_gnu = yes; then
3145 ac_test_CFLAGS=${CFLAGS+set}
3146 ac_save_CFLAGS=$CFLAGS
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3148 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3149 if ${ac_cv_prog_cc_g+:} false; then :
3150 $as_echo_n "(cached) " >&6
3152 ac_save_c_werror_flag=$ac_c_werror_flag
3153 ac_c_werror_flag=yes
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 if ac_fn_c_try_compile "$LINENO"; then :
3185 ac_c_werror_flag=$ac_save_c_werror_flag
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_c_werror_flag=$ac_save_c_werror_flag
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3209 $as_echo "$ac_cv_prog_cc_g" >&6; }
3210 if test "$ac_test_CFLAGS" = set; then
3211 CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213 if test "$GCC" = yes; then
3219 if test "$GCC" = yes; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3226 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3227 if ${ac_cv_prog_cc_c89+:} false; then :
3228 $as_echo_n "(cached) " >&6
3230 ac_cv_prog_cc_c89=no
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3236 #include <sys/types.h>
3237 #include <sys/stat.h>
3238 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3239 struct buf { int x; };
3240 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3241 static char *e (p, i)
3247 static char *f (char * (*g) (char **, int), char **p, ...)
3252 s = g (p, va_arg (v,int));
3257 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3258 function prototypes and stuff, but not '\xHH' hex character constants.
3259 These don't provoke an error unfortunately, instead are silently treated
3260 as 'x'. The following induces an error, until -std is added to get
3261 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3262 array size at least. It's necessary to write '\x00'==0 to get something
3263 that's true only with -std. */
3264 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3266 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3267 inside strings and character constants. */
3269 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3285 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3286 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3288 CC="$ac_save_CC $ac_arg"
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290 ac_cv_prog_cc_c89=$ac_arg
3292 rm -f core conftest.err conftest.$ac_objext
3293 test "x$ac_cv_prog_cc_c89" != "xno" && break
3295 rm -f conftest.$ac_ext
3300 case "x$ac_cv_prog_cc_c89" in
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3303 $as_echo "none needed" >&6; } ;;
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3306 $as_echo "unsupported" >&6; } ;;
3308 CC="$CC $ac_cv_prog_cc_c89"
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3310 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3312 if test "x$ac_cv_prog_cc_c89" != xno; then :
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3323 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3324 if ${ac_cv_path_SED+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3328 for ac_i in 1 2 3 4 5 6 7; do
3329 ac_script="$ac_script$as_nl$ac_script"
3331 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3332 { ac_script=; unset ac_script;}
3333 if test -z "$SED"; then
3334 ac_path_SED_found=false
3335 # Loop through the user's path and test for each of PROGNAME-LIST
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir=.
3341 for ac_prog in sed gsed; do
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3344 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3345 # Check for GNU ac_path_SED and select it if it is found.
3346 # Check for GNU $ac_path_SED
3347 case `"$ac_path_SED" --version 2>&1` in
3349 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3352 $as_echo_n 0123456789 >"conftest.in"
3355 cat "conftest.in" "conftest.in" >"conftest.tmp"
3356 mv "conftest.tmp" "conftest.in"
3357 cp "conftest.in" "conftest.nl"
3358 $as_echo '' >> "conftest.nl"
3359 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3360 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3361 as_fn_arith $ac_count + 1 && ac_count=$as_val
3362 if test $ac_count -gt ${ac_path_SED_max-0}; then
3363 # Best one so far, save it but keep looking for a better one
3364 ac_cv_path_SED="$ac_path_SED"
3365 ac_path_SED_max=$ac_count
3367 # 10*(2^10) chars as input seems more than enough
3368 test $ac_count -gt 10 && break
3370 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3373 $ac_path_SED_found && break 3
3378 if test -z "$ac_cv_path_SED"; then
3379 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3387 $as_echo "$ac_cv_path_SED" >&6; }
3388 SED="$ac_cv_path_SED"
3391 test -z "$SED" && SED=sed
3392 Xsed="$SED -e 1s/^X//"
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3405 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3406 if ${ac_cv_path_GREP+:} false; then :
3407 $as_echo_n "(cached) " >&6
3409 if test -z "$GREP"; then
3410 ac_path_GREP_found=false
3411 # Loop through the user's path and test for each of PROGNAME-LIST
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3416 test -z "$as_dir" && as_dir=.
3417 for ac_prog in grep ggrep; do
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3420 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3421 # Check for GNU ac_path_GREP and select it if it is found.
3422 # Check for GNU $ac_path_GREP
3423 case `"$ac_path_GREP" --version 2>&1` in
3425 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3428 $as_echo_n 0123456789 >"conftest.in"
3431 cat "conftest.in" "conftest.in" >"conftest.tmp"
3432 mv "conftest.tmp" "conftest.in"
3433 cp "conftest.in" "conftest.nl"
3434 $as_echo 'GREP' >> "conftest.nl"
3435 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3437 as_fn_arith $ac_count + 1 && ac_count=$as_val
3438 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3439 # Best one so far, save it but keep looking for a better one
3440 ac_cv_path_GREP="$ac_path_GREP"
3441 ac_path_GREP_max=$ac_count
3443 # 10*(2^10) chars as input seems more than enough
3444 test $ac_count -gt 10 && break
3446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3449 $ac_path_GREP_found && break 3
3454 if test -z "$ac_cv_path_GREP"; then
3455 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3458 ac_cv_path_GREP=$GREP
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3463 $as_echo "$ac_cv_path_GREP" >&6; }
3464 GREP="$ac_cv_path_GREP"
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3468 $as_echo_n "checking for egrep... " >&6; }
3469 if ${ac_cv_path_EGREP+:} false; then :
3470 $as_echo_n "(cached) " >&6
3472 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3473 then ac_cv_path_EGREP="$GREP -E"
3475 if test -z "$EGREP"; then
3476 ac_path_EGREP_found=false
3477 # Loop through the user's path and test for each of PROGNAME-LIST
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3482 test -z "$as_dir" && as_dir=.
3483 for ac_prog in egrep; do
3484 for ac_exec_ext in '' $ac_executable_extensions; do
3485 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3486 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3487 # Check for GNU ac_path_EGREP and select it if it is found.
3488 # Check for GNU $ac_path_EGREP
3489 case `"$ac_path_EGREP" --version 2>&1` in
3491 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3494 $as_echo_n 0123456789 >"conftest.in"
3497 cat "conftest.in" "conftest.in" >"conftest.tmp"
3498 mv "conftest.tmp" "conftest.in"
3499 cp "conftest.in" "conftest.nl"
3500 $as_echo 'EGREP' >> "conftest.nl"
3501 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3502 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3503 as_fn_arith $ac_count + 1 && ac_count=$as_val
3504 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3505 # Best one so far, save it but keep looking for a better one
3506 ac_cv_path_EGREP="$ac_path_EGREP"
3507 ac_path_EGREP_max=$ac_count
3509 # 10*(2^10) chars as input seems more than enough
3510 test $ac_count -gt 10 && break
3512 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3515 $ac_path_EGREP_found && break 3
3520 if test -z "$ac_cv_path_EGREP"; then
3521 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3524 ac_cv_path_EGREP=$EGREP
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3530 $as_echo "$ac_cv_path_EGREP" >&6; }
3531 EGREP="$ac_cv_path_EGREP"
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3535 $as_echo_n "checking for fgrep... " >&6; }
3536 if ${ac_cv_path_FGREP+:} false; then :
3537 $as_echo_n "(cached) " >&6
3539 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3540 then ac_cv_path_FGREP="$GREP -F"
3542 if test -z "$FGREP"; then
3543 ac_path_FGREP_found=false
3544 # Loop through the user's path and test for each of PROGNAME-LIST
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3549 test -z "$as_dir" && as_dir=.
3550 for ac_prog in fgrep; do
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3553 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3554 # Check for GNU ac_path_FGREP and select it if it is found.
3555 # Check for GNU $ac_path_FGREP
3556 case `"$ac_path_FGREP" --version 2>&1` in
3558 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3561 $as_echo_n 0123456789 >"conftest.in"
3564 cat "conftest.in" "conftest.in" >"conftest.tmp"
3565 mv "conftest.tmp" "conftest.in"
3566 cp "conftest.in" "conftest.nl"
3567 $as_echo 'FGREP' >> "conftest.nl"
3568 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3570 as_fn_arith $ac_count + 1 && ac_count=$as_val
3571 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3572 # Best one so far, save it but keep looking for a better one
3573 ac_cv_path_FGREP="$ac_path_FGREP"
3574 ac_path_FGREP_max=$ac_count
3576 # 10*(2^10) chars as input seems more than enough
3577 test $ac_count -gt 10 && break
3579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3582 $ac_path_FGREP_found && break 3
3587 if test -z "$ac_cv_path_FGREP"; then
3588 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3591 ac_cv_path_FGREP=$FGREP
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3597 $as_echo "$ac_cv_path_FGREP" >&6; }
3598 FGREP="$ac_cv_path_FGREP"
3601 test -z "$GREP" && GREP=grep
3621 # Check whether --with-gnu-ld was given.
3622 if test "${with_gnu_ld+set}" = set; then :
3623 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3629 if test "$GCC" = yes; then
3630 # Check if gcc -print-prog-name=ld gives a path.
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3632 $as_echo_n "checking for ld used by $CC... " >&6; }
3635 # gcc leaves a trailing carriage return which upsets mingw
3636 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3638 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3641 # Accept absolute paths.
3643 re_direlt='/[^/][^/]*/\.\./'
3644 # Canonicalize the pathname of ld
3645 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
3646 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3647 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
3649 test -z "$LD" && LD="$ac_prog"
3652 # If it fails, then pretend we aren't using GCC.
3656 # If it is relative, then search for the first ld in PATH.
3660 elif test "$with_gnu_ld" = yes; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3662 $as_echo_n "checking for GNU ld... " >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3665 $as_echo_n "checking for non-GNU ld... " >&6; }
3667 if ${lt_cv_path_LD+:} false; then :
3668 $as_echo_n "(cached) " >&6
3670 if test -z "$LD"; then
3671 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3672 for ac_dir in $PATH; do
3674 test -z "$ac_dir" && ac_dir=.
3675 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3676 lt_cv_path_LD="$ac_dir/$ac_prog"
3677 # Check to see if the program is GNU ld. I'd rather use --version,
3678 # but apparently some variants of GNU ld only accept -v.
3679 # Break only if it was the GNU/non-GNU ld that we prefer.
3680 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3681 *GNU* | *'with BFD'*)
3682 test "$with_gnu_ld" != no && break
3685 test "$with_gnu_ld" != yes && break
3692 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3697 if test -n "$LD"; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3699 $as_echo "$LD" >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3704 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3706 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3707 if ${lt_cv_prog_gnu_ld+:} false; then :
3708 $as_echo_n "(cached) " >&6
3710 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3711 case `$LD -v 2>&1 </dev
/null
` in
3712 *GNU* | *'with BFD'*)
3713 lt_cv_prog_gnu_ld=yes
3716 lt_cv_prog_gnu_ld=no
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3721 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3722 with_gnu_ld=$lt_cv_prog_gnu_ld
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3733 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3734 if ${lt_cv_path_NM+:} false; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$NM"; then
3738 # Let the user override the test.
3741 lt_nm_to_check="${ac_tool_prefix}nm"
3742 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3743 lt_nm_to_check="$lt_nm_to_check nm"
3745 for lt_tmp_nm in $lt_nm_to_check; do
3746 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3747 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3749 test -z "$ac_dir" && ac_dir=.
3750 tmp_nm="$ac_dir/$lt_tmp_nm"
3751 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3752 # Check to see if the nm accepts a BSD-compat flag.
3753 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3754 # nm: unknown option "B" ignored
3755 # Tru64's nm complains that
/dev
/null is an invalid object
file
3756 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3757 */dev
/null
* |
*'Invalid file or object type'*)
3758 lt_cv_path_NM
="$tmp_nm -B"
3762 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3764 lt_cv_path_NM
="$tmp_nm -p"
3768 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3769 continue # so that we can try to find one that supports BSD flags
3778 : ${lt_cv_path_NM=no}
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3782 $as_echo "$lt_cv_path_NM" >&6; }
3783 if test "$lt_cv_path_NM" != "no"; then
3786 # Didn't find any BSD compatible name lister, look for dumpbin.
3787 if test -n "$ac_tool_prefix"; then
3788 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3791 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$DUMPBIN"; then
3798 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir
=.
3805 for ac_exec_ext
in '' $ac_executable_extensions; do
3806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3807 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 DUMPBIN
=$ac_cv_prog_DUMPBIN
3818 if test -n "$DUMPBIN"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3820 $as_echo "$DUMPBIN" >&6; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3827 test -n "$DUMPBIN" && break
3830 if test -z "$DUMPBIN"; then
3831 ac_ct_DUMPBIN
=$DUMPBIN
3832 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3834 # Extract the first word of "$ac_prog", so it can be a program name with args.
3835 set dummy
$ac_prog; ac_word
=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$ac_ct_DUMPBIN"; then
3842 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir
=.
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3862 if test -n "$ac_ct_DUMPBIN"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3864 $as_echo "$ac_ct_DUMPBIN" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$ac_ct_DUMPBIN" && break
3874 if test "x$ac_ct_DUMPBIN" = x
; then
3877 case $cross_compiling:$ac_tool_warned in
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3881 ac_tool_warned
=yes ;;
3883 DUMPBIN
=$ac_ct_DUMPBIN
3888 if test "$DUMPBIN" != ":"; then
3892 test -z "$NM" && NM
=nm
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3900 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3901 if ${lt_cv_nm_interface+:} false
; then :
3902 $as_echo_n "(cached) " >&6
3904 lt_cv_nm_interface
="BSD nm"
3905 echo "int some_variable = 0;" > conftest.
$ac_ext
3906 (eval echo "\"\$as_me:3906: $ac_compile\"" >&5)
3907 (eval "$ac_compile" 2>conftest.err
)
3908 cat conftest.err
>&5
3909 (eval echo "\"\$as_me:3909: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3910 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3911 cat conftest.err
>&5
3912 (eval echo "\"\$as_me:3912: output\"" >&5)
3913 cat conftest.out
>&5
3914 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3915 lt_cv_nm_interface
="MS dumpbin"
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3920 $as_echo "$lt_cv_nm_interface" >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3923 $as_echo_n "checking whether ln -s works... " >&6; }
3925 if test "$LN_S" = "ln -s"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3927 $as_echo "yes" >&6; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3930 $as_echo "no, using $LN_S" >&6; }
3933 # find the maximum length of command line arguments
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3935 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3936 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3937 $as_echo_n "(cached) " >&6
3944 # On DJGPP, this test can blow up pretty badly due to problems in libc
3945 # (any single argument exceeding 2000 bytes causes a buffer overrun
3946 # during glob expansion). Even if it were fixed, the result of this
3947 # check would be larger than it should be.
3948 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3952 # Under GNU Hurd, this test is not required because there is
3953 # no limit to the length of command line arguments.
3954 # Libtool will interpret -1 as no limit whatsoever
3955 lt_cv_sys_max_cmd_len
=-1;
3958 cygwin
* | mingw
* | cegcc
*)
3959 # On Win9x/ME, this test blows up -- it succeeds, but takes
3960 # about 5 minutes as the teststring grows exponentially.
3961 # Worse, since 9x/ME are not pre-emptively multitasking,
3962 # you end up with a "frozen" computer, even though with patience
3963 # the test eventually succeeds (with a max line length of 256k).
3964 # Instead, let's just punt: use the minimum linelength reported by
3965 # all of the supported platforms: 8192 (on NT/2K/XP).
3966 lt_cv_sys_max_cmd_len
=8192;
3970 # On AmigaOS with pdksh, this test takes hours, literally.
3971 # So we just punt and use a minimum line length of 8192.
3972 lt_cv_sys_max_cmd_len
=8192;
3975 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3976 # This has been around since 386BSD, at least. Likely further.
3977 if test -x /sbin
/sysctl
; then
3978 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3979 elif test -x /usr
/sbin
/sysctl
; then
3980 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3982 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3984 # And add a safety zone
3985 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3986 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3990 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3991 lt_cv_sys_max_cmd_len
=196608
3995 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3996 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3997 # nice to cause kernel panics so lets avoid the loop below.
3998 # First set a reasonable default.
3999 lt_cv_sys_max_cmd_len
=16384
4001 if test -x /sbin
/sysconfig
; then
4002 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4003 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4008 lt_cv_sys_max_cmd_len
=102400
4010 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4011 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4012 if test -n "$kargmax"; then
4013 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4015 lt_cv_sys_max_cmd_len
=32768
4019 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4020 if test -n "$lt_cv_sys_max_cmd_len"; then
4021 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4022 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4024 # Make teststring a little bigger before we do anything with it.
4025 # a 1K string should be a reasonable start.
4026 for i
in 1 2 3 4 5 6 7 8 ; do
4027 teststring
=$teststring$teststring
4029 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4030 # If test is not a shell built-in, we'll probably end up computing a
4031 # maximum length that is only half of the actual maximum length, but
4033 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4034 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4035 test $i != 17 # 1/2 MB should be enough
4038 teststring
=$teststring$teststring
4040 # Only check the string length outside the loop.
4041 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4043 # Add a significant safety factor because C++ compilers can tack on
4044 # massive amounts of additional arguments before passing them to the
4045 # linker. It appears as though 1/2 is a usable value.
4046 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4053 if test -n $lt_cv_sys_max_cmd_len ; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4055 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4058 $as_echo "none" >&6; }
4060 max_cmd_len
=$lt_cv_sys_max_cmd_len
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4072 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4073 # Try some XSI features
4076 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4078 && eval 'test $(( 1 + 1 )) -eq 2 \
4079 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4082 $as_echo "$xsi_shell" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4086 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4088 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4090 && lt_shell_append=yes
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4092 $as_echo "$lt_shell_append" >&6; }
4095 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4105 # test EBCDIC or ASCII
4106 case `echo X|tr X '\101'` in
4107 A) # ASCII based system
4108 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4109 lt_SP2NL='tr \040 \012'
4110 lt_NL2SP='tr \015\012 \040\040'
4112 *) # EBCDIC based system
4113 lt_SP2NL='tr \100 \n'
4114 lt_NL2SP='tr \r\n \100\100'
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4127 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4128 if ${lt_cv_ld_reload_flag+:} false; then :
4129 $as_echo_n "(cached
) " >&6
4131 lt_cv_ld_reload_flag='-r'
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4134 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4135 reload_flag=$lt_cv_ld_reload_flag
4136 case $reload_flag in
4138 *) reload_flag=" $reload_flag" ;;
4140 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4143 if test "$GCC" = yes; then
4144 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4146 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4159 if test -n "$ac_tool_prefix"; then
4160 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4161 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4163 $as_echo_n "checking
for $ac_word...
" >&6; }
4164 if ${ac_cv_prog_OBJDUMP+:} false; then :
4165 $as_echo_n "(cached
) " >&6
4167 if test -n "$OBJDUMP"; then
4168 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir=.
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4187 OBJDUMP=$ac_cv_prog_OBJDUMP
4188 if test -n "$OBJDUMP"; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4190 $as_echo "$OBJDUMP" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4193 $as_echo "no
" >&6; }
4198 if test -z "$ac_cv_prog_OBJDUMP"; then
4199 ac_ct_OBJDUMP=$OBJDUMP
4200 # Extract the first word of "objdump
", so it can be a program name with args.
4201 set dummy objdump; ac_word=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4203 $as_echo_n "checking
for $ac_word...
" >&6; }
4204 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4205 $as_echo_n "(cached
) " >&6
4207 if test -n "$ac_ct_OBJDUMP"; then
4208 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4227 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4228 if test -n "$ac_ct_OBJDUMP"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4230 $as_echo "$ac_ct_OBJDUMP" >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4233 $as_echo "no
" >&6; }
4236 if test "x
$ac_ct_OBJDUMP" = x; then
4239 case $cross_compiling:$ac_tool_warned in
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4242 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4243 ac_tool_warned=yes ;;
4245 OBJDUMP=$ac_ct_OBJDUMP
4248 OBJDUMP="$ac_cv_prog_OBJDUMP"
4251 test -z "$OBJDUMP" && OBJDUMP=objdump
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4262 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4263 if ${lt_cv_deplibs_check_method+:} false; then :
4264 $as_echo_n "(cached
) " >&6
4266 lt_cv_file_magic_cmd='$MAGIC_CMD'
4267 lt_cv_file_magic_test_file=
4268 lt_cv_deplibs_check_method='unknown'
4269 # Need to set the preceding variable on all platforms that support
4270 # interlibrary dependencies.
4271 # 'none' -- dependencies not supported.
4272 # `unknown' -- same as none, but documents that we really don't know.
4273 # 'pass_all' -- all dependencies passed with no checks.
4274 # 'test_compile' -- check by making test program.
4275 # 'file_magic [[regex]]' -- check by looking for files in library path
4276 # which responds to the $file_magic_cmd with a given extended regex.
4277 # If you have `file' or equivalent on your system and you're not sure
4278 # whether `pass_all' will *always* work, you probably want this one.
4282 lt_cv_deplibs_check_method=pass_all
4286 lt_cv_deplibs_check_method=pass_all
4290 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4291 lt_cv_file_magic_cmd='/usr/bin/file -L'
4292 lt_cv_file_magic_test_file=/shlib/libc.so
4296 # func_win32_libid is a shell function defined in ltmain.sh
4297 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4298 lt_cv_file_magic_cmd='func_win32_libid'
4302 # Base MSYS/MinGW do not provide the 'file' command needed by
4303 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4304 # unless we find 'file', for example because we are cross-compiling.
4305 if ( file / ) >/dev/null 2>&1; then
4306 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4307 lt_cv_file_magic_cmd='func_win32_libid'
4309 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4310 lt_cv_file_magic_cmd='$OBJDUMP -f'
4315 # use the weaker test based on 'objdump'. See mingw*.
4316 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4317 lt_cv_file_magic_cmd='$OBJDUMP -f'
4320 darwin* | rhapsody*)
4321 lt_cv_deplibs_check_method=pass_all
4324 freebsd* | dragonfly*)
4325 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4328 # Not sure whether the presence of OpenBSD here was a mistake.
4329 # Let's accept both of them until this is cleared up.
4330 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4331 lt_cv_file_magic_cmd=/usr/bin/file
4332 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4336 lt_cv_deplibs_check_method=pass_all
4341 lt_cv_deplibs_check_method=pass_all
4344 hpux10.20* | hpux11*)
4345 lt_cv_file_magic_cmd=/usr/bin/file
4348 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4349 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4352 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]'
4353 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4356 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4357 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4363 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4367 irix5* | irix6* | nonstopux*)
4369 *-32|*"-32 ") libmagic=32-bit;;
4370 *-n32|*"-n32 ") libmagic=N32;;
4371 *-64|*"-64 ") libmagic=64-bit;;
4372 *) libmagic=never-match;;
4374 lt_cv_deplibs_check_method=pass_all
4377 # This must be Linux ELF.
4378 linux* | k*bsd*-gnu)
4379 lt_cv_deplibs_check_method=pass_all
4383 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4384 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4386 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4391 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4392 lt_cv_file_magic_cmd=/usr/bin/file
4393 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4397 lt_cv_deplibs_check_method=pass_all
4401 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4408 osf3* | osf4* | osf5*)
4409 lt_cv_deplibs_check_method=pass_all
4413 lt_cv_deplibs_check_method=pass_all
4417 lt_cv_deplibs_check_method=pass_all
4420 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4421 lt_cv_deplibs_check_method=pass_all
4425 case $host_vendor in
4427 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]'
4428 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4431 lt_cv_deplibs_check_method=pass_all
4434 lt_cv_file_magic_cmd='/bin/file'
4435 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4438 lt_cv_file_magic_cmd='/bin/file'
4439 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4440 lt_cv_file_magic_test_file=/lib/libc.so
4443 lt_cv_deplibs_check_method=pass_all
4446 lt_cv_deplibs_check_method=pass_all
4452 lt_cv_deplibs_check_method=pass_all
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4458 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4459 file_magic_cmd=$lt_cv_file_magic_cmd
4460 deplibs_check_method=$lt_cv_deplibs_check_method
4461 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4474 if test -n "$ac_tool_prefix"; then
4475 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4476 set dummy ${ac_tool_prefix}ar; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4478 $as_echo_n "checking
for $ac_word...
" >&6; }
4479 if ${ac_cv_prog_AR+:} false; then :
4480 $as_echo_n "(cached
) " >&6
4482 if test -n "$AR"; then
4483 ac_cv_prog_AR="$AR" # Let the user override the test.
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4492 ac_cv_prog_AR="${ac_tool_prefix}ar"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4503 if test -n "$AR"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
4505 $as_echo "$AR" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4508 $as_echo "no
" >&6; }
4513 if test -z "$ac_cv_prog_AR"; then
4515 # Extract the first word of "ar", so it can be a program name with args.
4516 set dummy ar; ac_word=$2
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4518 $as_echo_n "checking
for $ac_word...
" >&6; }
4519 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4520 $as_echo_n "(cached
) " >&6
4522 if test -n "$ac_ct_AR"; then
4523 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4532 ac_cv_prog_ac_ct_AR="ar"
4533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4542 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4543 if test -n "$ac_ct_AR"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
4545 $as_echo "$ac_ct_AR" >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4548 $as_echo "no
" >&6; }
4551 if test "x
$ac_ct_AR" = x; then
4554 case $cross_compiling:$ac_tool_warned in
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4557 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4558 ac_tool_warned=yes ;;
4566 test -z "$AR" && AR=ar
4567 test -z "$AR_FLAGS" && AR_FLAGS=cru
4579 if test -n "$ac_tool_prefix"; then
4580 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4581 set dummy ${ac_tool_prefix}strip; ac_word=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4583 $as_echo_n "checking
for $ac_word...
" >&6; }
4584 if ${ac_cv_prog_STRIP+:} false; then :
4585 $as_echo_n "(cached
) " >&6
4587 if test -n "$STRIP"; then
4588 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir=.
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4607 STRIP=$ac_cv_prog_STRIP
4608 if test -n "$STRIP"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4610 $as_echo "$STRIP" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4613 $as_echo "no
" >&6; }
4618 if test -z "$ac_cv_prog_STRIP"; then
4620 # Extract the first word of "strip
", so it can be a program name with args.
4621 set dummy strip; ac_word=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4623 $as_echo_n "checking
for $ac_word...
" >&6; }
4624 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4625 $as_echo_n "(cached
) " >&6
4627 if test -n "$ac_ct_STRIP"; then
4628 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir=.
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4637 ac_cv_prog_ac_ct_STRIP="strip
"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4647 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4648 if test -n "$ac_ct_STRIP"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
4650 $as_echo "$ac_ct_STRIP" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4653 $as_echo "no
" >&6; }
4656 if test "x
$ac_ct_STRIP" = x; then
4659 case $cross_compiling:$ac_tool_warned in
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4662 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4663 ac_tool_warned=yes ;;
4668 STRIP="$ac_cv_prog_STRIP"
4671 test -z "$STRIP" && STRIP=:
4678 if test -n "$ac_tool_prefix"; then
4679 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4680 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4682 $as_echo_n "checking
for $ac_word...
" >&6; }
4683 if ${ac_cv_prog_RANLIB+:} false; then :
4684 $as_echo_n "(cached
) " >&6
4686 if test -n "$RANLIB"; then
4687 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4706 RANLIB=$ac_cv_prog_RANLIB
4707 if test -n "$RANLIB"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
4709 $as_echo "$RANLIB" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4712 $as_echo "no
" >&6; }
4717 if test -z "$ac_cv_prog_RANLIB"; then
4718 ac_ct_RANLIB=$RANLIB
4719 # Extract the first word of "ranlib
", so it can be a program name with args.
4720 set dummy ranlib; ac_word=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4722 $as_echo_n "checking
for $ac_word...
" >&6; }
4723 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4724 $as_echo_n "(cached
) " >&6
4726 if test -n "$ac_ct_RANLIB"; then
4727 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4746 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4747 if test -n "$ac_ct_RANLIB"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
4749 $as_echo "$ac_ct_RANLIB" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4752 $as_echo "no
" >&6; }
4755 if test "x
$ac_ct_RANLIB" = x; then
4758 case $cross_compiling:$ac_tool_warned in
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4761 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4762 ac_tool_warned=yes ;;
4764 RANLIB=$ac_ct_RANLIB
4767 RANLIB="$ac_cv_prog_RANLIB"
4770 test -z "$RANLIB" && RANLIB=:
4777 # Determine commands to create old-style static archives.
4778 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4779 old_postinstall_cmds='chmod 644 $oldlib'
4780 old_postuninstall_cmds=
4782 if test -n "$RANLIB"; then
4785 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4788 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4791 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4827 # If no C compiler was specified, use CC.
4830 # If no C compiler flags were specified, use CFLAGS.
4831 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4833 # Allow CC to be a program name with arguments.
4837 # Check for command to grab the raw symbol name followed by C symbol from nm.
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
4839 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4840 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
4841 $as_echo_n "(cached
) " >&6
4844 # These are sane defaults that work on at least a few old systems.
4845 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4847 # Character class describing NM global symbol codes.
4848 symcode='[BCDEGRST]'
4850 # Regexp to match symbols that can be accessed directly from C.
4851 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4853 # Define system-specific variables.
4858 cygwin* | mingw* | pw32* | cegcc*)
4859 symcode='[ABCDGISTW]'
4862 if test "$host_cpu" = ia64; then
4863 symcode='[ABCDEGRST]'
4867 symcode='[BCDEGRST]'
4870 symcode='[BCDEGQRST]'
4881 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4889 # If we're using GNU nm, then use its standard symbol codes.
4890 case `$NM -V 2>&1` in
4891 *GNU* | *'with BFD'*)
4892 symcode='[ABCDGIRSTW]' ;;
4895 # Transform an extracted symbol line into a proper C declaration.
4896 # Some systems (esp. on ia64) link data and code symbols differently,
4897 # so use this general approach.
4898 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4900 # Transform an extracted symbol line into symbol name and symbol address
4901 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4902 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'"
4904 # Handle CRLF in mingw tool chain
4908 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4912 # Try without a prefix underscore, then with it.
4913 for ac_symprfx in "" "_
"; do
4915 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4916 symxfrm="\\1 $ac_symprfx\\2 \\2"
4918 # Write the raw and C identifiers.
4919 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4920 # Fake it for dumpbin and say T for any non-static function
4921 # and D for any global variable.
4922 # Also find C++ and __fastcall symbols from MSVC++,
4923 # which start with @ or ?.
4924 lt_cv_sys_global_symbol_pipe="$AWK '"\
4925 " {last_section=section; section=\$ 3};"\
4926 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4927 " \$ 0!~/External *\|/{next};"\
4928 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4929 " {if(hide[section]) next};"\
4930 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4931 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4932 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4933 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4934 " ' prfx
=^
$ac_symprfx"
4936 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4939 # Check to see that the pipe works correctly.
4943 cat > conftest.$ac_ext <<_LT_EOF
4948 void nm_test_func(void);
4949 void nm_test_func(void){}
4953 int main(){nm_test_var='a';nm_test_func();return(0);}
4956 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4957 (eval $ac_compile) 2>&5
4959 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4960 test $ac_status = 0; }; then
4961 # Now try to grab the symbols.
4963 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
4964 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4966 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4967 test $ac_status = 0; } && test -s "$nlist"; then
4968 # Try sorting and uniquifying the output.
4969 if sort "$nlist" | uniq > "$nlist"T; then
4970 mv -f "$nlist"T "$nlist"
4975 # Make sure that we snagged all the symbols we need.
4976 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4977 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4978 cat <<_LT_EOF > conftest.$ac_ext
4984 # Now generate the symbol file.
4985 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4987 cat <<_LT_EOF >> conftest.$ac_ext
4989 /* The mapping between symbol names and symbols. */
4994 lt__PROGRAM__LTX_preloaded_symbols[] =
4996 { "@PROGRAM@
", (void *) 0 },
4998 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4999 cat <<\_LT_EOF >> conftest.$ac_ext
5003 /* This works around a problem in FreeBSD linker */
5004 #ifdef FREEBSD_WORKAROUND
5005 static const void *lt_preloaded_setup() {
5006 return lt__PROGRAM__LTX_preloaded_symbols;
5014 # Now try linking the two files.
5015 mv conftest.$ac_objext conftstm.$ac_objext
5016 lt_save_LIBS="$LIBS"
5017 lt_save_CFLAGS="$CFLAGS"
5018 LIBS="conftstm.
$ac_objext"
5019 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5020 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5021 (eval $ac_link) 2>&5
5023 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5024 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5027 LIBS="$lt_save_LIBS"
5028 CFLAGS="$lt_save_CFLAGS"
5030 echo "cannot
find nm_test_func
in $nlist" >&5
5033 echo "cannot
find nm_test_var
in $nlist" >&5
5036 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5039 echo "$progname: failed program was
:" >&5
5040 cat conftest.$ac_ext >&5
5042 rm -rf conftest* conftst*
5044 # Do not use the global_symbol_pipe unless it works.
5045 if test "$pipe_works" = yes; then
5048 lt_cv_sys_global_symbol_pipe=
5054 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5055 lt_cv_sys_global_symbol_to_cdecl=
5057 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5059 $as_echo "failed
" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5062 $as_echo "ok
" >&6; }
5087 # Check whether --enable-libtool-lock was given.
5088 if test "${enable_libtool_lock+set}" = set; then :
5089 enableval=$enable_libtool_lock;
5092 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5094 # Some flags need to be propagated to the compiler or linker for good
5098 # Find out which ABI we are using.
5099 echo 'int i;' > conftest.$ac_ext
5100 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5101 (eval $ac_compile) 2>&5
5103 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5104 test $ac_status = 0; }; then
5105 case `/usr/bin/file conftest.$ac_objext` in
5117 # Find out which ABI we are using.
5118 echo '#line 5118 "configure
"' > conftest.$ac_ext
5119 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5120 (eval $ac_compile) 2>&5
5122 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5123 test $ac_status = 0; }; then
5124 if test "$lt_cv_prog_gnu_ld" = yes; then
5125 case `/usr/bin/file conftest.$ac_objext` in
5127 LD="${LD-ld} -melf32bsmip"
5130 LD="${LD-ld} -melf32bmipn32"
5133 LD="${LD-ld} -melf64bmip"
5137 case `/usr/bin/file conftest.$ac_objext` in
5153 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5154 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5155 # Find out which ABI we are using.
5156 echo 'int i;' > conftest.$ac_ext
5157 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5158 (eval $ac_compile) 2>&5
5160 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5161 test $ac_status = 0; }; then
5162 case `/usr/bin/file conftest.o` in
5165 x86_64-*kfreebsd*-gnu)
5166 LD="${LD-ld} -m elf_i386_fbsd
"
5169 LD="${LD-ld} -m elf_i386
"
5171 ppc64-*linux*|powerpc64-*linux*)
5172 LD="${LD-ld} -m elf32ppclinux
"
5175 LD="${LD-ld} -m elf_s390
"
5178 LD="${LD-ld} -m elf32_sparc
"
5184 x86_64-*kfreebsd*-gnu)
5185 LD="${LD-ld} -m elf_x86_64_fbsd
"
5188 LD="${LD-ld} -m elf_x86_64
"
5190 ppc*-*linux*|powerpc*-*linux*)
5191 LD="${LD-ld} -m elf64ppc
"
5193 s390*-*linux*|s390*-*tpf*)
5194 LD="${LD-ld} -m elf64_s390
"
5197 LD="${LD-ld} -m elf64_sparc
"
5207 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5208 SAVE_CFLAGS="$CFLAGS"
5209 CFLAGS="$CFLAGS -belf"
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5211 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5212 if ${lt_cv_cc_needs_belf+:} false; then :
5213 $as_echo_n "(cached
) " >&6
5216 ac_cpp='$CPP $CPPFLAGS'
5217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5232 if ac_fn_c_try_link "$LINENO"; then :
5233 lt_cv_cc_needs_belf=yes
5235 lt_cv_cc_needs_belf=no
5237 rm -f core conftest.err conftest.$ac_objext \
5238 conftest$ac_exeext conftest.$ac_ext
5240 ac_cpp='$CPP $CPPFLAGS'
5241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5247 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5248 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5249 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5250 CFLAGS="$SAVE_CFLAGS"
5254 # Find out which ABI we are using.
5255 echo 'int i;' > conftest.$ac_ext
5256 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5257 (eval $ac_compile) 2>&5
5259 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5260 test $ac_status = 0; }; then
5261 case `/usr/bin/file conftest.o` in
5263 case $lt_cv_prog_gnu_ld in
5264 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5266 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5278 need_locks="$enable_libtool_lock"
5282 rhapsody* | darwin*)
5283 if test -n "$ac_tool_prefix"; then
5284 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5285 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5287 $as_echo_n "checking
for $ac_word...
" >&6; }
5288 if ${ac_cv_prog_DSYMUTIL+:} false; then :
5289 $as_echo_n "(cached
) " >&6
5291 if test -n "$DSYMUTIL"; then
5292 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir=.
5299 for ac_exec_ext in '' $ac_executable_extensions; do
5300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5301 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5311 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5312 if test -n "$DSYMUTIL"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5314 $as_echo "$DSYMUTIL" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5317 $as_echo "no
" >&6; }
5322 if test -z "$ac_cv_prog_DSYMUTIL"; then
5323 ac_ct_DSYMUTIL=$DSYMUTIL
5324 # Extract the first word of "dsymutil
", so it can be a program name with args.
5325 set dummy dsymutil; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5327 $as_echo_n "checking
for $ac_word...
" >&6; }
5328 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5329 $as_echo_n "(cached
) " >&6
5331 if test -n "$ac_ct_DSYMUTIL"; then
5332 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5351 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5352 if test -n "$ac_ct_DSYMUTIL"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
5354 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5357 $as_echo "no
" >&6; }
5360 if test "x
$ac_ct_DSYMUTIL" = x; then
5363 case $cross_compiling:$ac_tool_warned in
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5366 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5367 ac_tool_warned=yes ;;
5369 DSYMUTIL=$ac_ct_DSYMUTIL
5372 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5375 if test -n "$ac_tool_prefix"; then
5376 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5377 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5379 $as_echo_n "checking
for $ac_word...
" >&6; }
5380 if ${ac_cv_prog_NMEDIT+:} false; then :
5381 $as_echo_n "(cached
) " >&6
5383 if test -n "$NMEDIT"; then
5384 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5393 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5403 NMEDIT=$ac_cv_prog_NMEDIT
5404 if test -n "$NMEDIT"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
5406 $as_echo "$NMEDIT" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5409 $as_echo "no
" >&6; }
5414 if test -z "$ac_cv_prog_NMEDIT"; then
5415 ac_ct_NMEDIT=$NMEDIT
5416 # Extract the first word of "nmedit
", so it can be a program name with args.
5417 set dummy nmedit; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5419 $as_echo_n "checking
for $ac_word...
" >&6; }
5420 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
5421 $as_echo_n "(cached
) " >&6
5423 if test -n "$ac_ct_NMEDIT"; then
5424 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5433 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5443 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5444 if test -n "$ac_ct_NMEDIT"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
5446 $as_echo "$ac_ct_NMEDIT" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5449 $as_echo "no
" >&6; }
5452 if test "x
$ac_ct_NMEDIT" = x; then
5455 case $cross_compiling:$ac_tool_warned in
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5458 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5459 ac_tool_warned=yes ;;
5461 NMEDIT=$ac_ct_NMEDIT
5464 NMEDIT="$ac_cv_prog_NMEDIT"
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5471 $as_echo_n "checking
for $ac_word...
" >&6; }
5472 if ${ac_cv_prog_LIPO+:} false; then :
5473 $as_echo_n "(cached
) " >&6
5475 if test -n "$LIPO"; then
5476 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5495 LIPO=$ac_cv_prog_LIPO
5496 if test -n "$LIPO"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
5498 $as_echo "$LIPO" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5501 $as_echo "no
" >&6; }
5506 if test -z "$ac_cv_prog_LIPO"; then
5508 # Extract the first word of "lipo
", so it can be a program name with args.
5509 set dummy lipo; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5511 $as_echo_n "checking
for $ac_word...
" >&6; }
5512 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
5513 $as_echo_n "(cached
) " >&6
5515 if test -n "$ac_ct_LIPO"; then
5516 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_ac_ct_LIPO="lipo
"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5535 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5536 if test -n "$ac_ct_LIPO"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
5538 $as_echo "$ac_ct_LIPO" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5541 $as_echo "no
" >&6; }
5544 if test "x
$ac_ct_LIPO" = x; then
5547 case $cross_compiling:$ac_tool_warned in
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5550 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5551 ac_tool_warned=yes ;;
5556 LIPO="$ac_cv_prog_LIPO"
5559 if test -n "$ac_tool_prefix"; then
5560 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}otool; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5563 $as_echo_n "checking
for $ac_word...
" >&6; }
5564 if ${ac_cv_prog_OTOOL+:} false; then :
5565 $as_echo_n "(cached
) " >&6
5567 if test -n "$OTOOL"; then
5568 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5587 OTOOL=$ac_cv_prog_OTOOL
5588 if test -n "$OTOOL"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
5590 $as_echo "$OTOOL" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5593 $as_echo "no
" >&6; }
5598 if test -z "$ac_cv_prog_OTOOL"; then
5600 # Extract the first word of "otool
", so it can be a program name with args.
5601 set dummy otool; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5603 $as_echo_n "checking
for $ac_word...
" >&6; }
5604 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
5605 $as_echo_n "(cached
) " >&6
5607 if test -n "$ac_ct_OTOOL"; then
5608 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617 ac_cv_prog_ac_ct_OTOOL="otool
"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5627 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5628 if test -n "$ac_ct_OTOOL"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
5630 $as_echo "$ac_ct_OTOOL" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5633 $as_echo "no
" >&6; }
5636 if test "x
$ac_ct_OTOOL" = x; then
5639 case $cross_compiling:$ac_tool_warned in
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5642 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5643 ac_tool_warned=yes ;;
5648 OTOOL="$ac_cv_prog_OTOOL"
5651 if test -n "$ac_tool_prefix"; then
5652 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5653 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5655 $as_echo_n "checking
for $ac_word...
" >&6; }
5656 if ${ac_cv_prog_OTOOL64+:} false; then :
5657 $as_echo_n "(cached
) " >&6
5659 if test -n "$OTOOL64"; then
5660 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5669 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5679 OTOOL64=$ac_cv_prog_OTOOL64
5680 if test -n "$OTOOL64"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
5682 $as_echo "$OTOOL64" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5685 $as_echo "no
" >&6; }
5690 if test -z "$ac_cv_prog_OTOOL64"; then
5691 ac_ct_OTOOL64=$OTOOL64
5692 # Extract the first word of "otool64
", so it can be a program name with args.
5693 set dummy otool64; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5695 $as_echo_n "checking
for $ac_word...
" >&6; }
5696 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
5697 $as_echo_n "(cached
) " >&6
5699 if test -n "$ac_ct_OTOOL64"; then
5700 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5709 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5719 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5720 if test -n "$ac_ct_OTOOL64"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
5722 $as_echo "$ac_ct_OTOOL64" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5725 $as_echo "no
" >&6; }
5728 if test "x
$ac_ct_OTOOL64" = x; then
5731 case $cross_compiling:$ac_tool_warned in
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5734 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5735 ac_tool_warned=yes ;;
5737 OTOOL64=$ac_ct_OTOOL64
5740 OTOOL64="$ac_cv_prog_OTOOL64"
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
5770 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5771 if ${lt_cv_apple_cc_single_mod+:} false; then :
5772 $as_echo_n "(cached
) " >&6
5774 lt_cv_apple_cc_single_mod=no
5775 if test -z "${LT_MULTI_MODULE}"; then
5776 # By default we will add the -single_module flag. You can override
5777 # by either setting the environment variable LT_MULTI_MODULE
5778 # non-empty at configure time, or by adding -multi_module to the
5780 rm -rf libconftest.dylib*
5781 echo "int foo
(void
){return 1;}" > conftest.c
5782 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5783 -dynamiclib -Wl,-single_module conftest.c
" >&5
5784 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5785 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5787 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5788 lt_cv_apple_cc_single_mod=yes
5790 cat conftest.err >&5
5792 rm -rf libconftest.dylib*
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
5797 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
5799 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5800 if ${lt_cv_ld_exported_symbols_list+:} false; then :
5801 $as_echo_n "(cached
) " >&6
5803 lt_cv_ld_exported_symbols_list=no
5804 save_LDFLAGS=$LDFLAGS
5805 echo "_main
" > conftest.sym
5806 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5818 if ac_fn_c_try_link "$LINENO"; then :
5819 lt_cv_ld_exported_symbols_list=yes
5821 lt_cv_ld_exported_symbols_list=no
5823 rm -f core conftest.err conftest.$ac_objext \
5824 conftest$ac_exeext conftest.$ac_ext
5825 LDFLAGS="$save_LDFLAGS"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
5829 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5831 rhapsody* | darwin1.[012])
5832 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5834 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5835 darwin*) # darwin 5.x on
5836 # if running on 10.5 or later, the deployment target defaults
5837 # to the OS version, if on x86, and 10.4, the deployment
5838 # target defaults to 10.4. Don't you love it?
5839 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5840 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5841 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5843 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5849 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5850 _lt_dar_single_mod='$single_module'
5852 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5853 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5855 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5857 if test "$DSYMUTIL" != ":"; then
5858 _lt_dsymutil='~$DSYMUTIL $lib || :'
5866 ac_cpp='$CPP $CPPFLAGS'
5867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
5871 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5872 # On Suns, sometimes $CPP names a directory.
5873 if test -n "$CPP" && test -d "$CPP"; then
5876 if test -z "$CPP"; then
5877 if ${ac_cv_prog_CPP+:} false; then :
5878 $as_echo_n "(cached
) " >&6
5880 # Double quotes because CPP needs to be expanded
5881 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5884 for ac_c_preproc_warn_flag in '' yes
5886 # Use a header file that comes with gcc, so configuring glibc
5887 # with a fresh cross-compiler works.
5888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5889 # <limits.h> exists even on freestanding compilers.
5890 # On the NeXT, cc -E runs the code through the compiler's parser,
5891 # not just through cpp. "Syntax error
" is here to catch this case.
5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5893 /* end confdefs.h. */
5895 # include <limits.h>
5897 # include <assert.h>
5901 if ac_fn_c_try_cpp "$LINENO"; then :
5904 # Broken: fails on valid input.
5907 rm -f conftest.err conftest.i conftest.$ac_ext
5909 # OK, works on sane cases. Now check whether nonexistent headers
5910 # can be detected and how.
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5913 #include <ac_nonexistent.h>
5915 if ac_fn_c_try_cpp "$LINENO"; then :
5916 # Broken: success on invalid input.
5919 # Passes both tests.
5923 rm -f conftest.err conftest.i conftest.$ac_ext
5926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5927 rm -f conftest.i conftest.err conftest.$ac_ext
5928 if $ac_preproc_ok; then :
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
5941 $as_echo "$CPP" >&6; }
5943 for ac_c_preproc_warn_flag in '' yes
5945 # Use a header file that comes with gcc, so configuring glibc
5946 # with a fresh cross-compiler works.
5947 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5948 # <limits.h> exists even on freestanding compilers.
5949 # On the NeXT, cc -E runs the code through the compiler's parser,
5950 # not just through cpp. "Syntax error
" is here to catch this case.
5951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5954 # include <limits.h>
5956 # include <assert.h>
5960 if ac_fn_c_try_cpp "$LINENO"; then :
5963 # Broken: fails on valid input.
5966 rm -f conftest.err conftest.i conftest.$ac_ext
5968 # OK, works on sane cases. Now check whether nonexistent headers
5969 # can be detected and how.
5970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5972 #include <ac_nonexistent.h>
5974 if ac_fn_c_try_cpp "$LINENO"; then :
5975 # Broken: success on invalid input.
5978 # Passes both tests.
5982 rm -f conftest.err conftest.i conftest.$ac_ext
5985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5986 rm -f conftest.i conftest.err conftest.$ac_ext
5987 if $ac_preproc_ok; then :
5990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
5991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5992 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5993 See \`config.log' for more details
" "$LINENO" 5; }
5997 ac_cpp='$CPP $CPPFLAGS'
5998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6004 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6005 if ${ac_cv_header_stdc+:} false; then :
6006 $as_echo_n "(cached
) " >&6
6008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6023 if ac_fn_c_try_compile "$LINENO"; then :
6024 ac_cv_header_stdc=yes
6026 ac_cv_header_stdc=no
6028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6030 if test $ac_cv_header_stdc = yes; then
6031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6037 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6038 $EGREP "memchr
" >/dev/null 2>&1; then :
6041 ac_cv_header_stdc=no
6047 if test $ac_cv_header_stdc = yes; then
6048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6054 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6055 $EGREP "free
" >/dev/null 2>&1; then :
6058 ac_cv_header_stdc=no
6064 if test $ac_cv_header_stdc = yes; then
6065 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6066 if test "$cross_compiling" = yes; then :
6069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6073 #if ((' ' & 0x0FF) == 0x020)
6074 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6075 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6077 # define ISLOWER(c) \
6078 (('a' <= (c) && (c) <= 'i') \
6079 || ('j' <= (c) && (c) <= 'r') \
6080 || ('s' <= (c) && (c) <= 'z'))
6081 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6084 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6089 for (i = 0; i < 256; i++)
6090 if (XOR (islower (i), ISLOWER (i))
6091 || toupper (i) != TOUPPER (i))
6096 if ac_fn_c_try_run "$LINENO"; then :
6099 ac_cv_header_stdc=no
6101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6102 conftest.$ac_objext conftest.beam conftest.$ac_ext
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6108 $as_echo "$ac_cv_header_stdc" >&6; }
6109 if test $ac_cv_header_stdc = yes; then
6111 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6115 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6116 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6117 inttypes.h stdint.h unistd.h
6119 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6120 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6122 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6123 cat >>confdefs.h
<<_ACEOF
6124 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 for ac_header
in dlfcn.h
6134 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6136 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6137 cat >>confdefs.h
<<_ACEOF
6138 #define HAVE_DLFCN_H 1
6157 # Check whether --enable-shared was given.
6158 if test "${enable_shared+set}" = set; then :
6159 enableval
=$enable_shared; p
=${PACKAGE-default}
6161 yes) enable_shared
=yes ;;
6162 no
) enable_shared
=no
;;
6165 # Look at the argument we got. We use all the common list separators.
6166 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6167 for pkg
in $enableval; do
6169 if test "X$pkg" = "X$p"; then
6188 # Check whether --enable-static was given.
6189 if test "${enable_static+set}" = set; then :
6190 enableval
=$enable_static; p
=${PACKAGE-default}
6192 yes) enable_static
=yes ;;
6193 no
) enable_static
=no
;;
6196 # Look at the argument we got. We use all the common list separators.
6197 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6198 for pkg
in $enableval; do
6200 if test "X$pkg" = "X$p"; then
6220 # Check whether --with-pic was given.
6221 if test "${with_pic+set}" = set; then :
6222 withval
=$with_pic; pic_mode
="$withval"
6228 test -z "$pic_mode" && pic_mode
=default
6236 # Check whether --enable-fast-install was given.
6237 if test "${enable_fast_install+set}" = set; then :
6238 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6240 yes) enable_fast_install
=yes ;;
6241 no
) enable_fast_install
=no
;;
6243 enable_fast_install
=no
6244 # Look at the argument we got. We use all the common list separators.
6245 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6246 for pkg
in $enableval; do
6248 if test "X$pkg" = "X$p"; then
6249 enable_fast_install
=yes
6256 enable_fast_install
=yes
6269 # This can be used to rebuild libtool when needed
6270 LIBTOOL_DEPS
="$ltmain"
6272 # Always use our own libtool.
6273 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6299 test -z "$LN_S" && LN_S
="ln -s"
6314 if test -n "${ZSH_VERSION+set}" ; then
6315 setopt NO_GLOB_SUBST
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6319 $as_echo_n "checking for objdir... " >&6; }
6320 if ${lt_cv_objdir+:} false
; then :
6321 $as_echo_n "(cached) " >&6
6323 rm -f .libs
2>/dev
/null
6324 mkdir .libs
2>/dev
/null
6325 if test -d .libs
; then
6328 # MS-DOS does not allow filenames that begin with a dot.
6331 rmdir .libs
2>/dev
/null
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6334 $as_echo "$lt_cv_objdir" >&6; }
6335 objdir
=$lt_cv_objdir
6341 cat >>confdefs.h
<<_ACEOF
6342 #define LT_OBJDIR "$lt_cv_objdir/"
6363 # AIX sometimes has problems with the GCC collect2 program. For some
6364 # reason, if we set the COLLECT_NAMES environment variable, the problems
6365 # vanish in a puff of smoke.
6366 if test "X${COLLECT_NAMES+set}" != Xset
; then
6368 export COLLECT_NAMES
6373 # Sed substitution that helps us do robust quoting. It backslashifies
6374 # metacharacters that are still active within double-quoted strings.
6375 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6377 # Same as above, but do not quote variable references.
6378 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6380 # Sed substitution to delay expansion of an escaped shell variable in a
6381 # double_quote_subst'ed string.
6382 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6384 # Sed substitution to delay expansion of an escaped single quote.
6385 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6387 # Sed substitution to avoid accidental globbing in evaled expressions
6388 no_glob_subst
='s/\*/\\\*/g'
6392 can_build_shared
=yes
6394 # All known linkers require a `.a' archive for static linking (except MSVC,
6395 # which needs '.lib').
6398 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6401 old_CFLAGS
="$CFLAGS"
6403 # Set sane defaults for various variables
6404 test -z "$CC" && CC
=cc
6405 test -z "$LTCC" && LTCC
=$CC
6406 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6407 test -z "$LD" && LD
=ld
6408 test -z "$ac_objext" && ac_objext
=o
6410 for cc_temp
in $compiler""; do
6412 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6413 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6418 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6421 # Only perform the check for file, if the check method requires it
6422 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6423 case $deplibs_check_method in
6425 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6427 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6428 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6429 $as_echo_n "(cached) " >&6
6433 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6436 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6437 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6438 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6439 for ac_dir
in $ac_dummy; do
6441 test -z "$ac_dir" && ac_dir
=.
6442 if test -f $ac_dir/${ac_tool_prefix}file; then
6443 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6444 if test -n "$file_magic_test_file"; then
6445 case $deplibs_check_method in
6447 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6448 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6449 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6450 $EGREP "$file_magic_regex" > /dev
/null
; then
6455 *** Warning: the command libtool uses to detect shared libraries,
6456 *** $file_magic_cmd, produces output that libtool cannot recognize.
6457 *** The result is that libtool may fail to recognize shared libraries
6458 *** as such. This will affect the creation of libtool libraries that
6459 *** depend on shared libraries, but programs linked with such libtool
6460 *** libraries will work regardless of this problem. Nevertheless, you
6461 *** may want to report the problem to your system manager and/or to
6462 *** bug-libtool@gnu.org
6472 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6477 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6478 if test -n "$MAGIC_CMD"; then
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6480 $as_echo "$MAGIC_CMD" >&6; }
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6483 $as_echo "no" >&6; }
6490 if test -z "$lt_cv_path_MAGIC_CMD"; then
6491 if test -n "$ac_tool_prefix"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6493 $as_echo_n "checking for file... " >&6; }
6494 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6495 $as_echo_n "(cached) " >&6
6499 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6502 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6503 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6504 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6505 for ac_dir
in $ac_dummy; do
6507 test -z "$ac_dir" && ac_dir
=.
6508 if test -f $ac_dir/file; then
6509 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6510 if test -n "$file_magic_test_file"; then
6511 case $deplibs_check_method in
6513 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6514 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6515 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6516 $EGREP "$file_magic_regex" > /dev
/null
; then
6521 *** Warning: the command libtool uses to detect shared libraries,
6522 *** $file_magic_cmd, produces output that libtool cannot recognize.
6523 *** The result is that libtool may fail to recognize shared libraries
6524 *** as such. This will affect the creation of libtool libraries that
6525 *** depend on shared libraries, but programs linked with such libtool
6526 *** libraries will work regardless of this problem. Nevertheless, you
6527 *** may want to report the problem to your system manager and/or to
6528 *** bug-libtool@gnu.org
6538 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6543 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6544 if test -n "$MAGIC_CMD"; then
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6546 $as_echo "$MAGIC_CMD" >&6; }
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6549 $as_echo "no" >&6; }
6562 # Use C for the default configuration in the libtool script
6566 ac_cpp
='$CPP $CPPFLAGS'
6567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6572 # Source file extension for C test sources.
6575 # Object file extension for compiled C test sources.
6579 # Code to be used in simple compile tests
6580 lt_simple_compile_test_code
="int some_variable = 0;"
6582 # Code to be used in simple link tests
6583 lt_simple_link_test_code
='int main(){return(0);}'
6591 # If no C compiler was specified, use CC.
6594 # If no C compiler flags were specified, use CFLAGS.
6595 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6597 # Allow CC to be a program name with arguments.
6600 # Save the default compiler, since it gets overwritten when the other
6601 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6602 compiler_DEFAULT
=$CC
6604 # save warnings/boilerplate of simple test code
6605 ac_outfile
=conftest.
$ac_objext
6606 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6607 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6608 _lt_compiler_boilerplate
=`cat conftest.err`
6611 ac_outfile
=conftest.
$ac_objext
6612 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6613 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6614 _lt_linker_boilerplate
=`cat conftest.err`
6618 if test -n "$compiler"; then
6620 lt_prog_compiler_no_builtin_flag
=
6622 if test "$GCC" = yes; then
6623 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6626 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6627 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
6628 $as_echo_n "(cached) " >&6
6630 lt_cv_prog_compiler_rtti_exceptions
=no
6631 ac_outfile
=conftest.
$ac_objext
6632 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6633 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6634 # Insert the option either (1) after the last *FLAGS variable, or
6635 # (2) before a word containing "conftest.", or (3) at the end.
6636 # Note that $ac_compile itself does not contain backslashes and begins
6637 # with a dollar sign (not a hyphen), so the echo should work correctly.
6638 # The option is referenced via a variable to avoid confusing sed.
6639 lt_compile
=`echo "$ac_compile" | $SED \
6640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6642 -e 's:$: $lt_compiler_flag:'`
6643 (eval echo "\"\$as_me:6643: $lt_compile\"" >&5)
6644 (eval "$lt_compile" 2>conftest.err
)
6646 cat conftest.err
>&5
6647 echo "$as_me:6647: \$? = $ac_status" >&5
6648 if (exit $ac_status) && test -s "$ac_outfile"; then
6649 # The compiler can only warn and ignore the option if not recognized
6650 # So say no if there are warnings other than the usual output.
6651 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6652 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6653 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6654 lt_cv_prog_compiler_rtti_exceptions
=yes
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6661 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6663 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6664 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6676 lt_prog_compiler_wl
=
6677 lt_prog_compiler_pic
=
6678 lt_prog_compiler_static
=
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6681 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6683 if test "$GCC" = yes; then
6684 lt_prog_compiler_wl
='-Wl,'
6685 lt_prog_compiler_static
='-static'
6689 # All AIX code is PIC.
6690 if test "$host_cpu" = ia64
; then
6691 # AIX 5 now supports IA64 processor
6692 lt_prog_compiler_static
='-Bstatic'
6699 # see comment about AmigaOS4 .so support
6700 lt_prog_compiler_pic
='-fPIC'
6703 # FIXME: we need at least 68020 code to build shared libraries, but
6704 # adding the `-m68020' flag to GCC prevents building anything better,
6706 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6711 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6712 # PIC is the default for these OSes.
6715 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6716 # This hack is so that the source file can tell whether it is being
6717 # built for inclusion in a dll (and should export symbols for example).
6718 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6719 # (--disable-auto-import) libraries
6720 lt_prog_compiler_pic
='-DDLL_EXPORT'
6723 darwin
* | rhapsody
*)
6724 # PIC is the default on this platform
6725 # Common symbols not allowed in MH_DYLIB files
6726 lt_prog_compiler_pic
='-fno-common'
6730 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6731 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6732 # sets the default TLS model and affects inlining.
6738 lt_prog_compiler_pic
='-fPIC'
6744 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6745 # Instead, we relocate shared libraries at runtime.
6749 # Just because we use GCC doesn't mean we suddenly get shared libraries
6750 # on systems that don't support them.
6751 lt_prog_compiler_can_build_shared
=no
6756 # QNX uses GNU C++, but need to define -shared option too, otherwise
6758 lt_prog_compiler_pic
='-fPIC -shared'
6762 if test -d /usr
/nec
; then
6763 lt_prog_compiler_pic
=-Kconform_pic
6768 lt_prog_compiler_pic
='-fPIC'
6772 # PORTME Check for flag to pass linker flags through the system compiler.
6775 lt_prog_compiler_wl
='-Wl,'
6776 if test "$host_cpu" = ia64
; then
6777 # AIX 5 now supports IA64 processor
6778 lt_prog_compiler_static
='-Bstatic'
6780 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6784 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6785 # This hack is so that the source file can tell whether it is being
6786 # built for inclusion in a dll (and should export symbols for example).
6787 lt_prog_compiler_pic
='-DDLL_EXPORT'
6790 hpux9
* | hpux10
* | hpux11
*)
6791 lt_prog_compiler_wl
='-Wl,'
6792 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6799 lt_prog_compiler_pic
='+Z'
6802 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6803 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6806 irix5
* | irix6
* | nonstopux
*)
6807 lt_prog_compiler_wl
='-Wl,'
6808 # PIC (with -KPIC) is the default.
6809 lt_prog_compiler_static
='-non_shared'
6812 linux
* | k
*bsd
*-gnu)
6813 case $cc_basename in
6814 # old Intel for x86_64 which still supported -KPIC.
6816 lt_prog_compiler_wl
='-Wl,'
6817 lt_prog_compiler_pic
='-KPIC'
6818 lt_prog_compiler_static
='-static'
6820 # icc used to be incompatible with GCC.
6821 # ICC 10 doesn't accept -KPIC any more.
6823 lt_prog_compiler_wl
='-Wl,'
6824 lt_prog_compiler_pic
='-fPIC'
6825 lt_prog_compiler_static
='-static'
6827 # Lahey Fortran 8.1.
6829 lt_prog_compiler_wl
='-Wl,'
6830 lt_prog_compiler_pic
='--shared'
6831 lt_prog_compiler_static
='--static'
6833 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6834 # Portland Group compilers (*not* the Pentium gcc compiler,
6835 # which looks to be a dead project)
6836 lt_prog_compiler_wl
='-Wl,'
6837 lt_prog_compiler_pic
='-fpic'
6838 lt_prog_compiler_static
='-Bstatic'
6841 lt_prog_compiler_wl
='-Wl,'
6842 # All Alpha code is PIC.
6843 lt_prog_compiler_static
='-non_shared'
6846 # IBM XL C 8.0/Fortran 10.1 on PPC
6847 lt_prog_compiler_wl
='-Wl,'
6848 lt_prog_compiler_pic
='-qpic'
6849 lt_prog_compiler_static
='-qstaticlink'
6852 case `$CC -V 2>&1 | sed 5q` in
6855 lt_prog_compiler_pic
='-KPIC'
6856 lt_prog_compiler_static
='-Bstatic'
6857 lt_prog_compiler_wl
='-Wl,'
6860 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6861 lt_prog_compiler_pic
='-KPIC'
6862 lt_prog_compiler_static
='-Bstatic'
6863 lt_prog_compiler_wl
=''
6871 lt_prog_compiler_pic
='-KPIC'
6872 lt_prog_compiler_static
='-Bstatic'
6876 # QNX uses GNU C++, but need to define -shared option too, otherwise
6878 lt_prog_compiler_pic
='-fPIC -shared'
6881 osf3
* | osf4
* | osf5
*)
6882 lt_prog_compiler_wl
='-Wl,'
6883 # All OSF/1 code is PIC.
6884 lt_prog_compiler_static
='-non_shared'
6888 lt_prog_compiler_static
='-non_shared'
6892 lt_prog_compiler_pic
='-KPIC'
6893 lt_prog_compiler_static
='-Bstatic'
6894 case $cc_basename in
6896 lt_prog_compiler_wl
='-Qoption ld ';;
6898 lt_prog_compiler_wl
='-Wl,';;
6903 lt_prog_compiler_wl
='-Qoption ld '
6904 lt_prog_compiler_pic
='-PIC'
6905 lt_prog_compiler_static
='-Bstatic'
6908 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6909 lt_prog_compiler_wl
='-Wl,'
6910 lt_prog_compiler_pic
='-KPIC'
6911 lt_prog_compiler_static
='-Bstatic'
6915 if test -d /usr
/nec
;then
6916 lt_prog_compiler_pic
='-Kconform_pic'
6917 lt_prog_compiler_static
='-Bstatic'
6921 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6922 lt_prog_compiler_wl
='-Wl,'
6923 lt_prog_compiler_pic
='-KPIC'
6924 lt_prog_compiler_static
='-Bstatic'
6928 lt_prog_compiler_wl
='-Wl,'
6929 lt_prog_compiler_can_build_shared
=no
6933 lt_prog_compiler_pic
='-pic'
6934 lt_prog_compiler_static
='-Bstatic'
6938 lt_prog_compiler_can_build_shared
=no
6944 # For platforms which do not support PIC, -DPIC is meaningless:
6946 lt_prog_compiler_pic
=
6949 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6953 $as_echo "$lt_prog_compiler_pic" >&6; }
6961 # Check to make sure the PIC flag actually works.
6963 if test -n "$lt_prog_compiler_pic"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6965 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
6966 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
6967 $as_echo_n "(cached) " >&6
6969 lt_cv_prog_compiler_pic_works
=no
6970 ac_outfile
=conftest.
$ac_objext
6971 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6972 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6973 # Insert the option either (1) after the last *FLAGS variable, or
6974 # (2) before a word containing "conftest.", or (3) at the end.
6975 # Note that $ac_compile itself does not contain backslashes and begins
6976 # with a dollar sign (not a hyphen), so the echo should work correctly.
6977 # The option is referenced via a variable to avoid confusing sed.
6978 lt_compile
=`echo "$ac_compile" | $SED \
6979 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6981 -e 's:$: $lt_compiler_flag:'`
6982 (eval echo "\"\$as_me:6982: $lt_compile\"" >&5)
6983 (eval "$lt_compile" 2>conftest.err
)
6985 cat conftest.err
>&5
6986 echo "$as_me:6986: \$? = $ac_status" >&5
6987 if (exit $ac_status) && test -s "$ac_outfile"; then
6988 # The compiler can only warn and ignore the option if not recognized
6989 # So say no if there are warnings other than the usual output.
6990 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6991 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6992 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6993 lt_cv_prog_compiler_pic_works
=yes
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7000 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7002 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7003 case $lt_prog_compiler_pic in
7005 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7008 lt_prog_compiler_pic
=
7009 lt_prog_compiler_can_build_shared
=no
7020 # Check to make sure the static flag actually works.
7022 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7024 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7025 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7026 $as_echo_n "(cached) " >&6
7028 lt_cv_prog_compiler_static_works
=no
7029 save_LDFLAGS
="$LDFLAGS"
7030 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7031 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7032 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7033 # The linker can only warn and ignore the option if not recognized
7034 # So say no if there are warnings
7035 if test -s conftest.err
; then
7036 # Append any errors to the config.log.
7037 cat conftest.err
1>&5
7038 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7039 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7040 if diff conftest.exp conftest.er2
>/dev
/null
; then
7041 lt_cv_prog_compiler_static_works
=yes
7044 lt_cv_prog_compiler_static_works
=yes
7048 LDFLAGS
="$save_LDFLAGS"
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7052 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7054 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7057 lt_prog_compiler_static
=
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7068 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7069 $as_echo_n "(cached) " >&6
7071 lt_cv_prog_compiler_c_o
=no
7072 $RM -r conftest
2>/dev
/null
7076 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7078 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7079 # Insert the option either (1) after the last *FLAGS variable, or
7080 # (2) before a word containing "conftest.", or (3) at the end.
7081 # Note that $ac_compile itself does not contain backslashes and begins
7082 # with a dollar sign (not a hyphen), so the echo should work correctly.
7083 lt_compile
=`echo "$ac_compile" | $SED \
7084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7086 -e 's:$: $lt_compiler_flag:'`
7087 (eval echo "\"\$as_me:7087: $lt_compile\"" >&5)
7088 (eval "$lt_compile" 2>out
/conftest.err
)
7090 cat out
/conftest.err
>&5
7091 echo "$as_me:7091: \$? = $ac_status" >&5
7092 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7094 # The compiler can only warn and ignore the option if not recognized
7095 # So say no if there are warnings
7096 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7097 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7098 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7099 lt_cv_prog_compiler_c_o
=yes
7104 # SGI C++ compiler will create directory out/ii_files/ for
7105 # template instantiation
7106 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7107 $RM out
/* && rmdir out
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7122 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7123 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7124 $as_echo_n "(cached) " >&6
7126 lt_cv_prog_compiler_c_o
=no
7127 $RM -r conftest
2>/dev
/null
7131 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7133 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7134 # Insert the option either (1) after the last *FLAGS variable, or
7135 # (2) before a word containing "conftest.", or (3) at the end.
7136 # Note that $ac_compile itself does not contain backslashes and begins
7137 # with a dollar sign (not a hyphen), so the echo should work correctly.
7138 lt_compile
=`echo "$ac_compile" | $SED \
7139 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7140 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7141 -e 's:$: $lt_compiler_flag:'`
7142 (eval echo "\"\$as_me:7142: $lt_compile\"" >&5)
7143 (eval "$lt_compile" 2>out
/conftest.err
)
7145 cat out
/conftest.err
>&5
7146 echo "$as_me:7146: \$? = $ac_status" >&5
7147 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7149 # The compiler can only warn and ignore the option if not recognized
7150 # So say no if there are warnings
7151 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7152 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7153 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7154 lt_cv_prog_compiler_c_o
=yes
7159 # SGI C++ compiler will create directory out/ii_files/ for
7160 # template instantiation
7161 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7162 $RM out
/* && rmdir out
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7169 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7174 hard_links
="nottested"
7175 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7176 # do not overwrite the value of need_locks provided by the user
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7178 $as_echo_n "checking if we can lock with hard links... " >&6; }
7181 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7183 ln conftest.a conftest.b
2>&5 || hard_links
=no
7184 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7186 $as_echo "$hard_links" >&6; }
7187 if test "$hard_links" = no
; then
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7189 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7202 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7205 allow_undefined_flag
=
7206 always_export_symbols
=no
7208 archive_expsym_cmds
=
7209 compiler_needs_object
=no
7210 enable_shared_with_static_runtimes
=no
7211 export_dynamic_flag_spec
=
7212 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7213 hardcode_automatic
=no
7215 hardcode_direct_absolute
=no
7216 hardcode_libdir_flag_spec
=
7217 hardcode_libdir_flag_spec_ld
=
7218 hardcode_libdir_separator
=
7220 hardcode_shlibpath_var
=unsupported
7222 link_all_deplibs
=unknown
7225 old_archive_from_new_cmds
=
7226 old_archive_from_expsyms_cmds
=
7227 thread_safe_flag_spec
=
7228 whole_archive_flag_spec
=
7229 # include_expsyms should be a list of space-separated symbols to be *always*
7230 # included in the symbol list
7232 # exclude_expsyms can be an extended regexp of symbols to exclude
7233 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7234 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7235 # as well as any symbol that contains `d'.
7236 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7237 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7238 # platforms (ab)use it in PIC code, but their linkers get confused if
7239 # the symbol is explicitly referenced. Since portable code cannot
7240 # rely on this symbol name, it's probably fine to never include it in
7241 # preloaded symbol tables.
7242 # Exclude shared library initialization/finalization symbols.
7243 extract_expsyms_cmds
=
7246 cygwin
* | mingw
* | pw32
* | cegcc
*)
7247 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7248 # When not using gcc, we currently assume that we are using
7249 # Microsoft Visual C++.
7250 if test "$GCC" != yes; then
7255 # we just hope/assume this is gcc and not c89 (= MSVC++)
7264 if test "$with_gnu_ld" = yes; then
7265 # If archive_cmds runs LD, not CC, wlarc should be empty
7268 # Set some defaults for GNU ld with shared library support. These
7269 # are reset later if shared libraries are not supported. Putting them
7270 # here allows them to be overridden if necessary.
7271 runpath_var
=LD_RUN_PATH
7272 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7273 export_dynamic_flag_spec
='${wl}--export-dynamic'
7274 # ancient GNU ld didn't support --whole-archive et. al.
7275 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7276 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7278 whole_archive_flag_spec
=
7280 supports_anon_versioning
=no
7281 case `$LD -v 2>&1` in
7282 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7283 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7284 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7285 *\
2.11.
*) ;; # other 2.11 versions
7286 *) supports_anon_versioning
=yes ;;
7289 # See if GNU ld supports shared libraries.
7292 # On AIX/PPC, the GNU linker is very broken
7293 if test "$host_cpu" != ia64
; then
7297 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7298 *** to be unable to reliably create shared libraries on AIX.
7299 *** Therefore, libtool is disabling shared libraries support. If you
7300 *** really care for shared libraries, you may want to modify your PATH
7301 *** so that a non-GNU linker is found, and then restart.
7310 # see comment about AmigaOS4 .so support
7311 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7312 archive_expsym_cmds
=''
7315 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)'
7316 hardcode_libdir_flag_spec
='-L$libdir'
7317 hardcode_minus_L
=yes
7323 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7324 allow_undefined_flag
=unsupported
7325 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7326 # support --undefined. This deserves some investigation. FIXME
7327 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7333 cygwin
* | mingw
* | pw32
* | cegcc
*)
7334 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7335 # as there is no search path for DLLs.
7336 hardcode_libdir_flag_spec
='-L$libdir'
7337 allow_undefined_flag
=unsupported
7338 always_export_symbols
=no
7339 enable_shared_with_static_runtimes
=yes
7340 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7342 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7343 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7344 # If the export-symbols file already is a .def file (1st line
7345 # is EXPORTS), use it as is; otherwise, prepend...
7346 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7347 cp $export_symbols $output_objdir/$soname.def;
7349 echo EXPORTS > $output_objdir/$soname.def;
7350 cat $export_symbols >> $output_objdir/$soname.def;
7352 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7360 hardcode_shlibpath_var
=no
7361 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7362 export_dynamic_flag_spec
='${wl}-E'
7363 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7364 # Instead, shared libraries are loaded at an image base (0x10000000 by
7365 # default) and relocated if they conflict, which is a slow very memory
7366 # consuming and fragmenting process. To avoid this, we pick a random,
7367 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7368 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7369 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7370 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'
7373 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7375 if test "$host_os" = linux-dietlibc
; then
7376 case $cc_basename in
7377 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7380 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7381 && test "$tmp_diet" = no
7384 tmp_sharedflag
='-shared'
7385 case $cc_basename,$host_cpu in
7386 pgcc
*) # Portland Group C compiler
7387 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'
7388 tmp_addflag
=' $pic_flag'
7390 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7391 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'
7392 tmp_addflag
=' $pic_flag -Mnomain' ;;
7393 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7394 tmp_addflag
=' -i_dynamic' ;;
7395 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7396 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7397 ifc
* | ifort
*) # Intel Fortran compiler
7398 tmp_addflag
=' -nofor_main' ;;
7399 lf95
*) # Lahey Fortran 8.1
7400 whole_archive_flag_spec
=
7401 tmp_sharedflag
='--shared' ;;
7402 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7403 tmp_sharedflag
='-qmkshrobj'
7406 case `$CC -V 2>&1 | sed 5q` in
7407 *Sun\ C
*) # Sun C 5.9
7408 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'
7409 compiler_needs_object
=yes
7410 tmp_sharedflag
='-G' ;;
7411 *Sun\ F
*) # Sun Fortran 8.3
7412 tmp_sharedflag
='-G' ;;
7414 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7416 if test "x$supports_anon_versioning" = xyes
; then
7417 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7419 echo "local: *; };" >> $output_objdir/$libname.ver~
7420 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7423 case $cc_basename in
7425 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7426 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7427 hardcode_libdir_flag_spec
=
7428 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7429 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7430 if test "x$supports_anon_versioning" = xyes
; then
7431 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7432 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7433 echo "local: *; };" >> $output_objdir/$libname.ver~
7434 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7444 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7445 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7448 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7449 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7454 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7458 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7459 *** create shared libraries on Solaris systems. Therefore, libtool
7460 *** is disabling shared libraries support. We urge you to upgrade GNU
7461 *** binutils to release 2.9.1 or newer. Another option is to modify
7462 *** your PATH or compiler configuration so that the native linker is
7463 *** used, and then restart.
7466 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7467 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7468 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7474 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7475 case `$LD -v 2>&1` in
7476 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7480 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7481 *** reliably create shared libraries on SCO systems. Therefore, libtool
7482 *** is disabling shared libraries support. We urge you to upgrade GNU
7483 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7484 *** your PATH or compiler configuration so that the native linker is
7485 *** used, and then restart.
7490 # For security reasons, it is highly recommended that you always
7491 # use absolute paths for naming shared libraries, and exclude the
7492 # DT_RUNPATH tag from executables and libraries. But doing so
7493 # requires that you compile everything twice, which is a pain.
7494 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7495 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
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'
7506 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7509 hardcode_shlibpath_var
=no
7513 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7514 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7515 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7522 if test "$ld_shlibs" = no
; then
7524 hardcode_libdir_flag_spec
=
7525 export_dynamic_flag_spec
=
7526 whole_archive_flag_spec
=
7529 # PORTME fill in a description of your system's linker (not GNU ld)
7532 allow_undefined_flag
=unsupported
7533 always_export_symbols
=yes
7534 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'
7535 # Note: this linker hardcodes the directories in LIBPATH if there
7536 # are no directories specified by -L.
7537 hardcode_minus_L
=yes
7538 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7539 # Neither direct hardcoding nor static linking is supported with a
7541 hardcode_direct
=unsupported
7546 if test "$host_cpu" = ia64
; then
7547 # On IA64, the linker does run time linking by default, so we don't
7548 # have to do anything special.
7549 aix_use_runtimelinking
=no
7550 exp_sym_flag
='-Bexport'
7553 # If we're using GNU nm, then we don't want the "-C" option.
7554 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7555 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7556 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'
7558 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'
7560 aix_use_runtimelinking
=no
7562 # Test if we are trying to use run time linking or normal
7563 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7564 # need to do runtime linking.
7565 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7566 for ld_flag
in $LDFLAGS; do
7567 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7568 aix_use_runtimelinking
=yes
7575 exp_sym_flag
='-bexport'
7576 no_entry_flag
='-bnoentry'
7579 # When large executables or shared objects are built, AIX ld can
7580 # have problems creating the table of contents. If linking a library
7581 # or program results in "error TOC overflow" add -mminimal-toc to
7582 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7583 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7587 hardcode_direct_absolute
=yes
7588 hardcode_libdir_separator
=':'
7589 link_all_deplibs
=yes
7590 file_list_spec
='${wl}-f,'
7592 if test "$GCC" = yes; then
7593 case $host_os in aix4.
[012]|aix4.
[012].
*)
7594 # We only want to do this on AIX 4.2 and lower, the check
7595 # below for broken collect2 doesn't work under 4.3+
7596 collect2name
=`${CC} -print-prog-name=collect2`
7597 if test -f "$collect2name" &&
7598 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7600 # We have reworked collect2
7603 # We have old collect2
7604 hardcode_direct
=unsupported
7605 # It fails to find uninstalled libraries when the uninstalled
7606 # path is not listed in the libpath. Setting hardcode_minus_L
7607 # to unsupported forces relinking
7608 hardcode_minus_L
=yes
7609 hardcode_libdir_flag_spec
='-L$libdir'
7610 hardcode_libdir_separator
=
7614 shared_flag
='-shared'
7615 if test "$aix_use_runtimelinking" = yes; then
7616 shared_flag
="$shared_flag "'${wl}-G'
7620 if test "$host_cpu" = ia64
; then
7621 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7622 # chokes on -Wl,-G. The following line is correct:
7625 if test "$aix_use_runtimelinking" = yes; then
7626 shared_flag
='${wl}-G'
7628 shared_flag
='${wl}-bM:SRE'
7633 export_dynamic_flag_spec
='${wl}-bexpall'
7634 # It seems that -bexpall does not export symbols beginning with
7635 # underscore (_), so it is better to generate a list of symbols to export.
7636 always_export_symbols
=yes
7637 if test "$aix_use_runtimelinking" = yes; then
7638 # Warning - without using the other runtime loading flags (-brtl),
7639 # -berok will link without error, but may produce a broken library.
7640 allow_undefined_flag
='-berok'
7641 # Determine the default libpath from the value encoded in an
7643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7654 if ac_fn_c_try_link
"$LINENO"; then :
7656 lt_aix_libpath_sed
='
7657 /Import File Strings/,/^$/ {
7663 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7664 # Check for a 64-bit object if we didn't find anything.
7665 if test -z "$aix_libpath"; then
7666 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7669 rm -f core conftest.err conftest.
$ac_objext \
7670 conftest
$ac_exeext conftest.
$ac_ext
7671 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7673 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7674 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"
7676 if test "$host_cpu" = ia64
; then
7677 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7678 allow_undefined_flag
="-z nodefs"
7679 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"
7681 # Determine the default libpath from the value encoded in an
7683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7684 /* end confdefs.h. */
7694 if ac_fn_c_try_link
"$LINENO"; then :
7696 lt_aix_libpath_sed
='
7697 /Import File Strings/,/^$/ {
7703 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7704 # Check for a 64-bit object if we didn't find anything.
7705 if test -z "$aix_libpath"; then
7706 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7709 rm -f core conftest.err conftest.
$ac_objext \
7710 conftest
$ac_exeext conftest.
$ac_ext
7711 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7713 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7714 # Warning - without using the other run time loading flags,
7715 # -berok will link without error, but may produce a broken library.
7716 no_undefined_flag
=' ${wl}-bernotok'
7717 allow_undefined_flag
=' ${wl}-berok'
7718 # Exported symbols can be pulled into shared objects from archives
7719 whole_archive_flag_spec
='$convenience'
7720 archive_cmds_need_lc
=yes
7721 # This is similar to how AIX traditionally builds its shared libraries.
7722 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'
7730 # see comment about AmigaOS4 .so support
7731 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7732 archive_expsym_cmds
=''
7735 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)'
7736 hardcode_libdir_flag_spec
='-L$libdir'
7737 hardcode_minus_L
=yes
7743 export_dynamic_flag_spec
=-rdynamic
7746 cygwin
* | mingw
* | pw32
* | cegcc
*)
7747 # When not using gcc, we currently assume that we are using
7748 # Microsoft Visual C++.
7749 # hardcode_libdir_flag_spec is actually meaningless, as there is
7750 # no search path for DLLs.
7751 hardcode_libdir_flag_spec
=' '
7752 allow_undefined_flag
=unsupported
7753 # Tell ltmain to make .lib files, not .a files.
7755 # Tell ltmain to make .dll files, not .so files.
7757 # FIXME: Setting linknames here is a bad hack.
7758 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7759 # The linker will automatically build a .lib file if we build a DLL.
7760 old_archive_from_new_cmds
='true'
7761 # FIXME: Should let the user specify the lib program.
7762 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7763 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7764 enable_shared_with_static_runtimes
=yes
7767 darwin
* | rhapsody
*)
7770 archive_cmds_need_lc
=no
7772 hardcode_automatic
=yes
7773 hardcode_shlibpath_var
=unsupported
7774 whole_archive_flag_spec
=''
7775 link_all_deplibs
=yes
7776 allow_undefined_flag
="$_lt_dar_allow_undefined"
7777 case $cc_basename in
7778 ifort
*) _lt_dar_can_shared
=yes ;;
7779 *) _lt_dar_can_shared
=$GCC ;;
7781 if test "$_lt_dar_can_shared" = "yes"; then
7782 output_verbose_link_cmd
=echo
7783 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7784 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7785 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}"
7786 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}"
7795 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7796 hardcode_libdir_flag_spec
='-L$libdir'
7797 hardcode_shlibpath_var
=no
7804 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7805 # support. Future versions do this automatically, but an explicit c++rt0.o
7806 # does not break anything, and helps significantly (at the cost of a little
7809 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7810 hardcode_libdir_flag_spec
='-R$libdir'
7812 hardcode_shlibpath_var
=no
7815 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7817 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7819 hardcode_minus_L
=yes
7820 hardcode_shlibpath_var
=no
7823 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7824 freebsd
* | dragonfly
*)
7825 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7826 hardcode_libdir_flag_spec
='-R$libdir'
7828 hardcode_shlibpath_var
=no
7832 if test "$GCC" = yes; then
7833 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'
7835 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'
7837 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7838 hardcode_libdir_separator
=:
7841 # hardcode_minus_L: Not really in the search PATH,
7842 # but as the default location of the library.
7843 hardcode_minus_L
=yes
7844 export_dynamic_flag_spec
='${wl}-E'
7848 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7849 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7851 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7853 if test "$with_gnu_ld" = no
; then
7854 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7855 hardcode_libdir_flag_spec_ld
='+b $libdir'
7856 hardcode_libdir_separator
=:
7858 hardcode_direct_absolute
=yes
7859 export_dynamic_flag_spec
='${wl}-E'
7860 # hardcode_minus_L: Not really in the search PATH,
7861 # but as the default location of the library.
7862 hardcode_minus_L
=yes
7867 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7870 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7873 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7876 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7882 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7885 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7888 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7892 if test "$with_gnu_ld" = no
; then
7893 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7894 hardcode_libdir_separator
=:
7899 hardcode_shlibpath_var
=no
7903 hardcode_direct_absolute
=yes
7904 export_dynamic_flag_spec
='${wl}-E'
7906 # hardcode_minus_L: Not really in the search PATH,
7907 # but as the default location of the library.
7908 hardcode_minus_L
=yes
7914 irix5
* | irix6
* | nonstopux
*)
7915 if test "$GCC" = yes; then
7916 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'
7917 # Try to use the -exported_symbol ld option, if it does not
7918 # work, assume that -exports_file does not work either and
7919 # implicitly export all symbols.
7920 save_LDFLAGS
="$LDFLAGS"
7921 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7926 if ac_fn_c_try_link
"$LINENO"; then :
7927 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'
7930 rm -f core conftest.err conftest.
$ac_objext \
7931 conftest
$ac_exeext conftest.
$ac_ext
7932 LDFLAGS
="$save_LDFLAGS"
7934 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'
7935 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'
7937 archive_cmds_need_lc
='no'
7938 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7939 hardcode_libdir_separator
=:
7941 link_all_deplibs
=yes
7945 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7946 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7948 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7950 hardcode_libdir_flag_spec
='-R$libdir'
7952 hardcode_shlibpath_var
=no
7956 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7958 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7959 hardcode_libdir_separator
=:
7960 hardcode_shlibpath_var
=no
7967 if test -f /usr
/libexec
/ld.so
; then
7969 hardcode_shlibpath_var
=no
7970 hardcode_direct_absolute
=yes
7971 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7972 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7973 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7974 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7975 export_dynamic_flag_spec
='${wl}-E'
7978 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7979 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7980 hardcode_libdir_flag_spec
='-R$libdir'
7983 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7984 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7994 hardcode_libdir_flag_spec
='-L$libdir'
7995 hardcode_minus_L
=yes
7996 allow_undefined_flag
=unsupported
7997 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'
7998 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8002 if test "$GCC" = yes; then
8003 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8004 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'
8006 allow_undefined_flag
=' -expect_unresolved \*'
8007 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'
8009 archive_cmds_need_lc
='no'
8010 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8011 hardcode_libdir_separator
=:
8014 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8015 if test "$GCC" = yes; then
8016 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8017 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'
8018 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8020 allow_undefined_flag
=' -expect_unresolved \*'
8021 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'
8022 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~
8023 $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'
8025 # Both c and cxx compiler support -rpath directly
8026 hardcode_libdir_flag_spec
='-rpath $libdir'
8028 archive_cmds_need_lc
='no'
8029 hardcode_libdir_separator
=:
8033 no_undefined_flag
=' -z defs'
8034 if test "$GCC" = yes; then
8036 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8037 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8038 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8040 case `$CC -V 2>&1` in
8043 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8044 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8045 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8049 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8050 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8051 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8055 hardcode_libdir_flag_spec
='-R$libdir'
8056 hardcode_shlibpath_var
=no
8058 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8060 # The compiler driver will combine and reorder linker options,
8061 # but understands `-z linker_flag'. GCC discards it without `$wl',
8062 # but is careful enough not to reorder.
8063 # Supported since Solaris 2.6 (maybe 2.5.1?)
8064 if test "$GCC" = yes; then
8065 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8067 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8071 link_all_deplibs
=yes
8075 if test "x$host_vendor" = xsequent
; then
8076 # Use $CC to link under sequent, because it throws in some extra .o
8077 # files that make .init and .fini sections work.
8078 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8080 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8082 hardcode_libdir_flag_spec
='-L$libdir'
8084 hardcode_minus_L
=yes
8085 hardcode_shlibpath_var
=no
8089 case $host_vendor in
8091 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8092 hardcode_direct
=yes # is this really true???
8095 ## LD is ld it makes a PLAMLIB
8096 ## CC just makes a GrossModule.
8097 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8098 reload_cmds
='$CC -r -o $output$reload_objs'
8102 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8103 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8106 runpath_var
='LD_RUN_PATH'
8107 hardcode_shlibpath_var
=no
8111 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8112 hardcode_shlibpath_var
=no
8113 export_dynamic_flag_spec
='-Bexport'
8117 if test -d /usr
/nec
; then
8118 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8119 hardcode_shlibpath_var
=no
8120 runpath_var
=LD_RUN_PATH
8121 hardcode_runpath_var
=yes
8126 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8127 no_undefined_flag
='${wl}-z,text'
8128 archive_cmds_need_lc
=no
8129 hardcode_shlibpath_var
=no
8130 runpath_var
='LD_RUN_PATH'
8132 if test "$GCC" = yes; then
8133 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8134 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8136 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8137 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8141 sysv5
* | sco3.2v5
* | sco5v6
*)
8142 # Note: We can NOT use -z defs as we might desire, because we do not
8143 # link with -lc, and that would cause any symbols used from libc to
8144 # always be unresolved, which means just about no library would
8145 # ever link correctly. If we're not using GNU ld we use -z text
8146 # though, which does catch some bad symbols but isn't as heavy-handed
8148 no_undefined_flag
='${wl}-z,text'
8149 allow_undefined_flag
='${wl}-z,nodefs'
8150 archive_cmds_need_lc
=no
8151 hardcode_shlibpath_var
=no
8152 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8153 hardcode_libdir_separator
=':'
8154 link_all_deplibs
=yes
8155 export_dynamic_flag_spec
='${wl}-Bexport'
8156 runpath_var
='LD_RUN_PATH'
8158 if test "$GCC" = yes; then
8159 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8160 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8162 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8163 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8168 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8169 hardcode_libdir_flag_spec
='-L$libdir'
8170 hardcode_shlibpath_var
=no
8178 if test x
$host_vendor = xsni
; then
8180 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8181 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8188 $as_echo "$ld_shlibs" >&6; }
8189 test "$ld_shlibs" = no
&& can_build_shared
=no
8191 with_gnu_ld
=$with_gnu_ld
8208 # Do we need to explicitly link libc?
8210 case "x$archive_cmds_need_lc" in
8212 # Assume -lc should be added
8213 archive_cmds_need_lc
=yes
8215 if test "$enable_shared" = yes && test "$GCC" = yes; then
8216 case $archive_cmds in
8218 # FIXME: we may have to deal with multi-command sequences.
8221 # Test whether the compiler implicitly links with -lc since on some
8222 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8223 # to ld, don't add -lc before -lgcc.
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8225 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8227 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8229 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8230 (eval $ac_compile) 2>&5
8232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8233 test $ac_status = 0; } 2>conftest.err
; then
8236 libobjs
=conftest.
$ac_objext
8238 wl
=$lt_prog_compiler_wl
8239 pic_flag
=$lt_prog_compiler_pic
8245 lt_save_allow_undefined_flag
=$allow_undefined_flag
8246 allow_undefined_flag
=
8247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8248 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8251 test $ac_status = 0; }
8253 archive_cmds_need_lc
=no
8255 archive_cmds_need_lc
=yes
8257 allow_undefined_flag
=$lt_save_allow_undefined_flag
8259 cat conftest.err
1>&5
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8263 $as_echo "$archive_cmds_need_lc" >&6; }
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8427 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8429 if test "$GCC" = yes; then
8431 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8432 *) lt_awk_arg
="/^libraries:/" ;;
8434 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8435 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8436 # if the path contains ";" then we assume it to be the separator
8437 # otherwise default to the standard path separator (i.e. ":") - it is
8438 # assumed that no part of a normal pathname contains ";" but that should
8439 # okay in the real world where ";" in dirpaths is itself problematic.
8440 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8442 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8444 # Ok, now we have the path, separated by spaces, we can step through it
8445 # and add multilib dir if necessary.
8446 lt_tmp_lt_search_path_spec
=
8447 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8448 for lt_sys_path
in $lt_search_path_spec; do
8449 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8450 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8452 test -d "$lt_sys_path" && \
8453 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8456 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8457 BEGIN {RS=" "; FS="/|\n";} {
8460 for (lt_i = NF; lt_i > 0; lt_i--) {
8461 if ($lt_i != "" && $lt_i != ".") {
8462 if ($lt_i == "..") {
8465 if (lt_count == 0) {
8466 lt_foo="/" $lt_i lt_foo;
8473 if (lt_foo != "") { lt_freq[lt_foo]++; }
8474 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8476 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8478 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8481 libname_spec
='lib$name'
8489 shlibpath_overrides_runpath
=unknown
8491 dynamic_linker
="$host_os ld.so"
8492 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8493 need_lib_prefix
=unknown
8494 hardcode_into_libs
=no
8496 # when you set need_version to no, make sure it does not cause -set_version
8497 # flags to be left without arguments
8498 need_version
=unknown
8503 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8504 shlibpath_var
=LIBPATH
8506 # AIX 3 has no versioning support, so we append a major version to the name.
8507 soname_spec
='${libname}${release}${shared_ext}$major'
8514 hardcode_into_libs
=yes
8515 if test "$host_cpu" = ia64
; then
8516 # AIX 5 supports IA64
8517 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8518 shlibpath_var
=LD_LIBRARY_PATH
8520 # With GCC up to 2.95.x, collect2 would create an import file
8521 # for dependence libraries. The import file would start with
8522 # the line `#! .'. This would cause the generated library to
8523 # depend on `.', always an invalid library. This was fixed in
8524 # development snapshots of GCC prior to 3.0.
8526 aix4 | aix4.
[01] | aix4.
[01].
*)
8527 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8529 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8536 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8537 # soname into executable. Probably we can add versioning support to
8538 # collect2, so additional links can be useful in future.
8539 if test "$aix_use_runtimelinking" = yes; then
8540 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8541 # instead of lib<name>.a to let people know that these are not
8542 # typical AIX shared libraries.
8543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8545 # We preserve .a as extension for shared libraries through AIX4.2
8546 # and later when we are not doing run time linking.
8547 library_names_spec
='${libname}${release}.a $libname.a'
8548 soname_spec
='${libname}${release}${shared_ext}$major'
8550 shlibpath_var
=LIBPATH
8557 # Since July 2007 AmigaOS4 officially supports .so libraries.
8558 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8562 library_names_spec
='$libname.ixlibrary $libname.a'
8563 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8564 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'
8570 library_names_spec
='${libname}${shared_ext}'
8571 dynamic_linker
="$host_os ld.so"
8572 shlibpath_var
=LIBRARY_PATH
8578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8579 soname_spec
='${libname}${release}${shared_ext}$major'
8580 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8581 shlibpath_var
=LD_LIBRARY_PATH
8582 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8583 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8584 # the default ld.so.conf also contains /usr/contrib/lib and
8585 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8586 # libtool to hard-code these into programs
8589 cygwin
* | mingw
* | pw32
* | cegcc
*)
8590 version_type
=windows
8595 case $GCC,$host_os in
8596 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8597 library_names_spec
='$libname.dll.a'
8598 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8599 postinstall_cmds
='base_file=`basename \${file}`~
8600 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8601 dldir=$destdir/`dirname \$dlpath`~
8602 test -d \$dldir || mkdir -p \$dldir~
8603 $install_prog $dir/$dlname \$dldir/$dlname~
8604 chmod a+x \$dldir/$dlname~
8605 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8606 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8608 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8609 dlpath=$dir/\$dldll~
8611 shlibpath_overrides_runpath
=yes
8615 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8616 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8617 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8620 # MinGW DLLs use traditional 'lib' prefix
8621 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8622 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8623 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8624 # It is most probably a Windows format PATH printed by
8625 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8626 # path with ; separators, and with drive letters. We can handle the
8627 # drive letters (cygwin fileutils understands them), so leave them,
8628 # especially as we might pass files found there to a mingw objdump,
8629 # which wouldn't understand a cygwinified path. Ahh.
8630 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8632 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8636 # pw32 DLLs use 'pw' prefix rather than 'lib'
8637 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8643 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8646 dynamic_linker
='Win32 ld.exe'
8647 # FIXME: first we should search . and the directory the executable is in
8651 darwin
* | rhapsody
*)
8652 dynamic_linker
="$host_os dyld"
8656 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8657 soname_spec
='${libname}${release}${major}$shared_ext'
8658 shlibpath_overrides_runpath
=yes
8659 shlibpath_var
=DYLD_LIBRARY_PATH
8660 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8662 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8663 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8671 soname_spec
='${libname}${release}${shared_ext}$major'
8672 shlibpath_var
=LD_LIBRARY_PATH
8679 freebsd
* | dragonfly
*)
8680 # DragonFly does not have aout. When/if they implement a new
8681 # versioning mechanism, adjust this.
8682 if test -x /usr
/bin
/objformat
; then
8683 objformat
=`/usr/bin/objformat`
8686 freebsd
[123]*) objformat
=aout
;;
8690 # Handle Gentoo/FreeBSD as it was Linux
8691 case $host_vendor in
8693 version_type
=linux
;;
8695 version_type
=freebsd-
$objformat ;;
8698 case $version_type in
8700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8705 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8710 soname_spec
='${libname}${release}${shared_ext}$major'
8715 shlibpath_var
=LD_LIBRARY_PATH
8718 shlibpath_overrides_runpath
=yes
8720 freebsd3.
[01]* | freebsdelf3.
[01]*)
8721 shlibpath_overrides_runpath
=yes
8722 hardcode_into_libs
=yes
8724 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8725 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8726 shlibpath_overrides_runpath
=no
8727 hardcode_into_libs
=yes
8729 *) # from 4.6 on, and DragonFly
8730 shlibpath_overrides_runpath
=yes
8731 hardcode_into_libs
=yes
8740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8741 soname_spec
='${libname}${release}${shared_ext}$major'
8742 shlibpath_var
=LD_LIBRARY_PATH
8743 hardcode_into_libs
=yes
8746 hpux9
* | hpux10
* | hpux11
*)
8747 # Give a soname corresponding to the major version so that dld.sl refuses to
8748 # link against other versions.
8755 hardcode_into_libs
=yes
8756 dynamic_linker
="$host_os dld.so"
8757 shlibpath_var
=LD_LIBRARY_PATH
8758 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8760 soname_spec
='${libname}${release}${shared_ext}$major'
8761 if test "X$HPUX_IA64_MODE" = X32
; then
8762 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8764 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8766 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8770 hardcode_into_libs
=yes
8771 dynamic_linker
="$host_os dld.sl"
8772 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8773 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8775 soname_spec
='${libname}${release}${shared_ext}$major'
8776 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8777 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8781 dynamic_linker
="$host_os dld.sl"
8782 shlibpath_var
=SHLIB_PATH
8783 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8785 soname_spec
='${libname}${release}${shared_ext}$major'
8788 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8789 postinstall_cmds
='chmod 555 $lib'
8796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8797 soname_spec
='${libname}${release}${shared_ext}$major'
8798 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8799 shlibpath_var
=LD_LIBRARY_PATH
8800 shlibpath_overrides_runpath
=no
8801 hardcode_into_libs
=yes
8804 irix5
* | irix6
* | nonstopux
*)
8806 nonstopux
*) version_type
=nonstopux
;;
8808 if test "$lt_cv_prog_gnu_ld" = yes; then
8816 soname_spec
='${libname}${release}${shared_ext}$major'
8817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8819 irix5
* | nonstopux
*)
8823 case $LD in # libtool.m4 will add one of these switches to LD
8824 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8825 libsuff
= shlibsuff
= libmagic
=32-bit;;
8826 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8827 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8828 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8829 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8830 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8834 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8835 shlibpath_overrides_runpath
=no
8836 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8837 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8838 hardcode_into_libs
=yes
8841 # No shared lib support for Linux oldld, aout, or coff.
8842 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8846 # This must be Linux ELF.
8847 linux
* | k
*bsd
*-gnu)
8851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8852 soname_spec
='${libname}${release}${shared_ext}$major'
8853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8854 shlibpath_var
=LD_LIBRARY_PATH
8855 shlibpath_overrides_runpath
=no
8856 # Some binutils ld are patched to set DT_RUNPATH
8857 save_LDFLAGS
=$LDFLAGS
8859 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8860 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8872 if ac_fn_c_try_link
"$LINENO"; then :
8873 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
8874 shlibpath_overrides_runpath
=yes
8877 rm -f core conftest.err conftest.
$ac_objext \
8878 conftest
$ac_exeext conftest.
$ac_ext
8879 LDFLAGS
=$save_LDFLAGS
8882 # This implies no fast_install, which is unacceptable.
8883 # Some rework will be needed to allow for fast_install
8884 # before this can be enabled.
8885 hardcode_into_libs
=yes
8887 # Append ld.so.conf contents to the search path
8888 if test -f /etc
/ld.so.conf
; then
8889 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' ' '`
8890 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8893 # We used to test for /lib/ld.so.1 and disable shared libraries on
8894 # powerpc, because MkLinux only supported shared libraries with the
8895 # GNU dynamic linker. Since this was broken with cross compilers,
8896 # most powerpc-linux boxes support dynamic linking these days and
8897 # people can always --disable-shared, the test was removed, and we
8898 # assume the GNU/Linux dynamic linker is in use.
8899 dynamic_linker
='GNU/Linux ld.so'
8906 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8908 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8909 dynamic_linker
='NetBSD (a.out) ld.so'
8911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8912 soname_spec
='${libname}${release}${shared_ext}$major'
8913 dynamic_linker
='NetBSD ld.elf_so'
8915 shlibpath_var
=LD_LIBRARY_PATH
8916 shlibpath_overrides_runpath
=yes
8917 hardcode_into_libs
=yes
8922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8923 shlibpath_var
=LD_LIBRARY_PATH
8924 shlibpath_overrides_runpath
=yes
8931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8932 soname_spec
='${libname}${release}${shared_ext}$major'
8933 shlibpath_var
=LD_LIBRARY_PATH
8934 shlibpath_overrides_runpath
=no
8935 hardcode_into_libs
=yes
8936 dynamic_linker
='ldqnx.so'
8941 sys_lib_dlsearch_path_spec
="/usr/lib"
8943 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8945 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8946 *) need_version
=no
;;
8948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8950 shlibpath_var
=LD_LIBRARY_PATH
8951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8953 openbsd2.
[89] | openbsd2.
[89].
*)
8954 shlibpath_overrides_runpath
=no
8957 shlibpath_overrides_runpath
=yes
8961 shlibpath_overrides_runpath
=yes
8966 libname_spec
='$name'
8969 library_names_spec
='$libname${shared_ext} $libname.a'
8970 dynamic_linker
='OS/2 ld.exe'
8971 shlibpath_var
=LIBPATH
8974 osf3
* | osf4
* | osf5
*)
8978 soname_spec
='${libname}${release}${shared_ext}$major'
8979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8980 shlibpath_var
=LD_LIBRARY_PATH
8981 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8982 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8994 soname_spec
='${libname}${release}${shared_ext}$major'
8995 shlibpath_var
=LD_LIBRARY_PATH
8996 shlibpath_overrides_runpath
=yes
8997 hardcode_into_libs
=yes
8998 # ldd complains unless libraries are executable
8999 postinstall_cmds
='chmod +x $lib'
9004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9005 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9006 shlibpath_var
=LD_LIBRARY_PATH
9007 shlibpath_overrides_runpath
=yes
9008 if test "$with_gnu_ld" = yes; then
9016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9017 soname_spec
='${libname}${release}${shared_ext}$major'
9018 shlibpath_var
=LD_LIBRARY_PATH
9019 case $host_vendor in
9021 shlibpath_overrides_runpath
=no
9023 runpath_var
=LD_RUN_PATH
9031 shlibpath_overrides_runpath
=no
9032 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9038 if test -d /usr
/nec
;then
9040 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9041 soname_spec
='$libname${shared_ext}.$major'
9042 shlibpath_var
=LD_LIBRARY_PATH
9046 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9047 version_type
=freebsd-elf
9050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9051 soname_spec
='${libname}${release}${shared_ext}$major'
9052 shlibpath_var
=LD_LIBRARY_PATH
9053 shlibpath_overrides_runpath
=yes
9054 hardcode_into_libs
=yes
9055 if test "$with_gnu_ld" = yes; then
9056 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9058 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9061 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9065 sys_lib_dlsearch_path_spec
='/usr/lib'
9069 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9074 shlibpath_var
=LD_LIBRARY_PATH
9075 shlibpath_overrides_runpath
=no
9076 hardcode_into_libs
=yes
9081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9082 soname_spec
='${libname}${release}${shared_ext}$major'
9083 shlibpath_var
=LD_LIBRARY_PATH
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9091 $as_echo "$dynamic_linker" >&6; }
9092 test "$dynamic_linker" = no
&& can_build_shared
=no
9094 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9095 if test "$GCC" = yes; then
9096 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9099 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9100 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9102 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9103 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9193 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9195 if test -n "$hardcode_libdir_flag_spec" ||
9196 test -n "$runpath_var" ||
9197 test "X$hardcode_automatic" = "Xyes" ; then
9199 # We can hardcode non-existent directories.
9200 if test "$hardcode_direct" != no
&&
9201 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9202 # have to relink, otherwise we might link with an installed library
9203 # when we should be linking with a yet-to-be-installed one
9204 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9205 test "$hardcode_minus_L" != no
; then
9206 # Linking always hardcodes the temporary library directory.
9207 hardcode_action
=relink
9209 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9210 hardcode_action
=immediate
9213 # We cannot hardcode anything, or else we can only hardcode existing
9215 hardcode_action
=unsupported
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9218 $as_echo "$hardcode_action" >&6; }
9220 if test "$hardcode_action" = relink ||
9221 test "$inherit_rpath" = yes; then
9222 # Fast installation is not supported
9223 enable_fast_install
=no
9224 elif test "$shlibpath_overrides_runpath" = yes ||
9225 test "$enable_shared" = no
; then
9226 # Fast installation is not necessary
9227 enable_fast_install
=needless
9235 if test "x$enable_dlopen" != xyes
; then
9236 enable_dlopen
=unknown
9237 enable_dlopen_self
=unknown
9238 enable_dlopen_self_static
=unknown
9245 lt_cv_dlopen
="load_add_on"
9247 lt_cv_dlopen_self
=yes
9250 mingw
* | pw32
* | cegcc
*)
9251 lt_cv_dlopen
="LoadLibrary"
9256 lt_cv_dlopen
="dlopen"
9261 # if libdl is installed we need to link against it
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9263 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9264 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9265 $as_echo_n "(cached) " >&6
9267 ac_check_lib_save_LIBS
=$LIBS
9269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9287 if ac_fn_c_try_link
"$LINENO"; then :
9288 ac_cv_lib_dl_dlopen
=yes
9290 ac_cv_lib_dl_dlopen
=no
9292 rm -f core conftest.err conftest.
$ac_objext \
9293 conftest
$ac_exeext conftest.
$ac_ext
9294 LIBS
=$ac_check_lib_save_LIBS
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9297 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9298 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9299 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9304 lt_cv_dlopen_self
=yes
9311 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9312 if test "x$ac_cv_func_shl_load" = xyes
; then :
9313 lt_cv_dlopen
="shl_load"
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9316 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9317 if ${ac_cv_lib_dld_shl_load+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 ac_check_lib_save_LIBS
=$LIBS
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9340 if ac_fn_c_try_link
"$LINENO"; then :
9341 ac_cv_lib_dld_shl_load
=yes
9343 ac_cv_lib_dld_shl_load
=no
9345 rm -f core conftest.err conftest.
$ac_objext \
9346 conftest
$ac_exeext conftest.
$ac_ext
9347 LIBS
=$ac_check_lib_save_LIBS
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9350 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9351 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
9352 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9354 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9355 if test "x$ac_cv_func_dlopen" = xyes
; then :
9356 lt_cv_dlopen
="dlopen"
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9359 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9360 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9361 $as_echo_n "(cached) " >&6
9363 ac_check_lib_save_LIBS
=$LIBS
9365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9366 /* end confdefs.h. */
9368 /* Override any GCC internal prototype to avoid an error.
9369 Use char because int might match the return type of a GCC
9370 builtin and then its argument prototype would still apply. */
9383 if ac_fn_c_try_link
"$LINENO"; then :
9384 ac_cv_lib_dl_dlopen
=yes
9386 ac_cv_lib_dl_dlopen
=no
9388 rm -f core conftest.err conftest.
$ac_objext \
9389 conftest
$ac_exeext conftest.
$ac_ext
9390 LIBS
=$ac_check_lib_save_LIBS
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9393 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9394 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9395 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9398 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9399 if ${ac_cv_lib_svld_dlopen+:} false
; then :
9400 $as_echo_n "(cached) " >&6
9402 ac_check_lib_save_LIBS
=$LIBS
9404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9422 if ac_fn_c_try_link
"$LINENO"; then :
9423 ac_cv_lib_svld_dlopen
=yes
9425 ac_cv_lib_svld_dlopen
=no
9427 rm -f core conftest.err conftest.
$ac_objext \
9428 conftest
$ac_exeext conftest.
$ac_ext
9429 LIBS
=$ac_check_lib_save_LIBS
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9432 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9433 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
9434 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9437 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9438 if ${ac_cv_lib_dld_dld_link+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 ac_check_lib_save_LIBS
=$LIBS
9443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9461 if ac_fn_c_try_link
"$LINENO"; then :
9462 ac_cv_lib_dld_dld_link
=yes
9464 ac_cv_lib_dld_dld_link
=no
9466 rm -f core conftest.err conftest.
$ac_objext \
9467 conftest
$ac_exeext conftest.
$ac_ext
9468 LIBS
=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9471 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9472 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
9473 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9494 if test "x$lt_cv_dlopen" != xno
; then
9500 case $lt_cv_dlopen in
9502 save_CPPFLAGS
="$CPPFLAGS"
9503 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9505 save_LDFLAGS
="$LDFLAGS"
9506 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9509 LIBS
="$lt_cv_dlopen_libs $LIBS"
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9512 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9513 if ${lt_cv_dlopen_self+:} false
; then :
9514 $as_echo_n "(cached) " >&6
9516 if test "$cross_compiling" = yes; then :
9517 lt_cv_dlopen_self
=cross
9519 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9520 lt_status
=$lt_dlunknown
9521 cat > conftest.
$ac_ext <<_LT_EOF
9522 #line 9522 "configure"
9523 #include "confdefs.h"
9532 # define LT_DLGLOBAL RTLD_GLOBAL
9535 # define LT_DLGLOBAL DL_GLOBAL
9537 # define LT_DLGLOBAL 0
9541 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9542 find out it does not work in some platform. */
9543 #ifndef LT_DLLAZY_OR_NOW
9545 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9548 # define LT_DLLAZY_OR_NOW DL_LAZY
9551 # define LT_DLLAZY_OR_NOW RTLD_NOW
9554 # define LT_DLLAZY_OR_NOW DL_NOW
9556 # define LT_DLLAZY_OR_NOW 0
9563 void fnord() { int i=42;}
9566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9567 int status = $lt_dlunknown;
9571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9572 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9573 /* dlclose (self); */
9581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9582 (eval $ac_link) 2>&5
9584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9585 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9586 (.
/conftest
; exit; ) >&5 2>/dev
/null
9589 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9590 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9591 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9594 # compilation failed
9595 lt_cv_dlopen_self
=no
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9603 $as_echo "$lt_cv_dlopen_self" >&6; }
9605 if test "x$lt_cv_dlopen_self" = xyes
; then
9606 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9608 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9609 if ${lt_cv_dlopen_self_static+:} false
; then :
9610 $as_echo_n "(cached) " >&6
9612 if test "$cross_compiling" = yes; then :
9613 lt_cv_dlopen_self_static
=cross
9615 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9616 lt_status
=$lt_dlunknown
9617 cat > conftest.
$ac_ext <<_LT_EOF
9618 #line 9618 "configure"
9619 #include "confdefs.h"
9628 # define LT_DLGLOBAL RTLD_GLOBAL
9631 # define LT_DLGLOBAL DL_GLOBAL
9633 # define LT_DLGLOBAL 0
9637 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9638 find out it does not work in some platform. */
9639 #ifndef LT_DLLAZY_OR_NOW
9641 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9644 # define LT_DLLAZY_OR_NOW DL_LAZY
9647 # define LT_DLLAZY_OR_NOW RTLD_NOW
9650 # define LT_DLLAZY_OR_NOW DL_NOW
9652 # define LT_DLLAZY_OR_NOW 0
9659 void fnord() { int i=42;}
9662 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9663 int status = $lt_dlunknown;
9667 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9668 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9669 /* dlclose (self); */
9677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9678 (eval $ac_link) 2>&5
9680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9681 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9682 (.
/conftest
; exit; ) >&5 2>/dev
/null
9685 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9686 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9687 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9690 # compilation failed
9691 lt_cv_dlopen_self_static
=no
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9699 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9702 CPPFLAGS
="$save_CPPFLAGS"
9703 LDFLAGS
="$save_LDFLAGS"
9708 case $lt_cv_dlopen_self in
9709 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9710 *) enable_dlopen_self
=unknown
;;
9713 case $lt_cv_dlopen_self_static in
9714 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9715 *) enable_dlopen_self_static
=unknown
;;
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9738 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9739 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9740 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9741 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9743 $as_echo "yes" >&6; }
9745 # FIXME - insert some real tests, host_os isn't really good enough
9748 if test -n "$STRIP" ; then
9749 striplib
="$STRIP -x"
9750 old_striplib
="$STRIP -S"
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9752 $as_echo "yes" >&6; }
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9755 $as_echo "no" >&6; }
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9760 $as_echo "no" >&6; }
9776 # Report which library types will actually be built
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9778 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9780 $as_echo "$can_build_shared" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9783 $as_echo_n "checking whether to build shared libraries... " >&6; }
9784 test "$can_build_shared" = "no" && enable_shared
=no
9786 # On AIX, shared libraries and static libraries use the same namespace, and
9787 # are all built from PIC.
9790 test "$enable_shared" = yes && enable_static
=no
9791 if test -n "$RANLIB"; then
9792 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9793 postinstall_cmds
='$RANLIB $lib'
9798 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9799 test "$enable_shared" = yes && enable_static
=no
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9804 $as_echo "$enable_shared" >&6; }
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9807 $as_echo_n "checking whether to build static libraries... " >&6; }
9808 # Make sure either enable_shared or enable_static is yes.
9809 test "$enable_shared" = yes || enable_static
=yes
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9811 $as_echo "$enable_static" >&6; }
9818 ac_cpp
='$CPP $CPPFLAGS'
9819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9837 ac_config_commands
="$ac_config_commands libtool"
9845 # Find a good install program. We prefer a C program (faster),
9846 # so one script is as good as another. But avoid the broken or
9847 # incompatible versions:
9848 # SysV /etc/install, /usr/sbin/install
9849 # SunOS /usr/etc/install
9850 # IRIX /sbin/install
9852 # AmigaOS /C/install, which installs bootblocks on floppy discs
9853 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9854 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9855 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9856 # OS/2's system install, which has a completely different semantic
9857 # ./install, which can be erroneously created by make from ./install.sh.
9858 # Reject install programs that cannot install multiple files.
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9860 $as_echo_n "checking for a BSD-compatible install... " >&6; }
9861 if test -z "$INSTALL"; then
9862 if ${ac_cv_path_install+:} false
; then :
9863 $as_echo_n "(cached) " >&6
9865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9869 test -z "$as_dir" && as_dir
=.
9870 # Account for people who put trailing slashes in PATH elements.
9871 case $as_dir/ in #((
9872 .
/ | .
// |
/[cC
]/* | \
9873 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
9874 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
9877 # OSF1 and SCO ODT 3.0 have their own names for install.
9878 # Don't use installbsd from OSF since it installs stuff as root
9880 for ac_prog
in ginstall scoinst
install; do
9881 for ac_exec_ext
in '' $ac_executable_extensions; do
9882 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9883 if test $ac_prog = install &&
9884 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9885 # AIX install. It has an incompatible calling convention.
9887 elif test $ac_prog = install &&
9888 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9889 # program-specific install script used by HP pwplus--don't use.
9892 rm -rf conftest.one conftest.two conftest.dir
9893 echo one
> conftest.one
9894 echo two
> conftest.two
9896 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
9897 test -s conftest.one
&& test -s conftest.two
&&
9898 test -s conftest.dir
/conftest.one
&&
9899 test -s conftest.dir
/conftest.two
9901 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
9914 rm -rf conftest.one conftest.two conftest.dir
9917 if test "${ac_cv_path_install+set}" = set; then
9918 INSTALL
=$ac_cv_path_install
9920 # As a last resort, use the slow shell script. Don't cache a
9921 # value for INSTALL within a source directory, because that will
9922 # break other packages using the cache if that directory is
9923 # removed, or if the value is a relative name.
9924 INSTALL
=$ac_install_sh
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9928 $as_echo "$INSTALL" >&6; }
9930 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9931 # It thinks the first close brace ends the variable substitution.
9932 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9934 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
9936 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9938 for ac_prog
in gawk mawk nawk
awk
9940 # Extract the first word of "$ac_prog", so it can be a program name with args.
9941 set dummy
$ac_prog; ac_word
=$2
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9943 $as_echo_n "checking for $ac_word... " >&6; }
9944 if ${ac_cv_prog_AWK+:} false
; then :
9945 $as_echo_n "(cached) " >&6
9947 if test -n "$AWK"; then
9948 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
9950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9954 test -z "$as_dir" && as_dir
=.
9955 for ac_exec_ext
in '' $ac_executable_extensions; do
9956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9957 ac_cv_prog_AWK
="$ac_prog"
9958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9968 if test -n "$AWK"; then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9970 $as_echo "$AWK" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9973 $as_echo "no" >&6; }
9977 test -n "$AWK" && break
9982 # Enable large file support (if special flags are necessary)
9984 # Check whether --enable-largefile was given.
9985 if test "${enable_largefile+set}" = set; then :
9986 enableval
=$enable_largefile;
9989 if test "$enable_largefile" != no
; then
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
9992 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
9993 if ${ac_cv_sys_largefile_CC+:} false
; then :
9994 $as_echo_n "(cached) " >&6
9996 ac_cv_sys_largefile_CC
=no
9997 if test "$GCC" != yes; then
10000 # IRIX 6.2 and later do not support large files by default,
10001 # so use the C compiler's -n32 option if that helps.
10002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10004 #include <sys/types.h>
10005 /* Check that off_t can represent 2**63 - 1 correctly.
10006 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10007 since some C++ compilers masquerading as C compilers
10008 incorrectly reject 9223372036854775807. */
10009 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10010 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10011 && LARGE_OFF_T % 2147483647 == 1)
10021 if ac_fn_c_try_compile
"$LINENO"; then :
10024 rm -f core conftest.err conftest.
$ac_objext
10026 if ac_fn_c_try_compile
"$LINENO"; then :
10027 ac_cv_sys_largefile_CC
=' -n32'; break
10029 rm -f core conftest.err conftest.
$ac_objext
10033 rm -f conftest.
$ac_ext
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
10037 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10038 if test "$ac_cv_sys_largefile_CC" != no
; then
10039 CC
=$CC$ac_cv_sys_largefile_CC
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10043 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10044 if ${ac_cv_sys_file_offset_bits+:} false
; then :
10045 $as_echo_n "(cached) " >&6
10048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 #include <sys/types.h>
10051 /* Check that off_t can represent 2**63 - 1 correctly.
10052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10053 since some C++ compilers masquerading as C compilers
10054 incorrectly reject 9223372036854775807. */
10055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10057 && LARGE_OFF_T % 2147483647 == 1)
10067 if ac_fn_c_try_compile
"$LINENO"; then :
10068 ac_cv_sys_file_offset_bits
=no
; break
10070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 #define _FILE_OFFSET_BITS 64
10074 #include <sys/types.h>
10075 /* Check that off_t can represent 2**63 - 1 correctly.
10076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10077 since some C++ compilers masquerading as C compilers
10078 incorrectly reject 9223372036854775807. */
10079 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10081 && LARGE_OFF_T % 2147483647 == 1)
10091 if ac_fn_c_try_compile
"$LINENO"; then :
10092 ac_cv_sys_file_offset_bits
=64; break
10094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10095 ac_cv_sys_file_offset_bits
=unknown
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
10100 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10101 case $ac_cv_sys_file_offset_bits in #(
10104 cat >>confdefs.h
<<_ACEOF
10105 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10110 if test $ac_cv_sys_file_offset_bits = unknown
; then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
10112 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10113 if ${ac_cv_sys_large_files+:} false
; then :
10114 $as_echo_n "(cached) " >&6
10117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10118 /* end confdefs.h. */
10119 #include <sys/types.h>
10120 /* Check that off_t can represent 2**63 - 1 correctly.
10121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10122 since some C++ compilers masquerading as C compilers
10123 incorrectly reject 9223372036854775807. */
10124 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10126 && LARGE_OFF_T % 2147483647 == 1)
10136 if ac_fn_c_try_compile
"$LINENO"; then :
10137 ac_cv_sys_large_files
=no
; break
10139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10142 #define _LARGE_FILES 1
10143 #include <sys/types.h>
10144 /* Check that off_t can represent 2**63 - 1 correctly.
10145 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10146 since some C++ compilers masquerading as C compilers
10147 incorrectly reject 9223372036854775807. */
10148 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10149 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10150 && LARGE_OFF_T % 2147483647 == 1)
10160 if ac_fn_c_try_compile
"$LINENO"; then :
10161 ac_cv_sys_large_files
=1; break
10163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10164 ac_cv_sys_large_files
=unknown
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
10169 $as_echo "$ac_cv_sys_large_files" >&6; }
10170 case $ac_cv_sys_large_files in #(
10173 cat >>confdefs.h
<<_ACEOF
10174 #define _LARGE_FILES $ac_cv_sys_large_files
10184 # Check for needed/wanted data types
10185 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
10186 if test "x$ac_cv_type_int8_t" = xyes
; then :
10188 cat >>confdefs.h
<<_ACEOF
10189 #define HAVE_INT8_T 1
10194 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
10195 if test "x$ac_cv_type_int16_t" = xyes
; then :
10197 cat >>confdefs.h
<<_ACEOF
10198 #define HAVE_INT16_T 1
10203 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
10204 if test "x$ac_cv_type_int32_t" = xyes
; then :
10206 cat >>confdefs.h
<<_ACEOF
10207 #define HAVE_INT32_T 1
10212 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
10213 if test "x$ac_cv_type_int64_t" = xyes
; then :
10215 cat >>confdefs.h
<<_ACEOF
10216 #define HAVE_INT64_T 1
10221 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
10222 if test "x$ac_cv_type_intptr_t" = xyes
; then :
10224 cat >>confdefs.h
<<_ACEOF
10225 #define HAVE_INTPTR_T 1
10230 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
10231 if test "x$ac_cv_type_uint8_t" = xyes
; then :
10233 cat >>confdefs.h
<<_ACEOF
10234 #define HAVE_UINT8_T 1
10239 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
10240 if test "x$ac_cv_type_uint16_t" = xyes
; then :
10242 cat >>confdefs.h
<<_ACEOF
10243 #define HAVE_UINT16_T 1
10248 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
10249 if test "x$ac_cv_type_uint32_t" = xyes
; then :
10251 cat >>confdefs.h
<<_ACEOF
10252 #define HAVE_UINT32_T 1
10257 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
10258 if test "x$ac_cv_type_uint64_t" = xyes
; then :
10260 cat >>confdefs.h
<<_ACEOF
10261 #define HAVE_UINT64_T 1
10266 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
10267 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
10269 cat >>confdefs.h
<<_ACEOF
10270 #define HAVE_UINTPTR_T 1
10278 # Check for needed/wanted headers
10279 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
10281 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10282 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10283 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10284 cat >>confdefs.h
<<_ACEOF
10285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10294 # Figure out whether or not we have these functions
10296 for ac_func
in usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size
10298 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10299 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10300 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10301 cat >>confdefs.h
<<_ACEOF
10302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10310 # By default, we use the amalgamation (this may be changed below...)
10315 # See whether we can run specific tclsh versions known to work well;
10316 # if not, then we fall back to plain tclsh.
10317 # TODO: try other versions before falling back?
10319 for ac_prog
in tclsh8.5 tclsh
10321 # Extract the first word of "$ac_prog", so it can be a program name with args.
10322 set dummy
$ac_prog; ac_word
=$2
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10324 $as_echo_n "checking for $ac_word... " >&6; }
10325 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
10326 $as_echo_n "(cached) " >&6
10328 if test -n "$TCLSH_CMD"; then
10329 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
10331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10332 for as_dir
in $PATH
10335 test -z "$as_dir" && as_dir
=.
10336 for ac_exec_ext
in '' $ac_executable_extensions; do
10337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10338 ac_cv_prog_TCLSH_CMD
="$ac_prog"
10339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10348 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
10349 if test -n "$TCLSH_CMD"; then
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
10351 $as_echo "$TCLSH_CMD" >&6; }
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10354 $as_echo "no" >&6; }
10358 test -n "$TCLSH_CMD" && break
10360 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
10362 if test "$TCLSH_CMD" = "none"; then
10363 # If we can't find a local tclsh, then building the amalgamation will fail.
10364 # We act as though --disable-amalgamation has been used.
10365 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
10372 if test "x${TCLLIBDIR+set}" != "xset" ; then
10373 TCLLIBDIR
='$(libdir)'
10374 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
10378 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
10383 # Set up an appropriate program prefix
10385 if test "$program_prefix" = "NONE"; then
10390 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
10392 $as_echo "$as_me: Version set to $VERSION" >&6;}
10394 RELEASE
=`cat $srcdir/VERSION`
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
10396 $as_echo "$as_me: Release set to $RELEASE" >&6;}
10398 VERSION_NUMBER
=`cat $srcdir/VERSION \
10399 | sed 's/[^0-9]/ /g' \
10400 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
10402 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
10406 # Check to see if the --with-hints=FILE option is used. If there is none,
10407 # then check for a files named "$host.hints" and ../$hosts.hints where
10408 # $host is the hostname of the build system. If still no hints are
10409 # found, try looking in $system.hints and ../$system.hints where
10410 # $system is the result of uname -s.
10413 # Check whether --with-hints was given.
10414 if test "${with_hints+set}" = set; then :
10415 withval
=$with_hints; hints
=$withval
10418 if test "$hints" = ""; then
10419 host=`hostname | sed 's/\..*//'`
10420 if test -r $host.hints
; then
10423 if test -r ..
/$host.hints
; then
10424 hints
=..
/$host.hints
10428 if test "$hints" = ""; then
10430 if test -r $sys.hints
; then
10433 if test -r ..
/$sys.hints
; then
10434 hints
=..
/$sys.hints
10438 if test "$hints" != ""; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: reading hints from $hints" >&5
10440 $as_echo "reading hints from $hints" >&6; }
10445 # Locate a compiler for the build machine. This compiler should
10446 # generate command-line programs that run on the build machine.
10448 if test x
"$cross_compiling" = xno
; then
10450 BUILD_CFLAGS
=$CFLAGS
10452 if test "${BUILD_CC+set}" != set; then
10453 for ac_prog
in gcc cc cl
10455 # Extract the first word of "$ac_prog", so it can be a program name with args.
10456 set dummy
$ac_prog; ac_word
=$2
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 $as_echo_n "checking for $ac_word... " >&6; }
10459 if ${ac_cv_prog_BUILD_CC+:} false
; then :
10460 $as_echo_n "(cached) " >&6
10462 if test -n "$BUILD_CC"; then
10463 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
10465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10466 for as_dir
in $PATH
10469 test -z "$as_dir" && as_dir
=.
10470 for ac_exec_ext
in '' $ac_executable_extensions; do
10471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10472 ac_cv_prog_BUILD_CC
="$ac_prog"
10473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10482 BUILD_CC
=$ac_cv_prog_BUILD_CC
10483 if test -n "$BUILD_CC"; then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10485 $as_echo "$BUILD_CC" >&6; }
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10488 $as_echo "no" >&6; }
10492 test -n "$BUILD_CC" && break
10496 if test "${BUILD_CFLAGS+set}" != set; then
10503 # Do we want to support multithreaded use of sqlite
10505 # Check whether --enable-threadsafe was given.
10506 if test "${enable_threadsafe+set}" = set; then :
10507 enableval
=$enable_threadsafe;
10509 enable_threadsafe
=yes
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
10513 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
10514 if test "$enable_threadsafe" = "no"; then
10515 SQLITE_THREADSAFE
=0
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 $as_echo "no" >&6; }
10519 SQLITE_THREADSAFE
=1
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10521 $as_echo "yes" >&6; }
10525 if test "$SQLITE_THREADSAFE" = "1"; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
10527 $as_echo_n "checking for library containing pthread_create... " >&6; }
10528 if ${ac_cv_search_pthread_create+:} false
; then :
10529 $as_echo_n "(cached) " >&6
10531 ac_func_search_save_LIBS
=$LIBS
10532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10541 char pthread_create ();
10545 return pthread_create ();
10550 for ac_lib
in '' pthread
; do
10551 if test -z "$ac_lib"; then
10552 ac_res
="none required"
10555 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10557 if ac_fn_c_try_link
"$LINENO"; then :
10558 ac_cv_search_pthread_create
=$ac_res
10560 rm -f core conftest.err conftest.
$ac_objext \
10562 if ${ac_cv_search_pthread_create+:} false
; then :
10566 if ${ac_cv_search_pthread_create+:} false
; then :
10569 ac_cv_search_pthread_create
=no
10571 rm conftest.
$ac_ext
10572 LIBS
=$ac_func_search_save_LIBS
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
10575 $as_echo "$ac_cv_search_pthread_create" >&6; }
10576 ac_res
=$ac_cv_search_pthread_create
10577 if test "$ac_res" != no
; then :
10578 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10585 # Do we want to allow a connection created in one thread to be used
10586 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
10587 # due to bugs in the threading implementations. This is thus off by default.
10589 # Check whether --enable-cross-thread-connections was given.
10590 if test "${enable_cross_thread_connections+set}" = set; then :
10591 enableval
=$enable_cross_thread_connections;
10593 enable_xthreadconnect
=no
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to allow connections to be shared across threads" >&5
10597 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
10598 if test "$enable_xthreadconnect" = "no"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10601 $as_echo "no" >&6; }
10603 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10605 $as_echo "yes" >&6; }
10610 # Do we want to support release
10612 # Check whether --enable-releasemode was given.
10613 if test "${enable_releasemode+set}" = set; then :
10614 enableval
=$enable_releasemode;
10616 enable_releasemode
=no
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
10620 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
10621 if test "$enable_releasemode" = "no"; then
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10624 $as_echo "no" >&6; }
10626 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10628 $as_echo "yes" >&6; }
10633 # Do we want temporary databases in memory
10635 # Check whether --enable-tempstore was given.
10636 if test "${enable_tempstore+set}" = set; then :
10637 enableval
=$enable_tempstore;
10639 enable_tempstore
=no
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
10643 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
10644 case "$enable_tempstore" in
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
10648 $as_echo "never" >&6; }
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10653 $as_echo "no" >&6; }
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10658 $as_echo "yes" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
10663 $as_echo "always" >&6; }
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10668 $as_echo "no" >&6; }
10675 # Lots of things are different if we are compiling for Windows using
10676 # the CYGWIN environment. So check for that special case and handle
10677 # things accordingly.
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
10680 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
10681 if test "$config_BUILD_EXEEXT" = ".exe"; then
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10684 $as_echo "yes" >&6; }
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
10687 $as_echo "unknown" >&6; }
10689 if test "$CYGWIN" != "yes"; then
10692 *cygwin
* ) CYGWIN
=yes;;
10697 if test "$CYGWIN" = "yes"; then
10700 BUILD_EXEEXT
=$EXEEXT
10702 if test x
"$cross_compiling" = xno
; then
10703 TARGET_EXEEXT
=$BUILD_EXEEXT
10705 TARGET_EXEEXT
=$config_TARGET_EXEEXT
10707 if test "$TARGET_EXEEXT" = ".exe"; then
10708 if test $OS2_SHELL ; then
10712 CFLAGS
="$CFLAGS -DSQLITE_OS_OS2=1"
10717 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
10723 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
10733 # Figure out all the parameters needed to compile against Tcl.
10735 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
10736 # macros in the in the tcl.m4 file of the standard TCL distribution.
10737 # Those macros could not be used directly since we have to make some
10738 # minor changes to accomodate systems that do not have TCL installed.
10740 # Check whether --enable-tcl was given.
10741 if test "${enable_tcl+set}" = set; then :
10742 enableval
=$enable_tcl; use_tcl
=$enableval
10747 if test "${use_tcl}" = "yes" ; then
10749 # Check whether --with-tcl was given.
10750 if test "${with_tcl+set}" = set; then :
10751 withval
=$with_tcl; with_tclconfig
=${withval}
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
10755 $as_echo_n "checking for Tcl configuration... " >&6; }
10756 if ${ac_cv_c_tclconfig+:} false
; then :
10757 $as_echo_n "(cached) " >&6
10760 # First check to see if --with-tcl was specified.
10761 if test x
"${with_tclconfig}" != x
; then
10762 if test -f "${with_tclconfig}/tclConfig.sh" ; then
10763 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
10765 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
10769 # Start autosearch by asking tclsh
10770 if test x
"${ac_cv_c_tclconfig}" = x
; then
10771 if test x
"$cross_compiling" = xno
; then
10772 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
10774 if test -f "$i/tclConfig.sh" ; then
10775 ac_cv_c_tclconfig
="$i"
10782 # then check for a private Tcl installation
10783 if test x
"${ac_cv_c_tclconfig}" = x
; then
10786 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10787 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
10788 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
10790 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10791 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
10792 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
10794 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10795 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
10796 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
10798 if test -f "$i/unix/tclConfig.sh" ; then
10799 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10805 # check in a few common install locations
10806 if test x
"${ac_cv_c_tclconfig}" = x
; then
10808 `ls -d ${libdir} 2>/dev/null` \
10809 `ls -d /usr/local/lib 2>/dev/null` \
10810 `ls -d /usr/contrib/lib 2>/dev/null` \
10811 `ls -d /usr/lib 2>/dev/null`
10813 if test -f "$i/tclConfig.sh" ; then
10814 ac_cv_c_tclconfig
=`(cd $i; pwd)`
10820 # check in a few other private locations
10821 if test x
"${ac_cv_c_tclconfig}" = x
; then
10824 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10825 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
10826 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
10828 if test -f "$i/unix/tclConfig.sh" ; then
10829 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10838 if test x
"${ac_cv_c_tclconfig}" = x
; then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
10841 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
10843 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
10845 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
10847 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
10849 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
10852 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
10853 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
10855 $as_echo "loading" >&6; }
10856 .
$TCL_BIN_DIR/tclConfig.sh
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
10859 $as_echo "file not found" >&6; }
10863 # If the TCL_BIN_DIR is the build directory (not the install directory),
10864 # then set the common variable name to the value of the build variables.
10865 # For example, the variable TCL_LIB_SPEC will be set to the value
10866 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
10867 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
10868 # installed and uninstalled version of Tcl.
10871 if test -f $TCL_BIN_DIR/Makefile
; then
10872 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
10873 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
10874 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
10878 # eval is required to do the TCL_DBGX substitution
10881 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
10882 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
10883 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
10885 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
10886 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
10887 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
10904 if test "${use_tcl}" = "no" ; then
10912 # Figure out what C libraries are required to compile programs
10913 # that use "readline()" library.
10915 TARGET_READLINE_LIBS
=""
10916 TARGET_READLINE_INC
=""
10917 TARGET_HAVE_READLINE
=0
10918 # Check whether --enable-readline was given.
10919 if test "${enable_readline+set}" = set; then :
10920 enableval
=$enable_readline; with_readline
=$enableval
10926 if test x
"$with_readline" != xno
; then
10930 # Check whether --with-readline-lib was given.
10931 if test "${with_readline_lib+set}" = set; then :
10932 withval
=$with_readline_lib; with_readline_lib
=$withval
10934 with_readline_lib
="auto"
10937 if test "x$with_readline_lib" = xauto
; then
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
10941 $as_echo_n "checking for library containing tgetent... " >&6; }
10942 if ${ac_cv_search_tgetent+:} false
; then :
10943 $as_echo_n "(cached) " >&6
10945 ac_func_search_save_LIBS
=$LIBS
10946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10964 for ac_lib
in '' readline ncurses curses termcap
; do
10965 if test -z "$ac_lib"; then
10966 ac_res
="none required"
10969 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10971 if ac_fn_c_try_link
"$LINENO"; then :
10972 ac_cv_search_tgetent
=$ac_res
10974 rm -f core conftest.err conftest.
$ac_objext \
10976 if ${ac_cv_search_tgetent+:} false
; then :
10980 if ${ac_cv_search_tgetent+:} false
; then :
10983 ac_cv_search_tgetent
=no
10985 rm conftest.
$ac_ext
10986 LIBS
=$ac_func_search_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
10989 $as_echo "$ac_cv_search_tgetent" >&6; }
10990 ac_res
=$ac_cv_search_tgetent
10991 if test "$ac_res" != no
; then :
10992 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
10999 $as_echo_n "checking for readline in -lreadline... " >&6; }
11000 if ${ac_cv_lib_readline_readline+:} false
; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS
=$LIBS
11004 LIBS
="-lreadline $LIBS"
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11018 return readline ();
11023 if ac_fn_c_try_link
"$LINENO"; then :
11024 ac_cv_lib_readline_readline
=yes
11026 ac_cv_lib_readline_readline
=no
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
11033 $as_echo "$ac_cv_lib_readline_readline" >&6; }
11034 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
11035 TARGET_READLINE_LIBS
="-lreadline"
11040 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
11043 TARGET_READLINE_LIBS
="$with_readline_lib"
11047 # Check whether --with-readline-inc was given.
11048 if test "${with_readline_inc+set}" = set; then :
11049 withval
=$with_readline_inc; with_readline_inc
=$withval
11051 with_readline_inc
="auto"
11054 if test "x$with_readline_inc" = xauto
; then
11055 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
11056 if test "x$ac_cv_header_readline_h" = xyes
; then :
11061 if test "$cross_compiling" != yes; then
11062 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
11063 for subdir
in include include
/readline
; do
11064 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
11066 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
11067 if eval \
${$as_ac_File+:} false
; then :
11068 $as_echo_n "(cached) " >&6
11070 test "$cross_compiling" = yes &&
11071 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
11072 if test -r "$dir/$subdir/readline.h"; then
11073 eval "$as_ac_File=yes"
11075 eval "$as_ac_File=no"
11078 eval ac_res
=\$
$as_ac_File
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11080 $as_echo "$ac_res" >&6; }
11081 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
11085 if test "$found" = "yes"; then
11086 TARGET_READLINE_INC
="-I$dir/$subdir"
11090 test "$found" = "yes" && break
11098 TARGET_READLINE_INC
="$with_readline_inc"
11101 if test x
"$found" = xno
; then
11102 TARGET_READLINE_LIBS
=""
11103 TARGET_READLINE_INC
=""
11104 TARGET_HAVE_READLINE
=0
11106 TARGET_HAVE_READLINE
=1
11115 # Figure out what C libraries are required to compile programs
11116 # that use "fdatasync()" function.
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
11119 $as_echo_n "checking for library containing fdatasync... " >&6; }
11120 if ${ac_cv_search_fdatasync+:} false
; then :
11121 $as_echo_n "(cached) " >&6
11123 ac_func_search_save_LIBS
=$LIBS
11124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11137 return fdatasync ();
11142 for ac_lib
in '' rt
; do
11143 if test -z "$ac_lib"; then
11144 ac_res
="none required"
11147 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11149 if ac_fn_c_try_link
"$LINENO"; then :
11150 ac_cv_search_fdatasync
=$ac_res
11152 rm -f core conftest.err conftest.
$ac_objext \
11154 if ${ac_cv_search_fdatasync+:} false
; then :
11158 if ${ac_cv_search_fdatasync+:} false
; then :
11161 ac_cv_search_fdatasync
=no
11163 rm conftest.
$ac_ext
11164 LIBS
=$ac_func_search_save_LIBS
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
11167 $as_echo "$ac_cv_search_fdatasync" >&6; }
11168 ac_res
=$ac_cv_search_fdatasync
11169 if test "$ac_res" != no
; then :
11170 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11176 # check for debug enabled
11177 # Check whether --enable-debug was given.
11178 if test "${enable_debug+set}" = set; then :
11179 enableval
=$enable_debug; use_debug
=$enableval
11184 if test "${use_debug}" = "yes" ; then
11185 TARGET_DEBUG
="-DSQLITE_DEBUG=1"
11187 TARGET_DEBUG
="-DNDEBUG"
11192 # See whether we should use the amalgamation to build
11193 # Check whether --enable-amalgamation was given.
11194 if test "${enable_amalgamation+set}" = set; then :
11195 enableval
=$enable_amalgamation; use_amalgamation
=$enableval
11197 use_amalgamation
=yes
11200 if test "${use_amalgamation}" != "yes" ; then
11206 # See whether we should allow loadable extensions
11207 # Check whether --enable-load-extension was given.
11208 if test "${enable_load_extension+set}" = set; then :
11209 enableval
=$enable_load_extension; use_loadextension
=$enableval
11211 use_loadextension
=no
11214 if test "${use_loadextension}" = "yes" ; then
11215 OPT_FEATURE_FLAGS
=""
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11217 $as_echo_n "checking for library containing dlopen... " >&6; }
11218 if ${ac_cv_search_dlopen+:} false
; then :
11219 $as_echo_n "(cached) " >&6
11221 ac_func_search_save_LIBS
=$LIBS
11222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11240 for ac_lib
in '' dl
; do
11241 if test -z "$ac_lib"; then
11242 ac_res
="none required"
11245 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11247 if ac_fn_c_try_link
"$LINENO"; then :
11248 ac_cv_search_dlopen
=$ac_res
11250 rm -f core conftest.err conftest.
$ac_objext \
11252 if ${ac_cv_search_dlopen+:} false
; then :
11256 if ${ac_cv_search_dlopen+:} false
; then :
11259 ac_cv_search_dlopen
=no
11261 rm conftest.
$ac_ext
11262 LIBS
=$ac_func_search_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11265 $as_echo "$ac_cv_search_dlopen" >&6; }
11266 ac_res
=$ac_cv_search_dlopen
11267 if test "$ac_res" != no
; then :
11268 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11273 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
11277 # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
11278 for option
in $CFLAGS $CPPFLAGS
11281 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11282 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11288 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
11290 for option
in $CFLAGS
11294 -DSQLITE_ENABLE*) ;;
11295 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
11298 CFLAGS
=$ac_temp_CFLAGS
11301 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
11302 ac_temp_CPPFLAGS
=""
11303 for option
in $CPPFLAGS
11307 -DSQLITE_ENABLE*) ;;
11308 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
11311 CPPFLAGS
=$ac_temp_CPPFLAGS
11314 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
11315 ac_temp_BUILD_CFLAGS
=""
11316 for option
in $BUILD_CFLAGS
11320 -DSQLITE_ENABLE*) ;;
11321 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
11324 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
11328 # See whether we should use GCOV
11329 # Check whether --enable-gcov was given.
11330 if test "${enable_gcov+set}" = set; then :
11331 enableval
=$enable_gcov; use_gcov
=$enableval
11336 if test "${use_gcov}" = "yes" ; then
11345 # Output the config header
11346 ac_config_headers
="$ac_config_headers config.h"
11350 # Generate the output files.
11353 ac_config_files
="$ac_config_files Makefile sqlite3.pc"
11355 cat >confcache
<<\_ACEOF
11356 # This file is a shell script that caches the results of configure
11357 # tests run on this system so they can be shared between configure
11358 # scripts and configure runs, see configure's option --config-cache.
11359 # It is not useful on other systems. If it contains results you don't
11360 # want to keep, you may remove or edit it.
11362 # config.status only pays attention to the cache file if you give it
11363 # the --recheck option to rerun configure.
11365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11367 # following values.
11371 # The following way of writing the cache mishandles newlines in values,
11372 # but we know of no workaround that is simple, portable, and efficient.
11373 # So, we kill variables containing newlines.
11374 # Ultrix sh set writes to stderr and can't be redirected directly,
11375 # and sets the high bit in the cache file unless we assign to the vars.
11377 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11378 eval ac_val
=\$
$ac_var
11382 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11386 _ | IFS | as_nl
) ;; #(
11387 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11388 *) { eval $ac_var=; unset $ac_var;} ;;
11394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11395 *${as_nl}ac_space
=\
*)
11396 # `set' does not quote correctly, so add quotes: double-quote
11397 # substitution turns \\\\ into \\, and sed turns \\ into \.
11400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11403 # `set' quotes correctly as required by POSIX, so do not add quotes.
11404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11417 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11418 if test -w "$cache_file"; then
11419 if test "x$cache_file" != "x/dev/null"; then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11421 $as_echo "$as_me: updating cache $cache_file" >&6;}
11422 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11423 cat confcache
>"$cache_file"
11425 case $cache_file in #(
11427 mv -f confcache
"$cache_file"$$
&&
11428 mv -f "$cache_file"$$
"$cache_file" ;; #(
11430 mv -f confcache
"$cache_file" ;;
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11436 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11441 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11442 # Let make expand exec_prefix.
11443 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11445 DEFS
=-DHAVE_CONFIG_H
11450 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11451 # 1. Remove the extension, and $U if already installed.
11452 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11453 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11454 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11455 # will be set to the directory where LIBOBJS objects are built.
11456 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11457 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11459 LIBOBJS
=$ac_libobjs
11461 LTLIBOBJS
=$ac_ltlibobjs
11465 : "${CONFIG_STATUS=./config.status}"
11467 ac_clean_files_save
=$ac_clean_files
11468 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11470 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11472 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11474 # Generated by $as_me.
11475 # Run this file to recreate the current configuration.
11476 # Compiler output produced by configure, useful for debugging
11477 # configure, is in config.log if it exists.
11480 ac_cs_recheck=false
11483 SHELL=\${CONFIG_SHELL-$SHELL}
11486 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11487 ## -------------------- ##
11488 ## M4sh Initialization. ##
11489 ## -------------------- ##
11491 # Be more Bourne compatible
11492 DUALCASE
=1; export DUALCASE
# for MKS sh
11493 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11496 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11497 # is contrary to our usage. Disable this feature.
11498 alias -g '${1+"$@"}'='"$@"'
11499 setopt NO_GLOB_SUBST
11501 case `(set -o) 2>/dev/null` in #(
11513 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11514 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11515 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11517 # Prefer a ksh shell builtin over an external printf program on Solaris,
11518 # but without wasting forks for bash or zsh.
11519 if test -z "$BASH_VERSION$ZSH_VERSION" \
11520 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11521 as_echo='print
-r --'
11522 as_echo_n='print
-rn --'
11523 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11524 as_echo='printf %s
\n'
11525 as_echo_n='printf %s
'
11527 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11528 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11529 as_echo_n='/usr
/ucb
/echo -n'
11531 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11532 as_echo_n_body='eval
11536 expr "X$arg" : "X\\(.*\\)$as_nl";
11537 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11539 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11541 export as_echo_n_body
11542 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11544 export as_echo_body
11545 as_echo='sh
-c $as_echo_body as_echo
'
11548 # The user is always right.
11549 if test "${PATH_SEPARATOR+set}" != set; then
11551 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11552 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11559 # We need space, tab and new line, in precisely that order. Quoting is
11560 # there to prevent editors from complaining about space-tab.
11561 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11562 # splitting by setting IFS to empty value.)
11565 # Find who we are. Look in the path if we contain no directory separator.
11568 *[\\/]* ) as_myself=$0 ;;
11569 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11570 for as_dir in $PATH
11573 test -z "$as_dir" && as_dir=.
11574 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11580 # We did not find ourselves, most probably we were run as `sh COMMAND'
11581 # in which case we are not to be found in the path.
11582 if test "x$as_myself" = x
; then
11585 if test ! -f "$as_myself"; then
11586 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11590 # Unset variables that we do not need and which cause bugs (e.g. in
11591 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11592 # suppresses any "Segmentation fault" message there. '((' could
11593 # trigger a bug in pdksh 5.2.14.
11594 for as_var
in BASH_ENV ENV MAIL MAILPATH
11595 do eval test x\
${$as_var+set} = xset \
11596 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11609 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11612 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11613 # ----------------------------------------
11614 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11615 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11616 # script with STATUS, using 1 if that was 0.
11619 as_status
=$1; test $as_status -eq 0 && as_status
=1
11621 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11622 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11624 $as_echo "$as_me: error: $2" >&2
11625 as_fn_exit
$as_status
11629 # as_fn_set_status STATUS
11630 # -----------------------
11631 # Set $? to STATUS, without forking.
11632 as_fn_set_status
()
11635 } # as_fn_set_status
11637 # as_fn_exit STATUS
11638 # -----------------
11639 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11643 as_fn_set_status
$1
11649 # Portably unset VAR.
11652 { eval $1=; unset $1;}
11654 as_unset
=as_fn_unset
11655 # as_fn_append VAR VALUE
11656 # ----------------------
11657 # Append the text in VALUE to the end of the definition contained in VAR. Take
11658 # advantage of any shell optimizations that allow amortized linear growth over
11659 # repeated appends, instead of the typical quadratic growth present in naive
11661 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11662 eval 'as_fn_append ()
11673 # as_fn_arith ARG...
11674 # ------------------
11675 # Perform arithmetic evaluation on the ARGs, and store the result in the
11676 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11677 # must be portable across $(()) and expr.
11678 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11679 eval 'as_fn_arith ()
11686 as_val
=`expr "$@" || test $? -eq 1`
11691 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11692 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11698 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11699 as_basename
=basename
11704 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11710 as_me
=`$as_basename -- "$0" ||
11711 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11712 X"$0" : 'X\(//\)$' \| \
11713 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11715 sed '/^.*\/\([^/][^/]*\)\/*$/{
11729 # Avoid depending upon Character Ranges.
11730 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11731 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11732 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11733 as_cr_digits
='0123456789'
11734 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11736 ECHO_C
= ECHO_N
= ECHO_T
=
11737 case `echo -n x` in #(((((
11739 case `echo 'xy\c'` in
11740 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11742 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11749 rm -f conf$$ conf$$.exe conf$$.
file
11750 if test -d conf$$.dir
; then
11751 rm -f conf$$.dir
/conf$$.
file
11754 mkdir conf$$.dir
2>/dev
/null
11756 if (echo >conf$$.
file) 2>/dev
/null
; then
11757 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11759 # ... but there are two gotchas:
11760 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11761 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11762 # In both cases, we have to default to `cp -p'.
11763 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11765 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11773 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11774 rmdir conf$$.dir
2>/dev
/null
11779 # Create "$as_dir" as a directory, including parents if necessary.
11784 -*) as_dir
=.
/$as_dir;;
11786 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11790 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11791 *) as_qdir
=$as_dir;;
11793 as_dirs
="'$as_qdir' $as_dirs"
11794 as_dir
=`$as_dirname -- "$as_dir" ||
11795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11796 X"$as_dir" : 'X\(//\)[^/]' \| \
11797 X"$as_dir" : 'X\(//\)$' \| \
11798 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11799 $as_echo X"$as_dir" |
11800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11804 /^X\(\/\/\)[^/].*/{
11817 test -d "$as_dir" && break
11819 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11820 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
11824 if mkdir
-p .
2>/dev
/null
; then
11825 as_mkdir_p
='mkdir -p "$as_dir"'
11827 test -d .
/-p && rmdir .
/-p
11831 if test -x / >/dev
/null
2>&1; then
11832 as_test_x
='test -x'
11834 if ls -dL / >/dev
/null
2>&1; then
11841 if test -d "$1"; then
11847 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11848 ???[sx]*):;;*)false;;esac;fi
11852 as_executable_p
=$as_test_x
11854 # Sed expression to map a string onto a valid CPP name.
11855 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11857 # Sed expression to map a string onto a valid variable name.
11858 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11862 ## ----------------------------------- ##
11863 ## Main body of $CONFIG_STATUS script. ##
11864 ## ----------------------------------- ##
11866 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11869 # Save the log message, to keep $0 and so on meaningful, and to
11870 # report actual input values of CONFIG_FILES etc. instead of their
11871 # values after options handling.
11873 This file was extended by sqlite $as_me 3.7.14.1, which was
11874 generated by GNU Autoconf 2.68. Invocation command line was
11876 CONFIG_FILES = $CONFIG_FILES
11877 CONFIG_HEADERS = $CONFIG_HEADERS
11878 CONFIG_LINKS = $CONFIG_LINKS
11879 CONFIG_COMMANDS = $CONFIG_COMMANDS
11882 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11887 case $ac_config_files in *"
11888 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11891 case $ac_config_headers in *"
11892 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11897 # Files that config.status was made for.
11898 config_files="$ac_config_files"
11899 config_headers="$ac_config_headers"
11900 config_commands="$ac_config_commands"
11904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11906 \`$as_me' instantiates files and other configuration actions
11907 from templates according to the current configuration. Unless the files
11908 and actions are specified as TAGs, all are instantiated by default.
11910 Usage: $0 [OPTION]... [TAG]...
11912 -h, --help print this help, then exit
11913 -V, --version print version number and configuration settings, then exit
11914 --config print configuration, then exit
11915 -q, --quiet, --silent
11916 do not print progress messages
11917 -d, --debug don't remove temporary files
11918 --recheck update $as_me by reconfiguring in the same conditions
11919 --file=FILE[:TEMPLATE]
11920 instantiate the configuration file FILE
11921 --header=FILE[:TEMPLATE]
11922 instantiate the configuration header FILE
11924 Configuration files:
11927 Configuration headers:
11930 Configuration commands:
11933 Report bugs to the package provider."
11936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11937 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11939 sqlite config.status 3.7.14.1
11940 configured by $0, generated by GNU Autoconf 2.68,
11941 with options \\"\$ac_cs_config\\"
11943 Copyright (C) 2010 Free Software Foundation, Inc.
11944 This config.status script is free software; the Free Software Foundation
11945 gives unlimited permission to copy, distribute and modify it."
11951 test -n "\$AWK" || AWK=awk
11954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11955 # The default lists apply if the user does not specify any file.
11961 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11962 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11966 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11978 # Handling of the options.
11979 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11981 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11982 $as_echo "$ac_cs_version"; exit ;;
11983 --config |
--confi |
--conf |
--con |
--co |
--c )
11984 $as_echo "$ac_cs_config"; exit ;;
11985 --debug |
--debu |
--deb |
--de |
--d |
-d )
11987 --file |
--fil |
--fi |
--f )
11990 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11991 '') as_fn_error $?
"missing file argument" ;;
11993 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11994 ac_need_defaults
=false
;;
11995 --header |
--heade |
--head |
--hea )
11998 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12000 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12001 ac_need_defaults
=false
;;
12003 # Conflict between --help and --header
12004 as_fn_error $?
"ambiguous option: \`$1'
12005 Try \`$0 --help' for more information.";;
12006 --help |
--hel |
-h )
12007 $as_echo "$ac_cs_usage"; exit ;;
12008 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12009 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12012 # This is an error.
12013 -*) as_fn_error $?
"unrecognized option: \`$1'
12014 Try \`$0 --help' for more information." ;;
12016 *) as_fn_append ac_config_targets
" $1"
12017 ac_need_defaults
=false
;;
12023 ac_configure_extra_args
=
12025 if $ac_cs_silent; then
12027 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12032 if \$ac_cs_recheck; then
12033 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12036 CONFIG_SHELL='$SHELL'
12037 export CONFIG_SHELL
12042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12047 ## Running $as_me. ##
12053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12059 # The HP-UX ksh and POSIX shell print the target directory to stdout
12060 # if CDPATH is set.
12061 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12063 sed_quote_subst='$sed_quote_subst'
12064 double_quote_subst='$double_quote_subst'
12065 delay_variable_subst='$delay_variable_subst'
12066 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12067 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12068 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12069 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12070 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12071 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12072 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12073 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12074 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12075 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12076 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12077 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12078 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12079 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12080 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12081 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12082 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12083 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12084 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12085 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12086 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12087 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12088 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12089 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12090 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12091 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12092 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12093 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12094 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12095 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12096 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12097 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12098 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12099 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12100 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12101 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12102 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12103 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12104 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12105 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12106 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12107 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12108 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12109 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12110 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"`'
12111 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"`'
12112 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12113 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12114 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12115 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12116 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12117 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12118 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12119 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12120 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12121 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12122 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12123 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12124 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12125 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12126 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12127 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12128 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12129 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12130 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12131 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12132 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12133 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12134 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12135 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12136 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12137 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12138 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12139 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12140 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12141 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12142 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12143 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12144 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12145 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12146 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12147 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12148 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12149 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12150 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12151 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12152 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12153 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12154 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12155 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12156 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12157 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12158 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12159 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12160 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12161 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12162 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12163 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12164 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12165 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12166 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12167 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12168 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12169 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12170 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12171 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12172 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12173 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12174 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12175 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12176 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12177 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12178 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12179 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12180 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12181 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12182 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12183 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12186 LTCFLAGS='$LTCFLAGS'
12187 compiler='$compiler_DEFAULT'
12189 # Quote evaled strings.
12201 deplibs_check_method \
12210 lt_cv_sys_global_symbol_pipe \
12211 lt_cv_sys_global_symbol_to_cdecl \
12212 lt_cv_sys_global_symbol_to_c_name_address \
12213 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12216 lt_prog_compiler_no_builtin_flag \
12217 lt_prog_compiler_wl \
12218 lt_prog_compiler_pic \
12219 lt_prog_compiler_static \
12220 lt_cv_prog_compiler_c_o \
12228 export_dynamic_flag_spec \
12229 whole_archive_flag_spec \
12230 compiler_needs_object \
12232 allow_undefined_flag \
12233 no_undefined_flag \
12234 hardcode_libdir_flag_spec \
12235 hardcode_libdir_flag_spec_ld \
12236 hardcode_libdir_separator \
12241 variables_saved_for_relink \
12243 library_names_spec \
12248 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12249 *[\\\\\\\`\\"\\\$]*)
12250 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12253 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12258 # Double-quote double-evaled strings.
12259 for var in reload_cmds \
12260 old_postinstall_cmds \
12261 old_postuninstall_cmds \
12263 extract_expsyms_cmds \
12264 old_archive_from_new_cmds \
12265 old_archive_from_expsyms_cmds \
12267 archive_expsym_cmds \
12269 module_expsym_cmds \
12270 export_symbols_cmds \
12273 postuninstall_cmds \
12275 sys_lib_search_path_spec \
12276 sys_lib_dlsearch_path_spec; do
12277 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12278 *[\\\\\\\`\\"\\\$]*)
12279 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12282 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12287 # Fix-up fallback echo if it was mangled by the above quoting rules.
12289 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12293 ac_aux_dir='$ac_aux_dir'
12294 xsi_shell='$xsi_shell'
12295 lt_shell_append='$lt_shell_append'
12297 # See if we are running on zsh, and set the options which allow our
12298 # commands through without removal of \ escapes INIT.
12299 if test -n "\${ZSH_VERSION+set}" ; then
12300 setopt NO_GLOB_SUBST
12306 TIMESTAMP='$TIMESTAMP'
12315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12317 # Handling of arguments.
12318 for ac_config_target
in $ac_config_targets
12320 case $ac_config_target in
12321 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12322 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12323 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12324 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
12326 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12331 # If the user did not use the arguments to specify the items to instantiate,
12332 # then the envvar interface is used. Set only those that are not.
12333 # We use the long form for the default assignment because of an extremely
12334 # bizarre bug on SunOS 4.1.3.
12335 if $ac_need_defaults; then
12336 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12337 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12338 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12341 # Have a temporary directory for convenience. Make it in the build tree
12342 # simply because there is no reason against having it here, and in addition,
12343 # creating and moving files from /tmp can sometimes cause problems.
12344 # Hook for its removal unless debugging.
12345 # Note that there is a small window in which the directory will not be cleaned:
12346 # after its creation but before its name has been assigned to `$tmp'.
12350 trap 'exit_status=$?
12351 : "${ac_tmp:=$tmp}"
12352 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12354 trap 'as_fn_exit 1' 1 2 13 15
12356 # Create a (secure) tmp directory for tmp files.
12359 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12363 tmp
=.
/conf$$
-$RANDOM
12364 (umask 077 && mkdir
"$tmp")
12365 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12368 # Set up the scripts for CONFIG_FILES section.
12369 # No need to generate them if there are no CONFIG_FILES.
12370 # This happens for instance with `./config.status config.h'.
12371 if test -n "$CONFIG_FILES"; then
12374 ac_cr
=`echo X | tr X '\015'`
12375 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12376 # But we know of no other shell where ac_cr would be empty at this
12377 # point, so we can use a bashism as a fallback.
12378 if test "x$ac_cr" = x
; then
12379 eval ac_cr
=\$
\'\\r
\'
12381 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12382 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12385 ac_cs_awk_cr
=$ac_cr
12388 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12393 echo "cat >conf$$subs.awk <<_ACEOF" &&
12394 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12396 } >conf$$subs.sh ||
12397 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12398 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12400 for ac_last_try in false false false false false :; do
12401 . ./conf$$subs.sh ||
12402 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12404 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12405 if test $ac_delim_n = $ac_delim_num; then
12407 elif $ac_last_try; then
12408 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12410 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12413 rm -f conf$$subs.sh
12415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12416 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12420 s/^/S["/; s
/!.
*/"]=/
12430 s/\(.\{148\}\)..*/\1/
12432 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12437 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12444 s/\(.\{148\}\)..*/\1/
12446 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12450 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12455 ' <conf$$subs.awk | sed '
12460 ' >>$CONFIG_STATUS || ac_write_fail=1
12461 rm -f conf$$subs.awk
12462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12464 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12465 for (key in S) S_is_set[key] = 1
12471 nfields = split(line, field, "@
")
12473 len = length(field[1])
12474 for (i = 2; i < nfields; i++) {
12476 keylen = length(key)
12477 if (S_is_set[key]) {
12479 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12480 len += length(value) + length(field[++i])
12491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12492 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12493 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12496 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12497 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12500 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12501 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12502 # trailing colons and then remove the whole line if VPATH becomes empty
12503 # (actually we leave an empty line to preserve line numbers).
12504 if test "x
$srcdir" = x.; then
12505 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12524 fi # test -n "$CONFIG_FILES"
12526 # Set up the scripts for CONFIG_HEADERS section.
12527 # No need to generate them if there are no CONFIG_HEADERS.
12528 # This happens for instance with `./config.status Makefile'.
12529 if test -n "$CONFIG_HEADERS"; then
12530 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12534 # Transform confdefs.h into an awk script `defines.awk', embedded as
12535 # here-document in config.status, that substitutes the proper values into
12536 # config.h.in to produce config.h.
12538 # Create a delimiter string that does not exist in confdefs.h, to ease
12539 # handling of long lines.
12541 for ac_last_try in false false :; do
12542 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12543 if test -z "$ac_tt"; then
12545 elif $ac_last_try; then
12546 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12548 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12552 # For the awk script, D is an array of macro values keyed by name,
12553 # likewise P contains macro parameters if any. Preserve backslash
12554 # newline sequences.
12556 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12558 s/.\{148\}/&'"$ac_delim"'/g
12561 s/^[ ]*#[ ]*define[ ][ ]*/ /
12568 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12570 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12575 D["\
1"]=" \
3\\\\\\n
"\\/p
12577 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12582 s/.\{148\}/&'"$ac_delim"'/g
12587 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12590 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12592 ' <confdefs.h | sed '
12593 s/'"$ac_delim"'/"\\\
12594 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12597 for (key in D) D_is_set[key] = 1
12600 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12602 split(line, arg, " ")
12603 if (arg[1] == "#") {
12607 defundef
= substr
(arg
[1], 2)
12610 split(mac1
, mac2
, "(") #)
12612 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12613 if (D_is_set
[macro
]) {
12614 # Preserve the white space surrounding the "#".
12615 print prefix
"define", macro P
[macro
] D
[macro
]
12618 # Replace #undef with comments. This is necessary, for example,
12619 # in the case of _POSIX_SOURCE, which is predefined and required
12620 # on some systems where configure will not decide to define it.
12621 if (defundef
== "undef") {
12622 print
"/*", prefix defundef
, macro
, "*/"
12630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12631 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12632 fi # test -n "$CONFIG_HEADERS"
12635 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12640 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12642 case $ac_mode$ac_tag in
12644 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12645 :[FH
]-) ac_tag
=-:-;;
12646 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12663 -) ac_f
="$ac_tmp/stdin";;
12664 *) # Look for the file first in the build tree, then in the source tree
12665 # (if the path is not absolute). The absolute path cannot be DOS-style,
12666 # because $ac_f cannot contain `:'.
12670 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12672 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12674 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12675 as_fn_append ac_file_inputs
" '$ac_f'"
12678 # Let's still pretend it is `configure' which instantiates (i.e., don't
12679 # use $as_me), people would be surprised to read:
12680 # /* config.h. Generated by config.status. */
12681 configure_input
='Generated from '`
12682 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12684 if test x
"$ac_file" != x-
; then
12685 configure_input
="$ac_file. $configure_input"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12687 $as_echo "$as_me: creating $ac_file" >&6;}
12689 # Neutralize special characters interpreted by sed in replacement strings.
12690 case $configure_input in #(
12691 *\
&* |
*\|
* |
*\\* )
12692 ac_sed_conf_input
=`$as_echo "$configure_input" |
12693 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12694 *) ac_sed_conf_input
=$configure_input;;
12698 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12699 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12704 ac_dir
=`$as_dirname -- "$ac_file" ||
12705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12706 X"$ac_file" : 'X\(//\)[^/]' \| \
12707 X"$ac_file" : 'X\(//\)$' \| \
12708 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12709 $as_echo X"$ac_file" |
12710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12714 /^X\(\/\/\)[^/].*/{
12727 as_dir
="$ac_dir"; as_fn_mkdir_p
12731 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12733 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12734 # A ".." for each directory in $ac_dir_suffix.
12735 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12736 case $ac_top_builddir_sub in
12737 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12738 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12741 ac_abs_top_builddir
=$ac_pwd
12742 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12743 # for backward compatibility:
12744 ac_top_builddir
=$ac_top_build_prefix
12747 .
) # We are building in place.
12749 ac_top_srcdir
=$ac_top_builddir_sub
12750 ac_abs_top_srcdir
=$ac_pwd ;;
12751 [\\/]* | ?
:[\\/]* ) # Absolute name.
12752 ac_srcdir
=$srcdir$ac_dir_suffix;
12753 ac_top_srcdir
=$srcdir
12754 ac_abs_top_srcdir
=$srcdir ;;
12755 *) # Relative name.
12756 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12757 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12758 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12760 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12770 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12771 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12776 # If the template does not know about datarootdir, expand it.
12777 # FIXME: This hack should be removed a few years after 2.60.
12778 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12789 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12790 *datarootdir
*) ac_datarootdir_seen
=yes;;
12791 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12793 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12796 ac_datarootdir_hack='
12797 s&@datadir@&$datadir&g
12798 s&@docdir@&$docdir&g
12799 s&@infodir@&$infodir&g
12800 s&@localedir@&$localedir&g
12801 s&@mandir@&$mandir&g
12802 s&\\\${datarootdir}&$datarootdir&g' ;;
12806 # Neutralize VPATH when `$srcdir' = `.'.
12807 # Shell code in configure.ac might set extrasub.
12808 # FIXME: do we really want to maintain this feature?
12809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12810 ac_sed_extra="$ac_vpsub
12813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12815 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12816 s|@configure_input@|
$ac_sed_conf_input|
;t t
12817 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12818 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12819 s
&@srcdir@
&$ac_srcdir&;t t
12820 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12821 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12822 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12823 s
&@builddir@
&$ac_builddir&;t t
12824 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12825 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12826 s
&@INSTALL@
&$ac_INSTALL&;t t
12827 $ac_datarootdir_hack
12829 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
12830 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12832 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12833 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
12834 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12835 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12837 which seems to be undefined. Please make sure it is defined" >&5
12838 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12839 which seems to be undefined. Please make sure it is defined" >&2;}
12841 rm -f "$ac_tmp/stdin"
12843 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12844 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12852 if test x"$ac_file" != x-; then
12854 $as_echo "/* $configure_input */" \
12855 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12856 } >"$ac_tmp/config.h" \
12857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12858 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12860 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12863 mv "$ac_tmp/config.h" "$ac_file" \
12864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12867 $as_echo "/* $configure_input */" \
12868 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12869 || as_fn_error $? "could not create -" "$LINENO" 5
12873 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12874 $as_echo "$as_me: executing $ac_file commands" >&6;}
12879 case $ac_file$ac_mode in
12882 # See if we are running on zsh, and set the options which allow our
12883 # commands through without removal of \ escapes.
12884 if test -n "${ZSH_VERSION+set}" ; then
12885 setopt NO_GLOB_SUBST
12888 cfgfile="${ofile}T"
12889 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12892 cat <<_LT_EOF >> "$cfgfile"
12895 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
12896 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12897 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12898 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12900 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12901 # 2006, 2007, 2008 Free Software Foundation, Inc.
12902 # Written by Gordon Matzigkeit, 1996
12904 # This file is part of GNU Libtool.
12906 # GNU Libtool is free software; you can redistribute it and/or
12907 # modify it under the terms of the GNU General Public License as
12908 # published by the Free Software Foundation; either version 2 of
12909 # the License, or (at your option) any later version.
12911 # As a special exception to the GNU General Public License,
12912 # if you distribute this file as part of a program or library that
12913 # is built using GNU Libtool, you may include this file under the
12914 # same distribution terms that you use for the rest of that program.
12916 # GNU Libtool is distributed in the hope that it will be useful,
12917 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12918 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12919 # GNU General Public License for more details.
12921 # You should have received a copy of the GNU General Public License
12922 # along with GNU Libtool; see the file COPYING. If not, a copy
12923 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12924 # obtained by writing to the Free Software Foundation, Inc.,
12925 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12928 # The names of the tagged configurations supported by this script.
12931 # ### BEGIN LIBTOOL CONFIG
12933 # Which release of libtool.m4 was used?
12934 macro_version=$macro_version
12935 macro_revision=$macro_revision
12937 # Whether or not to build shared libraries.
12938 build_libtool_libs=$enable_shared
12940 # Whether or not to build static libraries.
12941 build_old_libs=$enable_static
12943 # What type of objects to build.
12946 # Whether or not to optimize for fast installation.
12947 fast_install=$enable_fast_install
12950 host_alias=$host_alias
12954 # The build system.
12955 build_alias=$build_alias
12959 # A sed program that does not truncate output.
12962 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12963 Xsed="\$SED -e 1s/^X//"
12965 # A grep program that handles long lines.
12971 # A literal string matcher.
12974 # A BSD- or MS-compatible name lister.
12977 # Whether we need soft or hard links.
12980 # What is the maximum length of a command?
12981 max_cmd_len=$max_cmd_len
12983 # Object file suffix (normally "o").
12986 # Executable file suffix (normally "").
12989 # whether the shell understands "unset".
12992 # turn spaces into newlines.
12995 # turn newlines into spaces.
12998 # How to create reloadable object files.
12999 reload_flag=$lt_reload_flag
13000 reload_cmds=$lt_reload_cmds
13002 # An object symbol dumper.
13003 OBJDUMP=$lt_OBJDUMP
13005 # Method to check whether dependent libraries are shared objects.
13006 deplibs_check_method=$lt_deplibs_check_method
13008 # Command to use when deplibs_check_method == "file_magic".
13009 file_magic_cmd=$lt_file_magic_cmd
13013 AR_FLAGS=$lt_AR_FLAGS
13015 # A symbol stripping program.
13018 # Commands used to install an old-style archive.
13020 old_postinstall_cmds=$lt_old_postinstall_cmds
13021 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13026 # LTCC compiler flags.
13027 LTCFLAGS=$lt_CFLAGS
13029 # Take the output of nm and produce a listing of raw symbols and C names.
13030 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13032 # Transform the output of nm in a proper C declaration.
13033 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13035 # Transform the output of nm in a C name address pair.
13036 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13038 # Transform the output of nm in a C name address pair when lib prefix is needed.
13039 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13041 # The name of the directory that contains temporary libtool files.
13044 # Shell to use when invoking shell scripts.
13047 # An echo program that does not interpret backslashes.
13050 # Used to examine libraries when file_magic_cmd begins with "file".
13051 MAGIC_CMD=$MAGIC_CMD
13053 # Must we lock files when doing compilation?
13054 need_locks=$lt_need_locks
13056 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13057 DSYMUTIL=$lt_DSYMUTIL
13059 # Tool to change global to local symbols on Mac OS X.
13062 # Tool to manipulate fat objects and archives on Mac OS X.
13065 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13068 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13069 OTOOL64=$lt_OTOOL64
13071 # Old archive suffix (normally "a").
13074 # Shared library suffix (normally ".so").
13075 shrext_cmds=$lt_shrext_cmds
13077 # The commands to extract the exported symbol list from a shared archive.
13078 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13080 # Variables whose values should be saved in libtool wrapper scripts and
13081 # restored at link time.
13082 variables_saved_for_relink=$lt_variables_saved_for_relink
13084 # Do we need the "lib" prefix for modules?
13085 need_lib_prefix=$need_lib_prefix
13087 # Do we need a version for libraries?
13088 need_version=$need_version
13090 # Library versioning type.
13091 version_type=$version_type
13093 # Shared library runtime path variable.
13094 runpath_var=$runpath_var
13096 # Shared library path variable.
13097 shlibpath_var=$shlibpath_var
13099 # Is shlibpath searched before the hard-coded library search path?
13100 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13102 # Format of library name prefix.
13103 libname_spec=$lt_libname_spec
13105 # List of archive names. First name is the real one, the rest are links.
13106 # The last name is the one that the linker finds with -lNAME
13107 library_names_spec=$lt_library_names_spec
13109 # The coded name of the library, if different from the real name.
13110 soname_spec=$lt_soname_spec
13112 # Command to use after installation of a shared archive.
13113 postinstall_cmds=$lt_postinstall_cmds
13115 # Command to use after uninstallation of a shared archive.
13116 postuninstall_cmds=$lt_postuninstall_cmds
13118 # Commands used to finish a libtool library installation in a directory.
13119 finish_cmds=$lt_finish_cmds
13121 # As "finish_cmds", except a single script fragment to be evaled but
13123 finish_eval=$lt_finish_eval
13125 # Whether we should hardcode library paths into libraries.
13126 hardcode_into_libs=$hardcode_into_libs
13128 # Compile-time system search path for libraries.
13129 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13131 # Run-time system search path for libraries.
13132 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13134 # Whether dlopen is supported.
13135 dlopen_support=$enable_dlopen
13137 # Whether dlopen of programs is supported.
13138 dlopen_self=$enable_dlopen_self
13140 # Whether dlopen of statically linked programs is supported.
13141 dlopen_self_static=$enable_dlopen_self_static
13143 # Commands to strip libraries.
13144 old_striplib=$lt_old_striplib
13145 striplib=$lt_striplib
13148 # The linker used to build libraries.
13151 # Commands used to build an old-style archive.
13152 old_archive_cmds=$lt_old_archive_cmds
13154 # A language specific compiler.
13157 # Is the compiler the GNU compiler?
13160 # Compiler flag to turn off builtin functions.
13161 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13163 # How to pass a linker flag through the compiler.
13164 wl=$lt_lt_prog_compiler_wl
13166 # Additional compiler flags for building library objects.
13167 pic_flag=$lt_lt_prog_compiler_pic
13169 # Compiler flag to prevent dynamic linking.
13170 link_static_flag=$lt_lt_prog_compiler_static
13172 # Does compiler simultaneously support -c and -o options?
13173 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13175 # Whether or not to add -lc for building shared libraries.
13176 build_libtool_need_lc=$archive_cmds_need_lc
13178 # Whether or not to disallow shared libs when runtime libs are static.
13179 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13181 # Compiler flag to allow reflexive dlopens.
13182 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13184 # Compiler flag to generate shared objects directly from archives.
13185 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13187 # Whether the compiler copes with passing no objects directly.
13188 compiler_needs_object=$lt_compiler_needs_object
13190 # Create an old-style archive from a shared archive.
13191 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13193 # Create a temporary old-style archive to link instead of a shared archive.
13194 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13196 # Commands used to build a shared archive.
13197 archive_cmds=$lt_archive_cmds
13198 archive_expsym_cmds=$lt_archive_expsym_cmds
13200 # Commands used to build a loadable module if different from building
13201 # a shared archive.
13202 module_cmds=$lt_module_cmds
13203 module_expsym_cmds=$lt_module_expsym_cmds
13205 # Whether we are building with GNU ld or not.
13206 with_gnu_ld=$lt_with_gnu_ld
13208 # Flag that allows shared libraries with undefined symbols to be built.
13209 allow_undefined_flag=$lt_allow_undefined_flag
13211 # Flag that enforces no undefined symbols.
13212 no_undefined_flag=$lt_no_undefined_flag
13214 # Flag to hardcode \$libdir into a binary during linking.
13215 # This must work even if \$libdir does not exist
13216 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13218 # If ld is used when linking, flag to hardcode \$libdir into a binary
13219 # during linking. This must work even if \$libdir does not exist.
13220 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13222 # Whether we need a single "-rpath" flag with a separated argument.
13223 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13225 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13226 # DIR into the resulting binary.
13227 hardcode_direct=$hardcode_direct
13229 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13230 # DIR into the resulting binary and the resulting library dependency is
13231 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13232 # library is relocated.
13233 hardcode_direct_absolute=$hardcode_direct_absolute
13235 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13236 # into the resulting binary.
13237 hardcode_minus_L=$hardcode_minus_L
13239 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13240 # into the resulting binary.
13241 hardcode_shlibpath_var=$hardcode_shlibpath_var
13243 # Set to "yes" if building a shared library automatically hardcodes DIR
13244 # into the library and all subsequent libraries and executables linked
13246 hardcode_automatic=$hardcode_automatic
13248 # Set to yes if linker adds runtime paths of dependent libraries
13249 # to runtime path list.
13250 inherit_rpath=$inherit_rpath
13252 # Whether libtool must link a program against all its dependency libraries.
13253 link_all_deplibs=$link_all_deplibs
13255 # Fix the shell variable \$srcfile for the compiler.
13256 fix_srcfile_path=$lt_fix_srcfile_path
13258 # Set to "yes" if exported symbols are required.
13259 always_export_symbols=$always_export_symbols
13261 # The commands to list exported symbols.
13262 export_symbols_cmds=$lt_export_symbols_cmds
13264 # Symbols that should not be listed in the preloaded symbols.
13265 exclude_expsyms=$lt_exclude_expsyms
13267 # Symbols that must always be exported.
13268 include_expsyms=$lt_include_expsyms
13270 # Commands necessary for linking programs (against libraries) with templates.
13271 prelink_cmds=$lt_prelink_cmds
13273 # Specify filename containing input files.
13274 file_list_spec=$lt_file_list_spec
13276 # How to hardcode a shared library path into an executable.
13277 hardcode_action=$hardcode_action
13279 # ### END LIBTOOL CONFIG
13285 cat <<\_LT_EOF >> "$cfgfile"
13286 # AIX sometimes has problems with the GCC collect2 program. For some
13287 # reason, if we set the COLLECT_NAMES environment variable, the problems
13288 # vanish in a puff of smoke.
13289 if test "X${COLLECT_NAMES+set}" != Xset; then
13291 export COLLECT_NAMES
13298 ltmain="$ac_aux_dir/ltmain.sh"
13301 # We use sed instead of cat because bash on DJGPP gets confused if
13302 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13303 # text mode, it properly converts lines to CR/LF. This bash problem
13304 # is reportedly fixed, but why not run on old versions too?
13305 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13306 ||
(rm -f "$cfgfile"; exit 1)
13310 cat << \_LT_EOF
>> "$cfgfile"
13312 # func_dirname file append nondir_replacement
13313 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13314 # otherwise set result to NONDIR_REPLACEMENT.
13318 */*) func_dirname_result
="${1%/*}${2}" ;;
13319 * ) func_dirname_result
="${3}" ;;
13323 # func_basename file
13326 func_basename_result
="${1##*/}"
13329 # func_dirname_and_basename file append nondir_replacement
13330 # perform func_basename and func_dirname in a single function
13332 # dirname: Compute the dirname of FILE. If nonempty,
13333 # add APPEND to the result, otherwise set result
13334 # to NONDIR_REPLACEMENT.
13335 # value returned in "$func_dirname_result"
13336 # basename: Compute filename of FILE.
13337 # value retuned in "$func_basename_result"
13338 # Implementation must be kept synchronized with func_dirname
13339 # and func_basename. For efficiency, we do not delegate to
13340 # those functions but instead duplicate the functionality here.
13341 func_dirname_and_basename
()
13344 */*) func_dirname_result
="${1%/*}${2}" ;;
13345 * ) func_dirname_result
="${3}" ;;
13347 func_basename_result
="${1##*/}"
13350 # func_stripname prefix suffix name
13351 # strip PREFIX and SUFFIX off of NAME.
13352 # PREFIX and SUFFIX must not contain globbing or regex special
13353 # characters, hashes, percent signs, but SUFFIX may contain a leading
13354 # dot (in which case that matches only a dot).
13357 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13358 # positional parameters, so assign one to ordinary parameter first.
13359 func_stripname_result
=${3}
13360 func_stripname_result
=${func_stripname_result#"${1}"}
13361 func_stripname_result
=${func_stripname_result%"${2}"}
13367 func_opt_split_opt
=${1%%=*}
13368 func_opt_split_arg
=${1#*=}
13375 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13376 *) func_lo2o_result
=${1} ;;
13380 # func_xform libobj-or-source
13383 func_xform_result
=${1%.*}.lo
13386 # func_arith arithmetic-term...
13389 func_arith_result
=$
(( $
* ))
13393 # STRING may not start with a hyphen.
13396 func_len_result
=${#1}
13401 *) # Bourne compatible functions.
13402 cat << \_LT_EOF
>> "$cfgfile"
13404 # func_dirname file append nondir_replacement
13405 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13406 # otherwise set result to NONDIR_REPLACEMENT.
13409 # Extract subdirectory from the argument.
13410 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13411 if test "X$func_dirname_result" = "X${1}"; then
13412 func_dirname_result
="${3}"
13414 func_dirname_result
="$func_dirname_result${2}"
13418 # func_basename file
13421 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13425 # func_stripname prefix suffix name
13426 # strip PREFIX and SUFFIX off of NAME.
13427 # PREFIX and SUFFIX must not contain globbing or regex special
13428 # characters, hashes, percent signs, but SUFFIX may contain a leading
13429 # dot (in which case that matches only a dot).
13430 # func_strip_suffix prefix name
13434 .
*) func_stripname_result
=`$ECHO "X${3}" \
13435 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13436 *) func_stripname_result
=`$ECHO "X${3}" \
13437 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13442 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13443 my_sed_long_arg
='1s/^-[^=]*=//'
13448 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13449 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13455 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13458 # func_xform libobj-or-source
13461 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13464 # func_arith arithmetic-term...
13467 func_arith_result
=`expr "$@"`
13471 # STRING may not start with a hyphen.
13474 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13480 case $lt_shell_append in
13482 cat << \_LT_EOF
>> "$cfgfile"
13484 # func_append var value
13485 # Append VALUE to the end of shell variable VAR.
13493 cat << \_LT_EOF
>> "$cfgfile"
13495 # func_append var value
13496 # Append VALUE to the end of shell variable VAR.
13507 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13508 ||
(rm -f "$cfgfile"; exit 1)
13510 mv -f "$cfgfile" "$ofile" ||
13511 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13522 ac_clean_files
=$ac_clean_files_save
13524 test $ac_write_fail = 0 ||
13525 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13528 # configure is writing to config.log, and then calls config.status.
13529 # config.status does its own redirection, appending to config.log.
13530 # Unfortunately, on DOS this fails, as config.log is still kept open
13531 # by configure, so config.status won't be able to write to it; its
13532 # output is simply discarded. So we exec the FD to /dev/null,
13533 # effectively closing config.log, so it can be properly (re)opened and
13534 # appended to by config.status. When coming back to configure, we
13535 # need to make the FD available again.
13536 if test "$no_create" != yes; then
13538 ac_config_status_args
=
13539 test "$silent" = yes &&
13540 ac_config_status_args
="$ac_config_status_args --quiet"
13542 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13544 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13545 # would make configure fail if this is the last instruction.
13546 $ac_cs_success || as_fn_exit
1
13548 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13550 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}