2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for sqlite 3.7.6.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
638 for dir
in $PATH /usr
/ucb
; do
640 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho
; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL
=/bin
/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
679 SHELL
="$CONFIG_SHELL"
681 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string
=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev
/null
6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix
=/usr
/local
735 ac_config_libobj_dir
=.
741 SHELL
=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
744 PACKAGE_NAME
='sqlite'
745 PACKAGE_TARNAME
='sqlite'
746 PACKAGE_VERSION
='3.7.6.3'
747 PACKAGE_STRING
='sqlite 3.7.6.3'
750 # Factoring default headers for most tests.
751 ac_includes_default
="\
753 #ifdef HAVE_SYS_TYPES_H
754 # include <sys/types.h>
756 #ifdef HAVE_SYS_STAT_H
757 # include <sys/stat.h>
763 # ifdef HAVE_STDLIB_H
768 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
773 #ifdef HAVE_STRINGS_H
774 # include <strings.h>
776 #ifdef HAVE_INTTYPES_H
777 # include <inttypes.h>
795 program_transform_name
903 enable_option_checking
913 enable_cross_thread_connections
923 enable_load_extension
926 ac_precious_vars
='build_alias
938 # Initialize some variables set by options.
940 ac_init_version
=false
941 ac_unrecognized_opts
=
943 # The variables have the same names as the options, with
944 # dashes changed to underlines.
952 program_transform_name
=s
,x
,x
,
960 # Installation directory options.
961 # These are left unexpanded so users can "make install exec_prefix=/foo"
962 # and all the variables that are supposed to be based on exec_prefix
963 # by default will actually change.
964 # Use braces instead of parens because sh, perl, etc. also accept them.
965 # (The list follows the same order as the GNU Coding Standards.)
966 bindir
='${exec_prefix}/bin'
967 sbindir
='${exec_prefix}/sbin'
968 libexecdir
='${exec_prefix}/libexec'
969 datarootdir
='${prefix}/share'
970 datadir
='${datarootdir}'
971 sysconfdir
='${prefix}/etc'
972 sharedstatedir
='${prefix}/com'
973 localstatedir
='${prefix}/var'
974 includedir
='${prefix}/include'
975 oldincludedir
='/usr/include'
976 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
977 infodir
='${datarootdir}/info'
982 libdir
='${exec_prefix}/lib'
983 localedir
='${datarootdir}/locale'
984 mandir
='${datarootdir}/man'
990 # If the previous option needs an argument, assign it.
991 if test -n "$ac_prev"; then
992 eval $ac_prev=\
$ac_option
998 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1002 # Accept the important Cygnus configure options, so we can diagnose typos.
1004 case $ac_dashdash$ac_option in
1008 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1010 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1011 bindir
=$ac_optarg ;;
1013 -build |
--build |
--buil |
--bui |
--bu)
1014 ac_prev
=build_alias
;;
1015 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1016 build_alias
=$ac_optarg ;;
1018 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1019 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1020 ac_prev
=cache_file
;;
1021 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1022 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1023 cache_file
=$ac_optarg ;;
1025 --config-cache |
-C)
1026 cache_file
=config.cache
;;
1028 -datadir |
--datadir |
--datadi |
--datad)
1030 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1031 datadir
=$ac_optarg ;;
1033 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1034 |
--dataroo |
--dataro |
--datar)
1035 ac_prev
=datarootdir
;;
1036 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1037 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1038 datarootdir
=$ac_optarg ;;
1040 -disable-* |
--disable-*)
1041 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1044 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_
$ac_useropt"
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval enable_
$ac_useropt=no
;;
1057 -docdir |
--docdir |
--docdi |
--doc |
--do)
1059 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1060 docdir
=$ac_optarg ;;
1062 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1064 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1065 dvidir
=$ac_optarg ;;
1067 -enable-* |
--enable-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1072 { (exit 1); exit 1; }; }
1073 ac_useropt_orig
=$ac_useropt
1074 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1077 "enable_
$ac_useropt"
1079 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1080 ac_unrecognized_sep
=', ';;
1082 eval enable_
$ac_useropt=\
$ac_optarg ;;
1084 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1085 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1086 |
--exec |
--exe |
--ex)
1087 ac_prev
=exec_prefix
;;
1088 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1089 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1090 |
--exec=* |
--exe=* |
--ex=*)
1091 exec_prefix
=$ac_optarg ;;
1093 -gas |
--gas |
--ga |
--g)
1094 # Obsolete; use --with-gas.
1097 -help |
--help |
--hel |
--he |
-h)
1098 ac_init_help
=long
;;
1099 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1100 ac_init_help
=recursive
;;
1101 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1102 ac_init_help
=short
;;
1104 -host |
--host |
--hos |
--ho)
1105 ac_prev
=host_alias
;;
1106 -host=* |
--host=* |
--hos=* |
--ho=*)
1107 host_alias
=$ac_optarg ;;
1109 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1111 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1113 htmldir
=$ac_optarg ;;
1115 -includedir |
--includedir |
--includedi |
--included |
--include \
1116 |
--includ |
--inclu |
--incl |
--inc)
1117 ac_prev
=includedir
;;
1118 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1119 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1120 includedir
=$ac_optarg ;;
1122 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1124 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1125 infodir
=$ac_optarg ;;
1127 -libdir |
--libdir |
--libdi |
--libd)
1129 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1130 libdir
=$ac_optarg ;;
1132 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1133 |
--libexe |
--libex |
--libe)
1134 ac_prev
=libexecdir
;;
1135 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1136 |
--libexe=* |
--libex=* |
--libe=*)
1137 libexecdir
=$ac_optarg ;;
1139 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1140 ac_prev
=localedir
;;
1141 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1142 localedir
=$ac_optarg ;;
1144 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1145 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1146 ac_prev
=localstatedir
;;
1147 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1148 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1149 localstatedir
=$ac_optarg ;;
1151 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1153 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1154 mandir
=$ac_optarg ;;
1156 -nfp |
--nfp |
--nf)
1157 # Obsolete; use --without-fp.
1160 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1161 |
--no-cr |
--no-c |
-n)
1164 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1165 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1168 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1169 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1170 |
--oldin |
--oldi |
--old |
--ol |
--o)
1171 ac_prev
=oldincludedir
;;
1172 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1173 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1174 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1175 oldincludedir
=$ac_optarg ;;
1177 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1179 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1180 prefix
=$ac_optarg ;;
1182 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1183 |
--program-pre |
--program-pr |
--program-p)
1184 ac_prev
=program_prefix
;;
1185 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1186 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1187 program_prefix
=$ac_optarg ;;
1189 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1190 |
--program-suf |
--program-su |
--program-s)
1191 ac_prev
=program_suffix
;;
1192 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1193 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1194 program_suffix
=$ac_optarg ;;
1196 -program-transform-name |
--program-transform-name \
1197 |
--program-transform-nam |
--program-transform-na \
1198 |
--program-transform-n |
--program-transform- \
1199 |
--program-transform |
--program-transfor \
1200 |
--program-transfo |
--program-transf \
1201 |
--program-trans |
--program-tran \
1202 |
--progr-tra |
--program-tr |
--program-t)
1203 ac_prev
=program_transform_name
;;
1204 -program-transform-name=* |
--program-transform-name=* \
1205 |
--program-transform-nam=* |
--program-transform-na=* \
1206 |
--program-transform-n=* |
--program-transform-=* \
1207 |
--program-transform=* |
--program-transfor=* \
1208 |
--program-transfo=* |
--program-transf=* \
1209 |
--program-trans=* |
--program-tran=* \
1210 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1211 program_transform_name
=$ac_optarg ;;
1213 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1215 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1216 pdfdir
=$ac_optarg ;;
1218 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1220 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1223 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1224 |
-silent |
--silent |
--silen |
--sile |
--sil)
1227 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1229 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1231 sbindir
=$ac_optarg ;;
1233 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1234 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1235 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1237 ac_prev
=sharedstatedir
;;
1238 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1239 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1240 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1242 sharedstatedir
=$ac_optarg ;;
1244 -site |
--site |
--sit)
1246 -site=* |
--site=* |
--sit=*)
1249 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1251 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1252 srcdir
=$ac_optarg ;;
1254 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1255 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1256 ac_prev
=sysconfdir
;;
1257 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1258 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1259 sysconfdir
=$ac_optarg ;;
1261 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1262 ac_prev
=target_alias
;;
1263 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1264 target_alias
=$ac_optarg ;;
1266 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1269 -version |
--version |
--versio |
--versi |
--vers |
-V)
1270 ac_init_version
=: ;;
1273 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1276 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1277 { (exit 1); exit 1; }; }
1278 ac_useropt_orig
=$ac_useropt
1279 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1280 case $ac_user_opts in
1284 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1285 ac_unrecognized_sep
=', ';;
1287 eval with_
$ac_useropt=\
$ac_optarg ;;
1289 -without-* |
--without-*)
1290 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1293 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1294 { (exit 1); exit 1; }; }
1295 ac_useropt_orig
=$ac_useropt
1296 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1297 case $ac_user_opts in
1301 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1302 ac_unrecognized_sep
=', ';;
1304 eval with_
$ac_useropt=no
;;
1307 # Obsolete; use --with-x.
1310 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1311 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1312 ac_prev
=x_includes
;;
1313 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1314 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1315 x_includes
=$ac_optarg ;;
1317 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1318 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1319 ac_prev
=x_libraries
;;
1320 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1321 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1322 x_libraries
=$ac_optarg ;;
1324 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1325 Try \`$0 --help' for more information." >&2
1326 { (exit 1); exit 1; }; }
1330 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1331 # Reject names that are not valid shell variable names.
1332 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1333 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1334 { (exit 1); exit 1; }; }
1335 eval $ac_envvar=\
$ac_optarg
1336 export $ac_envvar ;;
1339 # FIXME: should be removed in autoconf 3.0.
1340 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1342 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1343 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 if test -n "$ac_prev"; then
1350 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1351 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1352 { (exit 1); exit 1; }; }
1355 if test -n "$ac_unrecognized_opts"; then
1356 case $enable_option_checking in
1358 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1359 { (exit 1); exit 1; }; } ;;
1360 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1364 # Check all directory arguments for consistency.
1365 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1366 datadir sysconfdir sharedstatedir localstatedir includedir \
1367 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1368 libdir localedir mandir
1370 eval ac_val
=\$
$ac_var
1371 # Remove trailing slashes.
1374 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1375 eval $ac_var=\
$ac_val;;
1377 # Be sure to have absolute directory names.
1379 [\\/$
]* | ?
:[\\/]* ) continue;;
1380 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1382 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1383 { (exit 1); exit 1; }; }
1386 # There might be people who depend on the old broken behavior: `$host'
1387 # used to hold the argument of --host etc.
1388 # FIXME: To remove some day.
1391 target
=$target_alias
1393 # FIXME: To remove some day.
1394 if test "x$host_alias" != x
; then
1395 if test "x$build_alias" = x
; then
1396 cross_compiling
=maybe
1397 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1398 If a cross compiler is detected then cross compile mode will be used." >&2
1399 elif test "x$build_alias" != "x$host_alias"; then
1405 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1407 test "$silent" = yes && exec 6>/dev
/null
1410 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1411 ac_ls_di
=`ls -di .` &&
1412 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1413 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1414 { (exit 1); exit 1; }; }
1415 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1417 { (exit 1); exit 1; }; }
1420 # Find the source files, if location was not specified.
1421 if test -z "$srcdir"; then
1422 ac_srcdir_defaulted
=yes
1423 # Try the directory containing this script, then the parent directory.
1424 ac_confdir
=`$as_dirname -- "$as_myself" ||
1425 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1426 X"$as_myself" : 'X\(//\)[^/]' \| \
1427 X"$as_myself" : 'X\(//\)$' \| \
1428 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1429 $as_echo X"$as_myself" |
1430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1452 ac_srcdir_defaulted
=no
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1455 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1456 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1457 { (exit 1); exit 1; }; }
1459 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1462 { (exit 1); exit 1; }; }
1464 # When building in place, set srcdir=.
1465 if test "$ac_abs_confdir" = "$ac_pwd"; then
1468 # Remove unnecessary trailing slashes from srcdir.
1469 # Double slashes in file names in object file debugging info
1470 # mess up M-x gdb in Emacs.
1472 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474 for ac_var
in $ac_precious_vars; do
1475 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1477 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1478 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1482 # Report the --help message.
1484 if test "$ac_init_help" = "long"; then
1485 # Omit some internal or obsolete options to make the list less imposing.
1486 # This message is too long to be a string in the A/UX 3.1 sh.
1488 \`configure' configures sqlite 3.7.6.3 to adapt to many kinds of systems.
1490 Usage: $0 [OPTION]... [VAR=VALUE]...
1492 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1493 VAR=VALUE. See below for descriptions of some of the useful variables.
1495 Defaults for the options are specified in brackets.
1498 -h, --help display this help and exit
1499 --help=short display options specific to this package
1500 --help=recursive display the short help of all the included packages
1501 -V, --version display version information and exit
1502 -q, --quiet, --silent do not print \`checking...' messages
1503 --cache-file=FILE cache test results in FILE [disabled]
1504 -C, --config-cache alias for \`--cache-file=config.cache'
1505 -n, --no-create do not create output files
1506 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1508 Installation directories:
1509 --prefix=PREFIX install architecture-independent files in PREFIX
1510 [$ac_default_prefix]
1511 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1514 By default, \`make install' will install all the files in
1515 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1516 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1517 for instance \`--prefix=\$HOME'.
1519 For better control, use the options below.
1521 Fine tuning of the installation directories:
1522 --bindir=DIR user executables [EPREFIX/bin]
1523 --sbindir=DIR system admin executables [EPREFIX/sbin]
1524 --libexecdir=DIR program executables [EPREFIX/libexec]
1525 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1526 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1527 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1528 --libdir=DIR object code libraries [EPREFIX/lib]
1529 --includedir=DIR C header files [PREFIX/include]
1530 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1531 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1532 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1533 --infodir=DIR info documentation [DATAROOTDIR/info]
1534 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1535 --mandir=DIR man documentation [DATAROOTDIR/man]
1536 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1537 --htmldir=DIR html documentation [DOCDIR]
1538 --dvidir=DIR dvi documentation [DOCDIR]
1539 --pdfdir=DIR pdf documentation [DOCDIR]
1540 --psdir=DIR ps documentation [DOCDIR]
1546 --build=BUILD configure
for building on BUILD
[guessed
]
1547 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1551 if test -n "$ac_init_help"; then
1552 case $ac_init_help in
1553 short | recursive
) echo "Configuration of sqlite 3.7.6.3:";;
1558 --disable-option-checking ignore unrecognized
--enable/--with options
1559 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1560 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1561 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1562 --enable-static[=PKGS
] build static libraries
[default
=yes]
1563 --enable-fast-install[=PKGS
]
1564 optimize
for fast installation
[default
=yes]
1565 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1566 --disable-largefile omit support
for large files
1567 --enable-threadsafe Support threadsafe operation
1568 --enable-cross-thread-connections
1569 Allow connection sharing across threads
1570 --enable-releasemode Support libtool link to release mode
1571 --enable-tempstore Use an in-ram database
for temporary tables
1572 (never
,no
,yes,always
)
1573 --disable-tcl do not build TCL extension
1574 --disable-readline disable readline support
[default
=detect
]
1575 --enable-debug enable debugging
& verbose explain
1576 --disable-amalgamation Disable the amalgamation and instead build all files
1578 --enable-load-extension Enable loading of external extensions
1579 --enable-gcov Enable coverage testing using gcov
1582 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1583 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1584 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1586 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1587 --with-hints=FILE Read configuration options from FILE
1588 --with-tcl=DIR directory containing tcl configuration
1590 --with-readline-lib specify readline library
1591 --with-readline-inc specify readline include paths
1593 Some influential environment variables
:
1594 CC C compiler
command
1595 CFLAGS C compiler flags
1596 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1597 nonstandard directory
<lib dir
>
1598 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1599 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1600 you have headers
in a nonstandard directory
<include dir
>
1602 TCLLIBDIR Where to
install tcl plugin
1604 Use these variables to override the choices made by
`configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1611 if test "$ac_init_help" = "recursive"; then
1612 # If there are subdirs, report their specific --help.
1613 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1614 test -d "$ac_dir" ||
1615 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1623 # A ".." for each directory in $ac_dir_suffix.
1624 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1625 case $ac_top_builddir_sub in
1626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1630 ac_abs_top_builddir=$ac_pwd
1631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1632 # for backward compatibility:
1633 ac_top_builddir=$ac_top_build_prefix
1636 .) # We are building in place.
1638 ac_top_srcdir=$ac_top_builddir_sub
1639 ac_abs_top_srcdir=$ac_pwd ;;
1640 [\\/]* | ?:[\\/]* ) # Absolute name.
1641 ac_srcdir=$srcdir$ac_dir_suffix;
1642 ac_top_srcdir=$srcdir
1643 ac_abs_top_srcdir=$srcdir ;;
1645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646 ac_top_srcdir=$ac_top_build_prefix$srcdir
1647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651 cd "$ac_dir" || { ac_status=$?; continue; }
1652 # Check for guested configure.
1653 if test -f "$ac_srcdir/configure.gnu"; then
1655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656 elif test -f "$ac_srcdir/configure"; then
1658 $SHELL "$ac_srcdir/configure" --help=recursive
1660 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 cd "$ac_pwd" || { ac_status=$?; break; }
1666 test -n "$ac_init_help" && exit $ac_status
1667 if $ac_init_version; then
1669 sqlite configure 3.7.6.3
1670 generated by GNU Autoconf 2.62
1672 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1673 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1679 cat >config.log <<_ACEOF
1680 This file contains any messages produced by compilers while
1681 running configure, to aid debugging if configure makes a mistake.
1683 It was created by sqlite $as_me 3.7.6.3, which was
1684 generated by GNU Autoconf 2.62. Invocation command line was
1696 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1697 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1698 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1699 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1700 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1702 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1703 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1705 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1706 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1707 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1708 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1709 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1710 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1711 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 test -z "$as_dir" && as_dir=.
1720 $as_echo "PATH: $as_dir"
1736 # Keep a trace of the command line.
1737 # Strip out --no-create and --no-recursion so they do not pile up.
1738 # Strip out --silent because we don't want to record it for future runs.
1739 # Also quote any args containing shell meta-characters.
1740 # Make two passes to allow for proper duplicate-argument suppression.
1744 ac_must_keep_next=false
1750 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1752 | -silent | --silent | --silen | --sile | --sil)
1755 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1758 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1760 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1761 if test $ac_must_keep_next = true; then
1762 ac_must_keep_next=false # Got value, back to normal.
1765 *=* | --config-cache | -C | -disable-* | --disable-* \
1766 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1767 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1768 | -with-* | --with-* | -without-* | --without-* | --x)
1769 case "$ac_configure_args0 " in
1770 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1773 -* ) ac_must_keep_next=true ;;
1776 ac_configure_args="$ac_configure_args '$ac_arg'"
1781 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1782 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1784 # When interrupted or exit'd, cleanup temporary files, and complete
1785 # config.log. We remove comments because anyway the quotes in there
1786 # would cause problems or look ugly.
1787 # WARNING: Use '\'' to represent an apostrophe within the trap.
1788 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1789 trap 'exit_status=$?
1790 # Save into config.log some information that might help in debugging.
1795 ## ---------------- ##
1796 ## Cache variables. ##
1797 ## ---------------- ##
1800 # The following way of writing the cache mishandles newlines in values,
1802 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1803 eval ac_val=\$$ac_var
1807 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1808 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1811 _ | IFS | as_nl) ;; #(
1812 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1813 *) $as_unset $ac_var ;;
1818 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1819 *${as_nl}ac_space=\ *)
1821 "s/'\''/'\''\\\\'\'''\''/g;
1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1833 ## ----------------- ##
1834 ## Output variables. ##
1835 ## ----------------- ##
1838 for ac_var in $ac_subst_vars
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 $as_echo "$ac_var='\''$ac_val'\''"
1848 if test -n "$ac_subst_files"; then
1850 ## ------------------- ##
1851 ## File substitutions. ##
1852 ## ------------------- ##
1855 for ac_var in $ac_subst_files
1857 eval ac_val=\$$ac_var
1859 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 $as_echo "$ac_var='\''$ac_val'\''"
1866 if test -s confdefs.h; then
1876 test "$ac_signal" != 0 &&
1877 $as_echo "$as_me: caught signal $ac_signal"
1878 $as_echo "$as_me: exit $exit_status"
1880 rm -f core *.core core.conftest.* &&
1881 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1884 for ac_signal in 1 2 13 15; do
1885 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1890 rm -f -r conftest* confdefs.h
1892 # Predefined preprocessor variables.
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_NAME "$PACKAGE_NAME"
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1919 # Let the site file select an alternate cache file if it wants to.
1920 # Prefer an explicitly selected file to automatically selected ones.
1923 if test -n "$CONFIG_SITE"; then
1924 ac_site_file1=$CONFIG_SITE
1925 elif test "x$prefix" != xNONE; then
1926 ac_site_file1=$prefix/share/config.site
1927 ac_site_file2=$prefix/etc/config.site
1929 ac_site_file1=$ac_default_prefix/share/config.site
1930 ac_site_file2=$ac_default_prefix/etc/config.site
1932 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1934 test "x$ac_site_file" = xNONE && continue
1935 if test -r "$ac_site_file"; then
1936 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1937 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1938 sed 's/^/| /' "$ac_site_file" >&5
1943 if test -r "$cache_file"; then
1944 # Some versions of bash will fail to source /dev/null (special
1945 # files actually), so we avoid doing that.
1946 if test -f "$cache_file"; then
1947 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1948 $as_echo "$as_me: loading cache $cache_file" >&6;}
1950 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1951 *) . "./$cache_file";;
1955 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1956 $as_echo "$as_me: creating cache $cache_file" >&6;}
1960 # Check that the precious variables saved in the cache have kept the same
1962 ac_cache_corrupted=false
1963 for ac_var in $ac_precious_vars; do
1964 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1965 eval ac_new_set=\$ac_env_${ac_var}_set
1966 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1967 eval ac_new_val=\$ac_env_${ac_var}_value
1968 case $ac_old_set,$ac_new_set in
1970 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1971 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1972 ac_cache_corrupted=: ;;
1974 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1975 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1976 ac_cache_corrupted=: ;;
1979 if test "x$ac_old_val" != "x$ac_new_val"; then
1980 # differences in whitespace do not lead to failure.
1981 ac_old_val_w=`echo x
$ac_old_val`
1982 ac_new_val_w=`echo x
$ac_new_val`
1983 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1984 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1985 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1986 ac_cache_corrupted=:
1988 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1989 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1990 eval $ac_var=\$ac_old_val
1992 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1993 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1994 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1995 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1998 # Pass precious variables to config.status.
1999 if test "$ac_new_set" = set; then
2001 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2002 *) ac_arg=$ac_var=$ac_new_val ;;
2004 case " $ac_configure_args " in
2005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2006 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2010 if $ac_cache_corrupted; then
2011 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2012 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2013 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2014 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2015 { (exit 1); exit 1; }; }
2043 ac_cpp='$CPP $CPPFLAGS'
2044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2050 sqlite_version_sanity_check=`cat $srcdir/VERSION |
tr -d '\n'`
2051 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2052 { { $as_echo "$as_me:$LINENO: error: configure script is out of date:
2053 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2054 top level VERSION file = $sqlite_version_sanity_check
2055 please regen with autoconf" >&5
2056 $as_echo "$as_me: error: configure script is out of date:
2057 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2058 top level VERSION file = $sqlite_version_sanity_check
2059 please regen with autoconf" >&2;}
2060 { (exit 1); exit 1; }; }
2063 # The following RCS revision string applies to configure.in
2071 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2072 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2077 macro_version='2.2.6'
2078 macro_revision='1.3012'
2092 ltmain="$ac_aux_dir/ltmain.sh"
2095 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2096 if test -f "$ac_dir/install-sh"; then
2098 ac_install_sh="$ac_aux_dir/install-sh -c"
2100 elif test -f "$ac_dir/install.sh"; then
2102 ac_install_sh="$ac_aux_dir/install.sh -c"
2104 elif test -f "$ac_dir/shtool"; then
2106 ac_install_sh="$ac_aux_dir/shtool install -c"
2110 if test -z "$ac_aux_dir"; then
2111 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2112 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2113 { (exit 1); exit 1; }; }
2116 # These three variables are undocumented and unsupported,
2117 # and are intended to be withdrawn in a future Autoconf release.
2118 # They can cause serious problems if a builder's source tree is in a directory
2119 # whose full name contains unusual characters.
2120 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2121 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2122 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2125 # Make sure we can run config.sub.
2126 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2127 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2128 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2129 { (exit 1); exit 1; }; }
2131 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2132 $as_echo_n "checking build system type... " >&6; }
2133 if test "${ac_cv_build+set}" = set; then
2134 $as_echo_n "(cached) " >&6
2136 ac_build_alias=$build_alias
2137 test "x$ac_build_alias" = x &&
2138 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2139 test "x$ac_build_alias" = x &&
2140 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2141 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2142 { (exit 1); exit 1; }; }
2143 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2144 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2145 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2146 { (exit 1); exit 1; }; }
2149 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2150 $as_echo "$ac_cv_build" >&6; }
2151 case $ac_cv_build in
2153 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2154 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2155 { (exit 1); exit 1; }; };;
2158 ac_save_IFS=$IFS; IFS='-'
2164 # Remember, the first character of IFS is used to create $*,
2165 # except with old shells:
2168 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2171 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2172 $as_echo_n "checking host system type... " >&6; }
2173 if test "${ac_cv_host+set}" = set; then
2174 $as_echo_n "(cached) " >&6
2176 if test "x$host_alias" = x; then
2177 ac_cv_host=$ac_cv_build
2179 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2180 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2181 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2182 { (exit 1); exit 1; }; }
2186 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2187 $as_echo "$ac_cv_host" >&6; }
2190 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2191 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2192 { (exit 1); exit 1; }; };;
2195 ac_save_IFS=$IFS; IFS='-'
2201 # Remember, the first character of IFS is used to create $*,
2202 # except with old shells:
2205 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2209 ac_cpp='$CPP $CPPFLAGS'
2210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2213 if test -n "$ac_tool_prefix"; then
2214 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2215 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2216 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 $as_echo_n "checking for $ac_word... " >&6; }
2218 if test "${ac_cv_prog_CC+set}" = set; then
2219 $as_echo_n "(cached) " >&6
2221 if test -n "$CC"; then
2222 ac_cv_prog_CC="$CC" # Let the user override the test.
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir=.
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2232 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 if test -n "$CC"; then
2243 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2244 $as_echo "$CC" >&6; }
2246 { $as_echo "$as_me:$LINENO: result: no" >&5
2247 $as_echo "no" >&6; }
2252 if test -z "$ac_cv_prog_CC"; then
2254 # Extract the first word of "gcc", so it can be a program name with args.
2255 set dummy gcc; ac_word=$2
2256 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2257 $as_echo_n "checking for $ac_word... " >&6; }
2258 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2259 $as_echo_n "(cached) " >&6
2261 if test -n "$ac_ct_CC"; then
2262 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir=.
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271 ac_cv_prog_ac_ct_CC="gcc"
2272 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2282 if test -n "$ac_ct_CC"; then
2283 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2284 $as_echo "$ac_ct_CC" >&6; }
2286 { $as_echo "$as_me:$LINENO: result: no" >&5
2287 $as_echo "no" >&6; }
2290 if test "x$ac_ct_CC" = x; then
2293 case $cross_compiling:$ac_tool_warned in
2295 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2296 whose name does not start with the host triplet. If you think this
2297 configuration is useful to you, please write to autoconf@gnu.org." >&5
2298 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2299 whose name does not start with the host triplet. If you think this
2300 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2301 ac_tool_warned=yes ;;
2309 if test -z "$CC"; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2312 set dummy ${ac_tool_prefix}cc; ac_word=$2
2313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 $as_echo_n "checking for $ac_word... " >&6; }
2315 if test "${ac_cv_prog_CC+set}" = set; then
2316 $as_echo_n "(cached) " >&6
2318 if test -n "$CC"; then
2319 ac_cv_prog_CC="$CC" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_CC="${ac_tool_prefix}cc"
2329 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 if test -n "$CC"; then
2340 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2341 $as_echo "$CC" >&6; }
2343 { $as_echo "$as_me:$LINENO: result: no" >&5
2344 $as_echo "no" >&6; }
2350 if test -z "$CC"; then
2351 # Extract the first word of "cc", so it can be a program name with args.
2352 set dummy cc; ac_word=$2
2353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 $as_echo_n "checking for $ac_word... " >&6; }
2355 if test "${ac_cv_prog_CC+set}" = set; then
2356 $as_echo_n "(cached) " >&6
2358 if test -n "$CC"; then
2359 ac_cv_prog_CC="$CC" # Let the user override the test.
2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir=.
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2370 ac_prog_rejected=yes
2374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 if test $ac_prog_rejected = yes; then
2382 # We found a bogon in the path, so make sure we never use it.
2383 set dummy $ac_cv_prog_CC
2385 if test $# != 0; then
2386 # We chose a different compiler from the bogus one.
2387 # However, it has the same basename, so the bogon will be chosen
2388 # first if we set CC to just the basename; use the full file name.
2390 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2396 if test -n "$CC"; then
2397 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2398 $as_echo "$CC" >&6; }
2400 { $as_echo "$as_me:$LINENO: result: no" >&5
2401 $as_echo "no" >&6; }
2406 if test -z "$CC"; then
2407 if test -n "$ac_tool_prefix"; then
2408 for ac_prog in cl.exe
2410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2413 $as_echo_n "checking for $ac_word... " >&6; }
2414 if test "${ac_cv_prog_CC+set}" = set; then
2415 $as_echo_n "(cached) " >&6
2417 if test -n "$CC"; then
2418 ac_cv_prog_CC="$CC" # Let the user override the test.
2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir=.
2425 for ac_exec_ext in '' $ac_executable_extensions; do
2426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2427 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 if test -n "$CC"; then
2439 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2440 $as_echo "$CC" >&6; }
2442 { $as_echo "$as_me:$LINENO: result: no" >&5
2443 $as_echo "no" >&6; }
2447 test -n "$CC" && break
2450 if test -z "$CC"; then
2452 for ac_prog in cl.exe
2454 # Extract the first word of "$ac_prog", so it can be a program name with args.
2455 set dummy $ac_prog; ac_word=$2
2456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$ac_ct_CC"; then
2462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_ac_ct_CC="$ac_prog"
2472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2482 if test -n "$ac_ct_CC"; then
2483 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2484 $as_echo "$ac_ct_CC" >&6; }
2486 { $as_echo "$as_me:$LINENO: result: no" >&5
2487 $as_echo "no" >&6; }
2491 test -n "$ac_ct_CC" && break
2494 if test "x$ac_ct_CC" = x; then
2497 case $cross_compiling:$ac_tool_warned in
2499 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2500 whose name does not start with the host triplet. If you think this
2501 configuration is useful to you, please write to autoconf@gnu.org." >&5
2502 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2503 whose name does not start with the host triplet. If you think this
2504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2505 ac_tool_warned=yes ;;
2514 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2515 See \`config.log
' for more details." >&5
2516 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2517 See \`config.log' for more details.
" >&2;}
2518 { (exit 1); exit 1; }; }
2520 # Provide some information about the compiler.
2521 $as_echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2524 { (ac_try="$ac_compiler --version >&5"
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2529 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2530 $as_echo "$ac_try_echo") >&5
2531 (eval "$ac_compiler --version >&5") 2>&5
2533 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2534 (exit $ac_status); }
2535 { (ac_try="$ac_compiler -v >&5"
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2541 $as_echo "$ac_try_echo") >&5
2542 (eval "$ac_compiler -v >&5") 2>&5
2544 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2545 (exit $ac_status); }
2546 { (ac_try="$ac_compiler -V >&5"
2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2551 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2552 $as_echo "$ac_try_echo") >&5
2553 (eval "$ac_compiler -V >&5") 2>&5
2555 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2556 (exit $ac_status); }
2558 cat >conftest.$ac_ext <<_ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2573 ac_clean_files_save=$ac_clean_files
2574 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2575 # Try to create an executable without -o first, disregard a.out.
2576 # It will help us diagnose broken compilers, and finding out an intuition
2578 { $as_echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2579 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2580 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2582 # The possible output files:
2583 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2586 for ac_file in $ac_files
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2590 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2595 if { (ac_try="$ac_link_default"
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2600 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2601 $as_echo "$ac_try_echo") >&5
2602 (eval "$ac_link_default") 2>&5
2604 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2605 (exit $ac_status); }; then
2606 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2607 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2608 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2609 # so that the user can short-circuit this test for compilers unknown to
2611 for ac_file in $ac_files ''
2613 test -f "$ac_file" || continue
2615 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2618 # We found the default executable, but exeext='' is most
2622 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2624 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2626 # We set ac_cv_exeext here because the later test for it is not
2627 # safe: cross compilers may not add the suffix if given an `-o'
2628 # argument, so we may need to know it at that point already.
2629 # Even if this section looks crufty: it has the advantage of
2636 test "$ac_cv_exeext" = no && ac_cv_exeext=
2642 { $as_echo "$as_me:$LINENO: result
: $ac_file" >&5
2643 $as_echo "$ac_file" >&6; }
2644 if test -z "$ac_file"; then
2645 $as_echo "$as_me: failed program was
:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2648 { { $as_echo "$as_me:$LINENO: error
: C compiler cannot create executables
2649 See \
`config.log' for more details." >&5
2650 $as_echo "$as_me: error: C compiler cannot create executables
2651 See \`config.log
' for more details." >&2;}
2652 { (exit 77); exit 77; }; }
2655 ac_exeext=$ac_cv_exeext
2657 # Check that the compiler produces executables we can run. If not, either
2658 # the compiler is broken, or we cross compile.
2659 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2660 $as_echo_n "checking whether the C compiler works... " >&6; }
2661 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2662 # If not cross compiling, check that we can run a simple program.
2663 if test "$cross_compiling" != yes; then
2664 if { ac_try='.
/$ac_file'
2665 { (case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2670 $as_echo "$ac_try_echo") >&5
2671 (eval "$ac_try") 2>&5
2673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; }; then
2677 if test "$cross_compiling" = maybe; then
2680 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2681 If you meant to cross compile, use \`--host'.
2682 See \
`config.log' for more details." >&5
2683 $as_echo "$as_me: error: cannot run C compiled programs.
2684 If you meant to cross compile, use \`--host'.
2685 See \`config.log' for more details.
" >&2;}
2686 { (exit 1); exit 1; }; }
2690 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2691 $as_echo "yes" >&6; }
2693 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2694 ac_clean_files=$ac_clean_files_save
2695 # Check that the compiler produces executables we can run. If not, either
2696 # the compiler is broken, or we cross compile.
2697 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2698 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2699 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2700 $as_echo "$cross_compiling" >&6; }
2702 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2703 $as_echo_n "checking
for suffix of executables...
" >&6; }
2704 if { (ac_try="$ac_link"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2710 $as_echo "$ac_try_echo") >&5
2711 (eval "$ac_link") 2>&5
2713 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2714 (exit $ac_status); }; then
2715 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2716 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2717 # work properly (i.e., refer to `conftest.exe'), while it won't with
2719 for ac_file in conftest.exe conftest conftest.*; do
2720 test -f "$ac_file" || continue
2722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2723 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2729 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2730 See \
`config.log' for more details." >&5
2731 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2732 See \`config.log
' for more details." >&2;}
2733 { (exit 1); exit 1; }; }
2736 rm -f conftest$ac_cv_exeext
2737 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2738 $as_echo "$ac_cv_exeext" >&6; }
2740 rm -f conftest.$ac_ext
2741 EXEEXT=$ac_cv_exeext
2743 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2744 $as_echo_n "checking for suffix of object files... " >&6; }
2745 if test "${ac_cv_objext+set}" = set; then
2746 $as_echo_n "(cached) " >&6
2748 cat >conftest.$ac_ext <<_ACEOF
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2763 rm -f conftest.o conftest.obj
2764 if { (ac_try="$ac_compile"
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2770 $as_echo "$ac_try_echo") >&5
2771 (eval "$ac_compile") 2>&5
2773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; then
2775 for ac_file in conftest.o conftest.obj conftest.*; do
2776 test -f "$ac_file" || continue;
2778 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2779 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2784 $as_echo "$as_me: failed program was:" >&5
2785 sed 's
/^
/|
/' conftest.$ac_ext >&5
2787 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2788 See \`config.log' for more details.
" >&5
2789 $as_echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2790 See \
`config.log' for more details." >&2;}
2791 { (exit 1); exit 1; }; }
2794 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2796 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2797 $as_echo "$ac_cv_objext" >&6; }
2798 OBJEXT=$ac_cv_objext
2800 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2801 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2802 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2803 $as_echo_n "(cached) " >&6
2805 cat >conftest.$ac_ext <<_ACEOF
2808 cat confdefs.h >>conftest.$ac_ext
2809 cat >>conftest.$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2823 rm -f conftest.$ac_objext
2824 if { (ac_try="$ac_compile"
2826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2827 *) ac_try_echo
=$ac_try;;
2829 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2830 $as_echo "$ac_try_echo") >&5
2831 (eval "$ac_compile") 2>conftest.er1
2833 grep -v '^ *+' conftest.er1
>conftest.err
2835 cat conftest.err
>&5
2836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } && {
2838 test -z "$ac_c_werror_flag" ||
2839 test ! -s conftest.err
2840 } && test -s conftest.
$ac_objext; then
2843 $as_echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.
$ac_ext >&5
2849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2850 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2853 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2855 if test $ac_compiler_gnu = yes; then
2860 ac_test_CFLAGS
=${CFLAGS+set}
2861 ac_save_CFLAGS
=$CFLAGS
2862 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2864 if test "${ac_cv_prog_cc_g+set}" = set; then
2865 $as_echo_n "(cached) " >&6
2867 ac_save_c_werror_flag
=$ac_c_werror_flag
2868 ac_c_werror_flag
=yes
2871 cat >conftest.
$ac_ext <<_ACEOF
2874 cat confdefs.h
>>conftest.
$ac_ext
2875 cat >>conftest.
$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2886 rm -f conftest.
$ac_objext
2887 if { (ac_try
="$ac_compile"
2889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2893 $as_echo "$ac_try_echo") >&5
2894 (eval "$ac_compile") 2>conftest.er1
2896 grep -v '^ *+' conftest.er1 >conftest.err
2898 cat conftest.err >&5
2899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); } && {
2901 test -z "$ac_c_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext; then
2906 $as_echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2929 *) ac_try_echo
=$ac_try;;
2931 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2932 $as_echo "$ac_try_echo") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1
>conftest.err
2937 cat conftest.err
>&5
2938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.
$ac_objext; then
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.
$ac_ext >&5
2948 ac_c_werror_flag
=$ac_save_c_werror_flag
2950 cat >conftest.
$ac_ext <<_ACEOF
2953 cat confdefs.h
>>conftest.
$ac_ext
2954 cat >>conftest.
$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2965 rm -f conftest.
$ac_objext
2966 if { (ac_try
="$ac_compile"
2968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2972 $as_echo "$ac_try_echo") >&5
2973 (eval "$ac_compile") 2>conftest.er1
2975 grep -v '^ *+' conftest.er1 >conftest.err
2977 cat conftest.err >&5
2978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } && {
2980 test -z "$ac_c_werror_flag" ||
2981 test ! -s conftest.err
2982 } && test -s conftest.$ac_objext; then
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 ac_c_werror_flag=$ac_save_c_werror_flag
3000 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3001 $as_echo "$ac_cv_prog_cc_g" >&6; }
3002 if test "$ac_test_CFLAGS" = set; then
3003 CFLAGS=$ac_save_CFLAGS
3004 elif test $ac_cv_prog_cc_g = yes; then
3005 if test "$GCC" = yes; then
3011 if test "$GCC" = yes; then
3017 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3019 if test "${ac_cv_prog_cc_c89+set}" = set; then
3020 $as_echo_n "(cached) " >&6
3022 ac_cv_prog_cc_c89=no
3024 cat >conftest.$ac_ext <<_ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3032 #include <sys/types.h>
3033 #include <sys/stat.h>
3034 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3035 struct buf { int x; };
3036 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3037 static char *e (p, i)
3043 static char *f (char * (*g) (char **, int), char **p, ...)
3048 s = g (p, va_arg (v,int));
3053 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3054 function prototypes and stuff, but not '\xHH' hex character constants.
3055 These don't provoke an error unfortunately, instead are silently treated
3056 as 'x'. The following induces an error, until -std is added to get
3057 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3058 array size at least. It's necessary to write '\x00'==0 to get something
3059 that's true only with -std. */
3060 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3062 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3063 inside strings and character constants. */
3065 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3067 int test (int i, double x);
3068 struct s1 {int (*f) (int a);};
3069 struct s2 {int (*f) (double a);};
3070 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3076 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3081 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3082 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3084 CC="$ac_save_CC $ac_arg"
3085 rm -f conftest.$ac_objext
3086 if { (ac_try="$ac_compile"
3088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3089 *) ac_try_echo
=$ac_try;;
3091 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3092 $as_echo "$ac_try_echo") >&5
3093 (eval "$ac_compile") 2>conftest.er1
3095 grep -v '^ *+' conftest.er1
>conftest.err
3097 cat conftest.err
>&5
3098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } && {
3100 test -z "$ac_c_werror_flag" ||
3101 test ! -s conftest.err
3102 } && test -s conftest.
$ac_objext; then
3103 ac_cv_prog_cc_c89
=$ac_arg
3105 $as_echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.
$ac_ext >&5
3111 rm -f core conftest.err conftest.
$ac_objext
3112 test "x$ac_cv_prog_cc_c89" != "xno" && break
3114 rm -f conftest.
$ac_ext
3119 case "x$ac_cv_prog_cc_c89" in
3121 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3122 $as_echo "none needed" >&6; } ;;
3124 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3125 $as_echo "unsupported" >&6; } ;;
3127 CC
="$CC $ac_cv_prog_cc_c89"
3128 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3129 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3134 ac_cpp
='$CPP $CPPFLAGS'
3135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3139 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3140 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3141 if test "${ac_cv_path_SED+set}" = set; then
3142 $as_echo_n "(cached) " >&6
3144 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3145 for ac_i
in 1 2 3 4 5 6 7; do
3146 ac_script
="$ac_script$as_nl$ac_script"
3148 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3149 $as_unset ac_script || ac_script
=
3150 if test -z "$SED"; then
3151 ac_path_SED_found
=false
3152 # Loop through the user's path and test for each of PROGNAME-LIST
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_prog
in sed gsed
; do
3159 for ac_exec_ext
in '' $ac_executable_extensions; do
3160 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3161 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3162 # Check for GNU ac_path_SED and select it if it is found.
3163 # Check for GNU $ac_path_SED
3164 case `"$ac_path_SED" --version 2>&1` in
3166 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3169 $as_echo_n 0123456789 >"conftest.in"
3172 cat "conftest.in" "conftest.in" >"conftest.tmp"
3173 mv "conftest.tmp" "conftest.in"
3174 cp "conftest.in" "conftest.nl"
3175 $as_echo '' >> "conftest.nl"
3176 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3177 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3178 ac_count
=`expr $ac_count + 1`
3179 if test $ac_count -gt ${ac_path_SED_max-0}; then
3180 # Best one so far, save it but keep looking for a better one
3181 ac_cv_path_SED
="$ac_path_SED"
3182 ac_path_SED_max
=$ac_count
3184 # 10*(2^10) chars as input seems more than enough
3185 test $ac_count -gt 10 && break
3187 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3190 $ac_path_SED_found && break 3
3195 if test -z "$ac_cv_path_SED"; then
3196 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3197 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3198 { (exit 1); exit 1; }; }
3205 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3206 $as_echo "$ac_cv_path_SED" >&6; }
3207 SED
="$ac_cv_path_SED"
3210 test -z "$SED" && SED
=sed
3211 Xsed
="$SED -e 1s/^X//"
3223 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3224 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3225 if test "${ac_cv_path_GREP+set}" = set; then
3226 $as_echo_n "(cached) " >&6
3228 if test -z "$GREP"; then
3229 ac_path_GREP_found
=false
3230 # Loop through the user's path and test for each of PROGNAME-LIST
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3232 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_prog
in grep ggrep
; do
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3239 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3240 # Check for GNU ac_path_GREP and select it if it is found.
3241 # Check for GNU $ac_path_GREP
3242 case `"$ac_path_GREP" --version 2>&1` in
3244 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3247 $as_echo_n 0123456789 >"conftest.in"
3250 cat "conftest.in" "conftest.in" >"conftest.tmp"
3251 mv "conftest.tmp" "conftest.in"
3252 cp "conftest.in" "conftest.nl"
3253 $as_echo 'GREP' >> "conftest.nl"
3254 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3255 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3256 ac_count
=`expr $ac_count + 1`
3257 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3258 # Best one so far, save it but keep looking for a better one
3259 ac_cv_path_GREP
="$ac_path_GREP"
3260 ac_path_GREP_max
=$ac_count
3262 # 10*(2^10) chars as input seems more than enough
3263 test $ac_count -gt 10 && break
3265 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3268 $ac_path_GREP_found && break 3
3273 if test -z "$ac_cv_path_GREP"; then
3274 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3275 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3276 { (exit 1); exit 1; }; }
3279 ac_cv_path_GREP
=$GREP
3283 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3284 $as_echo "$ac_cv_path_GREP" >&6; }
3285 GREP
="$ac_cv_path_GREP"
3288 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3289 $as_echo_n "checking for egrep... " >&6; }
3290 if test "${ac_cv_path_EGREP+set}" = set; then
3291 $as_echo_n "(cached) " >&6
3293 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3294 then ac_cv_path_EGREP
="$GREP -E"
3296 if test -z "$EGREP"; then
3297 ac_path_EGREP_found
=false
3298 # Loop through the user's path and test for each of PROGNAME-LIST
3299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3300 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3303 test -z "$as_dir" && as_dir
=.
3304 for ac_prog
in egrep; do
3305 for ac_exec_ext
in '' $ac_executable_extensions; do
3306 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3307 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3308 # Check for GNU ac_path_EGREP and select it if it is found.
3309 # Check for GNU $ac_path_EGREP
3310 case `"$ac_path_EGREP" --version 2>&1` in
3312 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3315 $as_echo_n 0123456789 >"conftest.in"
3318 cat "conftest.in" "conftest.in" >"conftest.tmp"
3319 mv "conftest.tmp" "conftest.in"
3320 cp "conftest.in" "conftest.nl"
3321 $as_echo 'EGREP' >> "conftest.nl"
3322 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3323 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3324 ac_count
=`expr $ac_count + 1`
3325 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3326 # Best one so far, save it but keep looking for a better one
3327 ac_cv_path_EGREP
="$ac_path_EGREP"
3328 ac_path_EGREP_max
=$ac_count
3330 # 10*(2^10) chars as input seems more than enough
3331 test $ac_count -gt 10 && break
3333 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3336 $ac_path_EGREP_found && break 3
3341 if test -z "$ac_cv_path_EGREP"; then
3342 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3343 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3344 { (exit 1); exit 1; }; }
3347 ac_cv_path_EGREP
=$EGREP
3352 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3353 $as_echo "$ac_cv_path_EGREP" >&6; }
3354 EGREP
="$ac_cv_path_EGREP"
3357 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3358 $as_echo_n "checking for fgrep... " >&6; }
3359 if test "${ac_cv_path_FGREP+set}" = set; then
3360 $as_echo_n "(cached) " >&6
3362 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3363 then ac_cv_path_FGREP
="$GREP -F"
3365 if test -z "$FGREP"; then
3366 ac_path_FGREP_found
=false
3367 # Loop through the user's path and test for each of PROGNAME-LIST
3368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3372 test -z "$as_dir" && as_dir
=.
3373 for ac_prog
in fgrep
; do
3374 for ac_exec_ext
in '' $ac_executable_extensions; do
3375 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3376 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
3377 # Check for GNU ac_path_FGREP and select it if it is found.
3378 # Check for GNU $ac_path_FGREP
3379 case `"$ac_path_FGREP" --version 2>&1` in
3381 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3384 $as_echo_n 0123456789 >"conftest.in"
3387 cat "conftest.in" "conftest.in" >"conftest.tmp"
3388 mv "conftest.tmp" "conftest.in"
3389 cp "conftest.in" "conftest.nl"
3390 $as_echo 'FGREP' >> "conftest.nl"
3391 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3392 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3393 ac_count
=`expr $ac_count + 1`
3394 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3395 # Best one so far, save it but keep looking for a better one
3396 ac_cv_path_FGREP
="$ac_path_FGREP"
3397 ac_path_FGREP_max
=$ac_count
3399 # 10*(2^10) chars as input seems more than enough
3400 test $ac_count -gt 10 && break
3402 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3405 $ac_path_FGREP_found && break 3
3410 if test -z "$ac_cv_path_FGREP"; then
3411 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3412 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3413 { (exit 1); exit 1; }; }
3416 ac_cv_path_FGREP
=$FGREP
3421 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
3422 $as_echo "$ac_cv_path_FGREP" >&6; }
3423 FGREP
="$ac_cv_path_FGREP"
3426 test -z "$GREP" && GREP
=grep
3446 # Check whether --with-gnu-ld was given.
3447 if test "${with_gnu_ld+set}" = set; then
3448 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3454 if test "$GCC" = yes; then
3455 # Check if gcc -print-prog-name=ld gives a path.
3456 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3457 $as_echo_n "checking for ld used by $CC... " >&6; }
3460 # gcc leaves a trailing carriage return which upsets mingw
3461 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3463 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3466 # Accept absolute paths.
3468 re_direlt
='/[^/][^/]*/\.\./'
3469 # Canonicalize the pathname of ld
3470 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3471 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3472 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3474 test -z "$LD" && LD
="$ac_prog"
3477 # If it fails, then pretend we aren't using GCC.
3481 # If it is relative, then search for the first ld in PATH.
3485 elif test "$with_gnu_ld" = yes; then
3486 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
3487 $as_echo_n "checking for GNU ld... " >&6; }
3489 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3490 $as_echo_n "checking for non-GNU ld... " >&6; }
3492 if test "${lt_cv_path_LD+set}" = set; then
3493 $as_echo_n "(cached) " >&6
3495 if test -z "$LD"; then
3496 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3497 for ac_dir
in $PATH; do
3499 test -z "$ac_dir" && ac_dir
=.
3500 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3501 lt_cv_path_LD
="$ac_dir/$ac_prog"
3502 # Check to see if the program is GNU ld. I'd rather use --version,
3503 # but apparently some variants of GNU ld only accept -v.
3504 # Break only if it was the GNU/non-GNU ld that we prefer.
3505 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3506 *GNU
* |
*'with BFD'*)
3507 test "$with_gnu_ld" != no
&& break
3510 test "$with_gnu_ld" != yes && break
3517 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3522 if test -n "$LD"; then
3523 { $as_echo "$as_me:$LINENO: result: $LD" >&5
3524 $as_echo "$LD" >&6; }
3526 { $as_echo "$as_me:$LINENO: result: no" >&5
3527 $as_echo "no" >&6; }
3529 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3530 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3531 { (exit 1); exit 1; }; }
3532 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3533 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3534 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3535 $as_echo_n "(cached) " >&6
3537 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3538 case `$LD -v 2>&1 </dev/null` in
3539 *GNU
* |
*'with BFD'*)
3540 lt_cv_prog_gnu_ld
=yes
3543 lt_cv_prog_gnu_ld
=no
3547 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3548 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3549 with_gnu_ld
=$lt_cv_prog_gnu_ld
3559 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3560 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3561 if test "${lt_cv_path_NM+set}" = set; then
3562 $as_echo_n "(cached) " >&6
3564 if test -n "$NM"; then
3565 # Let the user override the test.
3568 lt_nm_to_check
="${ac_tool_prefix}nm"
3569 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3570 lt_nm_to_check
="$lt_nm_to_check nm"
3572 for lt_tmp_nm
in $lt_nm_to_check; do
3573 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3574 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3576 test -z "$ac_dir" && ac_dir
=.
3577 tmp_nm
="$ac_dir/$lt_tmp_nm"
3578 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3579 # Check to see if the nm accepts a BSD-compat flag.
3580 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3581 # nm: unknown option "B" ignored
3582 # Tru64's nm complains that /dev/null is an invalid object file
3583 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3584 */dev
/null
* |
*'Invalid file or object type'*)
3585 lt_cv_path_NM
="$tmp_nm -B"
3589 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3591 lt_cv_path_NM
="$tmp_nm -p"
3595 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3596 continue # so that we can try to find one that supports BSD flags
3605 : ${lt_cv_path_NM=no}
3608 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3609 $as_echo "$lt_cv_path_NM" >&6; }
3610 if test "$lt_cv_path_NM" != "no"; then
3613 # Didn't find any BSD compatible name lister, look for dumpbin.
3614 if test -n "$ac_tool_prefix"; then
3615 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3618 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3619 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3622 $as_echo_n "(cached) " >&6
3624 if test -n "$DUMPBIN"; then
3625 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir
=.
3632 for ac_exec_ext
in '' $ac_executable_extensions; do
3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3635 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 DUMPBIN
=$ac_cv_prog_DUMPBIN
3645 if test -n "$DUMPBIN"; then
3646 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3647 $as_echo "$DUMPBIN" >&6; }
3649 { $as_echo "$as_me:$LINENO: result: no" >&5
3650 $as_echo "no" >&6; }
3654 test -n "$DUMPBIN" && break
3657 if test -z "$DUMPBIN"; then
3658 ac_ct_DUMPBIN
=$DUMPBIN
3659 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3661 # Extract the first word of "$ac_prog", so it can be a program name with args.
3662 set dummy
$ac_prog; ac_word
=$2
3663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3666 $as_echo_n "(cached) " >&6
3668 if test -n "$ac_ct_DUMPBIN"; then
3669 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3675 test -z "$as_dir" && as_dir
=.
3676 for ac_exec_ext
in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3689 if test -n "$ac_ct_DUMPBIN"; then
3690 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3691 $as_echo "$ac_ct_DUMPBIN" >&6; }
3693 { $as_echo "$as_me:$LINENO: result: no" >&5
3694 $as_echo "no" >&6; }
3698 test -n "$ac_ct_DUMPBIN" && break
3701 if test "x$ac_ct_DUMPBIN" = x
; then
3704 case $cross_compiling:$ac_tool_warned in
3706 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3707 whose name does not start with the host triplet. If you think this
3708 configuration is useful to you, please write to autoconf@gnu.org." >&5
3709 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3710 whose name does not start with the host triplet. If you think this
3711 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3712 ac_tool_warned
=yes ;;
3714 DUMPBIN
=$ac_ct_DUMPBIN
3719 if test "$DUMPBIN" != ":"; then
3723 test -z "$NM" && NM
=nm
3730 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3731 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3732 if test "${lt_cv_nm_interface+set}" = set; then
3733 $as_echo_n "(cached) " >&6
3735 lt_cv_nm_interface
="BSD nm"
3736 echo "int some_variable = 0;" > conftest.
$ac_ext
3737 (eval echo "\"\$as_me:3737: $ac_compile\"" >&5)
3738 (eval "$ac_compile" 2>conftest.err
)
3739 cat conftest.err
>&5
3740 (eval echo "\"\$as_me:3740: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3741 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3742 cat conftest.err
>&5
3743 (eval echo "\"\$as_me:3743: output\"" >&5)
3744 cat conftest.out
>&5
3745 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3746 lt_cv_nm_interface
="MS dumpbin"
3750 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3751 $as_echo "$lt_cv_nm_interface" >&6; }
3753 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3754 $as_echo_n "checking whether ln -s works... " >&6; }
3756 if test "$LN_S" = "ln -s"; then
3757 { $as_echo "$as_me:$LINENO: result: yes" >&5
3758 $as_echo "yes" >&6; }
3760 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3761 $as_echo "no, using $LN_S" >&6; }
3764 # find the maximum length of command line arguments
3765 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3766 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3767 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3768 $as_echo_n "(cached) " >&6
3775 # On DJGPP, this test can blow up pretty badly due to problems in libc
3776 # (any single argument exceeding 2000 bytes causes a buffer overrun
3777 # during glob expansion). Even if it were fixed, the result of this
3778 # check would be larger than it should be.
3779 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3783 # Under GNU Hurd, this test is not required because there is
3784 # no limit to the length of command line arguments.
3785 # Libtool will interpret -1 as no limit whatsoever
3786 lt_cv_sys_max_cmd_len
=-1;
3789 cygwin
* | mingw
* | cegcc
*)
3790 # On Win9x/ME, this test blows up -- it succeeds, but takes
3791 # about 5 minutes as the teststring grows exponentially.
3792 # Worse, since 9x/ME are not pre-emptively multitasking,
3793 # you end up with a "frozen" computer, even though with patience
3794 # the test eventually succeeds (with a max line length of 256k).
3795 # Instead, let's just punt: use the minimum linelength reported by
3796 # all of the supported platforms: 8192 (on NT/2K/XP).
3797 lt_cv_sys_max_cmd_len
=8192;
3801 # On AmigaOS with pdksh, this test takes hours, literally.
3802 # So we just punt and use a minimum line length of 8192.
3803 lt_cv_sys_max_cmd_len
=8192;
3806 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3807 # This has been around since 386BSD, at least. Likely further.
3808 if test -x /sbin
/sysctl
; then
3809 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3810 elif test -x /usr
/sbin
/sysctl
; then
3811 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3813 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3815 # And add a safety zone
3816 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3817 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3821 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3822 lt_cv_sys_max_cmd_len
=196608
3826 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3827 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3828 # nice to cause kernel panics so lets avoid the loop below.
3829 # First set a reasonable default.
3830 lt_cv_sys_max_cmd_len
=16384
3832 if test -x /sbin
/sysconfig
; then
3833 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3834 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
3839 lt_cv_sys_max_cmd_len
=102400
3841 sysv5
* | sco5v6
* | sysv4.2uw2
*)
3842 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3843 if test -n "$kargmax"; then
3844 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
3846 lt_cv_sys_max_cmd_len
=32768
3850 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
3851 if test -n "$lt_cv_sys_max_cmd_len"; then
3852 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3853 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3855 # Make teststring a little bigger before we do anything with it.
3856 # a 1K string should be a reasonable start.
3857 for i
in 1 2 3 4 5 6 7 8 ; do
3858 teststring
=$teststring$teststring
3860 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
3861 # If test is not a shell built-in, we'll probably end up computing a
3862 # maximum length that is only half of the actual maximum length, but
3864 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3865 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
3866 test $i != 17 # 1/2 MB should be enough
3869 teststring
=$teststring$teststring
3871 # Only check the string length outside the loop.
3872 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
3874 # Add a significant safety factor because C++ compilers can tack on
3875 # massive amounts of additional arguments before passing them to the
3876 # linker. It appears as though 1/2 is a usable value.
3877 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
3884 if test -n $lt_cv_sys_max_cmd_len ; then
3885 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3886 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3888 { $as_echo "$as_me:$LINENO: result: none" >&5
3889 $as_echo "none" >&6; }
3891 max_cmd_len
=$lt_cv_sys_max_cmd_len
3902 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3903 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3904 # Try some XSI features
3907 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3909 && eval 'test $(( 1 + 1 )) -eq 2 \
3910 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3912 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
3913 $as_echo "$xsi_shell" >&6; }
3916 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
3917 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
3919 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
3921 && lt_shell_append=yes
3922 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
3923 $as_echo "$lt_shell_append" >&6; }
3926 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3936 # test EBCDIC or ASCII
3937 case `echo X|tr X '\101'` in
3938 A) # ASCII based system
3939 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3940 lt_SP2NL='tr \040 \012'
3941 lt_NL2SP='tr \015\012 \040\040'
3943 *) # EBCDIC based system
3944 lt_SP2NL='tr \100 \n'
3945 lt_NL2SP='tr \r\n \100\100'
3957 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
3958 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
3959 if test "${lt_cv_ld_reload_flag+set}" = set; then
3960 $as_echo_n "(cached
) " >&6
3962 lt_cv_ld_reload_flag='-r'
3964 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
3965 $as_echo "$lt_cv_ld_reload_flag" >&6; }
3966 reload_flag=$lt_cv_ld_reload_flag
3967 case $reload_flag in
3969 *) reload_flag=" $reload_flag" ;;
3971 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3974 if test "$GCC" = yes; then
3975 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3977 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3990 if test -n "$ac_tool_prefix"; then
3991 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
3992 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3993 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
3994 $as_echo_n "checking
for $ac_word...
" >&6; }
3995 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3996 $as_echo_n "(cached
) " >&6
3998 if test -n "$OBJDUMP"; then
3999 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4009 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4018 OBJDUMP=$ac_cv_prog_OBJDUMP
4019 if test -n "$OBJDUMP"; then
4020 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4021 $as_echo "$OBJDUMP" >&6; }
4023 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4024 $as_echo "no
" >&6; }
4029 if test -z "$ac_cv_prog_OBJDUMP"; then
4030 ac_ct_OBJDUMP=$OBJDUMP
4031 # Extract the first word of "objdump
", so it can be a program name with args.
4032 set dummy objdump; ac_word=$2
4033 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4034 $as_echo_n "checking
for $ac_word...
" >&6; }
4035 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4036 $as_echo_n "(cached
) " >&6
4038 if test -n "$ac_ct_OBJDUMP"; then
4039 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4049 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4058 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4059 if test -n "$ac_ct_OBJDUMP"; then
4060 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4061 $as_echo "$ac_ct_OBJDUMP" >&6; }
4063 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4064 $as_echo "no
" >&6; }
4067 if test "x
$ac_ct_OBJDUMP" = x; then
4070 case $cross_compiling:$ac_tool_warned in
4072 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4073 whose name does not start with the
host triplet. If you think this
4074 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4075 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4076 whose name does not start with the
host triplet. If you think this
4077 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4078 ac_tool_warned=yes ;;
4080 OBJDUMP=$ac_ct_OBJDUMP
4083 OBJDUMP="$ac_cv_prog_OBJDUMP"
4086 test -z "$OBJDUMP" && OBJDUMP=objdump
4096 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4097 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4098 if test "${lt_cv_deplibs_check_method+set}" = set; then
4099 $as_echo_n "(cached
) " >&6
4101 lt_cv_file_magic_cmd='$MAGIC_CMD'
4102 lt_cv_file_magic_test_file=
4103 lt_cv_deplibs_check_method='unknown'
4104 # Need to set the preceding variable on all platforms that support
4105 # interlibrary dependencies.
4106 # 'none' -- dependencies not supported.
4107 # `unknown' -- same as none, but documents that we really don't know.
4108 # 'pass_all' -- all dependencies passed with no checks.
4109 # 'test_compile' -- check by making test program.
4110 # 'file_magic [[regex]]' -- check by looking for files in library path
4111 # which responds to the $file_magic_cmd with a given extended regex.
4112 # If you have `file' or equivalent on your system and you're not sure
4113 # whether `pass_all' will *always* work, you probably want this one.
4117 lt_cv_deplibs_check_method=pass_all
4121 lt_cv_deplibs_check_method=pass_all
4125 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4126 lt_cv_file_magic_cmd='/usr/bin/file -L'
4127 lt_cv_file_magic_test_file=/shlib/libc.so
4131 # func_win32_libid is a shell function defined in ltmain.sh
4132 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4133 lt_cv_file_magic_cmd='func_win32_libid'
4137 # Base MSYS/MinGW do not provide the 'file' command needed by
4138 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4139 # unless we find 'file', for example because we are cross-compiling.
4140 if ( file / ) >/dev/null 2>&1; then
4141 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4142 lt_cv_file_magic_cmd='func_win32_libid'
4144 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4145 lt_cv_file_magic_cmd='$OBJDUMP -f'
4150 # use the weaker test based on 'objdump'. See mingw*.
4151 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4152 lt_cv_file_magic_cmd='$OBJDUMP -f'
4155 darwin* | rhapsody*)
4156 lt_cv_deplibs_check_method=pass_all
4159 freebsd* | dragonfly*)
4160 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4163 # Not sure whether the presence of OpenBSD here was a mistake.
4164 # Let's accept both of them until this is cleared up.
4165 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4166 lt_cv_file_magic_cmd=/usr/bin/file
4167 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4171 lt_cv_deplibs_check_method=pass_all
4176 lt_cv_deplibs_check_method=pass_all
4179 hpux10.20* | hpux11*)
4180 lt_cv_file_magic_cmd=/usr/bin/file
4183 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4184 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4187 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]'
4188 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4191 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4192 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4198 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4202 irix5* | irix6* | nonstopux*)
4204 *-32|*"-32 ") libmagic=32-bit;;
4205 *-n32|*"-n32 ") libmagic=N32;;
4206 *-64|*"-64 ") libmagic=64-bit;;
4207 *) libmagic=never-match;;
4209 lt_cv_deplibs_check_method=pass_all
4212 # This must be Linux ELF.
4213 linux* | k*bsd*-gnu)
4214 lt_cv_deplibs_check_method=pass_all
4218 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4219 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4221 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4226 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4227 lt_cv_file_magic_cmd=/usr/bin/file
4228 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4232 lt_cv_deplibs_check_method=pass_all
4236 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4237 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4239 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4243 osf3* | osf4* | osf5*)
4244 lt_cv_deplibs_check_method=pass_all
4248 lt_cv_deplibs_check_method=pass_all
4252 lt_cv_deplibs_check_method=pass_all
4255 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4256 lt_cv_deplibs_check_method=pass_all
4260 case $host_vendor in
4262 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]'
4263 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4266 lt_cv_deplibs_check_method=pass_all
4269 lt_cv_file_magic_cmd='/bin/file'
4270 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4273 lt_cv_file_magic_cmd='/bin/file'
4274 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4275 lt_cv_file_magic_test_file=/lib/libc.so
4278 lt_cv_deplibs_check_method=pass_all
4281 lt_cv_deplibs_check_method=pass_all
4287 lt_cv_deplibs_check_method=pass_all
4292 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4293 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4294 file_magic_cmd=$lt_cv_file_magic_cmd
4295 deplibs_check_method=$lt_cv_deplibs_check_method
4296 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4309 if test -n "$ac_tool_prefix"; then
4310 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4311 set dummy ${ac_tool_prefix}ar; ac_word=$2
4312 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4313 $as_echo_n "checking
for $ac_word...
" >&6; }
4314 if test "${ac_cv_prog_AR+set}" = set; then
4315 $as_echo_n "(cached
) " >&6
4317 if test -n "$AR"; then
4318 ac_cv_prog_AR="$AR" # Let the user override the test.
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 ac_cv_prog_AR="${ac_tool_prefix}ar"
4328 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4338 if test -n "$AR"; then
4339 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
4340 $as_echo "$AR" >&6; }
4342 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4343 $as_echo "no
" >&6; }
4348 if test -z "$ac_cv_prog_AR"; then
4350 # Extract the first word of "ar", so it can be a program name with args.
4351 set dummy ar; ac_word=$2
4352 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4353 $as_echo_n "checking
for $ac_word...
" >&6; }
4354 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4355 $as_echo_n "(cached
) " >&6
4357 if test -n "$ac_ct_AR"; then
4358 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_ac_ct_AR="ar"
4368 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4377 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4378 if test -n "$ac_ct_AR"; then
4379 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4380 $as_echo "$ac_ct_AR" >&6; }
4382 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4383 $as_echo "no
" >&6; }
4386 if test "x
$ac_ct_AR" = x; then
4389 case $cross_compiling:$ac_tool_warned in
4391 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4392 whose name does not start with the
host triplet. If you think this
4393 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4394 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4395 whose name does not start with the
host triplet. If you think this
4396 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4397 ac_tool_warned=yes ;;
4405 test -z "$AR" && AR=ar
4406 test -z "$AR_FLAGS" && AR_FLAGS=cru
4418 if test -n "$ac_tool_prefix"; then
4419 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4420 set dummy ${ac_tool_prefix}strip; ac_word=$2
4421 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4422 $as_echo_n "checking
for $ac_word...
" >&6; }
4423 if test "${ac_cv_prog_STRIP+set}" = set; then
4424 $as_echo_n "(cached
) " >&6
4426 if test -n "$STRIP"; then
4427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4436 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4437 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4446 STRIP=$ac_cv_prog_STRIP
4447 if test -n "$STRIP"; then
4448 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
4449 $as_echo "$STRIP" >&6; }
4451 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4452 $as_echo "no
" >&6; }
4457 if test -z "$ac_cv_prog_STRIP"; then
4459 # Extract the first word of "strip
", so it can be a program name with args.
4460 set dummy strip; ac_word=$2
4461 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4462 $as_echo_n "checking
for $ac_word...
" >&6; }
4463 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4464 $as_echo_n "(cached
) " >&6
4466 if test -n "$ac_ct_STRIP"; then
4467 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476 ac_cv_prog_ac_ct_STRIP="strip
"
4477 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4487 if test -n "$ac_ct_STRIP"; then
4488 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4489 $as_echo "$ac_ct_STRIP" >&6; }
4491 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4492 $as_echo "no
" >&6; }
4495 if test "x
$ac_ct_STRIP" = x; then
4498 case $cross_compiling:$ac_tool_warned in
4500 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4501 whose name does not start with the
host triplet. If you think this
4502 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4503 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4504 whose name does not start with the
host triplet. If you think this
4505 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4506 ac_tool_warned=yes ;;
4511 STRIP="$ac_cv_prog_STRIP"
4514 test -z "$STRIP" && STRIP=:
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4524 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4525 $as_echo_n "checking
for $ac_word...
" >&6; }
4526 if test "${ac_cv_prog_RANLIB+set}" = set; then
4527 $as_echo_n "(cached
) " >&6
4529 if test -n "$RANLIB"; then
4530 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4540 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4549 RANLIB=$ac_cv_prog_RANLIB
4550 if test -n "$RANLIB"; then
4551 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
4552 $as_echo "$RANLIB" >&6; }
4554 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4555 $as_echo "no
" >&6; }
4560 if test -z "$ac_cv_prog_RANLIB"; then
4561 ac_ct_RANLIB=$RANLIB
4562 # Extract the first word of "ranlib
", so it can be a program name with args.
4563 set dummy ranlib; ac_word=$2
4564 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4565 $as_echo_n "checking
for $ac_word...
" >&6; }
4566 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4567 $as_echo_n "(cached
) " >&6
4569 if test -n "$ac_ct_RANLIB"; then
4570 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4579 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4580 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4589 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4590 if test -n "$ac_ct_RANLIB"; then
4591 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4592 $as_echo "$ac_ct_RANLIB" >&6; }
4594 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4595 $as_echo "no
" >&6; }
4598 if test "x
$ac_ct_RANLIB" = x; then
4601 case $cross_compiling:$ac_tool_warned in
4603 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4604 whose name does not start with the
host triplet. If you think this
4605 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4606 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4607 whose name does not start with the
host triplet. If you think this
4608 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4609 ac_tool_warned=yes ;;
4611 RANLIB=$ac_ct_RANLIB
4614 RANLIB="$ac_cv_prog_RANLIB"
4617 test -z "$RANLIB" && RANLIB=:
4624 # Determine commands to create old-style static archives.
4625 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4626 old_postinstall_cmds='chmod 644 $oldlib'
4627 old_postuninstall_cmds=
4629 if test -n "$RANLIB"; then
4632 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4635 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4638 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4674 # If no C compiler was specified, use CC.
4677 # If no C compiler flags were specified, use CFLAGS.
4678 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4680 # Allow CC to be a program name with arguments.
4684 # Check for command to grab the raw symbol name followed by C symbol from nm.
4685 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4686 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4687 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4688 $as_echo_n "(cached
) " >&6
4691 # These are sane defaults that work on at least a few old systems.
4692 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4694 # Character class describing NM global symbol codes.
4695 symcode='[BCDEGRST]'
4697 # Regexp to match symbols that can be accessed directly from C.
4698 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4700 # Define system-specific variables.
4705 cygwin* | mingw* | pw32* | cegcc*)
4706 symcode='[ABCDGISTW]'
4709 if test "$host_cpu" = ia64; then
4710 symcode='[ABCDEGRST]'
4714 symcode='[BCDEGRST]'
4717 symcode='[BCDEGQRST]'
4728 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4736 # If we're using GNU nm, then use its standard symbol codes.
4737 case `$NM -V 2>&1` in
4738 *GNU* | *'with BFD'*)
4739 symcode='[ABCDGIRSTW]' ;;
4742 # Transform an extracted symbol line into a proper C declaration.
4743 # Some systems (esp. on ia64) link data and code symbols differently,
4744 # so use this general approach.
4745 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4747 # Transform an extracted symbol line into symbol name and symbol address
4748 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4749 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'"
4751 # Handle CRLF in mingw tool chain
4755 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4759 # Try without a prefix underscore, then with it.
4760 for ac_symprfx in "" "_
"; do
4762 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4763 symxfrm="\\1 $ac_symprfx\\2 \\2"
4765 # Write the raw and C identifiers.
4766 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4767 # Fake it for dumpbin and say T for any non-static function
4768 # and D for any global variable.
4769 # Also find C++ and __fastcall symbols from MSVC++,
4770 # which start with @ or ?.
4771 lt_cv_sys_global_symbol_pipe="$AWK '"\
4772 " {last_section=section; section=\$ 3};"\
4773 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4774 " \$ 0!~/External *\|/{next};"\
4775 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4776 " {if(hide[section]) next};"\
4777 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4778 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4779 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4780 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4781 " ' prfx
=^
$ac_symprfx"
4783 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4786 # Check to see that the pipe works correctly.
4790 cat > conftest.$ac_ext <<_LT_EOF
4795 void nm_test_func(void);
4796 void nm_test_func(void){}
4800 int main(){nm_test_var='a';nm_test_func();return(0);}
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>&5
4806 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4807 (exit $ac_status); }; then
4808 # Now try to grab the symbols.
4810 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4811 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4813 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4814 (exit $ac_status); } && test -s "$nlist"; then
4815 # Try sorting and uniquifying the output.
4816 if sort "$nlist" | uniq > "$nlist"T; then
4817 mv -f "$nlist"T "$nlist"
4822 # Make sure that we snagged all the symbols we need.
4823 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4824 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4825 cat <<_LT_EOF > conftest.$ac_ext
4831 # Now generate the symbol file.
4832 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4834 cat <<_LT_EOF >> conftest.$ac_ext
4836 /* The mapping between symbol names and symbols. */
4841 lt__PROGRAM__LTX_preloaded_symbols[] =
4843 { "@PROGRAM@
", (void *) 0 },
4845 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4846 cat <<\_LT_EOF >> conftest.$ac_ext
4850 /* This works around a problem in FreeBSD linker */
4851 #ifdef FREEBSD_WORKAROUND
4852 static const void *lt_preloaded_setup() {
4853 return lt__PROGRAM__LTX_preloaded_symbols;
4861 # Now try linking the two files.
4862 mv conftest.$ac_objext conftstm.$ac_objext
4863 lt_save_LIBS="$LIBS"
4864 lt_save_CFLAGS="$CFLAGS"
4865 LIBS="conftstm.
$ac_objext"
4866 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4868 (eval $ac_link) 2>&5
4870 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4871 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4874 LIBS="$lt_save_LIBS"
4875 CFLAGS="$lt_save_CFLAGS"
4877 echo "cannot
find nm_test_func
in $nlist" >&5
4880 echo "cannot
find nm_test_var
in $nlist" >&5
4883 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4886 echo "$progname: failed program was
:" >&5
4887 cat conftest.$ac_ext >&5
4889 rm -rf conftest* conftst*
4891 # Do not use the global_symbol_pipe unless it works.
4892 if test "$pipe_works" = yes; then
4895 lt_cv_sys_global_symbol_pipe=
4901 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4902 lt_cv_sys_global_symbol_to_cdecl=
4904 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4905 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
4906 $as_echo "failed
" >&6; }
4908 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
4909 $as_echo "ok
" >&6; }
4934 # Check whether --enable-libtool-lock was given.
4935 if test "${enable_libtool_lock+set}" = set; then
4936 enableval=$enable_libtool_lock;
4939 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4941 # Some flags need to be propagated to the compiler or linker for good
4945 # Find out which ABI we are using.
4946 echo 'int i;' > conftest.$ac_ext
4947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4948 (eval $ac_compile) 2>&5
4950 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4951 (exit $ac_status); }; then
4952 case `/usr/bin/file conftest.$ac_objext` in
4964 # Find out which ABI we are using.
4965 echo '#line 4965 "configure
"' > conftest.$ac_ext
4966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4967 (eval $ac_compile) 2>&5
4969 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4970 (exit $ac_status); }; then
4971 if test "$lt_cv_prog_gnu_ld" = yes; then
4972 case `/usr/bin/file conftest.$ac_objext` in
4974 LD="${LD-ld} -melf32bsmip"
4977 LD="${LD-ld} -melf32bmipn32"
4980 LD="${LD-ld} -melf64bmip"
4984 case `/usr/bin/file conftest.$ac_objext` in
5000 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5001 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5002 # Find out which ABI we are using.
5003 echo 'int i;' > conftest.$ac_ext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5005 (eval $ac_compile) 2>&5
5007 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5008 (exit $ac_status); }; then
5009 case `/usr/bin/file conftest.o` in
5012 x86_64-*kfreebsd*-gnu)
5013 LD="${LD-ld} -m elf_i386_fbsd
"
5016 LD="${LD-ld} -m elf_i386
"
5018 ppc64-*linux*|powerpc64-*linux*)
5019 LD="${LD-ld} -m elf32ppclinux
"
5022 LD="${LD-ld} -m elf_s390
"
5025 LD="${LD-ld} -m elf32_sparc
"
5031 x86_64-*kfreebsd*-gnu)
5032 LD="${LD-ld} -m elf_x86_64_fbsd
"
5035 LD="${LD-ld} -m elf_x86_64
"
5037 ppc*-*linux*|powerpc*-*linux*)
5038 LD="${LD-ld} -m elf64ppc
"
5040 s390*-*linux*|s390*-*tpf*)
5041 LD="${LD-ld} -m elf64_s390
"
5044 LD="${LD-ld} -m elf64_sparc
"
5054 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5055 SAVE_CFLAGS="$CFLAGS"
5056 CFLAGS="$CFLAGS -belf"
5057 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5058 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5059 if test "${lt_cv_cc_needs_belf+set}" = set; then
5060 $as_echo_n "(cached
) " >&6
5063 ac_cpp='$CPP $CPPFLAGS'
5064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5068 cat >conftest.$ac_ext <<_ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5083 rm -f conftest.$ac_objext conftest$ac_exeext
5084 if { (ac_try="$ac_link"
5086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087 *) ac_try_echo=$ac_try;;
5089 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5090 $as_echo "$ac_try_echo") >&5
5091 (eval "$ac_link") 2>conftest.er1
5093 grep -v '^ *+' conftest.er1 >conftest.err
5095 cat conftest.err >&5
5096 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5097 (exit $ac_status); } && {
5098 test -z "$ac_c_werror_flag" ||
5099 test ! -s conftest.err
5100 } && test -s conftest$ac_exeext && {
5101 test "$cross_compiling" = yes ||
5102 $as_test_x conftest$ac_exeext
5104 lt_cv_cc_needs_belf=yes
5106 $as_echo "$as_me: failed program was
:" >&5
5107 sed 's/^/| /' conftest.$ac_ext >&5
5109 lt_cv_cc_needs_belf=no
5112 rm -rf conftest.dSYM
5113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5114 conftest$ac_exeext conftest.$ac_ext
5116 ac_cpp='$CPP $CPPFLAGS'
5117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5122 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5123 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5124 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5125 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5126 CFLAGS="$SAVE_CFLAGS"
5130 # Find out which ABI we are using.
5131 echo 'int i;' > conftest.$ac_ext
5132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5133 (eval $ac_compile) 2>&5
5135 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5136 (exit $ac_status); }; then
5137 case `/usr/bin/file conftest.o` in
5139 case $lt_cv_prog_gnu_ld in
5140 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5142 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5154 need_locks="$enable_libtool_lock"
5158 rhapsody* | darwin*)
5159 if test -n "$ac_tool_prefix"; then
5160 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5161 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5162 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5163 $as_echo_n "checking
for $ac_word...
" >&6; }
5164 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5165 $as_echo_n "(cached
) " >&6
5167 if test -n "$DSYMUTIL"; then
5168 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5178 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5187 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5188 if test -n "$DSYMUTIL"; then
5189 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5190 $as_echo "$DSYMUTIL" >&6; }
5192 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5193 $as_echo "no
" >&6; }
5198 if test -z "$ac_cv_prog_DSYMUTIL"; then
5199 ac_ct_DSYMUTIL=$DSYMUTIL
5200 # Extract the first word of "dsymutil
", so it can be a program name with args.
5201 set dummy dsymutil; ac_word=$2
5202 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5203 $as_echo_n "checking
for $ac_word...
" >&6; }
5204 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5205 $as_echo_n "(cached
) " >&6
5207 if test -n "$ac_ct_DSYMUTIL"; then
5208 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5218 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5227 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5228 if test -n "$ac_ct_DSYMUTIL"; then
5229 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5230 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5232 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5233 $as_echo "no
" >&6; }
5236 if test "x
$ac_ct_DSYMUTIL" = x; then
5239 case $cross_compiling:$ac_tool_warned in
5241 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5242 whose name does not start with the
host triplet. If you think this
5243 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5244 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5245 whose name does not start with the
host triplet. If you think this
5246 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5247 ac_tool_warned=yes ;;
5249 DSYMUTIL=$ac_ct_DSYMUTIL
5252 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5255 if test -n "$ac_tool_prefix"; then
5256 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5257 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5258 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5259 $as_echo_n "checking
for $ac_word...
" >&6; }
5260 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5261 $as_echo_n "(cached
) " >&6
5263 if test -n "$NMEDIT"; then
5264 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5274 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5283 NMEDIT=$ac_cv_prog_NMEDIT
5284 if test -n "$NMEDIT"; then
5285 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5286 $as_echo "$NMEDIT" >&6; }
5288 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5289 $as_echo "no
" >&6; }
5294 if test -z "$ac_cv_prog_NMEDIT"; then
5295 ac_ct_NMEDIT=$NMEDIT
5296 # Extract the first word of "nmedit
", so it can be a program name with args.
5297 set dummy nmedit; ac_word=$2
5298 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5299 $as_echo_n "checking
for $ac_word...
" >&6; }
5300 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5301 $as_echo_n "(cached
) " >&6
5303 if test -n "$ac_ct_NMEDIT"; then
5304 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5314 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5323 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5324 if test -n "$ac_ct_NMEDIT"; then
5325 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5326 $as_echo "$ac_ct_NMEDIT" >&6; }
5328 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5329 $as_echo "no
" >&6; }
5332 if test "x
$ac_ct_NMEDIT" = x; then
5335 case $cross_compiling:$ac_tool_warned in
5337 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5338 whose name does not start with the
host triplet. If you think this
5339 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5340 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5341 whose name does not start with the
host triplet. If you think this
5342 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5343 ac_tool_warned=yes ;;
5345 NMEDIT=$ac_ct_NMEDIT
5348 NMEDIT="$ac_cv_prog_NMEDIT"
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5354 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5355 $as_echo_n "checking
for $ac_word...
" >&6; }
5356 if test "${ac_cv_prog_LIPO+set}" = set; then
5357 $as_echo_n "(cached
) " >&6
5359 if test -n "$LIPO"; then
5360 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5370 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5379 LIPO=$ac_cv_prog_LIPO
5380 if test -n "$LIPO"; then
5381 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
5382 $as_echo "$LIPO" >&6; }
5384 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5385 $as_echo "no
" >&6; }
5390 if test -z "$ac_cv_prog_LIPO"; then
5392 # Extract the first word of "lipo
", so it can be a program name with args.
5393 set dummy lipo; ac_word=$2
5394 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5395 $as_echo_n "checking
for $ac_word...
" >&6; }
5396 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5397 $as_echo_n "(cached
) " >&6
5399 if test -n "$ac_ct_LIPO"; then
5400 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_ac_ct_LIPO="lipo
"
5410 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5419 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5420 if test -n "$ac_ct_LIPO"; then
5421 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
5422 $as_echo "$ac_ct_LIPO" >&6; }
5424 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5425 $as_echo "no
" >&6; }
5428 if test "x
$ac_ct_LIPO" = x; then
5431 case $cross_compiling:$ac_tool_warned in
5433 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5434 whose name does not start with the
host triplet. If you think this
5435 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5436 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5437 whose name does not start with the
host triplet. If you think this
5438 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5439 ac_tool_warned=yes ;;
5444 LIPO="$ac_cv_prog_LIPO"
5447 if test -n "$ac_tool_prefix"; then
5448 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5449 set dummy ${ac_tool_prefix}otool; ac_word=$2
5450 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5451 $as_echo_n "checking
for $ac_word...
" >&6; }
5452 if test "${ac_cv_prog_OTOOL+set}" = set; then
5453 $as_echo_n "(cached
) " >&6
5455 if test -n "$OTOOL"; then
5456 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 test -z "$as_dir" && as_dir=.
5463 for ac_exec_ext in '' $ac_executable_extensions; do
5464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5465 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5466 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5475 OTOOL=$ac_cv_prog_OTOOL
5476 if test -n "$OTOOL"; then
5477 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
5478 $as_echo "$OTOOL" >&6; }
5480 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5481 $as_echo "no
" >&6; }
5486 if test -z "$ac_cv_prog_OTOOL"; then
5488 # Extract the first word of "otool
", so it can be a program name with args.
5489 set dummy otool; ac_word=$2
5490 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5491 $as_echo_n "checking
for $ac_word...
" >&6; }
5492 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5493 $as_echo_n "(cached
) " >&6
5495 if test -n "$ac_ct_OTOOL"; then
5496 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_ac_ct_OTOOL="otool
"
5506 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5515 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5516 if test -n "$ac_ct_OTOOL"; then
5517 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
5518 $as_echo "$ac_ct_OTOOL" >&6; }
5520 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5521 $as_echo "no
" >&6; }
5524 if test "x
$ac_ct_OTOOL" = x; then
5527 case $cross_compiling:$ac_tool_warned in
5529 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5530 whose name does not start with the
host triplet. If you think this
5531 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5532 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5533 whose name does not start with the
host triplet. If you think this
5534 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5535 ac_tool_warned=yes ;;
5540 OTOOL="$ac_cv_prog_OTOOL"
5543 if test -n "$ac_tool_prefix"; then
5544 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5545 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5546 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5547 $as_echo_n "checking
for $ac_word...
" >&6; }
5548 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5549 $as_echo_n "(cached
) " >&6
5551 if test -n "$OTOOL64"; then
5552 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5561 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5562 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5571 OTOOL64=$ac_cv_prog_OTOOL64
5572 if test -n "$OTOOL64"; then
5573 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
5574 $as_echo "$OTOOL64" >&6; }
5576 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5577 $as_echo "no
" >&6; }
5582 if test -z "$ac_cv_prog_OTOOL64"; then
5583 ac_ct_OTOOL64=$OTOOL64
5584 # Extract the first word of "otool64
", so it can be a program name with args.
5585 set dummy otool64; ac_word=$2
5586 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5587 $as_echo_n "checking
for $ac_word...
" >&6; }
5588 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5589 $as_echo_n "(cached
) " >&6
5591 if test -n "$ac_ct_OTOOL64"; then
5592 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5602 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5611 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5612 if test -n "$ac_ct_OTOOL64"; then
5613 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
5614 $as_echo "$ac_ct_OTOOL64" >&6; }
5616 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5617 $as_echo "no
" >&6; }
5620 if test "x
$ac_ct_OTOOL64" = x; then
5623 case $cross_compiling:$ac_tool_warned in
5625 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5626 whose name does not start with the
host triplet. If you think this
5627 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5628 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5629 whose name does not start with the
host triplet. If you think this
5630 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5631 ac_tool_warned=yes ;;
5633 OTOOL64=$ac_ct_OTOOL64
5636 OTOOL64="$ac_cv_prog_OTOOL64"
5665 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
5666 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5667 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5668 $as_echo_n "(cached
) " >&6
5670 lt_cv_apple_cc_single_mod=no
5671 if test -z "${LT_MULTI_MODULE}"; then
5672 # By default we will add the -single_module flag. You can override
5673 # by either setting the environment variable LT_MULTI_MODULE
5674 # non-empty at configure time, or by adding -multi_module to the
5676 rm -rf libconftest.dylib*
5677 echo "int foo
(void
){return 1;}" > conftest.c
5678 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5679 -dynamiclib -Wl,-single_module conftest.c
" >&5
5680 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5681 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5683 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5684 lt_cv_apple_cc_single_mod=yes
5686 cat conftest.err >&5
5688 rm -rf libconftest.dylib*
5692 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
5693 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5694 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
5695 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5696 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5697 $as_echo_n "(cached
) " >&6
5699 lt_cv_ld_exported_symbols_list=no
5700 save_LDFLAGS=$LDFLAGS
5701 echo "_main
" > conftest.sym
5702 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5703 cat >conftest.$ac_ext <<_ACEOF
5706 cat confdefs.h >>conftest.$ac_ext
5707 cat >>conftest.$ac_ext <<_ACEOF
5708 /* end confdefs.h. */
5718 rm -f conftest.$ac_objext conftest$ac_exeext
5719 if { (ac_try="$ac_link"
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722 *) ac_try_echo=$ac_try;;
5724 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5725 $as_echo "$ac_try_echo") >&5
5726 (eval "$ac_link") 2>conftest.er1
5728 grep -v '^ *+' conftest.er1 >conftest.err
5730 cat conftest.err >&5
5731 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5732 (exit $ac_status); } && {
5733 test -z "$ac_c_werror_flag" ||
5734 test ! -s conftest.err
5735 } && test -s conftest$ac_exeext && {
5736 test "$cross_compiling" = yes ||
5737 $as_test_x conftest$ac_exeext
5739 lt_cv_ld_exported_symbols_list=yes
5741 $as_echo "$as_me: failed program was
:" >&5
5742 sed 's/^/| /' conftest.$ac_ext >&5
5744 lt_cv_ld_exported_symbols_list=no
5747 rm -rf conftest.dSYM
5748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5749 conftest$ac_exeext conftest.$ac_ext
5750 LDFLAGS="$save_LDFLAGS"
5753 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
5754 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5756 rhapsody* | darwin1.[012])
5757 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5759 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5760 darwin*) # darwin 5.x on
5761 # if running on 10.5 or later, the deployment target defaults
5762 # to the OS version, if on x86, and 10.4, the deployment
5763 # target defaults to 10.4. Don't you love it?
5764 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5765 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5766 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5768 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5770 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5774 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5775 _lt_dar_single_mod='$single_module'
5777 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5778 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5780 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5782 if test "$DSYMUTIL" != ":"; then
5783 _lt_dsymutil='~$DSYMUTIL $lib || :'
5791 ac_cpp='$CPP $CPPFLAGS'
5792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5795 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5796 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5797 # On Suns, sometimes $CPP names a directory.
5798 if test -n "$CPP" && test -d "$CPP"; then
5801 if test -z "$CPP"; then
5802 if test "${ac_cv_prog_CPP+set}" = set; then
5803 $as_echo_n "(cached
) " >&6
5805 # Double quotes because CPP needs to be expanded
5806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5809 for ac_c_preproc_warn_flag in '' yes
5811 # Use a header file that comes with gcc, so configuring glibc
5812 # with a fresh cross-compiler works.
5813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5814 # <limits.h> exists even on freestanding compilers.
5815 # On the NeXT, cc -E runs the code through the compiler's parser,
5816 # not just through cpp. "Syntax error
" is here to catch this case.
5817 cat >conftest.$ac_ext <<_ACEOF
5820 cat confdefs.h >>conftest.$ac_ext
5821 cat >>conftest.$ac_ext <<_ACEOF
5822 /* end confdefs.h. */
5824 # include <limits.h>
5826 # include <assert.h>
5830 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5833 *) ac_try_echo=$ac_try;;
5835 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5836 $as_echo "$ac_try_echo") >&5
5837 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5839 grep -v '^ *+' conftest.er1 >conftest.err
5841 cat conftest.err >&5
5842 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5843 (exit $ac_status); } >/dev/null && {
5844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5845 test ! -s conftest.err
5849 $as_echo "$as_me: failed program was
:" >&5
5850 sed 's/^/| /' conftest.$ac_ext >&5
5852 # Broken: fails on valid input.
5856 rm -f conftest.err conftest.$ac_ext
5858 # OK, works on sane cases. Now check whether nonexistent headers
5859 # can be detected and how.
5860 cat >conftest.$ac_ext <<_ACEOF
5863 cat confdefs.h >>conftest.$ac_ext
5864 cat >>conftest.$ac_ext <<_ACEOF
5865 /* end confdefs.h. */
5866 #include <ac_nonexistent.h>
5868 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5871 *) ac_try_echo=$ac_try;;
5873 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5874 $as_echo "$ac_try_echo") >&5
5875 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1 >conftest.err
5879 cat conftest.err >&5
5880 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5881 (exit $ac_status); } >/dev/null && {
5882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5883 test ! -s conftest.err
5885 # Broken: success on invalid input.
5888 $as_echo "$as_me: failed program was
:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5891 # Passes both tests.
5896 rm -f conftest.err conftest.$ac_ext
5899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5900 rm -f conftest.err conftest.$ac_ext
5901 if $ac_preproc_ok; then
5913 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
5914 $as_echo "$CPP" >&6; }
5916 for ac_c_preproc_warn_flag in '' yes
5918 # Use a header file that comes with gcc, so configuring glibc
5919 # with a fresh cross-compiler works.
5920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5921 # <limits.h> exists even on freestanding compilers.
5922 # On the NeXT, cc -E runs the code through the compiler's parser,
5923 # not just through cpp. "Syntax error
" is here to catch this case.
5924 cat >conftest.$ac_ext <<_ACEOF
5927 cat confdefs.h >>conftest.$ac_ext
5928 cat >>conftest.$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5931 # include <limits.h>
5933 # include <assert.h>
5937 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5940 *) ac_try_echo=$ac_try;;
5942 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5943 $as_echo "$ac_try_echo") >&5
5944 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5946 grep -v '^ *+' conftest.er1 >conftest.err
5948 cat conftest.err >&5
5949 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5950 (exit $ac_status); } >/dev/null && {
5951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5952 test ! -s conftest.err
5956 $as_echo "$as_me: failed program was
:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 # Broken: fails on valid input.
5963 rm -f conftest.err conftest.$ac_ext
5965 # OK, works on sane cases. Now check whether nonexistent headers
5966 # can be detected and how.
5967 cat >conftest.$ac_ext <<_ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 #include <ac_nonexistent.h>
5975 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 *) ac_try_echo=$ac_try;;
5980 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5981 $as_echo "$ac_try_echo") >&5
5982 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5984 grep -v '^ *+' conftest.er1 >conftest.err
5986 cat conftest.err >&5
5987 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5988 (exit $ac_status); } >/dev/null && {
5989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5990 test ! -s conftest.err
5992 # Broken: success on invalid input.
5995 $as_echo "$as_me: failed program was
:" >&5
5996 sed 's/^/| /' conftest.$ac_ext >&5
5998 # Passes both tests.
6003 rm -f conftest.err conftest.$ac_ext
6006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6007 rm -f conftest.err conftest.$ac_ext
6008 if $ac_preproc_ok; then
6011 { { $as_echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6012 See \
`config.log' for more details." >&5
6013 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6014 See \`config.log
' for more details." >&2;}
6015 { (exit 1); exit 1; }; }
6019 ac_cpp='$CPP $CPPFLAGS'
6020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6021 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6025 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6026 $as_echo_n "checking for ANSI C header files... " >&6; }
6027 if test "${ac_cv_header_stdc+set}" = set; then
6028 $as_echo_n "(cached) " >&6
6030 cat >conftest.$ac_ext <<_ACEOF
6033 cat confdefs.h >>conftest.$ac_ext
6034 cat >>conftest.$ac_ext <<_ACEOF
6035 /* end confdefs.h. */
6049 rm -f conftest.$ac_objext
6050 if { (ac_try="$ac_compile"
6052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6053 *) ac_try_echo=$ac_try;;
6055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6056 $as_echo "$ac_try_echo") >&5
6057 (eval "$ac_compile") 2>conftest.er1
6059 grep -v '^
*+' conftest.er1 >conftest.err
6061 cat conftest.err >&5
6062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); } && {
6064 test -z "$ac_c_werror_flag" ||
6065 test ! -s conftest.err
6066 } && test -s conftest.$ac_objext; then
6067 ac_cv_header_stdc=yes
6069 $as_echo "$as_me: failed program was:" >&5
6070 sed 's
/^
/|
/' conftest.$ac_ext >&5
6072 ac_cv_header_stdc=no
6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6077 if test $ac_cv_header_stdc = yes; then
6078 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6079 cat >conftest.$ac_ext <<_ACEOF
6082 cat confdefs.h >>conftest.$ac_ext
6083 cat >>conftest.$ac_ext <<_ACEOF
6084 /* end confdefs.h. */
6088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6089 $EGREP "memchr" >/dev/null 2>&1; then
6092 ac_cv_header_stdc=no
6098 if test $ac_cv_header_stdc = yes; then
6099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6100 cat >conftest.$ac_ext <<_ACEOF
6103 cat confdefs.h >>conftest.$ac_ext
6104 cat >>conftest.$ac_ext <<_ACEOF
6105 /* end confdefs.h. */
6109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6110 $EGREP "free" >/dev/null 2>&1; then
6113 ac_cv_header_stdc=no
6119 if test $ac_cv_header_stdc = yes; then
6120 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6121 if test "$cross_compiling" = yes; then
6124 cat >conftest.$ac_ext <<_ACEOF
6127 cat confdefs.h >>conftest.$ac_ext
6128 cat >>conftest.$ac_ext <<_ACEOF
6129 /* end confdefs.h. */
6132 #if ((' ' & 0x0FF) == 0x020)
6133 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6134 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6136 # define ISLOWER(c) \
6137 (('a
' <= (c) && (c) <= 'i
') \
6138 || ('j
' <= (c) && (c) <= 'r
') \
6139 || ('s
' <= (c) && (c) <= 'z
'))
6140 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6143 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6148 for (i = 0; i < 256; i++)
6149 if (XOR (islower (i), ISLOWER (i))
6150 || toupper (i) != TOUPPER (i))
6155 rm -f conftest$ac_exeext
6156 if { (ac_try="$ac_link"
6158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6159 *) ac_try_echo=$ac_try;;
6161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6162 $as_echo "$ac_try_echo") >&5
6163 (eval "$ac_link") 2>&5
6165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6167 { (case "(($ac_try" in
6168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6169 *) ac_try_echo=$ac_try;;
6171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6172 $as_echo "$ac_try_echo") >&5
6173 (eval "$ac_try") 2>&5
6175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); }; }; then
6179 $as_echo "$as_me: program exited with status $ac_status" >&5
6180 $as_echo "$as_me: failed program was:" >&5
6181 sed 's
/^
/|
/' conftest.$ac_ext >&5
6184 ac_cv_header_stdc=no
6186 rm -rf conftest.dSYM
6187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6193 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6194 $as_echo "$ac_cv_header_stdc" >&6; }
6195 if test $ac_cv_header_stdc = yes; then
6197 cat >>confdefs.h <<\_ACEOF
6198 #define STDC_HEADERS 1
6203 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6213 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6214 inttypes.h stdint.h unistd.h
6216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6217 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6218 $as_echo_n "checking for $ac_header... " >&6; }
6219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6220 $as_echo_n "(cached) " >&6
6222 cat >conftest.$ac_ext <<_ACEOF
6225 cat confdefs.h >>conftest.$ac_ext
6226 cat >>conftest.$ac_ext <<_ACEOF
6227 /* end confdefs.h. */
6228 $ac_includes_default
6230 #include <$ac_header>
6232 rm -f conftest.$ac_objext
6233 if { (ac_try="$ac_compile"
6235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6236 *) ac_try_echo=$ac_try;;
6238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6239 $as_echo "$ac_try_echo") >&5
6240 (eval "$ac_compile") 2>conftest.er1
6242 grep -v '^
*+' conftest.er1 >conftest.err
6244 cat conftest.err >&5
6245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } && {
6247 test -z "$ac_c_werror_flag" ||
6248 test ! -s conftest.err
6249 } && test -s conftest.$ac_objext; then
6250 eval "$as_ac_Header=yes"
6252 $as_echo "$as_me: failed program was:" >&5
6253 sed 's
/^
/|
/' conftest.$ac_ext >&5
6255 eval "$as_ac_Header=no"
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6260 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6261 $as_echo "$as_val"'`
6262 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6263 $as_echo "$ac_res" >&6; }
6264 if test `eval 'as_val
=${'$as_ac_Header'}
6265 $as_echo "$as_val"'` = yes; then
6266 cat >>confdefs.h <<_ACEOF
6267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6276 for ac_header in dlfcn.h
6278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6279 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6280 $as_echo_n "checking for $ac_header... " >&6; }
6281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6282 $as_echo_n "(cached) " >&6
6284 cat >conftest.$ac_ext <<_ACEOF
6287 cat confdefs.h >>conftest.$ac_ext
6288 cat >>conftest.$ac_ext <<_ACEOF
6289 /* end confdefs.h. */
6290 $ac_includes_default
6292 #include <$ac_header>
6294 rm -f conftest.$ac_objext
6295 if { (ac_try="$ac_compile"
6297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6298 *) ac_try_echo=$ac_try;;
6300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6301 $as_echo "$ac_try_echo") >&5
6302 (eval "$ac_compile") 2>conftest.er1
6304 grep -v '^
*+' conftest.er1 >conftest.err
6306 cat conftest.err >&5
6307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); } && {
6309 test -z "$ac_c_werror_flag" ||
6310 test ! -s conftest.err
6311 } && test -s conftest.$ac_objext; then
6312 eval "$as_ac_Header=yes"
6314 $as_echo "$as_me: failed program was:" >&5
6315 sed 's
/^
/|
/' conftest.$ac_ext >&5
6317 eval "$as_ac_Header=no"
6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6322 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6323 $as_echo "$as_val"'`
6324 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6325 $as_echo "$ac_res" >&6; }
6326 if test `eval 'as_val
=${'$as_ac_Header'}
6327 $as_echo "$as_val"'` = yes; then
6328 cat >>confdefs.h <<_ACEOF
6329 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6348 # Check whether --enable-shared was given.
6349 if test "${enable_shared+set}" = set; then
6350 enableval=$enable_shared; p=${PACKAGE-default}
6352 yes) enable_shared=yes ;;
6353 no) enable_shared=no ;;
6356 # Look at the argument we got. We use all the common list separators.
6357 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6358 for pkg in $enableval; do
6360 if test "X$pkg" = "X$p"; then
6379 # Check whether --enable-static was given.
6380 if test "${enable_static+set}" = set; then
6381 enableval=$enable_static; p=${PACKAGE-default}
6383 yes) enable_static=yes ;;
6384 no) enable_static=no ;;
6387 # Look at the argument we got. We use all the common list separators.
6388 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6389 for pkg in $enableval; do
6391 if test "X$pkg" = "X$p"; then
6411 # Check whether --with-pic was given.
6412 if test "${with_pic+set}" = set; then
6413 withval=$with_pic; pic_mode="$withval"
6419 test -z "$pic_mode" && pic_mode=default
6427 # Check whether --enable-fast-install was given.
6428 if test "${enable_fast_install+set}" = set; then
6429 enableval=$enable_fast_install; p=${PACKAGE-default}
6431 yes) enable_fast_install=yes ;;
6432 no) enable_fast_install=no ;;
6434 enable_fast_install=no
6435 # Look at the argument we got. We use all the common list separators.
6436 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6437 for pkg in $enableval; do
6439 if test "X$pkg" = "X$p"; then
6440 enable_fast_install=yes
6447 enable_fast_install=yes
6460 # This can be used to rebuild libtool when needed
6461 LIBTOOL_DEPS="$ltmain"
6463 # Always use our own libtool.
6464 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6490 test -z "$LN_S" && LN_S="ln -s"
6505 if test -n "${ZSH_VERSION+set}" ; then
6506 setopt NO_GLOB_SUBST
6509 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6510 $as_echo_n "checking for objdir... " >&6; }
6511 if test "${lt_cv_objdir+set}" = set; then
6512 $as_echo_n "(cached) " >&6
6514 rm -f .libs 2>/dev/null
6515 mkdir .libs 2>/dev/null
6516 if test -d .libs; then
6519 # MS-DOS does not allow filenames that begin with a dot.
6522 rmdir .libs 2>/dev/null
6524 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6525 $as_echo "$lt_cv_objdir" >&6; }
6526 objdir=$lt_cv_objdir
6532 cat >>confdefs.h <<_ACEOF
6533 #define LT_OBJDIR "$lt_cv_objdir/"
6554 # AIX sometimes has problems with the GCC collect2 program. For some
6555 # reason, if we set the COLLECT_NAMES environment variable, the problems
6556 # vanish in a puff of smoke.
6557 if test "X${COLLECT_NAMES+set}" != Xset; then
6559 export COLLECT_NAMES
6564 # Sed substitution that helps us do robust quoting. It backslashifies
6565 # metacharacters that are still active within double-quoted strings.
6566 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6568 # Same as above, but do not quote variable references.
6569 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6571 # Sed substitution to delay expansion of an escaped shell variable in a
6572 # double_quote_subst'ed string.
6573 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6575 # Sed substitution to delay expansion of an escaped single quote.
6576 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6578 # Sed substitution to avoid accidental globbing in evaled expressions
6579 no_glob_subst='s/\*/\\\*/g'
6583 can_build_shared=yes
6585 # All known linkers require a `.a
' archive for static linking (except MSVC,
6586 # which needs '.lib
').
6589 with_gnu_ld="$lt_cv_prog_gnu_ld"
6592 old_CFLAGS="$CFLAGS"
6594 # Set sane defaults for various variables
6595 test -z "$CC" && CC=cc
6596 test -z "$LTCC" && LTCC=$CC
6597 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6598 test -z "$LD" && LD=ld
6599 test -z "$ac_objext" && ac_objext=o
6601 for cc_temp in $compiler""; do
6603 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6604 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6609 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6612 # Only perform the check for file, if the check method requires it
6613 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6614 case $deplibs_check_method in
6616 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6617 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6618 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6619 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6620 $as_echo_n "(cached) " >&6
6624 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6627 lt_save_MAGIC_CMD="$MAGIC_CMD"
6628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6629 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6630 for ac_dir in $ac_dummy; do
6632 test -z "$ac_dir" && ac_dir=.
6633 if test -f $ac_dir/${ac_tool_prefix}file; then
6634 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6635 if test -n "$file_magic_test_file"; then
6636 case $deplibs_check_method in
6638 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6639 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6640 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6641 $EGREP "$file_magic_regex" > /dev/null; then
6646 *** Warning: the command libtool uses to detect shared libraries,
6647 *** $file_magic_cmd, produces output that libtool cannot recognize.
6648 *** The result is that libtool may fail to recognize shared libraries
6649 *** as such. This will affect the creation of libtool libraries that
6650 *** depend on shared libraries, but programs linked with such libtool
6651 *** libraries will work regardless of this problem. Nevertheless, you
6652 *** may want to report the problem to your system manager and/or to
6653 *** bug-libtool@gnu.org
6663 MAGIC_CMD="$lt_save_MAGIC_CMD"
6668 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6669 if test -n "$MAGIC_CMD"; then
6670 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6671 $as_echo "$MAGIC_CMD" >&6; }
6673 { $as_echo "$as_me:$LINENO: result: no" >&5
6674 $as_echo "no" >&6; }
6681 if test -z "$lt_cv_path_MAGIC_CMD"; then
6682 if test -n "$ac_tool_prefix"; then
6683 { $as_echo "$as_me:$LINENO: checking for file" >&5
6684 $as_echo_n "checking for file... " >&6; }
6685 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6686 $as_echo_n "(cached) " >&6
6690 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6693 lt_save_MAGIC_CMD="$MAGIC_CMD"
6694 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6695 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6696 for ac_dir in $ac_dummy; do
6698 test -z "$ac_dir" && ac_dir=.
6699 if test -f $ac_dir/file; then
6700 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6701 if test -n "$file_magic_test_file"; then
6702 case $deplibs_check_method in
6704 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6705 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6706 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6707 $EGREP "$file_magic_regex" > /dev/null; then
6712 *** Warning: the command libtool uses to detect shared libraries,
6713 *** $file_magic_cmd, produces output that libtool cannot recognize.
6714 *** The result is that libtool may fail to recognize shared libraries
6715 *** as such. This will affect the creation of libtool libraries that
6716 *** depend on shared libraries, but programs linked with such libtool
6717 *** libraries will work regardless of this problem. Nevertheless, you
6718 *** may want to report the problem to your system manager and/or to
6719 *** bug-libtool@gnu.org
6729 MAGIC_CMD="$lt_save_MAGIC_CMD"
6734 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6735 if test -n "$MAGIC_CMD"; then
6736 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6737 $as_echo "$MAGIC_CMD" >&6; }
6739 { $as_echo "$as_me:$LINENO: result: no" >&5
6740 $as_echo "no" >&6; }
6753 # Use C for the default configuration in the libtool script
6757 ac_cpp='$CPP $CPPFLAGS'
6758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6759 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6763 # Source file extension for C test sources.
6766 # Object file extension for compiled C test sources.
6770 # Code to be used in simple compile tests
6771 lt_simple_compile_test_code="int some_variable = 0;"
6773 # Code to be used in simple link tests
6774 lt_simple_link_test_code='int main
(){return(0);}'
6782 # If no C compiler was specified, use CC.
6785 # If no C compiler flags were specified, use CFLAGS.
6786 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6788 # Allow CC to be a program name with arguments.
6791 # Save the default compiler, since it gets overwritten when the other
6792 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6793 compiler_DEFAULT=$CC
6795 # save warnings/boilerplate of simple test code
6796 ac_outfile=conftest.$ac_objext
6797 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6798 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6799 _lt_compiler_boilerplate=`cat conftest.err`
6802 ac_outfile=conftest.$ac_objext
6803 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6804 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6805 _lt_linker_boilerplate=`cat conftest.err`
6809 if test -n "$compiler"; then
6811 lt_prog_compiler_no_builtin_flag=
6813 if test "$GCC" = yes; then
6814 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6816 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6817 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6818 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6819 $as_echo_n "(cached) " >&6
6821 lt_cv_prog_compiler_rtti_exceptions=no
6822 ac_outfile=conftest.$ac_objext
6823 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6824 lt_compiler_flag="-fno-rtti -fno-exceptions"
6825 # Insert the option either (1) after the last *FLAGS variable, or
6826 # (2) before a word containing "conftest.", or (3) at the end.
6827 # Note that $ac_compile itself does not contain backslashes and begins
6828 # with a dollar sign (not a hyphen), so the echo should work correctly.
6829 # The option is referenced via a variable to avoid confusing sed.
6830 lt_compile=`echo "$ac_compile" | $SED \
6831 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6832 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6833 -e 's
:$
: $lt_compiler_flag:'`
6834 (eval echo "\"\$as_me:6834: $lt_compile\"" >&5)
6835 (eval "$lt_compile" 2>conftest.err)
6837 cat conftest.err >&5
6838 echo "$as_me:6838: \$? = $ac_status" >&5
6839 if (exit $ac_status) && test -s "$ac_outfile"; then
6840 # The compiler can only warn and ignore the option if not recognized
6841 # So say no if there are warnings other than the usual output.
6842 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6843 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6844 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6845 lt_cv_prog_compiler_rtti_exceptions=yes
6851 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6852 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6854 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6855 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6867 lt_prog_compiler_wl=
6868 lt_prog_compiler_pic=
6869 lt_prog_compiler_static=
6871 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6872 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6874 if test "$GCC" = yes; then
6875 lt_prog_compiler_wl='-Wl,'
6876 lt_prog_compiler_static='-static'
6880 # All AIX code is PIC.
6881 if test "$host_cpu" = ia64; then
6882 # AIX 5 now supports IA64 processor
6883 lt_prog_compiler_static='-Bstatic'
6890 # see comment about AmigaOS4 .so support
6891 lt_prog_compiler_pic='-fPIC'
6894 # FIXME: we need at least 68020 code to build shared libraries, but
6895 # adding the `-m68020' flag to GCC prevents building anything better
,
6897 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6902 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6903 # PIC is the default for these OSes.
6906 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6907 # This hack is so that the source file can tell whether it is being
6908 # built for inclusion in a dll (and should export symbols for example).
6909 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6910 # (--disable-auto-import) libraries
6911 lt_prog_compiler_pic
='-DDLL_EXPORT'
6914 darwin
* | rhapsody
*)
6915 # PIC is the default on this platform
6916 # Common symbols not allowed in MH_DYLIB files
6917 lt_prog_compiler_pic
='-fno-common'
6921 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6922 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6923 # sets the default TLS model and affects inlining.
6929 lt_prog_compiler_pic
='-fPIC'
6935 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6936 # Instead, we relocate shared libraries at runtime.
6940 # Just because we use GCC doesn't mean we suddenly get shared libraries
6941 # on systems that don't support them.
6942 lt_prog_compiler_can_build_shared
=no
6947 # QNX uses GNU C++, but need to define -shared option too, otherwise
6949 lt_prog_compiler_pic
='-fPIC -shared'
6953 if test -d /usr
/nec
; then
6954 lt_prog_compiler_pic
=-Kconform_pic
6959 lt_prog_compiler_pic
='-fPIC'
6963 # PORTME Check for flag to pass linker flags through the system compiler.
6966 lt_prog_compiler_wl
='-Wl,'
6967 if test "$host_cpu" = ia64
; then
6968 # AIX 5 now supports IA64 processor
6969 lt_prog_compiler_static
='-Bstatic'
6971 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6975 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6976 # This hack is so that the source file can tell whether it is being
6977 # built for inclusion in a dll (and should export symbols for example).
6978 lt_prog_compiler_pic
='-DDLL_EXPORT'
6981 hpux9
* | hpux10
* | hpux11
*)
6982 lt_prog_compiler_wl
='-Wl,'
6983 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6990 lt_prog_compiler_pic
='+Z'
6993 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6994 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6997 irix5
* | irix6
* | nonstopux
*)
6998 lt_prog_compiler_wl
='-Wl,'
6999 # PIC (with -KPIC) is the default.
7000 lt_prog_compiler_static
='-non_shared'
7003 linux
* | k
*bsd
*-gnu)
7004 case $cc_basename in
7005 # old Intel for x86_64 which still supported -KPIC.
7007 lt_prog_compiler_wl
='-Wl,'
7008 lt_prog_compiler_pic
='-KPIC'
7009 lt_prog_compiler_static
='-static'
7011 # icc used to be incompatible with GCC.
7012 # ICC 10 doesn't accept -KPIC any more.
7014 lt_prog_compiler_wl
='-Wl,'
7015 lt_prog_compiler_pic
='-fPIC'
7016 lt_prog_compiler_static
='-static'
7018 # Lahey Fortran 8.1.
7020 lt_prog_compiler_wl
='-Wl,'
7021 lt_prog_compiler_pic
='--shared'
7022 lt_prog_compiler_static
='--static'
7024 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7025 # Portland Group compilers (*not* the Pentium gcc compiler,
7026 # which looks to be a dead project)
7027 lt_prog_compiler_wl
='-Wl,'
7028 lt_prog_compiler_pic
='-fpic'
7029 lt_prog_compiler_static
='-Bstatic'
7032 lt_prog_compiler_wl
='-Wl,'
7033 # All Alpha code is PIC.
7034 lt_prog_compiler_static
='-non_shared'
7037 # IBM XL C 8.0/Fortran 10.1 on PPC
7038 lt_prog_compiler_wl
='-Wl,'
7039 lt_prog_compiler_pic
='-qpic'
7040 lt_prog_compiler_static
='-qstaticlink'
7043 case `$CC -V 2>&1 | sed 5q` in
7046 lt_prog_compiler_pic
='-KPIC'
7047 lt_prog_compiler_static
='-Bstatic'
7048 lt_prog_compiler_wl
='-Wl,'
7051 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7052 lt_prog_compiler_pic
='-KPIC'
7053 lt_prog_compiler_static
='-Bstatic'
7054 lt_prog_compiler_wl
=''
7062 lt_prog_compiler_pic
='-KPIC'
7063 lt_prog_compiler_static
='-Bstatic'
7067 # QNX uses GNU C++, but need to define -shared option too, otherwise
7069 lt_prog_compiler_pic
='-fPIC -shared'
7072 osf3
* | osf4
* | osf5
*)
7073 lt_prog_compiler_wl
='-Wl,'
7074 # All OSF/1 code is PIC.
7075 lt_prog_compiler_static
='-non_shared'
7079 lt_prog_compiler_static
='-non_shared'
7083 lt_prog_compiler_pic
='-KPIC'
7084 lt_prog_compiler_static
='-Bstatic'
7085 case $cc_basename in
7087 lt_prog_compiler_wl
='-Qoption ld ';;
7089 lt_prog_compiler_wl
='-Wl,';;
7094 lt_prog_compiler_wl
='-Qoption ld '
7095 lt_prog_compiler_pic
='-PIC'
7096 lt_prog_compiler_static
='-Bstatic'
7099 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7100 lt_prog_compiler_wl
='-Wl,'
7101 lt_prog_compiler_pic
='-KPIC'
7102 lt_prog_compiler_static
='-Bstatic'
7106 if test -d /usr
/nec
;then
7107 lt_prog_compiler_pic
='-Kconform_pic'
7108 lt_prog_compiler_static
='-Bstatic'
7112 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7113 lt_prog_compiler_wl
='-Wl,'
7114 lt_prog_compiler_pic
='-KPIC'
7115 lt_prog_compiler_static
='-Bstatic'
7119 lt_prog_compiler_wl
='-Wl,'
7120 lt_prog_compiler_can_build_shared
=no
7124 lt_prog_compiler_pic
='-pic'
7125 lt_prog_compiler_static
='-Bstatic'
7129 lt_prog_compiler_can_build_shared
=no
7135 # For platforms which do not support PIC, -DPIC is meaningless:
7137 lt_prog_compiler_pic
=
7140 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7143 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7144 $as_echo "$lt_prog_compiler_pic" >&6; }
7152 # Check to make sure the PIC flag actually works.
7154 if test -n "$lt_prog_compiler_pic"; then
7155 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7156 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7157 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7158 $as_echo_n "(cached) " >&6
7160 lt_cv_prog_compiler_pic_works
=no
7161 ac_outfile
=conftest.
$ac_objext
7162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7163 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7164 # Insert the option either (1) after the last *FLAGS variable, or
7165 # (2) before a word containing "conftest.", or (3) at the end.
7166 # Note that $ac_compile itself does not contain backslashes and begins
7167 # with a dollar sign (not a hyphen), so the echo should work correctly.
7168 # The option is referenced via a variable to avoid confusing sed.
7169 lt_compile
=`echo "$ac_compile" | $SED \
7170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7172 -e 's:$: $lt_compiler_flag:'`
7173 (eval echo "\"\$as_me:7173: $lt_compile\"" >&5)
7174 (eval "$lt_compile" 2>conftest.err
)
7176 cat conftest.err
>&5
7177 echo "$as_me:7177: \$? = $ac_status" >&5
7178 if (exit $ac_status) && test -s "$ac_outfile"; then
7179 # The compiler can only warn and ignore the option if not recognized
7180 # So say no if there are warnings other than the usual output.
7181 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7182 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7183 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7184 lt_cv_prog_compiler_pic_works
=yes
7190 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7191 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7193 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7194 case $lt_prog_compiler_pic in
7196 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7199 lt_prog_compiler_pic
=
7200 lt_prog_compiler_can_build_shared
=no
7211 # Check to make sure the static flag actually works.
7213 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7214 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7215 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7216 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7217 $as_echo_n "(cached) " >&6
7219 lt_cv_prog_compiler_static_works
=no
7220 save_LDFLAGS
="$LDFLAGS"
7221 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7222 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7223 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7224 # The linker can only warn and ignore the option if not recognized
7225 # So say no if there are warnings
7226 if test -s conftest.err
; then
7227 # Append any errors to the config.log.
7228 cat conftest.err
1>&5
7229 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7231 if diff conftest.exp conftest.er2
>/dev
/null
; then
7232 lt_cv_prog_compiler_static_works
=yes
7235 lt_cv_prog_compiler_static_works
=yes
7239 LDFLAGS
="$save_LDFLAGS"
7242 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7243 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7245 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7248 lt_prog_compiler_static
=
7257 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7258 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7259 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7260 $as_echo_n "(cached) " >&6
7262 lt_cv_prog_compiler_c_o
=no
7263 $RM -r conftest
2>/dev
/null
7267 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7269 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7270 # Insert the option either (1) after the last *FLAGS variable, or
7271 # (2) before a word containing "conftest.", or (3) at the end.
7272 # Note that $ac_compile itself does not contain backslashes and begins
7273 # with a dollar sign (not a hyphen), so the echo should work correctly.
7274 lt_compile
=`echo "$ac_compile" | $SED \
7275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7277 -e 's:$: $lt_compiler_flag:'`
7278 (eval echo "\"\$as_me:7278: $lt_compile\"" >&5)
7279 (eval "$lt_compile" 2>out
/conftest.err
)
7281 cat out
/conftest.err
>&5
7282 echo "$as_me:7282: \$? = $ac_status" >&5
7283 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7285 # The compiler can only warn and ignore the option if not recognized
7286 # So say no if there are warnings
7287 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7288 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7289 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7290 lt_cv_prog_compiler_c_o
=yes
7295 # SGI C++ compiler will create directory out/ii_files/ for
7296 # template instantiation
7297 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7298 $RM out
/* && rmdir out
7304 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7305 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7312 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7313 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7314 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7315 $as_echo_n "(cached) " >&6
7317 lt_cv_prog_compiler_c_o
=no
7318 $RM -r conftest
2>/dev
/null
7322 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7324 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7325 # Insert the option either (1) after the last *FLAGS variable, or
7326 # (2) before a word containing "conftest.", or (3) at the end.
7327 # Note that $ac_compile itself does not contain backslashes and begins
7328 # with a dollar sign (not a hyphen), so the echo should work correctly.
7329 lt_compile
=`echo "$ac_compile" | $SED \
7330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7332 -e 's:$: $lt_compiler_flag:'`
7333 (eval echo "\"\$as_me:7333: $lt_compile\"" >&5)
7334 (eval "$lt_compile" 2>out
/conftest.err
)
7336 cat out
/conftest.err
>&5
7337 echo "$as_me:7337: \$? = $ac_status" >&5
7338 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7340 # The compiler can only warn and ignore the option if not recognized
7341 # So say no if there are warnings
7342 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7343 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7344 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7345 lt_cv_prog_compiler_c_o
=yes
7350 # SGI C++ compiler will create directory out/ii_files/ for
7351 # template instantiation
7352 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7353 $RM out
/* && rmdir out
7359 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7360 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7365 hard_links
="nottested"
7366 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7367 # do not overwrite the value of need_locks provided by the user
7368 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7369 $as_echo_n "checking if we can lock with hard links... " >&6; }
7372 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7374 ln conftest.a conftest.b
2>&5 || hard_links
=no
7375 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7376 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7377 $as_echo "$hard_links" >&6; }
7378 if test "$hard_links" = no
; then
7379 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7380 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7392 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7393 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7396 allow_undefined_flag
=
7397 always_export_symbols
=no
7399 archive_expsym_cmds
=
7400 compiler_needs_object
=no
7401 enable_shared_with_static_runtimes
=no
7402 export_dynamic_flag_spec
=
7403 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7404 hardcode_automatic
=no
7406 hardcode_direct_absolute
=no
7407 hardcode_libdir_flag_spec
=
7408 hardcode_libdir_flag_spec_ld
=
7409 hardcode_libdir_separator
=
7411 hardcode_shlibpath_var
=unsupported
7413 link_all_deplibs
=unknown
7416 old_archive_from_new_cmds
=
7417 old_archive_from_expsyms_cmds
=
7418 thread_safe_flag_spec
=
7419 whole_archive_flag_spec
=
7420 # include_expsyms should be a list of space-separated symbols to be *always*
7421 # included in the symbol list
7423 # exclude_expsyms can be an extended regexp of symbols to exclude
7424 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7425 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7426 # as well as any symbol that contains `d'.
7427 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7428 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7429 # platforms (ab)use it in PIC code, but their linkers get confused if
7430 # the symbol is explicitly referenced. Since portable code cannot
7431 # rely on this symbol name, it's probably fine to never include it in
7432 # preloaded symbol tables.
7433 # Exclude shared library initialization/finalization symbols.
7434 extract_expsyms_cmds
=
7437 cygwin
* | mingw
* | pw32
* | cegcc
*)
7438 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7439 # When not using gcc, we currently assume that we are using
7440 # Microsoft Visual C++.
7441 if test "$GCC" != yes; then
7446 # we just hope/assume this is gcc and not c89 (= MSVC++)
7455 if test "$with_gnu_ld" = yes; then
7456 # If archive_cmds runs LD, not CC, wlarc should be empty
7459 # Set some defaults for GNU ld with shared library support. These
7460 # are reset later if shared libraries are not supported. Putting them
7461 # here allows them to be overridden if necessary.
7462 runpath_var
=LD_RUN_PATH
7463 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7464 export_dynamic_flag_spec
='${wl}--export-dynamic'
7465 # ancient GNU ld didn't support --whole-archive et. al.
7466 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7467 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7469 whole_archive_flag_spec
=
7471 supports_anon_versioning
=no
7472 case `$LD -v 2>&1` in
7473 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7474 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7475 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7476 *\
2.11.
*) ;; # other 2.11 versions
7477 *) supports_anon_versioning
=yes ;;
7480 # See if GNU ld supports shared libraries.
7483 # On AIX/PPC, the GNU linker is very broken
7484 if test "$host_cpu" != ia64
; then
7488 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7489 *** to be unable to reliably create shared libraries on AIX.
7490 *** Therefore, libtool is disabling shared libraries support. If you
7491 *** really care for shared libraries, you may want to modify your PATH
7492 *** so that a non-GNU linker is found, and then restart.
7501 # see comment about AmigaOS4 .so support
7502 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7503 archive_expsym_cmds
=''
7506 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)'
7507 hardcode_libdir_flag_spec
='-L$libdir'
7508 hardcode_minus_L
=yes
7514 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7515 allow_undefined_flag
=unsupported
7516 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7517 # support --undefined. This deserves some investigation. FIXME
7518 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7524 cygwin
* | mingw
* | pw32
* | cegcc
*)
7525 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7526 # as there is no search path for DLLs.
7527 hardcode_libdir_flag_spec
='-L$libdir'
7528 allow_undefined_flag
=unsupported
7529 always_export_symbols
=no
7530 enable_shared_with_static_runtimes
=yes
7531 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7533 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7534 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7535 # If the export-symbols file already is a .def file (1st line
7536 # is EXPORTS), use it as is; otherwise, prepend...
7537 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7538 cp $export_symbols $output_objdir/$soname.def;
7540 echo EXPORTS > $output_objdir/$soname.def;
7541 cat $export_symbols >> $output_objdir/$soname.def;
7543 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7551 hardcode_shlibpath_var
=no
7552 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7553 export_dynamic_flag_spec
='${wl}-E'
7554 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7555 # Instead, shared libraries are loaded at an image base (0x10000000 by
7556 # default) and relocated if they conflict, which is a slow very memory
7557 # consuming and fragmenting process. To avoid this, we pick a random,
7558 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7559 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7560 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7561 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'
7564 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7566 if test "$host_os" = linux-dietlibc
; then
7567 case $cc_basename in
7568 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7571 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7572 && test "$tmp_diet" = no
7575 tmp_sharedflag
='-shared'
7576 case $cc_basename,$host_cpu in
7577 pgcc
*) # Portland Group C compiler
7578 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'
7579 tmp_addflag
=' $pic_flag'
7581 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7582 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'
7583 tmp_addflag
=' $pic_flag -Mnomain' ;;
7584 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7585 tmp_addflag
=' -i_dynamic' ;;
7586 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7587 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7588 ifc
* | ifort
*) # Intel Fortran compiler
7589 tmp_addflag
=' -nofor_main' ;;
7590 lf95
*) # Lahey Fortran 8.1
7591 whole_archive_flag_spec
=
7592 tmp_sharedflag
='--shared' ;;
7593 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7594 tmp_sharedflag
='-qmkshrobj'
7597 case `$CC -V 2>&1 | sed 5q` in
7598 *Sun\ C
*) # Sun C 5.9
7599 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'
7600 compiler_needs_object
=yes
7601 tmp_sharedflag
='-G' ;;
7602 *Sun\ F
*) # Sun Fortran 8.3
7603 tmp_sharedflag
='-G' ;;
7605 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7607 if test "x$supports_anon_versioning" = xyes
; then
7608 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7609 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7610 echo "local: *; };" >> $output_objdir/$libname.ver~
7611 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7614 case $cc_basename in
7616 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7617 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7618 hardcode_libdir_flag_spec
=
7619 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7620 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7621 if test "x$supports_anon_versioning" = xyes
; then
7622 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7623 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7624 echo "local: *; };" >> $output_objdir/$libname.ver~
7625 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7635 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7636 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7639 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7640 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7645 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7649 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7650 *** create shared libraries on Solaris systems. Therefore, libtool
7651 *** is disabling shared libraries support. We urge you to upgrade GNU
7652 *** binutils to release 2.9.1 or newer. Another option is to modify
7653 *** your PATH or compiler configuration so that the native linker is
7654 *** used, and then restart.
7657 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7658 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7659 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7665 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7666 case `$LD -v 2>&1` in
7667 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7671 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7672 *** reliably create shared libraries on SCO systems. Therefore, libtool
7673 *** is disabling shared libraries support. We urge you to upgrade GNU
7674 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7675 *** your PATH or compiler configuration so that the native linker is
7676 *** used, and then restart.
7681 # For security reasons, it is highly recommended that you always
7682 # use absolute paths for naming shared libraries, and exclude the
7683 # DT_RUNPATH tag from executables and libraries. But doing so
7684 # requires that you compile everything twice, which is a pain.
7685 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7686 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7687 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7688 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7697 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7700 hardcode_shlibpath_var
=no
7704 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7705 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7706 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7713 if test "$ld_shlibs" = no
; then
7715 hardcode_libdir_flag_spec
=
7716 export_dynamic_flag_spec
=
7717 whole_archive_flag_spec
=
7720 # PORTME fill in a description of your system's linker (not GNU ld)
7723 allow_undefined_flag
=unsupported
7724 always_export_symbols
=yes
7725 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'
7726 # Note: this linker hardcodes the directories in LIBPATH if there
7727 # are no directories specified by -L.
7728 hardcode_minus_L
=yes
7729 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7730 # Neither direct hardcoding nor static linking is supported with a
7732 hardcode_direct
=unsupported
7737 if test "$host_cpu" = ia64
; then
7738 # On IA64, the linker does run time linking by default, so we don't
7739 # have to do anything special.
7740 aix_use_runtimelinking
=no
7741 exp_sym_flag
='-Bexport'
7744 # If we're using GNU nm, then we don't want the "-C" option.
7745 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7746 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7747 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'
7749 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'
7751 aix_use_runtimelinking
=no
7753 # Test if we are trying to use run time linking or normal
7754 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7755 # need to do runtime linking.
7756 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7757 for ld_flag
in $LDFLAGS; do
7758 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7759 aix_use_runtimelinking
=yes
7766 exp_sym_flag
='-bexport'
7767 no_entry_flag
='-bnoentry'
7770 # When large executables or shared objects are built, AIX ld can
7771 # have problems creating the table of contents. If linking a library
7772 # or program results in "error TOC overflow" add -mminimal-toc to
7773 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7774 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7778 hardcode_direct_absolute
=yes
7779 hardcode_libdir_separator
=':'
7780 link_all_deplibs
=yes
7781 file_list_spec
='${wl}-f,'
7783 if test "$GCC" = yes; then
7784 case $host_os in aix4.
[012]|aix4.
[012].
*)
7785 # We only want to do this on AIX 4.2 and lower, the check
7786 # below for broken collect2 doesn't work under 4.3+
7787 collect2name
=`${CC} -print-prog-name=collect2`
7788 if test -f "$collect2name" &&
7789 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7791 # We have reworked collect2
7794 # We have old collect2
7795 hardcode_direct
=unsupported
7796 # It fails to find uninstalled libraries when the uninstalled
7797 # path is not listed in the libpath. Setting hardcode_minus_L
7798 # to unsupported forces relinking
7799 hardcode_minus_L
=yes
7800 hardcode_libdir_flag_spec
='-L$libdir'
7801 hardcode_libdir_separator
=
7805 shared_flag
='-shared'
7806 if test "$aix_use_runtimelinking" = yes; then
7807 shared_flag
="$shared_flag "'${wl}-G'
7811 if test "$host_cpu" = ia64
; then
7812 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7813 # chokes on -Wl,-G. The following line is correct:
7816 if test "$aix_use_runtimelinking" = yes; then
7817 shared_flag
='${wl}-G'
7819 shared_flag
='${wl}-bM:SRE'
7824 export_dynamic_flag_spec
='${wl}-bexpall'
7825 # It seems that -bexpall does not export symbols beginning with
7826 # underscore (_), so it is better to generate a list of symbols to export.
7827 always_export_symbols
=yes
7828 if test "$aix_use_runtimelinking" = yes; then
7829 # Warning - without using the other runtime loading flags (-brtl),
7830 # -berok will link without error, but may produce a broken library.
7831 allow_undefined_flag
='-berok'
7832 # Determine the default libpath from the value encoded in an
7834 cat >conftest.
$ac_ext <<_ACEOF
7837 cat confdefs.h
>>conftest.
$ac_ext
7838 cat >>conftest.
$ac_ext <<_ACEOF
7839 /* end confdefs.h. */
7849 rm -f conftest.
$ac_objext conftest
$ac_exeext
7850 if { (ac_try
="$ac_link"
7852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7853 *) ac_try_echo=$ac_try;;
7855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7856 $as_echo "$ac_try_echo") >&5
7857 (eval "$ac_link") 2>conftest.er1
7859 grep -v '^ *+' conftest.er1 >conftest.err
7861 cat conftest.err >&5
7862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } && {
7864 test -z "$ac_c_werror_flag" ||
7865 test ! -s conftest.err
7866 } && test -s conftest$ac_exeext && {
7867 test "$cross_compiling" = yes ||
7868 $as_test_x conftest$ac_exeext
7871 lt_aix_libpath_sed='
7872 /Import File Strings/,/^$/ {
7878 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7879 # Check for a 64-bit object if we didn't find anything.
7880 if test -z "$aix_libpath"; then
7881 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7884 $as_echo "$as_me: failed program was:" >&5
7885 sed 's/^/| /' conftest.$ac_ext >&5
7890 rm -rf conftest.dSYM
7891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7892 conftest$ac_exeext conftest.$ac_ext
7893 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7895 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7896 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"
7898 if test "$host_cpu" = ia64; then
7899 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7900 allow_undefined_flag="-z nodefs"
7901 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"
7903 # Determine the default libpath from the value encoded in an
7905 cat >conftest.$ac_ext <<_ACEOF
7908 cat confdefs.h >>conftest.$ac_ext
7909 cat >>conftest.$ac_ext <<_ACEOF
7910 /* end confdefs.h. */
7920 rm -f conftest.$ac_objext conftest$ac_exeext
7921 if { (ac_try="$ac_link"
7923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7924 *) ac_try_echo
=$ac_try;;
7926 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7927 $as_echo "$ac_try_echo") >&5
7928 (eval "$ac_link") 2>conftest.er1
7930 grep -v '^ *+' conftest.er1
>conftest.err
7932 cat conftest.err
>&5
7933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } && {
7935 test -z "$ac_c_werror_flag" ||
7936 test ! -s conftest.err
7937 } && test -s conftest
$ac_exeext && {
7938 test "$cross_compiling" = yes ||
7939 $as_test_x conftest
$ac_exeext
7942 lt_aix_libpath_sed
='
7943 /Import File Strings/,/^$/ {
7949 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7950 # Check for a 64-bit object if we didn't find anything.
7951 if test -z "$aix_libpath"; then
7952 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7955 $as_echo "$as_me: failed program was:" >&5
7956 sed 's/^/| /' conftest.
$ac_ext >&5
7961 rm -rf conftest.dSYM
7962 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7963 conftest
$ac_exeext conftest.
$ac_ext
7964 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7966 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7967 # Warning - without using the other run time loading flags,
7968 # -berok will link without error, but may produce a broken library.
7969 no_undefined_flag
=' ${wl}-bernotok'
7970 allow_undefined_flag
=' ${wl}-berok'
7971 # Exported symbols can be pulled into shared objects from archives
7972 whole_archive_flag_spec
='$convenience'
7973 archive_cmds_need_lc
=yes
7974 # This is similar to how AIX traditionally builds its shared libraries.
7975 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'
7983 # see comment about AmigaOS4 .so support
7984 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7985 archive_expsym_cmds
=''
7988 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)'
7989 hardcode_libdir_flag_spec
='-L$libdir'
7990 hardcode_minus_L
=yes
7996 export_dynamic_flag_spec
=-rdynamic
7999 cygwin
* | mingw
* | pw32
* | cegcc
*)
8000 # When not using gcc, we currently assume that we are using
8001 # Microsoft Visual C++.
8002 # hardcode_libdir_flag_spec is actually meaningless, as there is
8003 # no search path for DLLs.
8004 hardcode_libdir_flag_spec
=' '
8005 allow_undefined_flag
=unsupported
8006 # Tell ltmain to make .lib files, not .a files.
8008 # Tell ltmain to make .dll files, not .so files.
8010 # FIXME: Setting linknames here is a bad hack.
8011 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8012 # The linker will automatically build a .lib file if we build a DLL.
8013 old_archive_from_new_cmds
='true'
8014 # FIXME: Should let the user specify the lib program.
8015 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8016 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8017 enable_shared_with_static_runtimes
=yes
8020 darwin
* | rhapsody
*)
8023 archive_cmds_need_lc
=no
8025 hardcode_automatic
=yes
8026 hardcode_shlibpath_var
=unsupported
8027 whole_archive_flag_spec
=''
8028 link_all_deplibs
=yes
8029 allow_undefined_flag
="$_lt_dar_allow_undefined"
8030 case $cc_basename in
8031 ifort
*) _lt_dar_can_shared
=yes ;;
8032 *) _lt_dar_can_shared
=$GCC ;;
8034 if test "$_lt_dar_can_shared" = "yes"; then
8035 output_verbose_link_cmd
=echo
8036 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8037 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8038 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}"
8039 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}"
8048 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8049 hardcode_libdir_flag_spec
='-L$libdir'
8050 hardcode_shlibpath_var
=no
8057 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8058 # support. Future versions do this automatically, but an explicit c++rt0.o
8059 # does not break anything, and helps significantly (at the cost of a little
8062 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8063 hardcode_libdir_flag_spec
='-R$libdir'
8065 hardcode_shlibpath_var
=no
8068 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8070 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8072 hardcode_minus_L
=yes
8073 hardcode_shlibpath_var
=no
8076 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8077 freebsd
* | dragonfly
*)
8078 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8079 hardcode_libdir_flag_spec
='-R$libdir'
8081 hardcode_shlibpath_var
=no
8085 if test "$GCC" = yes; then
8086 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'
8088 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'
8090 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8091 hardcode_libdir_separator
=:
8094 # hardcode_minus_L: Not really in the search PATH,
8095 # but as the default location of the library.
8096 hardcode_minus_L
=yes
8097 export_dynamic_flag_spec
='${wl}-E'
8101 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8102 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8104 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8106 if test "$with_gnu_ld" = no
; then
8107 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8108 hardcode_libdir_flag_spec_ld
='+b $libdir'
8109 hardcode_libdir_separator
=:
8111 hardcode_direct_absolute
=yes
8112 export_dynamic_flag_spec
='${wl}-E'
8113 # hardcode_minus_L: Not really in the search PATH,
8114 # but as the default location of the library.
8115 hardcode_minus_L
=yes
8120 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8123 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8126 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8129 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8135 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8138 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8141 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8145 if test "$with_gnu_ld" = no
; then
8146 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8147 hardcode_libdir_separator
=:
8152 hardcode_shlibpath_var
=no
8156 hardcode_direct_absolute
=yes
8157 export_dynamic_flag_spec
='${wl}-E'
8159 # hardcode_minus_L: Not really in the search PATH,
8160 # but as the default location of the library.
8161 hardcode_minus_L
=yes
8167 irix5
* | irix6
* | nonstopux
*)
8168 if test "$GCC" = yes; then
8169 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'
8170 # Try to use the -exported_symbol ld option, if it does not
8171 # work, assume that -exports_file does not work either and
8172 # implicitly export all symbols.
8173 save_LDFLAGS
="$LDFLAGS"
8174 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8175 cat >conftest.
$ac_ext <<_ACEOF
8178 rm -f conftest.
$ac_objext conftest
$ac_exeext
8179 if { (ac_try
="$ac_link"
8181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8182 *) ac_try_echo=$ac_try;;
8184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8185 $as_echo "$ac_try_echo") >&5
8186 (eval "$ac_link") 2>conftest.er1
8188 grep -v '^ *+' conftest.er1 >conftest.err
8190 cat conftest.err >&5
8191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } && {
8193 test -z "$ac_c_werror_flag" ||
8194 test ! -s conftest.err
8195 } && test -s conftest$ac_exeext && {
8196 test "$cross_compiling" = yes ||
8197 $as_test_x conftest$ac_exeext
8199 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'
8202 $as_echo "$as_me: failed program was:" >&5
8203 sed 's/^/| /' conftest.$ac_ext >&5
8208 rm -rf conftest.dSYM
8209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8210 conftest$ac_exeext conftest.$ac_ext
8211 LDFLAGS="$save_LDFLAGS"
8213 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'
8214 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'
8216 archive_cmds_need_lc='no'
8217 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8218 hardcode_libdir_separator=:
8220 link_all_deplibs=yes
8224 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8225 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8227 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8229 hardcode_libdir_flag_spec='-R$libdir'
8231 hardcode_shlibpath_var=no
8235 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8237 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8238 hardcode_libdir_separator=:
8239 hardcode_shlibpath_var=no
8246 if test -f /usr/libexec/ld.so; then
8248 hardcode_shlibpath_var=no
8249 hardcode_direct_absolute=yes
8250 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8251 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8252 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8253 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8254 export_dynamic_flag_spec='${wl}-E'
8257 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8258 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8259 hardcode_libdir_flag_spec='-R$libdir'
8262 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8263 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8273 hardcode_libdir_flag_spec='-L$libdir'
8274 hardcode_minus_L=yes
8275 allow_undefined_flag=unsupported
8276 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'
8277 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8281 if test "$GCC" = yes; then
8282 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8283 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'
8285 allow_undefined_flag=' -expect_unresolved \*'
8286 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'
8288 archive_cmds_need_lc='no'
8289 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8290 hardcode_libdir_separator=:
8293 osf4* | osf5*) # as osf3* with the addition of -msym flag
8294 if test "$GCC" = yes; then
8295 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8296 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'
8297 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8299 allow_undefined_flag=' -expect_unresolved \*'
8300 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'
8301 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~
8302 $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'
8304 # Both c and cxx compiler support -rpath directly
8305 hardcode_libdir_flag_spec='-rpath $libdir'
8307 archive_cmds_need_lc='no'
8308 hardcode_libdir_separator=:
8312 no_undefined_flag=' -z defs'
8313 if test "$GCC" = yes; then
8315 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8316 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8317 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8319 case `$CC -V 2>&1` in
8322 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8323 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8324 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8328 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8329 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8330 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8334 hardcode_libdir_flag_spec='-R$libdir'
8335 hardcode_shlibpath_var=no
8337 solaris2.[0-5] | solaris2.[0-5].*) ;;
8339 # The compiler driver will combine and reorder linker options,
8340 # but understands `-z linker_flag
'. GCC discards it without `$wl',
8341 # but is careful enough not to reorder.
8342 # Supported since Solaris 2.6 (maybe 2.5.1?)
8343 if test "$GCC" = yes; then
8344 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8346 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8350 link_all_deplibs
=yes
8354 if test "x$host_vendor" = xsequent
; then
8355 # Use $CC to link under sequent, because it throws in some extra .o
8356 # files that make .init and .fini sections work.
8357 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8359 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8361 hardcode_libdir_flag_spec
='-L$libdir'
8363 hardcode_minus_L
=yes
8364 hardcode_shlibpath_var
=no
8368 case $host_vendor in
8370 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8371 hardcode_direct
=yes # is this really true???
8374 ## LD is ld it makes a PLAMLIB
8375 ## CC just makes a GrossModule.
8376 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8377 reload_cmds
='$CC -r -o $output$reload_objs'
8381 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8382 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8385 runpath_var
='LD_RUN_PATH'
8386 hardcode_shlibpath_var
=no
8390 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8391 hardcode_shlibpath_var
=no
8392 export_dynamic_flag_spec
='-Bexport'
8396 if test -d /usr
/nec
; then
8397 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8398 hardcode_shlibpath_var
=no
8399 runpath_var
=LD_RUN_PATH
8400 hardcode_runpath_var
=yes
8405 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8406 no_undefined_flag
='${wl}-z,text'
8407 archive_cmds_need_lc
=no
8408 hardcode_shlibpath_var
=no
8409 runpath_var
='LD_RUN_PATH'
8411 if test "$GCC" = yes; then
8412 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8413 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8415 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8416 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8420 sysv5
* | sco3.2v5
* | sco5v6
*)
8421 # Note: We can NOT use -z defs as we might desire, because we do not
8422 # link with -lc, and that would cause any symbols used from libc to
8423 # always be unresolved, which means just about no library would
8424 # ever link correctly. If we're not using GNU ld we use -z text
8425 # though, which does catch some bad symbols but isn't as heavy-handed
8427 no_undefined_flag
='${wl}-z,text'
8428 allow_undefined_flag
='${wl}-z,nodefs'
8429 archive_cmds_need_lc
=no
8430 hardcode_shlibpath_var
=no
8431 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8432 hardcode_libdir_separator
=':'
8433 link_all_deplibs
=yes
8434 export_dynamic_flag_spec
='${wl}-Bexport'
8435 runpath_var
='LD_RUN_PATH'
8437 if test "$GCC" = yes; then
8438 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8439 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8441 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8442 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8447 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8448 hardcode_libdir_flag_spec
='-L$libdir'
8449 hardcode_shlibpath_var
=no
8457 if test x
$host_vendor = xsni
; then
8459 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8460 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8466 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8467 $as_echo "$ld_shlibs" >&6; }
8468 test "$ld_shlibs" = no
&& can_build_shared
=no
8470 with_gnu_ld
=$with_gnu_ld
8487 # Do we need to explicitly link libc?
8489 case "x$archive_cmds_need_lc" in
8491 # Assume -lc should be added
8492 archive_cmds_need_lc
=yes
8494 if test "$enable_shared" = yes && test "$GCC" = yes; then
8495 case $archive_cmds in
8497 # FIXME: we may have to deal with multi-command sequences.
8500 # Test whether the compiler implicitly links with -lc since on some
8501 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8502 # to ld, don't add -lc before -lgcc.
8503 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8504 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8506 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8509 (eval $ac_compile) 2>&5
8511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } 2>conftest.err
; then
8515 libobjs
=conftest.
$ac_objext
8517 wl
=$lt_prog_compiler_wl
8518 pic_flag
=$lt_prog_compiler_pic
8524 lt_save_allow_undefined_flag
=$allow_undefined_flag
8525 allow_undefined_flag
=
8526 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8527 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); }
8532 archive_cmds_need_lc
=no
8534 archive_cmds_need_lc
=yes
8536 allow_undefined_flag
=$lt_save_allow_undefined_flag
8538 cat conftest.err
1>&5
8541 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8542 $as_echo "$archive_cmds_need_lc" >&6; }
8705 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8706 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8708 if test "$GCC" = yes; then
8710 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8711 *) lt_awk_arg
="/^libraries:/" ;;
8713 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8714 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8715 # if the path contains ";" then we assume it to be the separator
8716 # otherwise default to the standard path separator (i.e. ":") - it is
8717 # assumed that no part of a normal pathname contains ";" but that should
8718 # okay in the real world where ";" in dirpaths is itself problematic.
8719 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8721 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8723 # Ok, now we have the path, separated by spaces, we can step through it
8724 # and add multilib dir if necessary.
8725 lt_tmp_lt_search_path_spec
=
8726 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8727 for lt_sys_path
in $lt_search_path_spec; do
8728 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8729 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8731 test -d "$lt_sys_path" && \
8732 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8735 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8736 BEGIN {RS=" "; FS="/|\n";} {
8739 for (lt_i = NF; lt_i > 0; lt_i--) {
8740 if ($lt_i != "" && $lt_i != ".") {
8741 if ($lt_i == "..") {
8744 if (lt_count == 0) {
8745 lt_foo="/" $lt_i lt_foo;
8752 if (lt_foo != "") { lt_freq[lt_foo]++; }
8753 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8755 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8757 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8760 libname_spec
='lib$name'
8768 shlibpath_overrides_runpath
=unknown
8770 dynamic_linker
="$host_os ld.so"
8771 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8772 need_lib_prefix
=unknown
8773 hardcode_into_libs
=no
8775 # when you set need_version to no, make sure it does not cause -set_version
8776 # flags to be left without arguments
8777 need_version
=unknown
8782 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8783 shlibpath_var
=LIBPATH
8785 # AIX 3 has no versioning support, so we append a major version to the name.
8786 soname_spec
='${libname}${release}${shared_ext}$major'
8793 hardcode_into_libs
=yes
8794 if test "$host_cpu" = ia64
; then
8795 # AIX 5 supports IA64
8796 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8797 shlibpath_var
=LD_LIBRARY_PATH
8799 # With GCC up to 2.95.x, collect2 would create an import file
8800 # for dependence libraries. The import file would start with
8801 # the line `#! .'. This would cause the generated library to
8802 # depend on `.', always an invalid library. This was fixed in
8803 # development snapshots of GCC prior to 3.0.
8805 aix4 | aix4.
[01] | aix4.
[01].
*)
8806 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8808 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8815 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8816 # soname into executable. Probably we can add versioning support to
8817 # collect2, so additional links can be useful in future.
8818 if test "$aix_use_runtimelinking" = yes; then
8819 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8820 # instead of lib<name>.a to let people know that these are not
8821 # typical AIX shared libraries.
8822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8824 # We preserve .a as extension for shared libraries through AIX4.2
8825 # and later when we are not doing run time linking.
8826 library_names_spec
='${libname}${release}.a $libname.a'
8827 soname_spec
='${libname}${release}${shared_ext}$major'
8829 shlibpath_var
=LIBPATH
8836 # Since July 2007 AmigaOS4 officially supports .so libraries.
8837 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8841 library_names_spec
='$libname.ixlibrary $libname.a'
8842 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8843 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'
8849 library_names_spec
='${libname}${shared_ext}'
8850 dynamic_linker
="$host_os ld.so"
8851 shlibpath_var
=LIBRARY_PATH
8857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8858 soname_spec
='${libname}${release}${shared_ext}$major'
8859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8860 shlibpath_var
=LD_LIBRARY_PATH
8861 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8862 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8863 # the default ld.so.conf also contains /usr/contrib/lib and
8864 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8865 # libtool to hard-code these into programs
8868 cygwin
* | mingw
* | pw32
* | cegcc
*)
8869 version_type
=windows
8874 case $GCC,$host_os in
8875 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8876 library_names_spec
='$libname.dll.a'
8877 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8878 postinstall_cmds
='base_file=`basename \${file}`~
8879 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8880 dldir=$destdir/`dirname \$dlpath`~
8881 test -d \$dldir || mkdir -p \$dldir~
8882 $install_prog $dir/$dlname \$dldir/$dlname~
8883 chmod a+x \$dldir/$dlname~
8884 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8885 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8887 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8888 dlpath=$dir/\$dldll~
8890 shlibpath_overrides_runpath
=yes
8894 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8895 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8896 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8899 # MinGW DLLs use traditional 'lib' prefix
8900 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8901 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8902 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8903 # It is most probably a Windows format PATH printed by
8904 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8905 # path with ; separators, and with drive letters. We can handle the
8906 # drive letters (cygwin fileutils understands them), so leave them,
8907 # especially as we might pass files found there to a mingw objdump,
8908 # which wouldn't understand a cygwinified path. Ahh.
8909 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8911 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8915 # pw32 DLLs use 'pw' prefix rather than 'lib'
8916 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8922 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8925 dynamic_linker
='Win32 ld.exe'
8926 # FIXME: first we should search . and the directory the executable is in
8930 darwin
* | rhapsody
*)
8931 dynamic_linker
="$host_os dyld"
8935 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8936 soname_spec
='${libname}${release}${major}$shared_ext'
8937 shlibpath_overrides_runpath
=yes
8938 shlibpath_var
=DYLD_LIBRARY_PATH
8939 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8941 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8942 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8950 soname_spec
='${libname}${release}${shared_ext}$major'
8951 shlibpath_var
=LD_LIBRARY_PATH
8958 freebsd
* | dragonfly
*)
8959 # DragonFly does not have aout. When/if they implement a new
8960 # versioning mechanism, adjust this.
8961 if test -x /usr
/bin
/objformat
; then
8962 objformat
=`/usr/bin/objformat`
8965 freebsd
[123]*) objformat
=aout
;;
8969 # Handle Gentoo/FreeBSD as it was Linux
8970 case $host_vendor in
8972 version_type
=linux
;;
8974 version_type
=freebsd-
$objformat ;;
8977 case $version_type in
8979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8984 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8989 soname_spec
='${libname}${release}${shared_ext}$major'
8994 shlibpath_var
=LD_LIBRARY_PATH
8997 shlibpath_overrides_runpath
=yes
8999 freebsd3.
[01]* | freebsdelf3.
[01]*)
9000 shlibpath_overrides_runpath
=yes
9001 hardcode_into_libs
=yes
9003 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9004 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9005 shlibpath_overrides_runpath
=no
9006 hardcode_into_libs
=yes
9008 *) # from 4.6 on, and DragonFly
9009 shlibpath_overrides_runpath
=yes
9010 hardcode_into_libs
=yes
9019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9020 soname_spec
='${libname}${release}${shared_ext}$major'
9021 shlibpath_var
=LD_LIBRARY_PATH
9022 hardcode_into_libs
=yes
9025 hpux9
* | hpux10
* | hpux11
*)
9026 # Give a soname corresponding to the major version so that dld.sl refuses to
9027 # link against other versions.
9034 hardcode_into_libs
=yes
9035 dynamic_linker
="$host_os dld.so"
9036 shlibpath_var
=LD_LIBRARY_PATH
9037 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9039 soname_spec
='${libname}${release}${shared_ext}$major'
9040 if test "X$HPUX_IA64_MODE" = X32
; then
9041 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9043 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9045 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9049 hardcode_into_libs
=yes
9050 dynamic_linker
="$host_os dld.sl"
9051 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9052 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9054 soname_spec
='${libname}${release}${shared_ext}$major'
9055 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9056 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9060 dynamic_linker
="$host_os dld.sl"
9061 shlibpath_var
=SHLIB_PATH
9062 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9064 soname_spec
='${libname}${release}${shared_ext}$major'
9067 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9068 postinstall_cmds
='chmod 555 $lib'
9075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9076 soname_spec
='${libname}${release}${shared_ext}$major'
9077 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9078 shlibpath_var
=LD_LIBRARY_PATH
9079 shlibpath_overrides_runpath
=no
9080 hardcode_into_libs
=yes
9083 irix5
* | irix6
* | nonstopux
*)
9085 nonstopux
*) version_type
=nonstopux
;;
9087 if test "$lt_cv_prog_gnu_ld" = yes; then
9095 soname_spec
='${libname}${release}${shared_ext}$major'
9096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9098 irix5
* | nonstopux
*)
9102 case $LD in # libtool.m4 will add one of these switches to LD
9103 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9104 libsuff
= shlibsuff
= libmagic
=32-bit;;
9105 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9106 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9107 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9108 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9109 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9113 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9114 shlibpath_overrides_runpath
=no
9115 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9116 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9117 hardcode_into_libs
=yes
9120 # No shared lib support for Linux oldld, aout, or coff.
9121 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9125 # This must be Linux ELF.
9126 linux
* | k
*bsd
*-gnu)
9130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9131 soname_spec
='${libname}${release}${shared_ext}$major'
9132 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9133 shlibpath_var
=LD_LIBRARY_PATH
9134 shlibpath_overrides_runpath
=no
9135 # Some binutils ld are patched to set DT_RUNPATH
9136 save_LDFLAGS
=$LDFLAGS
9138 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9139 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9140 cat >conftest.
$ac_ext <<_ACEOF
9143 cat confdefs.h
>>conftest.
$ac_ext
9144 cat >>conftest.
$ac_ext <<_ACEOF
9145 /* end confdefs.h. */
9155 rm -f conftest.
$ac_objext conftest
$ac_exeext
9156 if { (ac_try
="$ac_link"
9158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9162 $as_echo "$ac_try_echo") >&5
9163 (eval "$ac_link") 2>conftest.er1
9165 grep -v '^ *+' conftest.er1 >conftest.err
9167 cat conftest.err >&5
9168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest$ac_exeext && {
9173 test "$cross_compiling" = yes ||
9174 $as_test_x conftest$ac_exeext
9176 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9177 shlibpath_overrides_runpath=yes
9181 $as_echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.$ac_ext >&5
9187 rm -rf conftest.dSYM
9188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9189 conftest$ac_exeext conftest.$ac_ext
9190 LDFLAGS=$save_LDFLAGS
9193 # This implies no fast_install, which is unacceptable.
9194 # Some rework will be needed to allow for fast_install
9195 # before this can be enabled.
9196 hardcode_into_libs=yes
9198 # Append ld.so.conf contents to the search path
9199 if test -f /etc/ld.so.conf; then
9200 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' ' '`
9201 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9204 # We used to test for /lib/ld.so.1 and disable shared libraries on
9205 # powerpc, because MkLinux only supported shared libraries with the
9206 # GNU dynamic linker. Since this was broken with cross compilers,
9207 # most powerpc-linux boxes support dynamic linking these days and
9208 # people can always --disable-shared, the test was removed, and we
9209 # assume the GNU/Linux dynamic linker is in use.
9210 dynamic_linker='GNU/Linux ld.so'
9217 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9219 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9220 dynamic_linker='NetBSD (a.out) ld.so'
9222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9223 soname_spec='${libname}${release}${shared_ext}$major'
9224 dynamic_linker='NetBSD ld.elf_so'
9226 shlibpath_var=LD_LIBRARY_PATH
9227 shlibpath_overrides_runpath=yes
9228 hardcode_into_libs=yes
9233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9234 shlibpath_var=LD_LIBRARY_PATH
9235 shlibpath_overrides_runpath=yes
9242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9243 soname_spec='${libname}${release}${shared_ext}$major'
9244 shlibpath_var=LD_LIBRARY_PATH
9245 shlibpath_overrides_runpath=no
9246 hardcode_into_libs=yes
9247 dynamic_linker='ldqnx.so'
9252 sys_lib_dlsearch_path_spec="/usr/lib"
9254 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9256 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9257 *) need_version=no ;;
9259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9260 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9261 shlibpath_var=LD_LIBRARY_PATH
9262 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9264 openbsd2.[89] | openbsd2.[89].*)
9265 shlibpath_overrides_runpath=no
9268 shlibpath_overrides_runpath=yes
9272 shlibpath_overrides_runpath=yes
9277 libname_spec='$name'
9280 library_names_spec='$libname${shared_ext} $libname.a'
9281 dynamic_linker='OS/2 ld.exe'
9282 shlibpath_var=LIBPATH
9285 osf3* | osf4* | osf5*)
9289 soname_spec='${libname}${release}${shared_ext}$major'
9290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9291 shlibpath_var=LD_LIBRARY_PATH
9292 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9293 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9305 soname_spec='${libname}${release}${shared_ext}$major'
9306 shlibpath_var=LD_LIBRARY_PATH
9307 shlibpath_overrides_runpath=yes
9308 hardcode_into_libs=yes
9309 # ldd complains unless libraries are executable
9310 postinstall_cmds='chmod +x $lib'
9315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9316 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9317 shlibpath_var=LD_LIBRARY_PATH
9318 shlibpath_overrides_runpath=yes
9319 if test "$with_gnu_ld" = yes; then
9327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9328 soname_spec='${libname}${release}${shared_ext}$major'
9329 shlibpath_var=LD_LIBRARY_PATH
9330 case $host_vendor in
9332 shlibpath_overrides_runpath=no
9334 runpath_var=LD_RUN_PATH
9342 shlibpath_overrides_runpath=no
9343 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9349 if test -d /usr/nec ;then
9351 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9352 soname_spec='$libname${shared_ext}.$major'
9353 shlibpath_var=LD_LIBRARY_PATH
9357 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9358 version_type=freebsd-elf
9361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9362 soname_spec='${libname}${release}${shared_ext}$major'
9363 shlibpath_var=LD_LIBRARY_PATH
9364 shlibpath_overrides_runpath=yes
9365 hardcode_into_libs=yes
9366 if test "$with_gnu_ld" = yes; then
9367 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9369 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9372 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9376 sys_lib_dlsearch_path_spec='/usr/lib'
9380 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9385 shlibpath_var=LD_LIBRARY_PATH
9386 shlibpath_overrides_runpath=no
9387 hardcode_into_libs=yes
9392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9393 soname_spec='${libname}${release}${shared_ext}$major'
9394 shlibpath_var=LD_LIBRARY_PATH
9401 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9402 $as_echo "$dynamic_linker" >&6; }
9403 test "$dynamic_linker" = no && can_build_shared=no
9405 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9406 if test "$GCC" = yes; then
9407 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9410 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9411 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9413 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9414 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9503 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9504 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9506 if test -n "$hardcode_libdir_flag_spec" ||
9507 test -n "$runpath_var" ||
9508 test "X$hardcode_automatic" = "Xyes" ; then
9510 # We can hardcode non-existent directories.
9511 if test "$hardcode_direct" != no &&
9512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9513 # have to relink, otherwise we might link with an installed library
9514 # when we should be linking with a yet-to-be-installed one
9515 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9516 test "$hardcode_minus_L" != no; then
9517 # Linking always hardcodes the temporary library directory.
9518 hardcode_action=relink
9520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9521 hardcode_action=immediate
9524 # We cannot hardcode anything, or else we can only hardcode existing
9526 hardcode_action=unsupported
9528 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9529 $as_echo "$hardcode_action" >&6; }
9531 if test "$hardcode_action" = relink ||
9532 test "$inherit_rpath" = yes; then
9533 # Fast installation is not supported
9534 enable_fast_install=no
9535 elif test "$shlibpath_overrides_runpath" = yes ||
9536 test "$enable_shared" = no; then
9537 # Fast installation is not necessary
9538 enable_fast_install=needless
9546 if test "x$enable_dlopen" != xyes; then
9547 enable_dlopen=unknown
9548 enable_dlopen_self=unknown
9549 enable_dlopen_self_static=unknown
9556 lt_cv_dlopen="load_add_on"
9558 lt_cv_dlopen_self=yes
9561 mingw* | pw32* | cegcc*)
9562 lt_cv_dlopen="LoadLibrary"
9567 lt_cv_dlopen="dlopen"
9572 # if libdl is installed we need to link against it
9573 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9574 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9575 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9576 $as_echo_n "(cached) " >&6
9578 ac_check_lib_save_LIBS=$LIBS
9580 cat >conftest.$ac_ext <<_ACEOF
9583 cat confdefs.h >>conftest.$ac_ext
9584 cat >>conftest.$ac_ext <<_ACEOF
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9602 rm -f conftest.$ac_objext conftest$ac_exeext
9603 if { (ac_try="$ac_link"
9605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9606 *) ac_try_echo
=$ac_try;;
9608 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9609 $as_echo "$ac_try_echo") >&5
9610 (eval "$ac_link") 2>conftest.er1
9612 grep -v '^ *+' conftest.er1
>conftest.err
9614 cat conftest.err
>&5
9615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } && {
9617 test -z "$ac_c_werror_flag" ||
9618 test ! -s conftest.err
9619 } && test -s conftest
$ac_exeext && {
9620 test "$cross_compiling" = yes ||
9621 $as_test_x conftest
$ac_exeext
9623 ac_cv_lib_dl_dlopen
=yes
9625 $as_echo "$as_me: failed program was:" >&5
9626 sed 's/^/| /' conftest.
$ac_ext >&5
9628 ac_cv_lib_dl_dlopen
=no
9631 rm -rf conftest.dSYM
9632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LIBS
=$ac_check_lib_save_LIBS
9636 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9637 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9638 if test $ac_cv_lib_dl_dlopen = yes; then
9639 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9644 lt_cv_dlopen_self
=yes
9651 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9652 $as_echo_n "checking for shl_load... " >&6; }
9653 if test "${ac_cv_func_shl_load+set}" = set; then
9654 $as_echo_n "(cached) " >&6
9656 cat >conftest.
$ac_ext <<_ACEOF
9659 cat confdefs.h
>>conftest.
$ac_ext
9660 cat >>conftest.
$ac_ext <<_ACEOF
9661 /* end confdefs.h. */
9662 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9664 #define shl_load innocuous_shl_load
9666 /* System header to define __stub macros and hopefully few prototypes,
9667 which can conflict with char shl_load (); below.
9668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9669 <limits.h> exists even on freestanding compilers. */
9672 # include <limits.h>
9674 # include <assert.h>
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9686 /* The GNU C library defines this for functions which it implements
9687 to always fail with ENOSYS. Some functions are actually named
9688 something starting with __ and the normal name is an alias. */
9689 #if defined __stub_shl_load || defined __stub___shl_load
9701 rm -f conftest.
$ac_objext conftest
$ac_exeext
9702 if { (ac_try
="$ac_link"
9704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9705 *) ac_try_echo=$ac_try;;
9707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9708 $as_echo "$ac_try_echo") >&5
9709 (eval "$ac_link") 2>conftest.er1
9711 grep -v '^ *+' conftest.er1 >conftest.err
9713 cat conftest.err >&5
9714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } && {
9716 test -z "$ac_c_werror_flag" ||
9717 test ! -s conftest.err
9718 } && test -s conftest$ac_exeext && {
9719 test "$cross_compiling" = yes ||
9720 $as_test_x conftest$ac_exeext
9722 ac_cv_func_shl_load=yes
9724 $as_echo "$as_me: failed program was:" >&5
9725 sed 's/^/| /' conftest.$ac_ext >&5
9727 ac_cv_func_shl_load=no
9730 rm -rf conftest.dSYM
9731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9732 conftest$ac_exeext conftest.$ac_ext
9734 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9735 $as_echo "$ac_cv_func_shl_load" >&6; }
9736 if test $ac_cv_func_shl_load = yes; then
9737 lt_cv_dlopen="shl_load"
9739 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9740 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9741 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9742 $as_echo_n "(cached) " >&6
9744 ac_check_lib_save_LIBS=$LIBS
9746 cat >conftest.$ac_ext <<_ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9768 rm -f conftest.$ac_objext conftest$ac_exeext
9769 if { (ac_try="$ac_link"
9771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9772 *) ac_try_echo
=$ac_try;;
9774 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9775 $as_echo "$ac_try_echo") >&5
9776 (eval "$ac_link") 2>conftest.er1
9778 grep -v '^ *+' conftest.er1
>conftest.err
9780 cat conftest.err
>&5
9781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err
9785 } && test -s conftest
$ac_exeext && {
9786 test "$cross_compiling" = yes ||
9787 $as_test_x conftest
$ac_exeext
9789 ac_cv_lib_dld_shl_load
=yes
9791 $as_echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.
$ac_ext >&5
9794 ac_cv_lib_dld_shl_load
=no
9797 rm -rf conftest.dSYM
9798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9799 conftest
$ac_exeext conftest.
$ac_ext
9800 LIBS
=$ac_check_lib_save_LIBS
9802 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9803 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9804 if test $ac_cv_lib_dld_shl_load = yes; then
9805 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9807 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9808 $as_echo_n "checking for dlopen... " >&6; }
9809 if test "${ac_cv_func_dlopen+set}" = set; then
9810 $as_echo_n "(cached) " >&6
9812 cat >conftest.
$ac_ext <<_ACEOF
9815 cat confdefs.h
>>conftest.
$ac_ext
9816 cat >>conftest.
$ac_ext <<_ACEOF
9817 /* end confdefs.h. */
9818 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9820 #define dlopen innocuous_dlopen
9822 /* System header to define __stub macros and hopefully few prototypes,
9823 which can conflict with char dlopen (); below.
9824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9825 <limits.h> exists even on freestanding compilers. */
9828 # include <limits.h>
9830 # include <assert.h>
9835 /* Override any GCC internal prototype to avoid an error.
9836 Use char because int might match the return type of a GCC
9837 builtin and then its argument prototype would still apply. */
9842 /* The GNU C library defines this for functions which it implements
9843 to always fail with ENOSYS. Some functions are actually named
9844 something starting with __ and the normal name is an alias. */
9845 #if defined __stub_dlopen || defined __stub___dlopen
9857 rm -f conftest.
$ac_objext conftest
$ac_exeext
9858 if { (ac_try
="$ac_link"
9860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9861 *) ac_try_echo=$ac_try;;
9863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9864 $as_echo "$ac_try_echo") >&5
9865 (eval "$ac_link") 2>conftest.er1
9867 grep -v '^ *+' conftest.er1 >conftest.err
9869 cat conftest.err >&5
9870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); } && {
9872 test -z "$ac_c_werror_flag" ||
9873 test ! -s conftest.err
9874 } && test -s conftest$ac_exeext && {
9875 test "$cross_compiling" = yes ||
9876 $as_test_x conftest$ac_exeext
9878 ac_cv_func_dlopen=yes
9880 $as_echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9883 ac_cv_func_dlopen=no
9886 rm -rf conftest.dSYM
9887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9888 conftest$ac_exeext conftest.$ac_ext
9890 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9891 $as_echo "$ac_cv_func_dlopen" >&6; }
9892 if test $ac_cv_func_dlopen = yes; then
9893 lt_cv_dlopen="dlopen"
9895 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9896 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9897 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9898 $as_echo_n "(cached) " >&6
9900 ac_check_lib_save_LIBS=$LIBS
9902 cat >conftest.$ac_ext <<_ACEOF
9905 cat confdefs.h >>conftest.$ac_ext
9906 cat >>conftest.$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9909 /* Override any GCC internal prototype to avoid an error.
9910 Use char because int might match the return type of a GCC
9911 builtin and then its argument prototype would still apply. */
9924 rm -f conftest.$ac_objext conftest$ac_exeext
9925 if { (ac_try="$ac_link"
9927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9928 *) ac_try_echo
=$ac_try;;
9930 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9931 $as_echo "$ac_try_echo") >&5
9932 (eval "$ac_link") 2>conftest.er1
9934 grep -v '^ *+' conftest.er1
>conftest.err
9936 cat conftest.err
>&5
9937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } && {
9939 test -z "$ac_c_werror_flag" ||
9940 test ! -s conftest.err
9941 } && test -s conftest
$ac_exeext && {
9942 test "$cross_compiling" = yes ||
9943 $as_test_x conftest
$ac_exeext
9945 ac_cv_lib_dl_dlopen
=yes
9947 $as_echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.
$ac_ext >&5
9950 ac_cv_lib_dl_dlopen
=no
9953 rm -rf conftest.dSYM
9954 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9955 conftest
$ac_exeext conftest.
$ac_ext
9956 LIBS
=$ac_check_lib_save_LIBS
9958 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9959 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9960 if test $ac_cv_lib_dl_dlopen = yes; then
9961 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9963 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9964 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9965 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9966 $as_echo_n "(cached) " >&6
9968 ac_check_lib_save_LIBS
=$LIBS
9970 cat >conftest.
$ac_ext <<_ACEOF
9973 cat confdefs.h
>>conftest.
$ac_ext
9974 cat >>conftest.
$ac_ext <<_ACEOF
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9992 rm -f conftest.
$ac_objext conftest
$ac_exeext
9993 if { (ac_try
="$ac_link"
9995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9996 *) ac_try_echo=$ac_try;;
9998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9999 $as_echo "$ac_try_echo") >&5
10000 (eval "$ac_link") 2>conftest.er1
10002 grep -v '^ *+' conftest.er1 >conftest.err
10004 cat conftest.err >&5
10005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } && {
10007 test -z "$ac_c_werror_flag" ||
10008 test ! -s conftest.err
10009 } && test -s conftest$ac_exeext && {
10010 test "$cross_compiling" = yes ||
10011 $as_test_x conftest$ac_exeext
10013 ac_cv_lib_svld_dlopen=yes
10015 $as_echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.$ac_ext >&5
10018 ac_cv_lib_svld_dlopen=no
10021 rm -rf conftest.dSYM
10022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10023 conftest$ac_exeext conftest.$ac_ext
10024 LIBS=$ac_check_lib_save_LIBS
10026 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10027 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10028 if test $ac_cv_lib_svld_dlopen = yes; then
10029 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10031 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10032 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10033 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10034 $as_echo_n "(cached) " >&6
10036 ac_check_lib_save_LIBS=$LIBS
10038 cat >conftest.$ac_ext <<_ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10055 return dld_link ();
10060 rm -f conftest.$ac_objext conftest$ac_exeext
10061 if { (ac_try="$ac_link"
10062 case "(($ac_try" in
10063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10064 *) ac_try_echo
=$ac_try;;
10066 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10067 $as_echo "$ac_try_echo") >&5
10068 (eval "$ac_link") 2>conftest.er1
10070 grep -v '^ *+' conftest.er1
>conftest.err
10072 cat conftest.err
>&5
10073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074 (exit $ac_status); } && {
10075 test -z "$ac_c_werror_flag" ||
10076 test ! -s conftest.err
10077 } && test -s conftest
$ac_exeext && {
10078 test "$cross_compiling" = yes ||
10079 $as_test_x conftest
$ac_exeext
10081 ac_cv_lib_dld_dld_link
=yes
10083 $as_echo "$as_me: failed program was:" >&5
10084 sed 's/^/| /' conftest.
$ac_ext >&5
10086 ac_cv_lib_dld_dld_link
=no
10089 rm -rf conftest.dSYM
10090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10091 conftest
$ac_exeext conftest.
$ac_ext
10092 LIBS
=$ac_check_lib_save_LIBS
10094 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10095 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10096 if test $ac_cv_lib_dld_dld_link = yes; then
10097 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10118 if test "x$lt_cv_dlopen" != xno
; then
10124 case $lt_cv_dlopen in
10126 save_CPPFLAGS
="$CPPFLAGS"
10127 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10129 save_LDFLAGS
="$LDFLAGS"
10130 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10133 LIBS
="$lt_cv_dlopen_libs $LIBS"
10135 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10136 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10137 if test "${lt_cv_dlopen_self+set}" = set; then
10138 $as_echo_n "(cached) " >&6
10140 if test "$cross_compiling" = yes; then :
10141 lt_cv_dlopen_self
=cross
10143 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10144 lt_status
=$lt_dlunknown
10145 cat > conftest.
$ac_ext <<_LT_EOF
10146 #line 10146 "configure"
10147 #include "confdefs.h"
10156 # define LT_DLGLOBAL RTLD_GLOBAL
10159 # define LT_DLGLOBAL DL_GLOBAL
10161 # define LT_DLGLOBAL 0
10165 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10166 find out it does not work in some platform. */
10167 #ifndef LT_DLLAZY_OR_NOW
10169 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10172 # define LT_DLLAZY_OR_NOW DL_LAZY
10175 # define LT_DLLAZY_OR_NOW RTLD_NOW
10178 # define LT_DLLAZY_OR_NOW DL_NOW
10180 # define LT_DLLAZY_OR_NOW 0
10187 void fnord() { int i=42;}
10190 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10191 int status = $lt_dlunknown;
10195 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10196 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10197 /* dlclose (self); */
10205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10206 (eval $ac_link) 2>&5
10208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10210 (.
/conftest
; exit; ) >&5 2>/dev
/null
10212 case x
$lt_status in
10213 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10214 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10215 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10218 # compilation failed
10219 lt_cv_dlopen_self
=no
10226 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10227 $as_echo "$lt_cv_dlopen_self" >&6; }
10229 if test "x$lt_cv_dlopen_self" = xyes
; then
10230 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10231 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10232 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10233 if test "${lt_cv_dlopen_self_static+set}" = set; then
10234 $as_echo_n "(cached) " >&6
10236 if test "$cross_compiling" = yes; then :
10237 lt_cv_dlopen_self_static
=cross
10239 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10240 lt_status
=$lt_dlunknown
10241 cat > conftest.
$ac_ext <<_LT_EOF
10242 #line 10242 "configure"
10243 #include "confdefs.h"
10252 # define LT_DLGLOBAL RTLD_GLOBAL
10255 # define LT_DLGLOBAL DL_GLOBAL
10257 # define LT_DLGLOBAL 0
10261 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10262 find out it does not work in some platform. */
10263 #ifndef LT_DLLAZY_OR_NOW
10265 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10268 # define LT_DLLAZY_OR_NOW DL_LAZY
10271 # define LT_DLLAZY_OR_NOW RTLD_NOW
10274 # define LT_DLLAZY_OR_NOW DL_NOW
10276 # define LT_DLLAZY_OR_NOW 0
10283 void fnord() { int i=42;}
10286 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10287 int status = $lt_dlunknown;
10291 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10292 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10293 /* dlclose (self); */
10301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10302 (eval $ac_link) 2>&5
10304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10306 (.
/conftest
; exit; ) >&5 2>/dev
/null
10308 case x
$lt_status in
10309 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10310 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10311 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10314 # compilation failed
10315 lt_cv_dlopen_self_static
=no
10322 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10323 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10326 CPPFLAGS
="$save_CPPFLAGS"
10327 LDFLAGS
="$save_LDFLAGS"
10332 case $lt_cv_dlopen_self in
10333 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10334 *) enable_dlopen_self
=unknown
;;
10337 case $lt_cv_dlopen_self_static in
10338 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10339 *) enable_dlopen_self_static
=unknown
;;
10361 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10362 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10363 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10364 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10365 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10366 { $as_echo "$as_me:$LINENO: result: yes" >&5
10367 $as_echo "yes" >&6; }
10369 # FIXME - insert some real tests, host_os isn't really good enough
10372 if test -n "$STRIP" ; then
10373 striplib
="$STRIP -x"
10374 old_striplib
="$STRIP -S"
10375 { $as_echo "$as_me:$LINENO: result: yes" >&5
10376 $as_echo "yes" >&6; }
10378 { $as_echo "$as_me:$LINENO: result: no" >&5
10379 $as_echo "no" >&6; }
10383 { $as_echo "$as_me:$LINENO: result: no" >&5
10384 $as_echo "no" >&6; }
10400 # Report which library types will actually be built
10401 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10402 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10403 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10404 $as_echo "$can_build_shared" >&6; }
10406 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10407 $as_echo_n "checking whether to build shared libraries... " >&6; }
10408 test "$can_build_shared" = "no" && enable_shared
=no
10410 # On AIX, shared libraries and static libraries use the same namespace, and
10411 # are all built from PIC.
10414 test "$enable_shared" = yes && enable_static
=no
10415 if test -n "$RANLIB"; then
10416 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10417 postinstall_cmds
='$RANLIB $lib'
10422 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10423 test "$enable_shared" = yes && enable_static
=no
10427 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10428 $as_echo "$enable_shared" >&6; }
10430 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10431 $as_echo_n "checking whether to build static libraries... " >&6; }
10432 # Make sure either enable_shared or enable_static is yes.
10433 test "$enable_shared" = yes || enable_static
=yes
10434 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10435 $as_echo "$enable_static" >&6; }
10442 ac_cpp
='$CPP $CPPFLAGS'
10443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10461 ac_config_commands
="$ac_config_commands libtool"
10466 # Only expand once:
10469 # Find a good install program. We prefer a C program (faster),
10470 # so one script is as good as another. But avoid the broken or
10471 # incompatible versions:
10472 # SysV /etc/install, /usr/sbin/install
10473 # SunOS /usr/etc/install
10474 # IRIX /sbin/install
10476 # AmigaOS /C/install, which installs bootblocks on floppy discs
10477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10480 # OS/2's system install, which has a completely different semantic
10481 # ./install, which can be erroneously created by make from ./install.sh.
10482 # Reject install programs that cannot install multiple files.
10483 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10484 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10485 if test -z "$INSTALL"; then
10486 if test "${ac_cv_path_install+set}" = set; then
10487 $as_echo_n "(cached) " >&6
10489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10490 for as_dir
in $PATH
10493 test -z "$as_dir" && as_dir
=.
10494 # Account for people who put trailing slashes in PATH elements.
10496 .
/ | .
// |
/cC
/* | \
10497 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
10498 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
10501 # OSF1 and SCO ODT 3.0 have their own names for install.
10502 # Don't use installbsd from OSF since it installs stuff as root
10504 for ac_prog
in ginstall scoinst
install; do
10505 for ac_exec_ext
in '' $ac_executable_extensions; do
10506 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10507 if test $ac_prog = install &&
10508 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10509 # AIX install. It has an incompatible calling convention.
10511 elif test $ac_prog = install &&
10512 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10513 # program-specific install script used by HP pwplus--don't use.
10516 rm -rf conftest.one conftest.two conftest.dir
10517 echo one
> conftest.one
10518 echo two
> conftest.two
10520 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10521 test -s conftest.one
&& test -s conftest.two
&&
10522 test -s conftest.dir
/conftest.one
&&
10523 test -s conftest.dir
/conftest.two
10525 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10538 rm -rf conftest.one conftest.two conftest.dir
10541 if test "${ac_cv_path_install+set}" = set; then
10542 INSTALL
=$ac_cv_path_install
10544 # As a last resort, use the slow shell script. Don't cache a
10545 # value for INSTALL within a source directory, because that will
10546 # break other packages using the cache if that directory is
10547 # removed, or if the value is a relative name.
10548 INSTALL
=$ac_install_sh
10551 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
10552 $as_echo "$INSTALL" >&6; }
10554 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10555 # It thinks the first close brace ends the variable substitution.
10556 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10558 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10560 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10562 for ac_prog
in gawk mawk nawk
awk
10564 # Extract the first word of "$ac_prog", so it can be a program name with args.
10565 set dummy
$ac_prog; ac_word
=$2
10566 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10567 $as_echo_n "checking for $ac_word... " >&6; }
10568 if test "${ac_cv_prog_AWK+set}" = set; then
10569 $as_echo_n "(cached) " >&6
10571 if test -n "$AWK"; then
10572 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
10574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10575 for as_dir
in $PATH
10578 test -z "$as_dir" && as_dir
=.
10579 for ac_exec_ext
in '' $ac_executable_extensions; do
10580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10581 ac_cv_prog_AWK
="$ac_prog"
10582 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10591 AWK
=$ac_cv_prog_AWK
10592 if test -n "$AWK"; then
10593 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
10594 $as_echo "$AWK" >&6; }
10596 { $as_echo "$as_me:$LINENO: result: no" >&5
10597 $as_echo "no" >&6; }
10601 test -n "$AWK" && break
10606 # Enable large file support (if special flags are necessary)
10608 # Check whether --enable-largefile was given.
10609 if test "${enable_largefile+set}" = set; then
10610 enableval
=$enable_largefile;
10613 if test "$enable_largefile" != no
; then
10615 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
10616 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
10617 if test "${ac_cv_sys_largefile_CC+set}" = set; then
10618 $as_echo_n "(cached) " >&6
10620 ac_cv_sys_largefile_CC
=no
10621 if test "$GCC" != yes; then
10624 # IRIX 6.2 and later do not support large files by default,
10625 # so use the C compiler's -n32 option if that helps.
10626 cat >conftest.
$ac_ext <<_ACEOF
10629 cat confdefs.h
>>conftest.
$ac_ext
10630 cat >>conftest.
$ac_ext <<_ACEOF
10631 /* end confdefs.h. */
10632 #include <sys/types.h>
10633 /* Check that off_t can represent 2**63 - 1 correctly.
10634 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10635 since some C++ compilers masquerading as C compilers
10636 incorrectly reject 9223372036854775807. */
10637 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10638 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10639 && LARGE_OFF_T % 2147483647 == 1)
10649 rm -f conftest.
$ac_objext
10650 if { (ac_try
="$ac_compile"
10651 case "(($ac_try" in
10652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10653 *) ac_try_echo=$ac_try;;
10655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10656 $as_echo "$ac_try_echo") >&5
10657 (eval "$ac_compile") 2>conftest.er1
10659 grep -v '^ *+' conftest.er1 >conftest.err
10661 cat conftest.err >&5
10662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } && {
10664 test -z "$ac_c_werror_flag" ||
10665 test ! -s conftest.err
10666 } && test -s conftest.$ac_objext; then
10669 $as_echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.$ac_ext >&5
10675 rm -f core conftest.err conftest.$ac_objext
10677 rm -f conftest.$ac_objext
10678 if { (ac_try="$ac_compile"
10679 case "(($ac_try" in
10680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10681 *) ac_try_echo
=$ac_try;;
10683 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10684 $as_echo "$ac_try_echo") >&5
10685 (eval "$ac_compile") 2>conftest.er1
10687 grep -v '^ *+' conftest.er1
>conftest.err
10689 cat conftest.err
>&5
10690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } && {
10692 test -z "$ac_c_werror_flag" ||
10693 test ! -s conftest.err
10694 } && test -s conftest.
$ac_objext; then
10695 ac_cv_sys_largefile_CC
=' -n32'; break
10697 $as_echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.
$ac_ext >&5
10703 rm -f core conftest.err conftest.
$ac_objext
10707 rm -f conftest.
$ac_ext
10710 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
10711 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10712 if test "$ac_cv_sys_largefile_CC" != no
; then
10713 CC
=$CC$ac_cv_sys_largefile_CC
10716 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10717 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10718 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
10719 $as_echo_n "(cached) " >&6
10722 cat >conftest.
$ac_ext <<_ACEOF
10725 cat confdefs.h
>>conftest.
$ac_ext
10726 cat >>conftest.
$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10728 #include <sys/types.h>
10729 /* Check that off_t can represent 2**63 - 1 correctly.
10730 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10731 since some C++ compilers masquerading as C compilers
10732 incorrectly reject 9223372036854775807. */
10733 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10734 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10735 && LARGE_OFF_T % 2147483647 == 1)
10745 rm -f conftest.
$ac_objext
10746 if { (ac_try
="$ac_compile"
10747 case "(($ac_try" in
10748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10749 *) ac_try_echo=$ac_try;;
10751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10752 $as_echo "$ac_try_echo") >&5
10753 (eval "$ac_compile") 2>conftest.er1
10755 grep -v '^ *+' conftest.er1 >conftest.err
10757 cat conftest.err >&5
10758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } && {
10760 test -z "$ac_c_werror_flag" ||
10761 test ! -s conftest.err
10762 } && test -s conftest.$ac_objext; then
10763 ac_cv_sys_file_offset_bits=no; break
10765 $as_echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10772 cat >conftest.$ac_ext <<_ACEOF
10775 cat confdefs.h >>conftest.$ac_ext
10776 cat >>conftest.$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10778 #define _FILE_OFFSET_BITS 64
10779 #include <sys/types.h>
10780 /* Check that off_t can represent 2**63 - 1 correctly.
10781 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10782 since some C++ compilers masquerading as C compilers
10783 incorrectly reject 9223372036854775807. */
10784 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10785 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10786 && LARGE_OFF_T % 2147483647 == 1)
10796 rm -f conftest.$ac_objext
10797 if { (ac_try="$ac_compile"
10798 case "(($ac_try" in
10799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10800 *) ac_try_echo
=$ac_try;;
10802 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10803 $as_echo "$ac_try_echo") >&5
10804 (eval "$ac_compile") 2>conftest.er1
10806 grep -v '^ *+' conftest.er1
>conftest.err
10808 cat conftest.err
>&5
10809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } && {
10811 test -z "$ac_c_werror_flag" ||
10812 test ! -s conftest.err
10813 } && test -s conftest.
$ac_objext; then
10814 ac_cv_sys_file_offset_bits
=64; break
10816 $as_echo "$as_me: failed program was:" >&5
10817 sed 's/^/| /' conftest.
$ac_ext >&5
10822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10823 ac_cv_sys_file_offset_bits
=unknown
10827 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
10828 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10829 case $ac_cv_sys_file_offset_bits in #(
10832 cat >>confdefs.h
<<_ACEOF
10833 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10838 if test $ac_cv_sys_file_offset_bits = unknown
; then
10839 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
10840 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10841 if test "${ac_cv_sys_large_files+set}" = set; then
10842 $as_echo_n "(cached) " >&6
10845 cat >conftest.
$ac_ext <<_ACEOF
10848 cat confdefs.h
>>conftest.
$ac_ext
10849 cat >>conftest.
$ac_ext <<_ACEOF
10850 /* end confdefs.h. */
10851 #include <sys/types.h>
10852 /* Check that off_t can represent 2**63 - 1 correctly.
10853 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10854 since some C++ compilers masquerading as C compilers
10855 incorrectly reject 9223372036854775807. */
10856 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10857 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10858 && LARGE_OFF_T % 2147483647 == 1)
10868 rm -f conftest.
$ac_objext
10869 if { (ac_try
="$ac_compile"
10870 case "(($ac_try" in
10871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10872 *) ac_try_echo=$ac_try;;
10874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10875 $as_echo "$ac_try_echo") >&5
10876 (eval "$ac_compile") 2>conftest.er1
10878 grep -v '^ *+' conftest.er1 >conftest.err
10880 cat conftest.err >&5
10881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); } && {
10883 test -z "$ac_c_werror_flag" ||
10884 test ! -s conftest.err
10885 } && test -s conftest.$ac_objext; then
10886 ac_cv_sys_large_files=no; break
10888 $as_echo "$as_me: failed program was:" >&5
10889 sed 's/^/| /' conftest.$ac_ext >&5
10894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10895 cat >conftest.$ac_ext <<_ACEOF
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 #define _LARGE_FILES 1
10902 #include <sys/types.h>
10903 /* Check that off_t can represent 2**63 - 1 correctly.
10904 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10905 since some C++ compilers masquerading as C compilers
10906 incorrectly reject 9223372036854775807. */
10907 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10908 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10909 && LARGE_OFF_T % 2147483647 == 1)
10919 rm -f conftest.$ac_objext
10920 if { (ac_try="$ac_compile"
10921 case "(($ac_try" in
10922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10923 *) ac_try_echo
=$ac_try;;
10925 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10926 $as_echo "$ac_try_echo") >&5
10927 (eval "$ac_compile") 2>conftest.er1
10929 grep -v '^ *+' conftest.er1
>conftest.err
10931 cat conftest.err
>&5
10932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } && {
10934 test -z "$ac_c_werror_flag" ||
10935 test ! -s conftest.err
10936 } && test -s conftest.
$ac_objext; then
10937 ac_cv_sys_large_files
=1; break
10939 $as_echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.
$ac_ext >&5
10945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10946 ac_cv_sys_large_files
=unknown
10950 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
10951 $as_echo "$ac_cv_sys_large_files" >&6; }
10952 case $ac_cv_sys_large_files in #(
10955 cat >>confdefs.h
<<_ACEOF
10956 #define _LARGE_FILES $ac_cv_sys_large_files
10966 # Check for needed/wanted data types
10967 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
10968 $as_echo_n "checking for int8_t... " >&6; }
10969 if test "${ac_cv_type_int8_t+set}" = set; then
10970 $as_echo_n "(cached) " >&6
10972 ac_cv_type_int8_t
=no
10973 cat >conftest.
$ac_ext <<_ACEOF
10976 cat confdefs.h
>>conftest.
$ac_ext
10977 cat >>conftest.
$ac_ext <<_ACEOF
10978 /* end confdefs.h. */
10979 $ac_includes_default
10983 if (sizeof (int8_t))
10989 rm -f conftest.
$ac_objext
10990 if { (ac_try
="$ac_compile"
10991 case "(($ac_try" in
10992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10993 *) ac_try_echo=$ac_try;;
10995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10996 $as_echo "$ac_try_echo") >&5
10997 (eval "$ac_compile") 2>conftest.er1
10999 grep -v '^ *+' conftest.er1 >conftest.err
11001 cat conftest.err >&5
11002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); } && {
11004 test -z "$ac_c_werror_flag" ||
11005 test ! -s conftest.err
11006 } && test -s conftest.$ac_objext; then
11007 cat >conftest.$ac_ext <<_ACEOF
11010 cat confdefs.h >>conftest.$ac_ext
11011 cat >>conftest.$ac_ext <<_ACEOF
11012 /* end confdefs.h. */
11013 $ac_includes_default
11017 if (sizeof ((int8_t)))
11023 rm -f conftest.$ac_objext
11024 if { (ac_try="$ac_compile"
11025 case "(($ac_try" in
11026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11027 *) ac_try_echo
=$ac_try;;
11029 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11030 $as_echo "$ac_try_echo") >&5
11031 (eval "$ac_compile") 2>conftest.er1
11033 grep -v '^ *+' conftest.er1
>conftest.err
11035 cat conftest.err
>&5
11036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); } && {
11038 test -z "$ac_c_werror_flag" ||
11039 test ! -s conftest.err
11040 } && test -s conftest.
$ac_objext; then
11043 $as_echo "$as_me: failed program was:" >&5
11044 sed 's/^/| /' conftest.
$ac_ext >&5
11046 ac_cv_type_int8_t
=yes
11049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11051 $as_echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.
$ac_ext >&5
11057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11059 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
11060 $as_echo "$ac_cv_type_int8_t" >&6; }
11061 if test $ac_cv_type_int8_t = yes; then
11063 cat >>confdefs.h
<<_ACEOF
11064 #define HAVE_INT8_T 1
11069 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
11070 $as_echo_n "checking for int16_t... " >&6; }
11071 if test "${ac_cv_type_int16_t+set}" = set; then
11072 $as_echo_n "(cached) " >&6
11074 ac_cv_type_int16_t
=no
11075 cat >conftest.
$ac_ext <<_ACEOF
11078 cat confdefs.h
>>conftest.
$ac_ext
11079 cat >>conftest.
$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11081 $ac_includes_default
11085 if (sizeof (int16_t))
11091 rm -f conftest.
$ac_objext
11092 if { (ac_try
="$ac_compile"
11093 case "(($ac_try" in
11094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11095 *) ac_try_echo=$ac_try;;
11097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11098 $as_echo "$ac_try_echo") >&5
11099 (eval "$ac_compile") 2>conftest.er1
11101 grep -v '^ *+' conftest.er1 >conftest.err
11103 cat conftest.err >&5
11104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); } && {
11106 test -z "$ac_c_werror_flag" ||
11107 test ! -s conftest.err
11108 } && test -s conftest.$ac_objext; then
11109 cat >conftest.$ac_ext <<_ACEOF
11112 cat confdefs.h >>conftest.$ac_ext
11113 cat >>conftest.$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11115 $ac_includes_default
11119 if (sizeof ((int16_t)))
11125 rm -f conftest.$ac_objext
11126 if { (ac_try="$ac_compile"
11127 case "(($ac_try" in
11128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11129 *) ac_try_echo
=$ac_try;;
11131 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11132 $as_echo "$ac_try_echo") >&5
11133 (eval "$ac_compile") 2>conftest.er1
11135 grep -v '^ *+' conftest.er1
>conftest.err
11137 cat conftest.err
>&5
11138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } && {
11140 test -z "$ac_c_werror_flag" ||
11141 test ! -s conftest.err
11142 } && test -s conftest.
$ac_objext; then
11145 $as_echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.
$ac_ext >&5
11148 ac_cv_type_int16_t
=yes
11151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11153 $as_echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.
$ac_ext >&5
11159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11161 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
11162 $as_echo "$ac_cv_type_int16_t" >&6; }
11163 if test $ac_cv_type_int16_t = yes; then
11165 cat >>confdefs.h
<<_ACEOF
11166 #define HAVE_INT16_T 1
11171 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
11172 $as_echo_n "checking for int32_t... " >&6; }
11173 if test "${ac_cv_type_int32_t+set}" = set; then
11174 $as_echo_n "(cached) " >&6
11176 ac_cv_type_int32_t
=no
11177 cat >conftest.
$ac_ext <<_ACEOF
11180 cat confdefs.h
>>conftest.
$ac_ext
11181 cat >>conftest.
$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11183 $ac_includes_default
11187 if (sizeof (int32_t))
11193 rm -f conftest.
$ac_objext
11194 if { (ac_try
="$ac_compile"
11195 case "(($ac_try" in
11196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11197 *) ac_try_echo=$ac_try;;
11199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11200 $as_echo "$ac_try_echo") >&5
11201 (eval "$ac_compile") 2>conftest.er1
11203 grep -v '^ *+' conftest.er1 >conftest.err
11205 cat conftest.err >&5
11206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } && {
11208 test -z "$ac_c_werror_flag" ||
11209 test ! -s conftest.err
11210 } && test -s conftest.$ac_objext; then
11211 cat >conftest.$ac_ext <<_ACEOF
11214 cat confdefs.h >>conftest.$ac_ext
11215 cat >>conftest.$ac_ext <<_ACEOF
11216 /* end confdefs.h. */
11217 $ac_includes_default
11221 if (sizeof ((int32_t)))
11227 rm -f conftest.$ac_objext
11228 if { (ac_try="$ac_compile"
11229 case "(($ac_try" in
11230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11231 *) ac_try_echo
=$ac_try;;
11233 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11234 $as_echo "$ac_try_echo") >&5
11235 (eval "$ac_compile") 2>conftest.er1
11237 grep -v '^ *+' conftest.er1
>conftest.err
11239 cat conftest.err
>&5
11240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } && {
11242 test -z "$ac_c_werror_flag" ||
11243 test ! -s conftest.err
11244 } && test -s conftest.
$ac_objext; then
11247 $as_echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.
$ac_ext >&5
11250 ac_cv_type_int32_t
=yes
11253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11255 $as_echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.
$ac_ext >&5
11261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11263 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
11264 $as_echo "$ac_cv_type_int32_t" >&6; }
11265 if test $ac_cv_type_int32_t = yes; then
11267 cat >>confdefs.h
<<_ACEOF
11268 #define HAVE_INT32_T 1
11273 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
11274 $as_echo_n "checking for int64_t... " >&6; }
11275 if test "${ac_cv_type_int64_t+set}" = set; then
11276 $as_echo_n "(cached) " >&6
11278 ac_cv_type_int64_t
=no
11279 cat >conftest.
$ac_ext <<_ACEOF
11282 cat confdefs.h
>>conftest.
$ac_ext
11283 cat >>conftest.
$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11285 $ac_includes_default
11289 if (sizeof (int64_t))
11295 rm -f conftest.
$ac_objext
11296 if { (ac_try
="$ac_compile"
11297 case "(($ac_try" in
11298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11299 *) ac_try_echo=$ac_try;;
11301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11302 $as_echo "$ac_try_echo") >&5
11303 (eval "$ac_compile") 2>conftest.er1
11305 grep -v '^ *+' conftest.er1 >conftest.err
11307 cat conftest.err >&5
11308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } && {
11310 test -z "$ac_c_werror_flag" ||
11311 test ! -s conftest.err
11312 } && test -s conftest.$ac_objext; then
11313 cat >conftest.$ac_ext <<_ACEOF
11316 cat confdefs.h >>conftest.$ac_ext
11317 cat >>conftest.$ac_ext <<_ACEOF
11318 /* end confdefs.h. */
11319 $ac_includes_default
11323 if (sizeof ((int64_t)))
11329 rm -f conftest.$ac_objext
11330 if { (ac_try="$ac_compile"
11331 case "(($ac_try" in
11332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11333 *) ac_try_echo
=$ac_try;;
11335 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11336 $as_echo "$ac_try_echo") >&5
11337 (eval "$ac_compile") 2>conftest.er1
11339 grep -v '^ *+' conftest.er1
>conftest.err
11341 cat conftest.err
>&5
11342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } && {
11344 test -z "$ac_c_werror_flag" ||
11345 test ! -s conftest.err
11346 } && test -s conftest.
$ac_objext; then
11349 $as_echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.
$ac_ext >&5
11352 ac_cv_type_int64_t
=yes
11355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11357 $as_echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.
$ac_ext >&5
11363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11365 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
11366 $as_echo "$ac_cv_type_int64_t" >&6; }
11367 if test $ac_cv_type_int64_t = yes; then
11369 cat >>confdefs.h
<<_ACEOF
11370 #define HAVE_INT64_T 1
11375 { $as_echo "$as_me:$LINENO: checking for intptr_t" >&5
11376 $as_echo_n "checking for intptr_t... " >&6; }
11377 if test "${ac_cv_type_intptr_t+set}" = set; then
11378 $as_echo_n "(cached) " >&6
11380 ac_cv_type_intptr_t
=no
11381 cat >conftest.
$ac_ext <<_ACEOF
11384 cat confdefs.h
>>conftest.
$ac_ext
11385 cat >>conftest.
$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11387 $ac_includes_default
11391 if (sizeof (intptr_t))
11397 rm -f conftest.
$ac_objext
11398 if { (ac_try
="$ac_compile"
11399 case "(($ac_try" in
11400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11401 *) ac_try_echo=$ac_try;;
11403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11404 $as_echo "$ac_try_echo") >&5
11405 (eval "$ac_compile") 2>conftest.er1
11407 grep -v '^ *+' conftest.er1 >conftest.err
11409 cat conftest.err >&5
11410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); } && {
11412 test -z "$ac_c_werror_flag" ||
11413 test ! -s conftest.err
11414 } && test -s conftest.$ac_objext; then
11415 cat >conftest.$ac_ext <<_ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 $ac_includes_default
11425 if (sizeof ((intptr_t)))
11431 rm -f conftest.$ac_objext
11432 if { (ac_try="$ac_compile"
11433 case "(($ac_try" in
11434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11435 *) ac_try_echo
=$ac_try;;
11437 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11438 $as_echo "$ac_try_echo") >&5
11439 (eval "$ac_compile") 2>conftest.er1
11441 grep -v '^ *+' conftest.er1
>conftest.err
11443 cat conftest.err
>&5
11444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } && {
11446 test -z "$ac_c_werror_flag" ||
11447 test ! -s conftest.err
11448 } && test -s conftest.
$ac_objext; then
11451 $as_echo "$as_me: failed program was:" >&5
11452 sed 's/^/| /' conftest.
$ac_ext >&5
11454 ac_cv_type_intptr_t
=yes
11457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11459 $as_echo "$as_me: failed program was:" >&5
11460 sed 's/^/| /' conftest.
$ac_ext >&5
11465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11467 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
11468 $as_echo "$ac_cv_type_intptr_t" >&6; }
11469 if test $ac_cv_type_intptr_t = yes; then
11471 cat >>confdefs.h
<<_ACEOF
11472 #define HAVE_INTPTR_T 1
11477 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
11478 $as_echo_n "checking for uint8_t... " >&6; }
11479 if test "${ac_cv_type_uint8_t+set}" = set; then
11480 $as_echo_n "(cached) " >&6
11482 ac_cv_type_uint8_t
=no
11483 cat >conftest.
$ac_ext <<_ACEOF
11486 cat confdefs.h
>>conftest.
$ac_ext
11487 cat >>conftest.
$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11489 $ac_includes_default
11493 if (sizeof (uint8_t))
11499 rm -f conftest.
$ac_objext
11500 if { (ac_try
="$ac_compile"
11501 case "(($ac_try" in
11502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11503 *) ac_try_echo=$ac_try;;
11505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11506 $as_echo "$ac_try_echo") >&5
11507 (eval "$ac_compile") 2>conftest.er1
11509 grep -v '^ *+' conftest.er1 >conftest.err
11511 cat conftest.err >&5
11512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } && {
11514 test -z "$ac_c_werror_flag" ||
11515 test ! -s conftest.err
11516 } && test -s conftest.$ac_objext; then
11517 cat >conftest.$ac_ext <<_ACEOF
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11523 $ac_includes_default
11527 if (sizeof ((uint8_t)))
11533 rm -f conftest.$ac_objext
11534 if { (ac_try="$ac_compile"
11535 case "(($ac_try" in
11536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11537 *) ac_try_echo
=$ac_try;;
11539 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11540 $as_echo "$ac_try_echo") >&5
11541 (eval "$ac_compile") 2>conftest.er1
11543 grep -v '^ *+' conftest.er1
>conftest.err
11545 cat conftest.err
>&5
11546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); } && {
11548 test -z "$ac_c_werror_flag" ||
11549 test ! -s conftest.err
11550 } && test -s conftest.
$ac_objext; then
11553 $as_echo "$as_me: failed program was:" >&5
11554 sed 's/^/| /' conftest.
$ac_ext >&5
11556 ac_cv_type_uint8_t
=yes
11559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11561 $as_echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.
$ac_ext >&5
11567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11569 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
11570 $as_echo "$ac_cv_type_uint8_t" >&6; }
11571 if test $ac_cv_type_uint8_t = yes; then
11573 cat >>confdefs.h
<<_ACEOF
11574 #define HAVE_UINT8_T 1
11579 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
11580 $as_echo_n "checking for uint16_t... " >&6; }
11581 if test "${ac_cv_type_uint16_t+set}" = set; then
11582 $as_echo_n "(cached) " >&6
11584 ac_cv_type_uint16_t
=no
11585 cat >conftest.
$ac_ext <<_ACEOF
11588 cat confdefs.h
>>conftest.
$ac_ext
11589 cat >>conftest.
$ac_ext <<_ACEOF
11590 /* end confdefs.h. */
11591 $ac_includes_default
11595 if (sizeof (uint16_t))
11601 rm -f conftest.
$ac_objext
11602 if { (ac_try
="$ac_compile"
11603 case "(($ac_try" in
11604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11605 *) ac_try_echo=$ac_try;;
11607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11608 $as_echo "$ac_try_echo") >&5
11609 (eval "$ac_compile") 2>conftest.er1
11611 grep -v '^ *+' conftest.er1 >conftest.err
11613 cat conftest.err >&5
11614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } && {
11616 test -z "$ac_c_werror_flag" ||
11617 test ! -s conftest.err
11618 } && test -s conftest.$ac_objext; then
11619 cat >conftest.$ac_ext <<_ACEOF
11622 cat confdefs.h >>conftest.$ac_ext
11623 cat >>conftest.$ac_ext <<_ACEOF
11624 /* end confdefs.h. */
11625 $ac_includes_default
11629 if (sizeof ((uint16_t)))
11635 rm -f conftest.$ac_objext
11636 if { (ac_try="$ac_compile"
11637 case "(($ac_try" in
11638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11639 *) ac_try_echo
=$ac_try;;
11641 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11642 $as_echo "$ac_try_echo") >&5
11643 (eval "$ac_compile") 2>conftest.er1
11645 grep -v '^ *+' conftest.er1
>conftest.err
11647 cat conftest.err
>&5
11648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } && {
11650 test -z "$ac_c_werror_flag" ||
11651 test ! -s conftest.err
11652 } && test -s conftest.
$ac_objext; then
11655 $as_echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.
$ac_ext >&5
11658 ac_cv_type_uint16_t
=yes
11661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11663 $as_echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11671 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
11672 $as_echo "$ac_cv_type_uint16_t" >&6; }
11673 if test $ac_cv_type_uint16_t = yes; then
11675 cat >>confdefs.h
<<_ACEOF
11676 #define HAVE_UINT16_T 1
11681 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
11682 $as_echo_n "checking for uint32_t... " >&6; }
11683 if test "${ac_cv_type_uint32_t+set}" = set; then
11684 $as_echo_n "(cached) " >&6
11686 ac_cv_type_uint32_t
=no
11687 cat >conftest.
$ac_ext <<_ACEOF
11690 cat confdefs.h
>>conftest.
$ac_ext
11691 cat >>conftest.
$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693 $ac_includes_default
11697 if (sizeof (uint32_t))
11703 rm -f conftest.
$ac_objext
11704 if { (ac_try
="$ac_compile"
11705 case "(($ac_try" in
11706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11707 *) ac_try_echo=$ac_try;;
11709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11710 $as_echo "$ac_try_echo") >&5
11711 (eval "$ac_compile") 2>conftest.er1
11713 grep -v '^ *+' conftest.er1 >conftest.err
11715 cat conftest.err >&5
11716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } && {
11718 test -z "$ac_c_werror_flag" ||
11719 test ! -s conftest.err
11720 } && test -s conftest.$ac_objext; then
11721 cat >conftest.$ac_ext <<_ACEOF
11724 cat confdefs.h >>conftest.$ac_ext
11725 cat >>conftest.$ac_ext <<_ACEOF
11726 /* end confdefs.h. */
11727 $ac_includes_default
11731 if (sizeof ((uint32_t)))
11737 rm -f conftest.$ac_objext
11738 if { (ac_try="$ac_compile"
11739 case "(($ac_try" in
11740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11741 *) ac_try_echo
=$ac_try;;
11743 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11744 $as_echo "$ac_try_echo") >&5
11745 (eval "$ac_compile") 2>conftest.er1
11747 grep -v '^ *+' conftest.er1
>conftest.err
11749 cat conftest.err
>&5
11750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } && {
11752 test -z "$ac_c_werror_flag" ||
11753 test ! -s conftest.err
11754 } && test -s conftest.
$ac_objext; then
11757 $as_echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.
$ac_ext >&5
11760 ac_cv_type_uint32_t
=yes
11763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11765 $as_echo "$as_me: failed program was:" >&5
11766 sed 's/^/| /' conftest.
$ac_ext >&5
11771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11773 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11774 $as_echo "$ac_cv_type_uint32_t" >&6; }
11775 if test $ac_cv_type_uint32_t = yes; then
11777 cat >>confdefs.h
<<_ACEOF
11778 #define HAVE_UINT32_T 1
11783 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
11784 $as_echo_n "checking for uint64_t... " >&6; }
11785 if test "${ac_cv_type_uint64_t+set}" = set; then
11786 $as_echo_n "(cached) " >&6
11788 ac_cv_type_uint64_t
=no
11789 cat >conftest.
$ac_ext <<_ACEOF
11792 cat confdefs.h
>>conftest.
$ac_ext
11793 cat >>conftest.
$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11795 $ac_includes_default
11799 if (sizeof (uint64_t))
11805 rm -f conftest.
$ac_objext
11806 if { (ac_try
="$ac_compile"
11807 case "(($ac_try" in
11808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11809 *) ac_try_echo=$ac_try;;
11811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11812 $as_echo "$ac_try_echo") >&5
11813 (eval "$ac_compile") 2>conftest.er1
11815 grep -v '^ *+' conftest.er1 >conftest.err
11817 cat conftest.err >&5
11818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } && {
11820 test -z "$ac_c_werror_flag" ||
11821 test ! -s conftest.err
11822 } && test -s conftest.$ac_objext; then
11823 cat >conftest.$ac_ext <<_ACEOF
11826 cat confdefs.h >>conftest.$ac_ext
11827 cat >>conftest.$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829 $ac_includes_default
11833 if (sizeof ((uint64_t)))
11839 rm -f conftest.$ac_objext
11840 if { (ac_try="$ac_compile"
11841 case "(($ac_try" in
11842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11843 *) ac_try_echo
=$ac_try;;
11845 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11846 $as_echo "$ac_try_echo") >&5
11847 (eval "$ac_compile") 2>conftest.er1
11849 grep -v '^ *+' conftest.er1
>conftest.err
11851 cat conftest.err
>&5
11852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } && {
11854 test -z "$ac_c_werror_flag" ||
11855 test ! -s conftest.err
11856 } && test -s conftest.
$ac_objext; then
11859 $as_echo "$as_me: failed program was:" >&5
11860 sed 's/^/| /' conftest.
$ac_ext >&5
11862 ac_cv_type_uint64_t
=yes
11865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11867 $as_echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.
$ac_ext >&5
11873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11875 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11876 $as_echo "$ac_cv_type_uint64_t" >&6; }
11877 if test $ac_cv_type_uint64_t = yes; then
11879 cat >>confdefs.h
<<_ACEOF
11880 #define HAVE_UINT64_T 1
11885 { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5
11886 $as_echo_n "checking for uintptr_t... " >&6; }
11887 if test "${ac_cv_type_uintptr_t+set}" = set; then
11888 $as_echo_n "(cached) " >&6
11890 ac_cv_type_uintptr_t
=no
11891 cat >conftest.
$ac_ext <<_ACEOF
11894 cat confdefs.h
>>conftest.
$ac_ext
11895 cat >>conftest.
$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 $ac_includes_default
11901 if (sizeof (uintptr_t))
11907 rm -f conftest.
$ac_objext
11908 if { (ac_try
="$ac_compile"
11909 case "(($ac_try" in
11910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11911 *) ac_try_echo=$ac_try;;
11913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11914 $as_echo "$ac_try_echo") >&5
11915 (eval "$ac_compile") 2>conftest.er1
11917 grep -v '^ *+' conftest.er1 >conftest.err
11919 cat conftest.err >&5
11920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); } && {
11922 test -z "$ac_c_werror_flag" ||
11923 test ! -s conftest.err
11924 } && test -s conftest.$ac_objext; then
11925 cat >conftest.$ac_ext <<_ACEOF
11928 cat confdefs.h >>conftest.$ac_ext
11929 cat >>conftest.$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11931 $ac_includes_default
11935 if (sizeof ((uintptr_t)))
11941 rm -f conftest.$ac_objext
11942 if { (ac_try="$ac_compile"
11943 case "(($ac_try" in
11944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11945 *) ac_try_echo
=$ac_try;;
11947 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11948 $as_echo "$ac_try_echo") >&5
11949 (eval "$ac_compile") 2>conftest.er1
11951 grep -v '^ *+' conftest.er1
>conftest.err
11953 cat conftest.err
>&5
11954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); } && {
11956 test -z "$ac_c_werror_flag" ||
11957 test ! -s conftest.err
11958 } && test -s conftest.
$ac_objext; then
11961 $as_echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11964 ac_cv_type_uintptr_t
=yes
11967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11969 $as_echo "$as_me: failed program was:" >&5
11970 sed 's/^/| /' conftest.
$ac_ext >&5
11975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11977 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11978 $as_echo "$ac_cv_type_uintptr_t" >&6; }
11979 if test $ac_cv_type_uintptr_t = yes; then
11981 cat >>confdefs.h
<<_ACEOF
11982 #define HAVE_UINTPTR_T 1
11990 # Check for needed/wanted headers
11995 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h
11997 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11998 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11999 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12000 $as_echo_n "checking for $ac_header... " >&6; }
12001 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12002 $as_echo_n "(cached) " >&6
12004 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12005 $as_echo "$as_val"'`
12006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12007 $as_echo "$ac_res" >&6; }
12009 # Is the header compilable?
12010 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12011 $as_echo_n "checking $ac_header usability... " >&6; }
12012 cat >conftest.
$ac_ext <<_ACEOF
12015 cat confdefs.h
>>conftest.
$ac_ext
12016 cat >>conftest.
$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12018 $ac_includes_default
12019 #include <$ac_header>
12021 rm -f conftest.
$ac_objext
12022 if { (ac_try
="$ac_compile"
12023 case "(($ac_try" in
12024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12025 *) ac_try_echo=$ac_try;;
12027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12028 $as_echo "$ac_try_echo") >&5
12029 (eval "$ac_compile") 2>conftest.er1
12031 grep -v '^ *+' conftest.er1 >conftest.err
12033 cat conftest.err >&5
12034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } && {
12036 test -z "$ac_c_werror_flag" ||
12037 test ! -s conftest.err
12038 } && test -s conftest.$ac_objext; then
12039 ac_header_compiler=yes
12041 $as_echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.$ac_ext >&5
12044 ac_header_compiler=no
12047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12048 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12049 $as_echo "$ac_header_compiler" >&6; }
12051 # Is the header present?
12052 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12053 $as_echo_n "checking $ac_header presence... " >&6; }
12054 cat >conftest.$ac_ext <<_ACEOF
12057 cat confdefs.h >>conftest.$ac_ext
12058 cat >>conftest.$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12060 #include <$ac_header>
12062 if { (ac_try="$ac_cpp conftest.$ac_ext"
12063 case "(($ac_try" in
12064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12065 *) ac_try_echo
=$ac_try;;
12067 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12068 $as_echo "$ac_try_echo") >&5
12069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12071 grep -v '^ *+' conftest.er1
>conftest.err
12073 cat conftest.err
>&5
12074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } >/dev
/null
&& {
12076 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12077 test ! -s conftest.err
12079 ac_header_preproc
=yes
12081 $as_echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.
$ac_ext >&5
12084 ac_header_preproc
=no
12087 rm -f conftest.err conftest.
$ac_ext
12088 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12089 $as_echo "$ac_header_preproc" >&6; }
12091 # So? What about this header?
12092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12095 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12097 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12098 ac_header_preproc
=yes
12101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12102 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12104 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12106 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12108 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12110 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12112 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12116 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12117 $as_echo_n "checking for $ac_header... " >&6; }
12118 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12119 $as_echo_n "(cached) " >&6
12121 eval "$as_ac_Header=\$ac_header_preproc"
12123 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12124 $as_echo "$as_val"'`
12125 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12126 $as_echo "$ac_res" >&6; }
12129 if test `eval 'as_val=${'$as_ac_Header'}
12130 $as_echo "$as_val"'` = yes; then
12131 cat >>confdefs.h
<<_ACEOF
12132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12141 # Figure out whether or not we have these functions
12148 for ac_func
in usleep fdatasync localtime_r gmtime_r localtime_s
12150 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12151 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12152 $as_echo_n "checking for $ac_func... " >&6; }
12153 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12154 $as_echo_n "(cached) " >&6
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12164 #define $ac_func innocuous_$ac_func
12166 /* System header to define __stub macros and hopefully few prototypes,
12167 which can conflict with char $ac_func (); below.
12168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12169 <limits.h> exists even on freestanding compilers. */
12172 # include <limits.h>
12174 # include <assert.h>
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12186 /* The GNU C library defines this for functions which it implements
12187 to always fail with ENOSYS. Some functions are actually named
12188 something starting with __ and the normal name is an alias. */
12189 #if defined __stub_$ac_func || defined __stub___$ac_func
12196 return $ac_func ();
12201 rm -f conftest.
$ac_objext conftest
$ac_exeext
12202 if { (ac_try
="$ac_link"
12203 case "(($ac_try" in
12204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12205 *) ac_try_echo=$ac_try;;
12207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12208 $as_echo "$ac_try_echo") >&5
12209 (eval "$ac_link") 2>conftest.er1
12211 grep -v '^ *+' conftest.er1 >conftest.err
12213 cat conftest.err >&5
12214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } && {
12216 test -z "$ac_c_werror_flag" ||
12217 test ! -s conftest.err
12218 } && test -s conftest$ac_exeext && {
12219 test "$cross_compiling" = yes ||
12220 $as_test_x conftest$ac_exeext
12222 eval "$as_ac_var=yes"
12224 $as_echo "$as_me: failed program was:" >&5
12225 sed 's/^/| /' conftest.$ac_ext >&5
12227 eval "$as_ac_var=no"
12230 rm -rf conftest.dSYM
12231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12232 conftest$ac_exeext conftest.$ac_ext
12234 ac_res=`eval 'as_val=${'$as_ac_var'}
12235 $as_echo "$as_val"'`
12236 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12237 $as_echo "$ac_res" >&6; }
12238 if test `eval 'as_val=${'$as_ac_var'}
12239 $as_echo "$as_val"'` = yes; then
12240 cat >>confdefs.h <<_ACEOF
12241 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12249 # By default, we use the amalgamation (this may be changed below...)
12254 # See whether we can run specific tclsh versions known to work well;
12255 # if not, then we fall back to plain tclsh.
12256 # TODO: try other versions before falling back?
12258 for ac_prog in tclsh8.5 tclsh
12260 # Extract the first word of "$ac_prog", so it can be a program name with args.
12261 set dummy $ac_prog; ac_word=$2
12262 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12263 $as_echo_n "checking for $ac_word... " >&6; }
12264 if test "${ac_cv_prog_TCLSH_CMD+set}" = set; then
12265 $as_echo_n "(cached) " >&6
12267 if test -n "$TCLSH_CMD"; then
12268 ac_cv_prog_TCLSH_CMD="$TCLSH_CMD" # Let the user override the test.
12270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12271 for as_dir in $PATH
12274 test -z "$as_dir" && as_dir=.
12275 for ac_exec_ext in '' $ac_executable_extensions; do
12276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12277 ac_cv_prog_TCLSH_CMD="$ac_prog"
12278 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12287 TCLSH_CMD=$ac_cv_prog_TCLSH_CMD
12288 if test -n "$TCLSH_CMD"; then
12289 { $as_echo "$as_me:$LINENO: result: $TCLSH_CMD" >&5
12290 $as_echo "$TCLSH_CMD" >&6; }
12292 { $as_echo "$as_me:$LINENO: result: no" >&5
12293 $as_echo "no" >&6; }
12297 test -n "$TCLSH_CMD" && break
12299 test -n "$TCLSH_CMD" || TCLSH_CMD="none"
12301 if test "$TCLSH_CMD" = "none"; then
12302 # If we can't find a local tclsh, then building the amalgamation will fail.
12303 # We act as though --disable-amalgamation has been used.
12304 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
12311 if test "x${TCLLIBDIR+set}" != "xset" ; then
12312 TCLLIBDIR='$(libdir)'
12313 for i in `echo 'puts stdout $auto_path' |
${TCLSH_CMD}` ; do
12317 TCLLIBDIR="${TCLLIBDIR}/sqlite3"
12322 # Set up an appropriate program prefix
12324 if test "$program_prefix" = "NONE"; then
12329 VERSION=`cat $srcdir/VERSION |
sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
12330 { $as_echo "$as_me:$LINENO: Version set to $VERSION" >&5
12331 $as_echo "$as_me: Version set to $VERSION" >&6;}
12333 RELEASE=`cat $srcdir/VERSION
`
12334 { $as_echo "$as_me:$LINENO: Release set to $RELEASE" >&5
12335 $as_echo "$as_me: Release set to $RELEASE" >&6;}
12337 VERSION_NUMBER=`cat $srcdir/VERSION \
12338 |
sed 's/[^0-9]/ /g' \
12339 |
awk '{printf "%d%03d%03d",$1,$2,$3}'`
12340 { $as_echo "$as_me:$LINENO: Version number set to $VERSION_NUMBER" >&5
12341 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
12345 # Check to see if the --with-hints=FILE option is used. If there is none,
12346 # then check for a files named "$host.hints" and ../$hosts.hints where
12347 # $host is the hostname of the build system. If still no hints are
12348 # found, try looking in $system.hints and ../$system.hints where
12349 # $system is the result of uname -s.
12352 # Check whether --with-hints was given.
12353 if test "${with_hints+set}" = set; then
12354 withval=$with_hints; hints=$withval
12357 if test "$hints" = ""; then
12358 host=`hostname |
sed 's/\..*//'`
12359 if test -r $host.hints; then
12362 if test -r ../$host.hints; then
12363 hints=../$host.hints
12367 if test "$hints" = ""; then
12369 if test -r $sys.hints; then
12372 if test -r ../$sys.hints; then
12373 hints=../$sys.hints
12377 if test "$hints" != ""; then
12378 { $as_echo "$as_me:$LINENO: result: reading hints from $hints" >&5
12379 $as_echo "reading hints from $hints" >&6; }
12384 # Locate a compiler for the build machine. This compiler should
12385 # generate command-line programs that run on the build machine.
12387 if test x"$cross_compiling" = xno; then
12389 BUILD_CFLAGS=$CFLAGS
12391 if test "${BUILD_CC+set}" != set; then
12392 for ac_prog in gcc cc cl
12394 # Extract the first word of "$ac_prog", so it can be a program name with args.
12395 set dummy $ac_prog; ac_word=$2
12396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12397 $as_echo_n "checking for $ac_word... " >&6; }
12398 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
12399 $as_echo_n "(cached) " >&6
12401 if test -n "$BUILD_CC"; then
12402 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
12404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12405 for as_dir in $PATH
12408 test -z "$as_dir" && as_dir=.
12409 for ac_exec_ext in '' $ac_executable_extensions; do
12410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12411 ac_cv_prog_BUILD_CC="$ac_prog"
12412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12421 BUILD_CC=$ac_cv_prog_BUILD_CC
12422 if test -n "$BUILD_CC"; then
12423 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
12424 $as_echo "$BUILD_CC" >&6; }
12426 { $as_echo "$as_me:$LINENO: result: no" >&5
12427 $as_echo "no" >&6; }
12431 test -n "$BUILD_CC" && break
12435 if test "${BUILD_CFLAGS+set}" != set; then
12442 # Do we want to support multithreaded use of sqlite
12444 # Check whether --enable-threadsafe was given.
12445 if test "${enable_threadsafe+set}" = set; then
12446 enableval=$enable_threadsafe;
12448 enable_threadsafe=yes
12451 { $as_echo "$as_me:$LINENO: checking whether to support threadsafe operation" >&5
12452 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
12453 if test "$enable_threadsafe" = "no"; then
12454 SQLITE_THREADSAFE=0
12455 { $as_echo "$as_me:$LINENO: result: no" >&5
12456 $as_echo "no" >&6; }
12458 SQLITE_THREADSAFE=1
12459 { $as_echo "$as_me:$LINENO: result: yes" >&5
12460 $as_echo "yes" >&6; }
12464 if test "$SQLITE_THREADSAFE" = "1"; then
12465 { $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
12466 $as_echo_n "checking for library containing pthread_create... " >&6; }
12467 if test "${ac_cv_search_pthread_create+set}" = set; then
12468 $as_echo_n "(cached) " >&6
12470 ac_func_search_save_LIBS=$LIBS
12471 cat >conftest.$ac_ext <<_ACEOF
12474 cat confdefs.h >>conftest.$ac_ext
12475 cat >>conftest.$ac_ext <<_ACEOF
12476 /* end confdefs.h. */
12478 /* Override any GCC internal prototype to avoid an error.
12479 Use char because int might match the return type of a GCC
12480 builtin and then its argument prototype would still apply. */
12484 char pthread_create ();
12488 return pthread_create ();
12493 for ac_lib in '' pthread; do
12494 if test -z "$ac_lib"; then
12495 ac_res="none required"
12498 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12500 rm -f conftest.$ac_objext conftest$ac_exeext
12501 if { (ac_try="$ac_link"
12502 case "(($ac_try" in
12503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12504 *) ac_try_echo
=$ac_try;;
12506 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12507 $as_echo "$ac_try_echo") >&5
12508 (eval "$ac_link") 2>conftest.er1
12510 grep -v '^ *+' conftest.er1
>conftest.err
12512 cat conftest.err
>&5
12513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); } && {
12515 test -z "$ac_c_werror_flag" ||
12516 test ! -s conftest.err
12517 } && test -s conftest
$ac_exeext && {
12518 test "$cross_compiling" = yes ||
12519 $as_test_x conftest
$ac_exeext
12521 ac_cv_search_pthread_create
=$ac_res
12523 $as_echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.
$ac_ext >&5
12529 rm -rf conftest.dSYM
12530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12532 if test "${ac_cv_search_pthread_create+set}" = set; then
12536 if test "${ac_cv_search_pthread_create+set}" = set; then
12539 ac_cv_search_pthread_create
=no
12541 rm conftest.
$ac_ext
12542 LIBS
=$ac_func_search_save_LIBS
12544 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
12545 $as_echo "$ac_cv_search_pthread_create" >&6; }
12546 ac_res
=$ac_cv_search_pthread_create
12547 if test "$ac_res" != no
; then
12548 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12555 # Do we want to allow a connection created in one thread to be used
12556 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
12557 # due to bugs in the threading implementations. This is thus off by default.
12559 # Check whether --enable-cross-thread-connections was given.
12560 if test "${enable_cross_thread_connections+set}" = set; then
12561 enableval
=$enable_cross_thread_connections;
12563 enable_xthreadconnect
=no
12566 { $as_echo "$as_me:$LINENO: checking whether to allow connections to be shared across threads" >&5
12567 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12568 if test "$enable_xthreadconnect" = "no"; then
12570 { $as_echo "$as_me:$LINENO: result: no" >&5
12571 $as_echo "no" >&6; }
12573 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12574 { $as_echo "$as_me:$LINENO: result: yes" >&5
12575 $as_echo "yes" >&6; }
12580 # Do we want to support release
12582 # Check whether --enable-releasemode was given.
12583 if test "${enable_releasemode+set}" = set; then
12584 enableval
=$enable_releasemode;
12586 enable_releasemode
=no
12589 { $as_echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
12590 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12591 if test "$enable_releasemode" = "no"; then
12593 { $as_echo "$as_me:$LINENO: result: no" >&5
12594 $as_echo "no" >&6; }
12596 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
12597 { $as_echo "$as_me:$LINENO: result: yes" >&5
12598 $as_echo "yes" >&6; }
12603 # Do we want temporary databases in memory
12605 # Check whether --enable-tempstore was given.
12606 if test "${enable_tempstore+set}" = set; then
12607 enableval
=$enable_tempstore;
12609 enable_tempstore
=no
12612 { $as_echo "$as_me:$LINENO: checking whether to use an in-ram database for temporary tables" >&5
12613 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12614 case "$enable_tempstore" in
12617 { $as_echo "$as_me:$LINENO: result: never" >&5
12618 $as_echo "never" >&6; }
12622 { $as_echo "$as_me:$LINENO: result: no" >&5
12623 $as_echo "no" >&6; }
12627 { $as_echo "$as_me:$LINENO: result: yes" >&5
12628 $as_echo "yes" >&6; }
12632 { $as_echo "$as_me:$LINENO: result: always" >&5
12633 $as_echo "always" >&6; }
12637 { $as_echo "$as_me:$LINENO: result: no" >&5
12638 $as_echo "no" >&6; }
12645 # Lots of things are different if we are compiling for Windows using
12646 # the CYGWIN environment. So check for that special case and handle
12647 # things accordingly.
12649 { $as_echo "$as_me:$LINENO: checking if executables have the .exe suffix" >&5
12650 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12651 if test "$config_BUILD_EXEEXT" = ".exe"; then
12653 { $as_echo "$as_me:$LINENO: result: yes" >&5
12654 $as_echo "yes" >&6; }
12656 { $as_echo "$as_me:$LINENO: result: unknown" >&5
12657 $as_echo "unknown" >&6; }
12659 if test "$CYGWIN" != "yes"; then
12660 { $as_echo "$as_me:$LINENO: checking host system type" >&5
12661 $as_echo_n "checking host system type... " >&6; }
12662 if test "${ac_cv_host+set}" = set; then
12663 $as_echo_n "(cached) " >&6
12665 if test "x$host_alias" = x
; then
12666 ac_cv_host
=$ac_cv_build
12668 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12669 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12670 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12671 { (exit 1); exit 1; }; }
12675 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12676 $as_echo "$ac_cv_host" >&6; }
12677 case $ac_cv_host in
12679 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12680 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
12681 { (exit 1); exit 1; }; };;
12684 ac_save_IFS
=$IFS; IFS
='-'
12690 # Remember, the first character of IFS is used to create $*,
12691 # except with old shells:
12694 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
12698 *cygwin
* ) CYGWIN
=yes;;
12703 if test "$CYGWIN" = "yes"; then
12706 BUILD_EXEEXT
=$EXEEXT
12708 if test x
"$cross_compiling" = xno
; then
12709 TARGET_EXEEXT
=$BUILD_EXEEXT
12711 TARGET_EXEEXT
=$config_TARGET_EXEEXT
12713 if test "$TARGET_EXEEXT" = ".exe"; then
12714 if test $OS2_SHELL ; then
12718 CFLAGS
="$CFLAGS -DSQLITE_OS_OS2=1"
12723 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
12729 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
12739 # Figure out all the parameters needed to compile against Tcl.
12741 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12742 # macros in the in the tcl.m4 file of the standard TCL distribution.
12743 # Those macros could not be used directly since we have to make some
12744 # minor changes to accomodate systems that do not have TCL installed.
12746 # Check whether --enable-tcl was given.
12747 if test "${enable_tcl+set}" = set; then
12748 enableval
=$enable_tcl; use_tcl
=$enableval
12753 if test "${use_tcl}" = "yes" ; then
12755 # Check whether --with-tcl was given.
12756 if test "${with_tcl+set}" = set; then
12757 withval
=$with_tcl; with_tclconfig
=${withval}
12760 { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
12761 $as_echo_n "checking for Tcl configuration... " >&6; }
12762 if test "${ac_cv_c_tclconfig+set}" = set; then
12763 $as_echo_n "(cached) " >&6
12766 # First check to see if --with-tcl was specified.
12767 if test x
"${with_tclconfig}" != x
; then
12768 if test -f "${with_tclconfig}/tclConfig.sh" ; then
12769 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
12771 { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
12772 $as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
12773 { (exit 1); exit 1; }; }
12777 # Start autosearch by asking tclsh
12778 if test x
"$cross_compiling" = xno
; then
12779 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12781 if test -f "$i/tclConfig.sh" ; then
12782 ac_cv_c_tclconfig
="$i"
12788 # then check for a private Tcl installation
12789 if test x
"${ac_cv_c_tclconfig}" = x
; then
12792 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12793 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12794 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12796 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12797 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12798 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12800 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12801 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12802 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12804 if test -f "$i/unix/tclConfig.sh" ; then
12805 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12811 # check in a few common install locations
12812 if test x
"${ac_cv_c_tclconfig}" = x
; then
12814 `ls -d ${libdir} 2>/dev/null` \
12815 `ls -d /usr/local/lib 2>/dev/null` \
12816 `ls -d /usr/contrib/lib 2>/dev/null` \
12817 `ls -d /usr/lib 2>/dev/null`
12819 if test -f "$i/tclConfig.sh" ; then
12820 ac_cv_c_tclconfig
=`(cd $i; pwd)`
12826 # check in a few other private locations
12827 if test x
"${ac_cv_c_tclconfig}" = x
; then
12830 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12831 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12832 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12834 if test -f "$i/unix/tclConfig.sh" ; then
12835 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12844 if test x
"${ac_cv_c_tclconfig}" = x
; then
12846 { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
12847 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12848 { $as_echo "$as_me:$LINENO: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12849 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12850 { $as_echo "$as_me:$LINENO: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12851 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12853 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
12854 { $as_echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12855 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12857 { $as_echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12858 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12859 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12860 { $as_echo "$as_me:$LINENO: result: loading" >&5
12861 $as_echo "loading" >&6; }
12862 .
$TCL_BIN_DIR/tclConfig.sh
12864 { $as_echo "$as_me:$LINENO: result: file not found" >&5
12865 $as_echo "file not found" >&6; }
12869 # If the TCL_BIN_DIR is the build directory (not the install directory),
12870 # then set the common variable name to the value of the build variables.
12871 # For example, the variable TCL_LIB_SPEC will be set to the value
12872 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12873 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12874 # installed and uninstalled version of Tcl.
12877 if test -f $TCL_BIN_DIR/Makefile
; then
12878 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
12879 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
12880 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
12884 # eval is required to do the TCL_DBGX substitution
12887 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12888 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12889 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12891 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12892 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12893 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12910 if test "${use_tcl}" = "no" ; then
12918 # Figure out what C libraries are required to compile programs
12919 # that use "readline()" library.
12921 TARGET_READLINE_LIBS
=""
12922 TARGET_READLINE_INC
=""
12923 TARGET_HAVE_READLINE
=0
12924 # Check whether --enable-readline was given.
12925 if test "${enable_readline+set}" = set; then
12926 enableval
=$enable_readline; with_readline
=$enableval
12932 if test x
"$with_readline" != xno
; then
12936 # Check whether --with-readline-lib was given.
12937 if test "${with_readline_lib+set}" = set; then
12938 withval
=$with_readline_lib; with_readline_lib
=$withval
12940 with_readline_lib
="auto"
12943 if test "x$with_readline_lib" = xauto
; then
12946 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12947 $as_echo_n "checking for library containing tgetent... " >&6; }
12948 if test "${ac_cv_search_tgetent+set}" = set; then
12949 $as_echo_n "(cached) " >&6
12951 ac_func_search_save_LIBS
=$LIBS
12952 cat >conftest.
$ac_ext <<_ACEOF
12955 cat confdefs.h
>>conftest.
$ac_ext
12956 cat >>conftest.
$ac_ext <<_ACEOF
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12974 for ac_lib
in '' readline ncurses curses termcap
; do
12975 if test -z "$ac_lib"; then
12976 ac_res
="none required"
12979 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12981 rm -f conftest.
$ac_objext conftest
$ac_exeext
12982 if { (ac_try
="$ac_link"
12983 case "(($ac_try" in
12984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12985 *) ac_try_echo=$ac_try;;
12987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12988 $as_echo "$ac_try_echo") >&5
12989 (eval "$ac_link") 2>conftest.er1
12991 grep -v '^ *+' conftest.er1 >conftest.err
12993 cat conftest.err >&5
12994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } && {
12996 test -z "$ac_c_werror_flag" ||
12997 test ! -s conftest.err
12998 } && test -s conftest$ac_exeext && {
12999 test "$cross_compiling" = yes ||
13000 $as_test_x conftest$ac_exeext
13002 ac_cv_search_tgetent=$ac_res
13004 $as_echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13010 rm -rf conftest.dSYM
13011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13013 if test "${ac_cv_search_tgetent+set}" = set; then
13017 if test "${ac_cv_search_tgetent+set}" = set; then
13020 ac_cv_search_tgetent=no
13022 rm conftest.$ac_ext
13023 LIBS=$ac_func_search_save_LIBS
13025 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13026 $as_echo "$ac_cv_search_tgetent" >&6; }
13027 ac_res=$ac_cv_search_tgetent
13028 if test "$ac_res" != no; then
13029 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13035 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13036 $as_echo_n "checking for readline in -lreadline... " >&6; }
13037 if test "${ac_cv_lib_readline_readline+set}" = set; then
13038 $as_echo_n "(cached) " >&6
13040 ac_check_lib_save_LIBS=$LIBS
13041 LIBS="-lreadline $LIBS"
13042 cat >conftest.$ac_ext <<_ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13049 /* Override any GCC internal prototype to avoid an error.
13050 Use char because int might match the return type of a GCC
13051 builtin and then its argument prototype would still apply. */
13059 return readline ();
13064 rm -f conftest.$ac_objext conftest$ac_exeext
13065 if { (ac_try="$ac_link"
13066 case "(($ac_try" in
13067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13068 *) ac_try_echo
=$ac_try;;
13070 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13071 $as_echo "$ac_try_echo") >&5
13072 (eval "$ac_link") 2>conftest.er1
13074 grep -v '^ *+' conftest.er1
>conftest.err
13076 cat conftest.err
>&5
13077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); } && {
13079 test -z "$ac_c_werror_flag" ||
13080 test ! -s conftest.err
13081 } && test -s conftest
$ac_exeext && {
13082 test "$cross_compiling" = yes ||
13083 $as_test_x conftest
$ac_exeext
13085 ac_cv_lib_readline_readline
=yes
13087 $as_echo "$as_me: failed program was:" >&5
13088 sed 's/^/| /' conftest.
$ac_ext >&5
13090 ac_cv_lib_readline_readline
=no
13093 rm -rf conftest.dSYM
13094 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13095 conftest
$ac_exeext conftest.
$ac_ext
13096 LIBS
=$ac_check_lib_save_LIBS
13098 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13099 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13100 if test $ac_cv_lib_readline_readline = yes; then
13101 TARGET_READLINE_LIBS
="-lreadline"
13106 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
13109 TARGET_READLINE_LIBS
="$with_readline_lib"
13113 # Check whether --with-readline-inc was given.
13114 if test "${with_readline_inc+set}" = set; then
13115 withval
=$with_readline_inc; with_readline_inc
=$withval
13117 with_readline_inc
="auto"
13120 if test "x$with_readline_inc" = xauto
; then
13121 if test "${ac_cv_header_readline_h+set}" = set; then
13122 { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13123 $as_echo_n "checking for readline.h... " >&6; }
13124 if test "${ac_cv_header_readline_h+set}" = set; then
13125 $as_echo_n "(cached) " >&6
13127 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13128 $as_echo "$ac_cv_header_readline_h" >&6; }
13130 # Is the header compilable?
13131 { $as_echo "$as_me:$LINENO: checking readline.h usability" >&5
13132 $as_echo_n "checking readline.h usability... " >&6; }
13133 cat >conftest.
$ac_ext <<_ACEOF
13136 cat confdefs.h
>>conftest.
$ac_ext
13137 cat >>conftest.
$ac_ext <<_ACEOF
13138 /* end confdefs.h. */
13139 $ac_includes_default
13140 #include <readline.h>
13142 rm -f conftest.
$ac_objext
13143 if { (ac_try
="$ac_compile"
13144 case "(($ac_try" in
13145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13146 *) ac_try_echo=$ac_try;;
13148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13149 $as_echo "$ac_try_echo") >&5
13150 (eval "$ac_compile") 2>conftest.er1
13152 grep -v '^ *+' conftest.er1 >conftest.err
13154 cat conftest.err >&5
13155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } && {
13157 test -z "$ac_c_werror_flag" ||
13158 test ! -s conftest.err
13159 } && test -s conftest.$ac_objext; then
13160 ac_header_compiler=yes
13162 $as_echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13165 ac_header_compiler=no
13168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13169 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13170 $as_echo "$ac_header_compiler" >&6; }
13172 # Is the header present?
13173 { $as_echo "$as_me:$LINENO: checking readline.h presence" >&5
13174 $as_echo_n "checking readline.h presence... " >&6; }
13175 cat >conftest.$ac_ext <<_ACEOF
13178 cat confdefs.h >>conftest.$ac_ext
13179 cat >>conftest.$ac_ext <<_ACEOF
13180 /* end confdefs.h. */
13181 #include <readline.h>
13183 if { (ac_try="$ac_cpp conftest.$ac_ext"
13184 case "(($ac_try" in
13185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13186 *) ac_try_echo
=$ac_try;;
13188 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13189 $as_echo "$ac_try_echo") >&5
13190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13192 grep -v '^ *+' conftest.er1
>conftest.err
13194 cat conftest.err
>&5
13195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); } >/dev
/null
&& {
13197 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13198 test ! -s conftest.err
13200 ac_header_preproc
=yes
13202 $as_echo "$as_me: failed program was:" >&5
13203 sed 's/^/| /' conftest.
$ac_ext >&5
13205 ac_header_preproc
=no
13208 rm -f conftest.err conftest.
$ac_ext
13209 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13210 $as_echo "$ac_header_preproc" >&6; }
13212 # So? What about this header?
13213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13215 { $as_echo "$as_me:$LINENO: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
13216 $as_echo "$as_me: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13217 { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the compiler's result" >&5
13218 $as_echo "$as_me: WARNING: readline.h: proceeding with the compiler's result" >&2;}
13219 ac_header_preproc
=yes
13222 { $as_echo "$as_me:$LINENO: WARNING: readline.h: present but cannot be compiled" >&5
13223 $as_echo "$as_me: WARNING: readline.h: present but cannot be compiled" >&2;}
13224 { $as_echo "$as_me:$LINENO: WARNING: readline.h: check for missing prerequisite headers?" >&5
13225 $as_echo "$as_me: WARNING: readline.h: check for missing prerequisite headers?" >&2;}
13226 { $as_echo "$as_me:$LINENO: WARNING: readline.h: see the Autoconf documentation" >&5
13227 $as_echo "$as_me: WARNING: readline.h: see the Autoconf documentation" >&2;}
13228 { $as_echo "$as_me:$LINENO: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&5
13229 $as_echo "$as_me: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
13230 { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the preprocessor's result" >&5
13231 $as_echo "$as_me: WARNING: readline.h: proceeding with the preprocessor's result" >&2;}
13232 { $as_echo "$as_me:$LINENO: WARNING: readline.h: in the future, the compiler will take precedence" >&5
13233 $as_echo "$as_me: WARNING: readline.h: in the future, the compiler will take precedence" >&2;}
13237 { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13238 $as_echo_n "checking for readline.h... " >&6; }
13239 if test "${ac_cv_header_readline_h+set}" = set; then
13240 $as_echo_n "(cached) " >&6
13242 ac_cv_header_readline_h
=$ac_header_preproc
13244 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13245 $as_echo "$ac_cv_header_readline_h" >&6; }
13248 if test $ac_cv_header_readline_h = yes; then
13253 if test "$cross_compiling" != yes; then
13254 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
13255 for subdir
in include include
/readline
; do
13256 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
13257 { $as_echo "$as_me:$LINENO: checking for $dir/$subdir/readline.h" >&5
13258 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
13259 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
13260 $as_echo_n "(cached) " >&6
13262 test "$cross_compiling" = yes &&
13263 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13264 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13265 { (exit 1); exit 1; }; }
13266 if test -r "$dir/$subdir/readline.h"; then
13267 eval "$as_ac_File=yes"
13269 eval "$as_ac_File=no"
13272 ac_res
=`eval 'as_val=${'$as_ac_File'}
13273 $as_echo "$as_val"'`
13274 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13275 $as_echo "$ac_res" >&6; }
13276 if test `eval 'as_val=${'$as_ac_File'}
13277 $as_echo "$as_val"'` = yes; then
13281 if test "$found" = "yes"; then
13282 TARGET_READLINE_INC
="-I$dir/$subdir"
13286 test "$found" = "yes" && break
13294 TARGET_READLINE_INC
="$with_readline_inc"
13297 if test x
"$found" = xno
; then
13298 TARGET_READLINE_LIBS
=""
13299 TARGET_READLINE_INC
=""
13300 TARGET_HAVE_READLINE
=0
13302 TARGET_HAVE_READLINE
=1
13311 # Figure out what C libraries are required to compile programs
13312 # that use "fdatasync()" function.
13314 { $as_echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
13315 $as_echo_n "checking for library containing fdatasync... " >&6; }
13316 if test "${ac_cv_search_fdatasync+set}" = set; then
13317 $as_echo_n "(cached) " >&6
13319 ac_func_search_save_LIBS
=$LIBS
13320 cat >conftest.
$ac_ext <<_ACEOF
13323 cat confdefs.h
>>conftest.
$ac_ext
13324 cat >>conftest.
$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13337 return fdatasync ();
13342 for ac_lib
in '' rt
; do
13343 if test -z "$ac_lib"; then
13344 ac_res
="none required"
13347 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13349 rm -f conftest.
$ac_objext conftest
$ac_exeext
13350 if { (ac_try
="$ac_link"
13351 case "(($ac_try" in
13352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13353 *) ac_try_echo=$ac_try;;
13355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13356 $as_echo "$ac_try_echo") >&5
13357 (eval "$ac_link") 2>conftest.er1
13359 grep -v '^ *+' conftest.er1 >conftest.err
13361 cat conftest.err >&5
13362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } && {
13364 test -z "$ac_c_werror_flag" ||
13365 test ! -s conftest.err
13366 } && test -s conftest$ac_exeext && {
13367 test "$cross_compiling" = yes ||
13368 $as_test_x conftest$ac_exeext
13370 ac_cv_search_fdatasync=$ac_res
13372 $as_echo "$as_me: failed program was:" >&5
13373 sed 's/^/| /' conftest.$ac_ext >&5
13378 rm -rf conftest.dSYM
13379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13381 if test "${ac_cv_search_fdatasync+set}" = set; then
13385 if test "${ac_cv_search_fdatasync+set}" = set; then
13388 ac_cv_search_fdatasync=no
13390 rm conftest.$ac_ext
13391 LIBS=$ac_func_search_save_LIBS
13393 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_fdatasync" >&5
13394 $as_echo "$ac_cv_search_fdatasync" >&6; }
13395 ac_res=$ac_cv_search_fdatasync
13396 if test "$ac_res" != no; then
13397 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13403 # check for debug enabled
13404 # Check whether --enable-debug was given.
13405 if test "${enable_debug+set}" = set; then
13406 enableval=$enable_debug; use_debug=$enableval
13411 if test "${use_debug}" = "yes" ; then
13412 TARGET_DEBUG="-DSQLITE_DEBUG=1"
13414 TARGET_DEBUG="-DNDEBUG"
13419 # See whether we should use the amalgamation to build
13420 # Check whether --enable-amalgamation was given.
13421 if test "${enable_amalgamation+set}" = set; then
13422 enableval=$enable_amalgamation; use_amalgamation=$enableval
13424 use_amalgamation=yes
13427 if test "${use_amalgamation}" != "yes" ; then
13433 # See whether we should allow loadable extensions
13434 # Check whether --enable-load-extension was given.
13435 if test "${enable_load_extension+set}" = set; then
13436 enableval=$enable_load_extension; use_loadextension=$enableval
13438 use_loadextension=no
13441 if test "${use_loadextension}" = "yes" ; then
13442 OPT_FEATURE_FLAGS=""
13444 OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
13448 # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
13449 for option in $CFLAGS $CPPFLAGS
13452 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS="$OPT_FEATURE_FLAGS $option";;
13453 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS="$OPT_FEATURE_FLAGS $option";;
13459 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13461 for option in $CFLAGS
13465 -DSQLITE_ENABLE*) ;;
13466 *) ac_temp_CFLAGS="$ac_temp_CFLAGS $option";;
13469 CFLAGS=$ac_temp_CFLAGS
13472 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13473 ac_temp_CPPFLAGS=""
13474 for option in $CPPFLAGS
13478 -DSQLITE_ENABLE*) ;;
13479 *) ac_temp_CPPFLAGS="$ac_temp_CPPFLAGS $option";;
13482 CPPFLAGS=$ac_temp_CPPFLAGS
13485 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13486 ac_temp_BUILD_CFLAGS=""
13487 for option in $BUILD_CFLAGS
13491 -DSQLITE_ENABLE*) ;;
13492 *) ac_temp_BUILD_CFLAGS="$ac_temp_BUILD_CFLAGS $option";;
13495 BUILD_CFLAGS=$ac_temp_BUILD_CFLAGS
13499 # See whether we should use GCOV
13500 # Check whether --enable-gcov was given.
13501 if test "${enable_gcov+set}" = set; then
13502 enableval=$enable_gcov; use_gcov=$enableval
13507 if test "${use_gcov}" = "yes" ; then
13516 # Output the config header
13517 ac_config_headers="$ac_config_headers config.h"
13521 # Generate the output files.
13524 ac_config_files="$ac_config_files Makefile sqlite3.pc"
13526 cat >confcache <<\_ACEOF
13527 # This file is a shell script that caches the results of configure
13528 # tests run on this system so they can be shared between configure
13529 # scripts and configure runs, see configure's option --config-cache.
13530 # It is not useful on other systems. If it contains results you don't
13531 # want to keep, you may remove or edit it.
13533 # config.status only pays attention to the cache file if you give it
13534 # the --recheck option to rerun configure.
13536 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
13537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13538 # following values.
13542 # The following way of writing the cache mishandles newlines in values,
13543 # but we know of no workaround that is simple, portable, and efficient.
13544 # So, we kill variables containing newlines.
13545 # Ultrix sh set writes to stderr and can't be redirected directly,
13546 # and sets the high bit in the cache file unless we assign to the vars.
13548 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13549 eval ac_val
=\$
$ac_var
13553 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13554 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13557 _ | IFS | as_nl
) ;; #(
13558 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13559 *) $as_unset $ac_var ;;
13565 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13566 *${as_nl}ac_space
=\
*)
13567 # `set' does not quote correctly, so add quotes (double-quote
13568 # substitution turns \\\\ into \\, and sed turns \\ into \).
13571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13574 # `set' quotes correctly as required by POSIX, so do not add quotes.
13575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13586 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13588 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13589 if test -w "$cache_file"; then
13590 test "x$cache_file" != "x/dev/null" &&
13591 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13592 $as_echo "$as_me: updating cache $cache_file" >&6;}
13593 cat confcache
>$cache_file
13595 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13596 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13601 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13602 # Let make expand exec_prefix.
13603 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13605 DEFS
=-DHAVE_CONFIG_H
13609 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13610 # 1. Remove the extension, and $U if already installed.
13611 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13612 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13613 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13614 # will be set to the directory where LIBOBJS objects are built.
13615 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13616 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13618 LIBOBJS
=$ac_libobjs
13620 LTLIBOBJS
=$ac_ltlibobjs
13624 : ${CONFIG_STATUS=./config.status}
13626 ac_clean_files_save
=$ac_clean_files
13627 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13628 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13629 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13630 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13632 # Generated by $as_me.
13633 # Run this file to recreate the current configuration.
13634 # Compiler output produced by configure, useful for debugging
13635 # configure, is in config.log if it exists.
13638 ac_cs_recheck=false
13640 SHELL=\${CONFIG_SHELL-$SHELL}
13643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13644 ## --------------------- ##
13645 ## M4sh Initialization. ##
13646 ## --------------------- ##
13648 # Be more Bourne compatible
13649 DUALCASE
=1; export DUALCASE
# for MKS sh
13650 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13653 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13654 # is contrary to our usage. Disable this feature.
13655 alias -g '${1+"$@"}'='"$@"'
13656 setopt NO_GLOB_SUBST
13658 case `(set -o) 2>/dev/null` in
13659 *posix
*) set -o posix
;;
13668 # Avoid depending upon Character Ranges.
13669 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13670 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13671 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13672 as_cr_digits
='0123456789'
13673 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13678 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13679 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13680 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13681 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13682 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13683 as_echo='printf %s
\n'
13684 as_echo_n='printf %s
'
13686 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13687 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13688 as_echo_n='/usr
/ucb
/echo -n'
13690 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13691 as_echo_n_body='eval
13695 expr "X$arg" : "X\\(.*\\)$as_nl";
13696 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13698 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13700 export as_echo_n_body
13701 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13703 export as_echo_body
13704 as_echo='sh
-c $as_echo_body as_echo
'
13707 # The user is always right.
13708 if test "${PATH_SEPARATOR+set}" != set; then
13710 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13711 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13716 # Support unset when possible.
13717 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13725 # We need space, tab and new line, in precisely that order. Quoting is
13726 # there to prevent editors from complaining about space-tab.
13727 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13728 # splitting by setting IFS to empty value.)
13731 # Find who we are. Look in the path if we contain no directory separator.
13733 *[\\/]* ) as_myself=$0 ;;
13734 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13735 for as_dir in $PATH
13738 test -z "$as_dir" && as_dir=.
13739 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13745 # We did not find ourselves, most probably we were run as `sh COMMAND'
13746 # in which case we are not to be found in the path.
13747 if test "x$as_myself" = x
; then
13750 if test ! -f "$as_myself"; then
13751 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13752 { (exit 1); exit 1; }
13755 # Work around bugs in pre-3.0 UWIN ksh.
13756 for as_var
in ENV MAIL MAILPATH
13757 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13769 # Required to use basename.
13770 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13771 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13777 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13778 as_basename
=basename
13784 # Name of the executable.
13785 as_me
=`$as_basename -- "$0" ||
13786 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13787 X"$0" : 'X\(//\)$' \| \
13788 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13790 sed '/^.*\/\([^/][^/]*\)\/*$/{
13809 as_lineno_1
=$LINENO
13810 as_lineno_2
=$LINENO
13811 test "x$as_lineno_1" != "x$as_lineno_2" &&
13812 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13814 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13815 # uniformly replaced by the line number. The first 'sed' inserts a
13816 # line-number line after each line using $LINENO; the second 'sed'
13817 # does the real work. The second script uses 'N' to pair each
13818 # line-number line with the line containing $LINENO, and appends
13819 # trailing '-' during substitution so that $LINENO is not a special
13820 # case at line end.
13821 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13822 # scripts with optimization help from Paolo Bonzini. Blame Lee
13823 # E. McMahon (1931-1989) for sed's syntax. :-)
13835 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13838 ' >$as_me.lineno
&&
13839 chmod +x
"$as_me.lineno" ||
13840 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13841 { (exit 1); exit 1; }; }
13843 # Don't try to exec as it changes $[0], causing all sort of problems
13844 # (the dirname of $[0] is not the place where we might find the
13845 # original and so on. Autoconf is especially sensitive to this).
13846 .
"./$as_me.lineno"
13847 # Exit status is that of the last command.
13852 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13858 ECHO_C
= ECHO_N
= ECHO_T
=
13859 case `echo -n x` in
13861 case `echo 'x\c'` in
13862 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13868 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13869 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13875 rm -f conf$$ conf$$.exe conf$$.
file
13876 if test -d conf$$.dir
; then
13877 rm -f conf$$.dir
/conf$$.
file
13880 mkdir conf$$.dir
2>/dev
/null
13882 if (echo >conf$$.
file) 2>/dev
/null
; then
13883 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13885 # ... but there are two gotchas:
13886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13888 # In both cases, we have to default to `cp -p'.
13889 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13891 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13899 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13900 rmdir conf$$.dir
2>/dev
/null
13902 if mkdir
-p .
2>/dev
/null
; then
13905 test -d .
/-p && rmdir .
/-p
13909 if test -x / >/dev
/null
2>&1; then
13910 as_test_x
='test -x'
13912 if ls -dL / >/dev
/null
2>&1; then
13919 if test -d "$1"; then
13925 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13926 ???[sx]*):;;*)false;;esac;fi
13930 as_executable_p
=$as_test_x
13932 # Sed expression to map a string onto a valid CPP name.
13933 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13935 # Sed expression to map a string onto a valid variable name.
13936 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13941 # Save the log message, to keep $[0] and so on meaningful, and to
13942 # report actual input values of CONFIG_FILES etc. instead of their
13943 # values after options handling.
13945 This file was extended by sqlite $as_me 3.7.6.3, which was
13946 generated by GNU Autoconf 2.62. Invocation command line was
13948 CONFIG_FILES = $CONFIG_FILES
13949 CONFIG_HEADERS = $CONFIG_HEADERS
13950 CONFIG_LINKS = $CONFIG_LINKS
13951 CONFIG_COMMANDS = $CONFIG_COMMANDS
13954 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13960 # Files that config.status was made for.
13961 config_files="$ac_config_files"
13962 config_headers="$ac_config_headers"
13963 config_commands="$ac_config_commands"
13967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13969 \`$as_me' instantiates files from templates according to the
13970 current configuration.
13972 Usage: $0 [OPTIONS] [FILE]...
13974 -h, --help print this help, then exit
13975 -V, --version print version number and configuration settings, then exit
13976 -q, --quiet do not print progress messages
13977 -d, --debug don't remove temporary files
13978 --recheck update $as_me by reconfiguring in the same conditions
13979 --file=FILE[:TEMPLATE]
13980 instantiate the configuration file FILE
13981 --header=FILE[:TEMPLATE]
13982 instantiate the configuration header FILE
13984 Configuration files:
13987 Configuration headers:
13990 Configuration commands:
13993 Report bugs to <bug-autoconf@gnu.org>."
13996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13998 sqlite config.status 3.7.6.3
13999 configured by $0, generated by GNU Autoconf 2.62,
14000 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14002 Copyright (C) 2008 Free Software Foundation, Inc.
14003 This config.status script is free software; the Free Software Foundation
14004 gives unlimited permission to copy, distribute and modify it."
14010 test -n "\$AWK" || AWK=awk
14013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14014 # The default lists apply if the user does not specify any file.
14020 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14021 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14032 # Handling of the options.
14033 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14035 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14036 $as_echo "$ac_cs_version"; exit ;;
14037 --debug |
--debu |
--deb |
--de |
--d |
-d )
14039 --file |
--fil |
--fi |
--f )
14042 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14044 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
14045 ac_need_defaults
=false
;;
14046 --header |
--heade |
--head |
--hea )
14049 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14051 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
14052 ac_need_defaults
=false
;;
14054 # Conflict between --help and --header
14055 { $as_echo "$as_me: error: ambiguous option: $1
14056 Try \`$0 --help' for more information." >&2
14057 { (exit 1); exit 1; }; };;
14058 --help |
--hel |
-h )
14059 $as_echo "$ac_cs_usage"; exit ;;
14060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14061 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14064 # This is an error.
14065 -*) { $as_echo "$as_me: error: unrecognized option: $1
14066 Try \`$0 --help' for more information." >&2
14067 { (exit 1); exit 1; }; } ;;
14069 *) ac_config_targets
="$ac_config_targets $1"
14070 ac_need_defaults
=false
;;
14076 ac_configure_extra_args
=
14078 if $ac_cs_silent; then
14080 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14085 if \$ac_cs_recheck; then
14086 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14088 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14089 CONFIG_SHELL='$SHELL'
14090 export CONFIG_SHELL
14095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14099 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14100 ## Running $as_me. ##
14106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14112 # The HP-UX ksh and POSIX shell print the target directory to stdout
14113 # if CDPATH is set.
14114 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14116 sed_quote_subst='$sed_quote_subst'
14117 double_quote_subst='$double_quote_subst'
14118 delay_variable_subst='$delay_variable_subst'
14119 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14120 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14121 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14122 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14123 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14124 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14125 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14126 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14127 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14128 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14129 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14130 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14131 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14132 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14133 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14134 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14135 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14136 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14137 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14138 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14139 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14140 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14141 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14142 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14143 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14144 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14145 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14146 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14147 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14148 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14149 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14150 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14151 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14152 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14153 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14154 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14155 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14156 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14157 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14158 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14159 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14160 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14161 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14162 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14163 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"`'
14164 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"`'
14165 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14166 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14167 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14168 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14169 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14170 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14171 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14172 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14173 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14174 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14175 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14176 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14177 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14178 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14179 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14180 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14181 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14182 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14183 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14184 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14185 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14186 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14187 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14188 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14189 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14190 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14191 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14192 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14193 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14194 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14195 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14196 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14197 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14198 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14199 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14200 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14201 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14202 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14203 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14204 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14205 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14206 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14207 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14208 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14209 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14210 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14211 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14212 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14213 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14214 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14215 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14216 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14217 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14218 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14219 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14220 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14221 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14222 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14223 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14224 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14225 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14226 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14227 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14228 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14229 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14230 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14231 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14232 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14233 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14234 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14235 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14236 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14239 LTCFLAGS='$LTCFLAGS'
14240 compiler='$compiler_DEFAULT'
14242 # Quote evaled strings.
14254 deplibs_check_method \
14263 lt_cv_sys_global_symbol_pipe \
14264 lt_cv_sys_global_symbol_to_cdecl \
14265 lt_cv_sys_global_symbol_to_c_name_address \
14266 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14269 lt_prog_compiler_no_builtin_flag \
14270 lt_prog_compiler_wl \
14271 lt_prog_compiler_pic \
14272 lt_prog_compiler_static \
14273 lt_cv_prog_compiler_c_o \
14281 export_dynamic_flag_spec \
14282 whole_archive_flag_spec \
14283 compiler_needs_object \
14285 allow_undefined_flag \
14286 no_undefined_flag \
14287 hardcode_libdir_flag_spec \
14288 hardcode_libdir_flag_spec_ld \
14289 hardcode_libdir_separator \
14294 variables_saved_for_relink \
14296 library_names_spec \
14301 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14302 *[\\\\\\\`\\"\\\$]*)
14303 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14306 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14311 # Double-quote double-evaled strings.
14312 for var in reload_cmds \
14313 old_postinstall_cmds \
14314 old_postuninstall_cmds \
14316 extract_expsyms_cmds \
14317 old_archive_from_new_cmds \
14318 old_archive_from_expsyms_cmds \
14320 archive_expsym_cmds \
14322 module_expsym_cmds \
14323 export_symbols_cmds \
14326 postuninstall_cmds \
14328 sys_lib_search_path_spec \
14329 sys_lib_dlsearch_path_spec; do
14330 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14331 *[\\\\\\\`\\"\\\$]*)
14332 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14335 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14340 # Fix-up fallback echo if it was mangled by the above quoting rules.
14342 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14346 ac_aux_dir='$ac_aux_dir'
14347 xsi_shell='$xsi_shell'
14348 lt_shell_append='$lt_shell_append'
14350 # See if we are running on zsh, and set the options which allow our
14351 # commands through without removal of \ escapes INIT.
14352 if test -n "\${ZSH_VERSION+set}" ; then
14353 setopt NO_GLOB_SUBST
14359 TIMESTAMP='$TIMESTAMP'
14368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14370 # Handling of arguments.
14371 for ac_config_target
in $ac_config_targets
14373 case $ac_config_target in
14374 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14375 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14376 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14377 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
14379 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14380 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14381 { (exit 1); exit 1; }; };;
14386 # If the user did not use the arguments to specify the items to instantiate,
14387 # then the envvar interface is used. Set only those that are not.
14388 # We use the long form for the default assignment because of an extremely
14389 # bizarre bug on SunOS 4.1.3.
14390 if $ac_need_defaults; then
14391 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14392 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14393 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14396 # Have a temporary directory for convenience. Make it in the build tree
14397 # simply because there is no reason against having it here, and in addition,
14398 # creating and moving files from /tmp can sometimes cause problems.
14399 # Hook for its removal unless debugging.
14400 # Note that there is a small window in which the directory will not be cleaned:
14401 # after its creation but before its name has been assigned to `$tmp'.
14405 trap 'exit_status=$?
14406 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14408 trap '{ (exit 1); exit 1; }' 1 2 13 15
14410 # Create a (secure) tmp directory for tmp files.
14413 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14414 test -n "$tmp" && test -d "$tmp"
14417 tmp
=.
/conf$$
-$RANDOM
14418 (umask 077 && mkdir
"$tmp")
14421 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14422 { (exit 1); exit 1; }
14425 # Set up the scripts for CONFIG_FILES section.
14426 # No need to generate them if there are no CONFIG_FILES.
14427 # This happens for instance with `./config.status config.h'.
14428 if test -n "$CONFIG_FILES"; then
14432 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14433 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14436 ac_cs_awk_cr
=$ac_cr
14439 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14444 echo "cat >conf$$subs.awk <<_ACEOF" &&
14445 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14447 } >conf$$subs.sh ||
14448 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14449 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14450 { (exit 1); exit 1; }; }
14451 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14453 for ac_last_try in false false false false false :; do
14454 . ./conf$$subs.sh ||
14455 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14456 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14457 { (exit 1); exit 1; }; }
14459 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14461 elif $ac_last_try; then
14462 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14463 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14464 { (exit 1); exit 1; }; }
14466 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14469 rm -f conf$$subs.sh
14471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14472 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14476 s/^/S["/; s
/!.
*/"]=/
14486 s/\(.\{148\}\).*/\1/
14488 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14493 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14500 s/\(.\{148\}\).*/\1/
14502 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14506 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14511 ' <conf$$subs.awk | sed '
14516 ' >>$CONFIG_STATUS || ac_write_fail=1
14517 rm -f conf$$subs.awk
14518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14520 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14521 for (key in S) S_is_set[key] = 1
14527 nfields = split(line, field, "@
")
14529 len = length(field[1])
14530 for (i = 2; i < nfields; i++) {
14532 keylen = length(key)
14533 if (S_is_set[key]) {
14535 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14536 len += length(value) + length(field[++i])
14547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14548 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14549 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14552 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14553 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14554 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14555 { (exit 1); exit 1; }; }
14558 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14559 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14560 # trailing colons and then remove the whole line if VPATH becomes empty
14561 # (actually we leave an empty line to preserve line numbers).
14562 if test "x
$srcdir" = x.; then
14563 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14564 s/:*\$(srcdir):*/:/
14565 s/:*\${srcdir}:*/:/
14567 s/^\([^=]*=[ ]*\):*/\1/
14573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14574 fi # test -n "$CONFIG_FILES"
14576 # Set up the scripts for CONFIG_HEADERS section.
14577 # No need to generate them if there are no CONFIG_HEADERS.
14578 # This happens for instance with `./config.status Makefile'.
14579 if test -n "$CONFIG_HEADERS"; then
14580 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14584 # Transform confdefs.h into an awk script `defines.awk', embedded as
14585 # here-document in config.status, that substitutes the proper values into
14586 # config.h.in to produce config.h.
14588 # Create a delimiter string that does not exist in confdefs.h, to ease
14589 # handling of long lines.
14591 for ac_last_try in false false :; do
14592 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14593 if test -z "$ac_t"; then
14595 elif $ac_last_try; then
14596 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14597 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14598 { (exit 1); exit 1; }; }
14600 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14604 # For the awk script, D is an array of macro values keyed by name,
14605 # likewise P contains macro parameters if any. Preserve backslash
14606 # newline sequences.
14608 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14610 s/.\{148\}/&'"$ac_delim"'/g
14613 s/^[ ]*#[ ]*define[ ][ ]*/ /
14620 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14622 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14626 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14627 D["\
1"]=" \
3\\\\\\n
"\\/p
14629 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14634 s/.\{148\}/&'"$ac_delim"'/g
14639 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14642 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14644 ' <confdefs.h | sed '
14645 s/'"$ac_delim"'/"\\\
14646 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14649 for (key in D) D_is_set[key] = 1
14652 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14654 split(line, arg, " ")
14655 if (arg[1] == "#") {
14659 defundef
= substr
(arg
[1], 2)
14662 split(mac1
, mac2
, "(") #)
14664 if (D_is_set
[macro
]) {
14665 # Preserve the white space surrounding the "#".
14666 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14667 print prefix
"define", macro P
[macro
] D
[macro
]
14670 # Replace #undef with comments. This is necessary, for example,
14671 # in the case of _POSIX_SOURCE, which is predefined and required
14672 # on some systems where configure will not decide to define it.
14673 if (defundef
== "undef") {
14674 print
"/*", line
, "*/"
14682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14683 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14684 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14685 { (exit 1); exit 1; }; }
14686 fi # test -n "$CONFIG_HEADERS"
14689 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14694 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14696 case $ac_mode$ac_tag in
14698 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14699 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14700 { (exit 1); exit 1; }; };;
14701 :[FH
]-) ac_tag
=-:-;;
14702 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14719 -) ac_f
="$tmp/stdin";;
14720 *) # Look for the file first in the build tree, then in the source tree
14721 # (if the path is not absolute). The absolute path cannot be DOS-style,
14722 # because $ac_f cannot contain `:'.
14726 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14728 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14729 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14730 { (exit 1); exit 1; }; };;
14732 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14733 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14736 # Let's still pretend it is `configure' which instantiates (i.e., don't
14737 # use $as_me), people would be surprised to read:
14738 # /* config.h. Generated by config.status. */
14739 configure_input
='Generated from '`
14740 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14742 if test x
"$ac_file" != x-
; then
14743 configure_input
="$ac_file. $configure_input"
14744 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14745 $as_echo "$as_me: creating $ac_file" >&6;}
14747 # Neutralize special characters interpreted by sed in replacement strings.
14748 case $configure_input in #(
14749 *\
&* |
*\|
* |
*\\* )
14750 ac_sed_conf_input
=`$as_echo "$configure_input" |
14751 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14752 *) ac_sed_conf_input
=$configure_input;;
14756 *:-:* |
*:-) cat >"$tmp/stdin" \
14757 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14758 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14759 { (exit 1); exit 1; }; } ;;
14764 ac_dir
=`$as_dirname -- "$ac_file" ||
14765 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14766 X"$ac_file" : 'X\(//\)[^/]' \| \
14767 X"$ac_file" : 'X\(//\)$' \| \
14768 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14769 $as_echo X"$ac_file" |
14770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14774 /^X\(\/\/\)[^/].*/{
14789 -*) as_dir
=.
/$as_dir;;
14791 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14795 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14796 *) as_qdir
=$as_dir;;
14798 as_dirs
="'$as_qdir' $as_dirs"
14799 as_dir
=`$as_dirname -- "$as_dir" ||
14800 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14801 X"$as_dir" : 'X\(//\)[^/]' \| \
14802 X"$as_dir" : 'X\(//\)$' \| \
14803 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14804 $as_echo X"$as_dir" |
14805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14809 /^X\(\/\/\)[^/].*/{
14822 test -d "$as_dir" && break
14824 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14825 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14826 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14827 { (exit 1); exit 1; }; }; }
14831 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14833 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14834 # A ".." for each directory in $ac_dir_suffix.
14835 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14836 case $ac_top_builddir_sub in
14837 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14838 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14841 ac_abs_top_builddir
=$ac_pwd
14842 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14843 # for backward compatibility:
14844 ac_top_builddir
=$ac_top_build_prefix
14847 .
) # We are building in place.
14849 ac_top_srcdir
=$ac_top_builddir_sub
14850 ac_abs_top_srcdir
=$ac_pwd ;;
14851 [\\/]* | ?
:[\\/]* ) # Absolute name.
14852 ac_srcdir
=$srcdir$ac_dir_suffix;
14853 ac_top_srcdir
=$srcdir
14854 ac_abs_top_srcdir
=$srcdir ;;
14855 *) # Relative name.
14856 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14857 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14858 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14860 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14870 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14871 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14876 # If the template does not know about datarootdir, expand it.
14877 # FIXME: This hack should be removed a few years after 2.60.
14878 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14891 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14892 *datarootdir
*) ac_datarootdir_seen
=yes;;
14893 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14894 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14895 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14898 ac_datarootdir_hack='
14899 s&@datadir@&$datadir&g
14900 s&@docdir@&$docdir&g
14901 s&@infodir@&$infodir&g
14902 s&@localedir@&$localedir&g
14903 s&@mandir@&$mandir&g
14904 s&\\\${datarootdir}&$datarootdir&g' ;;
14908 # Neutralize VPATH when `$srcdir' = `.'.
14909 # Shell code in configure.ac might set extrasub.
14910 # FIXME: do we really want to maintain this feature?
14911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14912 ac_sed_extra="$ac_vpsub
14915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14917 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14918 s|@configure_input@|
$ac_sed_conf_input|
;t t
14919 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14920 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14921 s
&@srcdir@
&$ac_srcdir&;t t
14922 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14923 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14924 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14925 s
&@builddir@
&$ac_builddir&;t t
14926 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14927 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14928 s
&@INSTALL@
&$ac_INSTALL&;t t
14929 $ac_datarootdir_hack
14931 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14932 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14933 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14934 { (exit 1); exit 1; }; }
14936 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14937 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14938 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14939 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14940 which seems to be undefined. Please make sure it is defined." >&5
14941 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14942 which seems to be undefined. Please make sure it is defined." >&2;}
14946 -) cat "$tmp/out" && rm -f "$tmp/out";;
14947 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14949 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14950 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14951 { (exit 1); exit 1; }; }
14957 if test x"$ac_file" != x-; then
14959 $as_echo "/* $configure_input */" \
14960 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14961 } >"$tmp/config.h" \
14962 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14963 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14964 { (exit 1); exit 1; }; }
14965 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14966 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14967 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14970 mv "$tmp/config.h" "$ac_file" \
14971 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14972 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14973 { (exit 1); exit 1; }; }
14976 $as_echo "/* $configure_input */" \
14977 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14978 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14979 $as_echo "$as_me: error: could not create -" >&2;}
14980 { (exit 1); exit 1; }; }
14984 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14985 $as_echo "$as_me: executing $ac_file commands" >&6;}
14990 case $ac_file$ac_mode in
14993 # See if we are running on zsh, and set the options which allow our
14994 # commands through without removal of \ escapes.
14995 if test -n "${ZSH_VERSION+set}" ; then
14996 setopt NO_GLOB_SUBST
14999 cfgfile="${ofile}T"
15000 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15003 cat <<_LT_EOF >> "$cfgfile"
15006 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
15007 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15008 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15009 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15011 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15012 # 2006, 2007, 2008 Free Software Foundation, Inc.
15013 # Written by Gordon Matzigkeit, 1996
15015 # This file is part of GNU Libtool.
15017 # GNU Libtool is free software; you can redistribute it and/or
15018 # modify it under the terms of the GNU General Public License as
15019 # published by the Free Software Foundation; either version 2 of
15020 # the License, or (at your option) any later version.
15022 # As a special exception to the GNU General Public License,
15023 # if you distribute this file as part of a program or library that
15024 # is built using GNU Libtool, you may include this file under the
15025 # same distribution terms that you use for the rest of that program.
15027 # GNU Libtool is distributed in the hope that it will be useful,
15028 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15029 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15030 # GNU General Public License for more details.
15032 # You should have received a copy of the GNU General Public License
15033 # along with GNU Libtool; see the file COPYING. If not, a copy
15034 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15035 # obtained by writing to the Free Software Foundation, Inc.,
15036 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15039 # The names of the tagged configurations supported by this script.
15042 # ### BEGIN LIBTOOL CONFIG
15044 # Which release of libtool.m4 was used?
15045 macro_version=$macro_version
15046 macro_revision=$macro_revision
15048 # Whether or not to build shared libraries.
15049 build_libtool_libs=$enable_shared
15051 # Whether or not to build static libraries.
15052 build_old_libs=$enable_static
15054 # What type of objects to build.
15057 # Whether or not to optimize for fast installation.
15058 fast_install=$enable_fast_install
15061 host_alias=$host_alias
15065 # The build system.
15066 build_alias=$build_alias
15070 # A sed program that does not truncate output.
15073 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15074 Xsed="\$SED -e 1s/^X//"
15076 # A grep program that handles long lines.
15082 # A literal string matcher.
15085 # A BSD- or MS-compatible name lister.
15088 # Whether we need soft or hard links.
15091 # What is the maximum length of a command?
15092 max_cmd_len=$max_cmd_len
15094 # Object file suffix (normally "o").
15097 # Executable file suffix (normally "").
15100 # whether the shell understands "unset".
15103 # turn spaces into newlines.
15106 # turn newlines into spaces.
15109 # How to create reloadable object files.
15110 reload_flag=$lt_reload_flag
15111 reload_cmds=$lt_reload_cmds
15113 # An object symbol dumper.
15114 OBJDUMP=$lt_OBJDUMP
15116 # Method to check whether dependent libraries are shared objects.
15117 deplibs_check_method=$lt_deplibs_check_method
15119 # Command to use when deplibs_check_method == "file_magic".
15120 file_magic_cmd=$lt_file_magic_cmd
15124 AR_FLAGS=$lt_AR_FLAGS
15126 # A symbol stripping program.
15129 # Commands used to install an old-style archive.
15131 old_postinstall_cmds=$lt_old_postinstall_cmds
15132 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15137 # LTCC compiler flags.
15138 LTCFLAGS=$lt_CFLAGS
15140 # Take the output of nm and produce a listing of raw symbols and C names.
15141 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15143 # Transform the output of nm in a proper C declaration.
15144 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15146 # Transform the output of nm in a C name address pair.
15147 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15149 # Transform the output of nm in a C name address pair when lib prefix is needed.
15150 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15152 # The name of the directory that contains temporary libtool files.
15155 # Shell to use when invoking shell scripts.
15158 # An echo program that does not interpret backslashes.
15161 # Used to examine libraries when file_magic_cmd begins with "file".
15162 MAGIC_CMD=$MAGIC_CMD
15164 # Must we lock files when doing compilation?
15165 need_locks=$lt_need_locks
15167 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15168 DSYMUTIL=$lt_DSYMUTIL
15170 # Tool to change global to local symbols on Mac OS X.
15173 # Tool to manipulate fat objects and archives on Mac OS X.
15176 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15179 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15180 OTOOL64=$lt_OTOOL64
15182 # Old archive suffix (normally "a").
15185 # Shared library suffix (normally ".so").
15186 shrext_cmds=$lt_shrext_cmds
15188 # The commands to extract the exported symbol list from a shared archive.
15189 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15191 # Variables whose values should be saved in libtool wrapper scripts and
15192 # restored at link time.
15193 variables_saved_for_relink=$lt_variables_saved_for_relink
15195 # Do we need the "lib" prefix for modules?
15196 need_lib_prefix=$need_lib_prefix
15198 # Do we need a version for libraries?
15199 need_version=$need_version
15201 # Library versioning type.
15202 version_type=$version_type
15204 # Shared library runtime path variable.
15205 runpath_var=$runpath_var
15207 # Shared library path variable.
15208 shlibpath_var=$shlibpath_var
15210 # Is shlibpath searched before the hard-coded library search path?
15211 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15213 # Format of library name prefix.
15214 libname_spec=$lt_libname_spec
15216 # List of archive names. First name is the real one, the rest are links.
15217 # The last name is the one that the linker finds with -lNAME
15218 library_names_spec=$lt_library_names_spec
15220 # The coded name of the library, if different from the real name.
15221 soname_spec=$lt_soname_spec
15223 # Command to use after installation of a shared archive.
15224 postinstall_cmds=$lt_postinstall_cmds
15226 # Command to use after uninstallation of a shared archive.
15227 postuninstall_cmds=$lt_postuninstall_cmds
15229 # Commands used to finish a libtool library installation in a directory.
15230 finish_cmds=$lt_finish_cmds
15232 # As "finish_cmds", except a single script fragment to be evaled but
15234 finish_eval=$lt_finish_eval
15236 # Whether we should hardcode library paths into libraries.
15237 hardcode_into_libs=$hardcode_into_libs
15239 # Compile-time system search path for libraries.
15240 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15242 # Run-time system search path for libraries.
15243 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15245 # Whether dlopen is supported.
15246 dlopen_support=$enable_dlopen
15248 # Whether dlopen of programs is supported.
15249 dlopen_self=$enable_dlopen_self
15251 # Whether dlopen of statically linked programs is supported.
15252 dlopen_self_static=$enable_dlopen_self_static
15254 # Commands to strip libraries.
15255 old_striplib=$lt_old_striplib
15256 striplib=$lt_striplib
15259 # The linker used to build libraries.
15262 # Commands used to build an old-style archive.
15263 old_archive_cmds=$lt_old_archive_cmds
15265 # A language specific compiler.
15268 # Is the compiler the GNU compiler?
15271 # Compiler flag to turn off builtin functions.
15272 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15274 # How to pass a linker flag through the compiler.
15275 wl=$lt_lt_prog_compiler_wl
15277 # Additional compiler flags for building library objects.
15278 pic_flag=$lt_lt_prog_compiler_pic
15280 # Compiler flag to prevent dynamic linking.
15281 link_static_flag=$lt_lt_prog_compiler_static
15283 # Does compiler simultaneously support -c and -o options?
15284 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15286 # Whether or not to add -lc for building shared libraries.
15287 build_libtool_need_lc=$archive_cmds_need_lc
15289 # Whether or not to disallow shared libs when runtime libs are static.
15290 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15292 # Compiler flag to allow reflexive dlopens.
15293 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15295 # Compiler flag to generate shared objects directly from archives.
15296 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15298 # Whether the compiler copes with passing no objects directly.
15299 compiler_needs_object=$lt_compiler_needs_object
15301 # Create an old-style archive from a shared archive.
15302 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15304 # Create a temporary old-style archive to link instead of a shared archive.
15305 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15307 # Commands used to build a shared archive.
15308 archive_cmds=$lt_archive_cmds
15309 archive_expsym_cmds=$lt_archive_expsym_cmds
15311 # Commands used to build a loadable module if different from building
15312 # a shared archive.
15313 module_cmds=$lt_module_cmds
15314 module_expsym_cmds=$lt_module_expsym_cmds
15316 # Whether we are building with GNU ld or not.
15317 with_gnu_ld=$lt_with_gnu_ld
15319 # Flag that allows shared libraries with undefined symbols to be built.
15320 allow_undefined_flag=$lt_allow_undefined_flag
15322 # Flag that enforces no undefined symbols.
15323 no_undefined_flag=$lt_no_undefined_flag
15325 # Flag to hardcode \$libdir into a binary during linking.
15326 # This must work even if \$libdir does not exist
15327 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15329 # If ld is used when linking, flag to hardcode \$libdir into a binary
15330 # during linking. This must work even if \$libdir does not exist.
15331 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15333 # Whether we need a single "-rpath" flag with a separated argument.
15334 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15336 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15337 # DIR into the resulting binary.
15338 hardcode_direct=$hardcode_direct
15340 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15341 # DIR into the resulting binary and the resulting library dependency is
15342 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15343 # library is relocated.
15344 hardcode_direct_absolute=$hardcode_direct_absolute
15346 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15347 # into the resulting binary.
15348 hardcode_minus_L=$hardcode_minus_L
15350 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15351 # into the resulting binary.
15352 hardcode_shlibpath_var=$hardcode_shlibpath_var
15354 # Set to "yes" if building a shared library automatically hardcodes DIR
15355 # into the library and all subsequent libraries and executables linked
15357 hardcode_automatic=$hardcode_automatic
15359 # Set to yes if linker adds runtime paths of dependent libraries
15360 # to runtime path list.
15361 inherit_rpath=$inherit_rpath
15363 # Whether libtool must link a program against all its dependency libraries.
15364 link_all_deplibs=$link_all_deplibs
15366 # Fix the shell variable \$srcfile for the compiler.
15367 fix_srcfile_path=$lt_fix_srcfile_path
15369 # Set to "yes" if exported symbols are required.
15370 always_export_symbols=$always_export_symbols
15372 # The commands to list exported symbols.
15373 export_symbols_cmds=$lt_export_symbols_cmds
15375 # Symbols that should not be listed in the preloaded symbols.
15376 exclude_expsyms=$lt_exclude_expsyms
15378 # Symbols that must always be exported.
15379 include_expsyms=$lt_include_expsyms
15381 # Commands necessary for linking programs (against libraries) with templates.
15382 prelink_cmds=$lt_prelink_cmds
15384 # Specify filename containing input files.
15385 file_list_spec=$lt_file_list_spec
15387 # How to hardcode a shared library path into an executable.
15388 hardcode_action=$hardcode_action
15390 # ### END LIBTOOL CONFIG
15396 cat <<\_LT_EOF >> "$cfgfile"
15397 # AIX sometimes has problems with the GCC collect2 program. For some
15398 # reason, if we set the COLLECT_NAMES environment variable, the problems
15399 # vanish in a puff of smoke.
15400 if test "X${COLLECT_NAMES+set}" != Xset; then
15402 export COLLECT_NAMES
15409 ltmain="$ac_aux_dir/ltmain.sh"
15412 # We use sed instead of cat because bash on DJGPP gets confused if
15413 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15414 # text mode, it properly converts lines to CR/LF. This bash problem
15415 # is reportedly fixed, but why not run on old versions too?
15416 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15417 ||
(rm -f "$cfgfile"; exit 1)
15421 cat << \_LT_EOF
>> "$cfgfile"
15423 # func_dirname file append nondir_replacement
15424 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15425 # otherwise set result to NONDIR_REPLACEMENT.
15429 */*) func_dirname_result
="${1%/*}${2}" ;;
15430 * ) func_dirname_result
="${3}" ;;
15434 # func_basename file
15437 func_basename_result
="${1##*/}"
15440 # func_dirname_and_basename file append nondir_replacement
15441 # perform func_basename and func_dirname in a single function
15443 # dirname: Compute the dirname of FILE. If nonempty,
15444 # add APPEND to the result, otherwise set result
15445 # to NONDIR_REPLACEMENT.
15446 # value returned in "$func_dirname_result"
15447 # basename: Compute filename of FILE.
15448 # value retuned in "$func_basename_result"
15449 # Implementation must be kept synchronized with func_dirname
15450 # and func_basename. For efficiency, we do not delegate to
15451 # those functions but instead duplicate the functionality here.
15452 func_dirname_and_basename
()
15455 */*) func_dirname_result
="${1%/*}${2}" ;;
15456 * ) func_dirname_result
="${3}" ;;
15458 func_basename_result
="${1##*/}"
15461 # func_stripname prefix suffix name
15462 # strip PREFIX and SUFFIX off of NAME.
15463 # PREFIX and SUFFIX must not contain globbing or regex special
15464 # characters, hashes, percent signs, but SUFFIX may contain a leading
15465 # dot (in which case that matches only a dot).
15468 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15469 # positional parameters, so assign one to ordinary parameter first.
15470 func_stripname_result
=${3}
15471 func_stripname_result
=${func_stripname_result#"${1}"}
15472 func_stripname_result
=${func_stripname_result%"${2}"}
15478 func_opt_split_opt
=${1%%=*}
15479 func_opt_split_arg
=${1#*=}
15486 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15487 *) func_lo2o_result
=${1} ;;
15491 # func_xform libobj-or-source
15494 func_xform_result
=${1%.*}.lo
15497 # func_arith arithmetic-term...
15500 func_arith_result
=$
(( $
* ))
15504 # STRING may not start with a hyphen.
15507 func_len_result
=${#1}
15512 *) # Bourne compatible functions.
15513 cat << \_LT_EOF
>> "$cfgfile"
15515 # func_dirname file append nondir_replacement
15516 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15517 # otherwise set result to NONDIR_REPLACEMENT.
15520 # Extract subdirectory from the argument.
15521 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15522 if test "X$func_dirname_result" = "X${1}"; then
15523 func_dirname_result
="${3}"
15525 func_dirname_result
="$func_dirname_result${2}"
15529 # func_basename file
15532 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15536 # func_stripname prefix suffix name
15537 # strip PREFIX and SUFFIX off of NAME.
15538 # PREFIX and SUFFIX must not contain globbing or regex special
15539 # characters, hashes, percent signs, but SUFFIX may contain a leading
15540 # dot (in which case that matches only a dot).
15541 # func_strip_suffix prefix name
15545 .
*) func_stripname_result
=`$ECHO "X${3}" \
15546 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15547 *) func_stripname_result
=`$ECHO "X${3}" \
15548 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15553 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15554 my_sed_long_arg
='1s/^-[^=]*=//'
15559 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15560 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15566 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15569 # func_xform libobj-or-source
15572 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15575 # func_arith arithmetic-term...
15578 func_arith_result
=`expr "$@"`
15582 # STRING may not start with a hyphen.
15585 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15591 case $lt_shell_append in
15593 cat << \_LT_EOF
>> "$cfgfile"
15595 # func_append var value
15596 # Append VALUE to the end of shell variable VAR.
15604 cat << \_LT_EOF
>> "$cfgfile"
15606 # func_append var value
15607 # Append VALUE to the end of shell variable VAR.
15618 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15619 ||
(rm -f "$cfgfile"; exit 1)
15621 mv -f "$cfgfile" "$ofile" ||
15622 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15631 { (exit 0); exit 0; }
15633 chmod +x
$CONFIG_STATUS
15634 ac_clean_files
=$ac_clean_files_save
15636 test $ac_write_fail = 0 ||
15637 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15638 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15639 { (exit 1); exit 1; }; }
15642 # configure is writing to config.log, and then calls config.status.
15643 # config.status does its own redirection, appending to config.log.
15644 # Unfortunately, on DOS this fails, as config.log is still kept open
15645 # by configure, so config.status won't be able to write to it; its
15646 # output is simply discarded. So we exec the FD to /dev/null,
15647 # effectively closing config.log, so it can be properly (re)opened and
15648 # appended to by config.status. When coming back to configure, we
15649 # need to make the FD available again.
15650 if test "$no_create" != yes; then
15652 ac_config_status_args
=
15653 test "$silent" = yes &&
15654 ac_config_status_args
="$ac_config_status_args --quiet"
15656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15659 # would make configure fail if this is the last instruction.
15660 $ac_cs_success ||
{ (exit 1); exit 1; }
15662 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15663 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
15664 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}