2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for sqlite 3.8.7.4.
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.8.7.4'
747 PACKAGE_STRING
='sqlite 3.8.7.4'
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
901 enable_option_checking
911 enable_cross_thread_connections
921 enable_load_extension
924 ac_precious_vars
='build_alias
936 # Initialize some variables set by options.
938 ac_init_version
=false
939 ac_unrecognized_opts
=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name
=s
,x
,x
,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir
='${exec_prefix}/bin'
965 sbindir
='${exec_prefix}/sbin'
966 libexecdir
='${exec_prefix}/libexec'
967 datarootdir
='${prefix}/share'
968 datadir
='${datarootdir}'
969 sysconfdir
='${prefix}/etc'
970 sharedstatedir
='${prefix}/com'
971 localstatedir
='${prefix}/var'
972 includedir
='${prefix}/include'
973 oldincludedir
='/usr/include'
974 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir
='${datarootdir}/info'
980 libdir
='${exec_prefix}/lib'
981 localedir
='${datarootdir}/locale'
982 mandir
='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\
$ac_option
996 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1008 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1009 bindir
=$ac_optarg ;;
1011 -build |
--build |
--buil |
--bui |
--bu)
1012 ac_prev
=build_alias
;;
1013 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1014 build_alias
=$ac_optarg ;;
1016 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1017 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1018 ac_prev
=cache_file
;;
1019 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1020 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1021 cache_file
=$ac_optarg ;;
1023 --config-cache |
-C)
1024 cache_file
=config.cache
;;
1026 -datadir |
--datadir |
--datadi |
--datad)
1028 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1029 datadir
=$ac_optarg ;;
1031 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1032 |
--dataroo |
--dataro |
--datar)
1033 ac_prev
=datarootdir
;;
1034 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1035 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1036 datarootdir
=$ac_optarg ;;
1038 -disable-* |
--disable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=no
;;
1055 -docdir |
--docdir |
--docdi |
--doc |
--do)
1057 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1058 docdir
=$ac_optarg ;;
1060 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1062 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1063 dvidir
=$ac_optarg ;;
1065 -enable-* |
--enable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_
$ac_useropt"
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval enable_
$ac_useropt=\
$ac_optarg ;;
1082 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1083 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1084 |
--exec |
--exe |
--ex)
1085 ac_prev
=exec_prefix
;;
1086 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1087 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1088 |
--exec=* |
--exe=* |
--ex=*)
1089 exec_prefix
=$ac_optarg ;;
1091 -gas |
--gas |
--ga |
--g)
1092 # Obsolete; use --with-gas.
1095 -help |
--help |
--hel |
--he |
-h)
1096 ac_init_help
=long
;;
1097 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1098 ac_init_help
=recursive
;;
1099 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1100 ac_init_help
=short
;;
1102 -host |
--host |
--hos |
--ho)
1103 ac_prev
=host_alias
;;
1104 -host=* |
--host=* |
--hos=* |
--ho=*)
1105 host_alias
=$ac_optarg ;;
1107 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1109 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1111 htmldir
=$ac_optarg ;;
1113 -includedir |
--includedir |
--includedi |
--included |
--include \
1114 |
--includ |
--inclu |
--incl |
--inc)
1115 ac_prev
=includedir
;;
1116 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1117 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1118 includedir
=$ac_optarg ;;
1120 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1122 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1123 infodir
=$ac_optarg ;;
1125 -libdir |
--libdir |
--libdi |
--libd)
1127 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1128 libdir
=$ac_optarg ;;
1130 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1131 |
--libexe |
--libex |
--libe)
1132 ac_prev
=libexecdir
;;
1133 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1134 |
--libexe=* |
--libex=* |
--libe=*)
1135 libexecdir
=$ac_optarg ;;
1137 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1138 ac_prev
=localedir
;;
1139 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1140 localedir
=$ac_optarg ;;
1142 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1143 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1144 ac_prev
=localstatedir
;;
1145 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1146 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1147 localstatedir
=$ac_optarg ;;
1149 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1151 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1152 mandir
=$ac_optarg ;;
1154 -nfp |
--nfp |
--nf)
1155 # Obsolete; use --without-fp.
1158 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1159 |
--no-cr |
--no-c |
-n)
1162 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1163 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1166 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1167 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1168 |
--oldin |
--oldi |
--old |
--ol |
--o)
1169 ac_prev
=oldincludedir
;;
1170 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1171 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1172 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1173 oldincludedir
=$ac_optarg ;;
1175 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1177 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1178 prefix
=$ac_optarg ;;
1180 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1181 |
--program-pre |
--program-pr |
--program-p)
1182 ac_prev
=program_prefix
;;
1183 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1184 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1185 program_prefix
=$ac_optarg ;;
1187 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1188 |
--program-suf |
--program-su |
--program-s)
1189 ac_prev
=program_suffix
;;
1190 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1191 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1192 program_suffix
=$ac_optarg ;;
1194 -program-transform-name |
--program-transform-name \
1195 |
--program-transform-nam |
--program-transform-na \
1196 |
--program-transform-n |
--program-transform- \
1197 |
--program-transform |
--program-transfor \
1198 |
--program-transfo |
--program-transf \
1199 |
--program-trans |
--program-tran \
1200 |
--progr-tra |
--program-tr |
--program-t)
1201 ac_prev
=program_transform_name
;;
1202 -program-transform-name=* |
--program-transform-name=* \
1203 |
--program-transform-nam=* |
--program-transform-na=* \
1204 |
--program-transform-n=* |
--program-transform-=* \
1205 |
--program-transform=* |
--program-transfor=* \
1206 |
--program-transfo=* |
--program-transf=* \
1207 |
--program-trans=* |
--program-tran=* \
1208 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1209 program_transform_name
=$ac_optarg ;;
1211 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1213 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1214 pdfdir
=$ac_optarg ;;
1216 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1218 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1222 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1227 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1229 sbindir
=$ac_optarg ;;
1231 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1232 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1233 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1235 ac_prev
=sharedstatedir
;;
1236 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1237 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1238 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1240 sharedstatedir
=$ac_optarg ;;
1242 -site |
--site |
--sit)
1244 -site=* |
--site=* |
--sit=*)
1247 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1249 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1250 srcdir
=$ac_optarg ;;
1252 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1253 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1254 ac_prev
=sysconfdir
;;
1255 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1256 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1257 sysconfdir
=$ac_optarg ;;
1259 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1260 ac_prev
=target_alias
;;
1261 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1262 target_alias
=$ac_optarg ;;
1264 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1267 -version |
--version |
--versio |
--versi |
--vers |
-V)
1268 ac_init_version
=: ;;
1271 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1275 { (exit 1); exit 1; }; }
1276 ac_useropt_orig
=$ac_useropt
1277 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep
=', ';;
1285 eval with_
$ac_useropt=\
$ac_optarg ;;
1287 -without-* |
--without-*)
1288 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_useropt_orig
=$ac_useropt
1294 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300 ac_unrecognized_sep
=', ';;
1302 eval with_
$ac_useropt=no
;;
1305 # Obsolete; use --with-x.
1308 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1309 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1310 ac_prev
=x_includes
;;
1311 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1312 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1313 x_includes
=$ac_optarg ;;
1315 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1316 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1317 ac_prev
=x_libraries
;;
1318 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1319 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1320 x_libraries
=$ac_optarg ;;
1322 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1323 Try \`$0 --help' for more information." >&2
1324 { (exit 1); exit 1; }; }
1328 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1331 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1332 { (exit 1); exit 1; }; }
1333 eval $ac_envvar=\
$ac_optarg
1334 export $ac_envvar ;;
1337 # FIXME: should be removed in autoconf 3.0.
1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347 if test -n "$ac_prev"; then
1348 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1349 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1350 { (exit 1); exit 1; }; }
1353 if test -n "$ac_unrecognized_opts"; then
1354 case $enable_option_checking in
1356 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1357 { (exit 1); exit 1; }; } ;;
1358 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1381 { (exit 1); exit 1; }; }
1384 # There might be people who depend on the old broken behavior: `$host'
1385 # used to hold the argument of --host etc.
1386 # FIXME: To remove some day.
1389 target
=$target_alias
1391 # FIXME: To remove some day.
1392 if test "x$host_alias" != x
; then
1393 if test "x$build_alias" = x
; then
1394 cross_compiling
=maybe
1395 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396 If a cross compiler is detected then cross compile mode will be used." >&2
1397 elif test "x$build_alias" != "x$host_alias"; then
1403 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1405 test "$silent" = yes && exec 6>/dev
/null
1408 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1409 ac_ls_di
=`ls -di .` &&
1410 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1411 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1412 { (exit 1); exit 1; }; }
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1415 { (exit 1); exit 1; }; }
1418 # Find the source files, if location was not specified.
1419 if test -z "$srcdir"; then
1420 ac_srcdir_defaulted
=yes
1421 # Try the directory containing this script, then the parent directory.
1422 ac_confdir
=`$as_dirname -- "$as_myself" ||
1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1424 X"$as_myself" : 'X\(//\)[^/]' \| \
1425 X"$as_myself" : 'X\(//\)$' \| \
1426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1427 $as_echo X"$as_myself" |
1428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1450 ac_srcdir_defaulted
=no
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1453 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1454 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1455 { (exit 1); exit 1; }; }
1457 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1460 { (exit 1); exit 1; }; }
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var
in $ac_precious_vars; do
1473 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1475 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures sqlite 3.8.7.4 to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --build=BUILD configure
for building on BUILD
[guessed
]
1545 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1549 if test -n "$ac_init_help"; then
1550 case $ac_init_help in
1551 short | recursive
) echo "Configuration of sqlite 3.8.7.4:";;
1556 --disable-option-checking ignore unrecognized
--enable/--with options
1557 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1558 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1559 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1560 --enable-static[=PKGS
] build static libraries
[default
=yes]
1561 --enable-fast-install[=PKGS
]
1562 optimize
for fast installation
[default
=yes]
1563 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1564 --disable-largefile omit support
for large files
1565 --enable-threadsafe Support threadsafe operation
1566 --enable-cross-thread-connections
1567 Allow connection sharing across threads
1568 --enable-releasemode Support libtool link to release mode
1569 --enable-tempstore Use an in-ram database
for temporary tables
1570 (never
,no
,yes,always
)
1571 --disable-tcl do not build TCL extension
1572 --disable-readline disable readline support
[default
=detect
]
1573 --enable-debug enable debugging
& verbose explain
1574 --disable-amalgamation Disable the amalgamation and instead build all files
1576 --enable-load-extension Enable loading of external extensions
1577 --enable-gcov Enable coverage testing using gcov
1580 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1581 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1582 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1584 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1585 --with-hints=FILE Read configuration options from FILE
1586 --with-tcl=DIR directory containing tcl configuration
1588 --with-readline-lib specify readline library
1589 --with-readline-inc specify readline include paths
1591 Some influential environment variables
:
1592 CC C compiler
command
1593 CFLAGS C compiler flags
1594 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1595 nonstandard directory
<lib dir
>
1596 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1597 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1598 you have headers
in a nonstandard directory
<include dir
>
1600 TCLLIBDIR Where to
install tcl plugin
1602 Use these variables to override the choices made by
`configure' or to help
1603 it to find libraries and programs with nonstandard names/locations.
1609 if test "$ac_init_help" = "recursive"; then
1610 # If there are subdirs, report their specific --help.
1611 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1612 test -d "$ac_dir" ||
1613 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1621 # A ".." for each directory in $ac_dir_suffix.
1622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1623 case $ac_top_builddir_sub in
1624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1628 ac_abs_top_builddir=$ac_pwd
1629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1630 # for backward compatibility:
1631 ac_top_builddir=$ac_top_build_prefix
1634 .) # We are building in place.
1636 ac_top_srcdir=$ac_top_builddir_sub
1637 ac_abs_top_srcdir=$ac_pwd ;;
1638 [\\/]* | ?:[\\/]* ) # Absolute name.
1639 ac_srcdir=$srcdir$ac_dir_suffix;
1640 ac_top_srcdir=$srcdir
1641 ac_abs_top_srcdir=$srcdir ;;
1643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1644 ac_top_srcdir=$ac_top_build_prefix$srcdir
1645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1649 cd "$ac_dir" || { ac_status=$?; continue; }
1650 # Check for guested configure.
1651 if test -f "$ac_srcdir/configure.gnu"; then
1653 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1654 elif test -f "$ac_srcdir/configure"; then
1656 $SHELL "$ac_srcdir/configure" --help=recursive
1658 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1660 cd "$ac_pwd" || { ac_status=$?; break; }
1664 test -n "$ac_init_help" && exit $ac_status
1665 if $ac_init_version; then
1667 sqlite configure 3.8.7.4
1668 generated by GNU Autoconf 2.62
1670 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1671 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1672 This configure script is free software; the Free Software Foundation
1673 gives unlimited permission to copy, distribute and modify it.
1677 cat >config.log <<_ACEOF
1678 This file contains any messages produced by compilers while
1679 running configure, to aid debugging if configure makes a mistake.
1681 It was created by sqlite $as_me 3.8.7.4, which was
1682 generated by GNU Autoconf 2.62. Invocation command line was
1694 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1695 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1696 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1697 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1698 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1700 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1701 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1703 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1704 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1705 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1706 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1707 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1708 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1709 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir=.
1718 $as_echo "PATH: $as_dir"
1734 # Keep a trace of the command line.
1735 # Strip out --no-create and --no-recursion so they do not pile up.
1736 # Strip out --silent because we don't want to record it for future runs.
1737 # Also quote any args containing shell meta-characters.
1738 # Make two passes to allow for proper duplicate-argument suppression.
1742 ac_must_keep_next=false
1748 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1749 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1750 | -silent | --silent | --silen | --sile | --sil)
1753 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1756 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1758 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1759 if test $ac_must_keep_next = true; then
1760 ac_must_keep_next=false # Got value, back to normal.
1763 *=* | --config-cache | -C | -disable-* | --disable-* \
1764 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1765 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1766 | -with-* | --with-* | -without-* | --without-* | --x)
1767 case "$ac_configure_args0 " in
1768 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1771 -* ) ac_must_keep_next=true ;;
1774 ac_configure_args="$ac_configure_args '$ac_arg'"
1779 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1780 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1782 # When interrupted or exit'd, cleanup temporary files, and complete
1783 # config.log. We remove comments because anyway the quotes in there
1784 # would cause problems or look ugly.
1785 # WARNING: Use '\'' to represent an apostrophe within the trap.
1786 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1787 trap 'exit_status=$?
1788 # Save into config.log some information that might help in debugging.
1793 ## ---------------- ##
1794 ## Cache variables. ##
1795 ## ---------------- ##
1798 # The following way of writing the cache mishandles newlines in values,
1800 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1801 eval ac_val=\$$ac_var
1805 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1806 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1809 _ | IFS | as_nl) ;; #(
1810 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1811 *) $as_unset $ac_var ;;
1816 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1817 *${as_nl}ac_space=\ *)
1819 "s/'\''/'\''\\\\'\'''\''/g;
1820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1823 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1831 ## ----------------- ##
1832 ## Output variables. ##
1833 ## ----------------- ##
1836 for ac_var in $ac_subst_vars
1838 eval ac_val=\$$ac_var
1840 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842 $as_echo "$ac_var='\''$ac_val'\''"
1846 if test -n "$ac_subst_files"; then
1848 ## ------------------- ##
1849 ## File substitutions. ##
1850 ## ------------------- ##
1853 for ac_var in $ac_subst_files
1855 eval ac_val=\$$ac_var
1857 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1859 $as_echo "$ac_var='\''$ac_val'\''"
1864 if test -s confdefs.h; then
1874 test "$ac_signal" != 0 &&
1875 $as_echo "$as_me: caught signal $ac_signal"
1876 $as_echo "$as_me: exit $exit_status"
1878 rm -f core *.core core.conftest.* &&
1879 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1882 for ac_signal in 1 2 13 15; do
1883 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1887 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1888 rm -f -r conftest* confdefs.h
1890 # Predefined preprocessor variables.
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_NAME "$PACKAGE_NAME"
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1902 cat >>confdefs.h <<_ACEOF
1903 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1907 cat >>confdefs.h <<_ACEOF
1908 #define PACKAGE_STRING "$PACKAGE_STRING"
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1917 # Let the site file select an alternate cache file if it wants to.
1918 # Prefer an explicitly selected file to automatically selected ones.
1921 if test -n "$CONFIG_SITE"; then
1922 ac_site_file1=$CONFIG_SITE
1923 elif test "x$prefix" != xNONE; then
1924 ac_site_file1=$prefix/share/config.site
1925 ac_site_file2=$prefix/etc/config.site
1927 ac_site_file1=$ac_default_prefix/share/config.site
1928 ac_site_file2=$ac_default_prefix/etc/config.site
1930 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1932 test "x$ac_site_file" = xNONE && continue
1933 if test -r "$ac_site_file"; then
1934 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1935 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1936 sed 's/^/| /' "$ac_site_file" >&5
1941 if test -r "$cache_file"; then
1942 # Some versions of bash will fail to source /dev/null (special
1943 # files actually), so we avoid doing that.
1944 if test -f "$cache_file"; then
1945 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1946 $as_echo "$as_me: loading cache $cache_file" >&6;}
1948 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1949 *) . "./$cache_file";;
1953 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1954 $as_echo "$as_me: creating cache $cache_file" >&6;}
1958 # Check that the precious variables saved in the cache have kept the same
1960 ac_cache_corrupted=false
1961 for ac_var in $ac_precious_vars; do
1962 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1963 eval ac_new_set=\$ac_env_${ac_var}_set
1964 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1965 eval ac_new_val=\$ac_env_${ac_var}_value
1966 case $ac_old_set,$ac_new_set in
1968 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1969 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1970 ac_cache_corrupted=: ;;
1972 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1973 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1974 ac_cache_corrupted=: ;;
1977 if test "x$ac_old_val" != "x$ac_new_val"; then
1978 # differences in whitespace do not lead to failure.
1979 ac_old_val_w=`echo x
$ac_old_val`
1980 ac_new_val_w=`echo x
$ac_new_val`
1981 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1982 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1983 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1984 ac_cache_corrupted=:
1986 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1987 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1988 eval $ac_var=\$ac_old_val
1990 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1991 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1992 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1993 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1996 # Pass precious variables to config.status.
1997 if test "$ac_new_set" = set; then
1999 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2000 *) ac_arg=$ac_var=$ac_new_val ;;
2002 case " $ac_configure_args " in
2003 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2004 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2008 if $ac_cache_corrupted; then
2009 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2010 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2011 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2012 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2013 { (exit 1); exit 1; }; }
2041 ac_cpp='$CPP $CPPFLAGS'
2042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2048 sqlite_version_sanity_check=`cat $srcdir/VERSION |
tr -d '\n'`
2049 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2050 { { $as_echo "$as_me:$LINENO: error: configure script is out of date:
2051 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2052 top level VERSION file = $sqlite_version_sanity_check
2053 please regen with autoconf" >&5
2054 $as_echo "$as_me: error: configure script is out of date:
2055 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2056 top level VERSION file = $sqlite_version_sanity_check
2057 please regen with autoconf" >&2;}
2058 { (exit 1); exit 1; }; }
2061 # The following RCS revision string applies to configure.in
2069 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2070 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2075 macro_version='2.2.6'
2076 macro_revision='1.3012'
2090 ltmain="$ac_aux_dir/ltmain.sh"
2093 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2094 if test -f "$ac_dir/install-sh"; then
2096 ac_install_sh="$ac_aux_dir/install-sh -c"
2098 elif test -f "$ac_dir/install.sh"; then
2100 ac_install_sh="$ac_aux_dir/install.sh -c"
2102 elif test -f "$ac_dir/shtool"; then
2104 ac_install_sh="$ac_aux_dir/shtool install -c"
2108 if test -z "$ac_aux_dir"; then
2109 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2110 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2111 { (exit 1); exit 1; }; }
2114 # These three variables are undocumented and unsupported,
2115 # and are intended to be withdrawn in a future Autoconf release.
2116 # They can cause serious problems if a builder's source tree is in a directory
2117 # whose full name contains unusual characters.
2118 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2119 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2120 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2123 # Make sure we can run config.sub.
2124 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2125 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2126 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2127 { (exit 1); exit 1; }; }
2129 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2130 $as_echo_n "checking build system type... " >&6; }
2131 if test "${ac_cv_build+set}" = set; then
2132 $as_echo_n "(cached) " >&6
2134 ac_build_alias=$build_alias
2135 test "x$ac_build_alias" = x &&
2136 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2137 test "x$ac_build_alias" = x &&
2138 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2139 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2140 { (exit 1); exit 1; }; }
2141 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2142 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2143 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2144 { (exit 1); exit 1; }; }
2147 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2148 $as_echo "$ac_cv_build" >&6; }
2149 case $ac_cv_build in
2151 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2152 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2153 { (exit 1); exit 1; }; };;
2156 ac_save_IFS=$IFS; IFS='-'
2162 # Remember, the first character of IFS is used to create $*,
2163 # except with old shells:
2166 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2169 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2170 $as_echo_n "checking host system type... " >&6; }
2171 if test "${ac_cv_host+set}" = set; then
2172 $as_echo_n "(cached) " >&6
2174 if test "x$host_alias" = x; then
2175 ac_cv_host=$ac_cv_build
2177 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2178 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2179 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2180 { (exit 1); exit 1; }; }
2184 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2185 $as_echo "$ac_cv_host" >&6; }
2188 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2189 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2190 { (exit 1); exit 1; }; };;
2193 ac_save_IFS=$IFS; IFS='-'
2199 # Remember, the first character of IFS is used to create $*,
2200 # except with old shells:
2203 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2207 ac_cpp='$CPP $CPPFLAGS'
2208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2211 if test -n "$ac_tool_prefix"; then
2212 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2213 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 $as_echo_n "checking for $ac_word... " >&6; }
2216 if test "${ac_cv_prog_CC+set}" = set; then
2217 $as_echo_n "(cached) " >&6
2219 if test -n "$CC"; then
2220 ac_cv_prog_CC="$CC" # Let the user override the test.
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2230 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 if test -n "$CC"; then
2241 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2242 $as_echo "$CC" >&6; }
2244 { $as_echo "$as_me:$LINENO: result: no" >&5
2245 $as_echo "no" >&6; }
2250 if test -z "$ac_cv_prog_CC"; then
2252 # Extract the first word of "gcc", so it can be a program name with args.
2253 set dummy gcc; ac_word=$2
2254 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 $as_echo_n "checking for $ac_word... " >&6; }
2256 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2257 $as_echo_n "(cached) " >&6
2259 if test -n "$ac_ct_CC"; then
2260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269 ac_cv_prog_ac_ct_CC="gcc"
2270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2282 $as_echo "$ac_ct_CC" >&6; }
2284 { $as_echo "$as_me:$LINENO: result: no" >&5
2285 $as_echo "no" >&6; }
2288 if test "x$ac_ct_CC" = x; then
2291 case $cross_compiling:$ac_tool_warned in
2293 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2294 whose name does not start with the host triplet. If you think this
2295 configuration is useful to you, please write to autoconf@gnu.org." >&5
2296 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2297 whose name does not start with the host triplet. If you think this
2298 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2299 ac_tool_warned=yes ;;
2307 if test -z "$CC"; then
2308 if test -n "$ac_tool_prefix"; then
2309 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2310 set dummy ${ac_tool_prefix}cc; ac_word=$2
2311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 $as_echo_n "checking for $ac_word... " >&6; }
2313 if test "${ac_cv_prog_CC+set}" = set; then
2314 $as_echo_n "(cached) " >&6
2316 if test -n "$CC"; then
2317 ac_cv_prog_CC="$CC" # Let the user override the test.
2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir=.
2324 for ac_exec_ext in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_CC="${ac_tool_prefix}cc"
2327 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 if test -n "$CC"; then
2338 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2339 $as_echo "$CC" >&6; }
2341 { $as_echo "$as_me:$LINENO: result: no" >&5
2342 $as_echo "no" >&6; }
2348 if test -z "$CC"; then
2349 # Extract the first word of "cc", so it can be a program name with args.
2350 set dummy cc; ac_word=$2
2351 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if test "${ac_cv_prog_CC+set}" = set; then
2354 $as_echo_n "(cached) " >&6
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2368 ac_prog_rejected=yes
2372 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 if test $ac_prog_rejected = yes; then
2380 # We found a bogon in the path, so make sure we never use it.
2381 set dummy $ac_cv_prog_CC
2383 if test $# != 0; then
2384 # We chose a different compiler from the bogus one.
2385 # However, it has the same basename, so the bogon will be chosen
2386 # first if we set CC to just the basename; use the full file name.
2388 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2394 if test -n "$CC"; then
2395 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2396 $as_echo "$CC" >&6; }
2398 { $as_echo "$as_me:$LINENO: result: no" >&5
2399 $as_echo "no" >&6; }
2404 if test -z "$CC"; then
2405 if test -n "$ac_tool_prefix"; then
2406 for ac_prog in cl.exe
2408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2410 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 $as_echo_n "checking for $ac_word... " >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 $as_echo_n "(cached) " >&6
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC="$CC" # Let the user override the test.
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir=.
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2426 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test -n "$CC"; then
2437 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2438 $as_echo "$CC" >&6; }
2440 { $as_echo "$as_me:$LINENO: result: no" >&5
2441 $as_echo "no" >&6; }
2445 test -n "$CC" && break
2448 if test -z "$CC"; then
2450 for ac_prog in cl.exe
2452 # Extract the first word of "$ac_prog", so it can be a program name with args.
2453 set dummy $ac_prog; ac_word=$2
2454 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2455 $as_echo_n "checking for $ac_word... " >&6; }
2456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2457 $as_echo_n "(cached) " >&6
2459 if test -n "$ac_ct_CC"; then
2460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_prog_ac_ct_CC="$ac_prog"
2470 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2480 if test -n "$ac_ct_CC"; then
2481 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2482 $as_echo "$ac_ct_CC" >&6; }
2484 { $as_echo "$as_me:$LINENO: result: no" >&5
2485 $as_echo "no" >&6; }
2489 test -n "$ac_ct_CC" && break
2492 if test "x$ac_ct_CC" = x; then
2495 case $cross_compiling:$ac_tool_warned in
2497 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2498 whose name does not start with the host triplet. If you think this
2499 configuration is useful to you, please write to autoconf@gnu.org." >&5
2500 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2501 whose name does not start with the host triplet. If you think this
2502 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2503 ac_tool_warned=yes ;;
2512 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2513 See \`config.log
' for more details." >&5
2514 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2515 See \`config.log' for more details.
" >&2;}
2516 { (exit 1); exit 1; }; }
2518 # Provide some information about the compiler.
2519 $as_echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2522 { (ac_try="$ac_compiler --version >&5"
2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2527 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2528 $as_echo "$ac_try_echo") >&5
2529 (eval "$ac_compiler --version >&5") 2>&5
2531 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2532 (exit $ac_status); }
2533 { (ac_try="$ac_compiler -v >&5"
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2538 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2539 $as_echo "$ac_try_echo") >&5
2540 (eval "$ac_compiler -v >&5") 2>&5
2542 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2543 (exit $ac_status); }
2544 { (ac_try="$ac_compiler -V >&5"
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2549 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2550 $as_echo "$ac_try_echo") >&5
2551 (eval "$ac_compiler -V >&5") 2>&5
2553 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2554 (exit $ac_status); }
2556 cat >conftest.$ac_ext <<_ACEOF
2559 cat confdefs.h >>conftest.$ac_ext
2560 cat >>conftest.$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2571 ac_clean_files_save=$ac_clean_files
2572 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2573 # Try to create an executable without -o first, disregard a.out.
2574 # It will help us diagnose broken compilers, and finding out an intuition
2576 { $as_echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2577 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2578 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2580 # The possible output files:
2581 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2584 for ac_file in $ac_files
2587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2588 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2593 if { (ac_try="$ac_link_default"
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2599 $as_echo "$ac_try_echo") >&5
2600 (eval "$ac_link_default") 2>&5
2602 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2603 (exit $ac_status); }; then
2604 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2605 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2606 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2607 # so that the user can short-circuit this test for compilers unknown to
2609 for ac_file in $ac_files ''
2611 test -f "$ac_file" || continue
2613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2616 # We found the default executable, but exeext='' is most
2620 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2622 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2624 # We set ac_cv_exeext here because the later test for it is not
2625 # safe: cross compilers may not add the suffix if given an `-o'
2626 # argument, so we may need to know it at that point already.
2627 # Even if this section looks crufty: it has the advantage of
2634 test "$ac_cv_exeext" = no && ac_cv_exeext=
2640 { $as_echo "$as_me:$LINENO: result
: $ac_file" >&5
2641 $as_echo "$ac_file" >&6; }
2642 if test -z "$ac_file"; then
2643 $as_echo "$as_me: failed program was
:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2646 { { $as_echo "$as_me:$LINENO: error
: C compiler cannot create executables
2647 See \
`config.log' for more details." >&5
2648 $as_echo "$as_me: error: C compiler cannot create executables
2649 See \`config.log
' for more details." >&2;}
2650 { (exit 77); exit 77; }; }
2653 ac_exeext=$ac_cv_exeext
2655 # Check that the compiler produces executables we can run. If not, either
2656 # the compiler is broken, or we cross compile.
2657 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2658 $as_echo_n "checking whether the C compiler works... " >&6; }
2659 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2660 # If not cross compiling, check that we can run a simple program.
2661 if test "$cross_compiling" != yes; then
2662 if { ac_try='.
/$ac_file'
2663 { (case "(($ac_try" in
2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2668 $as_echo "$ac_try_echo") >&5
2669 (eval "$ac_try") 2>&5
2671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }; }; then
2675 if test "$cross_compiling" = maybe; then
2678 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2679 If you meant to cross compile, use \`--host'.
2680 See \
`config.log' for more details." >&5
2681 $as_echo "$as_me: error: cannot run C compiled programs.
2682 If you meant to cross compile, use \`--host'.
2683 See \`config.log' for more details.
" >&2;}
2684 { (exit 1); exit 1; }; }
2688 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2689 $as_echo "yes" >&6; }
2691 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2692 ac_clean_files=$ac_clean_files_save
2693 # Check that the compiler produces executables we can run. If not, either
2694 # the compiler is broken, or we cross compile.
2695 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2696 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2697 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2698 $as_echo "$cross_compiling" >&6; }
2700 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2701 $as_echo_n "checking
for suffix of executables...
" >&6; }
2702 if { (ac_try="$ac_link"
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2707 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2708 $as_echo "$ac_try_echo") >&5
2709 (eval "$ac_link") 2>&5
2711 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2712 (exit $ac_status); }; then
2713 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2714 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2715 # work properly (i.e., refer to `conftest.exe'), while it won't with
2717 for ac_file in conftest.exe conftest conftest.*; do
2718 test -f "$ac_file" || continue
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2721 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2727 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2728 See \
`config.log' for more details." >&5
2729 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2730 See \`config.log
' for more details." >&2;}
2731 { (exit 1); exit 1; }; }
2734 rm -f conftest$ac_cv_exeext
2735 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2736 $as_echo "$ac_cv_exeext" >&6; }
2738 rm -f conftest.$ac_ext
2739 EXEEXT=$ac_cv_exeext
2741 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2742 $as_echo_n "checking for suffix of object files... " >&6; }
2743 if test "${ac_cv_objext+set}" = set; then
2744 $as_echo_n "(cached) " >&6
2746 cat >conftest.$ac_ext <<_ACEOF
2749 cat confdefs.h >>conftest.$ac_ext
2750 cat >>conftest.$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2761 rm -f conftest.o conftest.obj
2762 if { (ac_try="$ac_compile"
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2768 $as_echo "$ac_try_echo") >&5
2769 (eval "$ac_compile") 2>&5
2771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }; then
2773 for ac_file in conftest.o conftest.obj conftest.*; do
2774 test -f "$ac_file" || continue;
2776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2777 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2782 $as_echo "$as_me: failed program was:" >&5
2783 sed 's
/^
/|
/' conftest.$ac_ext >&5
2785 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2786 See \`config.log' for more details.
" >&5
2787 $as_echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2788 See \
`config.log' for more details." >&2;}
2789 { (exit 1); exit 1; }; }
2792 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2794 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2795 $as_echo "$ac_cv_objext" >&6; }
2796 OBJEXT=$ac_cv_objext
2798 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2799 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2800 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2801 $as_echo_n "(cached) " >&6
2803 cat >conftest.$ac_ext <<_ACEOF
2806 cat confdefs.h >>conftest.$ac_ext
2807 cat >>conftest.$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2825 *) ac_try_echo
=$ac_try;;
2827 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2828 $as_echo "$ac_try_echo") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2831 grep -v '^ *+' conftest.er1
>conftest.err
2833 cat conftest.err
>&5
2834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest.
$ac_objext; then
2841 $as_echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.
$ac_ext >&5
2847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2848 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2851 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2852 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2853 if test $ac_compiler_gnu = yes; then
2858 ac_test_CFLAGS
=${CFLAGS+set}
2859 ac_save_CFLAGS
=$CFLAGS
2860 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2861 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2862 if test "${ac_cv_prog_cc_g+set}" = set; then
2863 $as_echo_n "(cached) " >&6
2865 ac_save_c_werror_flag
=$ac_c_werror_flag
2866 ac_c_werror_flag
=yes
2869 cat >conftest.
$ac_ext <<_ACEOF
2872 cat confdefs.h
>>conftest.
$ac_ext
2873 cat >>conftest.
$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2884 rm -f conftest.
$ac_objext
2885 if { (ac_try
="$ac_compile"
2887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2891 $as_echo "$ac_try_echo") >&5
2892 (eval "$ac_compile") 2>conftest.er1
2894 grep -v '^ *+' conftest.er1 >conftest.err
2896 cat conftest.err >&5
2897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } && {
2899 test -z "$ac_c_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.$ac_objext; then
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2908 cat >conftest.$ac_ext <<_ACEOF
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2923 rm -f conftest.$ac_objext
2924 if { (ac_try="$ac_compile"
2926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2927 *) ac_try_echo
=$ac_try;;
2929 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2930 $as_echo "$ac_try_echo") >&5
2931 (eval "$ac_compile") 2>conftest.er1
2933 grep -v '^ *+' conftest.er1
>conftest.err
2935 cat conftest.err
>&5
2936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } && {
2938 test -z "$ac_c_werror_flag" ||
2939 test ! -s conftest.err
2940 } && test -s conftest.
$ac_objext; then
2943 $as_echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.
$ac_ext >&5
2946 ac_c_werror_flag
=$ac_save_c_werror_flag
2948 cat >conftest.
$ac_ext <<_ACEOF
2951 cat confdefs.h
>>conftest.
$ac_ext
2952 cat >>conftest.
$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2963 rm -f conftest.
$ac_objext
2964 if { (ac_try
="$ac_compile"
2966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2970 $as_echo "$ac_try_echo") >&5
2971 (eval "$ac_compile") 2>conftest.er1
2973 grep -v '^ *+' conftest.er1 >conftest.err
2975 cat conftest.err >&5
2976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); } && {
2978 test -z "$ac_c_werror_flag" ||
2979 test ! -s conftest.err
2980 } && test -s conftest.$ac_objext; then
2983 $as_echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996 ac_c_werror_flag=$ac_save_c_werror_flag
2998 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2999 $as_echo "$ac_cv_prog_cc_g" >&6; }
3000 if test "$ac_test_CFLAGS" = set; then
3001 CFLAGS=$ac_save_CFLAGS
3002 elif test $ac_cv_prog_cc_g = yes; then
3003 if test "$GCC" = yes; then
3009 if test "$GCC" = yes; then
3015 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3016 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3017 if test "${ac_cv_prog_cc_c89+set}" = set; then
3018 $as_echo_n "(cached) " >&6
3020 ac_cv_prog_cc_c89=no
3022 cat >conftest.$ac_ext <<_ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3030 #include <sys/types.h>
3031 #include <sys/stat.h>
3032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3033 struct buf { int x; };
3034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3035 static char *e (p, i)
3041 static char *f (char * (*g) (char **, int), char **p, ...)
3046 s = g (p, va_arg (v,int));
3051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3052 function prototypes and stuff, but not '\xHH' hex character constants.
3053 These don't provoke an error unfortunately, instead are silently treated
3054 as 'x'. The following induces an error, until -std is added to get
3055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3056 array size at least. It's necessary to write '\x00'==0 to get something
3057 that's true only with -std. */
3058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3061 inside strings and character constants. */
3063 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3065 int test (int i, double x);
3066 struct s1 {int (*f) (int a);};
3067 struct s2 {int (*f) (double a);};
3068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3079 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3080 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3082 CC="$ac_save_CC $ac_arg"
3083 rm -f conftest.$ac_objext
3084 if { (ac_try="$ac_compile"
3086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3087 *) ac_try_echo
=$ac_try;;
3089 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3090 $as_echo "$ac_try_echo") >&5
3091 (eval "$ac_compile") 2>conftest.er1
3093 grep -v '^ *+' conftest.er1
>conftest.err
3095 cat conftest.err
>&5
3096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } && {
3098 test -z "$ac_c_werror_flag" ||
3099 test ! -s conftest.err
3100 } && test -s conftest.
$ac_objext; then
3101 ac_cv_prog_cc_c89
=$ac_arg
3103 $as_echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.
$ac_ext >&5
3109 rm -f core conftest.err conftest.
$ac_objext
3110 test "x$ac_cv_prog_cc_c89" != "xno" && break
3112 rm -f conftest.
$ac_ext
3117 case "x$ac_cv_prog_cc_c89" in
3119 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3120 $as_echo "none needed" >&6; } ;;
3122 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3123 $as_echo "unsupported" >&6; } ;;
3125 CC
="$CC $ac_cv_prog_cc_c89"
3126 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3127 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3132 ac_cpp
='$CPP $CPPFLAGS'
3133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3137 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3138 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3139 if test "${ac_cv_path_SED+set}" = set; then
3140 $as_echo_n "(cached) " >&6
3142 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3143 for ac_i
in 1 2 3 4 5 6 7; do
3144 ac_script
="$ac_script$as_nl$ac_script"
3146 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3147 $as_unset ac_script || ac_script
=
3148 if test -z "$SED"; then
3149 ac_path_SED_found
=false
3150 # Loop through the user's path and test for each of PROGNAME-LIST
3151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir
=.
3156 for ac_prog
in sed gsed
; do
3157 for ac_exec_ext
in '' $ac_executable_extensions; do
3158 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3159 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3160 # Check for GNU ac_path_SED and select it if it is found.
3161 # Check for GNU $ac_path_SED
3162 case `"$ac_path_SED" --version 2>&1` in
3164 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3167 $as_echo_n 0123456789 >"conftest.in"
3170 cat "conftest.in" "conftest.in" >"conftest.tmp"
3171 mv "conftest.tmp" "conftest.in"
3172 cp "conftest.in" "conftest.nl"
3173 $as_echo '' >> "conftest.nl"
3174 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3175 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3176 ac_count
=`expr $ac_count + 1`
3177 if test $ac_count -gt ${ac_path_SED_max-0}; then
3178 # Best one so far, save it but keep looking for a better one
3179 ac_cv_path_SED
="$ac_path_SED"
3180 ac_path_SED_max
=$ac_count
3182 # 10*(2^10) chars as input seems more than enough
3183 test $ac_count -gt 10 && break
3185 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3188 $ac_path_SED_found && break 3
3193 if test -z "$ac_cv_path_SED"; then
3194 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3195 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3196 { (exit 1); exit 1; }; }
3203 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3204 $as_echo "$ac_cv_path_SED" >&6; }
3205 SED
="$ac_cv_path_SED"
3208 test -z "$SED" && SED
=sed
3209 Xsed
="$SED -e 1s/^X//"
3221 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3222 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3223 if test "${ac_cv_path_GREP+set}" = set; then
3224 $as_echo_n "(cached) " >&6
3226 if test -z "$GREP"; then
3227 ac_path_GREP_found
=false
3228 # Loop through the user's path and test for each of PROGNAME-LIST
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_prog
in grep ggrep
; do
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3237 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3238 # Check for GNU ac_path_GREP and select it if it is found.
3239 # Check for GNU $ac_path_GREP
3240 case `"$ac_path_GREP" --version 2>&1` in
3242 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3245 $as_echo_n 0123456789 >"conftest.in"
3248 cat "conftest.in" "conftest.in" >"conftest.tmp"
3249 mv "conftest.tmp" "conftest.in"
3250 cp "conftest.in" "conftest.nl"
3251 $as_echo 'GREP' >> "conftest.nl"
3252 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3253 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3254 ac_count
=`expr $ac_count + 1`
3255 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3256 # Best one so far, save it but keep looking for a better one
3257 ac_cv_path_GREP
="$ac_path_GREP"
3258 ac_path_GREP_max
=$ac_count
3260 # 10*(2^10) chars as input seems more than enough
3261 test $ac_count -gt 10 && break
3263 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3266 $ac_path_GREP_found && break 3
3271 if test -z "$ac_cv_path_GREP"; then
3272 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3273 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3274 { (exit 1); exit 1; }; }
3277 ac_cv_path_GREP
=$GREP
3281 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3282 $as_echo "$ac_cv_path_GREP" >&6; }
3283 GREP
="$ac_cv_path_GREP"
3286 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3287 $as_echo_n "checking for egrep... " >&6; }
3288 if test "${ac_cv_path_EGREP+set}" = set; then
3289 $as_echo_n "(cached) " >&6
3291 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3292 then ac_cv_path_EGREP
="$GREP -E"
3294 if test -z "$EGREP"; then
3295 ac_path_EGREP_found
=false
3296 # Loop through the user's path and test for each of PROGNAME-LIST
3297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3298 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3301 test -z "$as_dir" && as_dir
=.
3302 for ac_prog
in egrep; do
3303 for ac_exec_ext
in '' $ac_executable_extensions; do
3304 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3305 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3306 # Check for GNU ac_path_EGREP and select it if it is found.
3307 # Check for GNU $ac_path_EGREP
3308 case `"$ac_path_EGREP" --version 2>&1` in
3310 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3313 $as_echo_n 0123456789 >"conftest.in"
3316 cat "conftest.in" "conftest.in" >"conftest.tmp"
3317 mv "conftest.tmp" "conftest.in"
3318 cp "conftest.in" "conftest.nl"
3319 $as_echo 'EGREP' >> "conftest.nl"
3320 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3321 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3322 ac_count
=`expr $ac_count + 1`
3323 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3324 # Best one so far, save it but keep looking for a better one
3325 ac_cv_path_EGREP
="$ac_path_EGREP"
3326 ac_path_EGREP_max
=$ac_count
3328 # 10*(2^10) chars as input seems more than enough
3329 test $ac_count -gt 10 && break
3331 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3334 $ac_path_EGREP_found && break 3
3339 if test -z "$ac_cv_path_EGREP"; then
3340 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3341 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3342 { (exit 1); exit 1; }; }
3345 ac_cv_path_EGREP
=$EGREP
3350 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3351 $as_echo "$ac_cv_path_EGREP" >&6; }
3352 EGREP
="$ac_cv_path_EGREP"
3355 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3356 $as_echo_n "checking for fgrep... " >&6; }
3357 if test "${ac_cv_path_FGREP+set}" = set; then
3358 $as_echo_n "(cached) " >&6
3360 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3361 then ac_cv_path_FGREP
="$GREP -F"
3363 if test -z "$FGREP"; then
3364 ac_path_FGREP_found
=false
3365 # Loop through the user's path and test for each of PROGNAME-LIST
3366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3370 test -z "$as_dir" && as_dir
=.
3371 for ac_prog
in fgrep
; do
3372 for ac_exec_ext
in '' $ac_executable_extensions; do
3373 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3374 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
3375 # Check for GNU ac_path_FGREP and select it if it is found.
3376 # Check for GNU $ac_path_FGREP
3377 case `"$ac_path_FGREP" --version 2>&1` in
3379 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3382 $as_echo_n 0123456789 >"conftest.in"
3385 cat "conftest.in" "conftest.in" >"conftest.tmp"
3386 mv "conftest.tmp" "conftest.in"
3387 cp "conftest.in" "conftest.nl"
3388 $as_echo 'FGREP' >> "conftest.nl"
3389 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3390 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3391 ac_count
=`expr $ac_count + 1`
3392 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3393 # Best one so far, save it but keep looking for a better one
3394 ac_cv_path_FGREP
="$ac_path_FGREP"
3395 ac_path_FGREP_max
=$ac_count
3397 # 10*(2^10) chars as input seems more than enough
3398 test $ac_count -gt 10 && break
3400 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3403 $ac_path_FGREP_found && break 3
3408 if test -z "$ac_cv_path_FGREP"; then
3409 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3410 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3411 { (exit 1); exit 1; }; }
3414 ac_cv_path_FGREP
=$FGREP
3419 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
3420 $as_echo "$ac_cv_path_FGREP" >&6; }
3421 FGREP
="$ac_cv_path_FGREP"
3424 test -z "$GREP" && GREP
=grep
3444 # Check whether --with-gnu-ld was given.
3445 if test "${with_gnu_ld+set}" = set; then
3446 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3452 if test "$GCC" = yes; then
3453 # Check if gcc -print-prog-name=ld gives a path.
3454 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3455 $as_echo_n "checking for ld used by $CC... " >&6; }
3458 # gcc leaves a trailing carriage return which upsets mingw
3459 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3461 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3464 # Accept absolute paths.
3466 re_direlt
='/[^/][^/]*/\.\./'
3467 # Canonicalize the pathname of ld
3468 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3469 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3470 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3472 test -z "$LD" && LD
="$ac_prog"
3475 # If it fails, then pretend we aren't using GCC.
3479 # If it is relative, then search for the first ld in PATH.
3483 elif test "$with_gnu_ld" = yes; then
3484 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
3485 $as_echo_n "checking for GNU ld... " >&6; }
3487 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3488 $as_echo_n "checking for non-GNU ld... " >&6; }
3490 if test "${lt_cv_path_LD+set}" = set; then
3491 $as_echo_n "(cached) " >&6
3493 if test -z "$LD"; then
3494 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3495 for ac_dir
in $PATH; do
3497 test -z "$ac_dir" && ac_dir
=.
3498 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3499 lt_cv_path_LD
="$ac_dir/$ac_prog"
3500 # Check to see if the program is GNU ld. I'd rather use --version,
3501 # but apparently some variants of GNU ld only accept -v.
3502 # Break only if it was the GNU/non-GNU ld that we prefer.
3503 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3504 *GNU
* |
*'with BFD'*)
3505 test "$with_gnu_ld" != no
&& break
3508 test "$with_gnu_ld" != yes && break
3515 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3520 if test -n "$LD"; then
3521 { $as_echo "$as_me:$LINENO: result: $LD" >&5
3522 $as_echo "$LD" >&6; }
3524 { $as_echo "$as_me:$LINENO: result: no" >&5
3525 $as_echo "no" >&6; }
3527 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3528 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3529 { (exit 1); exit 1; }; }
3530 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3531 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3532 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3533 $as_echo_n "(cached) " >&6
3535 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3536 case `$LD -v 2>&1 </dev/null` in
3537 *GNU
* |
*'with BFD'*)
3538 lt_cv_prog_gnu_ld
=yes
3541 lt_cv_prog_gnu_ld
=no
3545 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3546 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3547 with_gnu_ld
=$lt_cv_prog_gnu_ld
3557 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3558 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3559 if test "${lt_cv_path_NM+set}" = set; then
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$NM"; then
3563 # Let the user override the test.
3566 lt_nm_to_check
="${ac_tool_prefix}nm"
3567 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3568 lt_nm_to_check
="$lt_nm_to_check nm"
3570 for lt_tmp_nm
in $lt_nm_to_check; do
3571 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3572 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3574 test -z "$ac_dir" && ac_dir
=.
3575 tmp_nm
="$ac_dir/$lt_tmp_nm"
3576 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3577 # Check to see if the nm accepts a BSD-compat flag.
3578 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3579 # nm: unknown option "B" ignored
3580 # Tru64's nm complains that /dev/null is an invalid object file
3581 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3582 */dev
/null
* |
*'Invalid file or object type'*)
3583 lt_cv_path_NM
="$tmp_nm -B"
3587 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3589 lt_cv_path_NM
="$tmp_nm -p"
3593 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3594 continue # so that we can try to find one that supports BSD flags
3603 : ${lt_cv_path_NM=no}
3606 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3607 $as_echo "$lt_cv_path_NM" >&6; }
3608 if test "$lt_cv_path_NM" != "no"; then
3611 # Didn't find any BSD compatible name lister, look for dumpbin.
3612 if test -n "$ac_tool_prefix"; then
3613 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3616 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3617 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3620 $as_echo_n "(cached) " >&6
3622 if test -n "$DUMPBIN"; then
3623 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3632 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3633 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 DUMPBIN
=$ac_cv_prog_DUMPBIN
3643 if test -n "$DUMPBIN"; then
3644 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3645 $as_echo "$DUMPBIN" >&6; }
3647 { $as_echo "$as_me:$LINENO: result: no" >&5
3648 $as_echo "no" >&6; }
3652 test -n "$DUMPBIN" && break
3655 if test -z "$DUMPBIN"; then
3656 ac_ct_DUMPBIN
=$DUMPBIN
3657 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3659 # Extract the first word of "$ac_prog", so it can be a program name with args.
3660 set dummy
$ac_prog; ac_word
=$2
3661 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3664 $as_echo_n "(cached) " >&6
3666 if test -n "$ac_ct_DUMPBIN"; then
3667 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3676 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3677 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3687 if test -n "$ac_ct_DUMPBIN"; then
3688 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3689 $as_echo "$ac_ct_DUMPBIN" >&6; }
3691 { $as_echo "$as_me:$LINENO: result: no" >&5
3692 $as_echo "no" >&6; }
3696 test -n "$ac_ct_DUMPBIN" && break
3699 if test "x$ac_ct_DUMPBIN" = x
; then
3702 case $cross_compiling:$ac_tool_warned in
3704 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3705 whose name does not start with the host triplet. If you think this
3706 configuration is useful to you, please write to autoconf@gnu.org." >&5
3707 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3708 whose name does not start with the host triplet. If you think this
3709 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3710 ac_tool_warned
=yes ;;
3712 DUMPBIN
=$ac_ct_DUMPBIN
3717 if test "$DUMPBIN" != ":"; then
3721 test -z "$NM" && NM
=nm
3728 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3729 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3730 if test "${lt_cv_nm_interface+set}" = set; then
3731 $as_echo_n "(cached) " >&6
3733 lt_cv_nm_interface
="BSD nm"
3734 echo "int some_variable = 0;" > conftest.
$ac_ext
3735 (eval echo "\"\$as_me:3735: $ac_compile\"" >&5)
3736 (eval "$ac_compile" 2>conftest.err
)
3737 cat conftest.err
>&5
3738 (eval echo "\"\$as_me:3738: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3739 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3740 cat conftest.err
>&5
3741 (eval echo "\"\$as_me:3741: output\"" >&5)
3742 cat conftest.out
>&5
3743 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3744 lt_cv_nm_interface
="MS dumpbin"
3748 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3749 $as_echo "$lt_cv_nm_interface" >&6; }
3751 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3752 $as_echo_n "checking whether ln -s works... " >&6; }
3754 if test "$LN_S" = "ln -s"; then
3755 { $as_echo "$as_me:$LINENO: result: yes" >&5
3756 $as_echo "yes" >&6; }
3758 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3759 $as_echo "no, using $LN_S" >&6; }
3762 # find the maximum length of command line arguments
3763 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3764 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3765 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3766 $as_echo_n "(cached) " >&6
3773 # On DJGPP, this test can blow up pretty badly due to problems in libc
3774 # (any single argument exceeding 2000 bytes causes a buffer overrun
3775 # during glob expansion). Even if it were fixed, the result of this
3776 # check would be larger than it should be.
3777 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3781 # Under GNU Hurd, this test is not required because there is
3782 # no limit to the length of command line arguments.
3783 # Libtool will interpret -1 as no limit whatsoever
3784 lt_cv_sys_max_cmd_len
=-1;
3787 cygwin
* | mingw
* | cegcc
*)
3788 # On Win9x/ME, this test blows up -- it succeeds, but takes
3789 # about 5 minutes as the teststring grows exponentially.
3790 # Worse, since 9x/ME are not pre-emptively multitasking,
3791 # you end up with a "frozen" computer, even though with patience
3792 # the test eventually succeeds (with a max line length of 256k).
3793 # Instead, let's just punt: use the minimum linelength reported by
3794 # all of the supported platforms: 8192 (on NT/2K/XP).
3795 lt_cv_sys_max_cmd_len
=8192;
3799 # On AmigaOS with pdksh, this test takes hours, literally.
3800 # So we just punt and use a minimum line length of 8192.
3801 lt_cv_sys_max_cmd_len
=8192;
3804 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3805 # This has been around since 386BSD, at least. Likely further.
3806 if test -x /sbin
/sysctl
; then
3807 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3808 elif test -x /usr
/sbin
/sysctl
; then
3809 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3811 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3813 # And add a safety zone
3814 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3815 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3819 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3820 lt_cv_sys_max_cmd_len
=196608
3824 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3825 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3826 # nice to cause kernel panics so lets avoid the loop below.
3827 # First set a reasonable default.
3828 lt_cv_sys_max_cmd_len
=16384
3830 if test -x /sbin
/sysconfig
; then
3831 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3832 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
3837 lt_cv_sys_max_cmd_len
=102400
3839 sysv5
* | sco5v6
* | sysv4.2uw2
*)
3840 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3841 if test -n "$kargmax"; then
3842 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
3844 lt_cv_sys_max_cmd_len
=32768
3848 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
3849 if test -n "$lt_cv_sys_max_cmd_len"; then
3850 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3851 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3853 # Make teststring a little bigger before we do anything with it.
3854 # a 1K string should be a reasonable start.
3855 for i
in 1 2 3 4 5 6 7 8 ; do
3856 teststring
=$teststring$teststring
3858 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
3859 # If test is not a shell built-in, we'll probably end up computing a
3860 # maximum length that is only half of the actual maximum length, but
3862 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3863 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
3864 test $i != 17 # 1/2 MB should be enough
3867 teststring
=$teststring$teststring
3869 # Only check the string length outside the loop.
3870 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
3872 # Add a significant safety factor because C++ compilers can tack on
3873 # massive amounts of additional arguments before passing them to the
3874 # linker. It appears as though 1/2 is a usable value.
3875 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
3882 if test -n $lt_cv_sys_max_cmd_len ; then
3883 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3884 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3886 { $as_echo "$as_me:$LINENO: result: none" >&5
3887 $as_echo "none" >&6; }
3889 max_cmd_len
=$lt_cv_sys_max_cmd_len
3900 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3901 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3902 # Try some XSI features
3905 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3907 && eval 'test $(( 1 + 1 )) -eq 2 \
3908 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3910 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
3911 $as_echo "$xsi_shell" >&6; }
3914 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
3915 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
3917 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
3919 && lt_shell_append=yes
3920 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
3921 $as_echo "$lt_shell_append" >&6; }
3924 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3934 # test EBCDIC or ASCII
3935 case `echo X|tr X '\101'` in
3936 A) # ASCII based system
3937 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3938 lt_SP2NL='tr \040 \012'
3939 lt_NL2SP='tr \015\012 \040\040'
3941 *) # EBCDIC based system
3942 lt_SP2NL='tr \100 \n'
3943 lt_NL2SP='tr \r\n \100\100'
3955 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
3956 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
3957 if test "${lt_cv_ld_reload_flag+set}" = set; then
3958 $as_echo_n "(cached
) " >&6
3960 lt_cv_ld_reload_flag='-r'
3962 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
3963 $as_echo "$lt_cv_ld_reload_flag" >&6; }
3964 reload_flag=$lt_cv_ld_reload_flag
3965 case $reload_flag in
3967 *) reload_flag=" $reload_flag" ;;
3969 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3972 if test "$GCC" = yes; then
3973 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3975 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
3990 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3991 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
3992 $as_echo_n "checking
for $ac_word...
" >&6; }
3993 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3994 $as_echo_n "(cached
) " >&6
3996 if test -n "$OBJDUMP"; then
3997 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4007 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4016 OBJDUMP=$ac_cv_prog_OBJDUMP
4017 if test -n "$OBJDUMP"; then
4018 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4019 $as_echo "$OBJDUMP" >&6; }
4021 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4022 $as_echo "no
" >&6; }
4027 if test -z "$ac_cv_prog_OBJDUMP"; then
4028 ac_ct_OBJDUMP=$OBJDUMP
4029 # Extract the first word of "objdump
", so it can be a program name with args.
4030 set dummy objdump; ac_word=$2
4031 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4032 $as_echo_n "checking
for $ac_word...
" >&6; }
4033 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4034 $as_echo_n "(cached
) " >&6
4036 if test -n "$ac_ct_OBJDUMP"; then
4037 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4047 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4056 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4057 if test -n "$ac_ct_OBJDUMP"; then
4058 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4059 $as_echo "$ac_ct_OBJDUMP" >&6; }
4061 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4062 $as_echo "no
" >&6; }
4065 if test "x
$ac_ct_OBJDUMP" = x; then
4068 case $cross_compiling:$ac_tool_warned in
4070 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4071 whose name does not start with the
host triplet. If you think this
4072 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4073 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4074 whose name does not start with the
host triplet. If you think this
4075 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4076 ac_tool_warned=yes ;;
4078 OBJDUMP=$ac_ct_OBJDUMP
4081 OBJDUMP="$ac_cv_prog_OBJDUMP"
4084 test -z "$OBJDUMP" && OBJDUMP=objdump
4094 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4095 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4096 if test "${lt_cv_deplibs_check_method+set}" = set; then
4097 $as_echo_n "(cached
) " >&6
4099 lt_cv_file_magic_cmd='$MAGIC_CMD'
4100 lt_cv_file_magic_test_file=
4101 lt_cv_deplibs_check_method='unknown'
4102 # Need to set the preceding variable on all platforms that support
4103 # interlibrary dependencies.
4104 # 'none' -- dependencies not supported.
4105 # `unknown' -- same as none, but documents that we really don't know.
4106 # 'pass_all' -- all dependencies passed with no checks.
4107 # 'test_compile' -- check by making test program.
4108 # 'file_magic [[regex]]' -- check by looking for files in library path
4109 # which responds to the $file_magic_cmd with a given extended regex.
4110 # If you have `file' or equivalent on your system and you're not sure
4111 # whether `pass_all' will *always* work, you probably want this one.
4115 lt_cv_deplibs_check_method=pass_all
4119 lt_cv_deplibs_check_method=pass_all
4123 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4124 lt_cv_file_magic_cmd='/usr/bin/file -L'
4125 lt_cv_file_magic_test_file=/shlib/libc.so
4129 # func_win32_libid is a shell function defined in ltmain.sh
4130 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4131 lt_cv_file_magic_cmd='func_win32_libid'
4135 # Base MSYS/MinGW do not provide the 'file' command needed by
4136 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4137 # unless we find 'file', for example because we are cross-compiling.
4138 if ( file / ) >/dev/null 2>&1; then
4139 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4140 lt_cv_file_magic_cmd='func_win32_libid'
4142 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4143 lt_cv_file_magic_cmd='$OBJDUMP -f'
4148 # use the weaker test based on 'objdump'. See mingw*.
4149 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4150 lt_cv_file_magic_cmd='$OBJDUMP -f'
4153 darwin* | rhapsody*)
4154 lt_cv_deplibs_check_method=pass_all
4157 freebsd* | dragonfly*)
4158 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4161 # Not sure whether the presence of OpenBSD here was a mistake.
4162 # Let's accept both of them until this is cleared up.
4163 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4164 lt_cv_file_magic_cmd=/usr/bin/file
4165 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4169 lt_cv_deplibs_check_method=pass_all
4174 lt_cv_deplibs_check_method=pass_all
4177 hpux10.20* | hpux11*)
4178 lt_cv_file_magic_cmd=/usr/bin/file
4181 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4182 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4185 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]'
4186 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4189 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4190 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4196 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4197 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4200 irix5* | irix6* | nonstopux*)
4202 *-32|*"-32 ") libmagic=32-bit;;
4203 *-n32|*"-n32 ") libmagic=N32;;
4204 *-64|*"-64 ") libmagic=64-bit;;
4205 *) libmagic=never-match;;
4207 lt_cv_deplibs_check_method=pass_all
4210 # This must be Linux ELF.
4211 linux* | k*bsd*-gnu)
4212 lt_cv_deplibs_check_method=pass_all
4216 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4219 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4224 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4225 lt_cv_file_magic_cmd=/usr/bin/file
4226 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4230 lt_cv_deplibs_check_method=pass_all
4234 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4235 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4237 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4241 osf3* | osf4* | osf5*)
4242 lt_cv_deplibs_check_method=pass_all
4246 lt_cv_deplibs_check_method=pass_all
4250 lt_cv_deplibs_check_method=pass_all
4253 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4254 lt_cv_deplibs_check_method=pass_all
4258 case $host_vendor in
4260 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]'
4261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4264 lt_cv_deplibs_check_method=pass_all
4267 lt_cv_file_magic_cmd='/bin/file'
4268 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4271 lt_cv_file_magic_cmd='/bin/file'
4272 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4273 lt_cv_file_magic_test_file=/lib/libc.so
4276 lt_cv_deplibs_check_method=pass_all
4279 lt_cv_deplibs_check_method=pass_all
4285 lt_cv_deplibs_check_method=pass_all
4290 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4291 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4292 file_magic_cmd=$lt_cv_file_magic_cmd
4293 deplibs_check_method=$lt_cv_deplibs_check_method
4294 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4307 if test -n "$ac_tool_prefix"; then
4308 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4309 set dummy ${ac_tool_prefix}ar; ac_word=$2
4310 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4311 $as_echo_n "checking
for $ac_word...
" >&6; }
4312 if test "${ac_cv_prog_AR+set}" = set; then
4313 $as_echo_n "(cached
) " >&6
4315 if test -n "$AR"; then
4316 ac_cv_prog_AR="$AR" # Let the user override the test.
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 ac_cv_prog_AR="${ac_tool_prefix}ar"
4326 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4336 if test -n "$AR"; then
4337 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
4338 $as_echo "$AR" >&6; }
4340 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4341 $as_echo "no
" >&6; }
4346 if test -z "$ac_cv_prog_AR"; then
4348 # Extract the first word of "ar", so it can be a program name with args.
4349 set dummy ar; ac_word=$2
4350 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4351 $as_echo_n "checking
for $ac_word...
" >&6; }
4352 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4353 $as_echo_n "(cached
) " >&6
4355 if test -n "$ac_ct_AR"; then
4356 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4365 ac_cv_prog_ac_ct_AR="ar"
4366 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4375 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4376 if test -n "$ac_ct_AR"; then
4377 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4378 $as_echo "$ac_ct_AR" >&6; }
4380 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4381 $as_echo "no
" >&6; }
4384 if test "x
$ac_ct_AR" = x; then
4387 case $cross_compiling:$ac_tool_warned in
4389 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4390 whose name does not start with the
host triplet. If you think this
4391 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4392 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4393 whose name does not start with the
host triplet. If you think this
4394 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4395 ac_tool_warned=yes ;;
4403 test -z "$AR" && AR=ar
4404 test -z "$AR_FLAGS" && AR_FLAGS=cru
4416 if test -n "$ac_tool_prefix"; then
4417 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4418 set dummy ${ac_tool_prefix}strip; ac_word=$2
4419 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4420 $as_echo_n "checking
for $ac_word...
" >&6; }
4421 if test "${ac_cv_prog_STRIP+set}" = set; then
4422 $as_echo_n "(cached
) " >&6
4424 if test -n "$STRIP"; then
4425 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4435 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4444 STRIP=$ac_cv_prog_STRIP
4445 if test -n "$STRIP"; then
4446 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
4447 $as_echo "$STRIP" >&6; }
4449 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4450 $as_echo "no
" >&6; }
4455 if test -z "$ac_cv_prog_STRIP"; then
4457 # Extract the first word of "strip
", so it can be a program name with args.
4458 set dummy strip; ac_word=$2
4459 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4460 $as_echo_n "checking
for $ac_word...
" >&6; }
4461 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4462 $as_echo_n "(cached
) " >&6
4464 if test -n "$ac_ct_STRIP"; then
4465 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir=.
4472 for ac_exec_ext in '' $ac_executable_extensions; do
4473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474 ac_cv_prog_ac_ct_STRIP="strip
"
4475 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4484 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4485 if test -n "$ac_ct_STRIP"; then
4486 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4487 $as_echo "$ac_ct_STRIP" >&6; }
4489 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4490 $as_echo "no
" >&6; }
4493 if test "x
$ac_ct_STRIP" = x; then
4496 case $cross_compiling:$ac_tool_warned in
4498 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4499 whose name does not start with the
host triplet. If you think this
4500 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4501 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4502 whose name does not start with the
host triplet. If you think this
4503 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4504 ac_tool_warned=yes ;;
4509 STRIP="$ac_cv_prog_STRIP"
4512 test -z "$STRIP" && STRIP=:
4519 if test -n "$ac_tool_prefix"; then
4520 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4521 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4522 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4523 $as_echo_n "checking
for $ac_word...
" >&6; }
4524 if test "${ac_cv_prog_RANLIB+set}" = set; then
4525 $as_echo_n "(cached
) " >&6
4527 if test -n "$RANLIB"; then
4528 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4537 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4538 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4547 RANLIB=$ac_cv_prog_RANLIB
4548 if test -n "$RANLIB"; then
4549 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
4550 $as_echo "$RANLIB" >&6; }
4552 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4553 $as_echo "no
" >&6; }
4558 if test -z "$ac_cv_prog_RANLIB"; then
4559 ac_ct_RANLIB=$RANLIB
4560 # Extract the first word of "ranlib
", so it can be a program name with args.
4561 set dummy ranlib; ac_word=$2
4562 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4563 $as_echo_n "checking
for $ac_word...
" >&6; }
4564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4565 $as_echo_n "(cached
) " >&6
4567 if test -n "$ac_ct_RANLIB"; then
4568 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir=.
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4577 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4578 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4588 if test -n "$ac_ct_RANLIB"; then
4589 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4590 $as_echo "$ac_ct_RANLIB" >&6; }
4592 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4593 $as_echo "no
" >&6; }
4596 if test "x
$ac_ct_RANLIB" = x; then
4599 case $cross_compiling:$ac_tool_warned in
4601 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4602 whose name does not start with the
host triplet. If you think this
4603 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4604 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4605 whose name does not start with the
host triplet. If you think this
4606 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4607 ac_tool_warned=yes ;;
4609 RANLIB=$ac_ct_RANLIB
4612 RANLIB="$ac_cv_prog_RANLIB"
4615 test -z "$RANLIB" && RANLIB=:
4622 # Determine commands to create old-style static archives.
4623 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4624 old_postinstall_cmds='chmod 644 $oldlib'
4625 old_postuninstall_cmds=
4627 if test -n "$RANLIB"; then
4630 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4633 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4636 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4672 # If no C compiler was specified, use CC.
4675 # If no C compiler flags were specified, use CFLAGS.
4676 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4678 # Allow CC to be a program name with arguments.
4682 # Check for command to grab the raw symbol name followed by C symbol from nm.
4683 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4684 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4685 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4686 $as_echo_n "(cached
) " >&6
4689 # These are sane defaults that work on at least a few old systems.
4690 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4692 # Character class describing NM global symbol codes.
4693 symcode='[BCDEGRST]'
4695 # Regexp to match symbols that can be accessed directly from C.
4696 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4698 # Define system-specific variables.
4703 cygwin* | mingw* | pw32* | cegcc*)
4704 symcode='[ABCDGISTW]'
4707 if test "$host_cpu" = ia64; then
4708 symcode='[ABCDEGRST]'
4712 symcode='[BCDEGRST]'
4715 symcode='[BCDEGQRST]'
4726 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4734 # If we're using GNU nm, then use its standard symbol codes.
4735 case `$NM -V 2>&1` in
4736 *GNU* | *'with BFD'*)
4737 symcode='[ABCDGIRSTW]' ;;
4740 # Transform an extracted symbol line into a proper C declaration.
4741 # Some systems (esp. on ia64) link data and code symbols differently,
4742 # so use this general approach.
4743 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4745 # Transform an extracted symbol line into symbol name and symbol address
4746 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4747 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'"
4749 # Handle CRLF in mingw tool chain
4753 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4757 # Try without a prefix underscore, then with it.
4758 for ac_symprfx in "" "_
"; do
4760 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4761 symxfrm="\\1 $ac_symprfx\\2 \\2"
4763 # Write the raw and C identifiers.
4764 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4765 # Fake it for dumpbin and say T for any non-static function
4766 # and D for any global variable.
4767 # Also find C++ and __fastcall symbols from MSVC++,
4768 # which start with @ or ?.
4769 lt_cv_sys_global_symbol_pipe="$AWK '"\
4770 " {last_section=section; section=\$ 3};"\
4771 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4772 " \$ 0!~/External *\|/{next};"\
4773 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4774 " {if(hide[section]) next};"\
4775 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4776 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4777 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4778 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4779 " ' prfx
=^
$ac_symprfx"
4781 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4784 # Check to see that the pipe works correctly.
4788 cat > conftest.$ac_ext <<_LT_EOF
4793 void nm_test_func(void);
4794 void nm_test_func(void){}
4798 int main(){nm_test_var='a';nm_test_func();return(0);}
4801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4802 (eval $ac_compile) 2>&5
4804 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4805 (exit $ac_status); }; then
4806 # Now try to grab the symbols.
4808 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4809 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4811 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4812 (exit $ac_status); } && test -s "$nlist"; then
4813 # Try sorting and uniquifying the output.
4814 if sort "$nlist" | uniq > "$nlist"T; then
4815 mv -f "$nlist"T "$nlist"
4820 # Make sure that we snagged all the symbols we need.
4821 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4822 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4823 cat <<_LT_EOF > conftest.$ac_ext
4829 # Now generate the symbol file.
4830 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4832 cat <<_LT_EOF >> conftest.$ac_ext
4834 /* The mapping between symbol names and symbols. */
4839 lt__PROGRAM__LTX_preloaded_symbols[] =
4841 { "@PROGRAM@
", (void *) 0 },
4843 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4844 cat <<\_LT_EOF >> conftest.$ac_ext
4848 /* This works around a problem in FreeBSD linker */
4849 #ifdef FREEBSD_WORKAROUND
4850 static const void *lt_preloaded_setup() {
4851 return lt__PROGRAM__LTX_preloaded_symbols;
4859 # Now try linking the two files.
4860 mv conftest.$ac_objext conftstm.$ac_objext
4861 lt_save_LIBS="$LIBS"
4862 lt_save_CFLAGS="$CFLAGS"
4863 LIBS="conftstm.
$ac_objext"
4864 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4866 (eval $ac_link) 2>&5
4868 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4869 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4872 LIBS="$lt_save_LIBS"
4873 CFLAGS="$lt_save_CFLAGS"
4875 echo "cannot
find nm_test_func
in $nlist" >&5
4878 echo "cannot
find nm_test_var
in $nlist" >&5
4881 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4884 echo "$progname: failed program was
:" >&5
4885 cat conftest.$ac_ext >&5
4887 rm -rf conftest* conftst*
4889 # Do not use the global_symbol_pipe unless it works.
4890 if test "$pipe_works" = yes; then
4893 lt_cv_sys_global_symbol_pipe=
4899 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4900 lt_cv_sys_global_symbol_to_cdecl=
4902 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4903 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
4904 $as_echo "failed
" >&6; }
4906 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
4907 $as_echo "ok
" >&6; }
4932 # Check whether --enable-libtool-lock was given.
4933 if test "${enable_libtool_lock+set}" = set; then
4934 enableval=$enable_libtool_lock;
4937 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4939 # Some flags need to be propagated to the compiler or linker for good
4943 # Find out which ABI we are using.
4944 echo 'int i;' > conftest.$ac_ext
4945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4946 (eval $ac_compile) 2>&5
4948 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4949 (exit $ac_status); }; then
4950 case `/usr/bin/file conftest.$ac_objext` in
4962 # Find out which ABI we are using.
4963 echo '#line 4963 "configure
"' > conftest.$ac_ext
4964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4965 (eval $ac_compile) 2>&5
4967 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4968 (exit $ac_status); }; then
4969 if test "$lt_cv_prog_gnu_ld" = yes; then
4970 case `/usr/bin/file conftest.$ac_objext` in
4972 LD="${LD-ld} -melf32bsmip"
4975 LD="${LD-ld} -melf32bmipn32"
4978 LD="${LD-ld} -melf64bmip"
4982 case `/usr/bin/file conftest.$ac_objext` in
4998 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4999 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5000 # Find out which ABI we are using.
5001 echo 'int i;' > conftest.$ac_ext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003 (eval $ac_compile) 2>&5
5005 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5006 (exit $ac_status); }; then
5007 case `/usr/bin/file conftest.o` in
5010 x86_64-*kfreebsd*-gnu)
5011 LD="${LD-ld} -m elf_i386_fbsd
"
5014 LD="${LD-ld} -m elf_i386
"
5016 ppc64-*linux*|powerpc64-*linux*)
5017 LD="${LD-ld} -m elf32ppclinux
"
5020 LD="${LD-ld} -m elf_s390
"
5023 LD="${LD-ld} -m elf32_sparc
"
5029 x86_64-*kfreebsd*-gnu)
5030 LD="${LD-ld} -m elf_x86_64_fbsd
"
5033 LD="${LD-ld} -m elf_x86_64
"
5035 ppc*-*linux*|powerpc*-*linux*)
5036 LD="${LD-ld} -m elf64ppc
"
5038 s390*-*linux*|s390*-*tpf*)
5039 LD="${LD-ld} -m elf64_s390
"
5042 LD="${LD-ld} -m elf64_sparc
"
5052 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5053 SAVE_CFLAGS="$CFLAGS"
5054 CFLAGS="$CFLAGS -belf"
5055 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5056 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5057 if test "${lt_cv_cc_needs_belf+set}" = set; then
5058 $as_echo_n "(cached
) " >&6
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5081 rm -f conftest.$ac_objext conftest$ac_exeext
5082 if { (ac_try="$ac_link"
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5088 $as_echo "$ac_try_echo") >&5
5089 (eval "$ac_link") 2>conftest.er1
5091 grep -v '^ *+' conftest.er1 >conftest.err
5093 cat conftest.err >&5
5094 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5095 (exit $ac_status); } && {
5096 test -z "$ac_c_werror_flag" ||
5097 test ! -s conftest.err
5098 } && test -s conftest$ac_exeext && {
5099 test "$cross_compiling" = yes ||
5100 $as_test_x conftest$ac_exeext
5102 lt_cv_cc_needs_belf=yes
5104 $as_echo "$as_me: failed program was
:" >&5
5105 sed 's/^/| /' conftest.$ac_ext >&5
5107 lt_cv_cc_needs_belf=no
5110 rm -rf conftest.dSYM
5111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5112 conftest$ac_exeext conftest.$ac_ext
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5120 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5121 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5122 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5123 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5124 CFLAGS="$SAVE_CFLAGS"
5128 # Find out which ABI we are using.
5129 echo 'int i;' > conftest.$ac_ext
5130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5131 (eval $ac_compile) 2>&5
5133 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5134 (exit $ac_status); }; then
5135 case `/usr/bin/file conftest.o` in
5137 case $lt_cv_prog_gnu_ld in
5138 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5140 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5152 need_locks="$enable_libtool_lock"
5156 rhapsody* | darwin*)
5157 if test -n "$ac_tool_prefix"; then
5158 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5159 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5160 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5161 $as_echo_n "checking
for $ac_word...
" >&6; }
5162 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5163 $as_echo_n "(cached
) " >&6
5165 if test -n "$DSYMUTIL"; then
5166 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5176 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5185 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5186 if test -n "$DSYMUTIL"; then
5187 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5188 $as_echo "$DSYMUTIL" >&6; }
5190 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5191 $as_echo "no
" >&6; }
5196 if test -z "$ac_cv_prog_DSYMUTIL"; then
5197 ac_ct_DSYMUTIL=$DSYMUTIL
5198 # Extract the first word of "dsymutil
", so it can be a program name with args.
5199 set dummy dsymutil; ac_word=$2
5200 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5201 $as_echo_n "checking
for $ac_word...
" >&6; }
5202 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5203 $as_echo_n "(cached
) " >&6
5205 if test -n "$ac_ct_DSYMUTIL"; then
5206 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5216 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5225 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5226 if test -n "$ac_ct_DSYMUTIL"; then
5227 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5228 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5230 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5231 $as_echo "no
" >&6; }
5234 if test "x
$ac_ct_DSYMUTIL" = x; then
5237 case $cross_compiling:$ac_tool_warned in
5239 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5240 whose name does not start with the
host triplet. If you think this
5241 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5242 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5243 whose name does not start with the
host triplet. If you think this
5244 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5245 ac_tool_warned=yes ;;
5247 DSYMUTIL=$ac_ct_DSYMUTIL
5250 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5253 if test -n "$ac_tool_prefix"; then
5254 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5255 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5256 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5257 $as_echo_n "checking
for $ac_word...
" >&6; }
5258 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5259 $as_echo_n "(cached
) " >&6
5261 if test -n "$NMEDIT"; then
5262 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5272 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5281 NMEDIT=$ac_cv_prog_NMEDIT
5282 if test -n "$NMEDIT"; then
5283 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5284 $as_echo "$NMEDIT" >&6; }
5286 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5287 $as_echo "no
" >&6; }
5292 if test -z "$ac_cv_prog_NMEDIT"; then
5293 ac_ct_NMEDIT=$NMEDIT
5294 # Extract the first word of "nmedit
", so it can be a program name with args.
5295 set dummy nmedit; ac_word=$2
5296 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5297 $as_echo_n "checking
for $ac_word...
" >&6; }
5298 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5299 $as_echo_n "(cached
) " >&6
5301 if test -n "$ac_ct_NMEDIT"; then
5302 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5312 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5321 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5322 if test -n "$ac_ct_NMEDIT"; then
5323 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5324 $as_echo "$ac_ct_NMEDIT" >&6; }
5326 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5327 $as_echo "no
" >&6; }
5330 if test "x
$ac_ct_NMEDIT" = x; then
5333 case $cross_compiling:$ac_tool_warned in
5335 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5336 whose name does not start with the
host triplet. If you think this
5337 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5338 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5339 whose name does not start with the
host triplet. If you think this
5340 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5341 ac_tool_warned=yes ;;
5343 NMEDIT=$ac_ct_NMEDIT
5346 NMEDIT="$ac_cv_prog_NMEDIT"
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5352 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5353 $as_echo_n "checking
for $ac_word...
" >&6; }
5354 if test "${ac_cv_prog_LIPO+set}" = set; then
5355 $as_echo_n "(cached
) " >&6
5357 if test -n "$LIPO"; then
5358 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5368 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5377 LIPO=$ac_cv_prog_LIPO
5378 if test -n "$LIPO"; then
5379 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
5380 $as_echo "$LIPO" >&6; }
5382 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5383 $as_echo "no
" >&6; }
5388 if test -z "$ac_cv_prog_LIPO"; then
5390 # Extract the first word of "lipo
", so it can be a program name with args.
5391 set dummy lipo; ac_word=$2
5392 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5393 $as_echo_n "checking
for $ac_word...
" >&6; }
5394 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5395 $as_echo_n "(cached
) " >&6
5397 if test -n "$ac_ct_LIPO"; then
5398 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5407 ac_cv_prog_ac_ct_LIPO="lipo
"
5408 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5417 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5418 if test -n "$ac_ct_LIPO"; then
5419 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
5420 $as_echo "$ac_ct_LIPO" >&6; }
5422 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5423 $as_echo "no
" >&6; }
5426 if test "x
$ac_ct_LIPO" = x; then
5429 case $cross_compiling:$ac_tool_warned in
5431 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5432 whose name does not start with the
host triplet. If you think this
5433 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5434 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5435 whose name does not start with the
host triplet. If you think this
5436 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5437 ac_tool_warned=yes ;;
5442 LIPO="$ac_cv_prog_LIPO"
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5447 set dummy ${ac_tool_prefix}otool; ac_word=$2
5448 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5449 $as_echo_n "checking
for $ac_word...
" >&6; }
5450 if test "${ac_cv_prog_OTOOL+set}" = set; then
5451 $as_echo_n "(cached
) " >&6
5453 if test -n "$OTOOL"; then
5454 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5464 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5473 OTOOL=$ac_cv_prog_OTOOL
5474 if test -n "$OTOOL"; then
5475 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
5476 $as_echo "$OTOOL" >&6; }
5478 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5479 $as_echo "no
" >&6; }
5484 if test -z "$ac_cv_prog_OTOOL"; then
5486 # Extract the first word of "otool
", so it can be a program name with args.
5487 set dummy otool; ac_word=$2
5488 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5489 $as_echo_n "checking
for $ac_word...
" >&6; }
5490 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5491 $as_echo_n "(cached
) " >&6
5493 if test -n "$ac_ct_OTOOL"; then
5494 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5503 ac_cv_prog_ac_ct_OTOOL="otool
"
5504 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5513 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5514 if test -n "$ac_ct_OTOOL"; then
5515 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
5516 $as_echo "$ac_ct_OTOOL" >&6; }
5518 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5519 $as_echo "no
" >&6; }
5522 if test "x
$ac_ct_OTOOL" = x; then
5525 case $cross_compiling:$ac_tool_warned in
5527 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5528 whose name does not start with the
host triplet. If you think this
5529 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5530 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5531 whose name does not start with the
host triplet. If you think this
5532 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5533 ac_tool_warned=yes ;;
5538 OTOOL="$ac_cv_prog_OTOOL"
5541 if test -n "$ac_tool_prefix"; then
5542 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5543 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5544 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5545 $as_echo_n "checking
for $ac_word...
" >&6; }
5546 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5547 $as_echo_n "(cached
) " >&6
5549 if test -n "$OTOOL64"; then
5550 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5559 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5560 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5569 OTOOL64=$ac_cv_prog_OTOOL64
5570 if test -n "$OTOOL64"; then
5571 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
5572 $as_echo "$OTOOL64" >&6; }
5574 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5575 $as_echo "no
" >&6; }
5580 if test -z "$ac_cv_prog_OTOOL64"; then
5581 ac_ct_OTOOL64=$OTOOL64
5582 # Extract the first word of "otool64
", so it can be a program name with args.
5583 set dummy otool64; ac_word=$2
5584 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5585 $as_echo_n "checking
for $ac_word...
" >&6; }
5586 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5587 $as_echo_n "(cached
) " >&6
5589 if test -n "$ac_ct_OTOOL64"; then
5590 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5600 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5609 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5610 if test -n "$ac_ct_OTOOL64"; then
5611 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
5612 $as_echo "$ac_ct_OTOOL64" >&6; }
5614 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5615 $as_echo "no
" >&6; }
5618 if test "x
$ac_ct_OTOOL64" = x; then
5621 case $cross_compiling:$ac_tool_warned in
5623 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5624 whose name does not start with the
host triplet. If you think this
5625 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5626 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5627 whose name does not start with the
host triplet. If you think this
5628 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5629 ac_tool_warned=yes ;;
5631 OTOOL64=$ac_ct_OTOOL64
5634 OTOOL64="$ac_cv_prog_OTOOL64"
5663 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
5664 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5665 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5666 $as_echo_n "(cached
) " >&6
5668 lt_cv_apple_cc_single_mod=no
5669 if test -z "${LT_MULTI_MODULE}"; then
5670 # By default we will add the -single_module flag. You can override
5671 # by either setting the environment variable LT_MULTI_MODULE
5672 # non-empty at configure time, or by adding -multi_module to the
5674 rm -rf libconftest.dylib*
5675 echo "int foo
(void
){return 1;}" > conftest.c
5676 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5677 -dynamiclib -Wl,-single_module conftest.c
" >&5
5678 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5679 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5681 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5682 lt_cv_apple_cc_single_mod=yes
5684 cat conftest.err >&5
5686 rm -rf libconftest.dylib*
5690 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
5691 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5692 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
5693 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5694 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5695 $as_echo_n "(cached
) " >&6
5697 lt_cv_ld_exported_symbols_list=no
5698 save_LDFLAGS=$LDFLAGS
5699 echo "_main
" > conftest.sym
5700 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5701 cat >conftest.$ac_ext <<_ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5716 rm -f conftest.$ac_objext conftest$ac_exeext
5717 if { (ac_try="$ac_link"
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5722 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5723 $as_echo "$ac_try_echo") >&5
5724 (eval "$ac_link") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5730 (exit $ac_status); } && {
5731 test -z "$ac_c_werror_flag" ||
5732 test ! -s conftest.err
5733 } && test -s conftest$ac_exeext && {
5734 test "$cross_compiling" = yes ||
5735 $as_test_x conftest$ac_exeext
5737 lt_cv_ld_exported_symbols_list=yes
5739 $as_echo "$as_me: failed program was
:" >&5
5740 sed 's/^/| /' conftest.$ac_ext >&5
5742 lt_cv_ld_exported_symbols_list=no
5745 rm -rf conftest.dSYM
5746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5747 conftest$ac_exeext conftest.$ac_ext
5748 LDFLAGS="$save_LDFLAGS"
5751 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
5752 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5754 rhapsody* | darwin1.[012])
5755 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5757 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5758 darwin*) # darwin 5.x on
5759 # if running on 10.5 or later, the deployment target defaults
5760 # to the OS version, if on x86, and 10.4, the deployment
5761 # target defaults to 10.4. Don't you love it?
5762 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5763 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5764 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5766 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5768 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5772 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5773 _lt_dar_single_mod='$single_module'
5775 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5776 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5778 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5780 if test "$DSYMUTIL" != ":"; then
5781 _lt_dsymutil='~$DSYMUTIL $lib || :'
5789 ac_cpp='$CPP $CPPFLAGS'
5790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5793 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5794 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5795 # On Suns, sometimes $CPP names a directory.
5796 if test -n "$CPP" && test -d "$CPP"; then
5799 if test -z "$CPP"; then
5800 if test "${ac_cv_prog_CPP+set}" = set; then
5801 $as_echo_n "(cached
) " >&6
5803 # Double quotes because CPP needs to be expanded
5804 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5807 for ac_c_preproc_warn_flag in '' yes
5809 # Use a header file that comes with gcc, so configuring glibc
5810 # with a fresh cross-compiler works.
5811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5812 # <limits.h> exists even on freestanding compilers.
5813 # On the NeXT, cc -E runs the code through the compiler's parser,
5814 # not just through cpp. "Syntax error
" is here to catch this case.
5815 cat >conftest.$ac_ext <<_ACEOF
5818 cat confdefs.h >>conftest.$ac_ext
5819 cat >>conftest.$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5822 # include <limits.h>
5824 # include <assert.h>
5828 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5833 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5834 $as_echo "$ac_try_echo") >&5
5835 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5837 grep -v '^ *+' conftest.er1 >conftest.err
5839 cat conftest.err >&5
5840 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5841 (exit $ac_status); } >/dev/null && {
5842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5843 test ! -s conftest.err
5847 $as_echo "$as_me: failed program was
:" >&5
5848 sed 's/^/| /' conftest.$ac_ext >&5
5850 # Broken: fails on valid input.
5854 rm -f conftest.err conftest.$ac_ext
5856 # OK, works on sane cases. Now check whether nonexistent headers
5857 # can be detected and how.
5858 cat >conftest.$ac_ext <<_ACEOF
5861 cat confdefs.h >>conftest.$ac_ext
5862 cat >>conftest.$ac_ext <<_ACEOF
5863 /* end confdefs.h. */
5864 #include <ac_nonexistent.h>
5866 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5869 *) ac_try_echo=$ac_try;;
5871 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5872 $as_echo "$ac_try_echo") >&5
5873 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5875 grep -v '^ *+' conftest.er1 >conftest.err
5877 cat conftest.err >&5
5878 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5879 (exit $ac_status); } >/dev/null && {
5880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5881 test ! -s conftest.err
5883 # Broken: success on invalid input.
5886 $as_echo "$as_me: failed program was
:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5889 # Passes both tests.
5894 rm -f conftest.err conftest.$ac_ext
5897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5898 rm -f conftest.err conftest.$ac_ext
5899 if $ac_preproc_ok; then
5911 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
5912 $as_echo "$CPP" >&6; }
5914 for ac_c_preproc_warn_flag in '' yes
5916 # Use a header file that comes with gcc, so configuring glibc
5917 # with a fresh cross-compiler works.
5918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5919 # <limits.h> exists even on freestanding compilers.
5920 # On the NeXT, cc -E runs the code through the compiler's parser,
5921 # not just through cpp. "Syntax error
" is here to catch this case.
5922 cat >conftest.$ac_ext <<_ACEOF
5925 cat confdefs.h >>conftest.$ac_ext
5926 cat >>conftest.$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5929 # include <limits.h>
5931 # include <assert.h>
5935 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5938 *) ac_try_echo=$ac_try;;
5940 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5941 $as_echo "$ac_try_echo") >&5
5942 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5944 grep -v '^ *+' conftest.er1 >conftest.err
5946 cat conftest.err >&5
5947 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5948 (exit $ac_status); } >/dev/null && {
5949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5950 test ! -s conftest.err
5954 $as_echo "$as_me: failed program was
:" >&5
5955 sed 's/^/| /' conftest.$ac_ext >&5
5957 # Broken: fails on valid input.
5961 rm -f conftest.err conftest.$ac_ext
5963 # OK, works on sane cases. Now check whether nonexistent headers
5964 # can be detected and how.
5965 cat >conftest.$ac_ext <<_ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <ac_nonexistent.h>
5973 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5976 *) ac_try_echo=$ac_try;;
5978 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5979 $as_echo "$ac_try_echo") >&5
5980 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5982 grep -v '^ *+' conftest.er1 >conftest.err
5984 cat conftest.err >&5
5985 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5986 (exit $ac_status); } >/dev/null && {
5987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5988 test ! -s conftest.err
5990 # Broken: success on invalid input.
5993 $as_echo "$as_me: failed program was
:" >&5
5994 sed 's/^/| /' conftest.$ac_ext >&5
5996 # Passes both tests.
6001 rm -f conftest.err conftest.$ac_ext
6004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6005 rm -f conftest.err conftest.$ac_ext
6006 if $ac_preproc_ok; then
6009 { { $as_echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6010 See \
`config.log' for more details." >&5
6011 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6012 See \`config.log
' for more details." >&2;}
6013 { (exit 1); exit 1; }; }
6017 ac_cpp='$CPP $CPPFLAGS'
6018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6019 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6023 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6024 $as_echo_n "checking for ANSI C header files... " >&6; }
6025 if test "${ac_cv_header_stdc+set}" = set; then
6026 $as_echo_n "(cached) " >&6
6028 cat >conftest.$ac_ext <<_ACEOF
6031 cat confdefs.h >>conftest.$ac_ext
6032 cat >>conftest.$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6047 rm -f conftest.$ac_objext
6048 if { (ac_try="$ac_compile"
6050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6051 *) ac_try_echo=$ac_try;;
6053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6054 $as_echo "$ac_try_echo") >&5
6055 (eval "$ac_compile") 2>conftest.er1
6057 grep -v '^
*+' conftest.er1 >conftest.err
6059 cat conftest.err >&5
6060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); } && {
6062 test -z "$ac_c_werror_flag" ||
6063 test ! -s conftest.err
6064 } && test -s conftest.$ac_objext; then
6065 ac_cv_header_stdc=yes
6067 $as_echo "$as_me: failed program was:" >&5
6068 sed 's
/^
/|
/' conftest.$ac_ext >&5
6070 ac_cv_header_stdc=no
6073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6075 if test $ac_cv_header_stdc = yes; then
6076 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6077 cat >conftest.$ac_ext <<_ACEOF
6080 cat confdefs.h >>conftest.$ac_ext
6081 cat >>conftest.$ac_ext <<_ACEOF
6082 /* end confdefs.h. */
6086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6087 $EGREP "memchr" >/dev/null 2>&1; then
6090 ac_cv_header_stdc=no
6096 if test $ac_cv_header_stdc = yes; then
6097 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6098 cat >conftest.$ac_ext <<_ACEOF
6101 cat confdefs.h >>conftest.$ac_ext
6102 cat >>conftest.$ac_ext <<_ACEOF
6103 /* end confdefs.h. */
6107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6108 $EGREP "free" >/dev/null 2>&1; then
6111 ac_cv_header_stdc=no
6117 if test $ac_cv_header_stdc = yes; then
6118 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6119 if test "$cross_compiling" = yes; then
6122 cat >conftest.$ac_ext <<_ACEOF
6125 cat confdefs.h >>conftest.$ac_ext
6126 cat >>conftest.$ac_ext <<_ACEOF
6127 /* end confdefs.h. */
6130 #if ((' ' & 0x0FF) == 0x020)
6131 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6132 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6134 # define ISLOWER(c) \
6135 (('a
' <= (c) && (c) <= 'i
') \
6136 || ('j
' <= (c) && (c) <= 'r
') \
6137 || ('s
' <= (c) && (c) <= 'z
'))
6138 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6141 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6146 for (i = 0; i < 256; i++)
6147 if (XOR (islower (i), ISLOWER (i))
6148 || toupper (i) != TOUPPER (i))
6153 rm -f conftest$ac_exeext
6154 if { (ac_try="$ac_link"
6156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6157 *) ac_try_echo=$ac_try;;
6159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6160 $as_echo "$ac_try_echo") >&5
6161 (eval "$ac_link") 2>&5
6163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6165 { (case "(($ac_try" in
6166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6167 *) ac_try_echo=$ac_try;;
6169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6170 $as_echo "$ac_try_echo") >&5
6171 (eval "$ac_try") 2>&5
6173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; }; then
6177 $as_echo "$as_me: program exited with status $ac_status" >&5
6178 $as_echo "$as_me: failed program was:" >&5
6179 sed 's
/^
/|
/' conftest.$ac_ext >&5
6182 ac_cv_header_stdc=no
6184 rm -rf conftest.dSYM
6185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6191 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6192 $as_echo "$ac_cv_header_stdc" >&6; }
6193 if test $ac_cv_header_stdc = yes; then
6195 cat >>confdefs.h <<\_ACEOF
6196 #define STDC_HEADERS 1
6201 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6211 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6212 inttypes.h stdint.h unistd.h
6214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6215 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6216 $as_echo_n "checking for $ac_header... " >&6; }
6217 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6218 $as_echo_n "(cached) " >&6
6220 cat >conftest.$ac_ext <<_ACEOF
6223 cat confdefs.h >>conftest.$ac_ext
6224 cat >>conftest.$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6226 $ac_includes_default
6228 #include <$ac_header>
6230 rm -f conftest.$ac_objext
6231 if { (ac_try="$ac_compile"
6233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6234 *) ac_try_echo=$ac_try;;
6236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6237 $as_echo "$ac_try_echo") >&5
6238 (eval "$ac_compile") 2>conftest.er1
6240 grep -v '^
*+' conftest.er1 >conftest.err
6242 cat conftest.err >&5
6243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } && {
6245 test -z "$ac_c_werror_flag" ||
6246 test ! -s conftest.err
6247 } && test -s conftest.$ac_objext; then
6248 eval "$as_ac_Header=yes"
6250 $as_echo "$as_me: failed program was:" >&5
6251 sed 's
/^
/|
/' conftest.$ac_ext >&5
6253 eval "$as_ac_Header=no"
6256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6259 $as_echo "$as_val"'`
6260 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6261 $as_echo "$ac_res" >&6; }
6262 if test `eval 'as_val
=${'$as_ac_Header'}
6263 $as_echo "$as_val"'` = yes; then
6264 cat >>confdefs.h <<_ACEOF
6265 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header in dlfcn.h
6276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6277 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6278 $as_echo_n "checking for $ac_header... " >&6; }
6279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6280 $as_echo_n "(cached) " >&6
6282 cat >conftest.$ac_ext <<_ACEOF
6285 cat confdefs.h >>conftest.$ac_ext
6286 cat >>conftest.$ac_ext <<_ACEOF
6287 /* end confdefs.h. */
6288 $ac_includes_default
6290 #include <$ac_header>
6292 rm -f conftest.$ac_objext
6293 if { (ac_try="$ac_compile"
6295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6296 *) ac_try_echo=$ac_try;;
6298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6299 $as_echo "$ac_try_echo") >&5
6300 (eval "$ac_compile") 2>conftest.er1
6302 grep -v '^
*+' conftest.er1 >conftest.err
6304 cat conftest.err >&5
6305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); } && {
6307 test -z "$ac_c_werror_flag" ||
6308 test ! -s conftest.err
6309 } && test -s conftest.$ac_objext; then
6310 eval "$as_ac_Header=yes"
6312 $as_echo "$as_me: failed program was:" >&5
6313 sed 's
/^
/|
/' conftest.$ac_ext >&5
6315 eval "$as_ac_Header=no"
6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6321 $as_echo "$as_val"'`
6322 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6323 $as_echo "$ac_res" >&6; }
6324 if test `eval 'as_val
=${'$as_ac_Header'}
6325 $as_echo "$as_val"'` = yes; then
6326 cat >>confdefs.h <<_ACEOF
6327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346 # Check whether --enable-shared was given.
6347 if test "${enable_shared+set}" = set; then
6348 enableval=$enable_shared; p=${PACKAGE-default}
6350 yes) enable_shared=yes ;;
6351 no) enable_shared=no ;;
6354 # Look at the argument we got. We use all the common list separators.
6355 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6356 for pkg in $enableval; do
6358 if test "X$pkg" = "X$p"; then
6377 # Check whether --enable-static was given.
6378 if test "${enable_static+set}" = set; then
6379 enableval=$enable_static; p=${PACKAGE-default}
6381 yes) enable_static=yes ;;
6382 no) enable_static=no ;;
6385 # Look at the argument we got. We use all the common list separators.
6386 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6387 for pkg in $enableval; do
6389 if test "X$pkg" = "X$p"; then
6409 # Check whether --with-pic was given.
6410 if test "${with_pic+set}" = set; then
6411 withval=$with_pic; pic_mode="$withval"
6417 test -z "$pic_mode" && pic_mode=default
6425 # Check whether --enable-fast-install was given.
6426 if test "${enable_fast_install+set}" = set; then
6427 enableval=$enable_fast_install; p=${PACKAGE-default}
6429 yes) enable_fast_install=yes ;;
6430 no) enable_fast_install=no ;;
6432 enable_fast_install=no
6433 # Look at the argument we got. We use all the common list separators.
6434 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6435 for pkg in $enableval; do
6437 if test "X$pkg" = "X$p"; then
6438 enable_fast_install=yes
6445 enable_fast_install=yes
6458 # This can be used to rebuild libtool when needed
6459 LIBTOOL_DEPS="$ltmain"
6461 # Always use our own libtool.
6462 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6488 test -z "$LN_S" && LN_S="ln -s"
6503 if test -n "${ZSH_VERSION+set}" ; then
6504 setopt NO_GLOB_SUBST
6507 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6508 $as_echo_n "checking for objdir... " >&6; }
6509 if test "${lt_cv_objdir+set}" = set; then
6510 $as_echo_n "(cached) " >&6
6512 rm -f .libs 2>/dev/null
6513 mkdir .libs 2>/dev/null
6514 if test -d .libs; then
6517 # MS-DOS does not allow filenames that begin with a dot.
6520 rmdir .libs 2>/dev/null
6522 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6523 $as_echo "$lt_cv_objdir" >&6; }
6524 objdir=$lt_cv_objdir
6530 cat >>confdefs.h <<_ACEOF
6531 #define LT_OBJDIR "$lt_cv_objdir/"
6552 # AIX sometimes has problems with the GCC collect2 program. For some
6553 # reason, if we set the COLLECT_NAMES environment variable, the problems
6554 # vanish in a puff of smoke.
6555 if test "X${COLLECT_NAMES+set}" != Xset; then
6557 export COLLECT_NAMES
6562 # Sed substitution that helps us do robust quoting. It backslashifies
6563 # metacharacters that are still active within double-quoted strings.
6564 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6566 # Same as above, but do not quote variable references.
6567 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6569 # Sed substitution to delay expansion of an escaped shell variable in a
6570 # double_quote_subst'ed string.
6571 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6573 # Sed substitution to delay expansion of an escaped single quote.
6574 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6576 # Sed substitution to avoid accidental globbing in evaled expressions
6577 no_glob_subst='s/\*/\\\*/g'
6581 can_build_shared=yes
6583 # All known linkers require a `.a
' archive for static linking (except MSVC,
6584 # which needs '.lib
').
6587 with_gnu_ld="$lt_cv_prog_gnu_ld"
6590 old_CFLAGS="$CFLAGS"
6592 # Set sane defaults for various variables
6593 test -z "$CC" && CC=cc
6594 test -z "$LTCC" && LTCC=$CC
6595 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6596 test -z "$LD" && LD=ld
6597 test -z "$ac_objext" && ac_objext=o
6599 for cc_temp in $compiler""; do
6601 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6602 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6607 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6610 # Only perform the check for file, if the check method requires it
6611 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6612 case $deplibs_check_method in
6614 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6615 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6616 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6617 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6618 $as_echo_n "(cached) " >&6
6622 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6625 lt_save_MAGIC_CMD="$MAGIC_CMD"
6626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6627 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6628 for ac_dir in $ac_dummy; do
6630 test -z "$ac_dir" && ac_dir=.
6631 if test -f $ac_dir/${ac_tool_prefix}file; then
6632 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6633 if test -n "$file_magic_test_file"; then
6634 case $deplibs_check_method in
6636 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6637 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6638 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6639 $EGREP "$file_magic_regex" > /dev/null; then
6644 *** Warning: the command libtool uses to detect shared libraries,
6645 *** $file_magic_cmd, produces output that libtool cannot recognize.
6646 *** The result is that libtool may fail to recognize shared libraries
6647 *** as such. This will affect the creation of libtool libraries that
6648 *** depend on shared libraries, but programs linked with such libtool
6649 *** libraries will work regardless of this problem. Nevertheless, you
6650 *** may want to report the problem to your system manager and/or to
6651 *** bug-libtool@gnu.org
6661 MAGIC_CMD="$lt_save_MAGIC_CMD"
6666 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6667 if test -n "$MAGIC_CMD"; then
6668 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6669 $as_echo "$MAGIC_CMD" >&6; }
6671 { $as_echo "$as_me:$LINENO: result: no" >&5
6672 $as_echo "no" >&6; }
6679 if test -z "$lt_cv_path_MAGIC_CMD"; then
6680 if test -n "$ac_tool_prefix"; then
6681 { $as_echo "$as_me:$LINENO: checking for file" >&5
6682 $as_echo_n "checking for file... " >&6; }
6683 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6684 $as_echo_n "(cached) " >&6
6688 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6691 lt_save_MAGIC_CMD="$MAGIC_CMD"
6692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6693 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6694 for ac_dir in $ac_dummy; do
6696 test -z "$ac_dir" && ac_dir=.
6697 if test -f $ac_dir/file; then
6698 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6699 if test -n "$file_magic_test_file"; then
6700 case $deplibs_check_method in
6702 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6703 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6704 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6705 $EGREP "$file_magic_regex" > /dev/null; then
6710 *** Warning: the command libtool uses to detect shared libraries,
6711 *** $file_magic_cmd, produces output that libtool cannot recognize.
6712 *** The result is that libtool may fail to recognize shared libraries
6713 *** as such. This will affect the creation of libtool libraries that
6714 *** depend on shared libraries, but programs linked with such libtool
6715 *** libraries will work regardless of this problem. Nevertheless, you
6716 *** may want to report the problem to your system manager and/or to
6717 *** bug-libtool@gnu.org
6727 MAGIC_CMD="$lt_save_MAGIC_CMD"
6732 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6733 if test -n "$MAGIC_CMD"; then
6734 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6735 $as_echo "$MAGIC_CMD" >&6; }
6737 { $as_echo "$as_me:$LINENO: result: no" >&5
6738 $as_echo "no" >&6; }
6751 # Use C for the default configuration in the libtool script
6755 ac_cpp='$CPP $CPPFLAGS'
6756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6757 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6761 # Source file extension for C test sources.
6764 # Object file extension for compiled C test sources.
6768 # Code to be used in simple compile tests
6769 lt_simple_compile_test_code="int some_variable = 0;"
6771 # Code to be used in simple link tests
6772 lt_simple_link_test_code='int main
(){return(0);}'
6780 # If no C compiler was specified, use CC.
6783 # If no C compiler flags were specified, use CFLAGS.
6784 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6786 # Allow CC to be a program name with arguments.
6789 # Save the default compiler, since it gets overwritten when the other
6790 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6791 compiler_DEFAULT=$CC
6793 # save warnings/boilerplate of simple test code
6794 ac_outfile=conftest.$ac_objext
6795 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6796 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6797 _lt_compiler_boilerplate=`cat conftest.err`
6800 ac_outfile=conftest.$ac_objext
6801 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6802 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6803 _lt_linker_boilerplate=`cat conftest.err`
6807 if test -n "$compiler"; then
6809 lt_prog_compiler_no_builtin_flag=
6811 if test "$GCC" = yes; then
6812 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6814 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6815 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6816 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6817 $as_echo_n "(cached) " >&6
6819 lt_cv_prog_compiler_rtti_exceptions=no
6820 ac_outfile=conftest.$ac_objext
6821 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6822 lt_compiler_flag="-fno-rtti -fno-exceptions"
6823 # Insert the option either (1) after the last *FLAGS variable, or
6824 # (2) before a word containing "conftest.", or (3) at the end.
6825 # Note that $ac_compile itself does not contain backslashes and begins
6826 # with a dollar sign (not a hyphen), so the echo should work correctly.
6827 # The option is referenced via a variable to avoid confusing sed.
6828 lt_compile=`echo "$ac_compile" | $SED \
6829 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6830 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6831 -e 's
:$
: $lt_compiler_flag:'`
6832 (eval echo "\"\$as_me:6832: $lt_compile\"" >&5)
6833 (eval "$lt_compile" 2>conftest.err)
6835 cat conftest.err >&5
6836 echo "$as_me:6836: \$? = $ac_status" >&5
6837 if (exit $ac_status) && test -s "$ac_outfile"; then
6838 # The compiler can only warn and ignore the option if not recognized
6839 # So say no if there are warnings other than the usual output.
6840 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6841 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6842 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6843 lt_cv_prog_compiler_rtti_exceptions=yes
6849 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6850 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6852 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6853 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6865 lt_prog_compiler_wl=
6866 lt_prog_compiler_pic=
6867 lt_prog_compiler_static=
6869 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6870 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6872 if test "$GCC" = yes; then
6873 lt_prog_compiler_wl='-Wl,'
6874 lt_prog_compiler_static='-static'
6878 # All AIX code is PIC.
6879 if test "$host_cpu" = ia64; then
6880 # AIX 5 now supports IA64 processor
6881 lt_prog_compiler_static='-Bstatic'
6888 # see comment about AmigaOS4 .so support
6889 lt_prog_compiler_pic='-fPIC'
6892 # FIXME: we need at least 68020 code to build shared libraries, but
6893 # adding the `-m68020' flag to GCC prevents building anything better
,
6895 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6900 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6901 # PIC is the default for these OSes.
6904 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6905 # This hack is so that the source file can tell whether it is being
6906 # built for inclusion in a dll (and should export symbols for example).
6907 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6908 # (--disable-auto-import) libraries
6909 lt_prog_compiler_pic
='-DDLL_EXPORT'
6912 darwin
* | rhapsody
*)
6913 # PIC is the default on this platform
6914 # Common symbols not allowed in MH_DYLIB files
6915 lt_prog_compiler_pic
='-fno-common'
6919 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6920 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6921 # sets the default TLS model and affects inlining.
6927 lt_prog_compiler_pic
='-fPIC'
6933 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6934 # Instead, we relocate shared libraries at runtime.
6938 # Just because we use GCC doesn't mean we suddenly get shared libraries
6939 # on systems that don't support them.
6940 lt_prog_compiler_can_build_shared
=no
6945 # QNX uses GNU C++, but need to define -shared option too, otherwise
6947 lt_prog_compiler_pic
='-fPIC -shared'
6951 if test -d /usr
/nec
; then
6952 lt_prog_compiler_pic
=-Kconform_pic
6957 lt_prog_compiler_pic
='-fPIC'
6961 # PORTME Check for flag to pass linker flags through the system compiler.
6964 lt_prog_compiler_wl
='-Wl,'
6965 if test "$host_cpu" = ia64
; then
6966 # AIX 5 now supports IA64 processor
6967 lt_prog_compiler_static
='-Bstatic'
6969 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6973 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6974 # This hack is so that the source file can tell whether it is being
6975 # built for inclusion in a dll (and should export symbols for example).
6976 lt_prog_compiler_pic
='-DDLL_EXPORT'
6979 hpux9
* | hpux10
* | hpux11
*)
6980 lt_prog_compiler_wl
='-Wl,'
6981 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6988 lt_prog_compiler_pic
='+Z'
6991 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6992 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6995 irix5
* | irix6
* | nonstopux
*)
6996 lt_prog_compiler_wl
='-Wl,'
6997 # PIC (with -KPIC) is the default.
6998 lt_prog_compiler_static
='-non_shared'
7001 linux
* | k
*bsd
*-gnu)
7002 case $cc_basename in
7003 # old Intel for x86_64 which still supported -KPIC.
7005 lt_prog_compiler_wl
='-Wl,'
7006 lt_prog_compiler_pic
='-KPIC'
7007 lt_prog_compiler_static
='-static'
7009 # icc used to be incompatible with GCC.
7010 # ICC 10 doesn't accept -KPIC any more.
7012 lt_prog_compiler_wl
='-Wl,'
7013 lt_prog_compiler_pic
='-fPIC'
7014 lt_prog_compiler_static
='-static'
7016 # Lahey Fortran 8.1.
7018 lt_prog_compiler_wl
='-Wl,'
7019 lt_prog_compiler_pic
='--shared'
7020 lt_prog_compiler_static
='--static'
7022 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7023 # Portland Group compilers (*not* the Pentium gcc compiler,
7024 # which looks to be a dead project)
7025 lt_prog_compiler_wl
='-Wl,'
7026 lt_prog_compiler_pic
='-fpic'
7027 lt_prog_compiler_static
='-Bstatic'
7030 lt_prog_compiler_wl
='-Wl,'
7031 # All Alpha code is PIC.
7032 lt_prog_compiler_static
='-non_shared'
7035 # IBM XL C 8.0/Fortran 10.1 on PPC
7036 lt_prog_compiler_wl
='-Wl,'
7037 lt_prog_compiler_pic
='-qpic'
7038 lt_prog_compiler_static
='-qstaticlink'
7041 case `$CC -V 2>&1 | sed 5q` in
7044 lt_prog_compiler_pic
='-KPIC'
7045 lt_prog_compiler_static
='-Bstatic'
7046 lt_prog_compiler_wl
='-Wl,'
7049 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7050 lt_prog_compiler_pic
='-KPIC'
7051 lt_prog_compiler_static
='-Bstatic'
7052 lt_prog_compiler_wl
=''
7060 lt_prog_compiler_pic
='-KPIC'
7061 lt_prog_compiler_static
='-Bstatic'
7065 # QNX uses GNU C++, but need to define -shared option too, otherwise
7067 lt_prog_compiler_pic
='-fPIC -shared'
7070 osf3
* | osf4
* | osf5
*)
7071 lt_prog_compiler_wl
='-Wl,'
7072 # All OSF/1 code is PIC.
7073 lt_prog_compiler_static
='-non_shared'
7077 lt_prog_compiler_static
='-non_shared'
7081 lt_prog_compiler_pic
='-KPIC'
7082 lt_prog_compiler_static
='-Bstatic'
7083 case $cc_basename in
7085 lt_prog_compiler_wl
='-Qoption ld ';;
7087 lt_prog_compiler_wl
='-Wl,';;
7092 lt_prog_compiler_wl
='-Qoption ld '
7093 lt_prog_compiler_pic
='-PIC'
7094 lt_prog_compiler_static
='-Bstatic'
7097 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7098 lt_prog_compiler_wl
='-Wl,'
7099 lt_prog_compiler_pic
='-KPIC'
7100 lt_prog_compiler_static
='-Bstatic'
7104 if test -d /usr
/nec
;then
7105 lt_prog_compiler_pic
='-Kconform_pic'
7106 lt_prog_compiler_static
='-Bstatic'
7110 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7111 lt_prog_compiler_wl
='-Wl,'
7112 lt_prog_compiler_pic
='-KPIC'
7113 lt_prog_compiler_static
='-Bstatic'
7117 lt_prog_compiler_wl
='-Wl,'
7118 lt_prog_compiler_can_build_shared
=no
7122 lt_prog_compiler_pic
='-pic'
7123 lt_prog_compiler_static
='-Bstatic'
7127 lt_prog_compiler_can_build_shared
=no
7133 # For platforms which do not support PIC, -DPIC is meaningless:
7135 lt_prog_compiler_pic
=
7138 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7141 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7142 $as_echo "$lt_prog_compiler_pic" >&6; }
7150 # Check to make sure the PIC flag actually works.
7152 if test -n "$lt_prog_compiler_pic"; then
7153 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7154 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7155 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7156 $as_echo_n "(cached) " >&6
7158 lt_cv_prog_compiler_pic_works
=no
7159 ac_outfile
=conftest.
$ac_objext
7160 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7161 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7162 # Insert the option either (1) after the last *FLAGS variable, or
7163 # (2) before a word containing "conftest.", or (3) at the end.
7164 # Note that $ac_compile itself does not contain backslashes and begins
7165 # with a dollar sign (not a hyphen), so the echo should work correctly.
7166 # The option is referenced via a variable to avoid confusing sed.
7167 lt_compile
=`echo "$ac_compile" | $SED \
7168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7170 -e 's:$: $lt_compiler_flag:'`
7171 (eval echo "\"\$as_me:7171: $lt_compile\"" >&5)
7172 (eval "$lt_compile" 2>conftest.err
)
7174 cat conftest.err
>&5
7175 echo "$as_me:7175: \$? = $ac_status" >&5
7176 if (exit $ac_status) && test -s "$ac_outfile"; then
7177 # The compiler can only warn and ignore the option if not recognized
7178 # So say no if there are warnings other than the usual output.
7179 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7180 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7181 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7182 lt_cv_prog_compiler_pic_works
=yes
7188 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7189 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7191 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7192 case $lt_prog_compiler_pic in
7194 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7197 lt_prog_compiler_pic
=
7198 lt_prog_compiler_can_build_shared
=no
7209 # Check to make sure the static flag actually works.
7211 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7212 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7213 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7214 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7215 $as_echo_n "(cached) " >&6
7217 lt_cv_prog_compiler_static_works
=no
7218 save_LDFLAGS
="$LDFLAGS"
7219 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7220 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7221 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7222 # The linker can only warn and ignore the option if not recognized
7223 # So say no if there are warnings
7224 if test -s conftest.err
; then
7225 # Append any errors to the config.log.
7226 cat conftest.err
1>&5
7227 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7228 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7229 if diff conftest.exp conftest.er2
>/dev
/null
; then
7230 lt_cv_prog_compiler_static_works
=yes
7233 lt_cv_prog_compiler_static_works
=yes
7237 LDFLAGS
="$save_LDFLAGS"
7240 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7241 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7243 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7246 lt_prog_compiler_static
=
7255 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7256 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7257 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7258 $as_echo_n "(cached) " >&6
7260 lt_cv_prog_compiler_c_o
=no
7261 $RM -r conftest
2>/dev
/null
7265 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7267 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7268 # Insert the option either (1) after the last *FLAGS variable, or
7269 # (2) before a word containing "conftest.", or (3) at the end.
7270 # Note that $ac_compile itself does not contain backslashes and begins
7271 # with a dollar sign (not a hyphen), so the echo should work correctly.
7272 lt_compile
=`echo "$ac_compile" | $SED \
7273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7275 -e 's:$: $lt_compiler_flag:'`
7276 (eval echo "\"\$as_me:7276: $lt_compile\"" >&5)
7277 (eval "$lt_compile" 2>out
/conftest.err
)
7279 cat out
/conftest.err
>&5
7280 echo "$as_me:7280: \$? = $ac_status" >&5
7281 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7283 # The compiler can only warn and ignore the option if not recognized
7284 # So say no if there are warnings
7285 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7286 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7287 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7288 lt_cv_prog_compiler_c_o
=yes
7293 # SGI C++ compiler will create directory out/ii_files/ for
7294 # template instantiation
7295 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7296 $RM out
/* && rmdir out
7302 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7303 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7310 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7311 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7312 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7313 $as_echo_n "(cached) " >&6
7315 lt_cv_prog_compiler_c_o
=no
7316 $RM -r conftest
2>/dev
/null
7320 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7322 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7323 # Insert the option either (1) after the last *FLAGS variable, or
7324 # (2) before a word containing "conftest.", or (3) at the end.
7325 # Note that $ac_compile itself does not contain backslashes and begins
7326 # with a dollar sign (not a hyphen), so the echo should work correctly.
7327 lt_compile
=`echo "$ac_compile" | $SED \
7328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7330 -e 's:$: $lt_compiler_flag:'`
7331 (eval echo "\"\$as_me:7331: $lt_compile\"" >&5)
7332 (eval "$lt_compile" 2>out
/conftest.err
)
7334 cat out
/conftest.err
>&5
7335 echo "$as_me:7335: \$? = $ac_status" >&5
7336 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7338 # The compiler can only warn and ignore the option if not recognized
7339 # So say no if there are warnings
7340 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7341 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7342 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7343 lt_cv_prog_compiler_c_o
=yes
7348 # SGI C++ compiler will create directory out/ii_files/ for
7349 # template instantiation
7350 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7351 $RM out
/* && rmdir out
7357 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7358 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7363 hard_links
="nottested"
7364 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7365 # do not overwrite the value of need_locks provided by the user
7366 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7367 $as_echo_n "checking if we can lock with hard links... " >&6; }
7370 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7372 ln conftest.a conftest.b
2>&5 || hard_links
=no
7373 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7374 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7375 $as_echo "$hard_links" >&6; }
7376 if test "$hard_links" = no
; then
7377 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7378 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7390 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7391 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7394 allow_undefined_flag
=
7395 always_export_symbols
=no
7397 archive_expsym_cmds
=
7398 compiler_needs_object
=no
7399 enable_shared_with_static_runtimes
=no
7400 export_dynamic_flag_spec
=
7401 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7402 hardcode_automatic
=no
7404 hardcode_direct_absolute
=no
7405 hardcode_libdir_flag_spec
=
7406 hardcode_libdir_flag_spec_ld
=
7407 hardcode_libdir_separator
=
7409 hardcode_shlibpath_var
=unsupported
7411 link_all_deplibs
=unknown
7414 old_archive_from_new_cmds
=
7415 old_archive_from_expsyms_cmds
=
7416 thread_safe_flag_spec
=
7417 whole_archive_flag_spec
=
7418 # include_expsyms should be a list of space-separated symbols to be *always*
7419 # included in the symbol list
7421 # exclude_expsyms can be an extended regexp of symbols to exclude
7422 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7423 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7424 # as well as any symbol that contains `d'.
7425 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7426 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7427 # platforms (ab)use it in PIC code, but their linkers get confused if
7428 # the symbol is explicitly referenced. Since portable code cannot
7429 # rely on this symbol name, it's probably fine to never include it in
7430 # preloaded symbol tables.
7431 # Exclude shared library initialization/finalization symbols.
7432 extract_expsyms_cmds
=
7435 cygwin
* | mingw
* | pw32
* | cegcc
*)
7436 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7437 # When not using gcc, we currently assume that we are using
7438 # Microsoft Visual C++.
7439 if test "$GCC" != yes; then
7444 # we just hope/assume this is gcc and not c89 (= MSVC++)
7453 if test "$with_gnu_ld" = yes; then
7454 # If archive_cmds runs LD, not CC, wlarc should be empty
7457 # Set some defaults for GNU ld with shared library support. These
7458 # are reset later if shared libraries are not supported. Putting them
7459 # here allows them to be overridden if necessary.
7460 runpath_var
=LD_RUN_PATH
7461 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7462 export_dynamic_flag_spec
='${wl}--export-dynamic'
7463 # ancient GNU ld didn't support --whole-archive et. al.
7464 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7465 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7467 whole_archive_flag_spec
=
7469 supports_anon_versioning
=no
7470 case `$LD -v 2>&1` in
7471 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7472 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7473 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7474 *\
2.11.
*) ;; # other 2.11 versions
7475 *) supports_anon_versioning
=yes ;;
7478 # See if GNU ld supports shared libraries.
7481 # On AIX/PPC, the GNU linker is very broken
7482 if test "$host_cpu" != ia64
; then
7486 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7487 *** to be unable to reliably create shared libraries on AIX.
7488 *** Therefore, libtool is disabling shared libraries support. If you
7489 *** really care for shared libraries, you may want to modify your PATH
7490 *** so that a non-GNU linker is found, and then restart.
7499 # see comment about AmigaOS4 .so support
7500 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7501 archive_expsym_cmds
=''
7504 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)'
7505 hardcode_libdir_flag_spec
='-L$libdir'
7506 hardcode_minus_L
=yes
7512 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7513 allow_undefined_flag
=unsupported
7514 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7515 # support --undefined. This deserves some investigation. FIXME
7516 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7522 cygwin
* | mingw
* | pw32
* | cegcc
*)
7523 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7524 # as there is no search path for DLLs.
7525 hardcode_libdir_flag_spec
='-L$libdir'
7526 allow_undefined_flag
=unsupported
7527 always_export_symbols
=no
7528 enable_shared_with_static_runtimes
=yes
7529 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7531 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7532 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7533 # If the export-symbols file already is a .def file (1st line
7534 # is EXPORTS), use it as is; otherwise, prepend...
7535 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7536 cp $export_symbols $output_objdir/$soname.def;
7538 echo EXPORTS > $output_objdir/$soname.def;
7539 cat $export_symbols >> $output_objdir/$soname.def;
7541 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7549 hardcode_shlibpath_var
=no
7550 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7551 export_dynamic_flag_spec
='${wl}-E'
7552 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7553 # Instead, shared libraries are loaded at an image base (0x10000000 by
7554 # default) and relocated if they conflict, which is a slow very memory
7555 # consuming and fragmenting process. To avoid this, we pick a random,
7556 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7557 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7558 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7559 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'
7562 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7564 if test "$host_os" = linux-dietlibc
; then
7565 case $cc_basename in
7566 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7569 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7570 && test "$tmp_diet" = no
7573 tmp_sharedflag
='-shared'
7574 case $cc_basename,$host_cpu in
7575 pgcc
*) # Portland Group C compiler
7576 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'
7577 tmp_addflag
=' $pic_flag'
7579 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7580 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'
7581 tmp_addflag
=' $pic_flag -Mnomain' ;;
7582 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7583 tmp_addflag
=' -i_dynamic' ;;
7584 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7585 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7586 ifc
* | ifort
*) # Intel Fortran compiler
7587 tmp_addflag
=' -nofor_main' ;;
7588 lf95
*) # Lahey Fortran 8.1
7589 whole_archive_flag_spec
=
7590 tmp_sharedflag
='--shared' ;;
7591 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7592 tmp_sharedflag
='-qmkshrobj'
7595 case `$CC -V 2>&1 | sed 5q` in
7596 *Sun\ C
*) # Sun C 5.9
7597 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'
7598 compiler_needs_object
=yes
7599 tmp_sharedflag
='-G' ;;
7600 *Sun\ F
*) # Sun Fortran 8.3
7601 tmp_sharedflag
='-G' ;;
7603 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7605 if test "x$supports_anon_versioning" = xyes
; then
7606 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7607 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7608 echo "local: *; };" >> $output_objdir/$libname.ver~
7609 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7612 case $cc_basename in
7614 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7615 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7616 hardcode_libdir_flag_spec
=
7617 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7618 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7619 if test "x$supports_anon_versioning" = xyes
; then
7620 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7621 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7622 echo "local: *; };" >> $output_objdir/$libname.ver~
7623 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7633 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7634 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7637 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7638 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7643 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7647 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7648 *** create shared libraries on Solaris systems. Therefore, libtool
7649 *** is disabling shared libraries support. We urge you to upgrade GNU
7650 *** binutils to release 2.9.1 or newer. Another option is to modify
7651 *** your PATH or compiler configuration so that the native linker is
7652 *** used, and then restart.
7655 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7656 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7657 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7663 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7664 case `$LD -v 2>&1` in
7665 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7669 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7670 *** reliably create shared libraries on SCO systems. Therefore, libtool
7671 *** is disabling shared libraries support. We urge you to upgrade GNU
7672 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7673 *** your PATH or compiler configuration so that the native linker is
7674 *** used, and then restart.
7679 # For security reasons, it is highly recommended that you always
7680 # use absolute paths for naming shared libraries, and exclude the
7681 # DT_RUNPATH tag from executables and libraries. But doing so
7682 # requires that you compile everything twice, which is a pain.
7683 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7684 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7685 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7686 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7695 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7698 hardcode_shlibpath_var
=no
7702 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7703 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7704 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7711 if test "$ld_shlibs" = no
; then
7713 hardcode_libdir_flag_spec
=
7714 export_dynamic_flag_spec
=
7715 whole_archive_flag_spec
=
7718 # PORTME fill in a description of your system's linker (not GNU ld)
7721 allow_undefined_flag
=unsupported
7722 always_export_symbols
=yes
7723 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'
7724 # Note: this linker hardcodes the directories in LIBPATH if there
7725 # are no directories specified by -L.
7726 hardcode_minus_L
=yes
7727 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7728 # Neither direct hardcoding nor static linking is supported with a
7730 hardcode_direct
=unsupported
7735 if test "$host_cpu" = ia64
; then
7736 # On IA64, the linker does run time linking by default, so we don't
7737 # have to do anything special.
7738 aix_use_runtimelinking
=no
7739 exp_sym_flag
='-Bexport'
7742 # If we're using GNU nm, then we don't want the "-C" option.
7743 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7744 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7745 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'
7747 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'
7749 aix_use_runtimelinking
=no
7751 # Test if we are trying to use run time linking or normal
7752 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7753 # need to do runtime linking.
7754 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7755 for ld_flag
in $LDFLAGS; do
7756 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7757 aix_use_runtimelinking
=yes
7764 exp_sym_flag
='-bexport'
7765 no_entry_flag
='-bnoentry'
7768 # When large executables or shared objects are built, AIX ld can
7769 # have problems creating the table of contents. If linking a library
7770 # or program results in "error TOC overflow" add -mminimal-toc to
7771 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7772 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7776 hardcode_direct_absolute
=yes
7777 hardcode_libdir_separator
=':'
7778 link_all_deplibs
=yes
7779 file_list_spec
='${wl}-f,'
7781 if test "$GCC" = yes; then
7782 case $host_os in aix4.
[012]|aix4.
[012].
*)
7783 # We only want to do this on AIX 4.2 and lower, the check
7784 # below for broken collect2 doesn't work under 4.3+
7785 collect2name
=`${CC} -print-prog-name=collect2`
7786 if test -f "$collect2name" &&
7787 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7789 # We have reworked collect2
7792 # We have old collect2
7793 hardcode_direct
=unsupported
7794 # It fails to find uninstalled libraries when the uninstalled
7795 # path is not listed in the libpath. Setting hardcode_minus_L
7796 # to unsupported forces relinking
7797 hardcode_minus_L
=yes
7798 hardcode_libdir_flag_spec
='-L$libdir'
7799 hardcode_libdir_separator
=
7803 shared_flag
='-shared'
7804 if test "$aix_use_runtimelinking" = yes; then
7805 shared_flag
="$shared_flag "'${wl}-G'
7809 if test "$host_cpu" = ia64
; then
7810 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7811 # chokes on -Wl,-G. The following line is correct:
7814 if test "$aix_use_runtimelinking" = yes; then
7815 shared_flag
='${wl}-G'
7817 shared_flag
='${wl}-bM:SRE'
7822 export_dynamic_flag_spec
='${wl}-bexpall'
7823 # It seems that -bexpall does not export symbols beginning with
7824 # underscore (_), so it is better to generate a list of symbols to export.
7825 always_export_symbols
=yes
7826 if test "$aix_use_runtimelinking" = yes; then
7827 # Warning - without using the other runtime loading flags (-brtl),
7828 # -berok will link without error, but may produce a broken library.
7829 allow_undefined_flag
='-berok'
7830 # Determine the default libpath from the value encoded in an
7832 cat >conftest.
$ac_ext <<_ACEOF
7835 cat confdefs.h
>>conftest.
$ac_ext
7836 cat >>conftest.
$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7847 rm -f conftest.
$ac_objext conftest
$ac_exeext
7848 if { (ac_try
="$ac_link"
7850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7851 *) ac_try_echo=$ac_try;;
7853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7854 $as_echo "$ac_try_echo") >&5
7855 (eval "$ac_link") 2>conftest.er1
7857 grep -v '^ *+' conftest.er1 >conftest.err
7859 cat conftest.err >&5
7860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); } && {
7862 test -z "$ac_c_werror_flag" ||
7863 test ! -s conftest.err
7864 } && test -s conftest$ac_exeext && {
7865 test "$cross_compiling" = yes ||
7866 $as_test_x conftest$ac_exeext
7869 lt_aix_libpath_sed='
7870 /Import File Strings/,/^$/ {
7876 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7877 # Check for a 64-bit object if we didn't find anything.
7878 if test -z "$aix_libpath"; then
7879 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7882 $as_echo "$as_me: failed program was:" >&5
7883 sed 's/^/| /' conftest.$ac_ext >&5
7888 rm -rf conftest.dSYM
7889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7890 conftest$ac_exeext conftest.$ac_ext
7891 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7893 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7894 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"
7896 if test "$host_cpu" = ia64; then
7897 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7898 allow_undefined_flag="-z nodefs"
7899 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"
7901 # Determine the default libpath from the value encoded in an
7903 cat >conftest.$ac_ext <<_ACEOF
7906 cat confdefs.h >>conftest.$ac_ext
7907 cat >>conftest.$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7918 rm -f conftest.$ac_objext conftest$ac_exeext
7919 if { (ac_try="$ac_link"
7921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7922 *) ac_try_echo
=$ac_try;;
7924 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7925 $as_echo "$ac_try_echo") >&5
7926 (eval "$ac_link") 2>conftest.er1
7928 grep -v '^ *+' conftest.er1
>conftest.err
7930 cat conftest.err
>&5
7931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } && {
7933 test -z "$ac_c_werror_flag" ||
7934 test ! -s conftest.err
7935 } && test -s conftest
$ac_exeext && {
7936 test "$cross_compiling" = yes ||
7937 $as_test_x conftest
$ac_exeext
7940 lt_aix_libpath_sed
='
7941 /Import File Strings/,/^$/ {
7947 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7948 # Check for a 64-bit object if we didn't find anything.
7949 if test -z "$aix_libpath"; then
7950 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7953 $as_echo "$as_me: failed program was:" >&5
7954 sed 's/^/| /' conftest.
$ac_ext >&5
7959 rm -rf conftest.dSYM
7960 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7961 conftest
$ac_exeext conftest.
$ac_ext
7962 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7964 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7965 # Warning - without using the other run time loading flags,
7966 # -berok will link without error, but may produce a broken library.
7967 no_undefined_flag
=' ${wl}-bernotok'
7968 allow_undefined_flag
=' ${wl}-berok'
7969 # Exported symbols can be pulled into shared objects from archives
7970 whole_archive_flag_spec
='$convenience'
7971 archive_cmds_need_lc
=yes
7972 # This is similar to how AIX traditionally builds its shared libraries.
7973 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'
7981 # see comment about AmigaOS4 .so support
7982 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7983 archive_expsym_cmds
=''
7986 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)'
7987 hardcode_libdir_flag_spec
='-L$libdir'
7988 hardcode_minus_L
=yes
7994 export_dynamic_flag_spec
=-rdynamic
7997 cygwin
* | mingw
* | pw32
* | cegcc
*)
7998 # When not using gcc, we currently assume that we are using
7999 # Microsoft Visual C++.
8000 # hardcode_libdir_flag_spec is actually meaningless, as there is
8001 # no search path for DLLs.
8002 hardcode_libdir_flag_spec
=' '
8003 allow_undefined_flag
=unsupported
8004 # Tell ltmain to make .lib files, not .a files.
8006 # Tell ltmain to make .dll files, not .so files.
8008 # FIXME: Setting linknames here is a bad hack.
8009 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8010 # The linker will automatically build a .lib file if we build a DLL.
8011 old_archive_from_new_cmds
='true'
8012 # FIXME: Should let the user specify the lib program.
8013 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8014 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8015 enable_shared_with_static_runtimes
=yes
8018 darwin
* | rhapsody
*)
8021 archive_cmds_need_lc
=no
8023 hardcode_automatic
=yes
8024 hardcode_shlibpath_var
=unsupported
8025 whole_archive_flag_spec
=''
8026 link_all_deplibs
=yes
8027 allow_undefined_flag
="$_lt_dar_allow_undefined"
8028 case $cc_basename in
8029 ifort
*) _lt_dar_can_shared
=yes ;;
8030 *) _lt_dar_can_shared
=$GCC ;;
8032 if test "$_lt_dar_can_shared" = "yes"; then
8033 output_verbose_link_cmd
=echo
8034 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8035 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8036 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}"
8037 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}"
8046 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8047 hardcode_libdir_flag_spec
='-L$libdir'
8048 hardcode_shlibpath_var
=no
8055 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8056 # support. Future versions do this automatically, but an explicit c++rt0.o
8057 # does not break anything, and helps significantly (at the cost of a little
8060 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8061 hardcode_libdir_flag_spec
='-R$libdir'
8063 hardcode_shlibpath_var
=no
8066 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8068 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8070 hardcode_minus_L
=yes
8071 hardcode_shlibpath_var
=no
8074 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8075 freebsd
* | dragonfly
*)
8076 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8077 hardcode_libdir_flag_spec
='-R$libdir'
8079 hardcode_shlibpath_var
=no
8083 if test "$GCC" = yes; then
8084 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'
8086 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'
8088 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8089 hardcode_libdir_separator
=:
8092 # hardcode_minus_L: Not really in the search PATH,
8093 # but as the default location of the library.
8094 hardcode_minus_L
=yes
8095 export_dynamic_flag_spec
='${wl}-E'
8099 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8100 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8102 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8104 if test "$with_gnu_ld" = no
; then
8105 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8106 hardcode_libdir_flag_spec_ld
='+b $libdir'
8107 hardcode_libdir_separator
=:
8109 hardcode_direct_absolute
=yes
8110 export_dynamic_flag_spec
='${wl}-E'
8111 # hardcode_minus_L: Not really in the search PATH,
8112 # but as the default location of the library.
8113 hardcode_minus_L
=yes
8118 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8121 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8124 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8127 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8133 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8136 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8139 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8143 if test "$with_gnu_ld" = no
; then
8144 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8145 hardcode_libdir_separator
=:
8150 hardcode_shlibpath_var
=no
8154 hardcode_direct_absolute
=yes
8155 export_dynamic_flag_spec
='${wl}-E'
8157 # hardcode_minus_L: Not really in the search PATH,
8158 # but as the default location of the library.
8159 hardcode_minus_L
=yes
8165 irix5
* | irix6
* | nonstopux
*)
8166 if test "$GCC" = yes; then
8167 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'
8168 # Try to use the -exported_symbol ld option, if it does not
8169 # work, assume that -exports_file does not work either and
8170 # implicitly export all symbols.
8171 save_LDFLAGS
="$LDFLAGS"
8172 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8173 cat >conftest.
$ac_ext <<_ACEOF
8176 rm -f conftest.
$ac_objext conftest
$ac_exeext
8177 if { (ac_try
="$ac_link"
8179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8180 *) ac_try_echo=$ac_try;;
8182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8183 $as_echo "$ac_try_echo") >&5
8184 (eval "$ac_link") 2>conftest.er1
8186 grep -v '^ *+' conftest.er1 >conftest.err
8188 cat conftest.err >&5
8189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); } && {
8191 test -z "$ac_c_werror_flag" ||
8192 test ! -s conftest.err
8193 } && test -s conftest$ac_exeext && {
8194 test "$cross_compiling" = yes ||
8195 $as_test_x conftest$ac_exeext
8197 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'
8200 $as_echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8206 rm -rf conftest.dSYM
8207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8208 conftest$ac_exeext conftest.$ac_ext
8209 LDFLAGS="$save_LDFLAGS"
8211 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'
8212 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'
8214 archive_cmds_need_lc='no'
8215 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8216 hardcode_libdir_separator=:
8218 link_all_deplibs=yes
8222 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8223 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8225 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8227 hardcode_libdir_flag_spec='-R$libdir'
8229 hardcode_shlibpath_var=no
8233 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8235 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8236 hardcode_libdir_separator=:
8237 hardcode_shlibpath_var=no
8244 if test -f /usr/libexec/ld.so; then
8246 hardcode_shlibpath_var=no
8247 hardcode_direct_absolute=yes
8248 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8249 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8250 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8251 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8252 export_dynamic_flag_spec='${wl}-E'
8255 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8256 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8257 hardcode_libdir_flag_spec='-R$libdir'
8260 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8261 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8271 hardcode_libdir_flag_spec='-L$libdir'
8272 hardcode_minus_L=yes
8273 allow_undefined_flag=unsupported
8274 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'
8275 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8279 if test "$GCC" = yes; then
8280 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8281 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'
8283 allow_undefined_flag=' -expect_unresolved \*'
8284 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'
8286 archive_cmds_need_lc='no'
8287 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8288 hardcode_libdir_separator=:
8291 osf4* | osf5*) # as osf3* with the addition of -msym flag
8292 if test "$GCC" = yes; then
8293 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8294 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'
8295 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8297 allow_undefined_flag=' -expect_unresolved \*'
8298 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'
8299 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~
8300 $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'
8302 # Both c and cxx compiler support -rpath directly
8303 hardcode_libdir_flag_spec='-rpath $libdir'
8305 archive_cmds_need_lc='no'
8306 hardcode_libdir_separator=:
8310 no_undefined_flag=' -z defs'
8311 if test "$GCC" = yes; then
8313 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8314 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8315 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8317 case `$CC -V 2>&1` in
8320 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8321 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8322 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8326 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8327 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8328 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8332 hardcode_libdir_flag_spec='-R$libdir'
8333 hardcode_shlibpath_var=no
8335 solaris2.[0-5] | solaris2.[0-5].*) ;;
8337 # The compiler driver will combine and reorder linker options,
8338 # but understands `-z linker_flag
'. GCC discards it without `$wl',
8339 # but is careful enough not to reorder.
8340 # Supported since Solaris 2.6 (maybe 2.5.1?)
8341 if test "$GCC" = yes; then
8342 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8344 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8348 link_all_deplibs
=yes
8352 if test "x$host_vendor" = xsequent
; then
8353 # Use $CC to link under sequent, because it throws in some extra .o
8354 # files that make .init and .fini sections work.
8355 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8357 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8359 hardcode_libdir_flag_spec
='-L$libdir'
8361 hardcode_minus_L
=yes
8362 hardcode_shlibpath_var
=no
8366 case $host_vendor in
8368 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8369 hardcode_direct
=yes # is this really true???
8372 ## LD is ld it makes a PLAMLIB
8373 ## CC just makes a GrossModule.
8374 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8375 reload_cmds
='$CC -r -o $output$reload_objs'
8379 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8380 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8383 runpath_var
='LD_RUN_PATH'
8384 hardcode_shlibpath_var
=no
8388 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8389 hardcode_shlibpath_var
=no
8390 export_dynamic_flag_spec
='-Bexport'
8394 if test -d /usr
/nec
; then
8395 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8396 hardcode_shlibpath_var
=no
8397 runpath_var
=LD_RUN_PATH
8398 hardcode_runpath_var
=yes
8403 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8404 no_undefined_flag
='${wl}-z,text'
8405 archive_cmds_need_lc
=no
8406 hardcode_shlibpath_var
=no
8407 runpath_var
='LD_RUN_PATH'
8409 if test "$GCC" = yes; then
8410 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8411 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8413 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8414 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8418 sysv5
* | sco3.2v5
* | sco5v6
*)
8419 # Note: We can NOT use -z defs as we might desire, because we do not
8420 # link with -lc, and that would cause any symbols used from libc to
8421 # always be unresolved, which means just about no library would
8422 # ever link correctly. If we're not using GNU ld we use -z text
8423 # though, which does catch some bad symbols but isn't as heavy-handed
8425 no_undefined_flag
='${wl}-z,text'
8426 allow_undefined_flag
='${wl}-z,nodefs'
8427 archive_cmds_need_lc
=no
8428 hardcode_shlibpath_var
=no
8429 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8430 hardcode_libdir_separator
=':'
8431 link_all_deplibs
=yes
8432 export_dynamic_flag_spec
='${wl}-Bexport'
8433 runpath_var
='LD_RUN_PATH'
8435 if test "$GCC" = yes; then
8436 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8437 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8439 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8440 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8445 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8446 hardcode_libdir_flag_spec
='-L$libdir'
8447 hardcode_shlibpath_var
=no
8455 if test x
$host_vendor = xsni
; then
8457 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8458 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8464 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8465 $as_echo "$ld_shlibs" >&6; }
8466 test "$ld_shlibs" = no
&& can_build_shared
=no
8468 with_gnu_ld
=$with_gnu_ld
8485 # Do we need to explicitly link libc?
8487 case "x$archive_cmds_need_lc" in
8489 # Assume -lc should be added
8490 archive_cmds_need_lc
=yes
8492 if test "$enable_shared" = yes && test "$GCC" = yes; then
8493 case $archive_cmds in
8495 # FIXME: we may have to deal with multi-command sequences.
8498 # Test whether the compiler implicitly links with -lc since on some
8499 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8500 # to ld, don't add -lc before -lgcc.
8501 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8502 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8504 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8507 (eval $ac_compile) 2>&5
8509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); } 2>conftest.err
; then
8513 libobjs
=conftest.
$ac_objext
8515 wl
=$lt_prog_compiler_wl
8516 pic_flag
=$lt_prog_compiler_pic
8522 lt_save_allow_undefined_flag
=$allow_undefined_flag
8523 allow_undefined_flag
=
8524 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8525 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); }
8530 archive_cmds_need_lc
=no
8532 archive_cmds_need_lc
=yes
8534 allow_undefined_flag
=$lt_save_allow_undefined_flag
8536 cat conftest.err
1>&5
8539 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8540 $as_echo "$archive_cmds_need_lc" >&6; }
8703 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8704 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8706 if test "$GCC" = yes; then
8708 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8709 *) lt_awk_arg
="/^libraries:/" ;;
8711 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8712 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8713 # if the path contains ";" then we assume it to be the separator
8714 # otherwise default to the standard path separator (i.e. ":") - it is
8715 # assumed that no part of a normal pathname contains ";" but that should
8716 # okay in the real world where ";" in dirpaths is itself problematic.
8717 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8719 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8721 # Ok, now we have the path, separated by spaces, we can step through it
8722 # and add multilib dir if necessary.
8723 lt_tmp_lt_search_path_spec
=
8724 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8725 for lt_sys_path
in $lt_search_path_spec; do
8726 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8727 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8729 test -d "$lt_sys_path" && \
8730 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8733 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8734 BEGIN {RS=" "; FS="/|\n";} {
8737 for (lt_i = NF; lt_i > 0; lt_i--) {
8738 if ($lt_i != "" && $lt_i != ".") {
8739 if ($lt_i == "..") {
8742 if (lt_count == 0) {
8743 lt_foo="/" $lt_i lt_foo;
8750 if (lt_foo != "") { lt_freq[lt_foo]++; }
8751 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8753 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8755 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8758 libname_spec
='lib$name'
8766 shlibpath_overrides_runpath
=unknown
8768 dynamic_linker
="$host_os ld.so"
8769 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8770 need_lib_prefix
=unknown
8771 hardcode_into_libs
=no
8773 # when you set need_version to no, make sure it does not cause -set_version
8774 # flags to be left without arguments
8775 need_version
=unknown
8780 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8781 shlibpath_var
=LIBPATH
8783 # AIX 3 has no versioning support, so we append a major version to the name.
8784 soname_spec
='${libname}${release}${shared_ext}$major'
8791 hardcode_into_libs
=yes
8792 if test "$host_cpu" = ia64
; then
8793 # AIX 5 supports IA64
8794 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8795 shlibpath_var
=LD_LIBRARY_PATH
8797 # With GCC up to 2.95.x, collect2 would create an import file
8798 # for dependence libraries. The import file would start with
8799 # the line `#! .'. This would cause the generated library to
8800 # depend on `.', always an invalid library. This was fixed in
8801 # development snapshots of GCC prior to 3.0.
8803 aix4 | aix4.
[01] | aix4.
[01].
*)
8804 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8806 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8813 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8814 # soname into executable. Probably we can add versioning support to
8815 # collect2, so additional links can be useful in future.
8816 if test "$aix_use_runtimelinking" = yes; then
8817 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8818 # instead of lib<name>.a to let people know that these are not
8819 # typical AIX shared libraries.
8820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8822 # We preserve .a as extension for shared libraries through AIX4.2
8823 # and later when we are not doing run time linking.
8824 library_names_spec
='${libname}${release}.a $libname.a'
8825 soname_spec
='${libname}${release}${shared_ext}$major'
8827 shlibpath_var
=LIBPATH
8834 # Since July 2007 AmigaOS4 officially supports .so libraries.
8835 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8839 library_names_spec
='$libname.ixlibrary $libname.a'
8840 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8841 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'
8847 library_names_spec
='${libname}${shared_ext}'
8848 dynamic_linker
="$host_os ld.so"
8849 shlibpath_var
=LIBRARY_PATH
8855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8856 soname_spec
='${libname}${release}${shared_ext}$major'
8857 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8858 shlibpath_var
=LD_LIBRARY_PATH
8859 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8860 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8861 # the default ld.so.conf also contains /usr/contrib/lib and
8862 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8863 # libtool to hard-code these into programs
8866 cygwin
* | mingw
* | pw32
* | cegcc
*)
8867 version_type
=windows
8872 case $GCC,$host_os in
8873 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8874 library_names_spec
='$libname.dll.a'
8875 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8876 postinstall_cmds
='base_file=`basename \${file}`~
8877 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8878 dldir=$destdir/`dirname \$dlpath`~
8879 test -d \$dldir || mkdir -p \$dldir~
8880 $install_prog $dir/$dlname \$dldir/$dlname~
8881 chmod a+x \$dldir/$dlname~
8882 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8883 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8885 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8886 dlpath=$dir/\$dldll~
8888 shlibpath_overrides_runpath
=yes
8892 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8893 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8894 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8897 # MinGW DLLs use traditional 'lib' prefix
8898 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8899 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8900 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8901 # It is most probably a Windows format PATH printed by
8902 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8903 # path with ; separators, and with drive letters. We can handle the
8904 # drive letters (cygwin fileutils understands them), so leave them,
8905 # especially as we might pass files found there to a mingw objdump,
8906 # which wouldn't understand a cygwinified path. Ahh.
8907 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8909 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8913 # pw32 DLLs use 'pw' prefix rather than 'lib'
8914 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8920 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8923 dynamic_linker
='Win32 ld.exe'
8924 # FIXME: first we should search . and the directory the executable is in
8928 darwin
* | rhapsody
*)
8929 dynamic_linker
="$host_os dyld"
8933 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8934 soname_spec
='${libname}${release}${major}$shared_ext'
8935 shlibpath_overrides_runpath
=yes
8936 shlibpath_var
=DYLD_LIBRARY_PATH
8937 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8939 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8940 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8948 soname_spec
='${libname}${release}${shared_ext}$major'
8949 shlibpath_var
=LD_LIBRARY_PATH
8956 freebsd
* | dragonfly
*)
8957 # DragonFly does not have aout. When/if they implement a new
8958 # versioning mechanism, adjust this.
8959 if test -x /usr
/bin
/objformat
; then
8960 objformat
=`/usr/bin/objformat`
8963 freebsd
[123]*) objformat
=aout
;;
8967 # Handle Gentoo/FreeBSD as it was Linux
8968 case $host_vendor in
8970 version_type
=linux
;;
8972 version_type
=freebsd-
$objformat ;;
8975 case $version_type in
8977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8982 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8987 soname_spec
='${libname}${release}${shared_ext}$major'
8992 shlibpath_var
=LD_LIBRARY_PATH
8995 shlibpath_overrides_runpath
=yes
8997 freebsd3.
[01]* | freebsdelf3.
[01]*)
8998 shlibpath_overrides_runpath
=yes
8999 hardcode_into_libs
=yes
9001 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9002 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9003 shlibpath_overrides_runpath
=no
9004 hardcode_into_libs
=yes
9006 *) # from 4.6 on, and DragonFly
9007 shlibpath_overrides_runpath
=yes
9008 hardcode_into_libs
=yes
9017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9018 soname_spec
='${libname}${release}${shared_ext}$major'
9019 shlibpath_var
=LD_LIBRARY_PATH
9020 hardcode_into_libs
=yes
9023 hpux9
* | hpux10
* | hpux11
*)
9024 # Give a soname corresponding to the major version so that dld.sl refuses to
9025 # link against other versions.
9032 hardcode_into_libs
=yes
9033 dynamic_linker
="$host_os dld.so"
9034 shlibpath_var
=LD_LIBRARY_PATH
9035 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9037 soname_spec
='${libname}${release}${shared_ext}$major'
9038 if test "X$HPUX_IA64_MODE" = X32
; then
9039 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9041 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9043 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9047 hardcode_into_libs
=yes
9048 dynamic_linker
="$host_os dld.sl"
9049 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9050 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9052 soname_spec
='${libname}${release}${shared_ext}$major'
9053 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9054 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9058 dynamic_linker
="$host_os dld.sl"
9059 shlibpath_var
=SHLIB_PATH
9060 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9062 soname_spec
='${libname}${release}${shared_ext}$major'
9065 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9066 postinstall_cmds
='chmod 555 $lib'
9073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9074 soname_spec
='${libname}${release}${shared_ext}$major'
9075 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9076 shlibpath_var
=LD_LIBRARY_PATH
9077 shlibpath_overrides_runpath
=no
9078 hardcode_into_libs
=yes
9081 irix5
* | irix6
* | nonstopux
*)
9083 nonstopux
*) version_type
=nonstopux
;;
9085 if test "$lt_cv_prog_gnu_ld" = yes; then
9093 soname_spec
='${libname}${release}${shared_ext}$major'
9094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9096 irix5
* | nonstopux
*)
9100 case $LD in # libtool.m4 will add one of these switches to LD
9101 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9102 libsuff
= shlibsuff
= libmagic
=32-bit;;
9103 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9104 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9105 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9106 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9107 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9111 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9112 shlibpath_overrides_runpath
=no
9113 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9114 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9115 hardcode_into_libs
=yes
9118 # No shared lib support for Linux oldld, aout, or coff.
9119 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9123 # This must be Linux ELF.
9124 linux
* | k
*bsd
*-gnu)
9128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9129 soname_spec
='${libname}${release}${shared_ext}$major'
9130 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9131 shlibpath_var
=LD_LIBRARY_PATH
9132 shlibpath_overrides_runpath
=no
9133 # Some binutils ld are patched to set DT_RUNPATH
9134 save_LDFLAGS
=$LDFLAGS
9136 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9137 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9138 cat >conftest.
$ac_ext <<_ACEOF
9141 cat confdefs.h
>>conftest.
$ac_ext
9142 cat >>conftest.
$ac_ext <<_ACEOF
9143 /* end confdefs.h. */
9153 rm -f conftest.
$ac_objext conftest
$ac_exeext
9154 if { (ac_try
="$ac_link"
9156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9157 *) ac_try_echo=$ac_try;;
9159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9160 $as_echo "$ac_try_echo") >&5
9161 (eval "$ac_link") 2>conftest.er1
9163 grep -v '^ *+' conftest.er1 >conftest.err
9165 cat conftest.err >&5
9166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } && {
9168 test -z "$ac_c_werror_flag" ||
9169 test ! -s conftest.err
9170 } && test -s conftest$ac_exeext && {
9171 test "$cross_compiling" = yes ||
9172 $as_test_x conftest$ac_exeext
9174 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9175 shlibpath_overrides_runpath=yes
9179 $as_echo "$as_me: failed program was:" >&5
9180 sed 's/^/| /' conftest.$ac_ext >&5
9185 rm -rf conftest.dSYM
9186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9187 conftest$ac_exeext conftest.$ac_ext
9188 LDFLAGS=$save_LDFLAGS
9191 # This implies no fast_install, which is unacceptable.
9192 # Some rework will be needed to allow for fast_install
9193 # before this can be enabled.
9194 hardcode_into_libs=yes
9196 # Append ld.so.conf contents to the search path
9197 if test -f /etc/ld.so.conf; then
9198 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' ' '`
9199 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9202 # We used to test for /lib/ld.so.1 and disable shared libraries on
9203 # powerpc, because MkLinux only supported shared libraries with the
9204 # GNU dynamic linker. Since this was broken with cross compilers,
9205 # most powerpc-linux boxes support dynamic linking these days and
9206 # people can always --disable-shared, the test was removed, and we
9207 # assume the GNU/Linux dynamic linker is in use.
9208 dynamic_linker='GNU/Linux ld.so'
9215 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9217 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9218 dynamic_linker='NetBSD (a.out) ld.so'
9220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9221 soname_spec='${libname}${release}${shared_ext}$major'
9222 dynamic_linker='NetBSD ld.elf_so'
9224 shlibpath_var=LD_LIBRARY_PATH
9225 shlibpath_overrides_runpath=yes
9226 hardcode_into_libs=yes
9231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9232 shlibpath_var=LD_LIBRARY_PATH
9233 shlibpath_overrides_runpath=yes
9240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9241 soname_spec='${libname}${release}${shared_ext}$major'
9242 shlibpath_var=LD_LIBRARY_PATH
9243 shlibpath_overrides_runpath=no
9244 hardcode_into_libs=yes
9245 dynamic_linker='ldqnx.so'
9250 sys_lib_dlsearch_path_spec="/usr/lib"
9252 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9254 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9255 *) need_version=no ;;
9257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9258 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9259 shlibpath_var=LD_LIBRARY_PATH
9260 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9262 openbsd2.[89] | openbsd2.[89].*)
9263 shlibpath_overrides_runpath=no
9266 shlibpath_overrides_runpath=yes
9270 shlibpath_overrides_runpath=yes
9275 libname_spec='$name'
9278 library_names_spec='$libname${shared_ext} $libname.a'
9279 dynamic_linker='OS/2 ld.exe'
9280 shlibpath_var=LIBPATH
9283 osf3* | osf4* | osf5*)
9287 soname_spec='${libname}${release}${shared_ext}$major'
9288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9289 shlibpath_var=LD_LIBRARY_PATH
9290 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9291 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9303 soname_spec='${libname}${release}${shared_ext}$major'
9304 shlibpath_var=LD_LIBRARY_PATH
9305 shlibpath_overrides_runpath=yes
9306 hardcode_into_libs=yes
9307 # ldd complains unless libraries are executable
9308 postinstall_cmds='chmod +x $lib'
9313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9314 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9315 shlibpath_var=LD_LIBRARY_PATH
9316 shlibpath_overrides_runpath=yes
9317 if test "$with_gnu_ld" = yes; then
9325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9326 soname_spec='${libname}${release}${shared_ext}$major'
9327 shlibpath_var=LD_LIBRARY_PATH
9328 case $host_vendor in
9330 shlibpath_overrides_runpath=no
9332 runpath_var=LD_RUN_PATH
9340 shlibpath_overrides_runpath=no
9341 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9347 if test -d /usr/nec ;then
9349 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9350 soname_spec='$libname${shared_ext}.$major'
9351 shlibpath_var=LD_LIBRARY_PATH
9355 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9356 version_type=freebsd-elf
9359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9360 soname_spec='${libname}${release}${shared_ext}$major'
9361 shlibpath_var=LD_LIBRARY_PATH
9362 shlibpath_overrides_runpath=yes
9363 hardcode_into_libs=yes
9364 if test "$with_gnu_ld" = yes; then
9365 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9367 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9370 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9374 sys_lib_dlsearch_path_spec='/usr/lib'
9378 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9383 shlibpath_var=LD_LIBRARY_PATH
9384 shlibpath_overrides_runpath=no
9385 hardcode_into_libs=yes
9390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9391 soname_spec='${libname}${release}${shared_ext}$major'
9392 shlibpath_var=LD_LIBRARY_PATH
9399 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9400 $as_echo "$dynamic_linker" >&6; }
9401 test "$dynamic_linker" = no && can_build_shared=no
9403 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9404 if test "$GCC" = yes; then
9405 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9408 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9409 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9411 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9412 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9501 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9502 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9504 if test -n "$hardcode_libdir_flag_spec" ||
9505 test -n "$runpath_var" ||
9506 test "X$hardcode_automatic" = "Xyes" ; then
9508 # We can hardcode non-existent directories.
9509 if test "$hardcode_direct" != no &&
9510 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9511 # have to relink, otherwise we might link with an installed library
9512 # when we should be linking with a yet-to-be-installed one
9513 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9514 test "$hardcode_minus_L" != no; then
9515 # Linking always hardcodes the temporary library directory.
9516 hardcode_action=relink
9518 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9519 hardcode_action=immediate
9522 # We cannot hardcode anything, or else we can only hardcode existing
9524 hardcode_action=unsupported
9526 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9527 $as_echo "$hardcode_action" >&6; }
9529 if test "$hardcode_action" = relink ||
9530 test "$inherit_rpath" = yes; then
9531 # Fast installation is not supported
9532 enable_fast_install=no
9533 elif test "$shlibpath_overrides_runpath" = yes ||
9534 test "$enable_shared" = no; then
9535 # Fast installation is not necessary
9536 enable_fast_install=needless
9544 if test "x$enable_dlopen" != xyes; then
9545 enable_dlopen=unknown
9546 enable_dlopen_self=unknown
9547 enable_dlopen_self_static=unknown
9554 lt_cv_dlopen="load_add_on"
9556 lt_cv_dlopen_self=yes
9559 mingw* | pw32* | cegcc*)
9560 lt_cv_dlopen="LoadLibrary"
9565 lt_cv_dlopen="dlopen"
9570 # if libdl is installed we need to link against it
9571 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9572 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9573 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9574 $as_echo_n "(cached) " >&6
9576 ac_check_lib_save_LIBS=$LIBS
9578 cat >conftest.$ac_ext <<_ACEOF
9581 cat confdefs.h >>conftest.$ac_ext
9582 cat >>conftest.$ac_ext <<_ACEOF
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9600 rm -f conftest.$ac_objext conftest$ac_exeext
9601 if { (ac_try="$ac_link"
9603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9604 *) ac_try_echo
=$ac_try;;
9606 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9607 $as_echo "$ac_try_echo") >&5
9608 (eval "$ac_link") 2>conftest.er1
9610 grep -v '^ *+' conftest.er1
>conftest.err
9612 cat conftest.err
>&5
9613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } && {
9615 test -z "$ac_c_werror_flag" ||
9616 test ! -s conftest.err
9617 } && test -s conftest
$ac_exeext && {
9618 test "$cross_compiling" = yes ||
9619 $as_test_x conftest
$ac_exeext
9621 ac_cv_lib_dl_dlopen
=yes
9623 $as_echo "$as_me: failed program was:" >&5
9624 sed 's/^/| /' conftest.
$ac_ext >&5
9626 ac_cv_lib_dl_dlopen
=no
9629 rm -rf conftest.dSYM
9630 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9631 conftest
$ac_exeext conftest.
$ac_ext
9632 LIBS
=$ac_check_lib_save_LIBS
9634 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9636 if test $ac_cv_lib_dl_dlopen = yes; then
9637 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9642 lt_cv_dlopen_self
=yes
9649 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9650 $as_echo_n "checking for shl_load... " >&6; }
9651 if test "${ac_cv_func_shl_load+set}" = set; then
9652 $as_echo_n "(cached) " >&6
9654 cat >conftest.
$ac_ext <<_ACEOF
9657 cat confdefs.h
>>conftest.
$ac_ext
9658 cat >>conftest.
$ac_ext <<_ACEOF
9659 /* end confdefs.h. */
9660 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9662 #define shl_load innocuous_shl_load
9664 /* System header to define __stub macros and hopefully few prototypes,
9665 which can conflict with char shl_load (); below.
9666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9667 <limits.h> exists even on freestanding compilers. */
9670 # include <limits.h>
9672 # include <assert.h>
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9684 /* The GNU C library defines this for functions which it implements
9685 to always fail with ENOSYS. Some functions are actually named
9686 something starting with __ and the normal name is an alias. */
9687 #if defined __stub_shl_load || defined __stub___shl_load
9699 rm -f conftest.
$ac_objext conftest
$ac_exeext
9700 if { (ac_try
="$ac_link"
9702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9703 *) ac_try_echo=$ac_try;;
9705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9706 $as_echo "$ac_try_echo") >&5
9707 (eval "$ac_link") 2>conftest.er1
9709 grep -v '^ *+' conftest.er1 >conftest.err
9711 cat conftest.err >&5
9712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); } && {
9714 test -z "$ac_c_werror_flag" ||
9715 test ! -s conftest.err
9716 } && test -s conftest$ac_exeext && {
9717 test "$cross_compiling" = yes ||
9718 $as_test_x conftest$ac_exeext
9720 ac_cv_func_shl_load=yes
9722 $as_echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.$ac_ext >&5
9725 ac_cv_func_shl_load=no
9728 rm -rf conftest.dSYM
9729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9730 conftest$ac_exeext conftest.$ac_ext
9732 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9733 $as_echo "$ac_cv_func_shl_load" >&6; }
9734 if test $ac_cv_func_shl_load = yes; then
9735 lt_cv_dlopen="shl_load"
9737 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9738 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9739 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9740 $as_echo_n "(cached) " >&6
9742 ac_check_lib_save_LIBS=$LIBS
9744 cat >conftest.$ac_ext <<_ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (ac_try="$ac_link"
9769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9770 *) ac_try_echo
=$ac_try;;
9772 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9773 $as_echo "$ac_try_echo") >&5
9774 (eval "$ac_link") 2>conftest.er1
9776 grep -v '^ *+' conftest.er1
>conftest.err
9778 cat conftest.err
>&5
9779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } && {
9781 test -z "$ac_c_werror_flag" ||
9782 test ! -s conftest.err
9783 } && test -s conftest
$ac_exeext && {
9784 test "$cross_compiling" = yes ||
9785 $as_test_x conftest
$ac_exeext
9787 ac_cv_lib_dld_shl_load
=yes
9789 $as_echo "$as_me: failed program was:" >&5
9790 sed 's/^/| /' conftest.
$ac_ext >&5
9792 ac_cv_lib_dld_shl_load
=no
9795 rm -rf conftest.dSYM
9796 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9797 conftest
$ac_exeext conftest.
$ac_ext
9798 LIBS
=$ac_check_lib_save_LIBS
9800 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9801 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9802 if test $ac_cv_lib_dld_shl_load = yes; then
9803 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9805 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9806 $as_echo_n "checking for dlopen... " >&6; }
9807 if test "${ac_cv_func_dlopen+set}" = set; then
9808 $as_echo_n "(cached) " >&6
9810 cat >conftest.
$ac_ext <<_ACEOF
9813 cat confdefs.h
>>conftest.
$ac_ext
9814 cat >>conftest.
$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9816 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9818 #define dlopen innocuous_dlopen
9820 /* System header to define __stub macros and hopefully few prototypes,
9821 which can conflict with char dlopen (); below.
9822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9823 <limits.h> exists even on freestanding compilers. */
9826 # include <limits.h>
9828 # include <assert.h>
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9840 /* The GNU C library defines this for functions which it implements
9841 to always fail with ENOSYS. Some functions are actually named
9842 something starting with __ and the normal name is an alias. */
9843 #if defined __stub_dlopen || defined __stub___dlopen
9855 rm -f conftest.
$ac_objext conftest
$ac_exeext
9856 if { (ac_try
="$ac_link"
9858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9859 *) ac_try_echo=$ac_try;;
9861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9862 $as_echo "$ac_try_echo") >&5
9863 (eval "$ac_link") 2>conftest.er1
9865 grep -v '^ *+' conftest.er1 >conftest.err
9867 cat conftest.err >&5
9868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } && {
9870 test -z "$ac_c_werror_flag" ||
9871 test ! -s conftest.err
9872 } && test -s conftest$ac_exeext && {
9873 test "$cross_compiling" = yes ||
9874 $as_test_x conftest$ac_exeext
9876 ac_cv_func_dlopen=yes
9878 $as_echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9881 ac_cv_func_dlopen=no
9884 rm -rf conftest.dSYM
9885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9886 conftest$ac_exeext conftest.$ac_ext
9888 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9889 $as_echo "$ac_cv_func_dlopen" >&6; }
9890 if test $ac_cv_func_dlopen = yes; then
9891 lt_cv_dlopen="dlopen"
9893 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9894 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9895 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9896 $as_echo_n "(cached) " >&6
9898 ac_check_lib_save_LIBS=$LIBS
9900 cat >conftest.$ac_ext <<_ACEOF
9903 cat confdefs.h >>conftest.$ac_ext
9904 cat >>conftest.$ac_ext <<_ACEOF
9905 /* end confdefs.h. */
9907 /* Override any GCC internal prototype to avoid an error.
9908 Use char because int might match the return type of a GCC
9909 builtin and then its argument prototype would still apply. */
9922 rm -f conftest.$ac_objext conftest$ac_exeext
9923 if { (ac_try="$ac_link"
9925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9926 *) ac_try_echo
=$ac_try;;
9928 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9929 $as_echo "$ac_try_echo") >&5
9930 (eval "$ac_link") 2>conftest.er1
9932 grep -v '^ *+' conftest.er1
>conftest.err
9934 cat conftest.err
>&5
9935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); } && {
9937 test -z "$ac_c_werror_flag" ||
9938 test ! -s conftest.err
9939 } && test -s conftest
$ac_exeext && {
9940 test "$cross_compiling" = yes ||
9941 $as_test_x conftest
$ac_exeext
9943 ac_cv_lib_dl_dlopen
=yes
9945 $as_echo "$as_me: failed program was:" >&5
9946 sed 's/^/| /' conftest.
$ac_ext >&5
9948 ac_cv_lib_dl_dlopen
=no
9951 rm -rf conftest.dSYM
9952 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9953 conftest
$ac_exeext conftest.
$ac_ext
9954 LIBS
=$ac_check_lib_save_LIBS
9956 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9958 if test $ac_cv_lib_dl_dlopen = yes; then
9959 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9961 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9962 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9963 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9964 $as_echo_n "(cached) " >&6
9966 ac_check_lib_save_LIBS
=$LIBS
9968 cat >conftest.
$ac_ext <<_ACEOF
9971 cat confdefs.h
>>conftest.
$ac_ext
9972 cat >>conftest.
$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9975 /* Override any GCC internal prototype to avoid an error.
9976 Use char because int might match the return type of a GCC
9977 builtin and then its argument prototype would still apply. */
9990 rm -f conftest.
$ac_objext conftest
$ac_exeext
9991 if { (ac_try
="$ac_link"
9993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9994 *) ac_try_echo=$ac_try;;
9996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9997 $as_echo "$ac_try_echo") >&5
9998 (eval "$ac_link") 2>conftest.er1
10000 grep -v '^ *+' conftest.er1 >conftest.err
10002 cat conftest.err >&5
10003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); } && {
10005 test -z "$ac_c_werror_flag" ||
10006 test ! -s conftest.err
10007 } && test -s conftest$ac_exeext && {
10008 test "$cross_compiling" = yes ||
10009 $as_test_x conftest$ac_exeext
10011 ac_cv_lib_svld_dlopen=yes
10013 $as_echo "$as_me: failed program was:" >&5
10014 sed 's/^/| /' conftest.$ac_ext >&5
10016 ac_cv_lib_svld_dlopen=no
10019 rm -rf conftest.dSYM
10020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_lib_save_LIBS
10024 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10025 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10026 if test $ac_cv_lib_svld_dlopen = yes; then
10027 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10029 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10030 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10031 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10032 $as_echo_n "(cached) " >&6
10034 ac_check_lib_save_LIBS=$LIBS
10036 cat >conftest.$ac_ext <<_ACEOF
10039 cat confdefs.h >>conftest.$ac_ext
10040 cat >>conftest.$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10053 return dld_link ();
10058 rm -f conftest.$ac_objext conftest$ac_exeext
10059 if { (ac_try="$ac_link"
10060 case "(($ac_try" in
10061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10062 *) ac_try_echo
=$ac_try;;
10064 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10065 $as_echo "$ac_try_echo") >&5
10066 (eval "$ac_link") 2>conftest.er1
10068 grep -v '^ *+' conftest.er1
>conftest.err
10070 cat conftest.err
>&5
10071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); } && {
10073 test -z "$ac_c_werror_flag" ||
10074 test ! -s conftest.err
10075 } && test -s conftest
$ac_exeext && {
10076 test "$cross_compiling" = yes ||
10077 $as_test_x conftest
$ac_exeext
10079 ac_cv_lib_dld_dld_link
=yes
10081 $as_echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.
$ac_ext >&5
10084 ac_cv_lib_dld_dld_link
=no
10087 rm -rf conftest.dSYM
10088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10089 conftest
$ac_exeext conftest.
$ac_ext
10090 LIBS
=$ac_check_lib_save_LIBS
10092 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10093 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10094 if test $ac_cv_lib_dld_dld_link = yes; then
10095 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10116 if test "x$lt_cv_dlopen" != xno
; then
10122 case $lt_cv_dlopen in
10124 save_CPPFLAGS
="$CPPFLAGS"
10125 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10127 save_LDFLAGS
="$LDFLAGS"
10128 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10131 LIBS
="$lt_cv_dlopen_libs $LIBS"
10133 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10134 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10135 if test "${lt_cv_dlopen_self+set}" = set; then
10136 $as_echo_n "(cached) " >&6
10138 if test "$cross_compiling" = yes; then :
10139 lt_cv_dlopen_self
=cross
10141 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10142 lt_status
=$lt_dlunknown
10143 cat > conftest.
$ac_ext <<_LT_EOF
10144 #line 10144 "configure"
10145 #include "confdefs.h"
10154 # define LT_DLGLOBAL RTLD_GLOBAL
10157 # define LT_DLGLOBAL DL_GLOBAL
10159 # define LT_DLGLOBAL 0
10163 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10164 find out it does not work in some platform. */
10165 #ifndef LT_DLLAZY_OR_NOW
10167 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10170 # define LT_DLLAZY_OR_NOW DL_LAZY
10173 # define LT_DLLAZY_OR_NOW RTLD_NOW
10176 # define LT_DLLAZY_OR_NOW DL_NOW
10178 # define LT_DLLAZY_OR_NOW 0
10185 void fnord() { int i=42;}
10188 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10189 int status = $lt_dlunknown;
10193 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10194 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10195 /* dlclose (self); */
10203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10204 (eval $ac_link) 2>&5
10206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10208 (.
/conftest
; exit; ) >&5 2>/dev
/null
10210 case x
$lt_status in
10211 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10212 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10213 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10216 # compilation failed
10217 lt_cv_dlopen_self
=no
10224 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10225 $as_echo "$lt_cv_dlopen_self" >&6; }
10227 if test "x$lt_cv_dlopen_self" = xyes
; then
10228 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10229 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10230 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10231 if test "${lt_cv_dlopen_self_static+set}" = set; then
10232 $as_echo_n "(cached) " >&6
10234 if test "$cross_compiling" = yes; then :
10235 lt_cv_dlopen_self_static
=cross
10237 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10238 lt_status
=$lt_dlunknown
10239 cat > conftest.
$ac_ext <<_LT_EOF
10240 #line 10240 "configure"
10241 #include "confdefs.h"
10250 # define LT_DLGLOBAL RTLD_GLOBAL
10253 # define LT_DLGLOBAL DL_GLOBAL
10255 # define LT_DLGLOBAL 0
10259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10260 find out it does not work in some platform. */
10261 #ifndef LT_DLLAZY_OR_NOW
10263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10266 # define LT_DLLAZY_OR_NOW DL_LAZY
10269 # define LT_DLLAZY_OR_NOW RTLD_NOW
10272 # define LT_DLLAZY_OR_NOW DL_NOW
10274 # define LT_DLLAZY_OR_NOW 0
10281 void fnord() { int i=42;}
10284 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10285 int status = $lt_dlunknown;
10289 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10290 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10291 /* dlclose (self); */
10299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10300 (eval $ac_link) 2>&5
10302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10304 (.
/conftest
; exit; ) >&5 2>/dev
/null
10306 case x
$lt_status in
10307 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10308 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10309 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10312 # compilation failed
10313 lt_cv_dlopen_self_static
=no
10320 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10321 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10324 CPPFLAGS
="$save_CPPFLAGS"
10325 LDFLAGS
="$save_LDFLAGS"
10330 case $lt_cv_dlopen_self in
10331 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10332 *) enable_dlopen_self
=unknown
;;
10335 case $lt_cv_dlopen_self_static in
10336 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10337 *) enable_dlopen_self_static
=unknown
;;
10359 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10360 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10361 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10362 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10363 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10364 { $as_echo "$as_me:$LINENO: result: yes" >&5
10365 $as_echo "yes" >&6; }
10367 # FIXME - insert some real tests, host_os isn't really good enough
10370 if test -n "$STRIP" ; then
10371 striplib
="$STRIP -x"
10372 old_striplib
="$STRIP -S"
10373 { $as_echo "$as_me:$LINENO: result: yes" >&5
10374 $as_echo "yes" >&6; }
10376 { $as_echo "$as_me:$LINENO: result: no" >&5
10377 $as_echo "no" >&6; }
10381 { $as_echo "$as_me:$LINENO: result: no" >&5
10382 $as_echo "no" >&6; }
10398 # Report which library types will actually be built
10399 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10400 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10401 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10402 $as_echo "$can_build_shared" >&6; }
10404 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10405 $as_echo_n "checking whether to build shared libraries... " >&6; }
10406 test "$can_build_shared" = "no" && enable_shared
=no
10408 # On AIX, shared libraries and static libraries use the same namespace, and
10409 # are all built from PIC.
10412 test "$enable_shared" = yes && enable_static
=no
10413 if test -n "$RANLIB"; then
10414 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10415 postinstall_cmds
='$RANLIB $lib'
10420 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10421 test "$enable_shared" = yes && enable_static
=no
10425 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10426 $as_echo "$enable_shared" >&6; }
10428 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10429 $as_echo_n "checking whether to build static libraries... " >&6; }
10430 # Make sure either enable_shared or enable_static is yes.
10431 test "$enable_shared" = yes || enable_static
=yes
10432 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10433 $as_echo "$enable_static" >&6; }
10440 ac_cpp
='$CPP $CPPFLAGS'
10441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10459 ac_config_commands
="$ac_config_commands libtool"
10464 # Only expand once:
10467 # Find a good install program. We prefer a C program (faster),
10468 # so one script is as good as another. But avoid the broken or
10469 # incompatible versions:
10470 # SysV /etc/install, /usr/sbin/install
10471 # SunOS /usr/etc/install
10472 # IRIX /sbin/install
10474 # AmigaOS /C/install, which installs bootblocks on floppy discs
10475 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10476 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10477 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10478 # OS/2's system install, which has a completely different semantic
10479 # ./install, which can be erroneously created by make from ./install.sh.
10480 # Reject install programs that cannot install multiple files.
10481 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10482 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10483 if test -z "$INSTALL"; then
10484 if test "${ac_cv_path_install+set}" = set; then
10485 $as_echo_n "(cached) " >&6
10487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10488 for as_dir
in $PATH
10491 test -z "$as_dir" && as_dir
=.
10492 # Account for people who put trailing slashes in PATH elements.
10494 .
/ | .
// |
/cC
/* | \
10495 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
10496 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
10499 # OSF1 and SCO ODT 3.0 have their own names for install.
10500 # Don't use installbsd from OSF since it installs stuff as root
10502 for ac_prog
in ginstall scoinst
install; do
10503 for ac_exec_ext
in '' $ac_executable_extensions; do
10504 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10505 if test $ac_prog = install &&
10506 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10507 # AIX install. It has an incompatible calling convention.
10509 elif test $ac_prog = install &&
10510 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10511 # program-specific install script used by HP pwplus--don't use.
10514 rm -rf conftest.one conftest.two conftest.dir
10515 echo one
> conftest.one
10516 echo two
> conftest.two
10518 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10519 test -s conftest.one
&& test -s conftest.two
&&
10520 test -s conftest.dir
/conftest.one
&&
10521 test -s conftest.dir
/conftest.two
10523 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10536 rm -rf conftest.one conftest.two conftest.dir
10539 if test "${ac_cv_path_install+set}" = set; then
10540 INSTALL
=$ac_cv_path_install
10542 # As a last resort, use the slow shell script. Don't cache a
10543 # value for INSTALL within a source directory, because that will
10544 # break other packages using the cache if that directory is
10545 # removed, or if the value is a relative name.
10546 INSTALL
=$ac_install_sh
10549 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
10550 $as_echo "$INSTALL" >&6; }
10552 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10553 # It thinks the first close brace ends the variable substitution.
10554 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10556 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10558 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10560 for ac_prog
in gawk mawk nawk
awk
10562 # Extract the first word of "$ac_prog", so it can be a program name with args.
10563 set dummy
$ac_prog; ac_word
=$2
10564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10565 $as_echo_n "checking for $ac_word... " >&6; }
10566 if test "${ac_cv_prog_AWK+set}" = set; then
10567 $as_echo_n "(cached) " >&6
10569 if test -n "$AWK"; then
10570 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
10572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10573 for as_dir
in $PATH
10576 test -z "$as_dir" && as_dir
=.
10577 for ac_exec_ext
in '' $ac_executable_extensions; do
10578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10579 ac_cv_prog_AWK
="$ac_prog"
10580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 AWK
=$ac_cv_prog_AWK
10590 if test -n "$AWK"; then
10591 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
10592 $as_echo "$AWK" >&6; }
10594 { $as_echo "$as_me:$LINENO: result: no" >&5
10595 $as_echo "no" >&6; }
10599 test -n "$AWK" && break
10604 # Enable large file support (if special flags are necessary)
10606 # Check whether --enable-largefile was given.
10607 if test "${enable_largefile+set}" = set; then
10608 enableval
=$enable_largefile;
10611 if test "$enable_largefile" != no
; then
10613 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
10614 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
10615 if test "${ac_cv_sys_largefile_CC+set}" = set; then
10616 $as_echo_n "(cached) " >&6
10618 ac_cv_sys_largefile_CC
=no
10619 if test "$GCC" != yes; then
10622 # IRIX 6.2 and later do not support large files by default,
10623 # so use the C compiler's -n32 option if that helps.
10624 cat >conftest.
$ac_ext <<_ACEOF
10627 cat confdefs.h
>>conftest.
$ac_ext
10628 cat >>conftest.
$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10630 #include <sys/types.h>
10631 /* Check that off_t can represent 2**63 - 1 correctly.
10632 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10633 since some C++ compilers masquerading as C compilers
10634 incorrectly reject 9223372036854775807. */
10635 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10636 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10637 && LARGE_OFF_T % 2147483647 == 1)
10647 rm -f conftest.
$ac_objext
10648 if { (ac_try
="$ac_compile"
10649 case "(($ac_try" in
10650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10651 *) ac_try_echo=$ac_try;;
10653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10654 $as_echo "$ac_try_echo") >&5
10655 (eval "$ac_compile") 2>conftest.er1
10657 grep -v '^ *+' conftest.er1 >conftest.err
10659 cat conftest.err >&5
10660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } && {
10662 test -z "$ac_c_werror_flag" ||
10663 test ! -s conftest.err
10664 } && test -s conftest.$ac_objext; then
10667 $as_echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.$ac_ext >&5
10673 rm -f core conftest.err conftest.$ac_objext
10675 rm -f conftest.$ac_objext
10676 if { (ac_try="$ac_compile"
10677 case "(($ac_try" in
10678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10679 *) ac_try_echo
=$ac_try;;
10681 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10682 $as_echo "$ac_try_echo") >&5
10683 (eval "$ac_compile") 2>conftest.er1
10685 grep -v '^ *+' conftest.er1
>conftest.err
10687 cat conftest.err
>&5
10688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } && {
10690 test -z "$ac_c_werror_flag" ||
10691 test ! -s conftest.err
10692 } && test -s conftest.
$ac_objext; then
10693 ac_cv_sys_largefile_CC
=' -n32'; break
10695 $as_echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.
$ac_ext >&5
10701 rm -f core conftest.err conftest.
$ac_objext
10705 rm -f conftest.
$ac_ext
10708 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
10709 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10710 if test "$ac_cv_sys_largefile_CC" != no
; then
10711 CC
=$CC$ac_cv_sys_largefile_CC
10714 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10715 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10716 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
10717 $as_echo_n "(cached) " >&6
10720 cat >conftest.
$ac_ext <<_ACEOF
10723 cat confdefs.h
>>conftest.
$ac_ext
10724 cat >>conftest.
$ac_ext <<_ACEOF
10725 /* end confdefs.h. */
10726 #include <sys/types.h>
10727 /* Check that off_t can represent 2**63 - 1 correctly.
10728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10729 since some C++ compilers masquerading as C compilers
10730 incorrectly reject 9223372036854775807. */
10731 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10733 && LARGE_OFF_T % 2147483647 == 1)
10743 rm -f conftest.
$ac_objext
10744 if { (ac_try
="$ac_compile"
10745 case "(($ac_try" in
10746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10747 *) ac_try_echo=$ac_try;;
10749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10750 $as_echo "$ac_try_echo") >&5
10751 (eval "$ac_compile") 2>conftest.er1
10753 grep -v '^ *+' conftest.er1 >conftest.err
10755 cat conftest.err >&5
10756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } && {
10758 test -z "$ac_c_werror_flag" ||
10759 test ! -s conftest.err
10760 } && test -s conftest.$ac_objext; then
10761 ac_cv_sys_file_offset_bits=no; break
10763 $as_echo "$as_me: failed program was:" >&5
10764 sed 's/^/| /' conftest.$ac_ext >&5
10769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10770 cat >conftest.$ac_ext <<_ACEOF
10773 cat confdefs.h >>conftest.$ac_ext
10774 cat >>conftest.$ac_ext <<_ACEOF
10775 /* end confdefs.h. */
10776 #define _FILE_OFFSET_BITS 64
10777 #include <sys/types.h>
10778 /* Check that off_t can represent 2**63 - 1 correctly.
10779 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10780 since some C++ compilers masquerading as C compilers
10781 incorrectly reject 9223372036854775807. */
10782 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10783 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10784 && LARGE_OFF_T % 2147483647 == 1)
10794 rm -f conftest.$ac_objext
10795 if { (ac_try="$ac_compile"
10796 case "(($ac_try" in
10797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10798 *) ac_try_echo
=$ac_try;;
10800 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10801 $as_echo "$ac_try_echo") >&5
10802 (eval "$ac_compile") 2>conftest.er1
10804 grep -v '^ *+' conftest.er1
>conftest.err
10806 cat conftest.err
>&5
10807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } && {
10809 test -z "$ac_c_werror_flag" ||
10810 test ! -s conftest.err
10811 } && test -s conftest.
$ac_objext; then
10812 ac_cv_sys_file_offset_bits
=64; break
10814 $as_echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.
$ac_ext >&5
10820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10821 ac_cv_sys_file_offset_bits
=unknown
10825 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
10826 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10827 case $ac_cv_sys_file_offset_bits in #(
10830 cat >>confdefs.h
<<_ACEOF
10831 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10836 if test $ac_cv_sys_file_offset_bits = unknown
; then
10837 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
10838 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10839 if test "${ac_cv_sys_large_files+set}" = set; then
10840 $as_echo_n "(cached) " >&6
10843 cat >conftest.
$ac_ext <<_ACEOF
10846 cat confdefs.h
>>conftest.
$ac_ext
10847 cat >>conftest.
$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <sys/types.h>
10850 /* Check that off_t can represent 2**63 - 1 correctly.
10851 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10852 since some C++ compilers masquerading as C compilers
10853 incorrectly reject 9223372036854775807. */
10854 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10855 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10856 && LARGE_OFF_T % 2147483647 == 1)
10866 rm -f conftest.
$ac_objext
10867 if { (ac_try
="$ac_compile"
10868 case "(($ac_try" in
10869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10870 *) ac_try_echo=$ac_try;;
10872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10873 $as_echo "$ac_try_echo") >&5
10874 (eval "$ac_compile") 2>conftest.er1
10876 grep -v '^ *+' conftest.er1 >conftest.err
10878 cat conftest.err >&5
10879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } && {
10881 test -z "$ac_c_werror_flag" ||
10882 test ! -s conftest.err
10883 } && test -s conftest.$ac_objext; then
10884 ac_cv_sys_large_files=no; break
10886 $as_echo "$as_me: failed program was:" >&5
10887 sed 's/^/| /' conftest.$ac_ext >&5
10892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10893 cat >conftest.$ac_ext <<_ACEOF
10896 cat confdefs.h >>conftest.$ac_ext
10897 cat >>conftest.$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10899 #define _LARGE_FILES 1
10900 #include <sys/types.h>
10901 /* Check that off_t can represent 2**63 - 1 correctly.
10902 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10903 since some C++ compilers masquerading as C compilers
10904 incorrectly reject 9223372036854775807. */
10905 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10906 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10907 && LARGE_OFF_T % 2147483647 == 1)
10917 rm -f conftest.$ac_objext
10918 if { (ac_try="$ac_compile"
10919 case "(($ac_try" in
10920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10921 *) ac_try_echo
=$ac_try;;
10923 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10924 $as_echo "$ac_try_echo") >&5
10925 (eval "$ac_compile") 2>conftest.er1
10927 grep -v '^ *+' conftest.er1
>conftest.err
10929 cat conftest.err
>&5
10930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && {
10932 test -z "$ac_c_werror_flag" ||
10933 test ! -s conftest.err
10934 } && test -s conftest.
$ac_objext; then
10935 ac_cv_sys_large_files
=1; break
10937 $as_echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.
$ac_ext >&5
10943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10944 ac_cv_sys_large_files
=unknown
10948 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
10949 $as_echo "$ac_cv_sys_large_files" >&6; }
10950 case $ac_cv_sys_large_files in #(
10953 cat >>confdefs.h
<<_ACEOF
10954 #define _LARGE_FILES $ac_cv_sys_large_files
10964 # Check for needed/wanted data types
10965 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
10966 $as_echo_n "checking for int8_t... " >&6; }
10967 if test "${ac_cv_type_int8_t+set}" = set; then
10968 $as_echo_n "(cached) " >&6
10970 ac_cv_type_int8_t
=no
10971 cat >conftest.
$ac_ext <<_ACEOF
10974 cat confdefs.h
>>conftest.
$ac_ext
10975 cat >>conftest.
$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10977 $ac_includes_default
10981 if (sizeof (int8_t))
10987 rm -f conftest.
$ac_objext
10988 if { (ac_try
="$ac_compile"
10989 case "(($ac_try" in
10990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10994 $as_echo "$ac_try_echo") >&5
10995 (eval "$ac_compile") 2>conftest.er1
10997 grep -v '^ *+' conftest.er1 >conftest.err
10999 cat conftest.err >&5
11000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); } && {
11002 test -z "$ac_c_werror_flag" ||
11003 test ! -s conftest.err
11004 } && test -s conftest.$ac_objext; then
11005 cat >conftest.$ac_ext <<_ACEOF
11008 cat confdefs.h >>conftest.$ac_ext
11009 cat >>conftest.$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 $ac_includes_default
11015 if (sizeof ((int8_t)))
11021 rm -f conftest.$ac_objext
11022 if { (ac_try="$ac_compile"
11023 case "(($ac_try" in
11024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11025 *) ac_try_echo
=$ac_try;;
11027 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11028 $as_echo "$ac_try_echo") >&5
11029 (eval "$ac_compile") 2>conftest.er1
11031 grep -v '^ *+' conftest.er1
>conftest.err
11033 cat conftest.err
>&5
11034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } && {
11036 test -z "$ac_c_werror_flag" ||
11037 test ! -s conftest.err
11038 } && test -s conftest.
$ac_objext; then
11041 $as_echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.
$ac_ext >&5
11044 ac_cv_type_int8_t
=yes
11047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11049 $as_echo "$as_me: failed program was:" >&5
11050 sed 's/^/| /' conftest.
$ac_ext >&5
11055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11057 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
11058 $as_echo "$ac_cv_type_int8_t" >&6; }
11059 if test $ac_cv_type_int8_t = yes; then
11061 cat >>confdefs.h
<<_ACEOF
11062 #define HAVE_INT8_T 1
11067 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
11068 $as_echo_n "checking for int16_t... " >&6; }
11069 if test "${ac_cv_type_int16_t+set}" = set; then
11070 $as_echo_n "(cached) " >&6
11072 ac_cv_type_int16_t
=no
11073 cat >conftest.
$ac_ext <<_ACEOF
11076 cat confdefs.h
>>conftest.
$ac_ext
11077 cat >>conftest.
$ac_ext <<_ACEOF
11078 /* end confdefs.h. */
11079 $ac_includes_default
11083 if (sizeof (int16_t))
11089 rm -f conftest.
$ac_objext
11090 if { (ac_try
="$ac_compile"
11091 case "(($ac_try" in
11092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11093 *) ac_try_echo=$ac_try;;
11095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11096 $as_echo "$ac_try_echo") >&5
11097 (eval "$ac_compile") 2>conftest.er1
11099 grep -v '^ *+' conftest.er1 >conftest.err
11101 cat conftest.err >&5
11102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); } && {
11104 test -z "$ac_c_werror_flag" ||
11105 test ! -s conftest.err
11106 } && test -s conftest.$ac_objext; then
11107 cat >conftest.$ac_ext <<_ACEOF
11110 cat confdefs.h >>conftest.$ac_ext
11111 cat >>conftest.$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11113 $ac_includes_default
11117 if (sizeof ((int16_t)))
11123 rm -f conftest.$ac_objext
11124 if { (ac_try="$ac_compile"
11125 case "(($ac_try" in
11126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11127 *) ac_try_echo
=$ac_try;;
11129 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11130 $as_echo "$ac_try_echo") >&5
11131 (eval "$ac_compile") 2>conftest.er1
11133 grep -v '^ *+' conftest.er1
>conftest.err
11135 cat conftest.err
>&5
11136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } && {
11138 test -z "$ac_c_werror_flag" ||
11139 test ! -s conftest.err
11140 } && test -s conftest.
$ac_objext; then
11143 $as_echo "$as_me: failed program was:" >&5
11144 sed 's/^/| /' conftest.
$ac_ext >&5
11146 ac_cv_type_int16_t
=yes
11149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11151 $as_echo "$as_me: failed program was:" >&5
11152 sed 's/^/| /' conftest.
$ac_ext >&5
11157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11159 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
11160 $as_echo "$ac_cv_type_int16_t" >&6; }
11161 if test $ac_cv_type_int16_t = yes; then
11163 cat >>confdefs.h
<<_ACEOF
11164 #define HAVE_INT16_T 1
11169 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
11170 $as_echo_n "checking for int32_t... " >&6; }
11171 if test "${ac_cv_type_int32_t+set}" = set; then
11172 $as_echo_n "(cached) " >&6
11174 ac_cv_type_int32_t
=no
11175 cat >conftest.
$ac_ext <<_ACEOF
11178 cat confdefs.h
>>conftest.
$ac_ext
11179 cat >>conftest.
$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11181 $ac_includes_default
11185 if (sizeof (int32_t))
11191 rm -f conftest.
$ac_objext
11192 if { (ac_try
="$ac_compile"
11193 case "(($ac_try" in
11194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11195 *) ac_try_echo=$ac_try;;
11197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11198 $as_echo "$ac_try_echo") >&5
11199 (eval "$ac_compile") 2>conftest.er1
11201 grep -v '^ *+' conftest.er1 >conftest.err
11203 cat conftest.err >&5
11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && {
11206 test -z "$ac_c_werror_flag" ||
11207 test ! -s conftest.err
11208 } && test -s conftest.$ac_objext; then
11209 cat >conftest.$ac_ext <<_ACEOF
11212 cat confdefs.h >>conftest.$ac_ext
11213 cat >>conftest.$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 $ac_includes_default
11219 if (sizeof ((int32_t)))
11225 rm -f conftest.$ac_objext
11226 if { (ac_try="$ac_compile"
11227 case "(($ac_try" in
11228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11229 *) ac_try_echo
=$ac_try;;
11231 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11232 $as_echo "$ac_try_echo") >&5
11233 (eval "$ac_compile") 2>conftest.er1
11235 grep -v '^ *+' conftest.er1
>conftest.err
11237 cat conftest.err
>&5
11238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } && {
11240 test -z "$ac_c_werror_flag" ||
11241 test ! -s conftest.err
11242 } && test -s conftest.
$ac_objext; then
11245 $as_echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.
$ac_ext >&5
11248 ac_cv_type_int32_t
=yes
11251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11253 $as_echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.
$ac_ext >&5
11259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11261 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
11262 $as_echo "$ac_cv_type_int32_t" >&6; }
11263 if test $ac_cv_type_int32_t = yes; then
11265 cat >>confdefs.h
<<_ACEOF
11266 #define HAVE_INT32_T 1
11271 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
11272 $as_echo_n "checking for int64_t... " >&6; }
11273 if test "${ac_cv_type_int64_t+set}" = set; then
11274 $as_echo_n "(cached) " >&6
11276 ac_cv_type_int64_t
=no
11277 cat >conftest.
$ac_ext <<_ACEOF
11280 cat confdefs.h
>>conftest.
$ac_ext
11281 cat >>conftest.
$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283 $ac_includes_default
11287 if (sizeof (int64_t))
11293 rm -f conftest.
$ac_objext
11294 if { (ac_try
="$ac_compile"
11295 case "(($ac_try" in
11296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11297 *) ac_try_echo=$ac_try;;
11299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11300 $as_echo "$ac_try_echo") >&5
11301 (eval "$ac_compile") 2>conftest.er1
11303 grep -v '^ *+' conftest.er1 >conftest.err
11305 cat conftest.err >&5
11306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } && {
11308 test -z "$ac_c_werror_flag" ||
11309 test ! -s conftest.err
11310 } && test -s conftest.$ac_objext; then
11311 cat >conftest.$ac_ext <<_ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 $ac_includes_default
11321 if (sizeof ((int64_t)))
11327 rm -f conftest.$ac_objext
11328 if { (ac_try="$ac_compile"
11329 case "(($ac_try" in
11330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11331 *) ac_try_echo
=$ac_try;;
11333 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11334 $as_echo "$ac_try_echo") >&5
11335 (eval "$ac_compile") 2>conftest.er1
11337 grep -v '^ *+' conftest.er1
>conftest.err
11339 cat conftest.err
>&5
11340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } && {
11342 test -z "$ac_c_werror_flag" ||
11343 test ! -s conftest.err
11344 } && test -s conftest.
$ac_objext; then
11347 $as_echo "$as_me: failed program was:" >&5
11348 sed 's/^/| /' conftest.
$ac_ext >&5
11350 ac_cv_type_int64_t
=yes
11353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11355 $as_echo "$as_me: failed program was:" >&5
11356 sed 's/^/| /' conftest.
$ac_ext >&5
11361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11363 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
11364 $as_echo "$ac_cv_type_int64_t" >&6; }
11365 if test $ac_cv_type_int64_t = yes; then
11367 cat >>confdefs.h
<<_ACEOF
11368 #define HAVE_INT64_T 1
11373 { $as_echo "$as_me:$LINENO: checking for intptr_t" >&5
11374 $as_echo_n "checking for intptr_t... " >&6; }
11375 if test "${ac_cv_type_intptr_t+set}" = set; then
11376 $as_echo_n "(cached) " >&6
11378 ac_cv_type_intptr_t
=no
11379 cat >conftest.
$ac_ext <<_ACEOF
11382 cat confdefs.h
>>conftest.
$ac_ext
11383 cat >>conftest.
$ac_ext <<_ACEOF
11384 /* end confdefs.h. */
11385 $ac_includes_default
11389 if (sizeof (intptr_t))
11395 rm -f conftest.
$ac_objext
11396 if { (ac_try
="$ac_compile"
11397 case "(($ac_try" in
11398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11399 *) ac_try_echo=$ac_try;;
11401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11402 $as_echo "$ac_try_echo") >&5
11403 (eval "$ac_compile") 2>conftest.er1
11405 grep -v '^ *+' conftest.er1 >conftest.err
11407 cat conftest.err >&5
11408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } && {
11410 test -z "$ac_c_werror_flag" ||
11411 test ! -s conftest.err
11412 } && test -s conftest.$ac_objext; then
11413 cat >conftest.$ac_ext <<_ACEOF
11416 cat confdefs.h >>conftest.$ac_ext
11417 cat >>conftest.$ac_ext <<_ACEOF
11418 /* end confdefs.h. */
11419 $ac_includes_default
11423 if (sizeof ((intptr_t)))
11429 rm -f conftest.$ac_objext
11430 if { (ac_try="$ac_compile"
11431 case "(($ac_try" in
11432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11433 *) ac_try_echo
=$ac_try;;
11435 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11436 $as_echo "$ac_try_echo") >&5
11437 (eval "$ac_compile") 2>conftest.er1
11439 grep -v '^ *+' conftest.er1
>conftest.err
11441 cat conftest.err
>&5
11442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } && {
11444 test -z "$ac_c_werror_flag" ||
11445 test ! -s conftest.err
11446 } && test -s conftest.
$ac_objext; then
11449 $as_echo "$as_me: failed program was:" >&5
11450 sed 's/^/| /' conftest.
$ac_ext >&5
11452 ac_cv_type_intptr_t
=yes
11455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11457 $as_echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.
$ac_ext >&5
11463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11465 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
11466 $as_echo "$ac_cv_type_intptr_t" >&6; }
11467 if test $ac_cv_type_intptr_t = yes; then
11469 cat >>confdefs.h
<<_ACEOF
11470 #define HAVE_INTPTR_T 1
11475 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
11476 $as_echo_n "checking for uint8_t... " >&6; }
11477 if test "${ac_cv_type_uint8_t+set}" = set; then
11478 $as_echo_n "(cached) " >&6
11480 ac_cv_type_uint8_t
=no
11481 cat >conftest.
$ac_ext <<_ACEOF
11484 cat confdefs.h
>>conftest.
$ac_ext
11485 cat >>conftest.
$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 $ac_includes_default
11491 if (sizeof (uint8_t))
11497 rm -f conftest.
$ac_objext
11498 if { (ac_try
="$ac_compile"
11499 case "(($ac_try" in
11500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11501 *) ac_try_echo=$ac_try;;
11503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11504 $as_echo "$ac_try_echo") >&5
11505 (eval "$ac_compile") 2>conftest.er1
11507 grep -v '^ *+' conftest.er1 >conftest.err
11509 cat conftest.err >&5
11510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } && {
11512 test -z "$ac_c_werror_flag" ||
11513 test ! -s conftest.err
11514 } && test -s conftest.$ac_objext; then
11515 cat >conftest.$ac_ext <<_ACEOF
11518 cat confdefs.h >>conftest.$ac_ext
11519 cat >>conftest.$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11521 $ac_includes_default
11525 if (sizeof ((uint8_t)))
11531 rm -f conftest.$ac_objext
11532 if { (ac_try="$ac_compile"
11533 case "(($ac_try" in
11534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11535 *) ac_try_echo
=$ac_try;;
11537 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11538 $as_echo "$ac_try_echo") >&5
11539 (eval "$ac_compile") 2>conftest.er1
11541 grep -v '^ *+' conftest.er1
>conftest.err
11543 cat conftest.err
>&5
11544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } && {
11546 test -z "$ac_c_werror_flag" ||
11547 test ! -s conftest.err
11548 } && test -s conftest.
$ac_objext; then
11551 $as_echo "$as_me: failed program was:" >&5
11552 sed 's/^/| /' conftest.
$ac_ext >&5
11554 ac_cv_type_uint8_t
=yes
11557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11559 $as_echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.
$ac_ext >&5
11565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11567 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
11568 $as_echo "$ac_cv_type_uint8_t" >&6; }
11569 if test $ac_cv_type_uint8_t = yes; then
11571 cat >>confdefs.h
<<_ACEOF
11572 #define HAVE_UINT8_T 1
11577 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
11578 $as_echo_n "checking for uint16_t... " >&6; }
11579 if test "${ac_cv_type_uint16_t+set}" = set; then
11580 $as_echo_n "(cached) " >&6
11582 ac_cv_type_uint16_t
=no
11583 cat >conftest.
$ac_ext <<_ACEOF
11586 cat confdefs.h
>>conftest.
$ac_ext
11587 cat >>conftest.
$ac_ext <<_ACEOF
11588 /* end confdefs.h. */
11589 $ac_includes_default
11593 if (sizeof (uint16_t))
11599 rm -f conftest.
$ac_objext
11600 if { (ac_try
="$ac_compile"
11601 case "(($ac_try" in
11602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11603 *) ac_try_echo=$ac_try;;
11605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11606 $as_echo "$ac_try_echo") >&5
11607 (eval "$ac_compile") 2>conftest.er1
11609 grep -v '^ *+' conftest.er1 >conftest.err
11611 cat conftest.err >&5
11612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } && {
11614 test -z "$ac_c_werror_flag" ||
11615 test ! -s conftest.err
11616 } && test -s conftest.$ac_objext; then
11617 cat >conftest.$ac_ext <<_ACEOF
11620 cat confdefs.h >>conftest.$ac_ext
11621 cat >>conftest.$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11623 $ac_includes_default
11627 if (sizeof ((uint16_t)))
11633 rm -f conftest.$ac_objext
11634 if { (ac_try="$ac_compile"
11635 case "(($ac_try" in
11636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11637 *) ac_try_echo
=$ac_try;;
11639 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11640 $as_echo "$ac_try_echo") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11643 grep -v '^ *+' conftest.er1
>conftest.err
11645 cat conftest.err
>&5
11646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } && {
11648 test -z "$ac_c_werror_flag" ||
11649 test ! -s conftest.err
11650 } && test -s conftest.
$ac_objext; then
11653 $as_echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.
$ac_ext >&5
11656 ac_cv_type_uint16_t
=yes
11659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11661 $as_echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.
$ac_ext >&5
11667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11669 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
11670 $as_echo "$ac_cv_type_uint16_t" >&6; }
11671 if test $ac_cv_type_uint16_t = yes; then
11673 cat >>confdefs.h
<<_ACEOF
11674 #define HAVE_UINT16_T 1
11679 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
11680 $as_echo_n "checking for uint32_t... " >&6; }
11681 if test "${ac_cv_type_uint32_t+set}" = set; then
11682 $as_echo_n "(cached) " >&6
11684 ac_cv_type_uint32_t
=no
11685 cat >conftest.
$ac_ext <<_ACEOF
11688 cat confdefs.h
>>conftest.
$ac_ext
11689 cat >>conftest.
$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11691 $ac_includes_default
11695 if (sizeof (uint32_t))
11701 rm -f conftest.
$ac_objext
11702 if { (ac_try
="$ac_compile"
11703 case "(($ac_try" in
11704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11705 *) ac_try_echo=$ac_try;;
11707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11708 $as_echo "$ac_try_echo") >&5
11709 (eval "$ac_compile") 2>conftest.er1
11711 grep -v '^ *+' conftest.er1 >conftest.err
11713 cat conftest.err >&5
11714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } && {
11716 test -z "$ac_c_werror_flag" ||
11717 test ! -s conftest.err
11718 } && test -s conftest.$ac_objext; then
11719 cat >conftest.$ac_ext <<_ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11725 $ac_includes_default
11729 if (sizeof ((uint32_t)))
11735 rm -f conftest.$ac_objext
11736 if { (ac_try="$ac_compile"
11737 case "(($ac_try" in
11738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11739 *) ac_try_echo
=$ac_try;;
11741 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11742 $as_echo "$ac_try_echo") >&5
11743 (eval "$ac_compile") 2>conftest.er1
11745 grep -v '^ *+' conftest.er1
>conftest.err
11747 cat conftest.err
>&5
11748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } && {
11750 test -z "$ac_c_werror_flag" ||
11751 test ! -s conftest.err
11752 } && test -s conftest.
$ac_objext; then
11755 $as_echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.
$ac_ext >&5
11758 ac_cv_type_uint32_t
=yes
11761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11763 $as_echo "$as_me: failed program was:" >&5
11764 sed 's/^/| /' conftest.
$ac_ext >&5
11769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11771 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11772 $as_echo "$ac_cv_type_uint32_t" >&6; }
11773 if test $ac_cv_type_uint32_t = yes; then
11775 cat >>confdefs.h
<<_ACEOF
11776 #define HAVE_UINT32_T 1
11781 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
11782 $as_echo_n "checking for uint64_t... " >&6; }
11783 if test "${ac_cv_type_uint64_t+set}" = set; then
11784 $as_echo_n "(cached) " >&6
11786 ac_cv_type_uint64_t
=no
11787 cat >conftest.
$ac_ext <<_ACEOF
11790 cat confdefs.h
>>conftest.
$ac_ext
11791 cat >>conftest.
$ac_ext <<_ACEOF
11792 /* end confdefs.h. */
11793 $ac_includes_default
11797 if (sizeof (uint64_t))
11803 rm -f conftest.
$ac_objext
11804 if { (ac_try
="$ac_compile"
11805 case "(($ac_try" in
11806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11807 *) ac_try_echo=$ac_try;;
11809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11810 $as_echo "$ac_try_echo") >&5
11811 (eval "$ac_compile") 2>conftest.er1
11813 grep -v '^ *+' conftest.er1 >conftest.err
11815 cat conftest.err >&5
11816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); } && {
11818 test -z "$ac_c_werror_flag" ||
11819 test ! -s conftest.err
11820 } && test -s conftest.$ac_objext; then
11821 cat >conftest.$ac_ext <<_ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11827 $ac_includes_default
11831 if (sizeof ((uint64_t)))
11837 rm -f conftest.$ac_objext
11838 if { (ac_try="$ac_compile"
11839 case "(($ac_try" in
11840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11841 *) ac_try_echo
=$ac_try;;
11843 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11844 $as_echo "$ac_try_echo") >&5
11845 (eval "$ac_compile") 2>conftest.er1
11847 grep -v '^ *+' conftest.er1
>conftest.err
11849 cat conftest.err
>&5
11850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } && {
11852 test -z "$ac_c_werror_flag" ||
11853 test ! -s conftest.err
11854 } && test -s conftest.
$ac_objext; then
11857 $as_echo "$as_me: failed program was:" >&5
11858 sed 's/^/| /' conftest.
$ac_ext >&5
11860 ac_cv_type_uint64_t
=yes
11863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11865 $as_echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.
$ac_ext >&5
11871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11873 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11874 $as_echo "$ac_cv_type_uint64_t" >&6; }
11875 if test $ac_cv_type_uint64_t = yes; then
11877 cat >>confdefs.h
<<_ACEOF
11878 #define HAVE_UINT64_T 1
11883 { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5
11884 $as_echo_n "checking for uintptr_t... " >&6; }
11885 if test "${ac_cv_type_uintptr_t+set}" = set; then
11886 $as_echo_n "(cached) " >&6
11888 ac_cv_type_uintptr_t
=no
11889 cat >conftest.
$ac_ext <<_ACEOF
11892 cat confdefs.h
>>conftest.
$ac_ext
11893 cat >>conftest.
$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11895 $ac_includes_default
11899 if (sizeof (uintptr_t))
11905 rm -f conftest.
$ac_objext
11906 if { (ac_try
="$ac_compile"
11907 case "(($ac_try" in
11908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11909 *) ac_try_echo=$ac_try;;
11911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11912 $as_echo "$ac_try_echo") >&5
11913 (eval "$ac_compile") 2>conftest.er1
11915 grep -v '^ *+' conftest.er1 >conftest.err
11917 cat conftest.err >&5
11918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } && {
11920 test -z "$ac_c_werror_flag" ||
11921 test ! -s conftest.err
11922 } && test -s conftest.$ac_objext; then
11923 cat >conftest.$ac_ext <<_ACEOF
11926 cat confdefs.h >>conftest.$ac_ext
11927 cat >>conftest.$ac_ext <<_ACEOF
11928 /* end confdefs.h. */
11929 $ac_includes_default
11933 if (sizeof ((uintptr_t)))
11939 rm -f conftest.$ac_objext
11940 if { (ac_try="$ac_compile"
11941 case "(($ac_try" in
11942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11943 *) ac_try_echo
=$ac_try;;
11945 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11946 $as_echo "$ac_try_echo") >&5
11947 (eval "$ac_compile") 2>conftest.er1
11949 grep -v '^ *+' conftest.er1
>conftest.err
11951 cat conftest.err
>&5
11952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && {
11954 test -z "$ac_c_werror_flag" ||
11955 test ! -s conftest.err
11956 } && test -s conftest.
$ac_objext; then
11959 $as_echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.
$ac_ext >&5
11962 ac_cv_type_uintptr_t
=yes
11965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11967 $as_echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.
$ac_ext >&5
11973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11975 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11976 $as_echo "$ac_cv_type_uintptr_t" >&6; }
11977 if test $ac_cv_type_uintptr_t = yes; then
11979 cat >>confdefs.h
<<_ACEOF
11980 #define HAVE_UINTPTR_T 1
11988 # Check for needed/wanted headers
11994 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
11996 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11997 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11998 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11999 $as_echo_n "checking for $ac_header... " >&6; }
12000 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12001 $as_echo_n "(cached) " >&6
12003 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12004 $as_echo "$as_val"'`
12005 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12006 $as_echo "$ac_res" >&6; }
12008 # Is the header compilable?
12009 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12010 $as_echo_n "checking $ac_header usability... " >&6; }
12011 cat >conftest.
$ac_ext <<_ACEOF
12014 cat confdefs.h
>>conftest.
$ac_ext
12015 cat >>conftest.
$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 $ac_includes_default
12018 #include <$ac_header>
12020 rm -f conftest.
$ac_objext
12021 if { (ac_try
="$ac_compile"
12022 case "(($ac_try" in
12023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12024 *) ac_try_echo=$ac_try;;
12026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12027 $as_echo "$ac_try_echo") >&5
12028 (eval "$ac_compile") 2>conftest.er1
12030 grep -v '^ *+' conftest.er1 >conftest.err
12032 cat conftest.err >&5
12033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } && {
12035 test -z "$ac_c_werror_flag" ||
12036 test ! -s conftest.err
12037 } && test -s conftest.$ac_objext; then
12038 ac_header_compiler=yes
12040 $as_echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12043 ac_header_compiler=no
12046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12047 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12048 $as_echo "$ac_header_compiler" >&6; }
12050 # Is the header present?
12051 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12052 $as_echo_n "checking $ac_header presence... " >&6; }
12053 cat >conftest.$ac_ext <<_ACEOF
12056 cat confdefs.h >>conftest.$ac_ext
12057 cat >>conftest.$ac_ext <<_ACEOF
12058 /* end confdefs.h. */
12059 #include <$ac_header>
12061 if { (ac_try="$ac_cpp conftest.$ac_ext"
12062 case "(($ac_try" in
12063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12064 *) ac_try_echo
=$ac_try;;
12066 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12067 $as_echo "$ac_try_echo") >&5
12068 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12070 grep -v '^ *+' conftest.er1
>conftest.err
12072 cat conftest.err
>&5
12073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } >/dev
/null
&& {
12075 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12076 test ! -s conftest.err
12078 ac_header_preproc
=yes
12080 $as_echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.
$ac_ext >&5
12083 ac_header_preproc
=no
12086 rm -f conftest.err conftest.
$ac_ext
12087 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12088 $as_echo "$ac_header_preproc" >&6; }
12090 # So? What about this header?
12091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12093 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12094 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12096 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12097 ac_header_preproc
=yes
12100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12101 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12103 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12105 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12107 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12109 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12111 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12115 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12116 $as_echo_n "checking for $ac_header... " >&6; }
12117 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12118 $as_echo_n "(cached) " >&6
12120 eval "$as_ac_Header=\$ac_header_preproc"
12122 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12123 $as_echo "$as_val"'`
12124 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12125 $as_echo "$ac_res" >&6; }
12128 if test `eval 'as_val=${'$as_ac_Header'}
12129 $as_echo "$as_val"'` = yes; then
12130 cat >>confdefs.h
<<_ACEOF
12131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12140 # Figure out whether or not we have these functions
12149 for ac_func
in usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size
12151 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12152 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12153 $as_echo_n "checking for $ac_func... " >&6; }
12154 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12155 $as_echo_n "(cached) " >&6
12157 cat >conftest.
$ac_ext <<_ACEOF
12160 cat confdefs.h
>>conftest.
$ac_ext
12161 cat >>conftest.
$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12165 #define $ac_func innocuous_$ac_func
12167 /* System header to define __stub macros and hopefully few prototypes,
12168 which can conflict with char $ac_func (); below.
12169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12170 <limits.h> exists even on freestanding compilers. */
12173 # include <limits.h>
12175 # include <assert.h>
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12187 /* The GNU C library defines this for functions which it implements
12188 to always fail with ENOSYS. Some functions are actually named
12189 something starting with __ and the normal name is an alias. */
12190 #if defined __stub_$ac_func || defined __stub___$ac_func
12197 return $ac_func ();
12202 rm -f conftest.
$ac_objext conftest
$ac_exeext
12203 if { (ac_try
="$ac_link"
12204 case "(($ac_try" in
12205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12206 *) ac_try_echo=$ac_try;;
12208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12209 $as_echo "$ac_try_echo") >&5
12210 (eval "$ac_link") 2>conftest.er1
12212 grep -v '^ *+' conftest.er1 >conftest.err
12214 cat conftest.err >&5
12215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } && {
12217 test -z "$ac_c_werror_flag" ||
12218 test ! -s conftest.err
12219 } && test -s conftest$ac_exeext && {
12220 test "$cross_compiling" = yes ||
12221 $as_test_x conftest$ac_exeext
12223 eval "$as_ac_var=yes"
12225 $as_echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12228 eval "$as_ac_var=no"
12231 rm -rf conftest.dSYM
12232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12233 conftest$ac_exeext conftest.$ac_ext
12235 ac_res=`eval 'as_val=${'$as_ac_var'}
12236 $as_echo "$as_val"'`
12237 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12238 $as_echo "$ac_res" >&6; }
12239 if test `eval 'as_val=${'$as_ac_var'}
12240 $as_echo "$as_val"'` = yes; then
12241 cat >>confdefs.h <<_ACEOF
12242 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12250 # By default, we use the amalgamation (this may be changed below...)
12255 # See whether we can run specific tclsh versions known to work well;
12256 # if not, then we fall back to plain tclsh.
12257 # TODO: try other versions before falling back?
12259 for ac_prog in tclsh8.6 tclsh8.5 tclsh
12261 # Extract the first word of "$ac_prog", so it can be a program name with args.
12262 set dummy $ac_prog; ac_word=$2
12263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12264 $as_echo_n "checking for $ac_word... " >&6; }
12265 if test "${ac_cv_prog_TCLSH_CMD+set}" = set; then
12266 $as_echo_n "(cached) " >&6
12268 if test -n "$TCLSH_CMD"; then
12269 ac_cv_prog_TCLSH_CMD="$TCLSH_CMD" # Let the user override the test.
12271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12272 for as_dir in $PATH
12275 test -z "$as_dir" && as_dir=.
12276 for ac_exec_ext in '' $ac_executable_extensions; do
12277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12278 ac_cv_prog_TCLSH_CMD="$ac_prog"
12279 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12288 TCLSH_CMD=$ac_cv_prog_TCLSH_CMD
12289 if test -n "$TCLSH_CMD"; then
12290 { $as_echo "$as_me:$LINENO: result: $TCLSH_CMD" >&5
12291 $as_echo "$TCLSH_CMD" >&6; }
12293 { $as_echo "$as_me:$LINENO: result: no" >&5
12294 $as_echo "no" >&6; }
12298 test -n "$TCLSH_CMD" && break
12300 test -n "$TCLSH_CMD" || TCLSH_CMD="none"
12302 if test "$TCLSH_CMD" = "none"; then
12303 # If we can't find a local tclsh, then building the amalgamation will fail.
12304 # We act as though --disable-amalgamation has been used.
12305 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
12312 if test "x${TCLLIBDIR+set}" != "xset" ; then
12313 TCLLIBDIR='$(libdir)'
12314 for i in `echo 'puts stdout $auto_path' |
${TCLSH_CMD}` ; do
12318 TCLLIBDIR="${TCLLIBDIR}/sqlite3"
12323 # Set up an appropriate program prefix
12325 if test "$program_prefix" = "NONE"; then
12330 VERSION=`cat $srcdir/VERSION |
sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
12331 { $as_echo "$as_me:$LINENO: Version set to $VERSION" >&5
12332 $as_echo "$as_me: Version set to $VERSION" >&6;}
12334 RELEASE=`cat $srcdir/VERSION
`
12335 { $as_echo "$as_me:$LINENO: Release set to $RELEASE" >&5
12336 $as_echo "$as_me: Release set to $RELEASE" >&6;}
12338 VERSION_NUMBER=`cat $srcdir/VERSION \
12339 |
sed 's/[^0-9]/ /g' \
12340 |
awk '{printf "%d%03d%03d",$1,$2,$3}'`
12341 { $as_echo "$as_me:$LINENO: Version number set to $VERSION_NUMBER" >&5
12342 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
12346 # Check to see if the --with-hints=FILE option is used. If there is none,
12347 # then check for a files named "$host.hints" and ../$hosts.hints where
12348 # $host is the hostname of the build system. If still no hints are
12349 # found, try looking in $system.hints and ../$system.hints where
12350 # $system is the result of uname -s.
12353 # Check whether --with-hints was given.
12354 if test "${with_hints+set}" = set; then
12355 withval=$with_hints; hints=$withval
12358 if test "$hints" = ""; then
12359 host=`hostname |
sed 's/\..*//'`
12360 if test -r $host.hints; then
12363 if test -r ../$host.hints; then
12364 hints=../$host.hints
12368 if test "$hints" = ""; then
12370 if test -r $sys.hints; then
12373 if test -r ../$sys.hints; then
12374 hints=../$sys.hints
12378 if test "$hints" != ""; then
12379 { $as_echo "$as_me:$LINENO: result: reading hints from $hints" >&5
12380 $as_echo "reading hints from $hints" >&6; }
12385 # Locate a compiler for the build machine. This compiler should
12386 # generate command-line programs that run on the build machine.
12388 if test x"$cross_compiling" = xno; then
12390 BUILD_CFLAGS=$CFLAGS
12392 if test "${BUILD_CC+set}" != set; then
12393 for ac_prog in gcc cc cl
12395 # Extract the first word of "$ac_prog", so it can be a program name with args.
12396 set dummy $ac_prog; ac_word=$2
12397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12398 $as_echo_n "checking for $ac_word... " >&6; }
12399 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
12400 $as_echo_n "(cached) " >&6
12402 if test -n "$BUILD_CC"; then
12403 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
12405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12406 for as_dir in $PATH
12409 test -z "$as_dir" && as_dir=.
12410 for ac_exec_ext in '' $ac_executable_extensions; do
12411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12412 ac_cv_prog_BUILD_CC="$ac_prog"
12413 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12422 BUILD_CC=$ac_cv_prog_BUILD_CC
12423 if test -n "$BUILD_CC"; then
12424 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
12425 $as_echo "$BUILD_CC" >&6; }
12427 { $as_echo "$as_me:$LINENO: result: no" >&5
12428 $as_echo "no" >&6; }
12432 test -n "$BUILD_CC" && break
12436 if test "${BUILD_CFLAGS+set}" != set; then
12443 # Do we want to support multithreaded use of sqlite
12445 # Check whether --enable-threadsafe was given.
12446 if test "${enable_threadsafe+set}" = set; then
12447 enableval=$enable_threadsafe;
12449 enable_threadsafe=yes
12452 { $as_echo "$as_me:$LINENO: checking whether to support threadsafe operation" >&5
12453 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
12454 if test "$enable_threadsafe" = "no"; then
12455 SQLITE_THREADSAFE=0
12456 { $as_echo "$as_me:$LINENO: result: no" >&5
12457 $as_echo "no" >&6; }
12459 SQLITE_THREADSAFE=1
12460 { $as_echo "$as_me:$LINENO: result: yes" >&5
12461 $as_echo "yes" >&6; }
12465 if test "$SQLITE_THREADSAFE" = "1"; then
12466 { $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
12467 $as_echo_n "checking for library containing pthread_create... " >&6; }
12468 if test "${ac_cv_search_pthread_create+set}" = set; then
12469 $as_echo_n "(cached) " >&6
12471 ac_func_search_save_LIBS=$LIBS
12472 cat >conftest.$ac_ext <<_ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12485 char pthread_create ();
12489 return pthread_create ();
12494 for ac_lib in '' pthread; do
12495 if test -z "$ac_lib"; then
12496 ac_res="none required"
12499 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12501 rm -f conftest.$ac_objext conftest$ac_exeext
12502 if { (ac_try="$ac_link"
12503 case "(($ac_try" in
12504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12505 *) ac_try_echo
=$ac_try;;
12507 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12508 $as_echo "$ac_try_echo") >&5
12509 (eval "$ac_link") 2>conftest.er1
12511 grep -v '^ *+' conftest.er1
>conftest.err
12513 cat conftest.err
>&5
12514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } && {
12516 test -z "$ac_c_werror_flag" ||
12517 test ! -s conftest.err
12518 } && test -s conftest
$ac_exeext && {
12519 test "$cross_compiling" = yes ||
12520 $as_test_x conftest
$ac_exeext
12522 ac_cv_search_pthread_create
=$ac_res
12524 $as_echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.
$ac_ext >&5
12530 rm -rf conftest.dSYM
12531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12533 if test "${ac_cv_search_pthread_create+set}" = set; then
12537 if test "${ac_cv_search_pthread_create+set}" = set; then
12540 ac_cv_search_pthread_create
=no
12542 rm conftest.
$ac_ext
12543 LIBS
=$ac_func_search_save_LIBS
12545 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
12546 $as_echo "$ac_cv_search_pthread_create" >&6; }
12547 ac_res
=$ac_cv_search_pthread_create
12548 if test "$ac_res" != no
; then
12549 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12556 # Do we want to allow a connection created in one thread to be used
12557 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
12558 # due to bugs in the threading implementations. This is thus off by default.
12560 # Check whether --enable-cross-thread-connections was given.
12561 if test "${enable_cross_thread_connections+set}" = set; then
12562 enableval
=$enable_cross_thread_connections;
12564 enable_xthreadconnect
=no
12567 { $as_echo "$as_me:$LINENO: checking whether to allow connections to be shared across threads" >&5
12568 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12569 if test "$enable_xthreadconnect" = "no"; then
12571 { $as_echo "$as_me:$LINENO: result: no" >&5
12572 $as_echo "no" >&6; }
12574 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12575 { $as_echo "$as_me:$LINENO: result: yes" >&5
12576 $as_echo "yes" >&6; }
12581 # Do we want to support release
12583 # Check whether --enable-releasemode was given.
12584 if test "${enable_releasemode+set}" = set; then
12585 enableval
=$enable_releasemode;
12587 enable_releasemode
=no
12590 { $as_echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
12591 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12592 if test "$enable_releasemode" = "no"; then
12594 { $as_echo "$as_me:$LINENO: result: no" >&5
12595 $as_echo "no" >&6; }
12597 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
12598 { $as_echo "$as_me:$LINENO: result: yes" >&5
12599 $as_echo "yes" >&6; }
12604 # Do we want temporary databases in memory
12606 # Check whether --enable-tempstore was given.
12607 if test "${enable_tempstore+set}" = set; then
12608 enableval
=$enable_tempstore;
12610 enable_tempstore
=no
12613 { $as_echo "$as_me:$LINENO: checking whether to use an in-ram database for temporary tables" >&5
12614 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12615 case "$enable_tempstore" in
12618 { $as_echo "$as_me:$LINENO: result: never" >&5
12619 $as_echo "never" >&6; }
12623 { $as_echo "$as_me:$LINENO: result: no" >&5
12624 $as_echo "no" >&6; }
12628 { $as_echo "$as_me:$LINENO: result: yes" >&5
12629 $as_echo "yes" >&6; }
12633 { $as_echo "$as_me:$LINENO: result: always" >&5
12634 $as_echo "always" >&6; }
12638 { $as_echo "$as_me:$LINENO: result: no" >&5
12639 $as_echo "no" >&6; }
12646 # Lots of things are different if we are compiling for Windows using
12647 # the CYGWIN environment. So check for that special case and handle
12648 # things accordingly.
12650 { $as_echo "$as_me:$LINENO: checking if executables have the .exe suffix" >&5
12651 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12652 if test "$config_BUILD_EXEEXT" = ".exe"; then
12654 { $as_echo "$as_me:$LINENO: result: yes" >&5
12655 $as_echo "yes" >&6; }
12657 { $as_echo "$as_me:$LINENO: result: unknown" >&5
12658 $as_echo "unknown" >&6; }
12660 if test "$CYGWIN" != "yes"; then
12661 { $as_echo "$as_me:$LINENO: checking host system type" >&5
12662 $as_echo_n "checking host system type... " >&6; }
12663 if test "${ac_cv_host+set}" = set; then
12664 $as_echo_n "(cached) " >&6
12666 if test "x$host_alias" = x
; then
12667 ac_cv_host
=$ac_cv_build
12669 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12670 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12671 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12672 { (exit 1); exit 1; }; }
12676 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12677 $as_echo "$ac_cv_host" >&6; }
12678 case $ac_cv_host in
12680 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12681 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
12682 { (exit 1); exit 1; }; };;
12685 ac_save_IFS
=$IFS; IFS
='-'
12691 # Remember, the first character of IFS is used to create $*,
12692 # except with old shells:
12695 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
12699 *cygwin
* ) CYGWIN
=yes;;
12704 if test "$CYGWIN" = "yes"; then
12707 BUILD_EXEEXT
=$EXEEXT
12709 if test x
"$cross_compiling" = xno
; then
12710 TARGET_EXEEXT
=$BUILD_EXEEXT
12712 TARGET_EXEEXT
=$config_TARGET_EXEEXT
12714 if test "$TARGET_EXEEXT" = ".exe"; then
12717 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
12721 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
12730 # Figure out all the parameters needed to compile against Tcl.
12732 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12733 # macros in the in the tcl.m4 file of the standard TCL distribution.
12734 # Those macros could not be used directly since we have to make some
12735 # minor changes to accomodate systems that do not have TCL installed.
12737 # Check whether --enable-tcl was given.
12738 if test "${enable_tcl+set}" = set; then
12739 enableval
=$enable_tcl; use_tcl
=$enableval
12744 if test "${use_tcl}" = "yes" ; then
12746 # Check whether --with-tcl was given.
12747 if test "${with_tcl+set}" = set; then
12748 withval
=$with_tcl; with_tclconfig
=${withval}
12751 { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
12752 $as_echo_n "checking for Tcl configuration... " >&6; }
12753 if test "${ac_cv_c_tclconfig+set}" = set; then
12754 $as_echo_n "(cached) " >&6
12757 # First check to see if --with-tcl was specified.
12758 if test x
"${with_tclconfig}" != x
; then
12759 if test -f "${with_tclconfig}/tclConfig.sh" ; then
12760 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
12762 { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
12763 $as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
12764 { (exit 1); exit 1; }; }
12768 # Start autosearch by asking tclsh
12769 if test x
"${ac_cv_c_tclconfig}" = x
; then
12770 if test x
"$cross_compiling" = xno
; then
12771 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12773 if test -f "$i/tclConfig.sh" ; then
12774 ac_cv_c_tclconfig
="$i"
12781 # then check for a private Tcl installation
12782 if test x
"${ac_cv_c_tclconfig}" = x
; then
12785 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12786 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12787 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12789 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12790 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12791 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12793 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12794 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12795 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12797 if test -f "$i/unix/tclConfig.sh" ; then
12798 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12804 # check in a few common install locations
12805 if test x
"${ac_cv_c_tclconfig}" = x
; then
12807 `ls -d ${libdir} 2>/dev/null` \
12808 `ls -d /usr/local/lib 2>/dev/null` \
12809 `ls -d /usr/contrib/lib 2>/dev/null` \
12810 `ls -d /usr/lib 2>/dev/null`
12812 if test -f "$i/tclConfig.sh" ; then
12813 ac_cv_c_tclconfig
=`(cd $i; pwd)`
12819 # check in a few other private locations
12820 if test x
"${ac_cv_c_tclconfig}" = x
; then
12823 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12824 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12825 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12827 if test -f "$i/unix/tclConfig.sh" ; then
12828 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12837 if test x
"${ac_cv_c_tclconfig}" = x
; then
12839 { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
12840 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12841 { $as_echo "$as_me:$LINENO: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12842 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12843 { $as_echo "$as_me:$LINENO: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12844 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12846 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
12847 { $as_echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12848 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12850 { $as_echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12851 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12852 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12853 { $as_echo "$as_me:$LINENO: result: loading" >&5
12854 $as_echo "loading" >&6; }
12855 .
$TCL_BIN_DIR/tclConfig.sh
12857 { $as_echo "$as_me:$LINENO: result: file not found" >&5
12858 $as_echo "file not found" >&6; }
12862 # If the TCL_BIN_DIR is the build directory (not the install directory),
12863 # then set the common variable name to the value of the build variables.
12864 # For example, the variable TCL_LIB_SPEC will be set to the value
12865 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12866 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12867 # installed and uninstalled version of Tcl.
12870 if test -f $TCL_BIN_DIR/Makefile
; then
12871 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
12872 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
12873 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
12877 # eval is required to do the TCL_DBGX substitution
12880 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12881 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12882 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12884 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12885 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12886 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12902 if test "${use_tcl}" = "no" ; then
12910 # Figure out what C libraries are required to compile programs
12911 # that use "readline()" library.
12913 TARGET_READLINE_LIBS
=""
12914 TARGET_READLINE_INC
=""
12915 TARGET_HAVE_READLINE
=0
12916 # Check whether --enable-readline was given.
12917 if test "${enable_readline+set}" = set; then
12918 enableval
=$enable_readline; with_readline
=$enableval
12924 if test x
"$with_readline" != xno
; then
12928 # Check whether --with-readline-lib was given.
12929 if test "${with_readline_lib+set}" = set; then
12930 withval
=$with_readline_lib; with_readline_lib
=$withval
12932 with_readline_lib
="auto"
12935 if test "x$with_readline_lib" = xauto
; then
12938 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12939 $as_echo_n "checking for library containing tgetent... " >&6; }
12940 if test "${ac_cv_search_tgetent+set}" = set; then
12941 $as_echo_n "(cached) " >&6
12943 ac_func_search_save_LIBS
=$LIBS
12944 cat >conftest.
$ac_ext <<_ACEOF
12947 cat confdefs.h
>>conftest.
$ac_ext
12948 cat >>conftest.
$ac_ext <<_ACEOF
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12966 for ac_lib
in '' readline ncurses curses termcap
; do
12967 if test -z "$ac_lib"; then
12968 ac_res
="none required"
12971 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12973 rm -f conftest.
$ac_objext conftest
$ac_exeext
12974 if { (ac_try
="$ac_link"
12975 case "(($ac_try" in
12976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12977 *) ac_try_echo=$ac_try;;
12979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12980 $as_echo "$ac_try_echo") >&5
12981 (eval "$ac_link") 2>conftest.er1
12983 grep -v '^ *+' conftest.er1 >conftest.err
12985 cat conftest.err >&5
12986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); } && {
12988 test -z "$ac_c_werror_flag" ||
12989 test ! -s conftest.err
12990 } && test -s conftest$ac_exeext && {
12991 test "$cross_compiling" = yes ||
12992 $as_test_x conftest$ac_exeext
12994 ac_cv_search_tgetent=$ac_res
12996 $as_echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
13002 rm -rf conftest.dSYM
13003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13005 if test "${ac_cv_search_tgetent+set}" = set; then
13009 if test "${ac_cv_search_tgetent+set}" = set; then
13012 ac_cv_search_tgetent=no
13014 rm conftest.$ac_ext
13015 LIBS=$ac_func_search_save_LIBS
13017 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13018 $as_echo "$ac_cv_search_tgetent" >&6; }
13019 ac_res=$ac_cv_search_tgetent
13020 if test "$ac_res" != no; then
13021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13027 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13028 $as_echo_n "checking for readline in -lreadline... " >&6; }
13029 if test "${ac_cv_lib_readline_readline+set}" = set; then
13030 $as_echo_n "(cached) " >&6
13032 ac_check_lib_save_LIBS=$LIBS
13033 LIBS="-lreadline $LIBS"
13034 cat >conftest.$ac_ext <<_ACEOF
13037 cat confdefs.h >>conftest.$ac_ext
13038 cat >>conftest.$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13051 return readline ();
13056 rm -f conftest.$ac_objext conftest$ac_exeext
13057 if { (ac_try="$ac_link"
13058 case "(($ac_try" in
13059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13060 *) ac_try_echo
=$ac_try;;
13062 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13063 $as_echo "$ac_try_echo") >&5
13064 (eval "$ac_link") 2>conftest.er1
13066 grep -v '^ *+' conftest.er1
>conftest.err
13068 cat conftest.err
>&5
13069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } && {
13071 test -z "$ac_c_werror_flag" ||
13072 test ! -s conftest.err
13073 } && test -s conftest
$ac_exeext && {
13074 test "$cross_compiling" = yes ||
13075 $as_test_x conftest
$ac_exeext
13077 ac_cv_lib_readline_readline
=yes
13079 $as_echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.
$ac_ext >&5
13082 ac_cv_lib_readline_readline
=no
13085 rm -rf conftest.dSYM
13086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13087 conftest
$ac_exeext conftest.
$ac_ext
13088 LIBS
=$ac_check_lib_save_LIBS
13090 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13091 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13092 if test $ac_cv_lib_readline_readline = yes; then
13093 TARGET_READLINE_LIBS
="-lreadline"
13098 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
13101 TARGET_READLINE_LIBS
="$with_readline_lib"
13105 # Check whether --with-readline-inc was given.
13106 if test "${with_readline_inc+set}" = set; then
13107 withval
=$with_readline_inc; with_readline_inc
=$withval
13109 with_readline_inc
="auto"
13112 if test "x$with_readline_inc" = xauto
; then
13113 if test "${ac_cv_header_readline_h+set}" = set; then
13114 { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13115 $as_echo_n "checking for readline.h... " >&6; }
13116 if test "${ac_cv_header_readline_h+set}" = set; then
13117 $as_echo_n "(cached) " >&6
13119 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13120 $as_echo "$ac_cv_header_readline_h" >&6; }
13122 # Is the header compilable?
13123 { $as_echo "$as_me:$LINENO: checking readline.h usability" >&5
13124 $as_echo_n "checking readline.h usability... " >&6; }
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 $ac_includes_default
13132 #include <readline.h>
13134 rm -f conftest.
$ac_objext
13135 if { (ac_try
="$ac_compile"
13136 case "(($ac_try" in
13137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13138 *) ac_try_echo=$ac_try;;
13140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13141 $as_echo "$ac_try_echo") >&5
13142 (eval "$ac_compile") 2>conftest.er1
13144 grep -v '^ *+' conftest.er1 >conftest.err
13146 cat conftest.err >&5
13147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } && {
13149 test -z "$ac_c_werror_flag" ||
13150 test ! -s conftest.err
13151 } && test -s conftest.$ac_objext; then
13152 ac_header_compiler=yes
13154 $as_echo "$as_me: failed program was:" >&5
13155 sed 's/^/| /' conftest.$ac_ext >&5
13157 ac_header_compiler=no
13160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13161 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13162 $as_echo "$ac_header_compiler" >&6; }
13164 # Is the header present?
13165 { $as_echo "$as_me:$LINENO: checking readline.h presence" >&5
13166 $as_echo_n "checking readline.h presence... " >&6; }
13167 cat >conftest.$ac_ext <<_ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 #include <readline.h>
13175 if { (ac_try="$ac_cpp conftest.$ac_ext"
13176 case "(($ac_try" in
13177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13178 *) ac_try_echo
=$ac_try;;
13180 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13181 $as_echo "$ac_try_echo") >&5
13182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13184 grep -v '^ *+' conftest.er1
>conftest.err
13186 cat conftest.err
>&5
13187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } >/dev
/null
&& {
13189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13190 test ! -s conftest.err
13192 ac_header_preproc
=yes
13194 $as_echo "$as_me: failed program was:" >&5
13195 sed 's/^/| /' conftest.
$ac_ext >&5
13197 ac_header_preproc
=no
13200 rm -f conftest.err conftest.
$ac_ext
13201 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13202 $as_echo "$ac_header_preproc" >&6; }
13204 # So? What about this header?
13205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13207 { $as_echo "$as_me:$LINENO: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
13208 $as_echo "$as_me: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13209 { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the compiler's result" >&5
13210 $as_echo "$as_me: WARNING: readline.h: proceeding with the compiler's result" >&2;}
13211 ac_header_preproc
=yes
13214 { $as_echo "$as_me:$LINENO: WARNING: readline.h: present but cannot be compiled" >&5
13215 $as_echo "$as_me: WARNING: readline.h: present but cannot be compiled" >&2;}
13216 { $as_echo "$as_me:$LINENO: WARNING: readline.h: check for missing prerequisite headers?" >&5
13217 $as_echo "$as_me: WARNING: readline.h: check for missing prerequisite headers?" >&2;}
13218 { $as_echo "$as_me:$LINENO: WARNING: readline.h: see the Autoconf documentation" >&5
13219 $as_echo "$as_me: WARNING: readline.h: see the Autoconf documentation" >&2;}
13220 { $as_echo "$as_me:$LINENO: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&5
13221 $as_echo "$as_me: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
13222 { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the preprocessor's result" >&5
13223 $as_echo "$as_me: WARNING: readline.h: proceeding with the preprocessor's result" >&2;}
13224 { $as_echo "$as_me:$LINENO: WARNING: readline.h: in the future, the compiler will take precedence" >&5
13225 $as_echo "$as_me: WARNING: readline.h: in the future, the compiler will take precedence" >&2;}
13229 { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13230 $as_echo_n "checking for readline.h... " >&6; }
13231 if test "${ac_cv_header_readline_h+set}" = set; then
13232 $as_echo_n "(cached) " >&6
13234 ac_cv_header_readline_h
=$ac_header_preproc
13236 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13237 $as_echo "$ac_cv_header_readline_h" >&6; }
13240 if test $ac_cv_header_readline_h = yes; then
13245 if test "$cross_compiling" != yes; then
13246 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
13247 for subdir
in include include
/readline
; do
13248 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
13249 { $as_echo "$as_me:$LINENO: checking for $dir/$subdir/readline.h" >&5
13250 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
13251 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
13252 $as_echo_n "(cached) " >&6
13254 test "$cross_compiling" = yes &&
13255 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13256 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13257 { (exit 1); exit 1; }; }
13258 if test -r "$dir/$subdir/readline.h"; then
13259 eval "$as_ac_File=yes"
13261 eval "$as_ac_File=no"
13264 ac_res
=`eval 'as_val=${'$as_ac_File'}
13265 $as_echo "$as_val"'`
13266 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13267 $as_echo "$ac_res" >&6; }
13268 if test `eval 'as_val=${'$as_ac_File'}
13269 $as_echo "$as_val"'` = yes; then
13273 if test "$found" = "yes"; then
13274 TARGET_READLINE_INC
="-I$dir/$subdir"
13278 test "$found" = "yes" && break
13286 TARGET_READLINE_INC
="$with_readline_inc"
13289 if test x
"$found" = xno
; then
13290 TARGET_READLINE_LIBS
=""
13291 TARGET_READLINE_INC
=""
13292 TARGET_HAVE_READLINE
=0
13294 TARGET_HAVE_READLINE
=1
13303 # Figure out what C libraries are required to compile programs
13304 # that use "fdatasync()" function.
13306 { $as_echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
13307 $as_echo_n "checking for library containing fdatasync... " >&6; }
13308 if test "${ac_cv_search_fdatasync+set}" = set; then
13309 $as_echo_n "(cached) " >&6
13311 ac_func_search_save_LIBS
=$LIBS
13312 cat >conftest.
$ac_ext <<_ACEOF
13315 cat confdefs.h
>>conftest.
$ac_ext
13316 cat >>conftest.
$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13319 /* Override any GCC internal prototype to avoid an error.
13320 Use char because int might match the return type of a GCC
13321 builtin and then its argument prototype would still apply. */
13329 return fdatasync ();
13334 for ac_lib
in '' rt
; do
13335 if test -z "$ac_lib"; then
13336 ac_res
="none required"
13339 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13341 rm -f conftest.
$ac_objext conftest
$ac_exeext
13342 if { (ac_try
="$ac_link"
13343 case "(($ac_try" in
13344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13345 *) ac_try_echo=$ac_try;;
13347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13348 $as_echo "$ac_try_echo") >&5
13349 (eval "$ac_link") 2>conftest.er1
13351 grep -v '^ *+' conftest.er1 >conftest.err
13353 cat conftest.err >&5
13354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } && {
13356 test -z "$ac_c_werror_flag" ||
13357 test ! -s conftest.err
13358 } && test -s conftest$ac_exeext && {
13359 test "$cross_compiling" = yes ||
13360 $as_test_x conftest$ac_exeext
13362 ac_cv_search_fdatasync=$ac_res
13364 $as_echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13370 rm -rf conftest.dSYM
13371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13373 if test "${ac_cv_search_fdatasync+set}" = set; then
13377 if test "${ac_cv_search_fdatasync+set}" = set; then
13380 ac_cv_search_fdatasync=no
13382 rm conftest.$ac_ext
13383 LIBS=$ac_func_search_save_LIBS
13385 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_fdatasync" >&5
13386 $as_echo "$ac_cv_search_fdatasync" >&6; }
13387 ac_res=$ac_cv_search_fdatasync
13388 if test "$ac_res" != no; then
13389 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13395 # check for debug enabled
13396 # Check whether --enable-debug was given.
13397 if test "${enable_debug+set}" = set; then
13398 enableval=$enable_debug; use_debug=$enableval
13403 if test "${use_debug}" = "yes" ; then
13404 TARGET_DEBUG="-DSQLITE_DEBUG=1"
13406 TARGET_DEBUG="-DNDEBUG"
13411 # See whether we should use the amalgamation to build
13412 # Check whether --enable-amalgamation was given.
13413 if test "${enable_amalgamation+set}" = set; then
13414 enableval=$enable_amalgamation; use_amalgamation=$enableval
13416 use_amalgamation=yes
13419 if test "${use_amalgamation}" != "yes" ; then
13425 # See whether we should allow loadable extensions
13426 # Check whether --enable-load-extension was given.
13427 if test "${enable_load_extension+set}" = set; then
13428 enableval=$enable_load_extension; use_loadextension=$enableval
13430 use_loadextension=no
13433 if test "${use_loadextension}" = "yes" ; then
13434 OPT_FEATURE_FLAGS=""
13435 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13436 $as_echo_n "checking for library containing dlopen... " >&6; }
13437 if test "${ac_cv_search_dlopen+set}" = set; then
13438 $as_echo_n "(cached) " >&6
13440 ac_func_search_save_LIBS=$LIBS
13441 cat >conftest.$ac_ext <<_ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13448 /* Override any GCC internal prototype to avoid an error.
13449 Use char because int might match the return type of a GCC
13450 builtin and then its argument prototype would still apply. */
13463 for ac_lib in '' dl; do
13464 if test -z "$ac_lib"; then
13465 ac_res="none required"
13468 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13470 rm -f conftest.$ac_objext conftest$ac_exeext
13471 if { (ac_try="$ac_link"
13472 case "(($ac_try" in
13473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13474 *) ac_try_echo
=$ac_try;;
13476 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13477 $as_echo "$ac_try_echo") >&5
13478 (eval "$ac_link") 2>conftest.er1
13480 grep -v '^ *+' conftest.er1
>conftest.err
13482 cat conftest.err
>&5
13483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } && {
13485 test -z "$ac_c_werror_flag" ||
13486 test ! -s conftest.err
13487 } && test -s conftest
$ac_exeext && {
13488 test "$cross_compiling" = yes ||
13489 $as_test_x conftest
$ac_exeext
13491 ac_cv_search_dlopen
=$ac_res
13493 $as_echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.
$ac_ext >&5
13499 rm -rf conftest.dSYM
13500 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13502 if test "${ac_cv_search_dlopen+set}" = set; then
13506 if test "${ac_cv_search_dlopen+set}" = set; then
13509 ac_cv_search_dlopen
=no
13511 rm conftest.
$ac_ext
13512 LIBS
=$ac_func_search_save_LIBS
13514 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
13515 $as_echo "$ac_cv_search_dlopen" >&6; }
13516 ac_res
=$ac_cv_search_dlopen
13517 if test "$ac_res" != no
; then
13518 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13523 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
13527 # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
13528 for option
in $CFLAGS $CPPFLAGS
13531 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13532 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13538 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13540 for option
in $CFLAGS
13544 -DSQLITE_ENABLE*) ;;
13545 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
13548 CFLAGS
=$ac_temp_CFLAGS
13551 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13552 ac_temp_CPPFLAGS
=""
13553 for option
in $CPPFLAGS
13557 -DSQLITE_ENABLE*) ;;
13558 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
13561 CPPFLAGS
=$ac_temp_CPPFLAGS
13564 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13565 ac_temp_BUILD_CFLAGS
=""
13566 for option
in $BUILD_CFLAGS
13570 -DSQLITE_ENABLE*) ;;
13571 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
13574 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
13578 # See whether we should use GCOV
13579 # Check whether --enable-gcov was given.
13580 if test "${enable_gcov+set}" = set; then
13581 enableval
=$enable_gcov; use_gcov
=$enableval
13586 if test "${use_gcov}" = "yes" ; then
13595 # Output the config header
13596 ac_config_headers
="$ac_config_headers config.h"
13600 # Generate the output files.
13603 ac_config_files
="$ac_config_files Makefile sqlite3.pc"
13605 cat >confcache
<<\_ACEOF
13606 # This file is a shell script that caches the results of configure
13607 # tests run on this system so they can be shared between configure
13608 # scripts and configure runs, see configure's option --config-cache.
13609 # It is not useful on other systems. If it contains results you don't
13610 # want to keep, you may remove or edit it.
13612 # config.status only pays attention to the cache file if you give it
13613 # the --recheck option to rerun configure.
13615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13617 # following values.
13621 # The following way of writing the cache mishandles newlines in values,
13622 # but we know of no workaround that is simple, portable, and efficient.
13623 # So, we kill variables containing newlines.
13624 # Ultrix sh set writes to stderr and can't be redirected directly,
13625 # and sets the high bit in the cache file unless we assign to the vars.
13627 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13628 eval ac_val
=\$
$ac_var
13632 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13633 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13636 _ | IFS | as_nl
) ;; #(
13637 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13638 *) $as_unset $ac_var ;;
13644 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13645 *${as_nl}ac_space
=\
*)
13646 # `set' does not quote correctly, so add quotes (double-quote
13647 # substitution turns \\\\ into \\, and sed turns \\ into \).
13650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13653 # `set' quotes correctly as required by POSIX, so do not add quotes.
13654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13665 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13667 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13668 if test -w "$cache_file"; then
13669 test "x$cache_file" != "x/dev/null" &&
13670 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13671 $as_echo "$as_me: updating cache $cache_file" >&6;}
13672 cat confcache
>$cache_file
13674 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13675 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13680 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13681 # Let make expand exec_prefix.
13682 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13684 DEFS
=-DHAVE_CONFIG_H
13688 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13689 # 1. Remove the extension, and $U if already installed.
13690 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13691 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13692 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13693 # will be set to the directory where LIBOBJS objects are built.
13694 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13695 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13697 LIBOBJS
=$ac_libobjs
13699 LTLIBOBJS
=$ac_ltlibobjs
13703 : ${CONFIG_STATUS=./config.status}
13705 ac_clean_files_save
=$ac_clean_files
13706 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13707 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13708 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13709 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13711 # Generated by $as_me.
13712 # Run this file to recreate the current configuration.
13713 # Compiler output produced by configure, useful for debugging
13714 # configure, is in config.log if it exists.
13717 ac_cs_recheck=false
13719 SHELL=\${CONFIG_SHELL-$SHELL}
13722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13723 ## --------------------- ##
13724 ## M4sh Initialization. ##
13725 ## --------------------- ##
13727 # Be more Bourne compatible
13728 DUALCASE
=1; export DUALCASE
# for MKS sh
13729 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13732 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13733 # is contrary to our usage. Disable this feature.
13734 alias -g '${1+"$@"}'='"$@"'
13735 setopt NO_GLOB_SUBST
13737 case `(set -o) 2>/dev/null` in
13738 *posix
*) set -o posix
;;
13747 # Avoid depending upon Character Ranges.
13748 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13749 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13750 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13751 as_cr_digits
='0123456789'
13752 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13757 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13758 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13759 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13760 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13761 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13762 as_echo='printf %s
\n'
13763 as_echo_n='printf %s
'
13765 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13766 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13767 as_echo_n='/usr
/ucb
/echo -n'
13769 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13770 as_echo_n_body='eval
13774 expr "X$arg" : "X\\(.*\\)$as_nl";
13775 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13777 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13779 export as_echo_n_body
13780 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13782 export as_echo_body
13783 as_echo='sh
-c $as_echo_body as_echo
'
13786 # The user is always right.
13787 if test "${PATH_SEPARATOR+set}" != set; then
13789 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13790 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13795 # Support unset when possible.
13796 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13804 # We need space, tab and new line, in precisely that order. Quoting is
13805 # there to prevent editors from complaining about space-tab.
13806 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13807 # splitting by setting IFS to empty value.)
13810 # Find who we are. Look in the path if we contain no directory separator.
13812 *[\\/]* ) as_myself=$0 ;;
13813 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13814 for as_dir in $PATH
13817 test -z "$as_dir" && as_dir=.
13818 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13824 # We did not find ourselves, most probably we were run as `sh COMMAND'
13825 # in which case we are not to be found in the path.
13826 if test "x$as_myself" = x
; then
13829 if test ! -f "$as_myself"; then
13830 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13831 { (exit 1); exit 1; }
13834 # Work around bugs in pre-3.0 UWIN ksh.
13835 for as_var
in ENV MAIL MAILPATH
13836 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13848 # Required to use basename.
13849 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13850 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13856 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13857 as_basename
=basename
13863 # Name of the executable.
13864 as_me
=`$as_basename -- "$0" ||
13865 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13866 X"$0" : 'X\(//\)$' \| \
13867 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13869 sed '/^.*\/\([^/][^/]*\)\/*$/{
13888 as_lineno_1
=$LINENO
13889 as_lineno_2
=$LINENO
13890 test "x$as_lineno_1" != "x$as_lineno_2" &&
13891 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13893 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13894 # uniformly replaced by the line number. The first 'sed' inserts a
13895 # line-number line after each line using $LINENO; the second 'sed'
13896 # does the real work. The second script uses 'N' to pair each
13897 # line-number line with the line containing $LINENO, and appends
13898 # trailing '-' during substitution so that $LINENO is not a special
13899 # case at line end.
13900 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13901 # scripts with optimization help from Paolo Bonzini. Blame Lee
13902 # E. McMahon (1931-1989) for sed's syntax. :-)
13914 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13917 ' >$as_me.lineno
&&
13918 chmod +x
"$as_me.lineno" ||
13919 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13920 { (exit 1); exit 1; }; }
13922 # Don't try to exec as it changes $[0], causing all sort of problems
13923 # (the dirname of $[0] is not the place where we might find the
13924 # original and so on. Autoconf is especially sensitive to this).
13925 .
"./$as_me.lineno"
13926 # Exit status is that of the last command.
13931 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13937 ECHO_C
= ECHO_N
= ECHO_T
=
13938 case `echo -n x` in
13940 case `echo 'x\c'` in
13941 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13947 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13948 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13954 rm -f conf$$ conf$$.exe conf$$.
file
13955 if test -d conf$$.dir
; then
13956 rm -f conf$$.dir
/conf$$.
file
13959 mkdir conf$$.dir
2>/dev
/null
13961 if (echo >conf$$.
file) 2>/dev
/null
; then
13962 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13964 # ... but there are two gotchas:
13965 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13966 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13967 # In both cases, we have to default to `cp -p'.
13968 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13970 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13978 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13979 rmdir conf$$.dir
2>/dev
/null
13981 if mkdir
-p .
2>/dev
/null
; then
13984 test -d .
/-p && rmdir .
/-p
13988 if test -x / >/dev
/null
2>&1; then
13989 as_test_x
='test -x'
13991 if ls -dL / >/dev
/null
2>&1; then
13998 if test -d "$1"; then
14004 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14005 ???[sx]*):;;*)false;;esac;fi
14009 as_executable_p
=$as_test_x
14011 # Sed expression to map a string onto a valid CPP name.
14012 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14014 # Sed expression to map a string onto a valid variable name.
14015 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14020 # Save the log message, to keep $[0] and so on meaningful, and to
14021 # report actual input values of CONFIG_FILES etc. instead of their
14022 # values after options handling.
14024 This file was extended by sqlite $as_me 3.8.7.4, which was
14025 generated by GNU Autoconf 2.62. Invocation command line was
14027 CONFIG_FILES = $CONFIG_FILES
14028 CONFIG_HEADERS = $CONFIG_HEADERS
14029 CONFIG_LINKS = $CONFIG_LINKS
14030 CONFIG_COMMANDS = $CONFIG_COMMANDS
14033 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14039 # Files that config.status was made for.
14040 config_files="$ac_config_files"
14041 config_headers="$ac_config_headers"
14042 config_commands="$ac_config_commands"
14046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14048 \`$as_me' instantiates files from templates according to the
14049 current configuration.
14051 Usage: $0 [OPTIONS] [FILE]...
14053 -h, --help print this help, then exit
14054 -V, --version print version number and configuration settings, then exit
14055 -q, --quiet do not print progress messages
14056 -d, --debug don't remove temporary files
14057 --recheck update $as_me by reconfiguring in the same conditions
14058 --file=FILE[:TEMPLATE]
14059 instantiate the configuration file FILE
14060 --header=FILE[:TEMPLATE]
14061 instantiate the configuration header FILE
14063 Configuration files:
14066 Configuration headers:
14069 Configuration commands:
14072 Report bugs to <bug-autoconf@gnu.org>."
14075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14077 sqlite config.status 3.8.7.4
14078 configured by $0, generated by GNU Autoconf 2.62,
14079 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14081 Copyright (C) 2008 Free Software Foundation, Inc.
14082 This config.status script is free software; the Free Software Foundation
14083 gives unlimited permission to copy, distribute and modify it."
14089 test -n "\$AWK" || AWK=awk
14092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14093 # The default lists apply if the user does not specify any file.
14099 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14100 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14111 # Handling of the options.
14112 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14114 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14115 $as_echo "$ac_cs_version"; exit ;;
14116 --debug |
--debu |
--deb |
--de |
--d |
-d )
14118 --file |
--fil |
--fi |
--f )
14121 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14123 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
14124 ac_need_defaults
=false
;;
14125 --header |
--heade |
--head |
--hea )
14128 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14130 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
14131 ac_need_defaults
=false
;;
14133 # Conflict between --help and --header
14134 { $as_echo "$as_me: error: ambiguous option: $1
14135 Try \`$0 --help' for more information." >&2
14136 { (exit 1); exit 1; }; };;
14137 --help |
--hel |
-h )
14138 $as_echo "$ac_cs_usage"; exit ;;
14139 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14140 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14143 # This is an error.
14144 -*) { $as_echo "$as_me: error: unrecognized option: $1
14145 Try \`$0 --help' for more information." >&2
14146 { (exit 1); exit 1; }; } ;;
14148 *) ac_config_targets
="$ac_config_targets $1"
14149 ac_need_defaults
=false
;;
14155 ac_configure_extra_args
=
14157 if $ac_cs_silent; then
14159 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14164 if \$ac_cs_recheck; then
14165 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14167 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14168 CONFIG_SHELL='$SHELL'
14169 export CONFIG_SHELL
14174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14178 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14179 ## Running $as_me. ##
14185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14191 # The HP-UX ksh and POSIX shell print the target directory to stdout
14192 # if CDPATH is set.
14193 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14195 sed_quote_subst='$sed_quote_subst'
14196 double_quote_subst='$double_quote_subst'
14197 delay_variable_subst='$delay_variable_subst'
14198 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14199 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14200 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14201 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14202 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14203 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14204 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14205 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14206 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14207 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14208 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14209 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14210 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14211 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14212 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14213 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14214 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14215 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14216 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14217 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14218 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14219 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14220 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14221 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14222 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14223 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14224 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14225 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14226 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14227 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14228 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14229 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14230 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14231 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14232 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14233 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14234 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14235 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14236 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14237 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14238 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14239 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14240 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14241 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14242 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"`'
14243 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"`'
14244 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14245 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14246 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14247 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14248 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14249 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14250 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14251 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14252 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14253 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14254 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14255 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14256 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14257 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14258 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14259 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14260 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14261 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14262 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14263 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14264 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14265 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14266 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14267 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14268 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14269 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14270 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14271 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14272 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14273 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14274 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14275 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14276 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14277 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14278 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14279 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14280 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14281 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14282 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14283 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14284 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14285 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14286 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14287 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14288 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14289 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14290 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14291 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14292 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14293 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14294 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14295 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14296 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14297 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14298 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14299 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14300 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14301 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14302 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14303 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14304 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14305 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14306 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14307 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14308 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14309 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14310 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14311 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14312 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14313 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14314 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14315 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14318 LTCFLAGS='$LTCFLAGS'
14319 compiler='$compiler_DEFAULT'
14321 # Quote evaled strings.
14333 deplibs_check_method \
14342 lt_cv_sys_global_symbol_pipe \
14343 lt_cv_sys_global_symbol_to_cdecl \
14344 lt_cv_sys_global_symbol_to_c_name_address \
14345 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14348 lt_prog_compiler_no_builtin_flag \
14349 lt_prog_compiler_wl \
14350 lt_prog_compiler_pic \
14351 lt_prog_compiler_static \
14352 lt_cv_prog_compiler_c_o \
14360 export_dynamic_flag_spec \
14361 whole_archive_flag_spec \
14362 compiler_needs_object \
14364 allow_undefined_flag \
14365 no_undefined_flag \
14366 hardcode_libdir_flag_spec \
14367 hardcode_libdir_flag_spec_ld \
14368 hardcode_libdir_separator \
14373 variables_saved_for_relink \
14375 library_names_spec \
14380 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14381 *[\\\\\\\`\\"\\\$]*)
14382 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14385 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14390 # Double-quote double-evaled strings.
14391 for var in reload_cmds \
14392 old_postinstall_cmds \
14393 old_postuninstall_cmds \
14395 extract_expsyms_cmds \
14396 old_archive_from_new_cmds \
14397 old_archive_from_expsyms_cmds \
14399 archive_expsym_cmds \
14401 module_expsym_cmds \
14402 export_symbols_cmds \
14405 postuninstall_cmds \
14407 sys_lib_search_path_spec \
14408 sys_lib_dlsearch_path_spec; do
14409 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14410 *[\\\\\\\`\\"\\\$]*)
14411 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14414 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14419 # Fix-up fallback echo if it was mangled by the above quoting rules.
14421 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14425 ac_aux_dir='$ac_aux_dir'
14426 xsi_shell='$xsi_shell'
14427 lt_shell_append='$lt_shell_append'
14429 # See if we are running on zsh, and set the options which allow our
14430 # commands through without removal of \ escapes INIT.
14431 if test -n "\${ZSH_VERSION+set}" ; then
14432 setopt NO_GLOB_SUBST
14438 TIMESTAMP='$TIMESTAMP'
14447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14449 # Handling of arguments.
14450 for ac_config_target
in $ac_config_targets
14452 case $ac_config_target in
14453 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14454 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14455 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14456 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
14458 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14459 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14460 { (exit 1); exit 1; }; };;
14465 # If the user did not use the arguments to specify the items to instantiate,
14466 # then the envvar interface is used. Set only those that are not.
14467 # We use the long form for the default assignment because of an extremely
14468 # bizarre bug on SunOS 4.1.3.
14469 if $ac_need_defaults; then
14470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14475 # Have a temporary directory for convenience. Make it in the build tree
14476 # simply because there is no reason against having it here, and in addition,
14477 # creating and moving files from /tmp can sometimes cause problems.
14478 # Hook for its removal unless debugging.
14479 # Note that there is a small window in which the directory will not be cleaned:
14480 # after its creation but before its name has been assigned to `$tmp'.
14484 trap 'exit_status=$?
14485 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14487 trap '{ (exit 1); exit 1; }' 1 2 13 15
14489 # Create a (secure) tmp directory for tmp files.
14492 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14493 test -n "$tmp" && test -d "$tmp"
14496 tmp
=.
/conf$$
-$RANDOM
14497 (umask 077 && mkdir
"$tmp")
14500 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14501 { (exit 1); exit 1; }
14504 # Set up the scripts for CONFIG_FILES section.
14505 # No need to generate them if there are no CONFIG_FILES.
14506 # This happens for instance with `./config.status config.h'.
14507 if test -n "$CONFIG_FILES"; then
14511 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14512 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14515 ac_cs_awk_cr
=$ac_cr
14518 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14523 echo "cat >conf$$subs.awk <<_ACEOF" &&
14524 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14526 } >conf$$subs.sh ||
14527 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14528 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14529 { (exit 1); exit 1; }; }
14530 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14532 for ac_last_try in false false false false false :; do
14533 . ./conf$$subs.sh ||
14534 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14535 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14536 { (exit 1); exit 1; }; }
14538 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14540 elif $ac_last_try; then
14541 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14542 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14543 { (exit 1); exit 1; }; }
14545 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14548 rm -f conf$$subs.sh
14550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14551 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14555 s/^/S["/; s
/!.
*/"]=/
14565 s/\(.\{148\}\).*/\1/
14567 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14572 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14579 s/\(.\{148\}\).*/\1/
14581 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14585 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14590 ' <conf$$subs.awk | sed '
14595 ' >>$CONFIG_STATUS || ac_write_fail=1
14596 rm -f conf$$subs.awk
14597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14599 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14600 for (key in S) S_is_set[key] = 1
14606 nfields = split(line, field, "@
")
14608 len = length(field[1])
14609 for (i = 2; i < nfields; i++) {
14611 keylen = length(key)
14612 if (S_is_set[key]) {
14614 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14615 len += length(value) + length(field[++i])
14626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14627 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14628 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14631 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14632 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14633 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14634 { (exit 1); exit 1; }; }
14637 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14638 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14639 # trailing colons and then remove the whole line if VPATH becomes empty
14640 # (actually we leave an empty line to preserve line numbers).
14641 if test "x
$srcdir" = x.; then
14642 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14643 s/:*\$(srcdir):*/:/
14644 s/:*\${srcdir}:*/:/
14646 s/^\([^=]*=[ ]*\):*/\1/
14652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14653 fi # test -n "$CONFIG_FILES"
14655 # Set up the scripts for CONFIG_HEADERS section.
14656 # No need to generate them if there are no CONFIG_HEADERS.
14657 # This happens for instance with `./config.status Makefile'.
14658 if test -n "$CONFIG_HEADERS"; then
14659 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14663 # Transform confdefs.h into an awk script `defines.awk', embedded as
14664 # here-document in config.status, that substitutes the proper values into
14665 # config.h.in to produce config.h.
14667 # Create a delimiter string that does not exist in confdefs.h, to ease
14668 # handling of long lines.
14670 for ac_last_try in false false :; do
14671 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14672 if test -z "$ac_t"; then
14674 elif $ac_last_try; then
14675 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14676 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14677 { (exit 1); exit 1; }; }
14679 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14683 # For the awk script, D is an array of macro values keyed by name,
14684 # likewise P contains macro parameters if any. Preserve backslash
14685 # newline sequences.
14687 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14689 s/.\{148\}/&'"$ac_delim"'/g
14692 s/^[ ]*#[ ]*define[ ][ ]*/ /
14699 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14701 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14705 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14706 D["\
1"]=" \
3\\\\\\n
"\\/p
14708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14713 s/.\{148\}/&'"$ac_delim"'/g
14718 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14721 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14723 ' <confdefs.h | sed '
14724 s/'"$ac_delim"'/"\\\
14725 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14728 for (key in D) D_is_set[key] = 1
14731 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14733 split(line, arg, " ")
14734 if (arg[1] == "#") {
14738 defundef
= substr
(arg
[1], 2)
14741 split(mac1
, mac2
, "(") #)
14743 if (D_is_set
[macro
]) {
14744 # Preserve the white space surrounding the "#".
14745 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14746 print prefix
"define", macro P
[macro
] D
[macro
]
14749 # Replace #undef with comments. This is necessary, for example,
14750 # in the case of _POSIX_SOURCE, which is predefined and required
14751 # on some systems where configure will not decide to define it.
14752 if (defundef
== "undef") {
14753 print
"/*", line
, "*/"
14761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14762 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14763 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14764 { (exit 1); exit 1; }; }
14765 fi # test -n "$CONFIG_HEADERS"
14768 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14773 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14775 case $ac_mode$ac_tag in
14777 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14778 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14779 { (exit 1); exit 1; }; };;
14780 :[FH
]-) ac_tag
=-:-;;
14781 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14798 -) ac_f
="$tmp/stdin";;
14799 *) # Look for the file first in the build tree, then in the source tree
14800 # (if the path is not absolute). The absolute path cannot be DOS-style,
14801 # because $ac_f cannot contain `:'.
14805 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14807 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14808 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14809 { (exit 1); exit 1; }; };;
14811 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14812 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14815 # Let's still pretend it is `configure' which instantiates (i.e., don't
14816 # use $as_me), people would be surprised to read:
14817 # /* config.h. Generated by config.status. */
14818 configure_input
='Generated from '`
14819 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14821 if test x
"$ac_file" != x-
; then
14822 configure_input
="$ac_file. $configure_input"
14823 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14824 $as_echo "$as_me: creating $ac_file" >&6;}
14826 # Neutralize special characters interpreted by sed in replacement strings.
14827 case $configure_input in #(
14828 *\
&* |
*\|
* |
*\\* )
14829 ac_sed_conf_input
=`$as_echo "$configure_input" |
14830 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14831 *) ac_sed_conf_input
=$configure_input;;
14835 *:-:* |
*:-) cat >"$tmp/stdin" \
14836 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14837 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14838 { (exit 1); exit 1; }; } ;;
14843 ac_dir
=`$as_dirname -- "$ac_file" ||
14844 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14845 X"$ac_file" : 'X\(//\)[^/]' \| \
14846 X"$ac_file" : 'X\(//\)$' \| \
14847 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14848 $as_echo X"$ac_file" |
14849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14853 /^X\(\/\/\)[^/].*/{
14868 -*) as_dir
=.
/$as_dir;;
14870 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14874 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14875 *) as_qdir
=$as_dir;;
14877 as_dirs
="'$as_qdir' $as_dirs"
14878 as_dir
=`$as_dirname -- "$as_dir" ||
14879 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14880 X"$as_dir" : 'X\(//\)[^/]' \| \
14881 X"$as_dir" : 'X\(//\)$' \| \
14882 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14883 $as_echo X"$as_dir" |
14884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14888 /^X\(\/\/\)[^/].*/{
14901 test -d "$as_dir" && break
14903 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14904 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14905 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14906 { (exit 1); exit 1; }; }; }
14910 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14912 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14913 # A ".." for each directory in $ac_dir_suffix.
14914 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14915 case $ac_top_builddir_sub in
14916 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14917 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14920 ac_abs_top_builddir
=$ac_pwd
14921 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14922 # for backward compatibility:
14923 ac_top_builddir
=$ac_top_build_prefix
14926 .
) # We are building in place.
14928 ac_top_srcdir
=$ac_top_builddir_sub
14929 ac_abs_top_srcdir
=$ac_pwd ;;
14930 [\\/]* | ?
:[\\/]* ) # Absolute name.
14931 ac_srcdir
=$srcdir$ac_dir_suffix;
14932 ac_top_srcdir
=$srcdir
14933 ac_abs_top_srcdir
=$srcdir ;;
14934 *) # Relative name.
14935 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14936 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14937 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14939 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14949 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14950 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14955 # If the template does not know about datarootdir, expand it.
14956 # FIXME: This hack should be removed a few years after 2.60.
14957 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14970 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14971 *datarootdir
*) ac_datarootdir_seen
=yes;;
14972 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14973 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14974 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14977 ac_datarootdir_hack='
14978 s&@datadir@&$datadir&g
14979 s&@docdir@&$docdir&g
14980 s&@infodir@&$infodir&g
14981 s&@localedir@&$localedir&g
14982 s&@mandir@&$mandir&g
14983 s&\\\${datarootdir}&$datarootdir&g' ;;
14987 # Neutralize VPATH when `$srcdir' = `.'.
14988 # Shell code in configure.ac might set extrasub.
14989 # FIXME: do we really want to maintain this feature?
14990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14991 ac_sed_extra="$ac_vpsub
14994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14996 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14997 s|@configure_input@|
$ac_sed_conf_input|
;t t
14998 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14999 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15000 s
&@srcdir@
&$ac_srcdir&;t t
15001 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15002 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15003 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15004 s
&@builddir@
&$ac_builddir&;t t
15005 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15006 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15007 s
&@INSTALL@
&$ac_INSTALL&;t t
15008 $ac_datarootdir_hack
15010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15011 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
15012 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
15013 { (exit 1); exit 1; }; }
15015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15016 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15018 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15019 which seems to be undefined. Please make sure it is defined." >&5
15020 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15021 which seems to be undefined. Please make sure it is defined." >&2;}
15025 -) cat "$tmp/out" && rm -f "$tmp/out";;
15026 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15028 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15029 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15030 { (exit 1); exit 1; }; }
15036 if test x"$ac_file" != x-; then
15038 $as_echo "/* $configure_input */" \
15039 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15040 } >"$tmp/config.h" \
15041 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15042 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15043 { (exit 1); exit 1; }; }
15044 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15045 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15046 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15049 mv "$tmp/config.h" "$ac_file" \
15050 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15051 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15052 { (exit 1); exit 1; }; }
15055 $as_echo "/* $configure_input */" \
15056 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15057 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15058 $as_echo "$as_me: error: could not create -" >&2;}
15059 { (exit 1); exit 1; }; }
15063 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15064 $as_echo "$as_me: executing $ac_file commands" >&6;}
15069 case $ac_file$ac_mode in
15072 # See if we are running on zsh, and set the options which allow our
15073 # commands through without removal of \ escapes.
15074 if test -n "${ZSH_VERSION+set}" ; then
15075 setopt NO_GLOB_SUBST
15078 cfgfile="${ofile}T"
15079 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15082 cat <<_LT_EOF >> "$cfgfile"
15085 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
15086 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15087 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15088 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15090 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15091 # 2006, 2007, 2008 Free Software Foundation, Inc.
15092 # Written by Gordon Matzigkeit, 1996
15094 # This file is part of GNU Libtool.
15096 # GNU Libtool is free software; you can redistribute it and/or
15097 # modify it under the terms of the GNU General Public License as
15098 # published by the Free Software Foundation; either version 2 of
15099 # the License, or (at your option) any later version.
15101 # As a special exception to the GNU General Public License,
15102 # if you distribute this file as part of a program or library that
15103 # is built using GNU Libtool, you may include this file under the
15104 # same distribution terms that you use for the rest of that program.
15106 # GNU Libtool is distributed in the hope that it will be useful,
15107 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15108 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15109 # GNU General Public License for more details.
15111 # You should have received a copy of the GNU General Public License
15112 # along with GNU Libtool; see the file COPYING. If not, a copy
15113 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15114 # obtained by writing to the Free Software Foundation, Inc.,
15115 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15118 # The names of the tagged configurations supported by this script.
15121 # ### BEGIN LIBTOOL CONFIG
15123 # Which release of libtool.m4 was used?
15124 macro_version=$macro_version
15125 macro_revision=$macro_revision
15127 # Whether or not to build shared libraries.
15128 build_libtool_libs=$enable_shared
15130 # Whether or not to build static libraries.
15131 build_old_libs=$enable_static
15133 # What type of objects to build.
15136 # Whether or not to optimize for fast installation.
15137 fast_install=$enable_fast_install
15140 host_alias=$host_alias
15144 # The build system.
15145 build_alias=$build_alias
15149 # A sed program that does not truncate output.
15152 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15153 Xsed="\$SED -e 1s/^X//"
15155 # A grep program that handles long lines.
15161 # A literal string matcher.
15164 # A BSD- or MS-compatible name lister.
15167 # Whether we need soft or hard links.
15170 # What is the maximum length of a command?
15171 max_cmd_len=$max_cmd_len
15173 # Object file suffix (normally "o").
15176 # Executable file suffix (normally "").
15179 # whether the shell understands "unset".
15182 # turn spaces into newlines.
15185 # turn newlines into spaces.
15188 # How to create reloadable object files.
15189 reload_flag=$lt_reload_flag
15190 reload_cmds=$lt_reload_cmds
15192 # An object symbol dumper.
15193 OBJDUMP=$lt_OBJDUMP
15195 # Method to check whether dependent libraries are shared objects.
15196 deplibs_check_method=$lt_deplibs_check_method
15198 # Command to use when deplibs_check_method == "file_magic".
15199 file_magic_cmd=$lt_file_magic_cmd
15203 AR_FLAGS=$lt_AR_FLAGS
15205 # A symbol stripping program.
15208 # Commands used to install an old-style archive.
15210 old_postinstall_cmds=$lt_old_postinstall_cmds
15211 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15216 # LTCC compiler flags.
15217 LTCFLAGS=$lt_CFLAGS
15219 # Take the output of nm and produce a listing of raw symbols and C names.
15220 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15222 # Transform the output of nm in a proper C declaration.
15223 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15225 # Transform the output of nm in a C name address pair.
15226 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15228 # Transform the output of nm in a C name address pair when lib prefix is needed.
15229 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15231 # The name of the directory that contains temporary libtool files.
15234 # Shell to use when invoking shell scripts.
15237 # An echo program that does not interpret backslashes.
15240 # Used to examine libraries when file_magic_cmd begins with "file".
15241 MAGIC_CMD=$MAGIC_CMD
15243 # Must we lock files when doing compilation?
15244 need_locks=$lt_need_locks
15246 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15247 DSYMUTIL=$lt_DSYMUTIL
15249 # Tool to change global to local symbols on Mac OS X.
15252 # Tool to manipulate fat objects and archives on Mac OS X.
15255 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15258 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15259 OTOOL64=$lt_OTOOL64
15261 # Old archive suffix (normally "a").
15264 # Shared library suffix (normally ".so").
15265 shrext_cmds=$lt_shrext_cmds
15267 # The commands to extract the exported symbol list from a shared archive.
15268 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15270 # Variables whose values should be saved in libtool wrapper scripts and
15271 # restored at link time.
15272 variables_saved_for_relink=$lt_variables_saved_for_relink
15274 # Do we need the "lib" prefix for modules?
15275 need_lib_prefix=$need_lib_prefix
15277 # Do we need a version for libraries?
15278 need_version=$need_version
15280 # Library versioning type.
15281 version_type=$version_type
15283 # Shared library runtime path variable.
15284 runpath_var=$runpath_var
15286 # Shared library path variable.
15287 shlibpath_var=$shlibpath_var
15289 # Is shlibpath searched before the hard-coded library search path?
15290 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15292 # Format of library name prefix.
15293 libname_spec=$lt_libname_spec
15295 # List of archive names. First name is the real one, the rest are links.
15296 # The last name is the one that the linker finds with -lNAME
15297 library_names_spec=$lt_library_names_spec
15299 # The coded name of the library, if different from the real name.
15300 soname_spec=$lt_soname_spec
15302 # Command to use after installation of a shared archive.
15303 postinstall_cmds=$lt_postinstall_cmds
15305 # Command to use after uninstallation of a shared archive.
15306 postuninstall_cmds=$lt_postuninstall_cmds
15308 # Commands used to finish a libtool library installation in a directory.
15309 finish_cmds=$lt_finish_cmds
15311 # As "finish_cmds", except a single script fragment to be evaled but
15313 finish_eval=$lt_finish_eval
15315 # Whether we should hardcode library paths into libraries.
15316 hardcode_into_libs=$hardcode_into_libs
15318 # Compile-time system search path for libraries.
15319 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15321 # Run-time system search path for libraries.
15322 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15324 # Whether dlopen is supported.
15325 dlopen_support=$enable_dlopen
15327 # Whether dlopen of programs is supported.
15328 dlopen_self=$enable_dlopen_self
15330 # Whether dlopen of statically linked programs is supported.
15331 dlopen_self_static=$enable_dlopen_self_static
15333 # Commands to strip libraries.
15334 old_striplib=$lt_old_striplib
15335 striplib=$lt_striplib
15338 # The linker used to build libraries.
15341 # Commands used to build an old-style archive.
15342 old_archive_cmds=$lt_old_archive_cmds
15344 # A language specific compiler.
15347 # Is the compiler the GNU compiler?
15350 # Compiler flag to turn off builtin functions.
15351 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15353 # How to pass a linker flag through the compiler.
15354 wl=$lt_lt_prog_compiler_wl
15356 # Additional compiler flags for building library objects.
15357 pic_flag=$lt_lt_prog_compiler_pic
15359 # Compiler flag to prevent dynamic linking.
15360 link_static_flag=$lt_lt_prog_compiler_static
15362 # Does compiler simultaneously support -c and -o options?
15363 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15365 # Whether or not to add -lc for building shared libraries.
15366 build_libtool_need_lc=$archive_cmds_need_lc
15368 # Whether or not to disallow shared libs when runtime libs are static.
15369 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15371 # Compiler flag to allow reflexive dlopens.
15372 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15374 # Compiler flag to generate shared objects directly from archives.
15375 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15377 # Whether the compiler copes with passing no objects directly.
15378 compiler_needs_object=$lt_compiler_needs_object
15380 # Create an old-style archive from a shared archive.
15381 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15383 # Create a temporary old-style archive to link instead of a shared archive.
15384 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15386 # Commands used to build a shared archive.
15387 archive_cmds=$lt_archive_cmds
15388 archive_expsym_cmds=$lt_archive_expsym_cmds
15390 # Commands used to build a loadable module if different from building
15391 # a shared archive.
15392 module_cmds=$lt_module_cmds
15393 module_expsym_cmds=$lt_module_expsym_cmds
15395 # Whether we are building with GNU ld or not.
15396 with_gnu_ld=$lt_with_gnu_ld
15398 # Flag that allows shared libraries with undefined symbols to be built.
15399 allow_undefined_flag=$lt_allow_undefined_flag
15401 # Flag that enforces no undefined symbols.
15402 no_undefined_flag=$lt_no_undefined_flag
15404 # Flag to hardcode \$libdir into a binary during linking.
15405 # This must work even if \$libdir does not exist
15406 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15408 # If ld is used when linking, flag to hardcode \$libdir into a binary
15409 # during linking. This must work even if \$libdir does not exist.
15410 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15412 # Whether we need a single "-rpath" flag with a separated argument.
15413 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15416 # DIR into the resulting binary.
15417 hardcode_direct=$hardcode_direct
15419 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15420 # DIR into the resulting binary and the resulting library dependency is
15421 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15422 # library is relocated.
15423 hardcode_direct_absolute=$hardcode_direct_absolute
15425 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15426 # into the resulting binary.
15427 hardcode_minus_L=$hardcode_minus_L
15429 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15430 # into the resulting binary.
15431 hardcode_shlibpath_var=$hardcode_shlibpath_var
15433 # Set to "yes" if building a shared library automatically hardcodes DIR
15434 # into the library and all subsequent libraries and executables linked
15436 hardcode_automatic=$hardcode_automatic
15438 # Set to yes if linker adds runtime paths of dependent libraries
15439 # to runtime path list.
15440 inherit_rpath=$inherit_rpath
15442 # Whether libtool must link a program against all its dependency libraries.
15443 link_all_deplibs=$link_all_deplibs
15445 # Fix the shell variable \$srcfile for the compiler.
15446 fix_srcfile_path=$lt_fix_srcfile_path
15448 # Set to "yes" if exported symbols are required.
15449 always_export_symbols=$always_export_symbols
15451 # The commands to list exported symbols.
15452 export_symbols_cmds=$lt_export_symbols_cmds
15454 # Symbols that should not be listed in the preloaded symbols.
15455 exclude_expsyms=$lt_exclude_expsyms
15457 # Symbols that must always be exported.
15458 include_expsyms=$lt_include_expsyms
15460 # Commands necessary for linking programs (against libraries) with templates.
15461 prelink_cmds=$lt_prelink_cmds
15463 # Specify filename containing input files.
15464 file_list_spec=$lt_file_list_spec
15466 # How to hardcode a shared library path into an executable.
15467 hardcode_action=$hardcode_action
15469 # ### END LIBTOOL CONFIG
15475 cat <<\_LT_EOF >> "$cfgfile"
15476 # AIX sometimes has problems with the GCC collect2 program. For some
15477 # reason, if we set the COLLECT_NAMES environment variable, the problems
15478 # vanish in a puff of smoke.
15479 if test "X${COLLECT_NAMES+set}" != Xset; then
15481 export COLLECT_NAMES
15488 ltmain="$ac_aux_dir/ltmain.sh"
15491 # We use sed instead of cat because bash on DJGPP gets confused if
15492 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15493 # text mode, it properly converts lines to CR/LF. This bash problem
15494 # is reportedly fixed, but why not run on old versions too?
15495 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15496 ||
(rm -f "$cfgfile"; exit 1)
15500 cat << \_LT_EOF
>> "$cfgfile"
15502 # func_dirname file append nondir_replacement
15503 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15504 # otherwise set result to NONDIR_REPLACEMENT.
15508 */*) func_dirname_result
="${1%/*}${2}" ;;
15509 * ) func_dirname_result
="${3}" ;;
15513 # func_basename file
15516 func_basename_result
="${1##*/}"
15519 # func_dirname_and_basename file append nondir_replacement
15520 # perform func_basename and func_dirname in a single function
15522 # dirname: Compute the dirname of FILE. If nonempty,
15523 # add APPEND to the result, otherwise set result
15524 # to NONDIR_REPLACEMENT.
15525 # value returned in "$func_dirname_result"
15526 # basename: Compute filename of FILE.
15527 # value retuned in "$func_basename_result"
15528 # Implementation must be kept synchronized with func_dirname
15529 # and func_basename. For efficiency, we do not delegate to
15530 # those functions but instead duplicate the functionality here.
15531 func_dirname_and_basename
()
15534 */*) func_dirname_result
="${1%/*}${2}" ;;
15535 * ) func_dirname_result
="${3}" ;;
15537 func_basename_result
="${1##*/}"
15540 # func_stripname prefix suffix name
15541 # strip PREFIX and SUFFIX off of NAME.
15542 # PREFIX and SUFFIX must not contain globbing or regex special
15543 # characters, hashes, percent signs, but SUFFIX may contain a leading
15544 # dot (in which case that matches only a dot).
15547 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15548 # positional parameters, so assign one to ordinary parameter first.
15549 func_stripname_result
=${3}
15550 func_stripname_result
=${func_stripname_result#"${1}"}
15551 func_stripname_result
=${func_stripname_result%"${2}"}
15557 func_opt_split_opt
=${1%%=*}
15558 func_opt_split_arg
=${1#*=}
15565 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15566 *) func_lo2o_result
=${1} ;;
15570 # func_xform libobj-or-source
15573 func_xform_result
=${1%.*}.lo
15576 # func_arith arithmetic-term...
15579 func_arith_result
=$
(( $
* ))
15583 # STRING may not start with a hyphen.
15586 func_len_result
=${#1}
15591 *) # Bourne compatible functions.
15592 cat << \_LT_EOF
>> "$cfgfile"
15594 # func_dirname file append nondir_replacement
15595 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15596 # otherwise set result to NONDIR_REPLACEMENT.
15599 # Extract subdirectory from the argument.
15600 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15601 if test "X$func_dirname_result" = "X${1}"; then
15602 func_dirname_result
="${3}"
15604 func_dirname_result
="$func_dirname_result${2}"
15608 # func_basename file
15611 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15615 # func_stripname prefix suffix name
15616 # strip PREFIX and SUFFIX off of NAME.
15617 # PREFIX and SUFFIX must not contain globbing or regex special
15618 # characters, hashes, percent signs, but SUFFIX may contain a leading
15619 # dot (in which case that matches only a dot).
15620 # func_strip_suffix prefix name
15624 .
*) func_stripname_result
=`$ECHO "X${3}" \
15625 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15626 *) func_stripname_result
=`$ECHO "X${3}" \
15627 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15632 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15633 my_sed_long_arg
='1s/^-[^=]*=//'
15638 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15639 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15645 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15648 # func_xform libobj-or-source
15651 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15654 # func_arith arithmetic-term...
15657 func_arith_result
=`expr "$@"`
15661 # STRING may not start with a hyphen.
15664 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15670 case $lt_shell_append in
15672 cat << \_LT_EOF
>> "$cfgfile"
15674 # func_append var value
15675 # Append VALUE to the end of shell variable VAR.
15683 cat << \_LT_EOF
>> "$cfgfile"
15685 # func_append var value
15686 # Append VALUE to the end of shell variable VAR.
15697 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15698 ||
(rm -f "$cfgfile"; exit 1)
15700 mv -f "$cfgfile" "$ofile" ||
15701 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15710 { (exit 0); exit 0; }
15712 chmod +x
$CONFIG_STATUS
15713 ac_clean_files
=$ac_clean_files_save
15715 test $ac_write_fail = 0 ||
15716 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15717 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15718 { (exit 1); exit 1; }; }
15721 # configure is writing to config.log, and then calls config.status.
15722 # config.status does its own redirection, appending to config.log.
15723 # Unfortunately, on DOS this fails, as config.log is still kept open
15724 # by configure, so config.status won't be able to write to it; its
15725 # output is simply discarded. So we exec the FD to /dev/null,
15726 # effectively closing config.log, so it can be properly (re)opened and
15727 # appended to by config.status. When coming back to configure, we
15728 # need to make the FD available again.
15729 if test "$no_create" != yes; then
15731 ac_config_status_args
=
15732 test "$silent" = yes &&
15733 ac_config_status_args
="$ac_config_status_args --quiet"
15735 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15737 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15738 # would make configure fail if this is the last instruction.
15739 $ac_cs_success ||
{ (exit 1); exit 1; }
15741 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15742 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
15743 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}