2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for sqlite 3.8.0.
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.0'
747 PACKAGE_STRING
='sqlite 3.8.0'
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
902 enable_option_checking
912 enable_cross_thread_connections
922 enable_load_extension
925 ac_precious_vars
='build_alias
937 # Initialize some variables set by options.
939 ac_init_version
=false
940 ac_unrecognized_opts
=
942 # The variables have the same names as the options, with
943 # dashes changed to underlines.
951 program_transform_name
=s
,x
,x
,
959 # Installation directory options.
960 # These are left unexpanded so users can "make install exec_prefix=/foo"
961 # and all the variables that are supposed to be based on exec_prefix
962 # by default will actually change.
963 # Use braces instead of parens because sh, perl, etc. also accept them.
964 # (The list follows the same order as the GNU Coding Standards.)
965 bindir
='${exec_prefix}/bin'
966 sbindir
='${exec_prefix}/sbin'
967 libexecdir
='${exec_prefix}/libexec'
968 datarootdir
='${prefix}/share'
969 datadir
='${datarootdir}'
970 sysconfdir
='${prefix}/etc'
971 sharedstatedir
='${prefix}/com'
972 localstatedir
='${prefix}/var'
973 includedir
='${prefix}/include'
974 oldincludedir
='/usr/include'
975 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
976 infodir
='${datarootdir}/info'
981 libdir
='${exec_prefix}/lib'
982 localedir
='${datarootdir}/locale'
983 mandir
='${datarootdir}/man'
989 # If the previous option needs an argument, assign it.
990 if test -n "$ac_prev"; then
991 eval $ac_prev=\
$ac_option
997 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1001 # Accept the important Cygnus configure options, so we can diagnose typos.
1003 case $ac_dashdash$ac_option in
1007 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1009 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1010 bindir
=$ac_optarg ;;
1012 -build |
--build |
--buil |
--bui |
--bu)
1013 ac_prev
=build_alias
;;
1014 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1015 build_alias
=$ac_optarg ;;
1017 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1018 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1019 ac_prev
=cache_file
;;
1020 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1021 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1022 cache_file
=$ac_optarg ;;
1024 --config-cache |
-C)
1025 cache_file
=config.cache
;;
1027 -datadir |
--datadir |
--datadi |
--datad)
1029 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1030 datadir
=$ac_optarg ;;
1032 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1033 |
--dataroo |
--dataro |
--datar)
1034 ac_prev
=datarootdir
;;
1035 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1036 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1037 datarootdir
=$ac_optarg ;;
1039 -disable-* |
--disable-*)
1040 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1043 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1044 { (exit 1); exit 1; }; }
1045 ac_useropt_orig
=$ac_useropt
1046 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_
$ac_useropt"
1051 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1052 ac_unrecognized_sep
=', ';;
1054 eval enable_
$ac_useropt=no
;;
1056 -docdir |
--docdir |
--docdi |
--doc |
--do)
1058 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1059 docdir
=$ac_optarg ;;
1061 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1063 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1064 dvidir
=$ac_optarg ;;
1066 -enable-* |
--enable-*)
1067 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1070 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1071 { (exit 1); exit 1; }; }
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1076 "enable_
$ac_useropt"
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval enable_
$ac_useropt=\
$ac_optarg ;;
1083 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1084 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1085 |
--exec |
--exe |
--ex)
1086 ac_prev
=exec_prefix
;;
1087 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1088 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1089 |
--exec=* |
--exe=* |
--ex=*)
1090 exec_prefix
=$ac_optarg ;;
1092 -gas |
--gas |
--ga |
--g)
1093 # Obsolete; use --with-gas.
1096 -help |
--help |
--hel |
--he |
-h)
1097 ac_init_help
=long
;;
1098 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1099 ac_init_help
=recursive
;;
1100 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1101 ac_init_help
=short
;;
1103 -host |
--host |
--hos |
--ho)
1104 ac_prev
=host_alias
;;
1105 -host=* |
--host=* |
--hos=* |
--ho=*)
1106 host_alias
=$ac_optarg ;;
1108 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1110 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1112 htmldir
=$ac_optarg ;;
1114 -includedir |
--includedir |
--includedi |
--included |
--include \
1115 |
--includ |
--inclu |
--incl |
--inc)
1116 ac_prev
=includedir
;;
1117 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1118 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1119 includedir
=$ac_optarg ;;
1121 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1123 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1124 infodir
=$ac_optarg ;;
1126 -libdir |
--libdir |
--libdi |
--libd)
1128 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1129 libdir
=$ac_optarg ;;
1131 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1132 |
--libexe |
--libex |
--libe)
1133 ac_prev
=libexecdir
;;
1134 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1135 |
--libexe=* |
--libex=* |
--libe=*)
1136 libexecdir
=$ac_optarg ;;
1138 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1139 ac_prev
=localedir
;;
1140 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1141 localedir
=$ac_optarg ;;
1143 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1144 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1145 ac_prev
=localstatedir
;;
1146 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1147 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1148 localstatedir
=$ac_optarg ;;
1150 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1152 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1153 mandir
=$ac_optarg ;;
1155 -nfp |
--nfp |
--nf)
1156 # Obsolete; use --without-fp.
1159 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1160 |
--no-cr |
--no-c |
-n)
1163 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1164 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1167 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1168 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1169 |
--oldin |
--oldi |
--old |
--ol |
--o)
1170 ac_prev
=oldincludedir
;;
1171 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1172 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1173 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1174 oldincludedir
=$ac_optarg ;;
1176 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1178 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1179 prefix
=$ac_optarg ;;
1181 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1182 |
--program-pre |
--program-pr |
--program-p)
1183 ac_prev
=program_prefix
;;
1184 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1185 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1186 program_prefix
=$ac_optarg ;;
1188 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1189 |
--program-suf |
--program-su |
--program-s)
1190 ac_prev
=program_suffix
;;
1191 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1192 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1193 program_suffix
=$ac_optarg ;;
1195 -program-transform-name |
--program-transform-name \
1196 |
--program-transform-nam |
--program-transform-na \
1197 |
--program-transform-n |
--program-transform- \
1198 |
--program-transform |
--program-transfor \
1199 |
--program-transfo |
--program-transf \
1200 |
--program-trans |
--program-tran \
1201 |
--progr-tra |
--program-tr |
--program-t)
1202 ac_prev
=program_transform_name
;;
1203 -program-transform-name=* |
--program-transform-name=* \
1204 |
--program-transform-nam=* |
--program-transform-na=* \
1205 |
--program-transform-n=* |
--program-transform-=* \
1206 |
--program-transform=* |
--program-transfor=* \
1207 |
--program-transfo=* |
--program-transf=* \
1208 |
--program-trans=* |
--program-tran=* \
1209 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1210 program_transform_name
=$ac_optarg ;;
1212 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1214 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1215 pdfdir
=$ac_optarg ;;
1217 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1219 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1223 |
-silent |
--silent |
--silen |
--sile |
--sil)
1226 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1228 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1230 sbindir
=$ac_optarg ;;
1232 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1233 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1234 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1236 ac_prev
=sharedstatedir
;;
1237 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1238 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1239 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1241 sharedstatedir
=$ac_optarg ;;
1243 -site |
--site |
--sit)
1245 -site=* |
--site=* |
--sit=*)
1248 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1250 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1251 srcdir
=$ac_optarg ;;
1253 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1254 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1255 ac_prev
=sysconfdir
;;
1256 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1257 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1258 sysconfdir
=$ac_optarg ;;
1260 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1261 ac_prev
=target_alias
;;
1262 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1263 target_alias
=$ac_optarg ;;
1265 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1268 -version |
--version |
--versio |
--versi |
--vers |
-V)
1269 ac_init_version
=: ;;
1272 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1275 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1276 { (exit 1); exit 1; }; }
1277 ac_useropt_orig
=$ac_useropt
1278 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1283 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1284 ac_unrecognized_sep
=', ';;
1286 eval with_
$ac_useropt=\
$ac_optarg ;;
1288 -without-* |
--without-*)
1289 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1292 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1293 { (exit 1); exit 1; }; }
1294 ac_useropt_orig
=$ac_useropt
1295 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296 case $ac_user_opts in
1300 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1301 ac_unrecognized_sep
=', ';;
1303 eval with_
$ac_useropt=no
;;
1306 # Obsolete; use --with-x.
1309 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1310 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1311 ac_prev
=x_includes
;;
1312 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1313 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1314 x_includes
=$ac_optarg ;;
1316 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1317 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1318 ac_prev
=x_libraries
;;
1319 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1320 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1321 x_libraries
=$ac_optarg ;;
1323 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1324 Try \`$0 --help' for more information." >&2
1325 { (exit 1); exit 1; }; }
1329 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1330 # Reject names that are not valid shell variable names.
1331 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1332 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1333 { (exit 1); exit 1; }; }
1334 eval $ac_envvar=\
$ac_optarg
1335 export $ac_envvar ;;
1338 # FIXME: should be removed in autoconf 3.0.
1339 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1340 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1341 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1342 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1348 if test -n "$ac_prev"; then
1349 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1350 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1351 { (exit 1); exit 1; }; }
1354 if test -n "$ac_unrecognized_opts"; then
1355 case $enable_option_checking in
1357 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1358 { (exit 1); exit 1; }; } ;;
1359 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1363 # Check all directory arguments for consistency.
1364 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1365 datadir sysconfdir sharedstatedir localstatedir includedir \
1366 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1367 libdir localedir mandir
1369 eval ac_val
=\$
$ac_var
1370 # Remove trailing slashes.
1373 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1374 eval $ac_var=\
$ac_val;;
1376 # Be sure to have absolute directory names.
1378 [\\/$
]* | ?
:[\\/]* ) continue;;
1379 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1381 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1382 { (exit 1); exit 1; }; }
1385 # There might be people who depend on the old broken behavior: `$host'
1386 # used to hold the argument of --host etc.
1387 # FIXME: To remove some day.
1390 target
=$target_alias
1392 # FIXME: To remove some day.
1393 if test "x$host_alias" != x
; then
1394 if test "x$build_alias" = x
; then
1395 cross_compiling
=maybe
1396 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1397 If a cross compiler is detected then cross compile mode will be used." >&2
1398 elif test "x$build_alias" != "x$host_alias"; then
1404 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1406 test "$silent" = yes && exec 6>/dev
/null
1409 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1410 ac_ls_di
=`ls -di .` &&
1411 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1412 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1413 { (exit 1); exit 1; }; }
1414 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1415 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1416 { (exit 1); exit 1; }; }
1419 # Find the source files, if location was not specified.
1420 if test -z "$srcdir"; then
1421 ac_srcdir_defaulted
=yes
1422 # Try the directory containing this script, then the parent directory.
1423 ac_confdir
=`$as_dirname -- "$as_myself" ||
1424 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1425 X"$as_myself" : 'X\(//\)[^/]' \| \
1426 X"$as_myself" : 'X\(//\)$' \| \
1427 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1428 $as_echo X"$as_myself" |
1429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1447 if test ! -r "$srcdir/$ac_unique_file"; then
1451 ac_srcdir_defaulted
=no
1453 if test ! -r "$srcdir/$ac_unique_file"; then
1454 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1455 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1456 { (exit 1); exit 1; }; }
1458 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1460 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1461 { (exit 1); exit 1; }; }
1463 # When building in place, set srcdir=.
1464 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467 # Remove unnecessary trailing slashes from srcdir.
1468 # Double slashes in file names in object file debugging info
1469 # mess up M-x gdb in Emacs.
1471 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1473 for ac_var
in $ac_precious_vars; do
1474 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1475 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1476 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1477 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1481 # Report the --help message.
1483 if test "$ac_init_help" = "long"; then
1484 # Omit some internal or obsolete options to make the list less imposing.
1485 # This message is too long to be a string in the A/UX 3.1 sh.
1487 \`configure' configures sqlite 3.8.0 to adapt to many kinds of systems.
1489 Usage: $0 [OPTION]... [VAR=VALUE]...
1491 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1492 VAR=VALUE. See below for descriptions of some of the useful variables.
1494 Defaults for the options are specified in brackets.
1497 -h, --help display this help and exit
1498 --help=short display options specific to this package
1499 --help=recursive display the short help of all the included packages
1500 -V, --version display version information and exit
1501 -q, --quiet, --silent do not print \`checking...' messages
1502 --cache-file=FILE cache test results in FILE [disabled]
1503 -C, --config-cache alias for \`--cache-file=config.cache'
1504 -n, --no-create do not create output files
1505 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1507 Installation directories:
1508 --prefix=PREFIX install architecture-independent files in PREFIX
1509 [$ac_default_prefix]
1510 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513 By default, \`make install' will install all the files in
1514 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1515 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1516 for instance \`--prefix=\$HOME'.
1518 For better control, use the options below.
1520 Fine tuning of the installation directories:
1521 --bindir=DIR user executables [EPREFIX/bin]
1522 --sbindir=DIR system admin executables [EPREFIX/sbin]
1523 --libexecdir=DIR program executables [EPREFIX/libexec]
1524 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1525 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1526 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1527 --libdir=DIR object code libraries [EPREFIX/lib]
1528 --includedir=DIR C header files [PREFIX/include]
1529 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1530 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1531 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1532 --infodir=DIR info documentation [DATAROOTDIR/info]
1533 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1534 --mandir=DIR man documentation [DATAROOTDIR/man]
1535 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1536 --htmldir=DIR html documentation [DOCDIR]
1537 --dvidir=DIR dvi documentation [DOCDIR]
1538 --pdfdir=DIR pdf documentation [DOCDIR]
1539 --psdir=DIR ps documentation [DOCDIR]
1545 --build=BUILD configure
for building on BUILD
[guessed
]
1546 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1550 if test -n "$ac_init_help"; then
1551 case $ac_init_help in
1552 short | recursive
) echo "Configuration of sqlite 3.8.0:";;
1557 --disable-option-checking ignore unrecognized
--enable/--with options
1558 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1559 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1560 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1561 --enable-static[=PKGS
] build static libraries
[default
=yes]
1562 --enable-fast-install[=PKGS
]
1563 optimize
for fast installation
[default
=yes]
1564 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1565 --disable-largefile omit support
for large files
1566 --enable-threadsafe Support threadsafe operation
1567 --enable-cross-thread-connections
1568 Allow connection sharing across threads
1569 --enable-releasemode Support libtool link to release mode
1570 --enable-tempstore Use an in-ram database
for temporary tables
1571 (never
,no
,yes,always
)
1572 --disable-tcl do not build TCL extension
1573 --disable-readline disable readline support
[default
=detect
]
1574 --enable-debug enable debugging
& verbose explain
1575 --disable-amalgamation Disable the amalgamation and instead build all files
1577 --enable-load-extension Enable loading of external extensions
1578 --enable-gcov Enable coverage testing using gcov
1581 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1582 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1583 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1585 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1586 --with-hints=FILE Read configuration options from FILE
1587 --with-tcl=DIR directory containing tcl configuration
1589 --with-readline-lib specify readline library
1590 --with-readline-inc specify readline include paths
1592 Some influential environment variables
:
1593 CC C compiler
command
1594 CFLAGS C compiler flags
1595 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1596 nonstandard directory
<lib dir
>
1597 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1598 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1599 you have headers
in a nonstandard directory
<include dir
>
1601 TCLLIBDIR Where to
install tcl plugin
1603 Use these variables to override the choices made by
`configure' or to help
1604 it to find libraries and programs with nonstandard names/locations.
1610 if test "$ac_init_help" = "recursive"; then
1611 # If there are subdirs, report their specific --help.
1612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613 test -d "$ac_dir" ||
1614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1622 # A ".." for each directory in $ac_dir_suffix.
1623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1624 case $ac_top_builddir_sub in
1625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 ac_abs_top_builddir=$ac_pwd
1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1631 # for backward compatibility:
1632 ac_top_builddir=$ac_top_build_prefix
1635 .) # We are building in place.
1637 ac_top_srcdir=$ac_top_builddir_sub
1638 ac_abs_top_srcdir=$ac_pwd ;;
1639 [\\/]* | ?:[\\/]* ) # Absolute name.
1640 ac_srcdir=$srcdir$ac_dir_suffix;
1641 ac_top_srcdir=$srcdir
1642 ac_abs_top_srcdir=$srcdir ;;
1644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1645 ac_top_srcdir=$ac_top_build_prefix$srcdir
1646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1650 cd "$ac_dir" || { ac_status=$?; continue; }
1651 # Check for guested configure.
1652 if test -f "$ac_srcdir/configure.gnu"; then
1654 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1655 elif test -f "$ac_srcdir/configure"; then
1657 $SHELL "$ac_srcdir/configure" --help=recursive
1659 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1661 cd "$ac_pwd" || { ac_status=$?; break; }
1665 test -n "$ac_init_help" && exit $ac_status
1666 if $ac_init_version; then
1668 sqlite configure 3.8.0
1669 generated by GNU Autoconf 2.62
1671 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1672 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1673 This configure script is free software; the Free Software Foundation
1674 gives unlimited permission to copy, distribute and modify it.
1678 cat >config.log <<_ACEOF
1679 This file contains any messages produced by compilers while
1680 running configure, to aid debugging if configure makes a mistake.
1682 It was created by sqlite $as_me 3.8.0, which was
1683 generated by GNU Autoconf 2.62. Invocation command line was
1695 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1696 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1697 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1698 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1699 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1701 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1702 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1704 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1705 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1706 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1707 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1708 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1709 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1710 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir=.
1719 $as_echo "PATH: $as_dir"
1735 # Keep a trace of the command line.
1736 # Strip out --no-create and --no-recursion so they do not pile up.
1737 # Strip out --silent because we don't want to record it for future runs.
1738 # Also quote any args containing shell meta-characters.
1739 # Make two passes to allow for proper duplicate-argument suppression.
1743 ac_must_keep_next=false
1749 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1750 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1751 | -silent | --silent | --silen | --sile | --sil)
1754 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1757 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1759 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1760 if test $ac_must_keep_next = true; then
1761 ac_must_keep_next=false # Got value, back to normal.
1764 *=* | --config-cache | -C | -disable-* | --disable-* \
1765 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1766 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1767 | -with-* | --with-* | -without-* | --without-* | --x)
1768 case "$ac_configure_args0 " in
1769 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1772 -* ) ac_must_keep_next=true ;;
1775 ac_configure_args="$ac_configure_args '$ac_arg'"
1780 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1781 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1783 # When interrupted or exit'd, cleanup temporary files, and complete
1784 # config.log. We remove comments because anyway the quotes in there
1785 # would cause problems or look ugly.
1786 # WARNING: Use '\'' to represent an apostrophe within the trap.
1787 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1788 trap 'exit_status=$?
1789 # Save into config.log some information that might help in debugging.
1794 ## ---------------- ##
1795 ## Cache variables. ##
1796 ## ---------------- ##
1799 # The following way of writing the cache mishandles newlines in values,
1801 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1802 eval ac_val=\$$ac_var
1806 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1807 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1810 _ | IFS | as_nl) ;; #(
1811 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1812 *) $as_unset $ac_var ;;
1817 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1818 *${as_nl}ac_space=\ *)
1820 "s/'\''/'\''\\\\'\'''\''/g;
1821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1824 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1832 ## ----------------- ##
1833 ## Output variables. ##
1834 ## ----------------- ##
1837 for ac_var in $ac_subst_vars
1839 eval ac_val=\$$ac_var
1841 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1843 $as_echo "$ac_var='\''$ac_val'\''"
1847 if test -n "$ac_subst_files"; then
1849 ## ------------------- ##
1850 ## File substitutions. ##
1851 ## ------------------- ##
1854 for ac_var in $ac_subst_files
1856 eval ac_val=\$$ac_var
1858 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1860 $as_echo "$ac_var='\''$ac_val'\''"
1865 if test -s confdefs.h; then
1875 test "$ac_signal" != 0 &&
1876 $as_echo "$as_me: caught signal $ac_signal"
1877 $as_echo "$as_me: exit $exit_status"
1879 rm -f core *.core core.conftest.* &&
1880 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1883 for ac_signal in 1 2 13 15; do
1884 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1888 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1889 rm -f -r conftest* confdefs.h
1891 # Predefined preprocessor variables.
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_NAME "$PACKAGE_NAME"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_STRING "$PACKAGE_STRING"
1913 cat >>confdefs.h <<_ACEOF
1914 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1918 # Let the site file select an alternate cache file if it wants to.
1919 # Prefer an explicitly selected file to automatically selected ones.
1922 if test -n "$CONFIG_SITE"; then
1923 ac_site_file1=$CONFIG_SITE
1924 elif test "x$prefix" != xNONE; then
1925 ac_site_file1=$prefix/share/config.site
1926 ac_site_file2=$prefix/etc/config.site
1928 ac_site_file1=$ac_default_prefix/share/config.site
1929 ac_site_file2=$ac_default_prefix/etc/config.site
1931 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1933 test "x$ac_site_file" = xNONE && continue
1934 if test -r "$ac_site_file"; then
1935 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1936 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1937 sed 's/^/| /' "$ac_site_file" >&5
1942 if test -r "$cache_file"; then
1943 # Some versions of bash will fail to source /dev/null (special
1944 # files actually), so we avoid doing that.
1945 if test -f "$cache_file"; then
1946 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1947 $as_echo "$as_me: loading cache $cache_file" >&6;}
1949 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1950 *) . "./$cache_file";;
1954 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1955 $as_echo "$as_me: creating cache $cache_file" >&6;}
1959 # Check that the precious variables saved in the cache have kept the same
1961 ac_cache_corrupted=false
1962 for ac_var in $ac_precious_vars; do
1963 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1964 eval ac_new_set=\$ac_env_${ac_var}_set
1965 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1966 eval ac_new_val=\$ac_env_${ac_var}_value
1967 case $ac_old_set,$ac_new_set in
1969 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1970 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1971 ac_cache_corrupted=: ;;
1973 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1974 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1975 ac_cache_corrupted=: ;;
1978 if test "x$ac_old_val" != "x$ac_new_val"; then
1979 # differences in whitespace do not lead to failure.
1980 ac_old_val_w=`echo x
$ac_old_val`
1981 ac_new_val_w=`echo x
$ac_new_val`
1982 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1983 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1984 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1985 ac_cache_corrupted=:
1987 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1988 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1989 eval $ac_var=\$ac_old_val
1991 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1992 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1993 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1994 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1997 # Pass precious variables to config.status.
1998 if test "$ac_new_set" = set; then
2000 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2001 *) ac_arg=$ac_var=$ac_new_val ;;
2003 case " $ac_configure_args " in
2004 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2005 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2009 if $ac_cache_corrupted; then
2010 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2011 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2012 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2013 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2014 { (exit 1); exit 1; }; }
2042 ac_cpp='$CPP $CPPFLAGS'
2043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2049 sqlite_version_sanity_check=`cat $srcdir/VERSION |
tr -d '\n'`
2050 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2051 { { $as_echo "$as_me:$LINENO: error: configure script is out of date:
2052 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2053 top level VERSION file = $sqlite_version_sanity_check
2054 please regen with autoconf" >&5
2055 $as_echo "$as_me: error: configure script is out of date:
2056 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2057 top level VERSION file = $sqlite_version_sanity_check
2058 please regen with autoconf" >&2;}
2059 { (exit 1); exit 1; }; }
2062 # The following RCS revision string applies to configure.in
2070 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2071 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2076 macro_version='2.2.6'
2077 macro_revision='1.3012'
2091 ltmain="$ac_aux_dir/ltmain.sh"
2094 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2095 if test -f "$ac_dir/install-sh"; then
2097 ac_install_sh="$ac_aux_dir/install-sh -c"
2099 elif test -f "$ac_dir/install.sh"; then
2101 ac_install_sh="$ac_aux_dir/install.sh -c"
2103 elif test -f "$ac_dir/shtool"; then
2105 ac_install_sh="$ac_aux_dir/shtool install -c"
2109 if test -z "$ac_aux_dir"; then
2110 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2111 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2112 { (exit 1); exit 1; }; }
2115 # These three variables are undocumented and unsupported,
2116 # and are intended to be withdrawn in a future Autoconf release.
2117 # They can cause serious problems if a builder's source tree is in a directory
2118 # whose full name contains unusual characters.
2119 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2120 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2121 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2124 # Make sure we can run config.sub.
2125 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2126 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2127 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2128 { (exit 1); exit 1; }; }
2130 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2131 $as_echo_n "checking build system type... " >&6; }
2132 if test "${ac_cv_build+set}" = set; then
2133 $as_echo_n "(cached) " >&6
2135 ac_build_alias=$build_alias
2136 test "x$ac_build_alias" = x &&
2137 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2138 test "x$ac_build_alias" = x &&
2139 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2140 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2141 { (exit 1); exit 1; }; }
2142 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2143 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2144 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2145 { (exit 1); exit 1; }; }
2148 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2149 $as_echo "$ac_cv_build" >&6; }
2150 case $ac_cv_build in
2152 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2153 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2154 { (exit 1); exit 1; }; };;
2157 ac_save_IFS=$IFS; IFS='-'
2163 # Remember, the first character of IFS is used to create $*,
2164 # except with old shells:
2167 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2170 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2171 $as_echo_n "checking host system type... " >&6; }
2172 if test "${ac_cv_host+set}" = set; then
2173 $as_echo_n "(cached) " >&6
2175 if test "x$host_alias" = x; then
2176 ac_cv_host=$ac_cv_build
2178 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2179 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2180 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2181 { (exit 1); exit 1; }; }
2185 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2186 $as_echo "$ac_cv_host" >&6; }
2189 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2190 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2191 { (exit 1); exit 1; }; };;
2194 ac_save_IFS=$IFS; IFS='-'
2200 # Remember, the first character of IFS is used to create $*,
2201 # except with old shells:
2204 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2208 ac_cpp='$CPP $CPPFLAGS'
2209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2212 if test -n "$ac_tool_prefix"; then
2213 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2214 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2215 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 $as_echo_n "checking for $ac_word... " >&6; }
2217 if test "${ac_cv_prog_CC+set}" = set; then
2218 $as_echo_n "(cached) " >&6
2220 if test -n "$CC"; then
2221 ac_cv_prog_CC="$CC" # Let the user override the test.
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir=.
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2230 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2231 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 if test -n "$CC"; then
2242 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2243 $as_echo "$CC" >&6; }
2245 { $as_echo "$as_me:$LINENO: result: no" >&5
2246 $as_echo "no" >&6; }
2251 if test -z "$ac_cv_prog_CC"; then
2253 # Extract the first word of "gcc", so it can be a program name with args.
2254 set dummy gcc; ac_word=$2
2255 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 $as_echo_n "checking for $ac_word... " >&6; }
2257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2258 $as_echo_n "(cached) " >&6
2260 if test -n "$ac_ct_CC"; then
2261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270 ac_cv_prog_ac_ct_CC="gcc"
2271 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2281 if test -n "$ac_ct_CC"; then
2282 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2283 $as_echo "$ac_ct_CC" >&6; }
2285 { $as_echo "$as_me:$LINENO: result: no" >&5
2286 $as_echo "no" >&6; }
2289 if test "x$ac_ct_CC" = x; then
2292 case $cross_compiling:$ac_tool_warned in
2294 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2295 whose name does not start with the host triplet. If you think this
2296 configuration is useful to you, please write to autoconf@gnu.org." >&5
2297 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2298 whose name does not start with the host triplet. If you think this
2299 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2300 ac_tool_warned=yes ;;
2308 if test -z "$CC"; then
2309 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}cc; ac_word=$2
2312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 $as_echo_n "checking for $ac_word... " >&6; }
2314 if test "${ac_cv_prog_CC+set}" = set; then
2315 $as_echo_n "(cached) " >&6
2317 if test -n "$CC"; then
2318 ac_cv_prog_CC="$CC" # Let the user override the test.
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 for ac_exec_ext in '' $ac_executable_extensions; do
2326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327 ac_cv_prog_CC="${ac_tool_prefix}cc"
2328 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 if test -n "$CC"; then
2339 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2340 $as_echo "$CC" >&6; }
2342 { $as_echo "$as_me:$LINENO: result: no" >&5
2343 $as_echo "no" >&6; }
2349 if test -z "$CC"; then
2350 # Extract the first word of "cc", so it can be a program name with args.
2351 set dummy cc; ac_word=$2
2352 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 $as_echo_n "checking for $ac_word... " >&6; }
2354 if test "${ac_cv_prog_CC+set}" = set; then
2355 $as_echo_n "(cached) " >&6
2357 if test -n "$CC"; then
2358 ac_cv_prog_CC="$CC" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2369 ac_prog_rejected=yes
2373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 if test $ac_prog_rejected = yes; then
2381 # We found a bogon in the path, so make sure we never use it.
2382 set dummy $ac_cv_prog_CC
2384 if test $# != 0; then
2385 # We chose a different compiler from the bogus one.
2386 # However, it has the same basename, so the bogon will be chosen
2387 # first if we set CC to just the basename; use the full file name.
2389 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2395 if test -n "$CC"; then
2396 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2397 $as_echo "$CC" >&6; }
2399 { $as_echo "$as_me:$LINENO: result: no" >&5
2400 $as_echo "no" >&6; }
2405 if test -z "$CC"; then
2406 if test -n "$ac_tool_prefix"; then
2407 for ac_prog in cl.exe
2409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2411 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 $as_echo_n "checking for $ac_word... " >&6; }
2413 if test "${ac_cv_prog_CC+set}" = set; then
2414 $as_echo_n "(cached) " >&6
2416 if test -n "$CC"; then
2417 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2427 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 if test -n "$CC"; then
2438 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2439 $as_echo "$CC" >&6; }
2441 { $as_echo "$as_me:$LINENO: result: no" >&5
2442 $as_echo "no" >&6; }
2446 test -n "$CC" && break
2449 if test -z "$CC"; then
2451 for ac_prog in cl.exe
2453 # Extract the first word of "$ac_prog", so it can be a program name with args.
2454 set dummy $ac_prog; ac_word=$2
2455 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 $as_echo_n "checking for $ac_word... " >&6; }
2457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2458 $as_echo_n "(cached) " >&6
2460 if test -n "$ac_ct_CC"; then
2461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_ac_ct_CC="$ac_prog"
2471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2481 if test -n "$ac_ct_CC"; then
2482 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2483 $as_echo "$ac_ct_CC" >&6; }
2485 { $as_echo "$as_me:$LINENO: result: no" >&5
2486 $as_echo "no" >&6; }
2490 test -n "$ac_ct_CC" && break
2493 if test "x$ac_ct_CC" = x; then
2496 case $cross_compiling:$ac_tool_warned in
2498 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2499 whose name does not start with the host triplet. If you think this
2500 configuration is useful to you, please write to autoconf@gnu.org." >&5
2501 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2502 whose name does not start with the host triplet. If you think this
2503 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2504 ac_tool_warned=yes ;;
2513 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2514 See \`config.log
' for more details." >&5
2515 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2516 See \`config.log' for more details.
" >&2;}
2517 { (exit 1); exit 1; }; }
2519 # Provide some information about the compiler.
2520 $as_echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2523 { (ac_try="$ac_compiler --version >&5"
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2528 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2529 $as_echo "$ac_try_echo") >&5
2530 (eval "$ac_compiler --version >&5") 2>&5
2532 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2533 (exit $ac_status); }
2534 { (ac_try="$ac_compiler -v >&5"
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2540 $as_echo "$ac_try_echo") >&5
2541 (eval "$ac_compiler -v >&5") 2>&5
2543 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2544 (exit $ac_status); }
2545 { (ac_try="$ac_compiler -V >&5"
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2551 $as_echo "$ac_try_echo") >&5
2552 (eval "$ac_compiler -V >&5") 2>&5
2554 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2555 (exit $ac_status); }
2557 cat >conftest.$ac_ext <<_ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2572 ac_clean_files_save=$ac_clean_files
2573 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2574 # Try to create an executable without -o first, disregard a.out.
2575 # It will help us diagnose broken compilers, and finding out an intuition
2577 { $as_echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2578 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2581 # The possible output files:
2582 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2585 for ac_file in $ac_files
2588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2589 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2594 if { (ac_try="$ac_link_default"
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2599 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2600 $as_echo "$ac_try_echo") >&5
2601 (eval "$ac_link_default") 2>&5
2603 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2604 (exit $ac_status); }; then
2605 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2606 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2607 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2608 # so that the user can short-circuit this test for compilers unknown to
2610 for ac_file in $ac_files ''
2612 test -f "$ac_file" || continue
2614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2617 # We found the default executable, but exeext='' is most
2621 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2623 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2625 # We set ac_cv_exeext here because the later test for it is not
2626 # safe: cross compilers may not add the suffix if given an `-o'
2627 # argument, so we may need to know it at that point already.
2628 # Even if this section looks crufty: it has the advantage of
2635 test "$ac_cv_exeext" = no && ac_cv_exeext=
2641 { $as_echo "$as_me:$LINENO: result
: $ac_file" >&5
2642 $as_echo "$ac_file" >&6; }
2643 if test -z "$ac_file"; then
2644 $as_echo "$as_me: failed program was
:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2647 { { $as_echo "$as_me:$LINENO: error
: C compiler cannot create executables
2648 See \
`config.log' for more details." >&5
2649 $as_echo "$as_me: error: C compiler cannot create executables
2650 See \`config.log
' for more details." >&2;}
2651 { (exit 77); exit 77; }; }
2654 ac_exeext=$ac_cv_exeext
2656 # Check that the compiler produces executables we can run. If not, either
2657 # the compiler is broken, or we cross compile.
2658 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2659 $as_echo_n "checking whether the C compiler works... " >&6; }
2660 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2661 # If not cross compiling, check that we can run a simple program.
2662 if test "$cross_compiling" != yes; then
2663 if { ac_try='.
/$ac_file'
2664 { (case "(($ac_try" in
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2669 $as_echo "$ac_try_echo") >&5
2670 (eval "$ac_try") 2>&5
2672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }; }; then
2676 if test "$cross_compiling" = maybe; then
2679 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2680 If you meant to cross compile, use \`--host'.
2681 See \
`config.log' for more details." >&5
2682 $as_echo "$as_me: error: cannot run C compiled programs.
2683 If you meant to cross compile, use \`--host'.
2684 See \`config.log' for more details.
" >&2;}
2685 { (exit 1); exit 1; }; }
2689 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2690 $as_echo "yes" >&6; }
2692 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2693 ac_clean_files=$ac_clean_files_save
2694 # Check that the compiler produces executables we can run. If not, either
2695 # the compiler is broken, or we cross compile.
2696 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2697 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2698 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2699 $as_echo "$cross_compiling" >&6; }
2701 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2702 $as_echo_n "checking
for suffix of executables...
" >&6; }
2703 if { (ac_try="$ac_link"
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2708 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2709 $as_echo "$ac_try_echo") >&5
2710 (eval "$ac_link") 2>&5
2712 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2713 (exit $ac_status); }; then
2714 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2715 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2716 # work properly (i.e., refer to `conftest.exe'), while it won't with
2718 for ac_file in conftest.exe conftest conftest.*; do
2719 test -f "$ac_file" || continue
2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2722 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2728 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2729 See \
`config.log' for more details." >&5
2730 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2731 See \`config.log
' for more details." >&2;}
2732 { (exit 1); exit 1; }; }
2735 rm -f conftest$ac_cv_exeext
2736 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2737 $as_echo "$ac_cv_exeext" >&6; }
2739 rm -f conftest.$ac_ext
2740 EXEEXT=$ac_cv_exeext
2742 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2743 $as_echo_n "checking for suffix of object files... " >&6; }
2744 if test "${ac_cv_objext+set}" = set; then
2745 $as_echo_n "(cached) " >&6
2747 cat >conftest.$ac_ext <<_ACEOF
2750 cat confdefs.h >>conftest.$ac_ext
2751 cat >>conftest.$ac_ext <<_ACEOF
2752 /* end confdefs.h. */
2762 rm -f conftest.o conftest.obj
2763 if { (ac_try="$ac_compile"
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2769 $as_echo "$ac_try_echo") >&5
2770 (eval "$ac_compile") 2>&5
2772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; then
2774 for ac_file in conftest.o conftest.obj conftest.*; do
2775 test -f "$ac_file" || continue;
2777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2778 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2783 $as_echo "$as_me: failed program was:" >&5
2784 sed 's
/^
/|
/' conftest.$ac_ext >&5
2786 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2787 See \`config.log' for more details.
" >&5
2788 $as_echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2789 See \
`config.log' for more details." >&2;}
2790 { (exit 1); exit 1; }; }
2793 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2795 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2796 $as_echo "$ac_cv_objext" >&6; }
2797 OBJEXT=$ac_cv_objext
2799 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2800 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2801 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2802 $as_echo_n "(cached) " >&6
2804 cat >conftest.$ac_ext <<_ACEOF
2807 cat confdefs.h >>conftest.$ac_ext
2808 cat >>conftest.$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2826 *) ac_try_echo
=$ac_try;;
2828 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2829 $as_echo "$ac_try_echo") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } && {
2837 test -z "$ac_c_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.
$ac_objext; then
2842 $as_echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2849 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2852 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2854 if test $ac_compiler_gnu = yes; then
2859 ac_test_CFLAGS
=${CFLAGS+set}
2860 ac_save_CFLAGS
=$CFLAGS
2861 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2863 if test "${ac_cv_prog_cc_g+set}" = set; then
2864 $as_echo_n "(cached) " >&6
2866 ac_save_c_werror_flag
=$ac_c_werror_flag
2867 ac_c_werror_flag
=yes
2870 cat >conftest.
$ac_ext <<_ACEOF
2873 cat confdefs.h
>>conftest.
$ac_ext
2874 cat >>conftest.
$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2885 rm -f conftest.
$ac_objext
2886 if { (ac_try
="$ac_compile"
2888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2892 $as_echo "$ac_try_echo") >&5
2893 (eval "$ac_compile") 2>conftest.er1
2895 grep -v '^ *+' conftest.er1 >conftest.err
2897 cat conftest.err >&5
2898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } && {
2900 test -z "$ac_c_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest.$ac_objext; then
2905 $as_echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2909 cat >conftest.$ac_ext <<_ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2924 rm -f conftest.$ac_objext
2925 if { (ac_try="$ac_compile"
2927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2928 *) ac_try_echo
=$ac_try;;
2930 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2931 $as_echo "$ac_try_echo") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2934 grep -v '^ *+' conftest.er1
>conftest.err
2936 cat conftest.err
>&5
2937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.
$ac_objext; then
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.
$ac_ext >&5
2947 ac_c_werror_flag
=$ac_save_c_werror_flag
2949 cat >conftest.
$ac_ext <<_ACEOF
2952 cat confdefs.h
>>conftest.
$ac_ext
2953 cat >>conftest.
$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2964 rm -f conftest.
$ac_objext
2965 if { (ac_try
="$ac_compile"
2967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971 $as_echo "$ac_try_echo") >&5
2972 (eval "$ac_compile") 2>conftest.er1
2974 grep -v '^ *+' conftest.er1 >conftest.err
2976 cat conftest.err >&5
2977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } && {
2979 test -z "$ac_c_werror_flag" ||
2980 test ! -s conftest.err
2981 } && test -s conftest.$ac_objext; then
2984 $as_echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 ac_c_werror_flag=$ac_save_c_werror_flag
2999 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 $as_echo "$ac_cv_prog_cc_g" >&6; }
3001 if test "$ac_test_CFLAGS" = set; then
3002 CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004 if test "$GCC" = yes; then
3010 if test "$GCC" = yes; then
3016 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3017 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3018 if test "${ac_cv_prog_cc_c89+set}" = set; then
3019 $as_echo_n "(cached) " >&6
3021 ac_cv_prog_cc_c89=no
3023 cat >conftest.$ac_ext <<_ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3031 #include <sys/types.h>
3032 #include <sys/stat.h>
3033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3034 struct buf { int x; };
3035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3036 static char *e (p, i)
3042 static char *f (char * (*g) (char **, int), char **p, ...)
3047 s = g (p, va_arg (v,int));
3052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3053 function prototypes and stuff, but not '\xHH' hex character constants.
3054 These don't provoke an error unfortunately, instead are silently treated
3055 as 'x'. The following induces an error, until -std is added to get
3056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3057 array size at least. It's necessary to write '\x00'==0 to get something
3058 that's true only with -std. */
3059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3061 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3062 inside strings and character constants. */
3064 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3066 int test (int i, double x);
3067 struct s1 {int (*f) (int a);};
3068 struct s2 {int (*f) (double a);};
3069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3075 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3080 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3081 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3083 CC="$ac_save_CC $ac_arg"
3084 rm -f conftest.$ac_objext
3085 if { (ac_try="$ac_compile"
3087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3088 *) ac_try_echo
=$ac_try;;
3090 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3091 $as_echo "$ac_try_echo") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3094 grep -v '^ *+' conftest.er1
>conftest.err
3096 cat conftest.err
>&5
3097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); } && {
3099 test -z "$ac_c_werror_flag" ||
3100 test ! -s conftest.err
3101 } && test -s conftest.
$ac_objext; then
3102 ac_cv_prog_cc_c89
=$ac_arg
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.
$ac_ext >&5
3110 rm -f core conftest.err conftest.
$ac_objext
3111 test "x$ac_cv_prog_cc_c89" != "xno" && break
3113 rm -f conftest.
$ac_ext
3118 case "x$ac_cv_prog_cc_c89" in
3120 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3121 $as_echo "none needed" >&6; } ;;
3123 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3124 $as_echo "unsupported" >&6; } ;;
3126 CC
="$CC $ac_cv_prog_cc_c89"
3127 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3128 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3133 ac_cpp
='$CPP $CPPFLAGS'
3134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3138 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3139 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3140 if test "${ac_cv_path_SED+set}" = set; then
3141 $as_echo_n "(cached) " >&6
3143 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3144 for ac_i
in 1 2 3 4 5 6 7; do
3145 ac_script
="$ac_script$as_nl$ac_script"
3147 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3148 $as_unset ac_script || ac_script
=
3149 if test -z "$SED"; then
3150 ac_path_SED_found
=false
3151 # Loop through the user's path and test for each of PROGNAME-LIST
3152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3156 test -z "$as_dir" && as_dir
=.
3157 for ac_prog
in sed gsed
; do
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3160 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3161 # Check for GNU ac_path_SED and select it if it is found.
3162 # Check for GNU $ac_path_SED
3163 case `"$ac_path_SED" --version 2>&1` in
3165 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3168 $as_echo_n 0123456789 >"conftest.in"
3171 cat "conftest.in" "conftest.in" >"conftest.tmp"
3172 mv "conftest.tmp" "conftest.in"
3173 cp "conftest.in" "conftest.nl"
3174 $as_echo '' >> "conftest.nl"
3175 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3176 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3177 ac_count
=`expr $ac_count + 1`
3178 if test $ac_count -gt ${ac_path_SED_max-0}; then
3179 # Best one so far, save it but keep looking for a better one
3180 ac_cv_path_SED
="$ac_path_SED"
3181 ac_path_SED_max
=$ac_count
3183 # 10*(2^10) chars as input seems more than enough
3184 test $ac_count -gt 10 && break
3186 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3189 $ac_path_SED_found && break 3
3194 if test -z "$ac_cv_path_SED"; then
3195 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3196 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3197 { (exit 1); exit 1; }; }
3204 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3205 $as_echo "$ac_cv_path_SED" >&6; }
3206 SED
="$ac_cv_path_SED"
3209 test -z "$SED" && SED
=sed
3210 Xsed
="$SED -e 1s/^X//"
3222 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3223 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3224 if test "${ac_cv_path_GREP+set}" = set; then
3225 $as_echo_n "(cached) " >&6
3227 if test -z "$GREP"; then
3228 ac_path_GREP_found
=false
3229 # Loop through the user's path and test for each of PROGNAME-LIST
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3231 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_prog
in grep ggrep
; do
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3238 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3239 # Check for GNU ac_path_GREP and select it if it is found.
3240 # Check for GNU $ac_path_GREP
3241 case `"$ac_path_GREP" --version 2>&1` in
3243 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3246 $as_echo_n 0123456789 >"conftest.in"
3249 cat "conftest.in" "conftest.in" >"conftest.tmp"
3250 mv "conftest.tmp" "conftest.in"
3251 cp "conftest.in" "conftest.nl"
3252 $as_echo 'GREP' >> "conftest.nl"
3253 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3254 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3255 ac_count
=`expr $ac_count + 1`
3256 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3257 # Best one so far, save it but keep looking for a better one
3258 ac_cv_path_GREP
="$ac_path_GREP"
3259 ac_path_GREP_max
=$ac_count
3261 # 10*(2^10) chars as input seems more than enough
3262 test $ac_count -gt 10 && break
3264 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3267 $ac_path_GREP_found && break 3
3272 if test -z "$ac_cv_path_GREP"; then
3273 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3274 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3275 { (exit 1); exit 1; }; }
3278 ac_cv_path_GREP
=$GREP
3282 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3283 $as_echo "$ac_cv_path_GREP" >&6; }
3284 GREP
="$ac_cv_path_GREP"
3287 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3288 $as_echo_n "checking for egrep... " >&6; }
3289 if test "${ac_cv_path_EGREP+set}" = set; then
3290 $as_echo_n "(cached) " >&6
3292 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3293 then ac_cv_path_EGREP
="$GREP -E"
3295 if test -z "$EGREP"; then
3296 ac_path_EGREP_found
=false
3297 # Loop through the user's path and test for each of PROGNAME-LIST
3298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3302 test -z "$as_dir" && as_dir
=.
3303 for ac_prog
in egrep; do
3304 for ac_exec_ext
in '' $ac_executable_extensions; do
3305 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3306 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3307 # Check for GNU ac_path_EGREP and select it if it is found.
3308 # Check for GNU $ac_path_EGREP
3309 case `"$ac_path_EGREP" --version 2>&1` in
3311 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3314 $as_echo_n 0123456789 >"conftest.in"
3317 cat "conftest.in" "conftest.in" >"conftest.tmp"
3318 mv "conftest.tmp" "conftest.in"
3319 cp "conftest.in" "conftest.nl"
3320 $as_echo 'EGREP' >> "conftest.nl"
3321 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3322 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3323 ac_count
=`expr $ac_count + 1`
3324 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3325 # Best one so far, save it but keep looking for a better one
3326 ac_cv_path_EGREP
="$ac_path_EGREP"
3327 ac_path_EGREP_max
=$ac_count
3329 # 10*(2^10) chars as input seems more than enough
3330 test $ac_count -gt 10 && break
3332 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3335 $ac_path_EGREP_found && break 3
3340 if test -z "$ac_cv_path_EGREP"; then
3341 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3342 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3343 { (exit 1); exit 1; }; }
3346 ac_cv_path_EGREP
=$EGREP
3351 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3352 $as_echo "$ac_cv_path_EGREP" >&6; }
3353 EGREP
="$ac_cv_path_EGREP"
3356 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3357 $as_echo_n "checking for fgrep... " >&6; }
3358 if test "${ac_cv_path_FGREP+set}" = set; then
3359 $as_echo_n "(cached) " >&6
3361 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
3362 then ac_cv_path_FGREP
="$GREP -F"
3364 if test -z "$FGREP"; then
3365 ac_path_FGREP_found
=false
3366 # Loop through the user's path and test for each of PROGNAME-LIST
3367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3368 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3371 test -z "$as_dir" && as_dir
=.
3372 for ac_prog
in fgrep
; do
3373 for ac_exec_ext
in '' $ac_executable_extensions; do
3374 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
3375 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
3376 # Check for GNU ac_path_FGREP and select it if it is found.
3377 # Check for GNU $ac_path_FGREP
3378 case `"$ac_path_FGREP" --version 2>&1` in
3380 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
3383 $as_echo_n 0123456789 >"conftest.in"
3386 cat "conftest.in" "conftest.in" >"conftest.tmp"
3387 mv "conftest.tmp" "conftest.in"
3388 cp "conftest.in" "conftest.nl"
3389 $as_echo 'FGREP' >> "conftest.nl"
3390 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3391 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3392 ac_count
=`expr $ac_count + 1`
3393 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3394 # Best one so far, save it but keep looking for a better one
3395 ac_cv_path_FGREP
="$ac_path_FGREP"
3396 ac_path_FGREP_max
=$ac_count
3398 # 10*(2^10) chars as input seems more than enough
3399 test $ac_count -gt 10 && break
3401 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3404 $ac_path_FGREP_found && break 3
3409 if test -z "$ac_cv_path_FGREP"; then
3410 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3411 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3412 { (exit 1); exit 1; }; }
3415 ac_cv_path_FGREP
=$FGREP
3420 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
3421 $as_echo "$ac_cv_path_FGREP" >&6; }
3422 FGREP
="$ac_cv_path_FGREP"
3425 test -z "$GREP" && GREP
=grep
3445 # Check whether --with-gnu-ld was given.
3446 if test "${with_gnu_ld+set}" = set; then
3447 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3453 if test "$GCC" = yes; then
3454 # Check if gcc -print-prog-name=ld gives a path.
3455 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3456 $as_echo_n "checking for ld used by $CC... " >&6; }
3459 # gcc leaves a trailing carriage return which upsets mingw
3460 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3462 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3465 # Accept absolute paths.
3467 re_direlt
='/[^/][^/]*/\.\./'
3468 # Canonicalize the pathname of ld
3469 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3470 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3471 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3473 test -z "$LD" && LD
="$ac_prog"
3476 # If it fails, then pretend we aren't using GCC.
3480 # If it is relative, then search for the first ld in PATH.
3484 elif test "$with_gnu_ld" = yes; then
3485 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
3486 $as_echo_n "checking for GNU ld... " >&6; }
3488 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3489 $as_echo_n "checking for non-GNU ld... " >&6; }
3491 if test "${lt_cv_path_LD+set}" = set; then
3492 $as_echo_n "(cached) " >&6
3494 if test -z "$LD"; then
3495 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3496 for ac_dir
in $PATH; do
3498 test -z "$ac_dir" && ac_dir
=.
3499 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3500 lt_cv_path_LD
="$ac_dir/$ac_prog"
3501 # Check to see if the program is GNU ld. I'd rather use --version,
3502 # but apparently some variants of GNU ld only accept -v.
3503 # Break only if it was the GNU/non-GNU ld that we prefer.
3504 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3505 *GNU
* |
*'with BFD'*)
3506 test "$with_gnu_ld" != no
&& break
3509 test "$with_gnu_ld" != yes && break
3516 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3521 if test -n "$LD"; then
3522 { $as_echo "$as_me:$LINENO: result: $LD" >&5
3523 $as_echo "$LD" >&6; }
3525 { $as_echo "$as_me:$LINENO: result: no" >&5
3526 $as_echo "no" >&6; }
3528 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3529 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3530 { (exit 1); exit 1; }; }
3531 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3532 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3533 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3534 $as_echo_n "(cached) " >&6
3536 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3537 case `$LD -v 2>&1 </dev/null` in
3538 *GNU
* |
*'with BFD'*)
3539 lt_cv_prog_gnu_ld
=yes
3542 lt_cv_prog_gnu_ld
=no
3546 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3547 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3548 with_gnu_ld
=$lt_cv_prog_gnu_ld
3558 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3559 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3560 if test "${lt_cv_path_NM+set}" = set; then
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$NM"; then
3564 # Let the user override the test.
3567 lt_nm_to_check
="${ac_tool_prefix}nm"
3568 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3569 lt_nm_to_check
="$lt_nm_to_check nm"
3571 for lt_tmp_nm
in $lt_nm_to_check; do
3572 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3573 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3575 test -z "$ac_dir" && ac_dir
=.
3576 tmp_nm
="$ac_dir/$lt_tmp_nm"
3577 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3578 # Check to see if the nm accepts a BSD-compat flag.
3579 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3580 # nm: unknown option "B" ignored
3581 # Tru64's nm complains that /dev/null is an invalid object file
3582 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3583 */dev
/null
* |
*'Invalid file or object type'*)
3584 lt_cv_path_NM
="$tmp_nm -B"
3588 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3590 lt_cv_path_NM
="$tmp_nm -p"
3594 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3595 continue # so that we can try to find one that supports BSD flags
3604 : ${lt_cv_path_NM=no}
3607 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3608 $as_echo "$lt_cv_path_NM" >&6; }
3609 if test "$lt_cv_path_NM" != "no"; then
3612 # Didn't find any BSD compatible name lister, look for dumpbin.
3613 if test -n "$ac_tool_prefix"; then
3614 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3617 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$DUMPBIN"; then
3624 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3634 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 DUMPBIN
=$ac_cv_prog_DUMPBIN
3644 if test -n "$DUMPBIN"; then
3645 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3646 $as_echo "$DUMPBIN" >&6; }
3648 { $as_echo "$as_me:$LINENO: result: no" >&5
3649 $as_echo "no" >&6; }
3653 test -n "$DUMPBIN" && break
3656 if test -z "$DUMPBIN"; then
3657 ac_ct_DUMPBIN
=$DUMPBIN
3658 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3660 # Extract the first word of "$ac_prog", so it can be a program name with args.
3661 set dummy
$ac_prog; ac_word
=$2
3662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3663 $as_echo_n "checking for $ac_word... " >&6; }
3664 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3665 $as_echo_n "(cached) " >&6
3667 if test -n "$ac_ct_DUMPBIN"; then
3668 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir
=.
3675 for ac_exec_ext
in '' $ac_executable_extensions; do
3676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3677 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3678 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3688 if test -n "$ac_ct_DUMPBIN"; then
3689 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3690 $as_echo "$ac_ct_DUMPBIN" >&6; }
3692 { $as_echo "$as_me:$LINENO: result: no" >&5
3693 $as_echo "no" >&6; }
3697 test -n "$ac_ct_DUMPBIN" && break
3700 if test "x$ac_ct_DUMPBIN" = x
; then
3703 case $cross_compiling:$ac_tool_warned in
3705 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3706 whose name does not start with the host triplet. If you think this
3707 configuration is useful to you, please write to autoconf@gnu.org." >&5
3708 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3709 whose name does not start with the host triplet. If you think this
3710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3711 ac_tool_warned
=yes ;;
3713 DUMPBIN
=$ac_ct_DUMPBIN
3718 if test "$DUMPBIN" != ":"; then
3722 test -z "$NM" && NM
=nm
3729 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3730 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3731 if test "${lt_cv_nm_interface+set}" = set; then
3732 $as_echo_n "(cached) " >&6
3734 lt_cv_nm_interface
="BSD nm"
3735 echo "int some_variable = 0;" > conftest.
$ac_ext
3736 (eval echo "\"\$as_me:3736: $ac_compile\"" >&5)
3737 (eval "$ac_compile" 2>conftest.err
)
3738 cat conftest.err
>&5
3739 (eval echo "\"\$as_me:3739: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3740 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3741 cat conftest.err
>&5
3742 (eval echo "\"\$as_me:3742: output\"" >&5)
3743 cat conftest.out
>&5
3744 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3745 lt_cv_nm_interface
="MS dumpbin"
3749 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3750 $as_echo "$lt_cv_nm_interface" >&6; }
3752 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3753 $as_echo_n "checking whether ln -s works... " >&6; }
3755 if test "$LN_S" = "ln -s"; then
3756 { $as_echo "$as_me:$LINENO: result: yes" >&5
3757 $as_echo "yes" >&6; }
3759 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3760 $as_echo "no, using $LN_S" >&6; }
3763 # find the maximum length of command line arguments
3764 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3765 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3766 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3767 $as_echo_n "(cached) " >&6
3774 # On DJGPP, this test can blow up pretty badly due to problems in libc
3775 # (any single argument exceeding 2000 bytes causes a buffer overrun
3776 # during glob expansion). Even if it were fixed, the result of this
3777 # check would be larger than it should be.
3778 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3782 # Under GNU Hurd, this test is not required because there is
3783 # no limit to the length of command line arguments.
3784 # Libtool will interpret -1 as no limit whatsoever
3785 lt_cv_sys_max_cmd_len
=-1;
3788 cygwin
* | mingw
* | cegcc
*)
3789 # On Win9x/ME, this test blows up -- it succeeds, but takes
3790 # about 5 minutes as the teststring grows exponentially.
3791 # Worse, since 9x/ME are not pre-emptively multitasking,
3792 # you end up with a "frozen" computer, even though with patience
3793 # the test eventually succeeds (with a max line length of 256k).
3794 # Instead, let's just punt: use the minimum linelength reported by
3795 # all of the supported platforms: 8192 (on NT/2K/XP).
3796 lt_cv_sys_max_cmd_len
=8192;
3800 # On AmigaOS with pdksh, this test takes hours, literally.
3801 # So we just punt and use a minimum line length of 8192.
3802 lt_cv_sys_max_cmd_len
=8192;
3805 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3806 # This has been around since 386BSD, at least. Likely further.
3807 if test -x /sbin
/sysctl
; then
3808 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3809 elif test -x /usr
/sbin
/sysctl
; then
3810 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3812 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3814 # And add a safety zone
3815 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3816 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3820 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3821 lt_cv_sys_max_cmd_len
=196608
3825 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3826 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3827 # nice to cause kernel panics so lets avoid the loop below.
3828 # First set a reasonable default.
3829 lt_cv_sys_max_cmd_len
=16384
3831 if test -x /sbin
/sysconfig
; then
3832 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3833 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
3838 lt_cv_sys_max_cmd_len
=102400
3840 sysv5
* | sco5v6
* | sysv4.2uw2
*)
3841 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3842 if test -n "$kargmax"; then
3843 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
3845 lt_cv_sys_max_cmd_len
=32768
3849 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
3850 if test -n "$lt_cv_sys_max_cmd_len"; then
3851 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3852 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3854 # Make teststring a little bigger before we do anything with it.
3855 # a 1K string should be a reasonable start.
3856 for i
in 1 2 3 4 5 6 7 8 ; do
3857 teststring
=$teststring$teststring
3859 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
3860 # If test is not a shell built-in, we'll probably end up computing a
3861 # maximum length that is only half of the actual maximum length, but
3863 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3864 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
3865 test $i != 17 # 1/2 MB should be enough
3868 teststring
=$teststring$teststring
3870 # Only check the string length outside the loop.
3871 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
3873 # Add a significant safety factor because C++ compilers can tack on
3874 # massive amounts of additional arguments before passing them to the
3875 # linker. It appears as though 1/2 is a usable value.
3876 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
3883 if test -n $lt_cv_sys_max_cmd_len ; then
3884 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3885 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3887 { $as_echo "$as_me:$LINENO: result: none" >&5
3888 $as_echo "none" >&6; }
3890 max_cmd_len
=$lt_cv_sys_max_cmd_len
3901 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3902 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3903 # Try some XSI features
3906 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3908 && eval 'test $(( 1 + 1 )) -eq 2 \
3909 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3911 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
3912 $as_echo "$xsi_shell" >&6; }
3915 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
3916 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
3918 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
3920 && lt_shell_append=yes
3921 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
3922 $as_echo "$lt_shell_append" >&6; }
3925 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3935 # test EBCDIC or ASCII
3936 case `echo X|tr X '\101'` in
3937 A) # ASCII based system
3938 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3939 lt_SP2NL='tr \040 \012'
3940 lt_NL2SP='tr \015\012 \040\040'
3942 *) # EBCDIC based system
3943 lt_SP2NL='tr \100 \n'
3944 lt_NL2SP='tr \r\n \100\100'
3956 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
3957 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
3958 if test "${lt_cv_ld_reload_flag+set}" = set; then
3959 $as_echo_n "(cached
) " >&6
3961 lt_cv_ld_reload_flag='-r'
3963 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
3964 $as_echo "$lt_cv_ld_reload_flag" >&6; }
3965 reload_flag=$lt_cv_ld_reload_flag
3966 case $reload_flag in
3968 *) reload_flag=" $reload_flag" ;;
3970 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3973 if test "$GCC" = yes; then
3974 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3976 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
3991 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3992 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
3993 $as_echo_n "checking
for $ac_word...
" >&6; }
3994 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3995 $as_echo_n "(cached
) " >&6
3997 if test -n "$OBJDUMP"; then
3998 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4008 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4017 OBJDUMP=$ac_cv_prog_OBJDUMP
4018 if test -n "$OBJDUMP"; then
4019 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4020 $as_echo "$OBJDUMP" >&6; }
4022 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4023 $as_echo "no
" >&6; }
4028 if test -z "$ac_cv_prog_OBJDUMP"; then
4029 ac_ct_OBJDUMP=$OBJDUMP
4030 # Extract the first word of "objdump
", so it can be a program name with args.
4031 set dummy objdump; ac_word=$2
4032 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4033 $as_echo_n "checking
for $ac_word...
" >&6; }
4034 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4035 $as_echo_n "(cached
) " >&6
4037 if test -n "$ac_ct_OBJDUMP"; then
4038 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4048 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4057 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4058 if test -n "$ac_ct_OBJDUMP"; then
4059 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4060 $as_echo "$ac_ct_OBJDUMP" >&6; }
4062 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4063 $as_echo "no
" >&6; }
4066 if test "x
$ac_ct_OBJDUMP" = x; then
4069 case $cross_compiling:$ac_tool_warned in
4071 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4072 whose name does not start with the
host triplet. If you think this
4073 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4074 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4075 whose name does not start with the
host triplet. If you think this
4076 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4077 ac_tool_warned=yes ;;
4079 OBJDUMP=$ac_ct_OBJDUMP
4082 OBJDUMP="$ac_cv_prog_OBJDUMP"
4085 test -z "$OBJDUMP" && OBJDUMP=objdump
4095 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4096 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4097 if test "${lt_cv_deplibs_check_method+set}" = set; then
4098 $as_echo_n "(cached
) " >&6
4100 lt_cv_file_magic_cmd='$MAGIC_CMD'
4101 lt_cv_file_magic_test_file=
4102 lt_cv_deplibs_check_method='unknown'
4103 # Need to set the preceding variable on all platforms that support
4104 # interlibrary dependencies.
4105 # 'none' -- dependencies not supported.
4106 # `unknown' -- same as none, but documents that we really don't know.
4107 # 'pass_all' -- all dependencies passed with no checks.
4108 # 'test_compile' -- check by making test program.
4109 # 'file_magic [[regex]]' -- check by looking for files in library path
4110 # which responds to the $file_magic_cmd with a given extended regex.
4111 # If you have `file' or equivalent on your system and you're not sure
4112 # whether `pass_all' will *always* work, you probably want this one.
4116 lt_cv_deplibs_check_method=pass_all
4120 lt_cv_deplibs_check_method=pass_all
4124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4125 lt_cv_file_magic_cmd='/usr/bin/file -L'
4126 lt_cv_file_magic_test_file=/shlib/libc.so
4130 # func_win32_libid is a shell function defined in ltmain.sh
4131 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4132 lt_cv_file_magic_cmd='func_win32_libid'
4136 # Base MSYS/MinGW do not provide the 'file' command needed by
4137 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4138 # unless we find 'file', for example because we are cross-compiling.
4139 if ( file / ) >/dev/null 2>&1; then
4140 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4141 lt_cv_file_magic_cmd='func_win32_libid'
4143 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4144 lt_cv_file_magic_cmd='$OBJDUMP -f'
4149 # use the weaker test based on 'objdump'. See mingw*.
4150 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4151 lt_cv_file_magic_cmd='$OBJDUMP -f'
4154 darwin* | rhapsody*)
4155 lt_cv_deplibs_check_method=pass_all
4158 freebsd* | dragonfly*)
4159 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4162 # Not sure whether the presence of OpenBSD here was a mistake.
4163 # Let's accept both of them until this is cleared up.
4164 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4165 lt_cv_file_magic_cmd=/usr/bin/file
4166 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4170 lt_cv_deplibs_check_method=pass_all
4175 lt_cv_deplibs_check_method=pass_all
4178 hpux10.20* | hpux11*)
4179 lt_cv_file_magic_cmd=/usr/bin/file
4182 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4183 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4186 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]'
4187 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4190 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4191 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4197 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4201 irix5* | irix6* | nonstopux*)
4203 *-32|*"-32 ") libmagic=32-bit;;
4204 *-n32|*"-n32 ") libmagic=N32;;
4205 *-64|*"-64 ") libmagic=64-bit;;
4206 *) libmagic=never-match;;
4208 lt_cv_deplibs_check_method=pass_all
4211 # This must be Linux ELF.
4212 linux* | k*bsd*-gnu)
4213 lt_cv_deplibs_check_method=pass_all
4217 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4218 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4220 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4225 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4226 lt_cv_file_magic_cmd=/usr/bin/file
4227 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4231 lt_cv_deplibs_check_method=pass_all
4235 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4236 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4242 osf3* | osf4* | osf5*)
4243 lt_cv_deplibs_check_method=pass_all
4247 lt_cv_deplibs_check_method=pass_all
4251 lt_cv_deplibs_check_method=pass_all
4254 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4255 lt_cv_deplibs_check_method=pass_all
4259 case $host_vendor in
4261 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]'
4262 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4265 lt_cv_deplibs_check_method=pass_all
4268 lt_cv_file_magic_cmd='/bin/file'
4269 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4272 lt_cv_file_magic_cmd='/bin/file'
4273 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4274 lt_cv_file_magic_test_file=/lib/libc.so
4277 lt_cv_deplibs_check_method=pass_all
4280 lt_cv_deplibs_check_method=pass_all
4286 lt_cv_deplibs_check_method=pass_all
4291 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4292 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4293 file_magic_cmd=$lt_cv_file_magic_cmd
4294 deplibs_check_method=$lt_cv_deplibs_check_method
4295 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4308 if test -n "$ac_tool_prefix"; then
4309 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4310 set dummy ${ac_tool_prefix}ar; ac_word=$2
4311 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4312 $as_echo_n "checking
for $ac_word...
" >&6; }
4313 if test "${ac_cv_prog_AR+set}" = set; then
4314 $as_echo_n "(cached
) " >&6
4316 if test -n "$AR"; then
4317 ac_cv_prog_AR="$AR" # Let the user override the test.
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4326 ac_cv_prog_AR="${ac_tool_prefix}ar"
4327 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4337 if test -n "$AR"; then
4338 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
4339 $as_echo "$AR" >&6; }
4341 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4342 $as_echo "no
" >&6; }
4347 if test -z "$ac_cv_prog_AR"; then
4349 # Extract the first word of "ar", so it can be a program name with args.
4350 set dummy ar; ac_word=$2
4351 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4352 $as_echo_n "checking
for $ac_word...
" >&6; }
4353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4354 $as_echo_n "(cached
) " >&6
4356 if test -n "$ac_ct_AR"; then
4357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_prog_ac_ct_AR="ar"
4367 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4377 if test -n "$ac_ct_AR"; then
4378 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4379 $as_echo "$ac_ct_AR" >&6; }
4381 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4382 $as_echo "no
" >&6; }
4385 if test "x
$ac_ct_AR" = x; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4391 whose name does not start with the
host triplet. If you think this
4392 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4393 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4394 whose name does not start with the
host triplet. If you think this
4395 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4396 ac_tool_warned=yes ;;
4404 test -z "$AR" && AR=ar
4405 test -z "$AR_FLAGS" && AR_FLAGS=cru
4417 if test -n "$ac_tool_prefix"; then
4418 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4419 set dummy ${ac_tool_prefix}strip; ac_word=$2
4420 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4421 $as_echo_n "checking
for $ac_word...
" >&6; }
4422 if test "${ac_cv_prog_STRIP+set}" = set; then
4423 $as_echo_n "(cached
) " >&6
4425 if test -n "$STRIP"; then
4426 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4435 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4436 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4445 STRIP=$ac_cv_prog_STRIP
4446 if test -n "$STRIP"; then
4447 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
4448 $as_echo "$STRIP" >&6; }
4450 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4451 $as_echo "no
" >&6; }
4456 if test -z "$ac_cv_prog_STRIP"; then
4458 # Extract the first word of "strip
", so it can be a program name with args.
4459 set dummy strip; ac_word=$2
4460 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4461 $as_echo_n "checking
for $ac_word...
" >&6; }
4462 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4463 $as_echo_n "(cached
) " >&6
4465 if test -n "$ac_ct_STRIP"; then
4466 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 test -z "$as_dir" && as_dir=.
4473 for ac_exec_ext in '' $ac_executable_extensions; do
4474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475 ac_cv_prog_ac_ct_STRIP="strip
"
4476 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4485 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4486 if test -n "$ac_ct_STRIP"; then
4487 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4488 $as_echo "$ac_ct_STRIP" >&6; }
4490 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4491 $as_echo "no
" >&6; }
4494 if test "x
$ac_ct_STRIP" = x; then
4497 case $cross_compiling:$ac_tool_warned in
4499 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4500 whose name does not start with the
host triplet. If you think this
4501 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4502 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4503 whose name does not start with the
host triplet. If you think this
4504 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4505 ac_tool_warned=yes ;;
4510 STRIP="$ac_cv_prog_STRIP"
4513 test -z "$STRIP" && STRIP=:
4520 if test -n "$ac_tool_prefix"; then
4521 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4522 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4523 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4524 $as_echo_n "checking
for $ac_word...
" >&6; }
4525 if test "${ac_cv_prog_RANLIB+set}" = set; then
4526 $as_echo_n "(cached
) " >&6
4528 if test -n "$RANLIB"; then
4529 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4539 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4548 RANLIB=$ac_cv_prog_RANLIB
4549 if test -n "$RANLIB"; then
4550 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
4551 $as_echo "$RANLIB" >&6; }
4553 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4554 $as_echo "no
" >&6; }
4559 if test -z "$ac_cv_prog_RANLIB"; then
4560 ac_ct_RANLIB=$RANLIB
4561 # Extract the first word of "ranlib
", so it can be a program name with args.
4562 set dummy ranlib; ac_word=$2
4563 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4564 $as_echo_n "checking
for $ac_word...
" >&6; }
4565 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4566 $as_echo_n "(cached
) " >&6
4568 if test -n "$ac_ct_RANLIB"; then
4569 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4578 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4579 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4588 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4589 if test -n "$ac_ct_RANLIB"; then
4590 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4591 $as_echo "$ac_ct_RANLIB" >&6; }
4593 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4594 $as_echo "no
" >&6; }
4597 if test "x
$ac_ct_RANLIB" = x; then
4600 case $cross_compiling:$ac_tool_warned in
4602 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4603 whose name does not start with the
host triplet. If you think this
4604 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4605 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4606 whose name does not start with the
host triplet. If you think this
4607 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4608 ac_tool_warned=yes ;;
4610 RANLIB=$ac_ct_RANLIB
4613 RANLIB="$ac_cv_prog_RANLIB"
4616 test -z "$RANLIB" && RANLIB=:
4623 # Determine commands to create old-style static archives.
4624 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4625 old_postinstall_cmds='chmod 644 $oldlib'
4626 old_postuninstall_cmds=
4628 if test -n "$RANLIB"; then
4631 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4634 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4637 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4673 # If no C compiler was specified, use CC.
4676 # If no C compiler flags were specified, use CFLAGS.
4677 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4679 # Allow CC to be a program name with arguments.
4683 # Check for command to grab the raw symbol name followed by C symbol from nm.
4684 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4685 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4686 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4687 $as_echo_n "(cached
) " >&6
4690 # These are sane defaults that work on at least a few old systems.
4691 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4693 # Character class describing NM global symbol codes.
4694 symcode='[BCDEGRST]'
4696 # Regexp to match symbols that can be accessed directly from C.
4697 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4699 # Define system-specific variables.
4704 cygwin* | mingw* | pw32* | cegcc*)
4705 symcode='[ABCDGISTW]'
4708 if test "$host_cpu" = ia64; then
4709 symcode='[ABCDEGRST]'
4713 symcode='[BCDEGRST]'
4716 symcode='[BCDEGQRST]'
4727 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4735 # If we're using GNU nm, then use its standard symbol codes.
4736 case `$NM -V 2>&1` in
4737 *GNU* | *'with BFD'*)
4738 symcode='[ABCDGIRSTW]' ;;
4741 # Transform an extracted symbol line into a proper C declaration.
4742 # Some systems (esp. on ia64) link data and code symbols differently,
4743 # so use this general approach.
4744 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4746 # Transform an extracted symbol line into symbol name and symbol address
4747 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4748 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'"
4750 # Handle CRLF in mingw tool chain
4754 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4758 # Try without a prefix underscore, then with it.
4759 for ac_symprfx in "" "_
"; do
4761 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4762 symxfrm="\\1 $ac_symprfx\\2 \\2"
4764 # Write the raw and C identifiers.
4765 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4766 # Fake it for dumpbin and say T for any non-static function
4767 # and D for any global variable.
4768 # Also find C++ and __fastcall symbols from MSVC++,
4769 # which start with @ or ?.
4770 lt_cv_sys_global_symbol_pipe="$AWK '"\
4771 " {last_section=section; section=\$ 3};"\
4772 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4773 " \$ 0!~/External *\|/{next};"\
4774 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4775 " {if(hide[section]) next};"\
4776 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4777 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4778 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4779 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4780 " ' prfx
=^
$ac_symprfx"
4782 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4785 # Check to see that the pipe works correctly.
4789 cat > conftest.$ac_ext <<_LT_EOF
4794 void nm_test_func(void);
4795 void nm_test_func(void){}
4799 int main(){nm_test_var='a';nm_test_func();return(0);}
4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4803 (eval $ac_compile) 2>&5
4805 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4806 (exit $ac_status); }; then
4807 # Now try to grab the symbols.
4809 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4810 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4812 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4813 (exit $ac_status); } && test -s "$nlist"; then
4814 # Try sorting and uniquifying the output.
4815 if sort "$nlist" | uniq > "$nlist"T; then
4816 mv -f "$nlist"T "$nlist"
4821 # Make sure that we snagged all the symbols we need.
4822 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4823 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4824 cat <<_LT_EOF > conftest.$ac_ext
4830 # Now generate the symbol file.
4831 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4833 cat <<_LT_EOF >> conftest.$ac_ext
4835 /* The mapping between symbol names and symbols. */
4840 lt__PROGRAM__LTX_preloaded_symbols[] =
4842 { "@PROGRAM@
", (void *) 0 },
4844 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4845 cat <<\_LT_EOF >> conftest.$ac_ext
4849 /* This works around a problem in FreeBSD linker */
4850 #ifdef FREEBSD_WORKAROUND
4851 static const void *lt_preloaded_setup() {
4852 return lt__PROGRAM__LTX_preloaded_symbols;
4860 # Now try linking the two files.
4861 mv conftest.$ac_objext conftstm.$ac_objext
4862 lt_save_LIBS="$LIBS"
4863 lt_save_CFLAGS="$CFLAGS"
4864 LIBS="conftstm.
$ac_objext"
4865 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4867 (eval $ac_link) 2>&5
4869 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4870 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4873 LIBS="$lt_save_LIBS"
4874 CFLAGS="$lt_save_CFLAGS"
4876 echo "cannot
find nm_test_func
in $nlist" >&5
4879 echo "cannot
find nm_test_var
in $nlist" >&5
4882 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4885 echo "$progname: failed program was
:" >&5
4886 cat conftest.$ac_ext >&5
4888 rm -rf conftest* conftst*
4890 # Do not use the global_symbol_pipe unless it works.
4891 if test "$pipe_works" = yes; then
4894 lt_cv_sys_global_symbol_pipe=
4900 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4901 lt_cv_sys_global_symbol_to_cdecl=
4903 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4904 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
4905 $as_echo "failed
" >&6; }
4907 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
4908 $as_echo "ok
" >&6; }
4933 # Check whether --enable-libtool-lock was given.
4934 if test "${enable_libtool_lock+set}" = set; then
4935 enableval=$enable_libtool_lock;
4938 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4940 # Some flags need to be propagated to the compiler or linker for good
4944 # Find out which ABI we are using.
4945 echo 'int i;' > conftest.$ac_ext
4946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4947 (eval $ac_compile) 2>&5
4949 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4950 (exit $ac_status); }; then
4951 case `/usr/bin/file conftest.$ac_objext` in
4963 # Find out which ABI we are using.
4964 echo '#line 4964 "configure
"' > conftest.$ac_ext
4965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4966 (eval $ac_compile) 2>&5
4968 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4969 (exit $ac_status); }; then
4970 if test "$lt_cv_prog_gnu_ld" = yes; then
4971 case `/usr/bin/file conftest.$ac_objext` in
4973 LD="${LD-ld} -melf32bsmip"
4976 LD="${LD-ld} -melf32bmipn32"
4979 LD="${LD-ld} -melf64bmip"
4983 case `/usr/bin/file conftest.$ac_objext` in
4999 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5000 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5001 # Find out which ABI we are using.
5002 echo 'int i;' > conftest.$ac_ext
5003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5004 (eval $ac_compile) 2>&5
5006 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5007 (exit $ac_status); }; then
5008 case `/usr/bin/file conftest.o` in
5011 x86_64-*kfreebsd*-gnu)
5012 LD="${LD-ld} -m elf_i386_fbsd
"
5015 LD="${LD-ld} -m elf_i386
"
5017 ppc64-*linux*|powerpc64-*linux*)
5018 LD="${LD-ld} -m elf32ppclinux
"
5021 LD="${LD-ld} -m elf_s390
"
5024 LD="${LD-ld} -m elf32_sparc
"
5030 x86_64-*kfreebsd*-gnu)
5031 LD="${LD-ld} -m elf_x86_64_fbsd
"
5034 LD="${LD-ld} -m elf_x86_64
"
5036 ppc*-*linux*|powerpc*-*linux*)
5037 LD="${LD-ld} -m elf64ppc
"
5039 s390*-*linux*|s390*-*tpf*)
5040 LD="${LD-ld} -m elf64_s390
"
5043 LD="${LD-ld} -m elf64_sparc
"
5053 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5054 SAVE_CFLAGS="$CFLAGS"
5055 CFLAGS="$CFLAGS -belf"
5056 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5057 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5058 if test "${lt_cv_cc_needs_belf+set}" = set; then
5059 $as_echo_n "(cached
) " >&6
5062 ac_cpp='$CPP $CPPFLAGS'
5063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067 cat >conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5082 rm -f conftest.$ac_objext conftest$ac_exeext
5083 if { (ac_try="$ac_link"
5085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5086 *) ac_try_echo=$ac_try;;
5088 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5089 $as_echo "$ac_try_echo") >&5
5090 (eval "$ac_link") 2>conftest.er1
5092 grep -v '^ *+' conftest.er1 >conftest.err
5094 cat conftest.err >&5
5095 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5096 (exit $ac_status); } && {
5097 test -z "$ac_c_werror_flag" ||
5098 test ! -s conftest.err
5099 } && test -s conftest$ac_exeext && {
5100 test "$cross_compiling" = yes ||
5101 $as_test_x conftest$ac_exeext
5103 lt_cv_cc_needs_belf=yes
5105 $as_echo "$as_me: failed program was
:" >&5
5106 sed 's/^/| /' conftest.$ac_ext >&5
5108 lt_cv_cc_needs_belf=no
5111 rm -rf conftest.dSYM
5112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5113 conftest$ac_exeext conftest.$ac_ext
5115 ac_cpp='$CPP $CPPFLAGS'
5116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5121 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5122 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5123 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5124 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5125 CFLAGS="$SAVE_CFLAGS"
5129 # Find out which ABI we are using.
5130 echo 'int i;' > conftest.$ac_ext
5131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5132 (eval $ac_compile) 2>&5
5134 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5135 (exit $ac_status); }; then
5136 case `/usr/bin/file conftest.o` in
5138 case $lt_cv_prog_gnu_ld in
5139 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5141 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5153 need_locks="$enable_libtool_lock"
5157 rhapsody* | darwin*)
5158 if test -n "$ac_tool_prefix"; then
5159 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5160 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5161 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5162 $as_echo_n "checking
for $ac_word...
" >&6; }
5163 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5164 $as_echo_n "(cached
) " >&6
5166 if test -n "$DSYMUTIL"; then
5167 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5176 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5177 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5186 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5187 if test -n "$DSYMUTIL"; then
5188 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5189 $as_echo "$DSYMUTIL" >&6; }
5191 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5192 $as_echo "no
" >&6; }
5197 if test -z "$ac_cv_prog_DSYMUTIL"; then
5198 ac_ct_DSYMUTIL=$DSYMUTIL
5199 # Extract the first word of "dsymutil
", so it can be a program name with args.
5200 set dummy dsymutil; ac_word=$2
5201 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5202 $as_echo_n "checking
for $ac_word...
" >&6; }
5203 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5204 $as_echo_n "(cached
) " >&6
5206 if test -n "$ac_ct_DSYMUTIL"; then
5207 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5217 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5226 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5227 if test -n "$ac_ct_DSYMUTIL"; then
5228 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5229 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5231 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5232 $as_echo "no
" >&6; }
5235 if test "x
$ac_ct_DSYMUTIL" = x; then
5238 case $cross_compiling:$ac_tool_warned in
5240 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5241 whose name does not start with the
host triplet. If you think this
5242 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5243 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5244 whose name does not start with the
host triplet. If you think this
5245 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5246 ac_tool_warned=yes ;;
5248 DSYMUTIL=$ac_ct_DSYMUTIL
5251 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5254 if test -n "$ac_tool_prefix"; then
5255 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5256 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5257 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5258 $as_echo_n "checking
for $ac_word...
" >&6; }
5259 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5260 $as_echo_n "(cached
) " >&6
5262 if test -n "$NMEDIT"; then
5263 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5273 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5282 NMEDIT=$ac_cv_prog_NMEDIT
5283 if test -n "$NMEDIT"; then
5284 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5285 $as_echo "$NMEDIT" >&6; }
5287 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5288 $as_echo "no
" >&6; }
5293 if test -z "$ac_cv_prog_NMEDIT"; then
5294 ac_ct_NMEDIT=$NMEDIT
5295 # Extract the first word of "nmedit
", so it can be a program name with args.
5296 set dummy nmedit; ac_word=$2
5297 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5298 $as_echo_n "checking
for $ac_word...
" >&6; }
5299 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5300 $as_echo_n "(cached
) " >&6
5302 if test -n "$ac_ct_NMEDIT"; then
5303 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5313 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5322 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5323 if test -n "$ac_ct_NMEDIT"; then
5324 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5325 $as_echo "$ac_ct_NMEDIT" >&6; }
5327 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5328 $as_echo "no
" >&6; }
5331 if test "x
$ac_ct_NMEDIT" = x; then
5334 case $cross_compiling:$ac_tool_warned in
5336 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5337 whose name does not start with the
host triplet. If you think this
5338 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5339 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5340 whose name does not start with the
host triplet. If you think this
5341 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5342 ac_tool_warned=yes ;;
5344 NMEDIT=$ac_ct_NMEDIT
5347 NMEDIT="$ac_cv_prog_NMEDIT"
5350 if test -n "$ac_tool_prefix"; then
5351 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5352 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5353 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5354 $as_echo_n "checking
for $ac_word...
" >&6; }
5355 if test "${ac_cv_prog_LIPO+set}" = set; then
5356 $as_echo_n "(cached
) " >&6
5358 if test -n "$LIPO"; then
5359 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5369 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5378 LIPO=$ac_cv_prog_LIPO
5379 if test -n "$LIPO"; then
5380 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
5381 $as_echo "$LIPO" >&6; }
5383 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5384 $as_echo "no
" >&6; }
5389 if test -z "$ac_cv_prog_LIPO"; then
5391 # Extract the first word of "lipo
", so it can be a program name with args.
5392 set dummy lipo; ac_word=$2
5393 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5394 $as_echo_n "checking
for $ac_word...
" >&6; }
5395 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5396 $as_echo_n "(cached
) " >&6
5398 if test -n "$ac_ct_LIPO"; then
5399 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_ac_ct_LIPO="lipo
"
5409 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5418 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5419 if test -n "$ac_ct_LIPO"; then
5420 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
5421 $as_echo "$ac_ct_LIPO" >&6; }
5423 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5424 $as_echo "no
" >&6; }
5427 if test "x
$ac_ct_LIPO" = x; then
5430 case $cross_compiling:$ac_tool_warned in
5432 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5433 whose name does not start with the
host triplet. If you think this
5434 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5435 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5436 whose name does not start with the
host triplet. If you think this
5437 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5438 ac_tool_warned=yes ;;
5443 LIPO="$ac_cv_prog_LIPO"
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}otool; ac_word=$2
5449 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5450 $as_echo_n "checking
for $ac_word...
" >&6; }
5451 if test "${ac_cv_prog_OTOOL+set}" = set; then
5452 $as_echo_n "(cached
) " >&6
5454 if test -n "$OTOOL"; then
5455 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5465 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5474 OTOOL=$ac_cv_prog_OTOOL
5475 if test -n "$OTOOL"; then
5476 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
5477 $as_echo "$OTOOL" >&6; }
5479 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5480 $as_echo "no
" >&6; }
5485 if test -z "$ac_cv_prog_OTOOL"; then
5487 # Extract the first word of "otool
", so it can be a program name with args.
5488 set dummy otool; ac_word=$2
5489 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5490 $as_echo_n "checking
for $ac_word...
" >&6; }
5491 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5492 $as_echo_n "(cached
) " >&6
5494 if test -n "$ac_ct_OTOOL"; then
5495 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_OTOOL="otool
"
5505 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5515 if test -n "$ac_ct_OTOOL"; then
5516 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
5517 $as_echo "$ac_ct_OTOOL" >&6; }
5519 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5520 $as_echo "no
" >&6; }
5523 if test "x
$ac_ct_OTOOL" = x; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5529 whose name does not start with the
host triplet. If you think this
5530 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5531 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5532 whose name does not start with the
host triplet. If you think this
5533 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5534 ac_tool_warned=yes ;;
5539 OTOOL="$ac_cv_prog_OTOOL"
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5545 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5546 $as_echo_n "checking
for $ac_word...
" >&6; }
5547 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5548 $as_echo_n "(cached
) " >&6
5550 if test -n "$OTOOL64"; then
5551 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5561 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5570 OTOOL64=$ac_cv_prog_OTOOL64
5571 if test -n "$OTOOL64"; then
5572 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
5573 $as_echo "$OTOOL64" >&6; }
5575 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5576 $as_echo "no
" >&6; }
5581 if test -z "$ac_cv_prog_OTOOL64"; then
5582 ac_ct_OTOOL64=$OTOOL64
5583 # Extract the first word of "otool64
", so it can be a program name with args.
5584 set dummy otool64; ac_word=$2
5585 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5586 $as_echo_n "checking
for $ac_word...
" >&6; }
5587 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5588 $as_echo_n "(cached
) " >&6
5590 if test -n "$ac_ct_OTOOL64"; then
5591 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5601 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5611 if test -n "$ac_ct_OTOOL64"; then
5612 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
5613 $as_echo "$ac_ct_OTOOL64" >&6; }
5615 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5616 $as_echo "no
" >&6; }
5619 if test "x
$ac_ct_OTOOL64" = x; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5625 whose name does not start with the
host triplet. If you think this
5626 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5627 $as_echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5628 whose name does not start with the
host triplet. If you think this
5629 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5630 ac_tool_warned=yes ;;
5632 OTOOL64=$ac_ct_OTOOL64
5635 OTOOL64="$ac_cv_prog_OTOOL64"
5664 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
5665 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5666 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5667 $as_echo_n "(cached
) " >&6
5669 lt_cv_apple_cc_single_mod=no
5670 if test -z "${LT_MULTI_MODULE}"; then
5671 # By default we will add the -single_module flag. You can override
5672 # by either setting the environment variable LT_MULTI_MODULE
5673 # non-empty at configure time, or by adding -multi_module to the
5675 rm -rf libconftest.dylib*
5676 echo "int foo
(void
){return 1;}" > conftest.c
5677 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5678 -dynamiclib -Wl,-single_module conftest.c
" >&5
5679 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5680 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5682 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5683 lt_cv_apple_cc_single_mod=yes
5685 cat conftest.err >&5
5687 rm -rf libconftest.dylib*
5691 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
5692 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5693 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
5694 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5695 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5696 $as_echo_n "(cached
) " >&6
5698 lt_cv_ld_exported_symbols_list=no
5699 save_LDFLAGS=$LDFLAGS
5700 echo "_main
" > conftest.sym
5701 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5702 cat >conftest.$ac_ext <<_ACEOF
5705 cat confdefs.h >>conftest.$ac_ext
5706 cat >>conftest.$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5717 rm -f conftest.$ac_objext conftest$ac_exeext
5718 if { (ac_try="$ac_link"
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5723 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5724 $as_echo "$ac_try_echo") >&5
5725 (eval "$ac_link") 2>conftest.er1
5727 grep -v '^ *+' conftest.er1 >conftest.err
5729 cat conftest.err >&5
5730 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5731 (exit $ac_status); } && {
5732 test -z "$ac_c_werror_flag" ||
5733 test ! -s conftest.err
5734 } && test -s conftest$ac_exeext && {
5735 test "$cross_compiling" = yes ||
5736 $as_test_x conftest$ac_exeext
5738 lt_cv_ld_exported_symbols_list=yes
5740 $as_echo "$as_me: failed program was
:" >&5
5741 sed 's/^/| /' conftest.$ac_ext >&5
5743 lt_cv_ld_exported_symbols_list=no
5746 rm -rf conftest.dSYM
5747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5748 conftest$ac_exeext conftest.$ac_ext
5749 LDFLAGS="$save_LDFLAGS"
5752 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
5753 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5755 rhapsody* | darwin1.[012])
5756 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5758 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5759 darwin*) # darwin 5.x on
5760 # if running on 10.5 or later, the deployment target defaults
5761 # to the OS version, if on x86, and 10.4, the deployment
5762 # target defaults to 10.4. Don't you love it?
5763 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5764 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5765 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5767 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5769 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5773 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5774 _lt_dar_single_mod='$single_module'
5776 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5777 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5779 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5781 if test "$DSYMUTIL" != ":"; then
5782 _lt_dsymutil='~$DSYMUTIL $lib || :'
5790 ac_cpp='$CPP $CPPFLAGS'
5791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5794 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5795 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5796 # On Suns, sometimes $CPP names a directory.
5797 if test -n "$CPP" && test -d "$CPP"; then
5800 if test -z "$CPP"; then
5801 if test "${ac_cv_prog_CPP+set}" = set; then
5802 $as_echo_n "(cached
) " >&6
5804 # Double quotes because CPP needs to be expanded
5805 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5808 for ac_c_preproc_warn_flag in '' yes
5810 # Use a header file that comes with gcc, so configuring glibc
5811 # with a fresh cross-compiler works.
5812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5813 # <limits.h> exists even on freestanding compilers.
5814 # On the NeXT, cc -E runs the code through the compiler's parser,
5815 # not just through cpp. "Syntax error
" is here to catch this case.
5816 cat >conftest.$ac_ext <<_ACEOF
5819 cat confdefs.h >>conftest.$ac_ext
5820 cat >>conftest.$ac_ext <<_ACEOF
5821 /* end confdefs.h. */
5823 # include <limits.h>
5825 # include <assert.h>
5829 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5834 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5835 $as_echo "$ac_try_echo") >&5
5836 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5838 grep -v '^ *+' conftest.er1 >conftest.err
5840 cat conftest.err >&5
5841 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5842 (exit $ac_status); } >/dev/null && {
5843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5844 test ! -s conftest.err
5848 $as_echo "$as_me: failed program was
:" >&5
5849 sed 's/^/| /' conftest.$ac_ext >&5
5851 # Broken: fails on valid input.
5855 rm -f conftest.err conftest.$ac_ext
5857 # OK, works on sane cases. Now check whether nonexistent headers
5858 # can be detected and how.
5859 cat >conftest.$ac_ext <<_ACEOF
5862 cat confdefs.h >>conftest.$ac_ext
5863 cat >>conftest.$ac_ext <<_ACEOF
5864 /* end confdefs.h. */
5865 #include <ac_nonexistent.h>
5867 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5870 *) ac_try_echo=$ac_try;;
5872 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5873 $as_echo "$ac_try_echo") >&5
5874 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5876 grep -v '^ *+' conftest.er1 >conftest.err
5878 cat conftest.err >&5
5879 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5880 (exit $ac_status); } >/dev/null && {
5881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5882 test ! -s conftest.err
5884 # Broken: success on invalid input.
5887 $as_echo "$as_me: failed program was
:" >&5
5888 sed 's/^/| /' conftest.$ac_ext >&5
5890 # Passes both tests.
5895 rm -f conftest.err conftest.$ac_ext
5898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5899 rm -f conftest.err conftest.$ac_ext
5900 if $ac_preproc_ok; then
5912 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
5913 $as_echo "$CPP" >&6; }
5915 for ac_c_preproc_warn_flag in '' yes
5917 # Use a header file that comes with gcc, so configuring glibc
5918 # with a fresh cross-compiler works.
5919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5920 # <limits.h> exists even on freestanding compilers.
5921 # On the NeXT, cc -E runs the code through the compiler's parser,
5922 # not just through cpp. "Syntax error
" is here to catch this case.
5923 cat >conftest.$ac_ext <<_ACEOF
5926 cat confdefs.h >>conftest.$ac_ext
5927 cat >>conftest.$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5930 # include <limits.h>
5932 # include <assert.h>
5936 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5939 *) ac_try_echo=$ac_try;;
5941 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5942 $as_echo "$ac_try_echo") >&5
5943 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5945 grep -v '^ *+' conftest.er1 >conftest.err
5947 cat conftest.err >&5
5948 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5949 (exit $ac_status); } >/dev/null && {
5950 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5951 test ! -s conftest.err
5955 $as_echo "$as_me: failed program was
:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5958 # Broken: fails on valid input.
5962 rm -f conftest.err conftest.$ac_ext
5964 # OK, works on sane cases. Now check whether nonexistent headers
5965 # can be detected and how.
5966 cat >conftest.$ac_ext <<_ACEOF
5969 cat confdefs.h >>conftest.$ac_ext
5970 cat >>conftest.$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 #include <ac_nonexistent.h>
5974 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5977 *) ac_try_echo=$ac_try;;
5979 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5980 $as_echo "$ac_try_echo") >&5
5981 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5983 grep -v '^ *+' conftest.er1 >conftest.err
5985 cat conftest.err >&5
5986 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5987 (exit $ac_status); } >/dev/null && {
5988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5989 test ! -s conftest.err
5991 # Broken: success on invalid input.
5994 $as_echo "$as_me: failed program was
:" >&5
5995 sed 's/^/| /' conftest.$ac_ext >&5
5997 # Passes both tests.
6002 rm -f conftest.err conftest.$ac_ext
6005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6006 rm -f conftest.err conftest.$ac_ext
6007 if $ac_preproc_ok; then
6010 { { $as_echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6011 See \
`config.log' for more details." >&5
6012 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6013 See \`config.log
' for more details." >&2;}
6014 { (exit 1); exit 1; }; }
6018 ac_cpp='$CPP $CPPFLAGS'
6019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6020 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6024 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6025 $as_echo_n "checking for ANSI C header files... " >&6; }
6026 if test "${ac_cv_header_stdc+set}" = set; then
6027 $as_echo_n "(cached) " >&6
6029 cat >conftest.$ac_ext <<_ACEOF
6032 cat confdefs.h >>conftest.$ac_ext
6033 cat >>conftest.$ac_ext <<_ACEOF
6034 /* end confdefs.h. */
6048 rm -f conftest.$ac_objext
6049 if { (ac_try="$ac_compile"
6051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6052 *) ac_try_echo=$ac_try;;
6054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6055 $as_echo "$ac_try_echo") >&5
6056 (eval "$ac_compile") 2>conftest.er1
6058 grep -v '^
*+' conftest.er1 >conftest.err
6060 cat conftest.err >&5
6061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); } && {
6063 test -z "$ac_c_werror_flag" ||
6064 test ! -s conftest.err
6065 } && test -s conftest.$ac_objext; then
6066 ac_cv_header_stdc=yes
6068 $as_echo "$as_me: failed program was:" >&5
6069 sed 's
/^
/|
/' conftest.$ac_ext >&5
6071 ac_cv_header_stdc=no
6074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6076 if test $ac_cv_header_stdc = yes; then
6077 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6078 cat >conftest.$ac_ext <<_ACEOF
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6088 $EGREP "memchr" >/dev/null 2>&1; then
6091 ac_cv_header_stdc=no
6097 if test $ac_cv_header_stdc = yes; then
6098 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6099 cat >conftest.$ac_ext <<_ACEOF
6102 cat confdefs.h >>conftest.$ac_ext
6103 cat >>conftest.$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6109 $EGREP "free" >/dev/null 2>&1; then
6112 ac_cv_header_stdc=no
6118 if test $ac_cv_header_stdc = yes; then
6119 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6120 if test "$cross_compiling" = yes; then
6123 cat >conftest.$ac_ext <<_ACEOF
6126 cat confdefs.h >>conftest.$ac_ext
6127 cat >>conftest.$ac_ext <<_ACEOF
6128 /* end confdefs.h. */
6131 #if ((' ' & 0x0FF) == 0x020)
6132 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6133 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6135 # define ISLOWER(c) \
6136 (('a
' <= (c) && (c) <= 'i
') \
6137 || ('j
' <= (c) && (c) <= 'r
') \
6138 || ('s
' <= (c) && (c) <= 'z
'))
6139 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6142 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6147 for (i = 0; i < 256; i++)
6148 if (XOR (islower (i), ISLOWER (i))
6149 || toupper (i) != TOUPPER (i))
6154 rm -f conftest$ac_exeext
6155 if { (ac_try="$ac_link"
6157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6158 *) ac_try_echo=$ac_try;;
6160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6161 $as_echo "$ac_try_echo") >&5
6162 (eval "$ac_link") 2>&5
6164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6166 { (case "(($ac_try" in
6167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6168 *) ac_try_echo=$ac_try;;
6170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6171 $as_echo "$ac_try_echo") >&5
6172 (eval "$ac_try") 2>&5
6174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); }; }; then
6178 $as_echo "$as_me: program exited with status $ac_status" >&5
6179 $as_echo "$as_me: failed program was:" >&5
6180 sed 's
/^
/|
/' conftest.$ac_ext >&5
6183 ac_cv_header_stdc=no
6185 rm -rf conftest.dSYM
6186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6192 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6193 $as_echo "$ac_cv_header_stdc" >&6; }
6194 if test $ac_cv_header_stdc = yes; then
6196 cat >>confdefs.h <<\_ACEOF
6197 #define STDC_HEADERS 1
6202 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6212 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6213 inttypes.h stdint.h unistd.h
6215 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6216 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6217 $as_echo_n "checking for $ac_header... " >&6; }
6218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6219 $as_echo_n "(cached) " >&6
6221 cat >conftest.$ac_ext <<_ACEOF
6224 cat confdefs.h >>conftest.$ac_ext
6225 cat >>conftest.$ac_ext <<_ACEOF
6226 /* end confdefs.h. */
6227 $ac_includes_default
6229 #include <$ac_header>
6231 rm -f conftest.$ac_objext
6232 if { (ac_try="$ac_compile"
6234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6238 $as_echo "$ac_try_echo") >&5
6239 (eval "$ac_compile") 2>conftest.er1
6241 grep -v '^
*+' conftest.er1 >conftest.err
6243 cat conftest.err >&5
6244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } && {
6246 test -z "$ac_c_werror_flag" ||
6247 test ! -s conftest.err
6248 } && test -s conftest.$ac_objext; then
6249 eval "$as_ac_Header=yes"
6251 $as_echo "$as_me: failed program was:" >&5
6252 sed 's
/^
/|
/' conftest.$ac_ext >&5
6254 eval "$as_ac_Header=no"
6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6260 $as_echo "$as_val"'`
6261 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6262 $as_echo "$ac_res" >&6; }
6263 if test `eval 'as_val
=${'$as_ac_Header'}
6264 $as_echo "$as_val"'` = yes; then
6265 cat >>confdefs.h <<_ACEOF
6266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6275 for ac_header in dlfcn.h
6277 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6278 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6279 $as_echo_n "checking for $ac_header... " >&6; }
6280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6281 $as_echo_n "(cached) " >&6
6283 cat >conftest.$ac_ext <<_ACEOF
6286 cat confdefs.h >>conftest.$ac_ext
6287 cat >>conftest.$ac_ext <<_ACEOF
6288 /* end confdefs.h. */
6289 $ac_includes_default
6291 #include <$ac_header>
6293 rm -f conftest.$ac_objext
6294 if { (ac_try="$ac_compile"
6296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6297 *) ac_try_echo=$ac_try;;
6299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6300 $as_echo "$ac_try_echo") >&5
6301 (eval "$ac_compile") 2>conftest.er1
6303 grep -v '^
*+' conftest.er1 >conftest.err
6305 cat conftest.err >&5
6306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); } && {
6308 test -z "$ac_c_werror_flag" ||
6309 test ! -s conftest.err
6310 } && test -s conftest.$ac_objext; then
6311 eval "$as_ac_Header=yes"
6313 $as_echo "$as_me: failed program was:" >&5
6314 sed 's
/^
/|
/' conftest.$ac_ext >&5
6316 eval "$as_ac_Header=no"
6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6321 ac_res=`eval 'as_val
=${'$as_ac_Header'}
6322 $as_echo "$as_val"'`
6323 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6324 $as_echo "$ac_res" >&6; }
6325 if test `eval 'as_val
=${'$as_ac_Header'}
6326 $as_echo "$as_val"'` = yes; then
6327 cat >>confdefs.h <<_ACEOF
6328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6347 # Check whether --enable-shared was given.
6348 if test "${enable_shared+set}" = set; then
6349 enableval=$enable_shared; p=${PACKAGE-default}
6351 yes) enable_shared=yes ;;
6352 no) enable_shared=no ;;
6355 # Look at the argument we got. We use all the common list separators.
6356 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6357 for pkg in $enableval; do
6359 if test "X$pkg" = "X$p"; then
6378 # Check whether --enable-static was given.
6379 if test "${enable_static+set}" = set; then
6380 enableval=$enable_static; p=${PACKAGE-default}
6382 yes) enable_static=yes ;;
6383 no) enable_static=no ;;
6386 # Look at the argument we got. We use all the common list separators.
6387 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6388 for pkg in $enableval; do
6390 if test "X$pkg" = "X$p"; then
6410 # Check whether --with-pic was given.
6411 if test "${with_pic+set}" = set; then
6412 withval=$with_pic; pic_mode="$withval"
6418 test -z "$pic_mode" && pic_mode=default
6426 # Check whether --enable-fast-install was given.
6427 if test "${enable_fast_install+set}" = set; then
6428 enableval=$enable_fast_install; p=${PACKAGE-default}
6430 yes) enable_fast_install=yes ;;
6431 no) enable_fast_install=no ;;
6433 enable_fast_install=no
6434 # Look at the argument we got. We use all the common list separators.
6435 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6436 for pkg in $enableval; do
6438 if test "X$pkg" = "X$p"; then
6439 enable_fast_install=yes
6446 enable_fast_install=yes
6459 # This can be used to rebuild libtool when needed
6460 LIBTOOL_DEPS="$ltmain"
6462 # Always use our own libtool.
6463 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6489 test -z "$LN_S" && LN_S="ln -s"
6504 if test -n "${ZSH_VERSION+set}" ; then
6505 setopt NO_GLOB_SUBST
6508 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6509 $as_echo_n "checking for objdir... " >&6; }
6510 if test "${lt_cv_objdir+set}" = set; then
6511 $as_echo_n "(cached) " >&6
6513 rm -f .libs 2>/dev/null
6514 mkdir .libs 2>/dev/null
6515 if test -d .libs; then
6518 # MS-DOS does not allow filenames that begin with a dot.
6521 rmdir .libs 2>/dev/null
6523 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6524 $as_echo "$lt_cv_objdir" >&6; }
6525 objdir=$lt_cv_objdir
6531 cat >>confdefs.h <<_ACEOF
6532 #define LT_OBJDIR "$lt_cv_objdir/"
6553 # AIX sometimes has problems with the GCC collect2 program. For some
6554 # reason, if we set the COLLECT_NAMES environment variable, the problems
6555 # vanish in a puff of smoke.
6556 if test "X${COLLECT_NAMES+set}" != Xset; then
6558 export COLLECT_NAMES
6563 # Sed substitution that helps us do robust quoting. It backslashifies
6564 # metacharacters that are still active within double-quoted strings.
6565 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6567 # Same as above, but do not quote variable references.
6568 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6570 # Sed substitution to delay expansion of an escaped shell variable in a
6571 # double_quote_subst'ed string.
6572 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6574 # Sed substitution to delay expansion of an escaped single quote.
6575 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6577 # Sed substitution to avoid accidental globbing in evaled expressions
6578 no_glob_subst='s/\*/\\\*/g'
6582 can_build_shared=yes
6584 # All known linkers require a `.a
' archive for static linking (except MSVC,
6585 # which needs '.lib
').
6588 with_gnu_ld="$lt_cv_prog_gnu_ld"
6591 old_CFLAGS="$CFLAGS"
6593 # Set sane defaults for various variables
6594 test -z "$CC" && CC=cc
6595 test -z "$LTCC" && LTCC=$CC
6596 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6597 test -z "$LD" && LD=ld
6598 test -z "$ac_objext" && ac_objext=o
6600 for cc_temp in $compiler""; do
6602 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6603 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6608 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6611 # Only perform the check for file, if the check method requires it
6612 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6613 case $deplibs_check_method in
6615 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6616 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6617 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6618 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6619 $as_echo_n "(cached) " >&6
6623 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6626 lt_save_MAGIC_CMD="$MAGIC_CMD"
6627 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6628 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6629 for ac_dir in $ac_dummy; do
6631 test -z "$ac_dir" && ac_dir=.
6632 if test -f $ac_dir/${ac_tool_prefix}file; then
6633 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6634 if test -n "$file_magic_test_file"; then
6635 case $deplibs_check_method in
6637 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6638 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6639 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6640 $EGREP "$file_magic_regex" > /dev/null; then
6645 *** Warning: the command libtool uses to detect shared libraries,
6646 *** $file_magic_cmd, produces output that libtool cannot recognize.
6647 *** The result is that libtool may fail to recognize shared libraries
6648 *** as such. This will affect the creation of libtool libraries that
6649 *** depend on shared libraries, but programs linked with such libtool
6650 *** libraries will work regardless of this problem. Nevertheless, you
6651 *** may want to report the problem to your system manager and/or to
6652 *** bug-libtool@gnu.org
6662 MAGIC_CMD="$lt_save_MAGIC_CMD"
6667 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6668 if test -n "$MAGIC_CMD"; then
6669 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6670 $as_echo "$MAGIC_CMD" >&6; }
6672 { $as_echo "$as_me:$LINENO: result: no" >&5
6673 $as_echo "no" >&6; }
6680 if test -z "$lt_cv_path_MAGIC_CMD"; then
6681 if test -n "$ac_tool_prefix"; then
6682 { $as_echo "$as_me:$LINENO: checking for file" >&5
6683 $as_echo_n "checking for file... " >&6; }
6684 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6685 $as_echo_n "(cached) " >&6
6689 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6692 lt_save_MAGIC_CMD="$MAGIC_CMD"
6693 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6694 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6695 for ac_dir in $ac_dummy; do
6697 test -z "$ac_dir" && ac_dir=.
6698 if test -f $ac_dir/file; then
6699 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6700 if test -n "$file_magic_test_file"; then
6701 case $deplibs_check_method in
6703 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6704 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6705 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6706 $EGREP "$file_magic_regex" > /dev/null; then
6711 *** Warning: the command libtool uses to detect shared libraries,
6712 *** $file_magic_cmd, produces output that libtool cannot recognize.
6713 *** The result is that libtool may fail to recognize shared libraries
6714 *** as such. This will affect the creation of libtool libraries that
6715 *** depend on shared libraries, but programs linked with such libtool
6716 *** libraries will work regardless of this problem. Nevertheless, you
6717 *** may want to report the problem to your system manager and/or to
6718 *** bug-libtool@gnu.org
6728 MAGIC_CMD="$lt_save_MAGIC_CMD"
6733 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6734 if test -n "$MAGIC_CMD"; then
6735 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6736 $as_echo "$MAGIC_CMD" >&6; }
6738 { $as_echo "$as_me:$LINENO: result: no" >&5
6739 $as_echo "no" >&6; }
6752 # Use C for the default configuration in the libtool script
6756 ac_cpp='$CPP $CPPFLAGS'
6757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6758 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6762 # Source file extension for C test sources.
6765 # Object file extension for compiled C test sources.
6769 # Code to be used in simple compile tests
6770 lt_simple_compile_test_code="int some_variable = 0;"
6772 # Code to be used in simple link tests
6773 lt_simple_link_test_code='int main
(){return(0);}'
6781 # If no C compiler was specified, use CC.
6784 # If no C compiler flags were specified, use CFLAGS.
6785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6787 # Allow CC to be a program name with arguments.
6790 # Save the default compiler, since it gets overwritten when the other
6791 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6792 compiler_DEFAULT=$CC
6794 # save warnings/boilerplate of simple test code
6795 ac_outfile=conftest.$ac_objext
6796 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6797 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6798 _lt_compiler_boilerplate=`cat conftest.err`
6801 ac_outfile=conftest.$ac_objext
6802 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6803 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6804 _lt_linker_boilerplate=`cat conftest.err`
6808 if test -n "$compiler"; then
6810 lt_prog_compiler_no_builtin_flag=
6812 if test "$GCC" = yes; then
6813 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6815 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6816 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6817 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6818 $as_echo_n "(cached) " >&6
6820 lt_cv_prog_compiler_rtti_exceptions=no
6821 ac_outfile=conftest.$ac_objext
6822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6823 lt_compiler_flag="-fno-rtti -fno-exceptions"
6824 # Insert the option either (1) after the last *FLAGS variable, or
6825 # (2) before a word containing "conftest.", or (3) at the end.
6826 # Note that $ac_compile itself does not contain backslashes and begins
6827 # with a dollar sign (not a hyphen), so the echo should work correctly.
6828 # The option is referenced via a variable to avoid confusing sed.
6829 lt_compile=`echo "$ac_compile" | $SED \
6830 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6831 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6832 -e 's
:$
: $lt_compiler_flag:'`
6833 (eval echo "\"\$as_me:6833: $lt_compile\"" >&5)
6834 (eval "$lt_compile" 2>conftest.err)
6836 cat conftest.err >&5
6837 echo "$as_me:6837: \$? = $ac_status" >&5
6838 if (exit $ac_status) && test -s "$ac_outfile"; then
6839 # The compiler can only warn and ignore the option if not recognized
6840 # So say no if there are warnings other than the usual output.
6841 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6842 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6843 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6844 lt_cv_prog_compiler_rtti_exceptions=yes
6850 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6851 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6853 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6854 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6866 lt_prog_compiler_wl=
6867 lt_prog_compiler_pic=
6868 lt_prog_compiler_static=
6870 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6871 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6873 if test "$GCC" = yes; then
6874 lt_prog_compiler_wl='-Wl,'
6875 lt_prog_compiler_static='-static'
6879 # All AIX code is PIC.
6880 if test "$host_cpu" = ia64; then
6881 # AIX 5 now supports IA64 processor
6882 lt_prog_compiler_static='-Bstatic'
6889 # see comment about AmigaOS4 .so support
6890 lt_prog_compiler_pic='-fPIC'
6893 # FIXME: we need at least 68020 code to build shared libraries, but
6894 # adding the `-m68020' flag to GCC prevents building anything better
,
6896 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6901 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6902 # PIC is the default for these OSes.
6905 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6906 # This hack is so that the source file can tell whether it is being
6907 # built for inclusion in a dll (and should export symbols for example).
6908 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6909 # (--disable-auto-import) libraries
6910 lt_prog_compiler_pic
='-DDLL_EXPORT'
6913 darwin
* | rhapsody
*)
6914 # PIC is the default on this platform
6915 # Common symbols not allowed in MH_DYLIB files
6916 lt_prog_compiler_pic
='-fno-common'
6920 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6921 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6922 # sets the default TLS model and affects inlining.
6928 lt_prog_compiler_pic
='-fPIC'
6934 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6935 # Instead, we relocate shared libraries at runtime.
6939 # Just because we use GCC doesn't mean we suddenly get shared libraries
6940 # on systems that don't support them.
6941 lt_prog_compiler_can_build_shared
=no
6946 # QNX uses GNU C++, but need to define -shared option too, otherwise
6948 lt_prog_compiler_pic
='-fPIC -shared'
6952 if test -d /usr
/nec
; then
6953 lt_prog_compiler_pic
=-Kconform_pic
6958 lt_prog_compiler_pic
='-fPIC'
6962 # PORTME Check for flag to pass linker flags through the system compiler.
6965 lt_prog_compiler_wl
='-Wl,'
6966 if test "$host_cpu" = ia64
; then
6967 # AIX 5 now supports IA64 processor
6968 lt_prog_compiler_static
='-Bstatic'
6970 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6974 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6975 # This hack is so that the source file can tell whether it is being
6976 # built for inclusion in a dll (and should export symbols for example).
6977 lt_prog_compiler_pic
='-DDLL_EXPORT'
6980 hpux9
* | hpux10
* | hpux11
*)
6981 lt_prog_compiler_wl
='-Wl,'
6982 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6989 lt_prog_compiler_pic
='+Z'
6992 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6993 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6996 irix5
* | irix6
* | nonstopux
*)
6997 lt_prog_compiler_wl
='-Wl,'
6998 # PIC (with -KPIC) is the default.
6999 lt_prog_compiler_static
='-non_shared'
7002 linux
* | k
*bsd
*-gnu)
7003 case $cc_basename in
7004 # old Intel for x86_64 which still supported -KPIC.
7006 lt_prog_compiler_wl
='-Wl,'
7007 lt_prog_compiler_pic
='-KPIC'
7008 lt_prog_compiler_static
='-static'
7010 # icc used to be incompatible with GCC.
7011 # ICC 10 doesn't accept -KPIC any more.
7013 lt_prog_compiler_wl
='-Wl,'
7014 lt_prog_compiler_pic
='-fPIC'
7015 lt_prog_compiler_static
='-static'
7017 # Lahey Fortran 8.1.
7019 lt_prog_compiler_wl
='-Wl,'
7020 lt_prog_compiler_pic
='--shared'
7021 lt_prog_compiler_static
='--static'
7023 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7024 # Portland Group compilers (*not* the Pentium gcc compiler,
7025 # which looks to be a dead project)
7026 lt_prog_compiler_wl
='-Wl,'
7027 lt_prog_compiler_pic
='-fpic'
7028 lt_prog_compiler_static
='-Bstatic'
7031 lt_prog_compiler_wl
='-Wl,'
7032 # All Alpha code is PIC.
7033 lt_prog_compiler_static
='-non_shared'
7036 # IBM XL C 8.0/Fortran 10.1 on PPC
7037 lt_prog_compiler_wl
='-Wl,'
7038 lt_prog_compiler_pic
='-qpic'
7039 lt_prog_compiler_static
='-qstaticlink'
7042 case `$CC -V 2>&1 | sed 5q` in
7045 lt_prog_compiler_pic
='-KPIC'
7046 lt_prog_compiler_static
='-Bstatic'
7047 lt_prog_compiler_wl
='-Wl,'
7050 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7051 lt_prog_compiler_pic
='-KPIC'
7052 lt_prog_compiler_static
='-Bstatic'
7053 lt_prog_compiler_wl
=''
7061 lt_prog_compiler_pic
='-KPIC'
7062 lt_prog_compiler_static
='-Bstatic'
7066 # QNX uses GNU C++, but need to define -shared option too, otherwise
7068 lt_prog_compiler_pic
='-fPIC -shared'
7071 osf3
* | osf4
* | osf5
*)
7072 lt_prog_compiler_wl
='-Wl,'
7073 # All OSF/1 code is PIC.
7074 lt_prog_compiler_static
='-non_shared'
7078 lt_prog_compiler_static
='-non_shared'
7082 lt_prog_compiler_pic
='-KPIC'
7083 lt_prog_compiler_static
='-Bstatic'
7084 case $cc_basename in
7086 lt_prog_compiler_wl
='-Qoption ld ';;
7088 lt_prog_compiler_wl
='-Wl,';;
7093 lt_prog_compiler_wl
='-Qoption ld '
7094 lt_prog_compiler_pic
='-PIC'
7095 lt_prog_compiler_static
='-Bstatic'
7098 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7099 lt_prog_compiler_wl
='-Wl,'
7100 lt_prog_compiler_pic
='-KPIC'
7101 lt_prog_compiler_static
='-Bstatic'
7105 if test -d /usr
/nec
;then
7106 lt_prog_compiler_pic
='-Kconform_pic'
7107 lt_prog_compiler_static
='-Bstatic'
7111 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7112 lt_prog_compiler_wl
='-Wl,'
7113 lt_prog_compiler_pic
='-KPIC'
7114 lt_prog_compiler_static
='-Bstatic'
7118 lt_prog_compiler_wl
='-Wl,'
7119 lt_prog_compiler_can_build_shared
=no
7123 lt_prog_compiler_pic
='-pic'
7124 lt_prog_compiler_static
='-Bstatic'
7128 lt_prog_compiler_can_build_shared
=no
7134 # For platforms which do not support PIC, -DPIC is meaningless:
7136 lt_prog_compiler_pic
=
7139 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7142 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7143 $as_echo "$lt_prog_compiler_pic" >&6; }
7151 # Check to make sure the PIC flag actually works.
7153 if test -n "$lt_prog_compiler_pic"; then
7154 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7155 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7156 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7157 $as_echo_n "(cached) " >&6
7159 lt_cv_prog_compiler_pic_works
=no
7160 ac_outfile
=conftest.
$ac_objext
7161 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7162 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7163 # Insert the option either (1) after the last *FLAGS variable, or
7164 # (2) before a word containing "conftest.", or (3) at the end.
7165 # Note that $ac_compile itself does not contain backslashes and begins
7166 # with a dollar sign (not a hyphen), so the echo should work correctly.
7167 # The option is referenced via a variable to avoid confusing sed.
7168 lt_compile
=`echo "$ac_compile" | $SED \
7169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7171 -e 's:$: $lt_compiler_flag:'`
7172 (eval echo "\"\$as_me:7172: $lt_compile\"" >&5)
7173 (eval "$lt_compile" 2>conftest.err
)
7175 cat conftest.err
>&5
7176 echo "$as_me:7176: \$? = $ac_status" >&5
7177 if (exit $ac_status) && test -s "$ac_outfile"; then
7178 # The compiler can only warn and ignore the option if not recognized
7179 # So say no if there are warnings other than the usual output.
7180 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7181 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7182 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7183 lt_cv_prog_compiler_pic_works
=yes
7189 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7190 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7192 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7193 case $lt_prog_compiler_pic in
7195 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7198 lt_prog_compiler_pic
=
7199 lt_prog_compiler_can_build_shared
=no
7210 # Check to make sure the static flag actually works.
7212 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7213 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7214 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7215 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7216 $as_echo_n "(cached) " >&6
7218 lt_cv_prog_compiler_static_works
=no
7219 save_LDFLAGS
="$LDFLAGS"
7220 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7221 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7222 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7223 # The linker can only warn and ignore the option if not recognized
7224 # So say no if there are warnings
7225 if test -s conftest.err
; then
7226 # Append any errors to the config.log.
7227 cat conftest.err
1>&5
7228 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7229 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7230 if diff conftest.exp conftest.er2
>/dev
/null
; then
7231 lt_cv_prog_compiler_static_works
=yes
7234 lt_cv_prog_compiler_static_works
=yes
7238 LDFLAGS
="$save_LDFLAGS"
7241 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7242 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7244 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7247 lt_prog_compiler_static
=
7256 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7257 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7258 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7259 $as_echo_n "(cached) " >&6
7261 lt_cv_prog_compiler_c_o
=no
7262 $RM -r conftest
2>/dev
/null
7266 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7268 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7269 # Insert the option either (1) after the last *FLAGS variable, or
7270 # (2) before a word containing "conftest.", or (3) at the end.
7271 # Note that $ac_compile itself does not contain backslashes and begins
7272 # with a dollar sign (not a hyphen), so the echo should work correctly.
7273 lt_compile
=`echo "$ac_compile" | $SED \
7274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7276 -e 's:$: $lt_compiler_flag:'`
7277 (eval echo "\"\$as_me:7277: $lt_compile\"" >&5)
7278 (eval "$lt_compile" 2>out
/conftest.err
)
7280 cat out
/conftest.err
>&5
7281 echo "$as_me:7281: \$? = $ac_status" >&5
7282 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7284 # The compiler can only warn and ignore the option if not recognized
7285 # So say no if there are warnings
7286 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7287 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7288 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7289 lt_cv_prog_compiler_c_o
=yes
7294 # SGI C++ compiler will create directory out/ii_files/ for
7295 # template instantiation
7296 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7297 $RM out
/* && rmdir out
7303 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7304 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7311 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7312 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7313 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7314 $as_echo_n "(cached) " >&6
7316 lt_cv_prog_compiler_c_o
=no
7317 $RM -r conftest
2>/dev
/null
7321 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7323 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7324 # Insert the option either (1) after the last *FLAGS variable, or
7325 # (2) before a word containing "conftest.", or (3) at the end.
7326 # Note that $ac_compile itself does not contain backslashes and begins
7327 # with a dollar sign (not a hyphen), so the echo should work correctly.
7328 lt_compile
=`echo "$ac_compile" | $SED \
7329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7331 -e 's:$: $lt_compiler_flag:'`
7332 (eval echo "\"\$as_me:7332: $lt_compile\"" >&5)
7333 (eval "$lt_compile" 2>out
/conftest.err
)
7335 cat out
/conftest.err
>&5
7336 echo "$as_me:7336: \$? = $ac_status" >&5
7337 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7339 # The compiler can only warn and ignore the option if not recognized
7340 # So say no if there are warnings
7341 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7342 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7343 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7344 lt_cv_prog_compiler_c_o
=yes
7349 # SGI C++ compiler will create directory out/ii_files/ for
7350 # template instantiation
7351 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7352 $RM out
/* && rmdir out
7358 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7359 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7364 hard_links
="nottested"
7365 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7366 # do not overwrite the value of need_locks provided by the user
7367 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7368 $as_echo_n "checking if we can lock with hard links... " >&6; }
7371 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7373 ln conftest.a conftest.b
2>&5 || hard_links
=no
7374 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7375 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7376 $as_echo "$hard_links" >&6; }
7377 if test "$hard_links" = no
; then
7378 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7379 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7391 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7392 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7395 allow_undefined_flag
=
7396 always_export_symbols
=no
7398 archive_expsym_cmds
=
7399 compiler_needs_object
=no
7400 enable_shared_with_static_runtimes
=no
7401 export_dynamic_flag_spec
=
7402 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7403 hardcode_automatic
=no
7405 hardcode_direct_absolute
=no
7406 hardcode_libdir_flag_spec
=
7407 hardcode_libdir_flag_spec_ld
=
7408 hardcode_libdir_separator
=
7410 hardcode_shlibpath_var
=unsupported
7412 link_all_deplibs
=unknown
7415 old_archive_from_new_cmds
=
7416 old_archive_from_expsyms_cmds
=
7417 thread_safe_flag_spec
=
7418 whole_archive_flag_spec
=
7419 # include_expsyms should be a list of space-separated symbols to be *always*
7420 # included in the symbol list
7422 # exclude_expsyms can be an extended regexp of symbols to exclude
7423 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7424 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7425 # as well as any symbol that contains `d'.
7426 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7427 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7428 # platforms (ab)use it in PIC code, but their linkers get confused if
7429 # the symbol is explicitly referenced. Since portable code cannot
7430 # rely on this symbol name, it's probably fine to never include it in
7431 # preloaded symbol tables.
7432 # Exclude shared library initialization/finalization symbols.
7433 extract_expsyms_cmds
=
7436 cygwin
* | mingw
* | pw32
* | cegcc
*)
7437 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7438 # When not using gcc, we currently assume that we are using
7439 # Microsoft Visual C++.
7440 if test "$GCC" != yes; then
7445 # we just hope/assume this is gcc and not c89 (= MSVC++)
7454 if test "$with_gnu_ld" = yes; then
7455 # If archive_cmds runs LD, not CC, wlarc should be empty
7458 # Set some defaults for GNU ld with shared library support. These
7459 # are reset later if shared libraries are not supported. Putting them
7460 # here allows them to be overridden if necessary.
7461 runpath_var
=LD_RUN_PATH
7462 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7463 export_dynamic_flag_spec
='${wl}--export-dynamic'
7464 # ancient GNU ld didn't support --whole-archive et. al.
7465 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7466 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7468 whole_archive_flag_spec
=
7470 supports_anon_versioning
=no
7471 case `$LD -v 2>&1` in
7472 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7473 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7474 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7475 *\
2.11.
*) ;; # other 2.11 versions
7476 *) supports_anon_versioning
=yes ;;
7479 # See if GNU ld supports shared libraries.
7482 # On AIX/PPC, the GNU linker is very broken
7483 if test "$host_cpu" != ia64
; then
7487 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7488 *** to be unable to reliably create shared libraries on AIX.
7489 *** Therefore, libtool is disabling shared libraries support. If you
7490 *** really care for shared libraries, you may want to modify your PATH
7491 *** so that a non-GNU linker is found, and then restart.
7500 # see comment about AmigaOS4 .so support
7501 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7502 archive_expsym_cmds
=''
7505 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)'
7506 hardcode_libdir_flag_spec
='-L$libdir'
7507 hardcode_minus_L
=yes
7513 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7514 allow_undefined_flag
=unsupported
7515 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7516 # support --undefined. This deserves some investigation. FIXME
7517 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7523 cygwin
* | mingw
* | pw32
* | cegcc
*)
7524 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7525 # as there is no search path for DLLs.
7526 hardcode_libdir_flag_spec
='-L$libdir'
7527 allow_undefined_flag
=unsupported
7528 always_export_symbols
=no
7529 enable_shared_with_static_runtimes
=yes
7530 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7532 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7533 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7534 # If the export-symbols file already is a .def file (1st line
7535 # is EXPORTS), use it as is; otherwise, prepend...
7536 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7537 cp $export_symbols $output_objdir/$soname.def;
7539 echo EXPORTS > $output_objdir/$soname.def;
7540 cat $export_symbols >> $output_objdir/$soname.def;
7542 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7550 hardcode_shlibpath_var
=no
7551 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7552 export_dynamic_flag_spec
='${wl}-E'
7553 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7554 # Instead, shared libraries are loaded at an image base (0x10000000 by
7555 # default) and relocated if they conflict, which is a slow very memory
7556 # consuming and fragmenting process. To avoid this, we pick a random,
7557 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7558 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7559 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7560 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'
7563 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7565 if test "$host_os" = linux-dietlibc
; then
7566 case $cc_basename in
7567 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7570 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7571 && test "$tmp_diet" = no
7574 tmp_sharedflag
='-shared'
7575 case $cc_basename,$host_cpu in
7576 pgcc
*) # Portland Group C compiler
7577 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'
7578 tmp_addflag
=' $pic_flag'
7580 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7581 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'
7582 tmp_addflag
=' $pic_flag -Mnomain' ;;
7583 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7584 tmp_addflag
=' -i_dynamic' ;;
7585 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7586 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7587 ifc
* | ifort
*) # Intel Fortran compiler
7588 tmp_addflag
=' -nofor_main' ;;
7589 lf95
*) # Lahey Fortran 8.1
7590 whole_archive_flag_spec
=
7591 tmp_sharedflag
='--shared' ;;
7592 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7593 tmp_sharedflag
='-qmkshrobj'
7596 case `$CC -V 2>&1 | sed 5q` in
7597 *Sun\ C
*) # Sun C 5.9
7598 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'
7599 compiler_needs_object
=yes
7600 tmp_sharedflag
='-G' ;;
7601 *Sun\ F
*) # Sun Fortran 8.3
7602 tmp_sharedflag
='-G' ;;
7604 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7606 if test "x$supports_anon_versioning" = xyes
; then
7607 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7608 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7609 echo "local: *; };" >> $output_objdir/$libname.ver~
7610 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7613 case $cc_basename in
7615 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7616 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7617 hardcode_libdir_flag_spec
=
7618 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7619 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7620 if test "x$supports_anon_versioning" = xyes
; then
7621 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7622 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7623 echo "local: *; };" >> $output_objdir/$libname.ver~
7624 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7634 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7635 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7638 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7639 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7644 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7649 *** create shared libraries on Solaris systems. Therefore, libtool
7650 *** is disabling shared libraries support. We urge you to upgrade GNU
7651 *** binutils to release 2.9.1 or newer. Another option is to modify
7652 *** your PATH or compiler configuration so that the native linker is
7653 *** used, and then restart.
7656 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7658 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7664 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7665 case `$LD -v 2>&1` in
7666 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7671 *** reliably create shared libraries on SCO systems. Therefore, libtool
7672 *** is disabling shared libraries support. We urge you to upgrade GNU
7673 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7674 *** your PATH or compiler configuration so that the native linker is
7675 *** used, and then restart.
7680 # For security reasons, it is highly recommended that you always
7681 # use absolute paths for naming shared libraries, and exclude the
7682 # DT_RUNPATH tag from executables and libraries. But doing so
7683 # requires that you compile everything twice, which is a pain.
7684 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7686 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7687 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7696 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7699 hardcode_shlibpath_var
=no
7703 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7704 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7705 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7712 if test "$ld_shlibs" = no
; then
7714 hardcode_libdir_flag_spec
=
7715 export_dynamic_flag_spec
=
7716 whole_archive_flag_spec
=
7719 # PORTME fill in a description of your system's linker (not GNU ld)
7722 allow_undefined_flag
=unsupported
7723 always_export_symbols
=yes
7724 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'
7725 # Note: this linker hardcodes the directories in LIBPATH if there
7726 # are no directories specified by -L.
7727 hardcode_minus_L
=yes
7728 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7729 # Neither direct hardcoding nor static linking is supported with a
7731 hardcode_direct
=unsupported
7736 if test "$host_cpu" = ia64
; then
7737 # On IA64, the linker does run time linking by default, so we don't
7738 # have to do anything special.
7739 aix_use_runtimelinking
=no
7740 exp_sym_flag
='-Bexport'
7743 # If we're using GNU nm, then we don't want the "-C" option.
7744 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7745 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7746 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'
7748 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'
7750 aix_use_runtimelinking
=no
7752 # Test if we are trying to use run time linking or normal
7753 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7754 # need to do runtime linking.
7755 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7756 for ld_flag
in $LDFLAGS; do
7757 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7758 aix_use_runtimelinking
=yes
7765 exp_sym_flag
='-bexport'
7766 no_entry_flag
='-bnoentry'
7769 # When large executables or shared objects are built, AIX ld can
7770 # have problems creating the table of contents. If linking a library
7771 # or program results in "error TOC overflow" add -mminimal-toc to
7772 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7773 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7777 hardcode_direct_absolute
=yes
7778 hardcode_libdir_separator
=':'
7779 link_all_deplibs
=yes
7780 file_list_spec
='${wl}-f,'
7782 if test "$GCC" = yes; then
7783 case $host_os in aix4.
[012]|aix4.
[012].
*)
7784 # We only want to do this on AIX 4.2 and lower, the check
7785 # below for broken collect2 doesn't work under 4.3+
7786 collect2name
=`${CC} -print-prog-name=collect2`
7787 if test -f "$collect2name" &&
7788 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7790 # We have reworked collect2
7793 # We have old collect2
7794 hardcode_direct
=unsupported
7795 # It fails to find uninstalled libraries when the uninstalled
7796 # path is not listed in the libpath. Setting hardcode_minus_L
7797 # to unsupported forces relinking
7798 hardcode_minus_L
=yes
7799 hardcode_libdir_flag_spec
='-L$libdir'
7800 hardcode_libdir_separator
=
7804 shared_flag
='-shared'
7805 if test "$aix_use_runtimelinking" = yes; then
7806 shared_flag
="$shared_flag "'${wl}-G'
7810 if test "$host_cpu" = ia64
; then
7811 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7812 # chokes on -Wl,-G. The following line is correct:
7815 if test "$aix_use_runtimelinking" = yes; then
7816 shared_flag
='${wl}-G'
7818 shared_flag
='${wl}-bM:SRE'
7823 export_dynamic_flag_spec
='${wl}-bexpall'
7824 # It seems that -bexpall does not export symbols beginning with
7825 # underscore (_), so it is better to generate a list of symbols to export.
7826 always_export_symbols
=yes
7827 if test "$aix_use_runtimelinking" = yes; then
7828 # Warning - without using the other runtime loading flags (-brtl),
7829 # -berok will link without error, but may produce a broken library.
7830 allow_undefined_flag
='-berok'
7831 # Determine the default libpath from the value encoded in an
7833 cat >conftest.
$ac_ext <<_ACEOF
7836 cat confdefs.h
>>conftest.
$ac_ext
7837 cat >>conftest.
$ac_ext <<_ACEOF
7838 /* end confdefs.h. */
7848 rm -f conftest.
$ac_objext conftest
$ac_exeext
7849 if { (ac_try
="$ac_link"
7851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7852 *) ac_try_echo=$ac_try;;
7854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7855 $as_echo "$ac_try_echo") >&5
7856 (eval "$ac_link") 2>conftest.er1
7858 grep -v '^ *+' conftest.er1 >conftest.err
7860 cat conftest.err >&5
7861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } && {
7863 test -z "$ac_c_werror_flag" ||
7864 test ! -s conftest.err
7865 } && test -s conftest$ac_exeext && {
7866 test "$cross_compiling" = yes ||
7867 $as_test_x conftest$ac_exeext
7870 lt_aix_libpath_sed='
7871 /Import File Strings/,/^$/ {
7877 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7878 # Check for a 64-bit object if we didn't find anything.
7879 if test -z "$aix_libpath"; then
7880 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7883 $as_echo "$as_me: failed program was:" >&5
7884 sed 's/^/| /' conftest.$ac_ext >&5
7889 rm -rf conftest.dSYM
7890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7891 conftest$ac_exeext conftest.$ac_ext
7892 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7894 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7895 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"
7897 if test "$host_cpu" = ia64; then
7898 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7899 allow_undefined_flag="-z nodefs"
7900 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"
7902 # Determine the default libpath from the value encoded in an
7904 cat >conftest.$ac_ext <<_ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7919 rm -f conftest.$ac_objext conftest$ac_exeext
7920 if { (ac_try="$ac_link"
7922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7923 *) ac_try_echo
=$ac_try;;
7925 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7926 $as_echo "$ac_try_echo") >&5
7927 (eval "$ac_link") 2>conftest.er1
7929 grep -v '^ *+' conftest.er1
>conftest.err
7931 cat conftest.err
>&5
7932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } && {
7934 test -z "$ac_c_werror_flag" ||
7935 test ! -s conftest.err
7936 } && test -s conftest
$ac_exeext && {
7937 test "$cross_compiling" = yes ||
7938 $as_test_x conftest
$ac_exeext
7941 lt_aix_libpath_sed
='
7942 /Import File Strings/,/^$/ {
7948 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7949 # Check for a 64-bit object if we didn't find anything.
7950 if test -z "$aix_libpath"; then
7951 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7954 $as_echo "$as_me: failed program was:" >&5
7955 sed 's/^/| /' conftest.
$ac_ext >&5
7960 rm -rf conftest.dSYM
7961 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7962 conftest
$ac_exeext conftest.
$ac_ext
7963 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7965 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7966 # Warning - without using the other run time loading flags,
7967 # -berok will link without error, but may produce a broken library.
7968 no_undefined_flag
=' ${wl}-bernotok'
7969 allow_undefined_flag
=' ${wl}-berok'
7970 # Exported symbols can be pulled into shared objects from archives
7971 whole_archive_flag_spec
='$convenience'
7972 archive_cmds_need_lc
=yes
7973 # This is similar to how AIX traditionally builds its shared libraries.
7974 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'
7982 # see comment about AmigaOS4 .so support
7983 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7984 archive_expsym_cmds
=''
7987 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)'
7988 hardcode_libdir_flag_spec
='-L$libdir'
7989 hardcode_minus_L
=yes
7995 export_dynamic_flag_spec
=-rdynamic
7998 cygwin
* | mingw
* | pw32
* | cegcc
*)
7999 # When not using gcc, we currently assume that we are using
8000 # Microsoft Visual C++.
8001 # hardcode_libdir_flag_spec is actually meaningless, as there is
8002 # no search path for DLLs.
8003 hardcode_libdir_flag_spec
=' '
8004 allow_undefined_flag
=unsupported
8005 # Tell ltmain to make .lib files, not .a files.
8007 # Tell ltmain to make .dll files, not .so files.
8009 # FIXME: Setting linknames here is a bad hack.
8010 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8011 # The linker will automatically build a .lib file if we build a DLL.
8012 old_archive_from_new_cmds
='true'
8013 # FIXME: Should let the user specify the lib program.
8014 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8015 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8016 enable_shared_with_static_runtimes
=yes
8019 darwin
* | rhapsody
*)
8022 archive_cmds_need_lc
=no
8024 hardcode_automatic
=yes
8025 hardcode_shlibpath_var
=unsupported
8026 whole_archive_flag_spec
=''
8027 link_all_deplibs
=yes
8028 allow_undefined_flag
="$_lt_dar_allow_undefined"
8029 case $cc_basename in
8030 ifort
*) _lt_dar_can_shared
=yes ;;
8031 *) _lt_dar_can_shared
=$GCC ;;
8033 if test "$_lt_dar_can_shared" = "yes"; then
8034 output_verbose_link_cmd
=echo
8035 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8036 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8037 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}"
8038 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}"
8047 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8048 hardcode_libdir_flag_spec
='-L$libdir'
8049 hardcode_shlibpath_var
=no
8056 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8057 # support. Future versions do this automatically, but an explicit c++rt0.o
8058 # does not break anything, and helps significantly (at the cost of a little
8061 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8062 hardcode_libdir_flag_spec
='-R$libdir'
8064 hardcode_shlibpath_var
=no
8067 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8069 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8071 hardcode_minus_L
=yes
8072 hardcode_shlibpath_var
=no
8075 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8076 freebsd
* | dragonfly
*)
8077 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8078 hardcode_libdir_flag_spec
='-R$libdir'
8080 hardcode_shlibpath_var
=no
8084 if test "$GCC" = yes; then
8085 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'
8087 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'
8089 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8090 hardcode_libdir_separator
=:
8093 # hardcode_minus_L: Not really in the search PATH,
8094 # but as the default location of the library.
8095 hardcode_minus_L
=yes
8096 export_dynamic_flag_spec
='${wl}-E'
8100 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8101 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8103 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8105 if test "$with_gnu_ld" = no
; then
8106 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8107 hardcode_libdir_flag_spec_ld
='+b $libdir'
8108 hardcode_libdir_separator
=:
8110 hardcode_direct_absolute
=yes
8111 export_dynamic_flag_spec
='${wl}-E'
8112 # hardcode_minus_L: Not really in the search PATH,
8113 # but as the default location of the library.
8114 hardcode_minus_L
=yes
8119 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8122 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8125 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8128 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8134 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8137 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8140 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8144 if test "$with_gnu_ld" = no
; then
8145 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8146 hardcode_libdir_separator
=:
8151 hardcode_shlibpath_var
=no
8155 hardcode_direct_absolute
=yes
8156 export_dynamic_flag_spec
='${wl}-E'
8158 # hardcode_minus_L: Not really in the search PATH,
8159 # but as the default location of the library.
8160 hardcode_minus_L
=yes
8166 irix5
* | irix6
* | nonstopux
*)
8167 if test "$GCC" = yes; then
8168 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'
8169 # Try to use the -exported_symbol ld option, if it does not
8170 # work, assume that -exports_file does not work either and
8171 # implicitly export all symbols.
8172 save_LDFLAGS
="$LDFLAGS"
8173 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8174 cat >conftest.
$ac_ext <<_ACEOF
8177 rm -f conftest.
$ac_objext conftest
$ac_exeext
8178 if { (ac_try
="$ac_link"
8180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8181 *) ac_try_echo=$ac_try;;
8183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8184 $as_echo "$ac_try_echo") >&5
8185 (eval "$ac_link") 2>conftest.er1
8187 grep -v '^ *+' conftest.er1 >conftest.err
8189 cat conftest.err >&5
8190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } && {
8192 test -z "$ac_c_werror_flag" ||
8193 test ! -s conftest.err
8194 } && test -s conftest$ac_exeext && {
8195 test "$cross_compiling" = yes ||
8196 $as_test_x conftest$ac_exeext
8198 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'
8201 $as_echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8207 rm -rf conftest.dSYM
8208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8209 conftest$ac_exeext conftest.$ac_ext
8210 LDFLAGS="$save_LDFLAGS"
8212 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'
8213 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'
8215 archive_cmds_need_lc='no'
8216 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8217 hardcode_libdir_separator=:
8219 link_all_deplibs=yes
8223 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8224 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8226 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8228 hardcode_libdir_flag_spec='-R$libdir'
8230 hardcode_shlibpath_var=no
8234 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8236 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8237 hardcode_libdir_separator=:
8238 hardcode_shlibpath_var=no
8245 if test -f /usr/libexec/ld.so; then
8247 hardcode_shlibpath_var=no
8248 hardcode_direct_absolute=yes
8249 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8250 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8251 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8252 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8253 export_dynamic_flag_spec='${wl}-E'
8256 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8257 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8258 hardcode_libdir_flag_spec='-R$libdir'
8261 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8262 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8272 hardcode_libdir_flag_spec='-L$libdir'
8273 hardcode_minus_L=yes
8274 allow_undefined_flag=unsupported
8275 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'
8276 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8280 if test "$GCC" = yes; then
8281 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8282 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'
8284 allow_undefined_flag=' -expect_unresolved \*'
8285 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'
8287 archive_cmds_need_lc='no'
8288 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8289 hardcode_libdir_separator=:
8292 osf4* | osf5*) # as osf3* with the addition of -msym flag
8293 if test "$GCC" = yes; then
8294 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8295 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'
8296 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8298 allow_undefined_flag=' -expect_unresolved \*'
8299 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'
8300 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~
8301 $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'
8303 # Both c and cxx compiler support -rpath directly
8304 hardcode_libdir_flag_spec='-rpath $libdir'
8306 archive_cmds_need_lc='no'
8307 hardcode_libdir_separator=:
8311 no_undefined_flag=' -z defs'
8312 if test "$GCC" = yes; then
8314 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8315 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8316 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8318 case `$CC -V 2>&1` in
8321 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8322 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8323 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8327 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8328 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8329 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8333 hardcode_libdir_flag_spec='-R$libdir'
8334 hardcode_shlibpath_var=no
8336 solaris2.[0-5] | solaris2.[0-5].*) ;;
8338 # The compiler driver will combine and reorder linker options,
8339 # but understands `-z linker_flag
'. GCC discards it without `$wl',
8340 # but is careful enough not to reorder.
8341 # Supported since Solaris 2.6 (maybe 2.5.1?)
8342 if test "$GCC" = yes; then
8343 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8345 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8349 link_all_deplibs
=yes
8353 if test "x$host_vendor" = xsequent
; then
8354 # Use $CC to link under sequent, because it throws in some extra .o
8355 # files that make .init and .fini sections work.
8356 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8358 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8360 hardcode_libdir_flag_spec
='-L$libdir'
8362 hardcode_minus_L
=yes
8363 hardcode_shlibpath_var
=no
8367 case $host_vendor in
8369 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8370 hardcode_direct
=yes # is this really true???
8373 ## LD is ld it makes a PLAMLIB
8374 ## CC just makes a GrossModule.
8375 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8376 reload_cmds
='$CC -r -o $output$reload_objs'
8380 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8381 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8384 runpath_var
='LD_RUN_PATH'
8385 hardcode_shlibpath_var
=no
8389 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8390 hardcode_shlibpath_var
=no
8391 export_dynamic_flag_spec
='-Bexport'
8395 if test -d /usr
/nec
; then
8396 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8397 hardcode_shlibpath_var
=no
8398 runpath_var
=LD_RUN_PATH
8399 hardcode_runpath_var
=yes
8404 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8405 no_undefined_flag
='${wl}-z,text'
8406 archive_cmds_need_lc
=no
8407 hardcode_shlibpath_var
=no
8408 runpath_var
='LD_RUN_PATH'
8410 if test "$GCC" = yes; then
8411 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8412 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8414 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8415 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8419 sysv5
* | sco3.2v5
* | sco5v6
*)
8420 # Note: We can NOT use -z defs as we might desire, because we do not
8421 # link with -lc, and that would cause any symbols used from libc to
8422 # always be unresolved, which means just about no library would
8423 # ever link correctly. If we're not using GNU ld we use -z text
8424 # though, which does catch some bad symbols but isn't as heavy-handed
8426 no_undefined_flag
='${wl}-z,text'
8427 allow_undefined_flag
='${wl}-z,nodefs'
8428 archive_cmds_need_lc
=no
8429 hardcode_shlibpath_var
=no
8430 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8431 hardcode_libdir_separator
=':'
8432 link_all_deplibs
=yes
8433 export_dynamic_flag_spec
='${wl}-Bexport'
8434 runpath_var
='LD_RUN_PATH'
8436 if test "$GCC" = yes; then
8437 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8438 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8440 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8441 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8446 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8447 hardcode_libdir_flag_spec
='-L$libdir'
8448 hardcode_shlibpath_var
=no
8456 if test x
$host_vendor = xsni
; then
8458 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8459 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8465 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8466 $as_echo "$ld_shlibs" >&6; }
8467 test "$ld_shlibs" = no
&& can_build_shared
=no
8469 with_gnu_ld
=$with_gnu_ld
8486 # Do we need to explicitly link libc?
8488 case "x$archive_cmds_need_lc" in
8490 # Assume -lc should be added
8491 archive_cmds_need_lc
=yes
8493 if test "$enable_shared" = yes && test "$GCC" = yes; then
8494 case $archive_cmds in
8496 # FIXME: we may have to deal with multi-command sequences.
8499 # Test whether the compiler implicitly links with -lc since on some
8500 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8501 # to ld, don't add -lc before -lgcc.
8502 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8503 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8505 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8508 (eval $ac_compile) 2>&5
8510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } 2>conftest.err
; then
8514 libobjs
=conftest.
$ac_objext
8516 wl
=$lt_prog_compiler_wl
8517 pic_flag
=$lt_prog_compiler_pic
8523 lt_save_allow_undefined_flag
=$allow_undefined_flag
8524 allow_undefined_flag
=
8525 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8526 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }
8531 archive_cmds_need_lc
=no
8533 archive_cmds_need_lc
=yes
8535 allow_undefined_flag
=$lt_save_allow_undefined_flag
8537 cat conftest.err
1>&5
8540 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8541 $as_echo "$archive_cmds_need_lc" >&6; }
8704 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8705 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8707 if test "$GCC" = yes; then
8709 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8710 *) lt_awk_arg
="/^libraries:/" ;;
8712 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8713 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8714 # if the path contains ";" then we assume it to be the separator
8715 # otherwise default to the standard path separator (i.e. ":") - it is
8716 # assumed that no part of a normal pathname contains ";" but that should
8717 # okay in the real world where ";" in dirpaths is itself problematic.
8718 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8720 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8722 # Ok, now we have the path, separated by spaces, we can step through it
8723 # and add multilib dir if necessary.
8724 lt_tmp_lt_search_path_spec
=
8725 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8726 for lt_sys_path
in $lt_search_path_spec; do
8727 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8728 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8730 test -d "$lt_sys_path" && \
8731 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8734 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8735 BEGIN {RS=" "; FS="/|\n";} {
8738 for (lt_i = NF; lt_i > 0; lt_i--) {
8739 if ($lt_i != "" && $lt_i != ".") {
8740 if ($lt_i == "..") {
8743 if (lt_count == 0) {
8744 lt_foo="/" $lt_i lt_foo;
8751 if (lt_foo != "") { lt_freq[lt_foo]++; }
8752 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8754 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8756 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8759 libname_spec
='lib$name'
8767 shlibpath_overrides_runpath
=unknown
8769 dynamic_linker
="$host_os ld.so"
8770 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8771 need_lib_prefix
=unknown
8772 hardcode_into_libs
=no
8774 # when you set need_version to no, make sure it does not cause -set_version
8775 # flags to be left without arguments
8776 need_version
=unknown
8781 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8782 shlibpath_var
=LIBPATH
8784 # AIX 3 has no versioning support, so we append a major version to the name.
8785 soname_spec
='${libname}${release}${shared_ext}$major'
8792 hardcode_into_libs
=yes
8793 if test "$host_cpu" = ia64
; then
8794 # AIX 5 supports IA64
8795 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8796 shlibpath_var
=LD_LIBRARY_PATH
8798 # With GCC up to 2.95.x, collect2 would create an import file
8799 # for dependence libraries. The import file would start with
8800 # the line `#! .'. This would cause the generated library to
8801 # depend on `.', always an invalid library. This was fixed in
8802 # development snapshots of GCC prior to 3.0.
8804 aix4 | aix4.
[01] | aix4.
[01].
*)
8805 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8807 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8814 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8815 # soname into executable. Probably we can add versioning support to
8816 # collect2, so additional links can be useful in future.
8817 if test "$aix_use_runtimelinking" = yes; then
8818 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8819 # instead of lib<name>.a to let people know that these are not
8820 # typical AIX shared libraries.
8821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8823 # We preserve .a as extension for shared libraries through AIX4.2
8824 # and later when we are not doing run time linking.
8825 library_names_spec
='${libname}${release}.a $libname.a'
8826 soname_spec
='${libname}${release}${shared_ext}$major'
8828 shlibpath_var
=LIBPATH
8835 # Since July 2007 AmigaOS4 officially supports .so libraries.
8836 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8840 library_names_spec
='$libname.ixlibrary $libname.a'
8841 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8842 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'
8848 library_names_spec
='${libname}${shared_ext}'
8849 dynamic_linker
="$host_os ld.so"
8850 shlibpath_var
=LIBRARY_PATH
8856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8857 soname_spec
='${libname}${release}${shared_ext}$major'
8858 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8859 shlibpath_var
=LD_LIBRARY_PATH
8860 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8861 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8862 # the default ld.so.conf also contains /usr/contrib/lib and
8863 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8864 # libtool to hard-code these into programs
8867 cygwin
* | mingw
* | pw32
* | cegcc
*)
8868 version_type
=windows
8873 case $GCC,$host_os in
8874 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8875 library_names_spec
='$libname.dll.a'
8876 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8877 postinstall_cmds
='base_file=`basename \${file}`~
8878 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8879 dldir=$destdir/`dirname \$dlpath`~
8880 test -d \$dldir || mkdir -p \$dldir~
8881 $install_prog $dir/$dlname \$dldir/$dlname~
8882 chmod a+x \$dldir/$dlname~
8883 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8884 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8886 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8887 dlpath=$dir/\$dldll~
8889 shlibpath_overrides_runpath
=yes
8893 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8894 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8895 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8898 # MinGW DLLs use traditional 'lib' prefix
8899 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8900 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8901 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8902 # It is most probably a Windows format PATH printed by
8903 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8904 # path with ; separators, and with drive letters. We can handle the
8905 # drive letters (cygwin fileutils understands them), so leave them,
8906 # especially as we might pass files found there to a mingw objdump,
8907 # which wouldn't understand a cygwinified path. Ahh.
8908 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8910 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8914 # pw32 DLLs use 'pw' prefix rather than 'lib'
8915 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8921 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8924 dynamic_linker
='Win32 ld.exe'
8925 # FIXME: first we should search . and the directory the executable is in
8929 darwin
* | rhapsody
*)
8930 dynamic_linker
="$host_os dyld"
8934 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8935 soname_spec
='${libname}${release}${major}$shared_ext'
8936 shlibpath_overrides_runpath
=yes
8937 shlibpath_var
=DYLD_LIBRARY_PATH
8938 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8940 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8941 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8949 soname_spec
='${libname}${release}${shared_ext}$major'
8950 shlibpath_var
=LD_LIBRARY_PATH
8957 freebsd
* | dragonfly
*)
8958 # DragonFly does not have aout. When/if they implement a new
8959 # versioning mechanism, adjust this.
8960 if test -x /usr
/bin
/objformat
; then
8961 objformat
=`/usr/bin/objformat`
8964 freebsd
[123]*) objformat
=aout
;;
8968 # Handle Gentoo/FreeBSD as it was Linux
8969 case $host_vendor in
8971 version_type
=linux
;;
8973 version_type
=freebsd-
$objformat ;;
8976 case $version_type in
8978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8983 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8988 soname_spec
='${libname}${release}${shared_ext}$major'
8993 shlibpath_var
=LD_LIBRARY_PATH
8996 shlibpath_overrides_runpath
=yes
8998 freebsd3.
[01]* | freebsdelf3.
[01]*)
8999 shlibpath_overrides_runpath
=yes
9000 hardcode_into_libs
=yes
9002 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9003 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9004 shlibpath_overrides_runpath
=no
9005 hardcode_into_libs
=yes
9007 *) # from 4.6 on, and DragonFly
9008 shlibpath_overrides_runpath
=yes
9009 hardcode_into_libs
=yes
9018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9019 soname_spec
='${libname}${release}${shared_ext}$major'
9020 shlibpath_var
=LD_LIBRARY_PATH
9021 hardcode_into_libs
=yes
9024 hpux9
* | hpux10
* | hpux11
*)
9025 # Give a soname corresponding to the major version so that dld.sl refuses to
9026 # link against other versions.
9033 hardcode_into_libs
=yes
9034 dynamic_linker
="$host_os dld.so"
9035 shlibpath_var
=LD_LIBRARY_PATH
9036 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9038 soname_spec
='${libname}${release}${shared_ext}$major'
9039 if test "X$HPUX_IA64_MODE" = X32
; then
9040 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9042 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9044 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9048 hardcode_into_libs
=yes
9049 dynamic_linker
="$host_os dld.sl"
9050 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9051 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9053 soname_spec
='${libname}${release}${shared_ext}$major'
9054 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9059 dynamic_linker
="$host_os dld.sl"
9060 shlibpath_var
=SHLIB_PATH
9061 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9063 soname_spec
='${libname}${release}${shared_ext}$major'
9066 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9067 postinstall_cmds
='chmod 555 $lib'
9074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9075 soname_spec
='${libname}${release}${shared_ext}$major'
9076 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9077 shlibpath_var
=LD_LIBRARY_PATH
9078 shlibpath_overrides_runpath
=no
9079 hardcode_into_libs
=yes
9082 irix5
* | irix6
* | nonstopux
*)
9084 nonstopux
*) version_type
=nonstopux
;;
9086 if test "$lt_cv_prog_gnu_ld" = yes; then
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9097 irix5
* | nonstopux
*)
9101 case $LD in # libtool.m4 will add one of these switches to LD
9102 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9103 libsuff
= shlibsuff
= libmagic
=32-bit;;
9104 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9105 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9106 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9107 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9108 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9112 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9113 shlibpath_overrides_runpath
=no
9114 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9115 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9116 hardcode_into_libs
=yes
9119 # No shared lib support for Linux oldld, aout, or coff.
9120 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9124 # This must be Linux ELF.
9125 linux
* | k
*bsd
*-gnu)
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9130 soname_spec
='${libname}${release}${shared_ext}$major'
9131 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9132 shlibpath_var
=LD_LIBRARY_PATH
9133 shlibpath_overrides_runpath
=no
9134 # Some binutils ld are patched to set DT_RUNPATH
9135 save_LDFLAGS
=$LDFLAGS
9137 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9138 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9139 cat >conftest.
$ac_ext <<_ACEOF
9142 cat confdefs.h
>>conftest.
$ac_ext
9143 cat >>conftest.
$ac_ext <<_ACEOF
9144 /* end confdefs.h. */
9154 rm -f conftest.
$ac_objext conftest
$ac_exeext
9155 if { (ac_try
="$ac_link"
9157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9158 *) ac_try_echo=$ac_try;;
9160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9161 $as_echo "$ac_try_echo") >&5
9162 (eval "$ac_link") 2>conftest.er1
9164 grep -v '^ *+' conftest.er1 >conftest.err
9166 cat conftest.err >&5
9167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } && {
9169 test -z "$ac_c_werror_flag" ||
9170 test ! -s conftest.err
9171 } && test -s conftest$ac_exeext && {
9172 test "$cross_compiling" = yes ||
9173 $as_test_x conftest$ac_exeext
9175 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9176 shlibpath_overrides_runpath=yes
9180 $as_echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.$ac_ext >&5
9186 rm -rf conftest.dSYM
9187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9188 conftest$ac_exeext conftest.$ac_ext
9189 LDFLAGS=$save_LDFLAGS
9192 # This implies no fast_install, which is unacceptable.
9193 # Some rework will be needed to allow for fast_install
9194 # before this can be enabled.
9195 hardcode_into_libs=yes
9197 # Append ld.so.conf contents to the search path
9198 if test -f /etc/ld.so.conf; then
9199 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' ' '`
9200 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9203 # We used to test for /lib/ld.so.1 and disable shared libraries on
9204 # powerpc, because MkLinux only supported shared libraries with the
9205 # GNU dynamic linker. Since this was broken with cross compilers,
9206 # most powerpc-linux boxes support dynamic linking these days and
9207 # people can always --disable-shared, the test was removed, and we
9208 # assume the GNU/Linux dynamic linker is in use.
9209 dynamic_linker='GNU/Linux ld.so'
9216 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9218 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9219 dynamic_linker='NetBSD (a.out) ld.so'
9221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9222 soname_spec='${libname}${release}${shared_ext}$major'
9223 dynamic_linker='NetBSD ld.elf_so'
9225 shlibpath_var=LD_LIBRARY_PATH
9226 shlibpath_overrides_runpath=yes
9227 hardcode_into_libs=yes
9232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9233 shlibpath_var=LD_LIBRARY_PATH
9234 shlibpath_overrides_runpath=yes
9241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9242 soname_spec='${libname}${release}${shared_ext}$major'
9243 shlibpath_var=LD_LIBRARY_PATH
9244 shlibpath_overrides_runpath=no
9245 hardcode_into_libs=yes
9246 dynamic_linker='ldqnx.so'
9251 sys_lib_dlsearch_path_spec="/usr/lib"
9253 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9255 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9256 *) need_version=no ;;
9258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9259 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9260 shlibpath_var=LD_LIBRARY_PATH
9261 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9263 openbsd2.[89] | openbsd2.[89].*)
9264 shlibpath_overrides_runpath=no
9267 shlibpath_overrides_runpath=yes
9271 shlibpath_overrides_runpath=yes
9276 libname_spec='$name'
9279 library_names_spec='$libname${shared_ext} $libname.a'
9280 dynamic_linker='OS/2 ld.exe'
9281 shlibpath_var=LIBPATH
9284 osf3* | osf4* | osf5*)
9288 soname_spec='${libname}${release}${shared_ext}$major'
9289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9290 shlibpath_var=LD_LIBRARY_PATH
9291 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9292 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9304 soname_spec='${libname}${release}${shared_ext}$major'
9305 shlibpath_var=LD_LIBRARY_PATH
9306 shlibpath_overrides_runpath=yes
9307 hardcode_into_libs=yes
9308 # ldd complains unless libraries are executable
9309 postinstall_cmds='chmod +x $lib'
9314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9315 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9316 shlibpath_var=LD_LIBRARY_PATH
9317 shlibpath_overrides_runpath=yes
9318 if test "$with_gnu_ld" = yes; then
9326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9327 soname_spec='${libname}${release}${shared_ext}$major'
9328 shlibpath_var=LD_LIBRARY_PATH
9329 case $host_vendor in
9331 shlibpath_overrides_runpath=no
9333 runpath_var=LD_RUN_PATH
9341 shlibpath_overrides_runpath=no
9342 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9348 if test -d /usr/nec ;then
9350 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9351 soname_spec='$libname${shared_ext}.$major'
9352 shlibpath_var=LD_LIBRARY_PATH
9356 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9357 version_type=freebsd-elf
9360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9361 soname_spec='${libname}${release}${shared_ext}$major'
9362 shlibpath_var=LD_LIBRARY_PATH
9363 shlibpath_overrides_runpath=yes
9364 hardcode_into_libs=yes
9365 if test "$with_gnu_ld" = yes; then
9366 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9368 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9371 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9375 sys_lib_dlsearch_path_spec='/usr/lib'
9379 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9384 shlibpath_var=LD_LIBRARY_PATH
9385 shlibpath_overrides_runpath=no
9386 hardcode_into_libs=yes
9391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9392 soname_spec='${libname}${release}${shared_ext}$major'
9393 shlibpath_var=LD_LIBRARY_PATH
9400 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9401 $as_echo "$dynamic_linker" >&6; }
9402 test "$dynamic_linker" = no && can_build_shared=no
9404 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9405 if test "$GCC" = yes; then
9406 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9409 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9410 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9412 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9413 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9502 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9503 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9505 if test -n "$hardcode_libdir_flag_spec" ||
9506 test -n "$runpath_var" ||
9507 test "X$hardcode_automatic" = "Xyes" ; then
9509 # We can hardcode non-existent directories.
9510 if test "$hardcode_direct" != no &&
9511 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9512 # have to relink, otherwise we might link with an installed library
9513 # when we should be linking with a yet-to-be-installed one
9514 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9515 test "$hardcode_minus_L" != no; then
9516 # Linking always hardcodes the temporary library directory.
9517 hardcode_action=relink
9519 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9520 hardcode_action=immediate
9523 # We cannot hardcode anything, or else we can only hardcode existing
9525 hardcode_action=unsupported
9527 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9528 $as_echo "$hardcode_action" >&6; }
9530 if test "$hardcode_action" = relink ||
9531 test "$inherit_rpath" = yes; then
9532 # Fast installation is not supported
9533 enable_fast_install=no
9534 elif test "$shlibpath_overrides_runpath" = yes ||
9535 test "$enable_shared" = no; then
9536 # Fast installation is not necessary
9537 enable_fast_install=needless
9545 if test "x$enable_dlopen" != xyes; then
9546 enable_dlopen=unknown
9547 enable_dlopen_self=unknown
9548 enable_dlopen_self_static=unknown
9555 lt_cv_dlopen="load_add_on"
9557 lt_cv_dlopen_self=yes
9560 mingw* | pw32* | cegcc*)
9561 lt_cv_dlopen="LoadLibrary"
9566 lt_cv_dlopen="dlopen"
9571 # if libdl is installed we need to link against it
9572 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9573 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9574 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9575 $as_echo_n "(cached) " >&6
9577 ac_check_lib_save_LIBS=$LIBS
9579 cat >conftest.$ac_ext <<_ACEOF
9582 cat confdefs.h >>conftest.$ac_ext
9583 cat >>conftest.$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9601 rm -f conftest.$ac_objext conftest$ac_exeext
9602 if { (ac_try="$ac_link"
9604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9605 *) ac_try_echo
=$ac_try;;
9607 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9608 $as_echo "$ac_try_echo") >&5
9609 (eval "$ac_link") 2>conftest.er1
9611 grep -v '^ *+' conftest.er1
>conftest.err
9613 cat conftest.err
>&5
9614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } && {
9616 test -z "$ac_c_werror_flag" ||
9617 test ! -s conftest.err
9618 } && test -s conftest
$ac_exeext && {
9619 test "$cross_compiling" = yes ||
9620 $as_test_x conftest
$ac_exeext
9622 ac_cv_lib_dl_dlopen
=yes
9624 $as_echo "$as_me: failed program was:" >&5
9625 sed 's/^/| /' conftest.
$ac_ext >&5
9627 ac_cv_lib_dl_dlopen
=no
9630 rm -rf conftest.dSYM
9631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9632 conftest
$ac_exeext conftest.
$ac_ext
9633 LIBS
=$ac_check_lib_save_LIBS
9635 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9636 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9637 if test $ac_cv_lib_dl_dlopen = yes; then
9638 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9643 lt_cv_dlopen_self
=yes
9650 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9651 $as_echo_n "checking for shl_load... " >&6; }
9652 if test "${ac_cv_func_shl_load+set}" = set; then
9653 $as_echo_n "(cached) " >&6
9655 cat >conftest.
$ac_ext <<_ACEOF
9658 cat confdefs.h
>>conftest.
$ac_ext
9659 cat >>conftest.
$ac_ext <<_ACEOF
9660 /* end confdefs.h. */
9661 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9663 #define shl_load innocuous_shl_load
9665 /* System header to define __stub macros and hopefully few prototypes,
9666 which can conflict with char shl_load (); below.
9667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9668 <limits.h> exists even on freestanding compilers. */
9671 # include <limits.h>
9673 # include <assert.h>
9678 /* Override any GCC internal prototype to avoid an error.
9679 Use char because int might match the return type of a GCC
9680 builtin and then its argument prototype would still apply. */
9685 /* The GNU C library defines this for functions which it implements
9686 to always fail with ENOSYS. Some functions are actually named
9687 something starting with __ and the normal name is an alias. */
9688 #if defined __stub_shl_load || defined __stub___shl_load
9700 rm -f conftest.
$ac_objext conftest
$ac_exeext
9701 if { (ac_try
="$ac_link"
9703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9704 *) ac_try_echo=$ac_try;;
9706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9707 $as_echo "$ac_try_echo") >&5
9708 (eval "$ac_link") 2>conftest.er1
9710 grep -v '^ *+' conftest.er1 >conftest.err
9712 cat conftest.err >&5
9713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); } && {
9715 test -z "$ac_c_werror_flag" ||
9716 test ! -s conftest.err
9717 } && test -s conftest$ac_exeext && {
9718 test "$cross_compiling" = yes ||
9719 $as_test_x conftest$ac_exeext
9721 ac_cv_func_shl_load=yes
9723 $as_echo "$as_me: failed program was:" >&5
9724 sed 's/^/| /' conftest.$ac_ext >&5
9726 ac_cv_func_shl_load=no
9729 rm -rf conftest.dSYM
9730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9731 conftest$ac_exeext conftest.$ac_ext
9733 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9734 $as_echo "$ac_cv_func_shl_load" >&6; }
9735 if test $ac_cv_func_shl_load = yes; then
9736 lt_cv_dlopen="shl_load"
9738 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9739 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9740 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9741 $as_echo_n "(cached) " >&6
9743 ac_check_lib_save_LIBS=$LIBS
9745 cat >conftest.$ac_ext <<_ACEOF
9748 cat confdefs.h >>conftest.$ac_ext
9749 cat >>conftest.$ac_ext <<_ACEOF
9750 /* end confdefs.h. */
9752 /* Override any GCC internal prototype to avoid an error.
9753 Use char because int might match the return type of a GCC
9754 builtin and then its argument prototype would still apply. */
9767 rm -f conftest.$ac_objext conftest$ac_exeext
9768 if { (ac_try="$ac_link"
9770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9771 *) ac_try_echo
=$ac_try;;
9773 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9774 $as_echo "$ac_try_echo") >&5
9775 (eval "$ac_link") 2>conftest.er1
9777 grep -v '^ *+' conftest.er1
>conftest.err
9779 cat conftest.err
>&5
9780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest
$ac_exeext && {
9785 test "$cross_compiling" = yes ||
9786 $as_test_x conftest
$ac_exeext
9788 ac_cv_lib_dld_shl_load
=yes
9790 $as_echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.
$ac_ext >&5
9793 ac_cv_lib_dld_shl_load
=no
9796 rm -rf conftest.dSYM
9797 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9798 conftest
$ac_exeext conftest.
$ac_ext
9799 LIBS
=$ac_check_lib_save_LIBS
9801 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9802 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9803 if test $ac_cv_lib_dld_shl_load = yes; then
9804 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9806 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9807 $as_echo_n "checking for dlopen... " >&6; }
9808 if test "${ac_cv_func_dlopen+set}" = set; then
9809 $as_echo_n "(cached) " >&6
9811 cat >conftest.
$ac_ext <<_ACEOF
9814 cat confdefs.h
>>conftest.
$ac_ext
9815 cat >>conftest.
$ac_ext <<_ACEOF
9816 /* end confdefs.h. */
9817 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9819 #define dlopen innocuous_dlopen
9821 /* System header to define __stub macros and hopefully few prototypes,
9822 which can conflict with char dlopen (); below.
9823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9824 <limits.h> exists even on freestanding compilers. */
9827 # include <limits.h>
9829 # include <assert.h>
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9841 /* The GNU C library defines this for functions which it implements
9842 to always fail with ENOSYS. Some functions are actually named
9843 something starting with __ and the normal name is an alias. */
9844 #if defined __stub_dlopen || defined __stub___dlopen
9856 rm -f conftest.
$ac_objext conftest
$ac_exeext
9857 if { (ac_try
="$ac_link"
9859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9863 $as_echo "$ac_try_echo") >&5
9864 (eval "$ac_link") 2>conftest.er1
9866 grep -v '^ *+' conftest.er1 >conftest.err
9868 cat conftest.err >&5
9869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } && {
9871 test -z "$ac_c_werror_flag" ||
9872 test ! -s conftest.err
9873 } && test -s conftest$ac_exeext && {
9874 test "$cross_compiling" = yes ||
9875 $as_test_x conftest$ac_exeext
9877 ac_cv_func_dlopen=yes
9879 $as_echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9882 ac_cv_func_dlopen=no
9885 rm -rf conftest.dSYM
9886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887 conftest$ac_exeext conftest.$ac_ext
9889 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9890 $as_echo "$ac_cv_func_dlopen" >&6; }
9891 if test $ac_cv_func_dlopen = yes; then
9892 lt_cv_dlopen="dlopen"
9894 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9895 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9897 $as_echo_n "(cached) " >&6
9899 ac_check_lib_save_LIBS=$LIBS
9901 cat >conftest.$ac_ext <<_ACEOF
9904 cat confdefs.h >>conftest.$ac_ext
9905 cat >>conftest.$ac_ext <<_ACEOF
9906 /* end confdefs.h. */
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9923 rm -f conftest.$ac_objext conftest$ac_exeext
9924 if { (ac_try="$ac_link"
9926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9927 *) ac_try_echo
=$ac_try;;
9929 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9930 $as_echo "$ac_try_echo") >&5
9931 (eval "$ac_link") 2>conftest.er1
9933 grep -v '^ *+' conftest.er1
>conftest.err
9935 cat conftest.err
>&5
9936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } && {
9938 test -z "$ac_c_werror_flag" ||
9939 test ! -s conftest.err
9940 } && test -s conftest
$ac_exeext && {
9941 test "$cross_compiling" = yes ||
9942 $as_test_x conftest
$ac_exeext
9944 ac_cv_lib_dl_dlopen
=yes
9946 $as_echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.
$ac_ext >&5
9949 ac_cv_lib_dl_dlopen
=no
9952 rm -rf conftest.dSYM
9953 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9954 conftest
$ac_exeext conftest.
$ac_ext
9955 LIBS
=$ac_check_lib_save_LIBS
9957 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9958 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9959 if test $ac_cv_lib_dl_dlopen = yes; then
9960 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9962 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9963 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9964 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9965 $as_echo_n "(cached) " >&6
9967 ac_check_lib_save_LIBS
=$LIBS
9969 cat >conftest.
$ac_ext <<_ACEOF
9972 cat confdefs.h
>>conftest.
$ac_ext
9973 cat >>conftest.
$ac_ext <<_ACEOF
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9991 rm -f conftest.
$ac_objext conftest
$ac_exeext
9992 if { (ac_try
="$ac_link"
9994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9995 *) ac_try_echo=$ac_try;;
9997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9998 $as_echo "$ac_try_echo") >&5
9999 (eval "$ac_link") 2>conftest.er1
10001 grep -v '^ *+' conftest.er1 >conftest.err
10003 cat conftest.err >&5
10004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); } && {
10006 test -z "$ac_c_werror_flag" ||
10007 test ! -s conftest.err
10008 } && test -s conftest$ac_exeext && {
10009 test "$cross_compiling" = yes ||
10010 $as_test_x conftest$ac_exeext
10012 ac_cv_lib_svld_dlopen=yes
10014 $as_echo "$as_me: failed program was:" >&5
10015 sed 's/^/| /' conftest.$ac_ext >&5
10017 ac_cv_lib_svld_dlopen=no
10020 rm -rf conftest.dSYM
10021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10022 conftest$ac_exeext conftest.$ac_ext
10023 LIBS=$ac_check_lib_save_LIBS
10025 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10026 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10027 if test $ac_cv_lib_svld_dlopen = yes; then
10028 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10030 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10031 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10032 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10033 $as_echo_n "(cached) " >&6
10035 ac_check_lib_save_LIBS=$LIBS
10037 cat >conftest.$ac_ext <<_ACEOF
10040 cat confdefs.h >>conftest.$ac_ext
10041 cat >>conftest.$ac_ext <<_ACEOF
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10054 return dld_link ();
10059 rm -f conftest.$ac_objext conftest$ac_exeext
10060 if { (ac_try="$ac_link"
10061 case "(($ac_try" in
10062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10063 *) ac_try_echo
=$ac_try;;
10065 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10066 $as_echo "$ac_try_echo") >&5
10067 (eval "$ac_link") 2>conftest.er1
10069 grep -v '^ *+' conftest.er1
>conftest.err
10071 cat conftest.err
>&5
10072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } && {
10074 test -z "$ac_c_werror_flag" ||
10075 test ! -s conftest.err
10076 } && test -s conftest
$ac_exeext && {
10077 test "$cross_compiling" = yes ||
10078 $as_test_x conftest
$ac_exeext
10080 ac_cv_lib_dld_dld_link
=yes
10082 $as_echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.
$ac_ext >&5
10085 ac_cv_lib_dld_dld_link
=no
10088 rm -rf conftest.dSYM
10089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10090 conftest
$ac_exeext conftest.
$ac_ext
10091 LIBS
=$ac_check_lib_save_LIBS
10093 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10094 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10095 if test $ac_cv_lib_dld_dld_link = yes; then
10096 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10117 if test "x$lt_cv_dlopen" != xno
; then
10123 case $lt_cv_dlopen in
10125 save_CPPFLAGS
="$CPPFLAGS"
10126 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10128 save_LDFLAGS
="$LDFLAGS"
10129 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10132 LIBS
="$lt_cv_dlopen_libs $LIBS"
10134 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10135 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10136 if test "${lt_cv_dlopen_self+set}" = set; then
10137 $as_echo_n "(cached) " >&6
10139 if test "$cross_compiling" = yes; then :
10140 lt_cv_dlopen_self
=cross
10142 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10143 lt_status
=$lt_dlunknown
10144 cat > conftest.
$ac_ext <<_LT_EOF
10145 #line 10145 "configure"
10146 #include "confdefs.h"
10155 # define LT_DLGLOBAL RTLD_GLOBAL
10158 # define LT_DLGLOBAL DL_GLOBAL
10160 # define LT_DLGLOBAL 0
10164 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10165 find out it does not work in some platform. */
10166 #ifndef LT_DLLAZY_OR_NOW
10168 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10171 # define LT_DLLAZY_OR_NOW DL_LAZY
10174 # define LT_DLLAZY_OR_NOW RTLD_NOW
10177 # define LT_DLLAZY_OR_NOW DL_NOW
10179 # define LT_DLLAZY_OR_NOW 0
10186 void fnord() { int i=42;}
10189 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10190 int status = $lt_dlunknown;
10194 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10195 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10196 /* dlclose (self); */
10204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10205 (eval $ac_link) 2>&5
10207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10209 (.
/conftest
; exit; ) >&5 2>/dev
/null
10211 case x
$lt_status in
10212 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10213 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10214 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10217 # compilation failed
10218 lt_cv_dlopen_self
=no
10225 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10226 $as_echo "$lt_cv_dlopen_self" >&6; }
10228 if test "x$lt_cv_dlopen_self" = xyes
; then
10229 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10230 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10231 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10232 if test "${lt_cv_dlopen_self_static+set}" = set; then
10233 $as_echo_n "(cached) " >&6
10235 if test "$cross_compiling" = yes; then :
10236 lt_cv_dlopen_self_static
=cross
10238 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10239 lt_status
=$lt_dlunknown
10240 cat > conftest.
$ac_ext <<_LT_EOF
10241 #line 10241 "configure"
10242 #include "confdefs.h"
10251 # define LT_DLGLOBAL RTLD_GLOBAL
10254 # define LT_DLGLOBAL DL_GLOBAL
10256 # define LT_DLGLOBAL 0
10260 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10261 find out it does not work in some platform. */
10262 #ifndef LT_DLLAZY_OR_NOW
10264 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10267 # define LT_DLLAZY_OR_NOW DL_LAZY
10270 # define LT_DLLAZY_OR_NOW RTLD_NOW
10273 # define LT_DLLAZY_OR_NOW DL_NOW
10275 # define LT_DLLAZY_OR_NOW 0
10282 void fnord() { int i=42;}
10285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10286 int status = $lt_dlunknown;
10290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10291 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10292 /* dlclose (self); */
10300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10301 (eval $ac_link) 2>&5
10303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10305 (.
/conftest
; exit; ) >&5 2>/dev
/null
10307 case x
$lt_status in
10308 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10309 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10310 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10313 # compilation failed
10314 lt_cv_dlopen_self_static
=no
10321 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10322 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10325 CPPFLAGS
="$save_CPPFLAGS"
10326 LDFLAGS
="$save_LDFLAGS"
10331 case $lt_cv_dlopen_self in
10332 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10333 *) enable_dlopen_self
=unknown
;;
10336 case $lt_cv_dlopen_self_static in
10337 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10338 *) enable_dlopen_self_static
=unknown
;;
10360 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10361 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10362 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10363 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10364 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10365 { $as_echo "$as_me:$LINENO: result: yes" >&5
10366 $as_echo "yes" >&6; }
10368 # FIXME - insert some real tests, host_os isn't really good enough
10371 if test -n "$STRIP" ; then
10372 striplib
="$STRIP -x"
10373 old_striplib
="$STRIP -S"
10374 { $as_echo "$as_me:$LINENO: result: yes" >&5
10375 $as_echo "yes" >&6; }
10377 { $as_echo "$as_me:$LINENO: result: no" >&5
10378 $as_echo "no" >&6; }
10382 { $as_echo "$as_me:$LINENO: result: no" >&5
10383 $as_echo "no" >&6; }
10399 # Report which library types will actually be built
10400 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10401 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10402 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10403 $as_echo "$can_build_shared" >&6; }
10405 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10406 $as_echo_n "checking whether to build shared libraries... " >&6; }
10407 test "$can_build_shared" = "no" && enable_shared
=no
10409 # On AIX, shared libraries and static libraries use the same namespace, and
10410 # are all built from PIC.
10413 test "$enable_shared" = yes && enable_static
=no
10414 if test -n "$RANLIB"; then
10415 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10416 postinstall_cmds
='$RANLIB $lib'
10421 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10422 test "$enable_shared" = yes && enable_static
=no
10426 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10427 $as_echo "$enable_shared" >&6; }
10429 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10430 $as_echo_n "checking whether to build static libraries... " >&6; }
10431 # Make sure either enable_shared or enable_static is yes.
10432 test "$enable_shared" = yes || enable_static
=yes
10433 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10434 $as_echo "$enable_static" >&6; }
10441 ac_cpp
='$CPP $CPPFLAGS'
10442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10460 ac_config_commands
="$ac_config_commands libtool"
10465 # Only expand once:
10468 # Find a good install program. We prefer a C program (faster),
10469 # so one script is as good as another. But avoid the broken or
10470 # incompatible versions:
10471 # SysV /etc/install, /usr/sbin/install
10472 # SunOS /usr/etc/install
10473 # IRIX /sbin/install
10475 # AmigaOS /C/install, which installs bootblocks on floppy discs
10476 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10477 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10478 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10479 # OS/2's system install, which has a completely different semantic
10480 # ./install, which can be erroneously created by make from ./install.sh.
10481 # Reject install programs that cannot install multiple files.
10482 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10483 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10484 if test -z "$INSTALL"; then
10485 if test "${ac_cv_path_install+set}" = set; then
10486 $as_echo_n "(cached) " >&6
10488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10489 for as_dir
in $PATH
10492 test -z "$as_dir" && as_dir
=.
10493 # Account for people who put trailing slashes in PATH elements.
10495 .
/ | .
// |
/cC
/* | \
10496 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
10497 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
10500 # OSF1 and SCO ODT 3.0 have their own names for install.
10501 # Don't use installbsd from OSF since it installs stuff as root
10503 for ac_prog
in ginstall scoinst
install; do
10504 for ac_exec_ext
in '' $ac_executable_extensions; do
10505 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10506 if test $ac_prog = install &&
10507 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10508 # AIX install. It has an incompatible calling convention.
10510 elif test $ac_prog = install &&
10511 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10512 # program-specific install script used by HP pwplus--don't use.
10515 rm -rf conftest.one conftest.two conftest.dir
10516 echo one
> conftest.one
10517 echo two
> conftest.two
10519 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10520 test -s conftest.one
&& test -s conftest.two
&&
10521 test -s conftest.dir
/conftest.one
&&
10522 test -s conftest.dir
/conftest.two
10524 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10537 rm -rf conftest.one conftest.two conftest.dir
10540 if test "${ac_cv_path_install+set}" = set; then
10541 INSTALL
=$ac_cv_path_install
10543 # As a last resort, use the slow shell script. Don't cache a
10544 # value for INSTALL within a source directory, because that will
10545 # break other packages using the cache if that directory is
10546 # removed, or if the value is a relative name.
10547 INSTALL
=$ac_install_sh
10550 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
10551 $as_echo "$INSTALL" >&6; }
10553 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10554 # It thinks the first close brace ends the variable substitution.
10555 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10557 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10559 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10561 for ac_prog
in gawk mawk nawk
awk
10563 # Extract the first word of "$ac_prog", so it can be a program name with args.
10564 set dummy
$ac_prog; ac_word
=$2
10565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10566 $as_echo_n "checking for $ac_word... " >&6; }
10567 if test "${ac_cv_prog_AWK+set}" = set; then
10568 $as_echo_n "(cached) " >&6
10570 if test -n "$AWK"; then
10571 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
10573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10574 for as_dir
in $PATH
10577 test -z "$as_dir" && as_dir
=.
10578 for ac_exec_ext
in '' $ac_executable_extensions; do
10579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10580 ac_cv_prog_AWK
="$ac_prog"
10581 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10590 AWK
=$ac_cv_prog_AWK
10591 if test -n "$AWK"; then
10592 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
10593 $as_echo "$AWK" >&6; }
10595 { $as_echo "$as_me:$LINENO: result: no" >&5
10596 $as_echo "no" >&6; }
10600 test -n "$AWK" && break
10605 # Enable large file support (if special flags are necessary)
10607 # Check whether --enable-largefile was given.
10608 if test "${enable_largefile+set}" = set; then
10609 enableval
=$enable_largefile;
10612 if test "$enable_largefile" != no
; then
10614 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
10615 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
10616 if test "${ac_cv_sys_largefile_CC+set}" = set; then
10617 $as_echo_n "(cached) " >&6
10619 ac_cv_sys_largefile_CC
=no
10620 if test "$GCC" != yes; then
10623 # IRIX 6.2 and later do not support large files by default,
10624 # so use the C compiler's -n32 option if that helps.
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10631 #include <sys/types.h>
10632 /* Check that off_t can represent 2**63 - 1 correctly.
10633 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10634 since some C++ compilers masquerading as C compilers
10635 incorrectly reject 9223372036854775807. */
10636 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10637 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10638 && LARGE_OFF_T % 2147483647 == 1)
10648 rm -f conftest.
$ac_objext
10649 if { (ac_try
="$ac_compile"
10650 case "(($ac_try" in
10651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10652 *) ac_try_echo=$ac_try;;
10654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10655 $as_echo "$ac_try_echo") >&5
10656 (eval "$ac_compile") 2>conftest.er1
10658 grep -v '^ *+' conftest.er1 >conftest.err
10660 cat conftest.err >&5
10661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } && {
10663 test -z "$ac_c_werror_flag" ||
10664 test ! -s conftest.err
10665 } && test -s conftest.$ac_objext; then
10668 $as_echo "$as_me: failed program was:" >&5
10669 sed 's/^/| /' conftest.$ac_ext >&5
10674 rm -f core conftest.err conftest.$ac_objext
10676 rm -f conftest.$ac_objext
10677 if { (ac_try="$ac_compile"
10678 case "(($ac_try" in
10679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10680 *) ac_try_echo
=$ac_try;;
10682 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10683 $as_echo "$ac_try_echo") >&5
10684 (eval "$ac_compile") 2>conftest.er1
10686 grep -v '^ *+' conftest.er1
>conftest.err
10688 cat conftest.err
>&5
10689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); } && {
10691 test -z "$ac_c_werror_flag" ||
10692 test ! -s conftest.err
10693 } && test -s conftest.
$ac_objext; then
10694 ac_cv_sys_largefile_CC
=' -n32'; break
10696 $as_echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.
$ac_ext >&5
10702 rm -f core conftest.err conftest.
$ac_objext
10706 rm -f conftest.
$ac_ext
10709 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
10710 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10711 if test "$ac_cv_sys_largefile_CC" != no
; then
10712 CC
=$CC$ac_cv_sys_largefile_CC
10715 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10716 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10717 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
10718 $as_echo_n "(cached) " >&6
10721 cat >conftest.
$ac_ext <<_ACEOF
10724 cat confdefs.h
>>conftest.
$ac_ext
10725 cat >>conftest.
$ac_ext <<_ACEOF
10726 /* end confdefs.h. */
10727 #include <sys/types.h>
10728 /* Check that off_t can represent 2**63 - 1 correctly.
10729 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10730 since some C++ compilers masquerading as C compilers
10731 incorrectly reject 9223372036854775807. */
10732 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10733 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10734 && LARGE_OFF_T % 2147483647 == 1)
10744 rm -f conftest.
$ac_objext
10745 if { (ac_try
="$ac_compile"
10746 case "(($ac_try" in
10747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10748 *) ac_try_echo=$ac_try;;
10750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10751 $as_echo "$ac_try_echo") >&5
10752 (eval "$ac_compile") 2>conftest.er1
10754 grep -v '^ *+' conftest.er1 >conftest.err
10756 cat conftest.err >&5
10757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } && {
10759 test -z "$ac_c_werror_flag" ||
10760 test ! -s conftest.err
10761 } && test -s conftest.$ac_objext; then
10762 ac_cv_sys_file_offset_bits=no; break
10764 $as_echo "$as_me: failed program was:" >&5
10765 sed 's/^/| /' conftest.$ac_ext >&5
10770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10771 cat >conftest.$ac_ext <<_ACEOF
10774 cat confdefs.h >>conftest.$ac_ext
10775 cat >>conftest.$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10777 #define _FILE_OFFSET_BITS 64
10778 #include <sys/types.h>
10779 /* Check that off_t can represent 2**63 - 1 correctly.
10780 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10781 since some C++ compilers masquerading as C compilers
10782 incorrectly reject 9223372036854775807. */
10783 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10784 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10785 && LARGE_OFF_T % 2147483647 == 1)
10795 rm -f conftest.$ac_objext
10796 if { (ac_try="$ac_compile"
10797 case "(($ac_try" in
10798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10799 *) ac_try_echo
=$ac_try;;
10801 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10802 $as_echo "$ac_try_echo") >&5
10803 (eval "$ac_compile") 2>conftest.er1
10805 grep -v '^ *+' conftest.er1
>conftest.err
10807 cat conftest.err
>&5
10808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } && {
10810 test -z "$ac_c_werror_flag" ||
10811 test ! -s conftest.err
10812 } && test -s conftest.
$ac_objext; then
10813 ac_cv_sys_file_offset_bits
=64; break
10815 $as_echo "$as_me: failed program was:" >&5
10816 sed 's/^/| /' conftest.
$ac_ext >&5
10821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10822 ac_cv_sys_file_offset_bits
=unknown
10826 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
10827 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10828 case $ac_cv_sys_file_offset_bits in #(
10831 cat >>confdefs.h
<<_ACEOF
10832 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10837 if test $ac_cv_sys_file_offset_bits = unknown
; then
10838 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
10839 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10840 if test "${ac_cv_sys_large_files+set}" = set; then
10841 $as_echo_n "(cached) " >&6
10844 cat >conftest.
$ac_ext <<_ACEOF
10847 cat confdefs.h
>>conftest.
$ac_ext
10848 cat >>conftest.
$ac_ext <<_ACEOF
10849 /* end confdefs.h. */
10850 #include <sys/types.h>
10851 /* Check that off_t can represent 2**63 - 1 correctly.
10852 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10853 since some C++ compilers masquerading as C compilers
10854 incorrectly reject 9223372036854775807. */
10855 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10856 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10857 && LARGE_OFF_T % 2147483647 == 1)
10867 rm -f conftest.
$ac_objext
10868 if { (ac_try
="$ac_compile"
10869 case "(($ac_try" in
10870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10871 *) ac_try_echo=$ac_try;;
10873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10874 $as_echo "$ac_try_echo") >&5
10875 (eval "$ac_compile") 2>conftest.er1
10877 grep -v '^ *+' conftest.er1 >conftest.err
10879 cat conftest.err >&5
10880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } && {
10882 test -z "$ac_c_werror_flag" ||
10883 test ! -s conftest.err
10884 } && test -s conftest.$ac_objext; then
10885 ac_cv_sys_large_files=no; break
10887 $as_echo "$as_me: failed program was:" >&5
10888 sed 's/^/| /' conftest.$ac_ext >&5
10893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10894 cat >conftest.$ac_ext <<_ACEOF
10897 cat confdefs.h >>conftest.$ac_ext
10898 cat >>conftest.$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10900 #define _LARGE_FILES 1
10901 #include <sys/types.h>
10902 /* Check that off_t can represent 2**63 - 1 correctly.
10903 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10904 since some C++ compilers masquerading as C compilers
10905 incorrectly reject 9223372036854775807. */
10906 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10907 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10908 && LARGE_OFF_T % 2147483647 == 1)
10918 rm -f conftest.$ac_objext
10919 if { (ac_try="$ac_compile"
10920 case "(($ac_try" in
10921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10922 *) ac_try_echo
=$ac_try;;
10924 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10925 $as_echo "$ac_try_echo") >&5
10926 (eval "$ac_compile") 2>conftest.er1
10928 grep -v '^ *+' conftest.er1
>conftest.err
10930 cat conftest.err
>&5
10931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } && {
10933 test -z "$ac_c_werror_flag" ||
10934 test ! -s conftest.err
10935 } && test -s conftest.
$ac_objext; then
10936 ac_cv_sys_large_files
=1; break
10938 $as_echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10945 ac_cv_sys_large_files
=unknown
10949 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
10950 $as_echo "$ac_cv_sys_large_files" >&6; }
10951 case $ac_cv_sys_large_files in #(
10954 cat >>confdefs.h
<<_ACEOF
10955 #define _LARGE_FILES $ac_cv_sys_large_files
10965 # Check for needed/wanted data types
10966 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
10967 $as_echo_n "checking for int8_t... " >&6; }
10968 if test "${ac_cv_type_int8_t+set}" = set; then
10969 $as_echo_n "(cached) " >&6
10971 ac_cv_type_int8_t
=no
10972 cat >conftest.
$ac_ext <<_ACEOF
10975 cat confdefs.h
>>conftest.
$ac_ext
10976 cat >>conftest.
$ac_ext <<_ACEOF
10977 /* end confdefs.h. */
10978 $ac_includes_default
10982 if (sizeof (int8_t))
10988 rm -f conftest.
$ac_objext
10989 if { (ac_try
="$ac_compile"
10990 case "(($ac_try" in
10991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10992 *) ac_try_echo=$ac_try;;
10994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10995 $as_echo "$ac_try_echo") >&5
10996 (eval "$ac_compile") 2>conftest.er1
10998 grep -v '^ *+' conftest.er1 >conftest.err
11000 cat conftest.err >&5
11001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); } && {
11003 test -z "$ac_c_werror_flag" ||
11004 test ! -s conftest.err
11005 } && test -s conftest.$ac_objext; then
11006 cat >conftest.$ac_ext <<_ACEOF
11009 cat confdefs.h >>conftest.$ac_ext
11010 cat >>conftest.$ac_ext <<_ACEOF
11011 /* end confdefs.h. */
11012 $ac_includes_default
11016 if (sizeof ((int8_t)))
11022 rm -f conftest.$ac_objext
11023 if { (ac_try="$ac_compile"
11024 case "(($ac_try" in
11025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11026 *) ac_try_echo
=$ac_try;;
11028 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11029 $as_echo "$ac_try_echo") >&5
11030 (eval "$ac_compile") 2>conftest.er1
11032 grep -v '^ *+' conftest.er1
>conftest.err
11034 cat conftest.err
>&5
11035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } && {
11037 test -z "$ac_c_werror_flag" ||
11038 test ! -s conftest.err
11039 } && test -s conftest.
$ac_objext; then
11042 $as_echo "$as_me: failed program was:" >&5
11043 sed 's/^/| /' conftest.
$ac_ext >&5
11045 ac_cv_type_int8_t
=yes
11048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11050 $as_echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.
$ac_ext >&5
11056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11058 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
11059 $as_echo "$ac_cv_type_int8_t" >&6; }
11060 if test $ac_cv_type_int8_t = yes; then
11062 cat >>confdefs.h
<<_ACEOF
11063 #define HAVE_INT8_T 1
11068 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
11069 $as_echo_n "checking for int16_t... " >&6; }
11070 if test "${ac_cv_type_int16_t+set}" = set; then
11071 $as_echo_n "(cached) " >&6
11073 ac_cv_type_int16_t
=no
11074 cat >conftest.
$ac_ext <<_ACEOF
11077 cat confdefs.h
>>conftest.
$ac_ext
11078 cat >>conftest.
$ac_ext <<_ACEOF
11079 /* end confdefs.h. */
11080 $ac_includes_default
11084 if (sizeof (int16_t))
11090 rm -f conftest.
$ac_objext
11091 if { (ac_try
="$ac_compile"
11092 case "(($ac_try" in
11093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11094 *) ac_try_echo=$ac_try;;
11096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11097 $as_echo "$ac_try_echo") >&5
11098 (eval "$ac_compile") 2>conftest.er1
11100 grep -v '^ *+' conftest.er1 >conftest.err
11102 cat conftest.err >&5
11103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } && {
11105 test -z "$ac_c_werror_flag" ||
11106 test ! -s conftest.err
11107 } && test -s conftest.$ac_objext; then
11108 cat >conftest.$ac_ext <<_ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 $ac_includes_default
11118 if (sizeof ((int16_t)))
11124 rm -f conftest.$ac_objext
11125 if { (ac_try="$ac_compile"
11126 case "(($ac_try" in
11127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11128 *) ac_try_echo
=$ac_try;;
11130 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11131 $as_echo "$ac_try_echo") >&5
11132 (eval "$ac_compile") 2>conftest.er1
11134 grep -v '^ *+' conftest.er1
>conftest.err
11136 cat conftest.err
>&5
11137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); } && {
11139 test -z "$ac_c_werror_flag" ||
11140 test ! -s conftest.err
11141 } && test -s conftest.
$ac_objext; then
11144 $as_echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.
$ac_ext >&5
11147 ac_cv_type_int16_t
=yes
11150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11152 $as_echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.
$ac_ext >&5
11158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11160 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
11161 $as_echo "$ac_cv_type_int16_t" >&6; }
11162 if test $ac_cv_type_int16_t = yes; then
11164 cat >>confdefs.h
<<_ACEOF
11165 #define HAVE_INT16_T 1
11170 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
11171 $as_echo_n "checking for int32_t... " >&6; }
11172 if test "${ac_cv_type_int32_t+set}" = set; then
11173 $as_echo_n "(cached) " >&6
11175 ac_cv_type_int32_t
=no
11176 cat >conftest.
$ac_ext <<_ACEOF
11179 cat confdefs.h
>>conftest.
$ac_ext
11180 cat >>conftest.
$ac_ext <<_ACEOF
11181 /* end confdefs.h. */
11182 $ac_includes_default
11186 if (sizeof (int32_t))
11192 rm -f conftest.
$ac_objext
11193 if { (ac_try
="$ac_compile"
11194 case "(($ac_try" in
11195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11196 *) ac_try_echo=$ac_try;;
11198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11199 $as_echo "$ac_try_echo") >&5
11200 (eval "$ac_compile") 2>conftest.er1
11202 grep -v '^ *+' conftest.er1 >conftest.err
11204 cat conftest.err >&5
11205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); } && {
11207 test -z "$ac_c_werror_flag" ||
11208 test ! -s conftest.err
11209 } && test -s conftest.$ac_objext; then
11210 cat >conftest.$ac_ext <<_ACEOF
11213 cat confdefs.h >>conftest.$ac_ext
11214 cat >>conftest.$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11216 $ac_includes_default
11220 if (sizeof ((int32_t)))
11226 rm -f conftest.$ac_objext
11227 if { (ac_try="$ac_compile"
11228 case "(($ac_try" in
11229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11230 *) ac_try_echo
=$ac_try;;
11232 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11233 $as_echo "$ac_try_echo") >&5
11234 (eval "$ac_compile") 2>conftest.er1
11236 grep -v '^ *+' conftest.er1
>conftest.err
11238 cat conftest.err
>&5
11239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } && {
11241 test -z "$ac_c_werror_flag" ||
11242 test ! -s conftest.err
11243 } && test -s conftest.
$ac_objext; then
11246 $as_echo "$as_me: failed program was:" >&5
11247 sed 's/^/| /' conftest.
$ac_ext >&5
11249 ac_cv_type_int32_t
=yes
11252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11254 $as_echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.
$ac_ext >&5
11260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11262 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
11263 $as_echo "$ac_cv_type_int32_t" >&6; }
11264 if test $ac_cv_type_int32_t = yes; then
11266 cat >>confdefs.h
<<_ACEOF
11267 #define HAVE_INT32_T 1
11272 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
11273 $as_echo_n "checking for int64_t... " >&6; }
11274 if test "${ac_cv_type_int64_t+set}" = set; then
11275 $as_echo_n "(cached) " >&6
11277 ac_cv_type_int64_t
=no
11278 cat >conftest.
$ac_ext <<_ACEOF
11281 cat confdefs.h
>>conftest.
$ac_ext
11282 cat >>conftest.
$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11284 $ac_includes_default
11288 if (sizeof (int64_t))
11294 rm -f conftest.
$ac_objext
11295 if { (ac_try
="$ac_compile"
11296 case "(($ac_try" in
11297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11298 *) ac_try_echo=$ac_try;;
11300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11301 $as_echo "$ac_try_echo") >&5
11302 (eval "$ac_compile") 2>conftest.er1
11304 grep -v '^ *+' conftest.er1 >conftest.err
11306 cat conftest.err >&5
11307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && {
11309 test -z "$ac_c_werror_flag" ||
11310 test ! -s conftest.err
11311 } && test -s conftest.$ac_objext; then
11312 cat >conftest.$ac_ext <<_ACEOF
11315 cat confdefs.h >>conftest.$ac_ext
11316 cat >>conftest.$ac_ext <<_ACEOF
11317 /* end confdefs.h. */
11318 $ac_includes_default
11322 if (sizeof ((int64_t)))
11328 rm -f conftest.$ac_objext
11329 if { (ac_try="$ac_compile"
11330 case "(($ac_try" in
11331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11332 *) ac_try_echo
=$ac_try;;
11334 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11335 $as_echo "$ac_try_echo") >&5
11336 (eval "$ac_compile") 2>conftest.er1
11338 grep -v '^ *+' conftest.er1
>conftest.err
11340 cat conftest.err
>&5
11341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } && {
11343 test -z "$ac_c_werror_flag" ||
11344 test ! -s conftest.err
11345 } && test -s conftest.
$ac_objext; then
11348 $as_echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.
$ac_ext >&5
11351 ac_cv_type_int64_t
=yes
11354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11356 $as_echo "$as_me: failed program was:" >&5
11357 sed 's/^/| /' conftest.
$ac_ext >&5
11362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11364 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
11365 $as_echo "$ac_cv_type_int64_t" >&6; }
11366 if test $ac_cv_type_int64_t = yes; then
11368 cat >>confdefs.h
<<_ACEOF
11369 #define HAVE_INT64_T 1
11374 { $as_echo "$as_me:$LINENO: checking for intptr_t" >&5
11375 $as_echo_n "checking for intptr_t... " >&6; }
11376 if test "${ac_cv_type_intptr_t+set}" = set; then
11377 $as_echo_n "(cached) " >&6
11379 ac_cv_type_intptr_t
=no
11380 cat >conftest.
$ac_ext <<_ACEOF
11383 cat confdefs.h
>>conftest.
$ac_ext
11384 cat >>conftest.
$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11386 $ac_includes_default
11390 if (sizeof (intptr_t))
11396 rm -f conftest.
$ac_objext
11397 if { (ac_try
="$ac_compile"
11398 case "(($ac_try" in
11399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11403 $as_echo "$ac_try_echo") >&5
11404 (eval "$ac_compile") 2>conftest.er1
11406 grep -v '^ *+' conftest.er1 >conftest.err
11408 cat conftest.err >&5
11409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); } && {
11411 test -z "$ac_c_werror_flag" ||
11412 test ! -s conftest.err
11413 } && test -s conftest.$ac_objext; then
11414 cat >conftest.$ac_ext <<_ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 $ac_includes_default
11424 if (sizeof ((intptr_t)))
11430 rm -f conftest.$ac_objext
11431 if { (ac_try="$ac_compile"
11432 case "(($ac_try" in
11433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11434 *) ac_try_echo
=$ac_try;;
11436 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11437 $as_echo "$ac_try_echo") >&5
11438 (eval "$ac_compile") 2>conftest.er1
11440 grep -v '^ *+' conftest.er1
>conftest.err
11442 cat conftest.err
>&5
11443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } && {
11445 test -z "$ac_c_werror_flag" ||
11446 test ! -s conftest.err
11447 } && test -s conftest.
$ac_objext; then
11450 $as_echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.
$ac_ext >&5
11453 ac_cv_type_intptr_t
=yes
11456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11458 $as_echo "$as_me: failed program was:" >&5
11459 sed 's/^/| /' conftest.
$ac_ext >&5
11464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11466 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
11467 $as_echo "$ac_cv_type_intptr_t" >&6; }
11468 if test $ac_cv_type_intptr_t = yes; then
11470 cat >>confdefs.h
<<_ACEOF
11471 #define HAVE_INTPTR_T 1
11476 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
11477 $as_echo_n "checking for uint8_t... " >&6; }
11478 if test "${ac_cv_type_uint8_t+set}" = set; then
11479 $as_echo_n "(cached) " >&6
11481 ac_cv_type_uint8_t
=no
11482 cat >conftest.
$ac_ext <<_ACEOF
11485 cat confdefs.h
>>conftest.
$ac_ext
11486 cat >>conftest.
$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 $ac_includes_default
11492 if (sizeof (uint8_t))
11498 rm -f conftest.
$ac_objext
11499 if { (ac_try
="$ac_compile"
11500 case "(($ac_try" in
11501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11502 *) ac_try_echo=$ac_try;;
11504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11505 $as_echo "$ac_try_echo") >&5
11506 (eval "$ac_compile") 2>conftest.er1
11508 grep -v '^ *+' conftest.er1 >conftest.err
11510 cat conftest.err >&5
11511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } && {
11513 test -z "$ac_c_werror_flag" ||
11514 test ! -s conftest.err
11515 } && test -s conftest.$ac_objext; then
11516 cat >conftest.$ac_ext <<_ACEOF
11519 cat confdefs.h >>conftest.$ac_ext
11520 cat >>conftest.$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11522 $ac_includes_default
11526 if (sizeof ((uint8_t)))
11532 rm -f conftest.$ac_objext
11533 if { (ac_try="$ac_compile"
11534 case "(($ac_try" in
11535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11536 *) ac_try_echo
=$ac_try;;
11538 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11539 $as_echo "$ac_try_echo") >&5
11540 (eval "$ac_compile") 2>conftest.er1
11542 grep -v '^ *+' conftest.er1
>conftest.err
11544 cat conftest.err
>&5
11545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } && {
11547 test -z "$ac_c_werror_flag" ||
11548 test ! -s conftest.err
11549 } && test -s conftest.
$ac_objext; then
11552 $as_echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.
$ac_ext >&5
11555 ac_cv_type_uint8_t
=yes
11558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11560 $as_echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.
$ac_ext >&5
11566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11568 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
11569 $as_echo "$ac_cv_type_uint8_t" >&6; }
11570 if test $ac_cv_type_uint8_t = yes; then
11572 cat >>confdefs.h
<<_ACEOF
11573 #define HAVE_UINT8_T 1
11578 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
11579 $as_echo_n "checking for uint16_t... " >&6; }
11580 if test "${ac_cv_type_uint16_t+set}" = set; then
11581 $as_echo_n "(cached) " >&6
11583 ac_cv_type_uint16_t
=no
11584 cat >conftest.
$ac_ext <<_ACEOF
11587 cat confdefs.h
>>conftest.
$ac_ext
11588 cat >>conftest.
$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11590 $ac_includes_default
11594 if (sizeof (uint16_t))
11600 rm -f conftest.
$ac_objext
11601 if { (ac_try
="$ac_compile"
11602 case "(($ac_try" in
11603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11604 *) ac_try_echo=$ac_try;;
11606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11607 $as_echo "$ac_try_echo") >&5
11608 (eval "$ac_compile") 2>conftest.er1
11610 grep -v '^ *+' conftest.er1 >conftest.err
11612 cat conftest.err >&5
11613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); } && {
11615 test -z "$ac_c_werror_flag" ||
11616 test ! -s conftest.err
11617 } && test -s conftest.$ac_objext; then
11618 cat >conftest.$ac_ext <<_ACEOF
11621 cat confdefs.h >>conftest.$ac_ext
11622 cat >>conftest.$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11624 $ac_includes_default
11628 if (sizeof ((uint16_t)))
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11638 *) ac_try_echo
=$ac_try;;
11640 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11641 $as_echo "$ac_try_echo") >&5
11642 (eval "$ac_compile") 2>conftest.er1
11644 grep -v '^ *+' conftest.er1
>conftest.err
11646 cat conftest.err
>&5
11647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } && {
11649 test -z "$ac_c_werror_flag" ||
11650 test ! -s conftest.err
11651 } && test -s conftest.
$ac_objext; then
11654 $as_echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.
$ac_ext >&5
11657 ac_cv_type_uint16_t
=yes
11660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11662 $as_echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.
$ac_ext >&5
11668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11670 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
11671 $as_echo "$ac_cv_type_uint16_t" >&6; }
11672 if test $ac_cv_type_uint16_t = yes; then
11674 cat >>confdefs.h
<<_ACEOF
11675 #define HAVE_UINT16_T 1
11680 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
11681 $as_echo_n "checking for uint32_t... " >&6; }
11682 if test "${ac_cv_type_uint32_t+set}" = set; then
11683 $as_echo_n "(cached) " >&6
11685 ac_cv_type_uint32_t
=no
11686 cat >conftest.
$ac_ext <<_ACEOF
11689 cat confdefs.h
>>conftest.
$ac_ext
11690 cat >>conftest.
$ac_ext <<_ACEOF
11691 /* end confdefs.h. */
11692 $ac_includes_default
11696 if (sizeof (uint32_t))
11702 rm -f conftest.
$ac_objext
11703 if { (ac_try
="$ac_compile"
11704 case "(($ac_try" in
11705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11706 *) ac_try_echo=$ac_try;;
11708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11709 $as_echo "$ac_try_echo") >&5
11710 (eval "$ac_compile") 2>conftest.er1
11712 grep -v '^ *+' conftest.er1 >conftest.err
11714 cat conftest.err >&5
11715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); } && {
11717 test -z "$ac_c_werror_flag" ||
11718 test ! -s conftest.err
11719 } && test -s conftest.$ac_objext; then
11720 cat >conftest.$ac_ext <<_ACEOF
11723 cat confdefs.h >>conftest.$ac_ext
11724 cat >>conftest.$ac_ext <<_ACEOF
11725 /* end confdefs.h. */
11726 $ac_includes_default
11730 if (sizeof ((uint32_t)))
11736 rm -f conftest.$ac_objext
11737 if { (ac_try="$ac_compile"
11738 case "(($ac_try" in
11739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11740 *) ac_try_echo
=$ac_try;;
11742 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11743 $as_echo "$ac_try_echo") >&5
11744 (eval "$ac_compile") 2>conftest.er1
11746 grep -v '^ *+' conftest.er1
>conftest.err
11748 cat conftest.err
>&5
11749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } && {
11751 test -z "$ac_c_werror_flag" ||
11752 test ! -s conftest.err
11753 } && test -s conftest.
$ac_objext; then
11756 $as_echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11759 ac_cv_type_uint32_t
=yes
11762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11764 $as_echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.
$ac_ext >&5
11770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11772 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
11773 $as_echo "$ac_cv_type_uint32_t" >&6; }
11774 if test $ac_cv_type_uint32_t = yes; then
11776 cat >>confdefs.h
<<_ACEOF
11777 #define HAVE_UINT32_T 1
11782 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
11783 $as_echo_n "checking for uint64_t... " >&6; }
11784 if test "${ac_cv_type_uint64_t+set}" = set; then
11785 $as_echo_n "(cached) " >&6
11787 ac_cv_type_uint64_t
=no
11788 cat >conftest.
$ac_ext <<_ACEOF
11791 cat confdefs.h
>>conftest.
$ac_ext
11792 cat >>conftest.
$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 $ac_includes_default
11798 if (sizeof (uint64_t))
11804 rm -f conftest.
$ac_objext
11805 if { (ac_try
="$ac_compile"
11806 case "(($ac_try" in
11807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11808 *) ac_try_echo=$ac_try;;
11810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11811 $as_echo "$ac_try_echo") >&5
11812 (eval "$ac_compile") 2>conftest.er1
11814 grep -v '^ *+' conftest.er1 >conftest.err
11816 cat conftest.err >&5
11817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } && {
11819 test -z "$ac_c_werror_flag" ||
11820 test ! -s conftest.err
11821 } && test -s conftest.$ac_objext; then
11822 cat >conftest.$ac_ext <<_ACEOF
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11828 $ac_includes_default
11832 if (sizeof ((uint64_t)))
11838 rm -f conftest.$ac_objext
11839 if { (ac_try="$ac_compile"
11840 case "(($ac_try" in
11841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11842 *) ac_try_echo
=$ac_try;;
11844 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11845 $as_echo "$ac_try_echo") >&5
11846 (eval "$ac_compile") 2>conftest.er1
11848 grep -v '^ *+' conftest.er1
>conftest.err
11850 cat conftest.err
>&5
11851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); } && {
11853 test -z "$ac_c_werror_flag" ||
11854 test ! -s conftest.err
11855 } && test -s conftest.
$ac_objext; then
11858 $as_echo "$as_me: failed program was:" >&5
11859 sed 's/^/| /' conftest.
$ac_ext >&5
11861 ac_cv_type_uint64_t
=yes
11864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11866 $as_echo "$as_me: failed program was:" >&5
11867 sed 's/^/| /' conftest.
$ac_ext >&5
11872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11874 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
11875 $as_echo "$ac_cv_type_uint64_t" >&6; }
11876 if test $ac_cv_type_uint64_t = yes; then
11878 cat >>confdefs.h
<<_ACEOF
11879 #define HAVE_UINT64_T 1
11884 { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5
11885 $as_echo_n "checking for uintptr_t... " >&6; }
11886 if test "${ac_cv_type_uintptr_t+set}" = set; then
11887 $as_echo_n "(cached) " >&6
11889 ac_cv_type_uintptr_t
=no
11890 cat >conftest.
$ac_ext <<_ACEOF
11893 cat confdefs.h
>>conftest.
$ac_ext
11894 cat >>conftest.
$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11896 $ac_includes_default
11900 if (sizeof (uintptr_t))
11906 rm -f conftest.
$ac_objext
11907 if { (ac_try
="$ac_compile"
11908 case "(($ac_try" in
11909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11910 *) ac_try_echo=$ac_try;;
11912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11913 $as_echo "$ac_try_echo") >&5
11914 (eval "$ac_compile") 2>conftest.er1
11916 grep -v '^ *+' conftest.er1 >conftest.err
11918 cat conftest.err >&5
11919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } && {
11921 test -z "$ac_c_werror_flag" ||
11922 test ! -s conftest.err
11923 } && test -s conftest.$ac_objext; then
11924 cat >conftest.$ac_ext <<_ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11930 $ac_includes_default
11934 if (sizeof ((uintptr_t)))
11940 rm -f conftest.$ac_objext
11941 if { (ac_try="$ac_compile"
11942 case "(($ac_try" in
11943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11944 *) ac_try_echo
=$ac_try;;
11946 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11947 $as_echo "$ac_try_echo") >&5
11948 (eval "$ac_compile") 2>conftest.er1
11950 grep -v '^ *+' conftest.er1
>conftest.err
11952 cat conftest.err
>&5
11953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } && {
11955 test -z "$ac_c_werror_flag" ||
11956 test ! -s conftest.err
11957 } && test -s conftest.
$ac_objext; then
11960 $as_echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.
$ac_ext >&5
11963 ac_cv_type_uintptr_t
=yes
11966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11968 $as_echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.
$ac_ext >&5
11974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11976 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
11977 $as_echo "$ac_cv_type_uintptr_t" >&6; }
11978 if test $ac_cv_type_uintptr_t = yes; then
11980 cat >>confdefs.h
<<_ACEOF
11981 #define HAVE_UINTPTR_T 1
11989 # Check for needed/wanted headers
11995 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
11997 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11998 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11999 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12000 $as_echo_n "checking for $ac_header... " >&6; }
12001 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12002 $as_echo_n "(cached) " >&6
12004 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12005 $as_echo "$as_val"'`
12006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12007 $as_echo "$ac_res" >&6; }
12009 # Is the header compilable?
12010 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12011 $as_echo_n "checking $ac_header usability... " >&6; }
12012 cat >conftest.
$ac_ext <<_ACEOF
12015 cat confdefs.h
>>conftest.
$ac_ext
12016 cat >>conftest.
$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12018 $ac_includes_default
12019 #include <$ac_header>
12021 rm -f conftest.
$ac_objext
12022 if { (ac_try
="$ac_compile"
12023 case "(($ac_try" in
12024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12025 *) ac_try_echo=$ac_try;;
12027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12028 $as_echo "$ac_try_echo") >&5
12029 (eval "$ac_compile") 2>conftest.er1
12031 grep -v '^ *+' conftest.er1 >conftest.err
12033 cat conftest.err >&5
12034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } && {
12036 test -z "$ac_c_werror_flag" ||
12037 test ! -s conftest.err
12038 } && test -s conftest.$ac_objext; then
12039 ac_header_compiler=yes
12041 $as_echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.$ac_ext >&5
12044 ac_header_compiler=no
12047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12048 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12049 $as_echo "$ac_header_compiler" >&6; }
12051 # Is the header present?
12052 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12053 $as_echo_n "checking $ac_header presence... " >&6; }
12054 cat >conftest.$ac_ext <<_ACEOF
12057 cat confdefs.h >>conftest.$ac_ext
12058 cat >>conftest.$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12060 #include <$ac_header>
12062 if { (ac_try="$ac_cpp conftest.$ac_ext"
12063 case "(($ac_try" in
12064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12065 *) ac_try_echo
=$ac_try;;
12067 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12068 $as_echo "$ac_try_echo") >&5
12069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12071 grep -v '^ *+' conftest.er1
>conftest.err
12073 cat conftest.err
>&5
12074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } >/dev
/null
&& {
12076 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12077 test ! -s conftest.err
12079 ac_header_preproc
=yes
12081 $as_echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.
$ac_ext >&5
12084 ac_header_preproc
=no
12087 rm -f conftest.err conftest.
$ac_ext
12088 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12089 $as_echo "$ac_header_preproc" >&6; }
12091 # So? What about this header?
12092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12095 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12097 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12098 ac_header_preproc
=yes
12101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12102 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12104 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12106 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12108 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12110 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12112 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12116 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12117 $as_echo_n "checking for $ac_header... " >&6; }
12118 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12119 $as_echo_n "(cached) " >&6
12121 eval "$as_ac_Header=\$ac_header_preproc"
12123 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12124 $as_echo "$as_val"'`
12125 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12126 $as_echo "$ac_res" >&6; }
12129 if test `eval 'as_val=${'$as_ac_Header'}
12130 $as_echo "$as_val"'` = yes; then
12131 cat >>confdefs.h
<<_ACEOF
12132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12141 # Figure out whether or not we have these functions
12150 for ac_func
in usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size
12152 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12153 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12154 $as_echo_n "checking for $ac_func... " >&6; }
12155 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12156 $as_echo_n "(cached) " >&6
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12166 #define $ac_func innocuous_$ac_func
12168 /* System header to define __stub macros and hopefully few prototypes,
12169 which can conflict with char $ac_func (); below.
12170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12171 <limits.h> exists even on freestanding compilers. */
12174 # include <limits.h>
12176 # include <assert.h>
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12188 /* The GNU C library defines this for functions which it implements
12189 to always fail with ENOSYS. Some functions are actually named
12190 something starting with __ and the normal name is an alias. */
12191 #if defined __stub_$ac_func || defined __stub___$ac_func
12198 return $ac_func ();
12203 rm -f conftest.
$ac_objext conftest
$ac_exeext
12204 if { (ac_try
="$ac_link"
12205 case "(($ac_try" in
12206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12210 $as_echo "$ac_try_echo") >&5
12211 (eval "$ac_link") 2>conftest.er1
12213 grep -v '^ *+' conftest.er1 >conftest.err
12215 cat conftest.err >&5
12216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } && {
12218 test -z "$ac_c_werror_flag" ||
12219 test ! -s conftest.err
12220 } && test -s conftest$ac_exeext && {
12221 test "$cross_compiling" = yes ||
12222 $as_test_x conftest$ac_exeext
12224 eval "$as_ac_var=yes"
12226 $as_echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12229 eval "$as_ac_var=no"
12232 rm -rf conftest.dSYM
12233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12234 conftest$ac_exeext conftest.$ac_ext
12236 ac_res=`eval 'as_val=${'$as_ac_var'}
12237 $as_echo "$as_val"'`
12238 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12239 $as_echo "$ac_res" >&6; }
12240 if test `eval 'as_val=${'$as_ac_var'}
12241 $as_echo "$as_val"'` = yes; then
12242 cat >>confdefs.h <<_ACEOF
12243 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12251 # By default, we use the amalgamation (this may be changed below...)
12256 # See whether we can run specific tclsh versions known to work well;
12257 # if not, then we fall back to plain tclsh.
12258 # TODO: try other versions before falling back?
12260 for ac_prog in tclsh8.5 tclsh
12262 # Extract the first word of "$ac_prog", so it can be a program name with args.
12263 set dummy $ac_prog; ac_word=$2
12264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12265 $as_echo_n "checking for $ac_word... " >&6; }
12266 if test "${ac_cv_prog_TCLSH_CMD+set}" = set; then
12267 $as_echo_n "(cached) " >&6
12269 if test -n "$TCLSH_CMD"; then
12270 ac_cv_prog_TCLSH_CMD="$TCLSH_CMD" # Let the user override the test.
12272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12273 for as_dir in $PATH
12276 test -z "$as_dir" && as_dir=.
12277 for ac_exec_ext in '' $ac_executable_extensions; do
12278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12279 ac_cv_prog_TCLSH_CMD="$ac_prog"
12280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12289 TCLSH_CMD=$ac_cv_prog_TCLSH_CMD
12290 if test -n "$TCLSH_CMD"; then
12291 { $as_echo "$as_me:$LINENO: result: $TCLSH_CMD" >&5
12292 $as_echo "$TCLSH_CMD" >&6; }
12294 { $as_echo "$as_me:$LINENO: result: no" >&5
12295 $as_echo "no" >&6; }
12299 test -n "$TCLSH_CMD" && break
12301 test -n "$TCLSH_CMD" || TCLSH_CMD="none"
12303 if test "$TCLSH_CMD" = "none"; then
12304 # If we can't find a local tclsh, then building the amalgamation will fail.
12305 # We act as though --disable-amalgamation has been used.
12306 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
12313 if test "x${TCLLIBDIR+set}" != "xset" ; then
12314 TCLLIBDIR='$(libdir)'
12315 for i in `echo 'puts stdout $auto_path' |
${TCLSH_CMD}` ; do
12319 TCLLIBDIR="${TCLLIBDIR}/sqlite3"
12324 # Set up an appropriate program prefix
12326 if test "$program_prefix" = "NONE"; then
12331 VERSION=`cat $srcdir/VERSION |
sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
12332 { $as_echo "$as_me:$LINENO: Version set to $VERSION" >&5
12333 $as_echo "$as_me: Version set to $VERSION" >&6;}
12335 RELEASE=`cat $srcdir/VERSION
`
12336 { $as_echo "$as_me:$LINENO: Release set to $RELEASE" >&5
12337 $as_echo "$as_me: Release set to $RELEASE" >&6;}
12339 VERSION_NUMBER=`cat $srcdir/VERSION \
12340 |
sed 's/[^0-9]/ /g' \
12341 |
awk '{printf "%d%03d%03d",$1,$2,$3}'`
12342 { $as_echo "$as_me:$LINENO: Version number set to $VERSION_NUMBER" >&5
12343 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
12347 # Check to see if the --with-hints=FILE option is used. If there is none,
12348 # then check for a files named "$host.hints" and ../$hosts.hints where
12349 # $host is the hostname of the build system. If still no hints are
12350 # found, try looking in $system.hints and ../$system.hints where
12351 # $system is the result of uname -s.
12354 # Check whether --with-hints was given.
12355 if test "${with_hints+set}" = set; then
12356 withval=$with_hints; hints=$withval
12359 if test "$hints" = ""; then
12360 host=`hostname |
sed 's/\..*//'`
12361 if test -r $host.hints; then
12364 if test -r ../$host.hints; then
12365 hints=../$host.hints
12369 if test "$hints" = ""; then
12371 if test -r $sys.hints; then
12374 if test -r ../$sys.hints; then
12375 hints=../$sys.hints
12379 if test "$hints" != ""; then
12380 { $as_echo "$as_me:$LINENO: result: reading hints from $hints" >&5
12381 $as_echo "reading hints from $hints" >&6; }
12386 # Locate a compiler for the build machine. This compiler should
12387 # generate command-line programs that run on the build machine.
12389 if test x"$cross_compiling" = xno; then
12391 BUILD_CFLAGS=$CFLAGS
12393 if test "${BUILD_CC+set}" != set; then
12394 for ac_prog in gcc cc cl
12396 # Extract the first word of "$ac_prog", so it can be a program name with args.
12397 set dummy $ac_prog; ac_word=$2
12398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12399 $as_echo_n "checking for $ac_word... " >&6; }
12400 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
12401 $as_echo_n "(cached) " >&6
12403 if test -n "$BUILD_CC"; then
12404 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
12406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12407 for as_dir in $PATH
12410 test -z "$as_dir" && as_dir=.
12411 for ac_exec_ext in '' $ac_executable_extensions; do
12412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12413 ac_cv_prog_BUILD_CC="$ac_prog"
12414 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12423 BUILD_CC=$ac_cv_prog_BUILD_CC
12424 if test -n "$BUILD_CC"; then
12425 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
12426 $as_echo "$BUILD_CC" >&6; }
12428 { $as_echo "$as_me:$LINENO: result: no" >&5
12429 $as_echo "no" >&6; }
12433 test -n "$BUILD_CC" && break
12437 if test "${BUILD_CFLAGS+set}" != set; then
12444 # Do we want to support multithreaded use of sqlite
12446 # Check whether --enable-threadsafe was given.
12447 if test "${enable_threadsafe+set}" = set; then
12448 enableval=$enable_threadsafe;
12450 enable_threadsafe=yes
12453 { $as_echo "$as_me:$LINENO: checking whether to support threadsafe operation" >&5
12454 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
12455 if test "$enable_threadsafe" = "no"; then
12456 SQLITE_THREADSAFE=0
12457 { $as_echo "$as_me:$LINENO: result: no" >&5
12458 $as_echo "no" >&6; }
12460 SQLITE_THREADSAFE=1
12461 { $as_echo "$as_me:$LINENO: result: yes" >&5
12462 $as_echo "yes" >&6; }
12466 if test "$SQLITE_THREADSAFE" = "1"; then
12467 { $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
12468 $as_echo_n "checking for library containing pthread_create... " >&6; }
12469 if test "${ac_cv_search_pthread_create+set}" = set; then
12470 $as_echo_n "(cached) " >&6
12472 ac_func_search_save_LIBS=$LIBS
12473 cat >conftest.$ac_ext <<_ACEOF
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12486 char pthread_create ();
12490 return pthread_create ();
12495 for ac_lib in '' pthread; do
12496 if test -z "$ac_lib"; then
12497 ac_res="none required"
12500 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12502 rm -f conftest.$ac_objext conftest$ac_exeext
12503 if { (ac_try="$ac_link"
12504 case "(($ac_try" in
12505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12506 *) ac_try_echo
=$ac_try;;
12508 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12509 $as_echo "$ac_try_echo") >&5
12510 (eval "$ac_link") 2>conftest.er1
12512 grep -v '^ *+' conftest.er1
>conftest.err
12514 cat conftest.err
>&5
12515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } && {
12517 test -z "$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12519 } && test -s conftest
$ac_exeext && {
12520 test "$cross_compiling" = yes ||
12521 $as_test_x conftest
$ac_exeext
12523 ac_cv_search_pthread_create
=$ac_res
12525 $as_echo "$as_me: failed program was:" >&5
12526 sed 's/^/| /' conftest.
$ac_ext >&5
12531 rm -rf conftest.dSYM
12532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12534 if test "${ac_cv_search_pthread_create+set}" = set; then
12538 if test "${ac_cv_search_pthread_create+set}" = set; then
12541 ac_cv_search_pthread_create
=no
12543 rm conftest.
$ac_ext
12544 LIBS
=$ac_func_search_save_LIBS
12546 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
12547 $as_echo "$ac_cv_search_pthread_create" >&6; }
12548 ac_res
=$ac_cv_search_pthread_create
12549 if test "$ac_res" != no
; then
12550 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12557 # Do we want to allow a connection created in one thread to be used
12558 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
12559 # due to bugs in the threading implementations. This is thus off by default.
12561 # Check whether --enable-cross-thread-connections was given.
12562 if test "${enable_cross_thread_connections+set}" = set; then
12563 enableval
=$enable_cross_thread_connections;
12565 enable_xthreadconnect
=no
12568 { $as_echo "$as_me:$LINENO: checking whether to allow connections to be shared across threads" >&5
12569 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
12570 if test "$enable_xthreadconnect" = "no"; then
12572 { $as_echo "$as_me:$LINENO: result: no" >&5
12573 $as_echo "no" >&6; }
12575 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
12576 { $as_echo "$as_me:$LINENO: result: yes" >&5
12577 $as_echo "yes" >&6; }
12582 # Do we want to support release
12584 # Check whether --enable-releasemode was given.
12585 if test "${enable_releasemode+set}" = set; then
12586 enableval
=$enable_releasemode;
12588 enable_releasemode
=no
12591 { $as_echo "$as_me:$LINENO: checking whether to support shared library linked as release mode or not" >&5
12592 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
12593 if test "$enable_releasemode" = "no"; then
12595 { $as_echo "$as_me:$LINENO: result: no" >&5
12596 $as_echo "no" >&6; }
12598 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
12599 { $as_echo "$as_me:$LINENO: result: yes" >&5
12600 $as_echo "yes" >&6; }
12605 # Do we want temporary databases in memory
12607 # Check whether --enable-tempstore was given.
12608 if test "${enable_tempstore+set}" = set; then
12609 enableval
=$enable_tempstore;
12611 enable_tempstore
=no
12614 { $as_echo "$as_me:$LINENO: checking whether to use an in-ram database for temporary tables" >&5
12615 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
12616 case "$enable_tempstore" in
12619 { $as_echo "$as_me:$LINENO: result: never" >&5
12620 $as_echo "never" >&6; }
12624 { $as_echo "$as_me:$LINENO: result: no" >&5
12625 $as_echo "no" >&6; }
12629 { $as_echo "$as_me:$LINENO: result: yes" >&5
12630 $as_echo "yes" >&6; }
12634 { $as_echo "$as_me:$LINENO: result: always" >&5
12635 $as_echo "always" >&6; }
12639 { $as_echo "$as_me:$LINENO: result: no" >&5
12640 $as_echo "no" >&6; }
12647 # Lots of things are different if we are compiling for Windows using
12648 # the CYGWIN environment. So check for that special case and handle
12649 # things accordingly.
12651 { $as_echo "$as_me:$LINENO: checking if executables have the .exe suffix" >&5
12652 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
12653 if test "$config_BUILD_EXEEXT" = ".exe"; then
12655 { $as_echo "$as_me:$LINENO: result: yes" >&5
12656 $as_echo "yes" >&6; }
12658 { $as_echo "$as_me:$LINENO: result: unknown" >&5
12659 $as_echo "unknown" >&6; }
12661 if test "$CYGWIN" != "yes"; then
12662 { $as_echo "$as_me:$LINENO: checking host system type" >&5
12663 $as_echo_n "checking host system type... " >&6; }
12664 if test "${ac_cv_host+set}" = set; then
12665 $as_echo_n "(cached) " >&6
12667 if test "x$host_alias" = x
; then
12668 ac_cv_host
=$ac_cv_build
12670 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12671 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12672 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12673 { (exit 1); exit 1; }; }
12677 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12678 $as_echo "$ac_cv_host" >&6; }
12679 case $ac_cv_host in
12681 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12682 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
12683 { (exit 1); exit 1; }; };;
12686 ac_save_IFS
=$IFS; IFS
='-'
12692 # Remember, the first character of IFS is used to create $*,
12693 # except with old shells:
12696 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
12700 *cygwin
* ) CYGWIN
=yes;;
12705 if test "$CYGWIN" = "yes"; then
12708 BUILD_EXEEXT
=$EXEEXT
12710 if test x
"$cross_compiling" = xno
; then
12711 TARGET_EXEEXT
=$BUILD_EXEEXT
12713 TARGET_EXEEXT
=$config_TARGET_EXEEXT
12715 if test "$TARGET_EXEEXT" = ".exe"; then
12716 if test $OS2_SHELL ; then
12720 CFLAGS
="$CFLAGS -DSQLITE_OS_OS2=1"
12725 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
12731 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
12741 # Figure out all the parameters needed to compile against Tcl.
12743 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
12744 # macros in the in the tcl.m4 file of the standard TCL distribution.
12745 # Those macros could not be used directly since we have to make some
12746 # minor changes to accomodate systems that do not have TCL installed.
12748 # Check whether --enable-tcl was given.
12749 if test "${enable_tcl+set}" = set; then
12750 enableval
=$enable_tcl; use_tcl
=$enableval
12755 if test "${use_tcl}" = "yes" ; then
12757 # Check whether --with-tcl was given.
12758 if test "${with_tcl+set}" = set; then
12759 withval
=$with_tcl; with_tclconfig
=${withval}
12762 { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
12763 $as_echo_n "checking for Tcl configuration... " >&6; }
12764 if test "${ac_cv_c_tclconfig+set}" = set; then
12765 $as_echo_n "(cached) " >&6
12768 # First check to see if --with-tcl was specified.
12769 if test x
"${with_tclconfig}" != x
; then
12770 if test -f "${with_tclconfig}/tclConfig.sh" ; then
12771 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
12773 { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
12774 $as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
12775 { (exit 1); exit 1; }; }
12779 # Start autosearch by asking tclsh
12780 if test x
"${ac_cv_c_tclconfig}" = x
; then
12781 if test x
"$cross_compiling" = xno
; then
12782 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
12784 if test -f "$i/tclConfig.sh" ; then
12785 ac_cv_c_tclconfig
="$i"
12792 # then check for a private Tcl installation
12793 if test x
"${ac_cv_c_tclconfig}" = x
; then
12796 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12797 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
12798 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
12800 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12801 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
12802 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
12804 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12805 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
12806 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
12808 if test -f "$i/unix/tclConfig.sh" ; then
12809 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12815 # check in a few common install locations
12816 if test x
"${ac_cv_c_tclconfig}" = x
; then
12818 `ls -d ${libdir} 2>/dev/null` \
12819 `ls -d /usr/local/lib 2>/dev/null` \
12820 `ls -d /usr/contrib/lib 2>/dev/null` \
12821 `ls -d /usr/lib 2>/dev/null`
12823 if test -f "$i/tclConfig.sh" ; then
12824 ac_cv_c_tclconfig
=`(cd $i; pwd)`
12830 # check in a few other private locations
12831 if test x
"${ac_cv_c_tclconfig}" = x
; then
12834 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
12835 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
12836 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
12838 if test -f "$i/unix/tclConfig.sh" ; then
12839 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
12848 if test x
"${ac_cv_c_tclconfig}" = x
; then
12850 { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
12851 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
12852 { $as_echo "$as_me:$LINENO: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
12853 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
12854 { $as_echo "$as_me:$LINENO: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
12855 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
12857 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
12858 { $as_echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
12859 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
12861 { $as_echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
12862 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
12863 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
12864 { $as_echo "$as_me:$LINENO: result: loading" >&5
12865 $as_echo "loading" >&6; }
12866 .
$TCL_BIN_DIR/tclConfig.sh
12868 { $as_echo "$as_me:$LINENO: result: file not found" >&5
12869 $as_echo "file not found" >&6; }
12873 # If the TCL_BIN_DIR is the build directory (not the install directory),
12874 # then set the common variable name to the value of the build variables.
12875 # For example, the variable TCL_LIB_SPEC will be set to the value
12876 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
12877 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
12878 # installed and uninstalled version of Tcl.
12881 if test -f $TCL_BIN_DIR/Makefile
; then
12882 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
12883 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
12884 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
12888 # eval is required to do the TCL_DBGX substitution
12891 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
12892 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
12893 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
12895 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
12896 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
12897 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
12913 if test "${use_tcl}" = "no" ; then
12921 # Figure out what C libraries are required to compile programs
12922 # that use "readline()" library.
12924 TARGET_READLINE_LIBS
=""
12925 TARGET_READLINE_INC
=""
12926 TARGET_HAVE_READLINE
=0
12927 # Check whether --enable-readline was given.
12928 if test "${enable_readline+set}" = set; then
12929 enableval
=$enable_readline; with_readline
=$enableval
12935 if test x
"$with_readline" != xno
; then
12939 # Check whether --with-readline-lib was given.
12940 if test "${with_readline_lib+set}" = set; then
12941 withval
=$with_readline_lib; with_readline_lib
=$withval
12943 with_readline_lib
="auto"
12946 if test "x$with_readline_lib" = xauto
; then
12949 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12950 $as_echo_n "checking for library containing tgetent... " >&6; }
12951 if test "${ac_cv_search_tgetent+set}" = set; then
12952 $as_echo_n "(cached) " >&6
12954 ac_func_search_save_LIBS
=$LIBS
12955 cat >conftest.
$ac_ext <<_ACEOF
12958 cat confdefs.h
>>conftest.
$ac_ext
12959 cat >>conftest.
$ac_ext <<_ACEOF
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12977 for ac_lib
in '' readline ncurses curses termcap
; do
12978 if test -z "$ac_lib"; then
12979 ac_res
="none required"
12982 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12984 rm -f conftest.
$ac_objext conftest
$ac_exeext
12985 if { (ac_try
="$ac_link"
12986 case "(($ac_try" in
12987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12988 *) ac_try_echo=$ac_try;;
12990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12991 $as_echo "$ac_try_echo") >&5
12992 (eval "$ac_link") 2>conftest.er1
12994 grep -v '^ *+' conftest.er1 >conftest.err
12996 cat conftest.err >&5
12997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); } && {
12999 test -z "$ac_c_werror_flag" ||
13000 test ! -s conftest.err
13001 } && test -s conftest$ac_exeext && {
13002 test "$cross_compiling" = yes ||
13003 $as_test_x conftest$ac_exeext
13005 ac_cv_search_tgetent=$ac_res
13007 $as_echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13013 rm -rf conftest.dSYM
13014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13016 if test "${ac_cv_search_tgetent+set}" = set; then
13020 if test "${ac_cv_search_tgetent+set}" = set; then
13023 ac_cv_search_tgetent=no
13025 rm conftest.$ac_ext
13026 LIBS=$ac_func_search_save_LIBS
13028 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13029 $as_echo "$ac_cv_search_tgetent" >&6; }
13030 ac_res=$ac_cv_search_tgetent
13031 if test "$ac_res" != no; then
13032 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13038 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13039 $as_echo_n "checking for readline in -lreadline... " >&6; }
13040 if test "${ac_cv_lib_readline_readline+set}" = set; then
13041 $as_echo_n "(cached) " >&6
13043 ac_check_lib_save_LIBS=$LIBS
13044 LIBS="-lreadline $LIBS"
13045 cat >conftest.$ac_ext <<_ACEOF
13048 cat confdefs.h >>conftest.$ac_ext
13049 cat >>conftest.$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13062 return readline ();
13067 rm -f conftest.$ac_objext conftest$ac_exeext
13068 if { (ac_try="$ac_link"
13069 case "(($ac_try" in
13070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13071 *) ac_try_echo
=$ac_try;;
13073 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13074 $as_echo "$ac_try_echo") >&5
13075 (eval "$ac_link") 2>conftest.er1
13077 grep -v '^ *+' conftest.er1
>conftest.err
13079 cat conftest.err
>&5
13080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); } && {
13082 test -z "$ac_c_werror_flag" ||
13083 test ! -s conftest.err
13084 } && test -s conftest
$ac_exeext && {
13085 test "$cross_compiling" = yes ||
13086 $as_test_x conftest
$ac_exeext
13088 ac_cv_lib_readline_readline
=yes
13090 $as_echo "$as_me: failed program was:" >&5
13091 sed 's/^/| /' conftest.
$ac_ext >&5
13093 ac_cv_lib_readline_readline
=no
13096 rm -rf conftest.dSYM
13097 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13098 conftest
$ac_exeext conftest.
$ac_ext
13099 LIBS
=$ac_check_lib_save_LIBS
13101 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13102 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13103 if test $ac_cv_lib_readline_readline = yes; then
13104 TARGET_READLINE_LIBS
="-lreadline"
13109 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
13112 TARGET_READLINE_LIBS
="$with_readline_lib"
13116 # Check whether --with-readline-inc was given.
13117 if test "${with_readline_inc+set}" = set; then
13118 withval
=$with_readline_inc; with_readline_inc
=$withval
13120 with_readline_inc
="auto"
13123 if test "x$with_readline_inc" = xauto
; then
13124 if test "${ac_cv_header_readline_h+set}" = set; then
13125 { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13126 $as_echo_n "checking for readline.h... " >&6; }
13127 if test "${ac_cv_header_readline_h+set}" = set; then
13128 $as_echo_n "(cached) " >&6
13130 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13131 $as_echo "$ac_cv_header_readline_h" >&6; }
13133 # Is the header compilable?
13134 { $as_echo "$as_me:$LINENO: checking readline.h usability" >&5
13135 $as_echo_n "checking readline.h usability... " >&6; }
13136 cat >conftest.
$ac_ext <<_ACEOF
13139 cat confdefs.h
>>conftest.
$ac_ext
13140 cat >>conftest.
$ac_ext <<_ACEOF
13141 /* end confdefs.h. */
13142 $ac_includes_default
13143 #include <readline.h>
13145 rm -f conftest.
$ac_objext
13146 if { (ac_try
="$ac_compile"
13147 case "(($ac_try" in
13148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13152 $as_echo "$ac_try_echo") >&5
13153 (eval "$ac_compile") 2>conftest.er1
13155 grep -v '^ *+' conftest.er1 >conftest.err
13157 cat conftest.err >&5
13158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } && {
13160 test -z "$ac_c_werror_flag" ||
13161 test ! -s conftest.err
13162 } && test -s conftest.$ac_objext; then
13163 ac_header_compiler=yes
13165 $as_echo "$as_me: failed program was:" >&5
13166 sed 's/^/| /' conftest.$ac_ext >&5
13168 ac_header_compiler=no
13171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13172 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13173 $as_echo "$ac_header_compiler" >&6; }
13175 # Is the header present?
13176 { $as_echo "$as_me:$LINENO: checking readline.h presence" >&5
13177 $as_echo_n "checking readline.h presence... " >&6; }
13178 cat >conftest.$ac_ext <<_ACEOF
13181 cat confdefs.h >>conftest.$ac_ext
13182 cat >>conftest.$ac_ext <<_ACEOF
13183 /* end confdefs.h. */
13184 #include <readline.h>
13186 if { (ac_try="$ac_cpp conftest.$ac_ext"
13187 case "(($ac_try" in
13188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13189 *) ac_try_echo
=$ac_try;;
13191 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13192 $as_echo "$ac_try_echo") >&5
13193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13195 grep -v '^ *+' conftest.er1
>conftest.err
13197 cat conftest.err
>&5
13198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); } >/dev
/null
&& {
13200 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13201 test ! -s conftest.err
13203 ac_header_preproc
=yes
13205 $as_echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.
$ac_ext >&5
13208 ac_header_preproc
=no
13211 rm -f conftest.err conftest.
$ac_ext
13212 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13213 $as_echo "$ac_header_preproc" >&6; }
13215 # So? What about this header?
13216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13218 { $as_echo "$as_me:$LINENO: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
13219 $as_echo "$as_me: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13220 { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the compiler's result" >&5
13221 $as_echo "$as_me: WARNING: readline.h: proceeding with the compiler's result" >&2;}
13222 ac_header_preproc
=yes
13225 { $as_echo "$as_me:$LINENO: WARNING: readline.h: present but cannot be compiled" >&5
13226 $as_echo "$as_me: WARNING: readline.h: present but cannot be compiled" >&2;}
13227 { $as_echo "$as_me:$LINENO: WARNING: readline.h: check for missing prerequisite headers?" >&5
13228 $as_echo "$as_me: WARNING: readline.h: check for missing prerequisite headers?" >&2;}
13229 { $as_echo "$as_me:$LINENO: WARNING: readline.h: see the Autoconf documentation" >&5
13230 $as_echo "$as_me: WARNING: readline.h: see the Autoconf documentation" >&2;}
13231 { $as_echo "$as_me:$LINENO: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&5
13232 $as_echo "$as_me: WARNING: readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
13233 { $as_echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the preprocessor's result" >&5
13234 $as_echo "$as_me: WARNING: readline.h: proceeding with the preprocessor's result" >&2;}
13235 { $as_echo "$as_me:$LINENO: WARNING: readline.h: in the future, the compiler will take precedence" >&5
13236 $as_echo "$as_me: WARNING: readline.h: in the future, the compiler will take precedence" >&2;}
13240 { $as_echo "$as_me:$LINENO: checking for readline.h" >&5
13241 $as_echo_n "checking for readline.h... " >&6; }
13242 if test "${ac_cv_header_readline_h+set}" = set; then
13243 $as_echo_n "(cached) " >&6
13245 ac_cv_header_readline_h
=$ac_header_preproc
13247 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
13248 $as_echo "$ac_cv_header_readline_h" >&6; }
13251 if test $ac_cv_header_readline_h = yes; then
13256 if test "$cross_compiling" != yes; then
13257 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
13258 for subdir
in include include
/readline
; do
13259 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
13260 { $as_echo "$as_me:$LINENO: checking for $dir/$subdir/readline.h" >&5
13261 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
13262 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
13263 $as_echo_n "(cached) " >&6
13265 test "$cross_compiling" = yes &&
13266 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
13267 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
13268 { (exit 1); exit 1; }; }
13269 if test -r "$dir/$subdir/readline.h"; then
13270 eval "$as_ac_File=yes"
13272 eval "$as_ac_File=no"
13275 ac_res
=`eval 'as_val=${'$as_ac_File'}
13276 $as_echo "$as_val"'`
13277 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13278 $as_echo "$ac_res" >&6; }
13279 if test `eval 'as_val=${'$as_ac_File'}
13280 $as_echo "$as_val"'` = yes; then
13284 if test "$found" = "yes"; then
13285 TARGET_READLINE_INC
="-I$dir/$subdir"
13289 test "$found" = "yes" && break
13297 TARGET_READLINE_INC
="$with_readline_inc"
13300 if test x
"$found" = xno
; then
13301 TARGET_READLINE_LIBS
=""
13302 TARGET_READLINE_INC
=""
13303 TARGET_HAVE_READLINE
=0
13305 TARGET_HAVE_READLINE
=1
13314 # Figure out what C libraries are required to compile programs
13315 # that use "fdatasync()" function.
13317 { $as_echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
13318 $as_echo_n "checking for library containing fdatasync... " >&6; }
13319 if test "${ac_cv_search_fdatasync+set}" = set; then
13320 $as_echo_n "(cached) " >&6
13322 ac_func_search_save_LIBS
=$LIBS
13323 cat >conftest.
$ac_ext <<_ACEOF
13326 cat confdefs.h
>>conftest.
$ac_ext
13327 cat >>conftest.
$ac_ext <<_ACEOF
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13340 return fdatasync ();
13345 for ac_lib
in '' rt
; do
13346 if test -z "$ac_lib"; then
13347 ac_res
="none required"
13350 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13352 rm -f conftest.
$ac_objext conftest
$ac_exeext
13353 if { (ac_try
="$ac_link"
13354 case "(($ac_try" in
13355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13356 *) ac_try_echo=$ac_try;;
13358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13359 $as_echo "$ac_try_echo") >&5
13360 (eval "$ac_link") 2>conftest.er1
13362 grep -v '^ *+' conftest.er1 >conftest.err
13364 cat conftest.err >&5
13365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); } && {
13367 test -z "$ac_c_werror_flag" ||
13368 test ! -s conftest.err
13369 } && test -s conftest$ac_exeext && {
13370 test "$cross_compiling" = yes ||
13371 $as_test_x conftest$ac_exeext
13373 ac_cv_search_fdatasync=$ac_res
13375 $as_echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.$ac_ext >&5
13381 rm -rf conftest.dSYM
13382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13384 if test "${ac_cv_search_fdatasync+set}" = set; then
13388 if test "${ac_cv_search_fdatasync+set}" = set; then
13391 ac_cv_search_fdatasync=no
13393 rm conftest.$ac_ext
13394 LIBS=$ac_func_search_save_LIBS
13396 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_fdatasync" >&5
13397 $as_echo "$ac_cv_search_fdatasync" >&6; }
13398 ac_res=$ac_cv_search_fdatasync
13399 if test "$ac_res" != no; then
13400 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13406 # check for debug enabled
13407 # Check whether --enable-debug was given.
13408 if test "${enable_debug+set}" = set; then
13409 enableval=$enable_debug; use_debug=$enableval
13414 if test "${use_debug}" = "yes" ; then
13415 TARGET_DEBUG="-DSQLITE_DEBUG=1"
13417 TARGET_DEBUG="-DNDEBUG"
13422 # See whether we should use the amalgamation to build
13423 # Check whether --enable-amalgamation was given.
13424 if test "${enable_amalgamation+set}" = set; then
13425 enableval=$enable_amalgamation; use_amalgamation=$enableval
13427 use_amalgamation=yes
13430 if test "${use_amalgamation}" != "yes" ; then
13436 # See whether we should allow loadable extensions
13437 # Check whether --enable-load-extension was given.
13438 if test "${enable_load_extension+set}" = set; then
13439 enableval=$enable_load_extension; use_loadextension=$enableval
13441 use_loadextension=no
13444 if test "${use_loadextension}" = "yes" ; then
13445 OPT_FEATURE_FLAGS=""
13446 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13447 $as_echo_n "checking for library containing dlopen... " >&6; }
13448 if test "${ac_cv_search_dlopen+set}" = set; then
13449 $as_echo_n "(cached) " >&6
13451 ac_func_search_save_LIBS=$LIBS
13452 cat >conftest.$ac_ext <<_ACEOF
13455 cat confdefs.h >>conftest.$ac_ext
13456 cat >>conftest.$ac_ext <<_ACEOF
13457 /* end confdefs.h. */
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13474 for ac_lib in '' dl; do
13475 if test -z "$ac_lib"; then
13476 ac_res="none required"
13479 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (ac_try="$ac_link"
13483 case "(($ac_try" in
13484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13485 *) ac_try_echo
=$ac_try;;
13487 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13488 $as_echo "$ac_try_echo") >&5
13489 (eval "$ac_link") 2>conftest.er1
13491 grep -v '^ *+' conftest.er1
>conftest.err
13493 cat conftest.err
>&5
13494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); } && {
13496 test -z "$ac_c_werror_flag" ||
13497 test ! -s conftest.err
13498 } && test -s conftest
$ac_exeext && {
13499 test "$cross_compiling" = yes ||
13500 $as_test_x conftest
$ac_exeext
13502 ac_cv_search_dlopen
=$ac_res
13504 $as_echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.
$ac_ext >&5
13510 rm -rf conftest.dSYM
13511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13513 if test "${ac_cv_search_dlopen+set}" = set; then
13517 if test "${ac_cv_search_dlopen+set}" = set; then
13520 ac_cv_search_dlopen
=no
13522 rm conftest.
$ac_ext
13523 LIBS
=$ac_func_search_save_LIBS
13525 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
13526 $as_echo "$ac_cv_search_dlopen" >&6; }
13527 ac_res
=$ac_cv_search_dlopen
13528 if test "$ac_res" != no
; then
13529 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13534 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
13538 # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
13539 for option
in $CFLAGS $CPPFLAGS
13542 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13543 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
13549 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
13551 for option
in $CFLAGS
13555 -DSQLITE_ENABLE*) ;;
13556 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
13559 CFLAGS
=$ac_temp_CFLAGS
13562 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
13563 ac_temp_CPPFLAGS
=""
13564 for option
in $CPPFLAGS
13568 -DSQLITE_ENABLE*) ;;
13569 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
13572 CPPFLAGS
=$ac_temp_CPPFLAGS
13575 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
13576 ac_temp_BUILD_CFLAGS
=""
13577 for option
in $BUILD_CFLAGS
13581 -DSQLITE_ENABLE*) ;;
13582 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
13585 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
13589 # See whether we should use GCOV
13590 # Check whether --enable-gcov was given.
13591 if test "${enable_gcov+set}" = set; then
13592 enableval
=$enable_gcov; use_gcov
=$enableval
13597 if test "${use_gcov}" = "yes" ; then
13606 # Output the config header
13607 ac_config_headers
="$ac_config_headers config.h"
13611 # Generate the output files.
13614 ac_config_files
="$ac_config_files Makefile sqlite3.pc"
13616 cat >confcache
<<\_ACEOF
13617 # This file is a shell script that caches the results of configure
13618 # tests run on this system so they can be shared between configure
13619 # scripts and configure runs, see configure's option --config-cache.
13620 # It is not useful on other systems. If it contains results you don't
13621 # want to keep, you may remove or edit it.
13623 # config.status only pays attention to the cache file if you give it
13624 # the --recheck option to rerun configure.
13626 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13627 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13628 # following values.
13632 # The following way of writing the cache mishandles newlines in values,
13633 # but we know of no workaround that is simple, portable, and efficient.
13634 # So, we kill variables containing newlines.
13635 # Ultrix sh set writes to stderr and can't be redirected directly,
13636 # and sets the high bit in the cache file unless we assign to the vars.
13638 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13639 eval ac_val
=\$
$ac_var
13643 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13644 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13647 _ | IFS | as_nl
) ;; #(
13648 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13649 *) $as_unset $ac_var ;;
13655 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13656 *${as_nl}ac_space
=\
*)
13657 # `set' does not quote correctly, so add quotes (double-quote
13658 # substitution turns \\\\ into \\, and sed turns \\ into \).
13661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13664 # `set' quotes correctly as required by POSIX, so do not add quotes.
13665 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13674 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13676 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13678 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13679 if test -w "$cache_file"; then
13680 test "x$cache_file" != "x/dev/null" &&
13681 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13682 $as_echo "$as_me: updating cache $cache_file" >&6;}
13683 cat confcache
>$cache_file
13685 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13686 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13691 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13692 # Let make expand exec_prefix.
13693 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13695 DEFS
=-DHAVE_CONFIG_H
13699 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13700 # 1. Remove the extension, and $U if already installed.
13701 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13702 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13703 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13704 # will be set to the directory where LIBOBJS objects are built.
13705 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13706 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13708 LIBOBJS
=$ac_libobjs
13710 LTLIBOBJS
=$ac_ltlibobjs
13714 : ${CONFIG_STATUS=./config.status}
13716 ac_clean_files_save
=$ac_clean_files
13717 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13718 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13719 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13720 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13722 # Generated by $as_me.
13723 # Run this file to recreate the current configuration.
13724 # Compiler output produced by configure, useful for debugging
13725 # configure, is in config.log if it exists.
13728 ac_cs_recheck=false
13730 SHELL=\${CONFIG_SHELL-$SHELL}
13733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13734 ## --------------------- ##
13735 ## M4sh Initialization. ##
13736 ## --------------------- ##
13738 # Be more Bourne compatible
13739 DUALCASE
=1; export DUALCASE
# for MKS sh
13740 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13743 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13744 # is contrary to our usage. Disable this feature.
13745 alias -g '${1+"$@"}'='"$@"'
13746 setopt NO_GLOB_SUBST
13748 case `(set -o) 2>/dev/null` in
13749 *posix
*) set -o posix
;;
13758 # Avoid depending upon Character Ranges.
13759 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13760 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13761 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13762 as_cr_digits
='0123456789'
13763 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13768 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13769 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13770 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13772 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13773 as_echo='printf %s
\n'
13774 as_echo_n='printf %s
'
13776 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13777 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13778 as_echo_n='/usr
/ucb
/echo -n'
13780 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13781 as_echo_n_body='eval
13785 expr "X$arg" : "X\\(.*\\)$as_nl";
13786 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13788 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13790 export as_echo_n_body
13791 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13793 export as_echo_body
13794 as_echo='sh
-c $as_echo_body as_echo
'
13797 # The user is always right.
13798 if test "${PATH_SEPARATOR+set}" != set; then
13800 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13801 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13806 # Support unset when possible.
13807 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13815 # We need space, tab and new line, in precisely that order. Quoting is
13816 # there to prevent editors from complaining about space-tab.
13817 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13818 # splitting by setting IFS to empty value.)
13821 # Find who we are. Look in the path if we contain no directory separator.
13823 *[\\/]* ) as_myself=$0 ;;
13824 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13825 for as_dir in $PATH
13828 test -z "$as_dir" && as_dir=.
13829 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13835 # We did not find ourselves, most probably we were run as `sh COMMAND'
13836 # in which case we are not to be found in the path.
13837 if test "x$as_myself" = x
; then
13840 if test ! -f "$as_myself"; then
13841 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13842 { (exit 1); exit 1; }
13845 # Work around bugs in pre-3.0 UWIN ksh.
13846 for as_var
in ENV MAIL MAILPATH
13847 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13859 # Required to use basename.
13860 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13861 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13867 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13868 as_basename
=basename
13874 # Name of the executable.
13875 as_me
=`$as_basename -- "$0" ||
13876 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13877 X"$0" : 'X\(//\)$' \| \
13878 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13880 sed '/^.*\/\([^/][^/]*\)\/*$/{
13899 as_lineno_1
=$LINENO
13900 as_lineno_2
=$LINENO
13901 test "x$as_lineno_1" != "x$as_lineno_2" &&
13902 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13905 # uniformly replaced by the line number. The first 'sed' inserts a
13906 # line-number line after each line using $LINENO; the second 'sed'
13907 # does the real work. The second script uses 'N' to pair each
13908 # line-number line with the line containing $LINENO, and appends
13909 # trailing '-' during substitution so that $LINENO is not a special
13910 # case at line end.
13911 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13912 # scripts with optimization help from Paolo Bonzini. Blame Lee
13913 # E. McMahon (1931-1989) for sed's syntax. :-)
13925 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13928 ' >$as_me.lineno
&&
13929 chmod +x
"$as_me.lineno" ||
13930 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13931 { (exit 1); exit 1; }; }
13933 # Don't try to exec as it changes $[0], causing all sort of problems
13934 # (the dirname of $[0] is not the place where we might find the
13935 # original and so on. Autoconf is especially sensitive to this).
13936 .
"./$as_me.lineno"
13937 # Exit status is that of the last command.
13942 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13948 ECHO_C
= ECHO_N
= ECHO_T
=
13949 case `echo -n x` in
13951 case `echo 'x\c'` in
13952 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13958 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13959 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13965 rm -f conf$$ conf$$.exe conf$$.
file
13966 if test -d conf$$.dir
; then
13967 rm -f conf$$.dir
/conf$$.
file
13970 mkdir conf$$.dir
2>/dev
/null
13972 if (echo >conf$$.
file) 2>/dev
/null
; then
13973 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13975 # ... but there are two gotchas:
13976 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13977 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13978 # In both cases, we have to default to `cp -p'.
13979 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13981 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13989 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13990 rmdir conf$$.dir
2>/dev
/null
13992 if mkdir
-p .
2>/dev
/null
; then
13995 test -d .
/-p && rmdir .
/-p
13999 if test -x / >/dev
/null
2>&1; then
14000 as_test_x
='test -x'
14002 if ls -dL / >/dev
/null
2>&1; then
14009 if test -d "$1"; then
14015 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14016 ???[sx]*):;;*)false;;esac;fi
14020 as_executable_p
=$as_test_x
14022 # Sed expression to map a string onto a valid CPP name.
14023 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14025 # Sed expression to map a string onto a valid variable name.
14026 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14031 # Save the log message, to keep $[0] and so on meaningful, and to
14032 # report actual input values of CONFIG_FILES etc. instead of their
14033 # values after options handling.
14035 This file was extended by sqlite $as_me 3.8.0, which was
14036 generated by GNU Autoconf 2.62. Invocation command line was
14038 CONFIG_FILES = $CONFIG_FILES
14039 CONFIG_HEADERS = $CONFIG_HEADERS
14040 CONFIG_LINKS = $CONFIG_LINKS
14041 CONFIG_COMMANDS = $CONFIG_COMMANDS
14044 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14050 # Files that config.status was made for.
14051 config_files="$ac_config_files"
14052 config_headers="$ac_config_headers"
14053 config_commands="$ac_config_commands"
14057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14059 \`$as_me' instantiates files from templates according to the
14060 current configuration.
14062 Usage: $0 [OPTIONS] [FILE]...
14064 -h, --help print this help, then exit
14065 -V, --version print version number and configuration settings, then exit
14066 -q, --quiet do not print progress messages
14067 -d, --debug don't remove temporary files
14068 --recheck update $as_me by reconfiguring in the same conditions
14069 --file=FILE[:TEMPLATE]
14070 instantiate the configuration file FILE
14071 --header=FILE[:TEMPLATE]
14072 instantiate the configuration header FILE
14074 Configuration files:
14077 Configuration headers:
14080 Configuration commands:
14083 Report bugs to <bug-autoconf@gnu.org>."
14086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14088 sqlite config.status 3.8.0
14089 configured by $0, generated by GNU Autoconf 2.62,
14090 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14092 Copyright (C) 2008 Free Software Foundation, Inc.
14093 This config.status script is free software; the Free Software Foundation
14094 gives unlimited permission to copy, distribute and modify it."
14100 test -n "\$AWK" || AWK=awk
14103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14104 # The default lists apply if the user does not specify any file.
14110 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14111 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14122 # Handling of the options.
14123 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14125 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14126 $as_echo "$ac_cs_version"; exit ;;
14127 --debug |
--debu |
--deb |
--de |
--d |
-d )
14129 --file |
--fil |
--fi |
--f )
14132 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14134 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
14135 ac_need_defaults
=false
;;
14136 --header |
--heade |
--head |
--hea )
14139 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14141 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
14142 ac_need_defaults
=false
;;
14144 # Conflict between --help and --header
14145 { $as_echo "$as_me: error: ambiguous option: $1
14146 Try \`$0 --help' for more information." >&2
14147 { (exit 1); exit 1; }; };;
14148 --help |
--hel |
-h )
14149 $as_echo "$ac_cs_usage"; exit ;;
14150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14151 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14154 # This is an error.
14155 -*) { $as_echo "$as_me: error: unrecognized option: $1
14156 Try \`$0 --help' for more information." >&2
14157 { (exit 1); exit 1; }; } ;;
14159 *) ac_config_targets
="$ac_config_targets $1"
14160 ac_need_defaults
=false
;;
14166 ac_configure_extra_args
=
14168 if $ac_cs_silent; then
14170 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14175 if \$ac_cs_recheck; then
14176 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14178 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14179 CONFIG_SHELL='$SHELL'
14180 export CONFIG_SHELL
14185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14189 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14190 ## Running $as_me. ##
14196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14202 # The HP-UX ksh and POSIX shell print the target directory to stdout
14203 # if CDPATH is set.
14204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14206 sed_quote_subst='$sed_quote_subst'
14207 double_quote_subst='$double_quote_subst'
14208 delay_variable_subst='$delay_variable_subst'
14209 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14210 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14211 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14212 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14213 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14214 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14215 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14216 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14217 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14218 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14219 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14220 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14221 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14222 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14223 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14224 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14225 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14226 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14227 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14228 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14229 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14230 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14231 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14232 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14233 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14234 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14235 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14236 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14237 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14238 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14239 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14240 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14241 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14242 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14243 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14244 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14245 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14246 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14247 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14248 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14249 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14250 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14251 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14252 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14253 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"`'
14254 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"`'
14255 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14256 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14257 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14258 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14259 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14260 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14261 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14262 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14263 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14264 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14265 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14266 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14267 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14268 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14269 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14270 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14271 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14272 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14273 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14274 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14275 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14276 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14277 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14278 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14279 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14280 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14281 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14282 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14283 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14284 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14285 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14286 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14287 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14288 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14289 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14290 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14291 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14292 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14293 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14294 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14295 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14296 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14297 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14298 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14299 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14300 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14301 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14302 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14303 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14304 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14305 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14306 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14307 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14308 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14309 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14310 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14311 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14312 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14313 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14314 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14315 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14316 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14317 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14318 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14319 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14320 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14321 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14322 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14323 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14324 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14325 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14326 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14329 LTCFLAGS='$LTCFLAGS'
14330 compiler='$compiler_DEFAULT'
14332 # Quote evaled strings.
14344 deplibs_check_method \
14353 lt_cv_sys_global_symbol_pipe \
14354 lt_cv_sys_global_symbol_to_cdecl \
14355 lt_cv_sys_global_symbol_to_c_name_address \
14356 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14359 lt_prog_compiler_no_builtin_flag \
14360 lt_prog_compiler_wl \
14361 lt_prog_compiler_pic \
14362 lt_prog_compiler_static \
14363 lt_cv_prog_compiler_c_o \
14371 export_dynamic_flag_spec \
14372 whole_archive_flag_spec \
14373 compiler_needs_object \
14375 allow_undefined_flag \
14376 no_undefined_flag \
14377 hardcode_libdir_flag_spec \
14378 hardcode_libdir_flag_spec_ld \
14379 hardcode_libdir_separator \
14384 variables_saved_for_relink \
14386 library_names_spec \
14391 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14392 *[\\\\\\\`\\"\\\$]*)
14393 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14396 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14401 # Double-quote double-evaled strings.
14402 for var in reload_cmds \
14403 old_postinstall_cmds \
14404 old_postuninstall_cmds \
14406 extract_expsyms_cmds \
14407 old_archive_from_new_cmds \
14408 old_archive_from_expsyms_cmds \
14410 archive_expsym_cmds \
14412 module_expsym_cmds \
14413 export_symbols_cmds \
14416 postuninstall_cmds \
14418 sys_lib_search_path_spec \
14419 sys_lib_dlsearch_path_spec; do
14420 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14421 *[\\\\\\\`\\"\\\$]*)
14422 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14425 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14430 # Fix-up fallback echo if it was mangled by the above quoting rules.
14432 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14436 ac_aux_dir='$ac_aux_dir'
14437 xsi_shell='$xsi_shell'
14438 lt_shell_append='$lt_shell_append'
14440 # See if we are running on zsh, and set the options which allow our
14441 # commands through without removal of \ escapes INIT.
14442 if test -n "\${ZSH_VERSION+set}" ; then
14443 setopt NO_GLOB_SUBST
14449 TIMESTAMP='$TIMESTAMP'
14458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14460 # Handling of arguments.
14461 for ac_config_target
in $ac_config_targets
14463 case $ac_config_target in
14464 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14465 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14466 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14467 "sqlite3.pc") CONFIG_FILES
="$CONFIG_FILES sqlite3.pc" ;;
14469 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14470 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14471 { (exit 1); exit 1; }; };;
14476 # If the user did not use the arguments to specify the items to instantiate,
14477 # then the envvar interface is used. Set only those that are not.
14478 # We use the long form for the default assignment because of an extremely
14479 # bizarre bug on SunOS 4.1.3.
14480 if $ac_need_defaults; then
14481 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14482 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14483 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14486 # Have a temporary directory for convenience. Make it in the build tree
14487 # simply because there is no reason against having it here, and in addition,
14488 # creating and moving files from /tmp can sometimes cause problems.
14489 # Hook for its removal unless debugging.
14490 # Note that there is a small window in which the directory will not be cleaned:
14491 # after its creation but before its name has been assigned to `$tmp'.
14495 trap 'exit_status=$?
14496 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14498 trap '{ (exit 1); exit 1; }' 1 2 13 15
14500 # Create a (secure) tmp directory for tmp files.
14503 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14504 test -n "$tmp" && test -d "$tmp"
14507 tmp
=.
/conf$$
-$RANDOM
14508 (umask 077 && mkdir
"$tmp")
14511 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14512 { (exit 1); exit 1; }
14515 # Set up the scripts for CONFIG_FILES section.
14516 # No need to generate them if there are no CONFIG_FILES.
14517 # This happens for instance with `./config.status config.h'.
14518 if test -n "$CONFIG_FILES"; then
14522 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14523 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14526 ac_cs_awk_cr
=$ac_cr
14529 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14534 echo "cat >conf$$subs.awk <<_ACEOF" &&
14535 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14537 } >conf$$subs.sh ||
14538 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14539 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14540 { (exit 1); exit 1; }; }
14541 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14543 for ac_last_try in false false false false false :; do
14544 . ./conf$$subs.sh ||
14545 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14546 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14547 { (exit 1); exit 1; }; }
14549 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14551 elif $ac_last_try; then
14552 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14553 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14554 { (exit 1); exit 1; }; }
14556 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14559 rm -f conf$$subs.sh
14561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14562 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14566 s/^/S["/; s
/!.
*/"]=/
14576 s/\(.\{148\}\).*/\1/
14578 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14583 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14590 s/\(.\{148\}\).*/\1/
14592 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14596 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14601 ' <conf$$subs.awk | sed '
14606 ' >>$CONFIG_STATUS || ac_write_fail=1
14607 rm -f conf$$subs.awk
14608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14610 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14611 for (key in S) S_is_set[key] = 1
14617 nfields = split(line, field, "@
")
14619 len = length(field[1])
14620 for (i = 2; i < nfields; i++) {
14622 keylen = length(key)
14623 if (S_is_set[key]) {
14625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14626 len += length(value) + length(field[++i])
14637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14638 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14639 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14642 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14643 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14644 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14645 { (exit 1); exit 1; }; }
14648 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14650 # trailing colons and then remove the whole line if VPATH becomes empty
14651 # (actually we leave an empty line to preserve line numbers).
14652 if test "x
$srcdir" = x.; then
14653 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14654 s/:*\$(srcdir):*/:/
14655 s/:*\${srcdir}:*/:/
14657 s/^\([^=]*=[ ]*\):*/\1/
14663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14664 fi # test -n "$CONFIG_FILES"
14666 # Set up the scripts for CONFIG_HEADERS section.
14667 # No need to generate them if there are no CONFIG_HEADERS.
14668 # This happens for instance with `./config.status Makefile'.
14669 if test -n "$CONFIG_HEADERS"; then
14670 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14674 # Transform confdefs.h into an awk script `defines.awk', embedded as
14675 # here-document in config.status, that substitutes the proper values into
14676 # config.h.in to produce config.h.
14678 # Create a delimiter string that does not exist in confdefs.h, to ease
14679 # handling of long lines.
14681 for ac_last_try in false false :; do
14682 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14683 if test -z "$ac_t"; then
14685 elif $ac_last_try; then
14686 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14687 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14688 { (exit 1); exit 1; }; }
14690 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14694 # For the awk script, D is an array of macro values keyed by name,
14695 # likewise P contains macro parameters if any. Preserve backslash
14696 # newline sequences.
14698 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14700 s/.\{148\}/&'"$ac_delim"'/g
14703 s/^[ ]*#[ ]*define[ ][ ]*/ /
14710 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14712 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14716 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14717 D["\
1"]=" \
3\\\\\\n
"\\/p
14719 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14724 s/.\{148\}/&'"$ac_delim"'/g
14729 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14732 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14734 ' <confdefs.h | sed '
14735 s/'"$ac_delim"'/"\\\
14736 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14739 for (key in D) D_is_set[key] = 1
14742 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14744 split(line, arg, " ")
14745 if (arg[1] == "#") {
14749 defundef
= substr
(arg
[1], 2)
14752 split(mac1
, mac2
, "(") #)
14754 if (D_is_set
[macro
]) {
14755 # Preserve the white space surrounding the "#".
14756 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14757 print prefix
"define", macro P
[macro
] D
[macro
]
14760 # Replace #undef with comments. This is necessary, for example,
14761 # in the case of _POSIX_SOURCE, which is predefined and required
14762 # on some systems where configure will not decide to define it.
14763 if (defundef
== "undef") {
14764 print
"/*", line
, "*/"
14772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14773 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14774 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14775 { (exit 1); exit 1; }; }
14776 fi # test -n "$CONFIG_HEADERS"
14779 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14784 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14786 case $ac_mode$ac_tag in
14788 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14789 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14790 { (exit 1); exit 1; }; };;
14791 :[FH
]-) ac_tag
=-:-;;
14792 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14809 -) ac_f
="$tmp/stdin";;
14810 *) # Look for the file first in the build tree, then in the source tree
14811 # (if the path is not absolute). The absolute path cannot be DOS-style,
14812 # because $ac_f cannot contain `:'.
14816 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14818 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14819 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14820 { (exit 1); exit 1; }; };;
14822 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14823 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14826 # Let's still pretend it is `configure' which instantiates (i.e., don't
14827 # use $as_me), people would be surprised to read:
14828 # /* config.h. Generated by config.status. */
14829 configure_input
='Generated from '`
14830 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14832 if test x
"$ac_file" != x-
; then
14833 configure_input
="$ac_file. $configure_input"
14834 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14835 $as_echo "$as_me: creating $ac_file" >&6;}
14837 # Neutralize special characters interpreted by sed in replacement strings.
14838 case $configure_input in #(
14839 *\
&* |
*\|
* |
*\\* )
14840 ac_sed_conf_input
=`$as_echo "$configure_input" |
14841 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14842 *) ac_sed_conf_input
=$configure_input;;
14846 *:-:* |
*:-) cat >"$tmp/stdin" \
14847 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14848 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14849 { (exit 1); exit 1; }; } ;;
14854 ac_dir
=`$as_dirname -- "$ac_file" ||
14855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14856 X"$ac_file" : 'X\(//\)[^/]' \| \
14857 X"$ac_file" : 'X\(//\)$' \| \
14858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14859 $as_echo X"$ac_file" |
14860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14864 /^X\(\/\/\)[^/].*/{
14879 -*) as_dir
=.
/$as_dir;;
14881 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14885 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14886 *) as_qdir
=$as_dir;;
14888 as_dirs
="'$as_qdir' $as_dirs"
14889 as_dir
=`$as_dirname -- "$as_dir" ||
14890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14891 X"$as_dir" : 'X\(//\)[^/]' \| \
14892 X"$as_dir" : 'X\(//\)$' \| \
14893 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14894 $as_echo X"$as_dir" |
14895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14899 /^X\(\/\/\)[^/].*/{
14912 test -d "$as_dir" && break
14914 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14915 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14916 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14917 { (exit 1); exit 1; }; }; }
14921 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14923 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14924 # A ".." for each directory in $ac_dir_suffix.
14925 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14926 case $ac_top_builddir_sub in
14927 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14928 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14931 ac_abs_top_builddir
=$ac_pwd
14932 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14933 # for backward compatibility:
14934 ac_top_builddir
=$ac_top_build_prefix
14937 .
) # We are building in place.
14939 ac_top_srcdir
=$ac_top_builddir_sub
14940 ac_abs_top_srcdir
=$ac_pwd ;;
14941 [\\/]* | ?
:[\\/]* ) # Absolute name.
14942 ac_srcdir
=$srcdir$ac_dir_suffix;
14943 ac_top_srcdir
=$srcdir
14944 ac_abs_top_srcdir
=$srcdir ;;
14945 *) # Relative name.
14946 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14947 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14948 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14950 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14960 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14961 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14966 # If the template does not know about datarootdir, expand it.
14967 # FIXME: This hack should be removed a few years after 2.60.
14968 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14981 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14982 *datarootdir
*) ac_datarootdir_seen
=yes;;
14983 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14984 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14985 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14988 ac_datarootdir_hack='
14989 s&@datadir@&$datadir&g
14990 s&@docdir@&$docdir&g
14991 s&@infodir@&$infodir&g
14992 s&@localedir@&$localedir&g
14993 s&@mandir@&$mandir&g
14994 s&\\\${datarootdir}&$datarootdir&g' ;;
14998 # Neutralize VPATH when `$srcdir' = `.'.
14999 # Shell code in configure.ac might set extrasub.
15000 # FIXME: do we really want to maintain this feature?
15001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15002 ac_sed_extra="$ac_vpsub
15005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15007 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15008 s|@configure_input@|
$ac_sed_conf_input|
;t t
15009 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15010 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15011 s
&@srcdir@
&$ac_srcdir&;t t
15012 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15013 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15014 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15015 s
&@builddir@
&$ac_builddir&;t t
15016 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15017 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15018 s
&@INSTALL@
&$ac_INSTALL&;t t
15019 $ac_datarootdir_hack
15021 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15022 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
15023 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
15024 { (exit 1); exit 1; }; }
15026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15027 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15029 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15030 which seems to be undefined. Please make sure it is defined." >&5
15031 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15032 which seems to be undefined. Please make sure it is defined." >&2;}
15036 -) cat "$tmp/out" && rm -f "$tmp/out";;
15037 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15039 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15040 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15041 { (exit 1); exit 1; }; }
15047 if test x"$ac_file" != x-; then
15049 $as_echo "/* $configure_input */" \
15050 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15051 } >"$tmp/config.h" \
15052 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15053 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15054 { (exit 1); exit 1; }; }
15055 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15056 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15057 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15060 mv "$tmp/config.h" "$ac_file" \
15061 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15062 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15063 { (exit 1); exit 1; }; }
15066 $as_echo "/* $configure_input */" \
15067 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15068 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15069 $as_echo "$as_me: error: could not create -" >&2;}
15070 { (exit 1); exit 1; }; }
15074 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15075 $as_echo "$as_me: executing $ac_file commands" >&6;}
15080 case $ac_file$ac_mode in
15083 # See if we are running on zsh, and set the options which allow our
15084 # commands through without removal of \ escapes.
15085 if test -n "${ZSH_VERSION+set}" ; then
15086 setopt NO_GLOB_SUBST
15089 cfgfile="${ofile}T"
15090 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15093 cat <<_LT_EOF >> "$cfgfile"
15096 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
15097 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15098 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15099 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15101 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15102 # 2006, 2007, 2008 Free Software Foundation, Inc.
15103 # Written by Gordon Matzigkeit, 1996
15105 # This file is part of GNU Libtool.
15107 # GNU Libtool is free software; you can redistribute it and/or
15108 # modify it under the terms of the GNU General Public License as
15109 # published by the Free Software Foundation; either version 2 of
15110 # the License, or (at your option) any later version.
15112 # As a special exception to the GNU General Public License,
15113 # if you distribute this file as part of a program or library that
15114 # is built using GNU Libtool, you may include this file under the
15115 # same distribution terms that you use for the rest of that program.
15117 # GNU Libtool is distributed in the hope that it will be useful,
15118 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15119 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15120 # GNU General Public License for more details.
15122 # You should have received a copy of the GNU General Public License
15123 # along with GNU Libtool; see the file COPYING. If not, a copy
15124 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15125 # obtained by writing to the Free Software Foundation, Inc.,
15126 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15129 # The names of the tagged configurations supported by this script.
15132 # ### BEGIN LIBTOOL CONFIG
15134 # Which release of libtool.m4 was used?
15135 macro_version=$macro_version
15136 macro_revision=$macro_revision
15138 # Whether or not to build shared libraries.
15139 build_libtool_libs=$enable_shared
15141 # Whether or not to build static libraries.
15142 build_old_libs=$enable_static
15144 # What type of objects to build.
15147 # Whether or not to optimize for fast installation.
15148 fast_install=$enable_fast_install
15151 host_alias=$host_alias
15155 # The build system.
15156 build_alias=$build_alias
15160 # A sed program that does not truncate output.
15163 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15164 Xsed="\$SED -e 1s/^X//"
15166 # A grep program that handles long lines.
15172 # A literal string matcher.
15175 # A BSD- or MS-compatible name lister.
15178 # Whether we need soft or hard links.
15181 # What is the maximum length of a command?
15182 max_cmd_len=$max_cmd_len
15184 # Object file suffix (normally "o").
15187 # Executable file suffix (normally "").
15190 # whether the shell understands "unset".
15193 # turn spaces into newlines.
15196 # turn newlines into spaces.
15199 # How to create reloadable object files.
15200 reload_flag=$lt_reload_flag
15201 reload_cmds=$lt_reload_cmds
15203 # An object symbol dumper.
15204 OBJDUMP=$lt_OBJDUMP
15206 # Method to check whether dependent libraries are shared objects.
15207 deplibs_check_method=$lt_deplibs_check_method
15209 # Command to use when deplibs_check_method == "file_magic".
15210 file_magic_cmd=$lt_file_magic_cmd
15214 AR_FLAGS=$lt_AR_FLAGS
15216 # A symbol stripping program.
15219 # Commands used to install an old-style archive.
15221 old_postinstall_cmds=$lt_old_postinstall_cmds
15222 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15227 # LTCC compiler flags.
15228 LTCFLAGS=$lt_CFLAGS
15230 # Take the output of nm and produce a listing of raw symbols and C names.
15231 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15233 # Transform the output of nm in a proper C declaration.
15234 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15236 # Transform the output of nm in a C name address pair.
15237 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15239 # Transform the output of nm in a C name address pair when lib prefix is needed.
15240 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15242 # The name of the directory that contains temporary libtool files.
15245 # Shell to use when invoking shell scripts.
15248 # An echo program that does not interpret backslashes.
15251 # Used to examine libraries when file_magic_cmd begins with "file".
15252 MAGIC_CMD=$MAGIC_CMD
15254 # Must we lock files when doing compilation?
15255 need_locks=$lt_need_locks
15257 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15258 DSYMUTIL=$lt_DSYMUTIL
15260 # Tool to change global to local symbols on Mac OS X.
15263 # Tool to manipulate fat objects and archives on Mac OS X.
15266 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15269 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15270 OTOOL64=$lt_OTOOL64
15272 # Old archive suffix (normally "a").
15275 # Shared library suffix (normally ".so").
15276 shrext_cmds=$lt_shrext_cmds
15278 # The commands to extract the exported symbol list from a shared archive.
15279 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15281 # Variables whose values should be saved in libtool wrapper scripts and
15282 # restored at link time.
15283 variables_saved_for_relink=$lt_variables_saved_for_relink
15285 # Do we need the "lib" prefix for modules?
15286 need_lib_prefix=$need_lib_prefix
15288 # Do we need a version for libraries?
15289 need_version=$need_version
15291 # Library versioning type.
15292 version_type=$version_type
15294 # Shared library runtime path variable.
15295 runpath_var=$runpath_var
15297 # Shared library path variable.
15298 shlibpath_var=$shlibpath_var
15300 # Is shlibpath searched before the hard-coded library search path?
15301 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15303 # Format of library name prefix.
15304 libname_spec=$lt_libname_spec
15306 # List of archive names. First name is the real one, the rest are links.
15307 # The last name is the one that the linker finds with -lNAME
15308 library_names_spec=$lt_library_names_spec
15310 # The coded name of the library, if different from the real name.
15311 soname_spec=$lt_soname_spec
15313 # Command to use after installation of a shared archive.
15314 postinstall_cmds=$lt_postinstall_cmds
15316 # Command to use after uninstallation of a shared archive.
15317 postuninstall_cmds=$lt_postuninstall_cmds
15319 # Commands used to finish a libtool library installation in a directory.
15320 finish_cmds=$lt_finish_cmds
15322 # As "finish_cmds", except a single script fragment to be evaled but
15324 finish_eval=$lt_finish_eval
15326 # Whether we should hardcode library paths into libraries.
15327 hardcode_into_libs=$hardcode_into_libs
15329 # Compile-time system search path for libraries.
15330 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15332 # Run-time system search path for libraries.
15333 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15335 # Whether dlopen is supported.
15336 dlopen_support=$enable_dlopen
15338 # Whether dlopen of programs is supported.
15339 dlopen_self=$enable_dlopen_self
15341 # Whether dlopen of statically linked programs is supported.
15342 dlopen_self_static=$enable_dlopen_self_static
15344 # Commands to strip libraries.
15345 old_striplib=$lt_old_striplib
15346 striplib=$lt_striplib
15349 # The linker used to build libraries.
15352 # Commands used to build an old-style archive.
15353 old_archive_cmds=$lt_old_archive_cmds
15355 # A language specific compiler.
15358 # Is the compiler the GNU compiler?
15361 # Compiler flag to turn off builtin functions.
15362 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15364 # How to pass a linker flag through the compiler.
15365 wl=$lt_lt_prog_compiler_wl
15367 # Additional compiler flags for building library objects.
15368 pic_flag=$lt_lt_prog_compiler_pic
15370 # Compiler flag to prevent dynamic linking.
15371 link_static_flag=$lt_lt_prog_compiler_static
15373 # Does compiler simultaneously support -c and -o options?
15374 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15376 # Whether or not to add -lc for building shared libraries.
15377 build_libtool_need_lc=$archive_cmds_need_lc
15379 # Whether or not to disallow shared libs when runtime libs are static.
15380 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15382 # Compiler flag to allow reflexive dlopens.
15383 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15385 # Compiler flag to generate shared objects directly from archives.
15386 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15388 # Whether the compiler copes with passing no objects directly.
15389 compiler_needs_object=$lt_compiler_needs_object
15391 # Create an old-style archive from a shared archive.
15392 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15394 # Create a temporary old-style archive to link instead of a shared archive.
15395 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15397 # Commands used to build a shared archive.
15398 archive_cmds=$lt_archive_cmds
15399 archive_expsym_cmds=$lt_archive_expsym_cmds
15401 # Commands used to build a loadable module if different from building
15402 # a shared archive.
15403 module_cmds=$lt_module_cmds
15404 module_expsym_cmds=$lt_module_expsym_cmds
15406 # Whether we are building with GNU ld or not.
15407 with_gnu_ld=$lt_with_gnu_ld
15409 # Flag that allows shared libraries with undefined symbols to be built.
15410 allow_undefined_flag=$lt_allow_undefined_flag
15412 # Flag that enforces no undefined symbols.
15413 no_undefined_flag=$lt_no_undefined_flag
15415 # Flag to hardcode \$libdir into a binary during linking.
15416 # This must work even if \$libdir does not exist
15417 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15419 # If ld is used when linking, flag to hardcode \$libdir into a binary
15420 # during linking. This must work even if \$libdir does not exist.
15421 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15423 # Whether we need a single "-rpath" flag with a separated argument.
15424 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15426 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15427 # DIR into the resulting binary.
15428 hardcode_direct=$hardcode_direct
15430 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15431 # DIR into the resulting binary and the resulting library dependency is
15432 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15433 # library is relocated.
15434 hardcode_direct_absolute=$hardcode_direct_absolute
15436 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15437 # into the resulting binary.
15438 hardcode_minus_L=$hardcode_minus_L
15440 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15441 # into the resulting binary.
15442 hardcode_shlibpath_var=$hardcode_shlibpath_var
15444 # Set to "yes" if building a shared library automatically hardcodes DIR
15445 # into the library and all subsequent libraries and executables linked
15447 hardcode_automatic=$hardcode_automatic
15449 # Set to yes if linker adds runtime paths of dependent libraries
15450 # to runtime path list.
15451 inherit_rpath=$inherit_rpath
15453 # Whether libtool must link a program against all its dependency libraries.
15454 link_all_deplibs=$link_all_deplibs
15456 # Fix the shell variable \$srcfile for the compiler.
15457 fix_srcfile_path=$lt_fix_srcfile_path
15459 # Set to "yes" if exported symbols are required.
15460 always_export_symbols=$always_export_symbols
15462 # The commands to list exported symbols.
15463 export_symbols_cmds=$lt_export_symbols_cmds
15465 # Symbols that should not be listed in the preloaded symbols.
15466 exclude_expsyms=$lt_exclude_expsyms
15468 # Symbols that must always be exported.
15469 include_expsyms=$lt_include_expsyms
15471 # Commands necessary for linking programs (against libraries) with templates.
15472 prelink_cmds=$lt_prelink_cmds
15474 # Specify filename containing input files.
15475 file_list_spec=$lt_file_list_spec
15477 # How to hardcode a shared library path into an executable.
15478 hardcode_action=$hardcode_action
15480 # ### END LIBTOOL CONFIG
15486 cat <<\_LT_EOF >> "$cfgfile"
15487 # AIX sometimes has problems with the GCC collect2 program. For some
15488 # reason, if we set the COLLECT_NAMES environment variable, the problems
15489 # vanish in a puff of smoke.
15490 if test "X${COLLECT_NAMES+set}" != Xset; then
15492 export COLLECT_NAMES
15499 ltmain="$ac_aux_dir/ltmain.sh"
15502 # We use sed instead of cat because bash on DJGPP gets confused if
15503 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15504 # text mode, it properly converts lines to CR/LF. This bash problem
15505 # is reportedly fixed, but why not run on old versions too?
15506 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15507 ||
(rm -f "$cfgfile"; exit 1)
15511 cat << \_LT_EOF
>> "$cfgfile"
15513 # func_dirname file append nondir_replacement
15514 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15515 # otherwise set result to NONDIR_REPLACEMENT.
15519 */*) func_dirname_result
="${1%/*}${2}" ;;
15520 * ) func_dirname_result
="${3}" ;;
15524 # func_basename file
15527 func_basename_result
="${1##*/}"
15530 # func_dirname_and_basename file append nondir_replacement
15531 # perform func_basename and func_dirname in a single function
15533 # dirname: Compute the dirname of FILE. If nonempty,
15534 # add APPEND to the result, otherwise set result
15535 # to NONDIR_REPLACEMENT.
15536 # value returned in "$func_dirname_result"
15537 # basename: Compute filename of FILE.
15538 # value retuned in "$func_basename_result"
15539 # Implementation must be kept synchronized with func_dirname
15540 # and func_basename. For efficiency, we do not delegate to
15541 # those functions but instead duplicate the functionality here.
15542 func_dirname_and_basename
()
15545 */*) func_dirname_result
="${1%/*}${2}" ;;
15546 * ) func_dirname_result
="${3}" ;;
15548 func_basename_result
="${1##*/}"
15551 # func_stripname prefix suffix name
15552 # strip PREFIX and SUFFIX off of NAME.
15553 # PREFIX and SUFFIX must not contain globbing or regex special
15554 # characters, hashes, percent signs, but SUFFIX may contain a leading
15555 # dot (in which case that matches only a dot).
15558 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15559 # positional parameters, so assign one to ordinary parameter first.
15560 func_stripname_result
=${3}
15561 func_stripname_result
=${func_stripname_result#"${1}"}
15562 func_stripname_result
=${func_stripname_result%"${2}"}
15568 func_opt_split_opt
=${1%%=*}
15569 func_opt_split_arg
=${1#*=}
15576 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15577 *) func_lo2o_result
=${1} ;;
15581 # func_xform libobj-or-source
15584 func_xform_result
=${1%.*}.lo
15587 # func_arith arithmetic-term...
15590 func_arith_result
=$
(( $
* ))
15594 # STRING may not start with a hyphen.
15597 func_len_result
=${#1}
15602 *) # Bourne compatible functions.
15603 cat << \_LT_EOF
>> "$cfgfile"
15605 # func_dirname file append nondir_replacement
15606 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15607 # otherwise set result to NONDIR_REPLACEMENT.
15610 # Extract subdirectory from the argument.
15611 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15612 if test "X$func_dirname_result" = "X${1}"; then
15613 func_dirname_result
="${3}"
15615 func_dirname_result
="$func_dirname_result${2}"
15619 # func_basename file
15622 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15626 # func_stripname prefix suffix name
15627 # strip PREFIX and SUFFIX off of NAME.
15628 # PREFIX and SUFFIX must not contain globbing or regex special
15629 # characters, hashes, percent signs, but SUFFIX may contain a leading
15630 # dot (in which case that matches only a dot).
15631 # func_strip_suffix prefix name
15635 .
*) func_stripname_result
=`$ECHO "X${3}" \
15636 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15637 *) func_stripname_result
=`$ECHO "X${3}" \
15638 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15643 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15644 my_sed_long_arg
='1s/^-[^=]*=//'
15649 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15650 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15656 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15659 # func_xform libobj-or-source
15662 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15665 # func_arith arithmetic-term...
15668 func_arith_result
=`expr "$@"`
15672 # STRING may not start with a hyphen.
15675 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15681 case $lt_shell_append in
15683 cat << \_LT_EOF
>> "$cfgfile"
15685 # func_append var value
15686 # Append VALUE to the end of shell variable VAR.
15694 cat << \_LT_EOF
>> "$cfgfile"
15696 # func_append var value
15697 # Append VALUE to the end of shell variable VAR.
15708 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15709 ||
(rm -f "$cfgfile"; exit 1)
15711 mv -f "$cfgfile" "$ofile" ||
15712 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15721 { (exit 0); exit 0; }
15723 chmod +x
$CONFIG_STATUS
15724 ac_clean_files
=$ac_clean_files_save
15726 test $ac_write_fail = 0 ||
15727 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15728 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15729 { (exit 1); exit 1; }; }
15732 # configure is writing to config.log, and then calls config.status.
15733 # config.status does its own redirection, appending to config.log.
15734 # Unfortunately, on DOS this fails, as config.log is still kept open
15735 # by configure, so config.status won't be able to write to it; its
15736 # output is simply discarded. So we exec the FD to /dev/null,
15737 # effectively closing config.log, so it can be properly (re)opened and
15738 # appended to by config.status. When coming back to configure, we
15739 # need to make the FD available again.
15740 if test "$no_create" != yes; then
15742 ac_config_status_args
=
15743 test "$silent" = yes &&
15744 ac_config_status_args
="$ac_config_status_args --quiet"
15746 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15748 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15749 # would make configure fail if this is the last instruction.
15750 $ac_cs_success ||
{ (exit 1); exit 1; }
15752 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15753 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
15754 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}