2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for sqlcipher 3.7.17.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 # Check that we are running under the correct shell.
539 SHELL
=${CONFIG_SHELL-/bin/sh}
543 # Remove one level of quotation (which was required for Make).
544 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
549 if test "X$1" = X--no-reexec
; then
550 # Discard the --no-reexec flag, and continue.
552 elif test "X$1" = X--fallback-echo
; then
553 # Avoid inline document here, it may be left over
555 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
556 # Yippee, $ECHO works!
559 # Restart under the correct shell.
560 exec $SHELL "$0" --no-reexec ${1+"$@"}
563 if test "X$1" = X--fallback-echo
; then
564 # used as fallback echo
572 # The HP-UX ksh and POSIX shell print the target directory to stdout
574 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
576 if test -z "$lt_ECHO"; then
577 if test "X${echo_test_string+set}" != Xset
; then
578 # find a string as large as possible, as long as the shell can cope with it
579 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
582 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
589 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
590 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
591 test "X$echo_testing_string" = "X$echo_test_string"; then
594 # The Solaris, AIX, and Digital Unix default echo programs unquote
595 # backslashes. This makes it impossible to quote backslashes using
596 # echo "$something" | sed 's/\\/\\\\/g'
598 # So, first we look for a working echo in the user's PATH.
600 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
601 for dir
in $PATH /usr
/ucb
; do
603 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
604 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
605 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
613 if test "X$ECHO" = Xecho
; then
614 # We didn't find a better echo, so look for alternatives.
615 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
616 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
617 test "X$echo_testing_string" = "X$echo_test_string"; then
618 # This shell has a builtin print -r that does the trick.
620 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
621 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
622 # If we have ksh, try running configure again with it.
623 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
624 export ORIGINAL_CONFIG_SHELL
625 CONFIG_SHELL
=/bin
/ksh
627 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
631 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
636 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 test "X$echo_testing_string" = 'X\t' &&
638 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 test "X$echo_testing_string" = "X$echo_test_string"; then
640 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
642 SHELL
="$CONFIG_SHELL"
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
645 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
646 test "X$echo_testing_string" = 'X\t' &&
647 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
649 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
651 # maybe with a smaller string...
654 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
655 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
662 if test "$prev" != 'sed 50q "$0"'; then
663 echo_test_string
=`eval $prev`
664 export echo_test_string
665 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
667 # Oops. We lost completely, so just stick with echo.
676 # Copy echo and quote the copy suitably for passing to libtool from
677 # the Makefile, instead of quoting the original, which is used later.
679 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
680 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
686 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
690 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
691 # so uname gets run too.
692 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
697 ac_default_prefix
=/usr
/local
699 ac_config_libobj_dir
=.
706 # Identity of this package.
707 PACKAGE_NAME
='sqlcipher'
708 PACKAGE_TARNAME
='sqlcipher'
709 PACKAGE_VERSION
='3.7.17'
710 PACKAGE_STRING
='sqlcipher 3.7.17'
714 # Factoring default headers for most tests.
715 ac_includes_default
="\
717 #ifdef HAVE_SYS_TYPES_H
718 # include <sys/types.h>
720 #ifdef HAVE_SYS_STAT_H
721 # include <sys/stat.h>
727 # ifdef HAVE_STDLIB_H
732 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
737 #ifdef HAVE_STRINGS_H
738 # include <strings.h>
740 #ifdef HAVE_INTTYPES_H
741 # include <inttypes.h>
750 ac_subst_vars
='LTLIBOBJS
854 program_transform_name
867 enable_option_checking
878 enable_cross_thread_connections
888 enable_load_extension
891 ac_precious_vars
='build_alias
903 # Initialize some variables set by options.
905 ac_init_version
=false
906 ac_unrecognized_opts
=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
917 program_transform_name
=s
,x
,x
,
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir
='${exec_prefix}/bin'
932 sbindir
='${exec_prefix}/sbin'
933 libexecdir
='${exec_prefix}/libexec'
934 datarootdir
='${prefix}/share'
935 datadir
='${datarootdir}'
936 sysconfdir
='${prefix}/etc'
937 sharedstatedir
='${prefix}/com'
938 localstatedir
='${prefix}/var'
939 includedir
='${prefix}/include'
940 oldincludedir
='/usr/include'
941 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir
='${datarootdir}/info'
947 libdir
='${exec_prefix}/lib'
948 localedir
='${datarootdir}/locale'
949 mandir
='${datarootdir}/man'
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\
$ac_option
963 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
968 # Accept the important Cygnus configure options, so we can diagnose typos.
970 case $ac_dashdash$ac_option in
974 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
976 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
979 -build |
--build |
--buil |
--bui |
--bu)
980 ac_prev
=build_alias
;;
981 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
982 build_alias
=$ac_optarg ;;
984 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
985 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
986 ac_prev
=cache_file
;;
987 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
988 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
989 cache_file
=$ac_optarg ;;
992 cache_file
=config.cache
;;
994 -datadir |
--datadir |
--datadi |
--datad)
996 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
997 datadir
=$ac_optarg ;;
999 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1000 |
--dataroo |
--dataro |
--datar)
1001 ac_prev
=datarootdir
;;
1002 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1003 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1004 datarootdir
=$ac_optarg ;;
1006 -disable-* |
--disable-*)
1007 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1010 as_fn_error $?
"invalid feature name: $ac_useropt"
1011 ac_useropt_orig
=$ac_useropt
1012 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "enable_
$ac_useropt"
1017 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1018 ac_unrecognized_sep
=', ';;
1020 eval enable_
$ac_useropt=no
;;
1022 -docdir |
--docdir |
--docdi |
--doc |
--do)
1024 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1025 docdir
=$ac_optarg ;;
1027 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1029 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1030 dvidir
=$ac_optarg ;;
1032 -enable-* |
--enable-*)
1033 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error $?
"invalid feature name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_
$ac_useropt"
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval enable_
$ac_useropt=\
$ac_optarg ;;
1048 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1049 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1050 |
--exec |
--exe |
--ex)
1051 ac_prev
=exec_prefix
;;
1052 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1053 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1054 |
--exec=* |
--exe=* |
--ex=*)
1055 exec_prefix
=$ac_optarg ;;
1057 -gas |
--gas |
--ga |
--g)
1058 # Obsolete; use --with-gas.
1061 -help |
--help |
--hel |
--he |
-h)
1062 ac_init_help
=long
;;
1063 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1064 ac_init_help
=recursive
;;
1065 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1066 ac_init_help
=short
;;
1068 -host |
--host |
--hos |
--ho)
1069 ac_prev
=host_alias
;;
1070 -host=* |
--host=* |
--hos=* |
--ho=*)
1071 host_alias
=$ac_optarg ;;
1073 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1075 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1077 htmldir
=$ac_optarg ;;
1079 -includedir |
--includedir |
--includedi |
--included |
--include \
1080 |
--includ |
--inclu |
--incl |
--inc)
1081 ac_prev
=includedir
;;
1082 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1083 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1084 includedir
=$ac_optarg ;;
1086 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1088 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1089 infodir
=$ac_optarg ;;
1091 -libdir |
--libdir |
--libdi |
--libd)
1093 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1094 libdir
=$ac_optarg ;;
1096 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1097 |
--libexe |
--libex |
--libe)
1098 ac_prev
=libexecdir
;;
1099 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1100 |
--libexe=* |
--libex=* |
--libe=*)
1101 libexecdir
=$ac_optarg ;;
1103 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1104 ac_prev
=localedir
;;
1105 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1106 localedir
=$ac_optarg ;;
1108 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1109 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1110 ac_prev
=localstatedir
;;
1111 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1112 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1113 localstatedir
=$ac_optarg ;;
1115 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1117 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1118 mandir
=$ac_optarg ;;
1120 -nfp |
--nfp |
--nf)
1121 # Obsolete; use --without-fp.
1124 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1125 |
--no-cr |
--no-c |
-n)
1128 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1129 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1132 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1133 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1134 |
--oldin |
--oldi |
--old |
--ol |
--o)
1135 ac_prev
=oldincludedir
;;
1136 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1137 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1138 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1139 oldincludedir
=$ac_optarg ;;
1141 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1143 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1144 prefix
=$ac_optarg ;;
1146 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1147 |
--program-pre |
--program-pr |
--program-p)
1148 ac_prev
=program_prefix
;;
1149 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1150 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1151 program_prefix
=$ac_optarg ;;
1153 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1154 |
--program-suf |
--program-su |
--program-s)
1155 ac_prev
=program_suffix
;;
1156 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1157 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1158 program_suffix
=$ac_optarg ;;
1160 -program-transform-name |
--program-transform-name \
1161 |
--program-transform-nam |
--program-transform-na \
1162 |
--program-transform-n |
--program-transform- \
1163 |
--program-transform |
--program-transfor \
1164 |
--program-transfo |
--program-transf \
1165 |
--program-trans |
--program-tran \
1166 |
--progr-tra |
--program-tr |
--program-t)
1167 ac_prev
=program_transform_name
;;
1168 -program-transform-name=* |
--program-transform-name=* \
1169 |
--program-transform-nam=* |
--program-transform-na=* \
1170 |
--program-transform-n=* |
--program-transform-=* \
1171 |
--program-transform=* |
--program-transfor=* \
1172 |
--program-transfo=* |
--program-transf=* \
1173 |
--program-trans=* |
--program-tran=* \
1174 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1175 program_transform_name
=$ac_optarg ;;
1177 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1179 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1180 pdfdir
=$ac_optarg ;;
1182 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1184 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1187 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1188 |
-silent |
--silent |
--silen |
--sile |
--sil)
1191 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1193 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1195 sbindir
=$ac_optarg ;;
1197 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1198 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1199 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1201 ac_prev
=sharedstatedir
;;
1202 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1203 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1204 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1206 sharedstatedir
=$ac_optarg ;;
1208 -site |
--site |
--sit)
1210 -site=* |
--site=* |
--sit=*)
1213 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1215 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1216 srcdir
=$ac_optarg ;;
1218 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1219 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1220 ac_prev
=sysconfdir
;;
1221 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1222 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1223 sysconfdir
=$ac_optarg ;;
1225 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1226 ac_prev
=target_alias
;;
1227 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1228 target_alias
=$ac_optarg ;;
1230 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1233 -version |
--version |
--versio |
--versi |
--vers |
-V)
1234 ac_init_version
=: ;;
1237 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=\
$ac_optarg ;;
1252 -without-* |
--without-*)
1253 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1256 as_fn_error $?
"invalid package name: $ac_useropt"
1257 ac_useropt_orig
=$ac_useropt
1258 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264 ac_unrecognized_sep
=', ';;
1266 eval with_
$ac_useropt=no
;;
1269 # Obsolete; use --with-x.
1272 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1273 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1274 ac_prev
=x_includes
;;
1275 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1276 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1277 x_includes
=$ac_optarg ;;
1279 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1280 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1281 ac_prev
=x_libraries
;;
1282 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1283 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1284 x_libraries
=$ac_optarg ;;
1286 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1287 Try \`$0 --help' for more information"
1291 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1292 # Reject names that are not valid shell variable names.
1293 case $ac_envvar in #(
1294 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1295 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1297 eval $ac_envvar=\
$ac_optarg
1298 export $ac_envvar ;;
1301 # FIXME: should be removed in autoconf 3.0.
1302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1311 if test -n "$ac_prev"; then
1312 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1313 as_fn_error $?
"missing argument to $ac_option"
1316 if test -n "$ac_unrecognized_opts"; then
1317 case $enable_option_checking in
1319 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1324 # Check all directory arguments for consistency.
1325 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326 datadir sysconfdir sharedstatedir localstatedir includedir \
1327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328 libdir localedir mandir
1330 eval ac_val
=\$
$ac_var
1331 # Remove trailing slashes.
1334 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1335 eval $ac_var=\
$ac_val;;
1337 # Be sure to have absolute directory names.
1339 [\\/$
]* | ?
:[\\/]* ) continue;;
1340 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1342 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1345 # There might be people who depend on the old broken behavior: `$host'
1346 # used to hold the argument of --host etc.
1347 # FIXME: To remove some day.
1350 target
=$target_alias
1352 # FIXME: To remove some day.
1353 if test "x$host_alias" != x
; then
1354 if test "x$build_alias" = x
; then
1355 cross_compiling
=maybe
1356 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1357 If a cross compiler is detected then cross compile mode will be used" >&2
1358 elif test "x$build_alias" != "x$host_alias"; then
1364 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1366 test "$silent" = yes && exec 6>/dev
/null
1369 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1370 ac_ls_di
=`ls -di .` &&
1371 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1372 as_fn_error $?
"working directory cannot be determined"
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374 as_fn_error $?
"pwd does not report name of working directory"
1377 # Find the source files, if location was not specified.
1378 if test -z "$srcdir"; then
1379 ac_srcdir_defaulted
=yes
1380 # Try the directory containing this script, then the parent directory.
1381 ac_confdir
=`$as_dirname -- "$as_myself" ||
1382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1383 X"$as_myself" : 'X\(//\)[^/]' \| \
1384 X"$as_myself" : 'X\(//\)$' \| \
1385 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1386 $as_echo X"$as_myself" |
1387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1409 ac_srcdir_defaulted
=no
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1413 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1415 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1417 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1419 # When building in place, set srcdir=.
1420 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 # Remove unnecessary trailing slashes from srcdir.
1424 # Double slashes in file names in object file debugging info
1425 # mess up M-x gdb in Emacs.
1427 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429 for ac_var
in $ac_precious_vars; do
1430 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1431 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1432 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1433 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1437 # Report the --help message.
1439 if test "$ac_init_help" = "long"; then
1440 # Omit some internal or obsolete options to make the list less imposing.
1441 # This message is too long to be a string in the A/UX 3.1 sh.
1443 \`configure' configures sqlcipher 3.7.17 to adapt to many kinds of systems.
1445 Usage: $0 [OPTION]... [VAR=VALUE]...
1447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1448 VAR=VALUE. See below for descriptions of some of the useful variables.
1450 Defaults for the options are specified in brackets.
1453 -h, --help display this help and exit
1454 --help=short display options specific to this package
1455 --help=recursive display the short help of all the included packages
1456 -V, --version display version information and exit
1457 -q, --quiet, --silent do not print \`checking ...' messages
1458 --cache-file=FILE cache test results in FILE [disabled]
1459 -C, --config-cache alias for \`--cache-file=config.cache'
1460 -n, --no-create do not create output files
1461 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1463 Installation directories:
1464 --prefix=PREFIX install architecture-independent files in PREFIX
1465 [$ac_default_prefix]
1466 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 By default, \`make install' will install all the files in
1470 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1471 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1472 for instance \`--prefix=\$HOME'.
1474 For better control, use the options below.
1476 Fine tuning of the installation directories:
1477 --bindir=DIR user executables [EPREFIX/bin]
1478 --sbindir=DIR system admin executables [EPREFIX/sbin]
1479 --libexecdir=DIR program executables [EPREFIX/libexec]
1480 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1481 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1482 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1483 --libdir=DIR object code libraries [EPREFIX/lib]
1484 --includedir=DIR C header files [PREFIX/include]
1485 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1486 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1487 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1488 --infodir=DIR info documentation [DATAROOTDIR/info]
1489 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1490 --mandir=DIR man documentation [DATAROOTDIR/man]
1491 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlcipher]
1492 --htmldir=DIR html documentation [DOCDIR]
1493 --dvidir=DIR dvi documentation [DOCDIR]
1494 --pdfdir=DIR pdf documentation [DOCDIR]
1495 --psdir=DIR ps documentation [DOCDIR]
1501 --build=BUILD configure
for building on BUILD
[guessed
]
1502 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short | recursive
) echo "Configuration of sqlcipher 3.7.17:";;
1513 --disable-option-checking ignore unrecognized
--enable/--with options
1514 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1515 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1516 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1517 --enable-static[=PKGS
] build static libraries
[default
=yes]
1518 --enable-fast-install[=PKGS
]
1519 optimize
for fast installation
[default
=yes]
1520 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1521 --disable-largefile omit support
for large files
1522 --enable-threadsafe Support threadsafe operation
1523 --enable-cross-thread-connections
1524 Allow connection sharing across threads
1525 --enable-releasemode Support libtool link to release mode
1526 --enable-tempstore Use an in-ram database
for temporary tables
1527 (never
,no
,yes,always
)
1528 --disable-tcl do not build TCL extension
1529 --disable-readline disable readline support
[default
=detect
]
1530 --enable-debug enable debugging
& verbose explain
1531 --disable-amalgamation Disable the amalgamation and instead build all files
1533 --enable-load-extension Enable loading of external extensions
1534 --enable-gcov Enable coverage testing using gcov
1537 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1538 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1539 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1541 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1542 --with-hints=FILE Read configuration options from FILE
1543 --with-crypto-lib Specify
which crypto library to use
1544 --with-tcl=DIR directory containing tcl configuration
1546 --with-readline-lib specify readline library
1547 --with-readline-inc specify readline include paths
1549 Some influential environment variables
:
1550 CC C compiler
command
1551 CFLAGS C compiler flags
1552 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1553 nonstandard directory
<lib dir
>
1554 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1555 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1556 you have headers
in a nonstandard directory
<include dir
>
1558 TCLLIBDIR Where to
install tcl plugin
1560 Use these variables to override the choices made by
`configure' or to help
1561 it to find libraries and programs with nonstandard names/locations.
1563 Report bugs to the package provider.
1568 if test "$ac_init_help" = "recursive"; then
1569 # If there are subdirs, report their specific --help.
1570 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1571 test -d "$ac_dir" ||
1572 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1577 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1579 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1580 # A ".." for each directory in $ac_dir_suffix.
1581 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1582 case $ac_top_builddir_sub in
1583 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1587 ac_abs_top_builddir=$ac_pwd
1588 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1589 # for backward compatibility:
1590 ac_top_builddir=$ac_top_build_prefix
1593 .) # We are building in place.
1595 ac_top_srcdir=$ac_top_builddir_sub
1596 ac_abs_top_srcdir=$ac_pwd ;;
1597 [\\/]* | ?:[\\/]* ) # Absolute name.
1598 ac_srcdir=$srcdir$ac_dir_suffix;
1599 ac_top_srcdir=$srcdir
1600 ac_abs_top_srcdir=$srcdir ;;
1602 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1603 ac_top_srcdir=$ac_top_build_prefix$srcdir
1604 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1606 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1608 cd "$ac_dir" || { ac_status=$?; continue; }
1609 # Check for guested configure.
1610 if test -f "$ac_srcdir/configure.gnu"; then
1612 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1613 elif test -f "$ac_srcdir/configure"; then
1615 $SHELL "$ac_srcdir/configure" --help=recursive
1617 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1619 cd "$ac_pwd" || { ac_status=$?; break; }
1623 test -n "$ac_init_help" && exit $ac_status
1624 if $ac_init_version; then
1626 sqlcipher configure 3.7.17
1627 generated by GNU Autoconf 2.68
1629 Copyright (C) 2010 Free Software Foundation, Inc.
1630 This configure script is free software; the Free Software Foundation
1631 gives unlimited permission to copy, distribute and modify it.
1636 ## ------------------------ ##
1637 ## Autoconf initialization. ##
1638 ## ------------------------ ##
1640 # ac_fn_c_try_compile LINENO
1641 # --------------------------
1642 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1643 ac_fn_c_try_compile ()
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 rm -f conftest.$ac_objext
1647 if { { ac_try="$ac_compile"
1649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1650 *) ac_try_echo
=$ac_try;;
1652 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_compile") 2>conftest.err
1656 if test -s conftest.err
; then
1657 grep -v '^ *+' conftest.err
>conftest.er1
1658 cat conftest.er1
>&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && {
1663 test -z "$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1665 } && test -s conftest.
$ac_objext; then :
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.
$ac_ext >&5
1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 as_fn_set_status
$ac_retval
1676 } # ac_fn_c_try_compile
1678 # ac_fn_c_try_link LINENO
1679 # -----------------------
1680 # Try to link conftest.$ac_ext, and return whether this succeeded.
1683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1684 rm -f conftest.
$ac_objext conftest
$ac_exeext
1685 if { { ac_try
="$ac_link"
1687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_link") 2>conftest.err
1694 if test -s conftest.err; then
1695 grep -v '^ *+' conftest.err >conftest.er1
1696 cat conftest.er1 >&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && {
1701 test -z "$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1703 } && test -s conftest$ac_exeext && {
1704 test "$cross_compiling" = yes ||
1705 $as_test_x conftest$ac_exeext
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1714 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1715 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1716 # interfere with the next link command; also delete a directory that is
1717 # left behind by Apple's compiler. We do this before executing the actions.
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_status $ac_retval
1722 } # ac_fn_c_try_link
1724 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1725 # -------------------------------------------------------
1726 # Tests whether HEADER exists and can be compiled using the include files in
1727 # INCLUDES, setting the cache variable VAR accordingly.
1728 ac_fn_c_check_header_compile ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if eval \${$3+:} false; then :
1734 $as_echo_n "(cached) " >&6
1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1741 if ac_fn_c_try_compile "$LINENO"; then :
1746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 } # ac_fn_c_check_header_compile
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_cpp conftest.$ac_ext"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err
; then
1771 grep -v '^ *+' conftest.err
>conftest.er1
1772 cat conftest.er1
>&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } > conftest.i
&& {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.
$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status
$ac_retval
1792 # ac_fn_c_try_run LINENO
1793 # ----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1795 # that executables *can* be run.
1798 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1799 if { { ac_try
="$ac_link"
1801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>&5
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1810 { { case "(($ac_try" in
1811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1812 *) ac_try_echo
=$ac_try;;
1814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_try") 2>&5
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; }; }; then :
1822 $as_echo "$as_me: program exited with status $ac_status" >&5
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1826 ac_retval
=$ac_status
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status
$ac_retval
1834 # ac_fn_c_check_func LINENO FUNC VAR
1835 # ----------------------------------
1836 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1837 ac_fn_c_check_func
()
1839 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if eval \
${$3+:} false
; then :
1843 $as_echo_n "(cached) " >&6
1845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1847 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1849 #define $2 innocuous_$2
1851 /* System header to define __stub macros and hopefully few prototypes,
1852 which can conflict with char $2 (); below.
1853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1854 <limits.h> exists even on freestanding compilers. */
1857 # include <limits.h>
1859 # include <assert.h>
1864 /* Override any GCC internal prototype to avoid an error.
1865 Use char because int might match the return type of a GCC
1866 builtin and then its argument prototype would still apply. */
1871 /* The GNU C library defines this for functions which it implements
1872 to always fail with ENOSYS. Some functions are actually named
1873 something starting with __ and the normal name is an alias. */
1874 #if defined __stub_$2 || defined __stub___$2
1886 if ac_fn_c_try_link
"$LINENO"; then :
1891 rm -f core conftest.err conftest.
$ac_objext \
1892 conftest
$ac_exeext conftest.
$ac_ext
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 } # ac_fn_c_check_func
1901 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1902 # -------------------------------------------
1903 # Tests whether TYPE exists after having included INCLUDES, setting cache
1904 # variable VAR accordingly.
1905 ac_fn_c_check_type
()
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval \
${$3+:} false
; then :
1911 $as_echo_n "(cached) " >&6
1914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1926 if ac_fn_c_try_compile
"$LINENO"; then :
1927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1939 if ac_fn_c_try_compile
"$LINENO"; then :
1944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 } # ac_fn_c_check_type
1955 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1956 # -------------------------------------------------------
1957 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1958 # the include files in INCLUDES and setting the cache variable VAR
1960 ac_fn_c_check_header_mongrel
()
1962 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1963 if eval \
${$3+:} false
; then :
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \
${$3+:} false
; then :
1967 $as_echo_n "(cached) " >&6
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1973 # Is the header compilable?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1975 $as_echo_n "checking $2 usability... " >&6; }
1976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1981 if ac_fn_c_try_compile
"$LINENO"; then :
1982 ac_header_compiler
=yes
1984 ac_header_compiler
=no
1986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1988 $as_echo "$ac_header_compiler" >&6; }
1990 # Is the header present?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1992 $as_echo_n "checking $2 presence... " >&6; }
1993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1997 if ac_fn_c_try_cpp
"$LINENO"; then :
1998 ac_header_preproc
=yes
2000 ac_header_preproc
=no
2002 rm -f conftest.err conftest.i conftest.
$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2004 $as_echo "$ac_header_preproc" >&6; }
2006 # So? What about this header?
2007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2010 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2016 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2018 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2020 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2022 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2024 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028 $as_echo_n "checking for $2... " >&6; }
2029 if eval \
${$3+:} false
; then :
2030 $as_echo_n "(cached) " >&6
2032 eval "$3=\$ac_header_compiler"
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2036 $as_echo "$ac_res" >&6; }
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 } # ac_fn_c_check_header_mongrel
2041 cat >config.log
<<_ACEOF
2042 This file contains any messages produced by compilers while
2043 running configure, to aid debugging if configure makes a mistake.
2045 It was created by sqlcipher $as_me 3.7.17, which was
2046 generated by GNU Autoconf 2.68. Invocation command line was
2058 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2059 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2060 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2061 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2062 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2064 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2065 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2067 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2068 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2069 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2070 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2071 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2072 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2073 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir
=.
2082 $as_echo "PATH: $as_dir"
2098 # Keep a trace of the command line.
2099 # Strip out --no-create and --no-recursion so they do not pile up.
2100 # Strip out --silent because we don't want to record it for future runs.
2101 # Also quote any args containing shell meta-characters.
2102 # Make two passes to allow for proper duplicate-argument suppression.
2106 ac_must_keep_next
=false
2112 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2114 |
-silent |
--silent |
--silen |
--sile |
--sil)
2117 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2120 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2122 as_fn_append ac_configure_args1
" '$ac_arg'"
2123 if test $ac_must_keep_next = true
; then
2124 ac_must_keep_next
=false
# Got value, back to normal.
2127 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2128 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2129 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2130 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2131 case "$ac_configure_args0 " in
2132 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2135 -* ) ac_must_keep_next
=true
;;
2138 as_fn_append ac_configure_args
" '$ac_arg'"
2143 { ac_configure_args0
=; unset ac_configure_args0
;}
2144 { ac_configure_args1
=; unset ac_configure_args1
;}
2146 # When interrupted or exit'd, cleanup temporary files, and complete
2147 # config.log. We remove comments because anyway the quotes in there
2148 # would cause problems or look ugly.
2149 # WARNING: Use '\'' to represent an apostrophe within the trap.
2150 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2151 trap 'exit_status=$?
2152 # Save into config.log some information that might help in debugging.
2156 $as_echo "## ---------------- ##
2157 ## Cache variables. ##
2158 ## ---------------- ##"
2160 # The following way of writing the cache mishandles newlines in values,
2162 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2163 eval ac_val=\$$ac_var
2167 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2168 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2171 _ | IFS | as_nl) ;; #(
2172 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2173 *) { eval $ac_var=; unset $ac_var;} ;;
2178 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2179 *${as_nl}ac_space=\ *)
2181 "s/'\''/'\''\\\\'\'''\''/g;
2182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2192 $as_echo "## ----------------- ##
2193 ## Output variables. ##
2194 ## ----------------- ##"
2196 for ac_var in $ac_subst_vars
2198 eval ac_val=\$$ac_var
2200 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 $as_echo "$ac_var='\''$ac_val'\''"
2206 if test -n "$ac_subst_files"; then
2207 $as_echo "## ------------------- ##
2208 ## File substitutions. ##
2209 ## ------------------- ##"
2211 for ac_var
in $ac_subst_files
2213 eval ac_val
=\$
$ac_var
2215 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217 $as_echo "$ac_var='\''$ac_val'\''"
2222 if test -s confdefs.h; then
2223 $as_echo "## ----------- ##
2230 test "$ac_signal" != 0 &&
2231 $as_echo "$as_me: caught signal $ac_signal"
2232 $as_echo "$as_me: exit $exit_status"
2234 rm -f core *.core core.conftest.* &&
2235 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2238 for ac_signal
in 1 2 13 15; do
2239 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2243 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2244 rm -f -r conftest
* confdefs.h
2246 $as_echo "/* confdefs.h */" > confdefs.h
2248 # Predefined preprocessor variables.
2250 cat >>confdefs.h
<<_ACEOF
2251 #define PACKAGE_NAME "$PACKAGE_NAME"
2254 cat >>confdefs.h
<<_ACEOF
2255 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258 cat >>confdefs.h
<<_ACEOF
2259 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_STRING "$PACKAGE_STRING"
2266 cat >>confdefs.h
<<_ACEOF
2267 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2270 cat >>confdefs.h
<<_ACEOF
2271 #define PACKAGE_URL "$PACKAGE_URL"
2275 # Let the site file select an alternate cache file if it wants to.
2276 # Prefer an explicitly selected file to automatically selected ones.
2279 if test -n "$CONFIG_SITE"; then
2280 # We do not want a PATH search for config.site.
2281 case $CONFIG_SITE in #((
2282 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2283 */*) ac_site_file1
=$CONFIG_SITE;;
2284 *) ac_site_file1
=.
/$CONFIG_SITE;;
2286 elif test "x$prefix" != xNONE
; then
2287 ac_site_file1
=$prefix/share
/config.site
2288 ac_site_file2
=$prefix/etc
/config.site
2290 ac_site_file1
=$ac_default_prefix/share
/config.site
2291 ac_site_file2
=$ac_default_prefix/etc
/config.site
2293 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2295 test "x$ac_site_file" = xNONE
&& continue
2296 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2298 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2299 sed 's/^/| /' "$ac_site_file" >&5
2301 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2303 as_fn_error $?
"failed to load site script $ac_site_file
2304 See \`config.log' for more details" "$LINENO" 5; }
2308 if test -r "$cache_file"; then
2309 # Some versions of bash will fail to source /dev/null (special files
2310 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2311 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2313 $as_echo "$as_me: loading cache $cache_file" >&6;}
2315 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2316 *) .
"./$cache_file";;
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2321 $as_echo "$as_me: creating cache $cache_file" >&6;}
2325 # Check that the precious variables saved in the cache have kept the same
2327 ac_cache_corrupted
=false
2328 for ac_var
in $ac_precious_vars; do
2329 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2330 eval ac_new_set
=\
$ac_env_${ac_var}_set
2331 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2332 eval ac_new_val
=\
$ac_env_${ac_var}_value
2333 case $ac_old_set,$ac_new_set in
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2336 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2337 ac_cache_corrupted
=: ;;
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2340 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2341 ac_cache_corrupted
=: ;;
2344 if test "x$ac_old_val" != "x$ac_new_val"; then
2345 # differences in whitespace do not lead to failure.
2346 ac_old_val_w
=`echo x $ac_old_val`
2347 ac_new_val_w
=`echo x $ac_new_val`
2348 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2350 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2351 ac_cache_corrupted
=:
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2354 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2355 eval $ac_var=\
$ac_old_val
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2358 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2360 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2363 # Pass precious variables to config.status.
2364 if test "$ac_new_set" = set; then
2366 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2367 *) ac_arg
=$ac_var=$ac_new_val ;;
2369 case " $ac_configure_args " in
2370 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2371 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2375 if $ac_cache_corrupted; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2379 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2380 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2382 ## -------------------- ##
2383 ## Main body of script. ##
2384 ## -------------------- ##
2387 ac_cpp
='$CPP $CPPFLAGS'
2388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2394 sqlite_version_sanity_check
=`cat $srcdir/VERSION | tr -d '\n'`
2395 if test "$PACKAGE_VERSION" != "$sqlite_version_sanity_check" ; then
2396 as_fn_error $?
"configure script is out of date:
2397 configure \$PACKAGE_VERSION = $PACKAGE_VERSION
2398 top level VERSION file = $sqlite_version_sanity_check
2399 please regen with autoconf" "$LINENO" 5
2402 # The following RCS revision string applies to configure.in
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2411 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2416 macro_version
='2.2.6'
2417 macro_revision
='1.3012'
2431 ltmain
="$ac_aux_dir/ltmain.sh"
2434 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2435 if test -f "$ac_dir/install-sh"; then
2437 ac_install_sh
="$ac_aux_dir/install-sh -c"
2439 elif test -f "$ac_dir/install.sh"; then
2441 ac_install_sh
="$ac_aux_dir/install.sh -c"
2443 elif test -f "$ac_dir/shtool"; then
2445 ac_install_sh
="$ac_aux_dir/shtool install -c"
2449 if test -z "$ac_aux_dir"; then
2450 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2453 # These three variables are undocumented and unsupported,
2454 # and are intended to be withdrawn in a future Autoconf release.
2455 # They can cause serious problems if a builder's source tree is in a directory
2456 # whose full name contains unusual characters.
2457 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2458 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2459 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2462 # Make sure we can run config.sub.
2463 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2464 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2467 $as_echo_n "checking build system type... " >&6; }
2468 if ${ac_cv_build+:} false
; then :
2469 $as_echo_n "(cached) " >&6
2471 ac_build_alias
=$build_alias
2472 test "x$ac_build_alias" = x
&&
2473 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2474 test "x$ac_build_alias" = x
&&
2475 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2476 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2477 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2481 $as_echo "$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2484 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2487 ac_save_IFS
=$IFS; IFS
='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2501 $as_echo_n "checking host system type... " >&6; }
2502 if ${ac_cv_host+:} false
; then :
2503 $as_echo_n "(cached) " >&6
2505 if test "x$host_alias" = x
; then
2506 ac_cv_host
=$ac_cv_build
2508 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2514 $as_echo "$ac_cv_host" >&6; }
2517 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2520 ac_save_IFS
=$IFS; IFS
='-'
2526 # Remember, the first character of IFS is used to create $*,
2527 # except with old shells:
2530 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2538 if test -n "$ac_tool_prefix"; then
2539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2540 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if ${ac_cv_prog_CC+:} false
; then :
2544 $as_echo_n "(cached) " >&6
2546 if test -n "$CC"; then
2547 ac_cv_prog_CC
="$CC" # Let the user override the test.
2549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir
=.
2554 for ac_exec_ext
in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567 if test -n "$CC"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2569 $as_echo "$CC" >&6; }
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2572 $as_echo "no" >&6; }
2577 if test -z "$ac_cv_prog_CC"; then
2579 # Extract the first word of "gcc", so it can be a program name with args.
2580 set dummy gcc
; ac_word
=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2584 $as_echo_n "(cached) " >&6
2586 if test -n "$ac_ct_CC"; then
2587 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_ac_ct_CC
="gcc"
2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2607 if test -n "$ac_ct_CC"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2609 $as_echo "$ac_ct_CC" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2615 if test "x$ac_ct_CC" = x
; then
2618 case $cross_compiling:$ac_tool_warned in
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2622 ac_tool_warned
=yes ;;
2630 if test -z "$CC"; then
2631 if test -n "$ac_tool_prefix"; then
2632 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2633 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if ${ac_cv_prog_CC+:} false
; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$CC"; then
2640 ac_cv_prog_CC
="$CC" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$CC"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2662 $as_echo "$CC" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2671 if test -z "$CC"; then
2672 # Extract the first word of "cc", so it can be a program name with args.
2673 set dummy cc
; ac_word
=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if ${ac_cv_prog_CC+:} false
; then :
2677 $as_echo_n "(cached) " >&6
2679 if test -n "$CC"; then
2680 ac_cv_prog_CC
="$CC" # Let the user override the test.
2683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir
=.
2688 for ac_exec_ext
in '' $ac_executable_extensions; do
2689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2691 ac_prog_rejected
=yes
2695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test $ac_prog_rejected = yes; then
2703 # We found a bogon in the path, so make sure we never use it.
2704 set dummy
$ac_cv_prog_CC
2706 if test $# != 0; then
2707 # We chose a different compiler from the bogus one.
2708 # However, it has the same basename, so the bogon will be chosen
2709 # first if we set CC to just the basename; use the full file name.
2711 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2717 if test -n "$CC"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719 $as_echo "$CC" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2727 if test -z "$CC"; then
2728 if test -n "$ac_tool_prefix"; then
2729 for ac_prog
in cl.exe
2731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2732 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if ${ac_cv_prog_CC+:} false
; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$CC"; then
2739 ac_cv_prog_CC
="$CC" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 if test -n "$CC"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2761 $as_echo "$CC" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2768 test -n "$CC" && break
2771 if test -z "$CC"; then
2773 for ac_prog
in cl.exe
2775 # Extract the first word of "$ac_prog", so it can be a program name with args.
2776 set dummy
$ac_prog; ac_word
=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$ac_ct_CC"; then
2783 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir
=.
2790 for ac_exec_ext
in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_ac_ct_CC
="$ac_prog"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2803 if test -n "$ac_ct_CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2805 $as_echo "$ac_ct_CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2812 test -n "$ac_ct_CC" && break
2815 if test "x$ac_ct_CC" = x
; then
2818 case $cross_compiling:$ac_tool_warned in
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2822 ac_tool_warned
=yes ;;
2831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2833 as_fn_error $?
"no acceptable C compiler found in \$PATH
2834 See \`config.log' for more details" "$LINENO" 5; }
2836 # Provide some information about the compiler.
2837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2840 for ac_option
in --version -v -V -qversion; do
2841 { { ac_try
="$ac_compiler $ac_option >&5"
2843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2850 if test -s conftest.err; then
2852 ... rest of stderr output deleted ...
2853 10q' conftest.err >conftest.er1
2854 cat conftest.er1 >&5
2856 rm -f conftest.er1 conftest.err
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; }
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 ac_clean_files_save=$ac_clean_files
2873 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2874 # Try to create an executable without -o first, disregard a.out.
2875 # It will help us diagnose broken compilers, and finding out an intuition
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2878 $as_echo_n "checking whether the C compiler works... " >&6; }
2879 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2881 # The possible output files:
2882 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2885 for ac_file in $ac_files
2888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2889 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2894 if { { ac_try="$ac_link_default"
2896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2897 *) ac_try_echo
=$ac_try;;
2899 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2900 $as_echo "$ac_try_echo"; } >&5
2901 (eval "$ac_link_default") 2>&5
2903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2904 test $ac_status = 0; }; then :
2905 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2906 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2907 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2908 # so that the user can short-circuit this test for compilers unknown to
2910 for ac_file
in $ac_files ''
2912 test -f "$ac_file" ||
continue
2914 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2917 # We found the default executable, but exeext='' is most
2921 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2923 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2925 # We set ac_cv_exeext here because the later test for it is not
2926 # safe: cross compilers may not add the suffix if given an `-o'
2927 # argument, so we may need to know it at that point already.
2928 # Even if this section looks crufty: it has the advantage of
2935 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2940 if test -z "$ac_file"; then :
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2943 $as_echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.
$ac_ext >&5
2946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2948 as_fn_error
77 "C compiler cannot create executables
2949 See \`config.log' for more details" "$LINENO" 5; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2952 $as_echo "yes" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2955 $as_echo_n "checking for C compiler default output file name... " >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2957 $as_echo "$ac_file" >&6; }
2958 ac_exeext
=$ac_cv_exeext
2960 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2961 ac_clean_files
=$ac_clean_files_save
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2963 $as_echo_n "checking for suffix of executables... " >&6; }
2964 if { { ac_try
="$ac_link"
2966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; }; then :
2975 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2976 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2977 # work properly (i.e., refer to `conftest.exe'), while it won't with
2979 for ac_file
in conftest.exe conftest conftest.
*; do
2980 test -f "$ac_file" ||
continue
2982 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2983 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2991 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2992 See \`config.log' for more details" "$LINENO" 5; }
2994 rm -f conftest conftest
$ac_cv_exeext
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2996 $as_echo "$ac_cv_exeext" >&6; }
2998 rm -f conftest.
$ac_ext
2999 EXEEXT
=$ac_cv_exeext
3001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3007 FILE *f = fopen ("conftest.out", "w");
3008 return ferror (f) || fclose (f) != 0;
3014 ac_clean_files
="$ac_clean_files conftest.out"
3015 # Check that the compiler produces executables we can run. If not, either
3016 # the compiler is broken, or we cross compile.
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3018 $as_echo_n "checking whether we are cross compiling... " >&6; }
3019 if test "$cross_compiling" != yes; then
3020 { { ac_try
="$ac_link"
3022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_link") 2>&5
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }
3031 if { ac_try='./conftest$ac_cv_exeext'
3032 { { case "(($ac_try" in
3033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3034 *) ac_try_echo
=$ac_try;;
3036 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_try") 2>&5
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; }; then
3044 if test "$cross_compiling" = maybe
; then
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error $?
"cannot run C compiled programs.
3050 If you meant to cross compile, use \`--host'.
3051 See \`config.log' for more details" "$LINENO" 5; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3056 $as_echo "$cross_compiling" >&6; }
3058 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3059 ac_clean_files
=$ac_clean_files_save
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3061 $as_echo_n "checking for suffix of object files... " >&6; }
3062 if ${ac_cv_objext+:} false
; then :
3063 $as_echo_n "(cached) " >&6
3065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3076 rm -f conftest.o conftest.obj
3077 if { { ac_try
="$ac_compile"
3079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compile") 2>&5
3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087 test $ac_status = 0; }; then :
3088 for ac_file in conftest.o conftest.obj conftest.*; do
3089 test -f "$ac_file" || continue;
3091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3092 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3097 $as_echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3103 See \
`config.log' for more details" "$LINENO" 5; }
3105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3108 $as_echo "$ac_cv_objext" >&6; }
3109 OBJEXT=$ac_cv_objext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3112 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3113 if ${ac_cv_c_compiler_gnu+:} false; then :
3114 $as_echo_n "(cached) " >&6
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3130 if ac_fn_c_try_compile "$LINENO"; then :
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3140 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3141 if test $ac_compiler_gnu = yes; then
3146 ac_test_CFLAGS=${CFLAGS+set}
3147 ac_save_CFLAGS=$CFLAGS
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3149 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3150 if ${ac_cv_prog_cc_g+:} false; then :
3151 $as_echo_n "(cached) " >&6
3153 ac_save_c_werror_flag=$ac_c_werror_flag
3154 ac_c_werror_flag=yes
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 if ac_fn_c_try_compile "$LINENO"; then :
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 if ac_fn_c_try_compile "$LINENO"; then :
3186 ac_c_werror_flag=$ac_save_c_werror_flag
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3199 if ac_fn_c_try_compile "$LINENO"; then :
3202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 ac_c_werror_flag=$ac_save_c_werror_flag
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3210 $as_echo "$ac_cv_prog_cc_g" >&6; }
3211 if test "$ac_test_CFLAGS" = set; then
3212 CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214 if test "$GCC" = yes; then
3220 if test "$GCC" = yes; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3227 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3228 if ${ac_cv_prog_cc_c89+:} false; then :
3229 $as_echo_n "(cached) " >&6
3231 ac_cv_prog_cc_c89=no
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3237 #include <sys/types.h>
3238 #include <sys/stat.h>
3239 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3240 struct buf { int x; };
3241 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3242 static char *e (p, i)
3248 static char *f (char * (*g) (char **, int), char **p, ...)
3253 s = g (p, va_arg (v,int));
3258 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3259 function prototypes and stuff, but not '\xHH' hex character constants.
3260 These don't provoke an error unfortunately, instead are silently treated
3261 as 'x'. The following induces an error, until -std is added to get
3262 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3263 array size at least. It's necessary to write '\x00'==0 to get something
3264 that's true only with -std. */
3265 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3267 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3268 inside strings and character constants. */
3270 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3272 int test (int i, double x);
3273 struct s1 {int (*f) (int a);};
3274 struct s2 {int (*f) (double a);};
3275 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3281 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3286 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3287 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3289 CC="$ac_save_CC $ac_arg"
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291 ac_cv_prog_cc_c89=$ac_arg
3293 rm -f core conftest.err conftest.$ac_objext
3294 test "x$ac_cv_prog_cc_c89" != "xno" && break
3296 rm -f conftest.$ac_ext
3301 case "x$ac_cv_prog_cc_c89" in
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3304 $as_echo "none needed" >&6; } ;;
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3307 $as_echo "unsupported" >&6; } ;;
3309 CC="$CC $ac_cv_prog_cc_c89"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3313 if test "x$ac_cv_prog_cc_c89" != xno; then :
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3324 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3325 if ${ac_cv_path_SED+:} false; then :
3326 $as_echo_n "(cached) " >&6
3328 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3329 for ac_i in 1 2 3 4 5 6 7; do
3330 ac_script="$ac_script$as_nl$ac_script"
3332 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3333 { ac_script=; unset ac_script;}
3334 if test -z "$SED"; then
3335 ac_path_SED_found=false
3336 # Loop through the user's path and test for each of PROGNAME-LIST
3337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 test -z "$as_dir" && as_dir=.
3342 for ac_prog in sed gsed; do
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3345 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3346 # Check for GNU ac_path_SED and select it if it is found.
3347 # Check for GNU $ac_path_SED
3348 case `"$ac_path_SED" --version 2>&1` in
3350 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3353 $as_echo_n 0123456789 >"conftest.in"
3356 cat "conftest.in" "conftest.in" >"conftest.tmp"
3357 mv "conftest.tmp" "conftest.in"
3358 cp "conftest.in" "conftest.nl"
3359 $as_echo '' >> "conftest.nl"
3360 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3362 as_fn_arith $ac_count + 1 && ac_count=$as_val
3363 if test $ac_count -gt ${ac_path_SED_max-0}; then
3364 # Best one so far, save it but keep looking for a better one
3365 ac_cv_path_SED="$ac_path_SED"
3366 ac_path_SED_max=$ac_count
3368 # 10*(2^10) chars as input seems more than enough
3369 test $ac_count -gt 10 && break
3371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3374 $ac_path_SED_found && break 3
3379 if test -z "$ac_cv_path_SED"; then
3380 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3388 $as_echo "$ac_cv_path_SED" >&6; }
3389 SED="$ac_cv_path_SED"
3392 test -z "$SED" && SED=sed
3393 Xsed="$SED -e 1s/^X//"
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3406 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3407 if ${ac_cv_path_GREP+:} false; then :
3408 $as_echo_n "(cached) " >&6
3410 if test -z "$GREP"; then
3411 ac_path_GREP_found=false
3412 # Loop through the user's path and test for each of PROGNAME-LIST
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3417 test -z "$as_dir" && as_dir=.
3418 for ac_prog in grep ggrep; do
3419 for ac_exec_ext in '' $ac_executable_extensions; do
3420 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3421 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3422 # Check for GNU ac_path_GREP and select it if it is found.
3423 # Check for GNU $ac_path_GREP
3424 case `"$ac_path_GREP" --version 2>&1` in
3426 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3429 $as_echo_n 0123456789 >"conftest.in"
3432 cat "conftest.in" "conftest.in" >"conftest.tmp"
3433 mv "conftest.tmp" "conftest.in"
3434 cp "conftest.in" "conftest.nl"
3435 $as_echo 'GREP' >> "conftest.nl"
3436 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3438 as_fn_arith $ac_count + 1 && ac_count=$as_val
3439 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3440 # Best one so far, save it but keep looking for a better one
3441 ac_cv_path_GREP="$ac_path_GREP"
3442 ac_path_GREP_max=$ac_count
3444 # 10*(2^10) chars as input seems more than enough
3445 test $ac_count -gt 10 && break
3447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3450 $ac_path_GREP_found && break 3
3455 if test -z "$ac_cv_path_GREP"; then
3456 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3459 ac_cv_path_GREP=$GREP
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3464 $as_echo "$ac_cv_path_GREP" >&6; }
3465 GREP="$ac_cv_path_GREP"
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3469 $as_echo_n "checking for egrep... " >&6; }
3470 if ${ac_cv_path_EGREP+:} false; then :
3471 $as_echo_n "(cached) " >&6
3473 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3474 then ac_cv_path_EGREP="$GREP -E"
3476 if test -z "$EGREP"; then
3477 ac_path_EGREP_found=false
3478 # Loop through the user's path and test for each of PROGNAME-LIST
3479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3483 test -z "$as_dir" && as_dir=.
3484 for ac_prog in egrep; do
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3487 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3488 # Check for GNU ac_path_EGREP and select it if it is found.
3489 # Check for GNU $ac_path_EGREP
3490 case `"$ac_path_EGREP" --version 2>&1` in
3492 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3495 $as_echo_n 0123456789 >"conftest.in"
3498 cat "conftest.in" "conftest.in" >"conftest.tmp"
3499 mv "conftest.tmp" "conftest.in"
3500 cp "conftest.in" "conftest.nl"
3501 $as_echo 'EGREP' >> "conftest.nl"
3502 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3504 as_fn_arith $ac_count + 1 && ac_count=$as_val
3505 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3506 # Best one so far, save it but keep looking for a better one
3507 ac_cv_path_EGREP="$ac_path_EGREP"
3508 ac_path_EGREP_max=$ac_count
3510 # 10*(2^10) chars as input seems more than enough
3511 test $ac_count -gt 10 && break
3513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3516 $ac_path_EGREP_found && break 3
3521 if test -z "$ac_cv_path_EGREP"; then
3522 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3525 ac_cv_path_EGREP=$EGREP
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3531 $as_echo "$ac_cv_path_EGREP" >&6; }
3532 EGREP="$ac_cv_path_EGREP"
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3536 $as_echo_n "checking for fgrep... " >&6; }
3537 if ${ac_cv_path_FGREP+:} false; then :
3538 $as_echo_n "(cached) " >&6
3540 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3541 then ac_cv_path_FGREP="$GREP -F"
3543 if test -z "$FGREP"; then
3544 ac_path_FGREP_found=false
3545 # Loop through the user's path and test for each of PROGNAME-LIST
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3550 test -z "$as_dir" && as_dir=.
3551 for ac_prog in fgrep; do
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3554 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3555 # Check for GNU ac_path_FGREP and select it if it is found.
3556 # Check for GNU $ac_path_FGREP
3557 case `"$ac_path_FGREP" --version 2>&1` in
3559 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3562 $as_echo_n 0123456789 >"conftest.in"
3565 cat "conftest.in" "conftest.in" >"conftest.tmp"
3566 mv "conftest.tmp" "conftest.in"
3567 cp "conftest.in" "conftest.nl"
3568 $as_echo 'FGREP' >> "conftest.nl"
3569 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3570 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3571 as_fn_arith $ac_count + 1 && ac_count=$as_val
3572 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3573 # Best one so far, save it but keep looking for a better one
3574 ac_cv_path_FGREP="$ac_path_FGREP"
3575 ac_path_FGREP_max=$ac_count
3577 # 10*(2^10) chars as input seems more than enough
3578 test $ac_count -gt 10 && break
3580 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3583 $ac_path_FGREP_found && break 3
3588 if test -z "$ac_cv_path_FGREP"; then
3589 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3592 ac_cv_path_FGREP=$FGREP
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3598 $as_echo "$ac_cv_path_FGREP" >&6; }
3599 FGREP="$ac_cv_path_FGREP"
3602 test -z "$GREP" && GREP=grep
3622 # Check whether --with-gnu-ld was given.
3623 if test "${with_gnu_ld+set}" = set; then :
3624 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3630 if test "$GCC" = yes; then
3631 # Check if gcc -print-prog-name=ld gives a path.
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3633 $as_echo_n "checking for ld used by $CC... " >&6; }
3636 # gcc leaves a trailing carriage return which upsets mingw
3637 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3639 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3642 # Accept absolute paths.
3644 re_direlt='/[^/][^/]*/\.\./'
3645 # Canonicalize the pathname of ld
3646 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
3647 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3648 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
3650 test -z "$LD" && LD="$ac_prog"
3653 # If it fails, then pretend we aren't using GCC.
3657 # If it is relative, then search for the first ld in PATH.
3661 elif test "$with_gnu_ld" = yes; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3663 $as_echo_n "checking for GNU ld... " >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3666 $as_echo_n "checking for non-GNU ld... " >&6; }
3668 if ${lt_cv_path_LD+:} false; then :
3669 $as_echo_n "(cached) " >&6
3671 if test -z "$LD"; then
3672 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3673 for ac_dir in $PATH; do
3675 test -z "$ac_dir" && ac_dir=.
3676 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3677 lt_cv_path_LD="$ac_dir/$ac_prog"
3678 # Check to see if the program is GNU ld. I'd rather use --version,
3679 # but apparently some variants of GNU ld only accept -v.
3680 # Break only if it was the GNU/non-GNU ld that we prefer.
3681 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3682 *GNU* | *'with BFD'*)
3683 test "$with_gnu_ld" != no && break
3686 test "$with_gnu_ld" != yes && break
3693 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3698 if test -n "$LD"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3700 $as_echo "$LD" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3705 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3707 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3708 if ${lt_cv_prog_gnu_ld+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3712 case `$LD -v 2>&1 </dev
/null
` in
3713 *GNU* | *'with BFD'*)
3714 lt_cv_prog_gnu_ld=yes
3717 lt_cv_prog_gnu_ld=no
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3722 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3723 with_gnu_ld=$lt_cv_prog_gnu_ld
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3734 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3735 if ${lt_cv_path_NM+:} false; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$NM"; then
3739 # Let the user override the test.
3742 lt_nm_to_check="${ac_tool_prefix}nm"
3743 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3744 lt_nm_to_check="$lt_nm_to_check nm"
3746 for lt_tmp_nm in $lt_nm_to_check; do
3747 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3748 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3750 test -z "$ac_dir" && ac_dir=.
3751 tmp_nm="$ac_dir/$lt_tmp_nm"
3752 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3753 # Check to see if the nm accepts a BSD-compat flag.
3754 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3755 # nm: unknown option "B" ignored
3756 # Tru64's nm complains that
/dev
/null is an invalid object
file
3757 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3758 */dev
/null
* |
*'Invalid file or object type'*)
3759 lt_cv_path_NM
="$tmp_nm -B"
3763 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3765 lt_cv_path_NM
="$tmp_nm -p"
3769 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3770 continue # so that we can try to find one that supports BSD flags
3779 : ${lt_cv_path_NM=no}
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3783 $as_echo "$lt_cv_path_NM" >&6; }
3784 if test "$lt_cv_path_NM" != "no"; then
3787 # Didn't find any BSD compatible name lister, look for dumpbin.
3788 if test -n "$ac_tool_prefix"; then
3789 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3792 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_DUMPBIN+:} false
; then :
3796 $as_echo_n "(cached) " >&6
3798 if test -n "$DUMPBIN"; then
3799 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir
=.
3806 for ac_exec_ext
in '' $ac_executable_extensions; do
3807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 DUMPBIN
=$ac_cv_prog_DUMPBIN
3819 if test -n "$DUMPBIN"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3821 $as_echo "$DUMPBIN" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3828 test -n "$DUMPBIN" && break
3831 if test -z "$DUMPBIN"; then
3832 ac_ct_DUMPBIN
=$DUMPBIN
3833 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3835 # Extract the first word of "$ac_prog", so it can be a program name with args.
3836 set dummy
$ac_prog; ac_word
=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
3840 $as_echo_n "(cached) " >&6
3842 if test -n "$ac_ct_DUMPBIN"; then
3843 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir
=.
3850 for ac_exec_ext
in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3863 if test -n "$ac_ct_DUMPBIN"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3865 $as_echo "$ac_ct_DUMPBIN" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3872 test -n "$ac_ct_DUMPBIN" && break
3875 if test "x$ac_ct_DUMPBIN" = x
; then
3878 case $cross_compiling:$ac_tool_warned in
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3882 ac_tool_warned
=yes ;;
3884 DUMPBIN
=$ac_ct_DUMPBIN
3889 if test "$DUMPBIN" != ":"; then
3893 test -z "$NM" && NM
=nm
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3901 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3902 if ${lt_cv_nm_interface+:} false
; then :
3903 $as_echo_n "(cached) " >&6
3905 lt_cv_nm_interface
="BSD nm"
3906 echo "int some_variable = 0;" > conftest.
$ac_ext
3907 (eval echo "\"\$as_me:3907: $ac_compile\"" >&5)
3908 (eval "$ac_compile" 2>conftest.err
)
3909 cat conftest.err
>&5
3910 (eval echo "\"\$as_me:3910: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3911 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3912 cat conftest.err
>&5
3913 (eval echo "\"\$as_me:3913: output\"" >&5)
3914 cat conftest.out
>&5
3915 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3916 lt_cv_nm_interface
="MS dumpbin"
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3921 $as_echo "$lt_cv_nm_interface" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3924 $as_echo_n "checking whether ln -s works... " >&6; }
3926 if test "$LN_S" = "ln -s"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3928 $as_echo "yes" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3931 $as_echo "no, using $LN_S" >&6; }
3934 # find the maximum length of command line arguments
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3936 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3937 if ${lt_cv_sys_max_cmd_len+:} false
; then :
3938 $as_echo_n "(cached) " >&6
3945 # On DJGPP, this test can blow up pretty badly due to problems in libc
3946 # (any single argument exceeding 2000 bytes causes a buffer overrun
3947 # during glob expansion). Even if it were fixed, the result of this
3948 # check would be larger than it should be.
3949 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3953 # Under GNU Hurd, this test is not required because there is
3954 # no limit to the length of command line arguments.
3955 # Libtool will interpret -1 as no limit whatsoever
3956 lt_cv_sys_max_cmd_len
=-1;
3959 cygwin
* | mingw
* | cegcc
*)
3960 # On Win9x/ME, this test blows up -- it succeeds, but takes
3961 # about 5 minutes as the teststring grows exponentially.
3962 # Worse, since 9x/ME are not pre-emptively multitasking,
3963 # you end up with a "frozen" computer, even though with patience
3964 # the test eventually succeeds (with a max line length of 256k).
3965 # Instead, let's just punt: use the minimum linelength reported by
3966 # all of the supported platforms: 8192 (on NT/2K/XP).
3967 lt_cv_sys_max_cmd_len
=8192;
3971 # On AmigaOS with pdksh, this test takes hours, literally.
3972 # So we just punt and use a minimum line length of 8192.
3973 lt_cv_sys_max_cmd_len
=8192;
3976 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3977 # This has been around since 386BSD, at least. Likely further.
3978 if test -x /sbin
/sysctl
; then
3979 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3980 elif test -x /usr
/sbin
/sysctl
; then
3981 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3983 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3985 # And add a safety zone
3986 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3987 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3991 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3992 lt_cv_sys_max_cmd_len
=196608
3996 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3997 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3998 # nice to cause kernel panics so lets avoid the loop below.
3999 # First set a reasonable default.
4000 lt_cv_sys_max_cmd_len
=16384
4002 if test -x /sbin
/sysconfig
; then
4003 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4004 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4009 lt_cv_sys_max_cmd_len
=102400
4011 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4012 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4013 if test -n "$kargmax"; then
4014 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4016 lt_cv_sys_max_cmd_len
=32768
4020 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4021 if test -n "$lt_cv_sys_max_cmd_len"; then
4022 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4023 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4025 # Make teststring a little bigger before we do anything with it.
4026 # a 1K string should be a reasonable start.
4027 for i
in 1 2 3 4 5 6 7 8 ; do
4028 teststring
=$teststring$teststring
4030 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4031 # If test is not a shell built-in, we'll probably end up computing a
4032 # maximum length that is only half of the actual maximum length, but
4034 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4035 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4036 test $i != 17 # 1/2 MB should be enough
4039 teststring
=$teststring$teststring
4041 # Only check the string length outside the loop.
4042 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4044 # Add a significant safety factor because C++ compilers can tack on
4045 # massive amounts of additional arguments before passing them to the
4046 # linker. It appears as though 1/2 is a usable value.
4047 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4054 if test -n $lt_cv_sys_max_cmd_len ; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4056 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4059 $as_echo "none" >&6; }
4061 max_cmd_len
=$lt_cv_sys_max_cmd_len
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4073 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4074 # Try some XSI features
4077 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4079 && eval 'test $(( 1 + 1 )) -eq 2 \
4080 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4083 $as_echo "$xsi_shell" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4087 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4089 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4091 && lt_shell_append=yes
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4093 $as_echo "$lt_shell_append" >&6; }
4096 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4106 # test EBCDIC or ASCII
4107 case `echo X|tr X '\101'` in
4108 A) # ASCII based system
4109 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4110 lt_SP2NL='tr \040 \012'
4111 lt_NL2SP='tr \015\012 \040\040'
4113 *) # EBCDIC based system
4114 lt_SP2NL='tr \100 \n'
4115 lt_NL2SP='tr \r\n \100\100'
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4128 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4129 if ${lt_cv_ld_reload_flag+:} false; then :
4130 $as_echo_n "(cached
) " >&6
4132 lt_cv_ld_reload_flag='-r'
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4135 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4136 reload_flag=$lt_cv_ld_reload_flag
4137 case $reload_flag in
4139 *) reload_flag=" $reload_flag" ;;
4141 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4144 if test "$GCC" = yes; then
4145 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4147 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4160 if test -n "$ac_tool_prefix"; then
4161 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4162 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4164 $as_echo_n "checking
for $ac_word...
" >&6; }
4165 if ${ac_cv_prog_OBJDUMP+:} false; then :
4166 $as_echo_n "(cached
) " >&6
4168 if test -n "$OBJDUMP"; then
4169 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175 test -z "$as_dir" && as_dir=.
4176 for ac_exec_ext in '' $ac_executable_extensions; do
4177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4178 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4188 OBJDUMP=$ac_cv_prog_OBJDUMP
4189 if test -n "$OBJDUMP"; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4191 $as_echo "$OBJDUMP" >&6; }
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4194 $as_echo "no
" >&6; }
4199 if test -z "$ac_cv_prog_OBJDUMP"; then
4200 ac_ct_OBJDUMP=$OBJDUMP
4201 # Extract the first word of "objdump
", so it can be a program name with args.
4202 set dummy objdump; ac_word=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4204 $as_echo_n "checking
for $ac_word...
" >&6; }
4205 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4206 $as_echo_n "(cached
) " >&6
4208 if test -n "$ac_ct_OBJDUMP"; then
4209 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4218 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4228 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4229 if test -n "$ac_ct_OBJDUMP"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4231 $as_echo "$ac_ct_OBJDUMP" >&6; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4234 $as_echo "no
" >&6; }
4237 if test "x
$ac_ct_OBJDUMP" = x; then
4240 case $cross_compiling:$ac_tool_warned in
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4243 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4244 ac_tool_warned=yes ;;
4246 OBJDUMP=$ac_ct_OBJDUMP
4249 OBJDUMP="$ac_cv_prog_OBJDUMP"
4252 test -z "$OBJDUMP" && OBJDUMP=objdump
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4263 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4264 if ${lt_cv_deplibs_check_method+:} false; then :
4265 $as_echo_n "(cached
) " >&6
4267 lt_cv_file_magic_cmd='$MAGIC_CMD'
4268 lt_cv_file_magic_test_file=
4269 lt_cv_deplibs_check_method='unknown'
4270 # Need to set the preceding variable on all platforms that support
4271 # interlibrary dependencies.
4272 # 'none' -- dependencies not supported.
4273 # `unknown' -- same as none, but documents that we really don't know.
4274 # 'pass_all' -- all dependencies passed with no checks.
4275 # 'test_compile' -- check by making test program.
4276 # 'file_magic [[regex]]' -- check by looking for files in library path
4277 # which responds to the $file_magic_cmd with a given extended regex.
4278 # If you have `file' or equivalent on your system and you're not sure
4279 # whether `pass_all' will *always* work, you probably want this one.
4283 lt_cv_deplibs_check_method=pass_all
4287 lt_cv_deplibs_check_method=pass_all
4291 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4292 lt_cv_file_magic_cmd='/usr/bin/file -L'
4293 lt_cv_file_magic_test_file=/shlib/libc.so
4297 # func_win32_libid is a shell function defined in ltmain.sh
4298 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4299 lt_cv_file_magic_cmd='func_win32_libid'
4303 # Base MSYS/MinGW do not provide the 'file' command needed by
4304 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4305 # unless we find 'file', for example because we are cross-compiling.
4306 if ( file / ) >/dev/null 2>&1; then
4307 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4308 lt_cv_file_magic_cmd='func_win32_libid'
4310 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4311 lt_cv_file_magic_cmd='$OBJDUMP -f'
4316 # use the weaker test based on 'objdump'. See mingw*.
4317 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4318 lt_cv_file_magic_cmd='$OBJDUMP -f'
4321 darwin* | rhapsody*)
4322 lt_cv_deplibs_check_method=pass_all
4325 freebsd* | dragonfly*)
4326 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4329 # Not sure whether the presence of OpenBSD here was a mistake.
4330 # Let's accept both of them until this is cleared up.
4331 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4332 lt_cv_file_magic_cmd=/usr/bin/file
4333 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4337 lt_cv_deplibs_check_method=pass_all
4342 lt_cv_deplibs_check_method=pass_all
4345 hpux10.20* | hpux11*)
4346 lt_cv_file_magic_cmd=/usr/bin/file
4349 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4350 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4353 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]'
4354 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4357 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4358 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4364 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4365 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4368 irix5* | irix6* | nonstopux*)
4370 *-32|*"-32 ") libmagic=32-bit;;
4371 *-n32|*"-n32 ") libmagic=N32;;
4372 *-64|*"-64 ") libmagic=64-bit;;
4373 *) libmagic=never-match;;
4375 lt_cv_deplibs_check_method=pass_all
4378 # This must be Linux ELF.
4379 linux* | k*bsd*-gnu)
4380 lt_cv_deplibs_check_method=pass_all
4384 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4387 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4393 lt_cv_file_magic_cmd=/usr/bin/file
4394 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4398 lt_cv_deplibs_check_method=pass_all
4402 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4405 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4409 osf3* | osf4* | osf5*)
4410 lt_cv_deplibs_check_method=pass_all
4414 lt_cv_deplibs_check_method=pass_all
4418 lt_cv_deplibs_check_method=pass_all
4421 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4422 lt_cv_deplibs_check_method=pass_all
4426 case $host_vendor in
4428 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]'
4429 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4432 lt_cv_deplibs_check_method=pass_all
4435 lt_cv_file_magic_cmd='/bin/file'
4436 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4439 lt_cv_file_magic_cmd='/bin/file'
4440 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4441 lt_cv_file_magic_test_file=/lib/libc.so
4444 lt_cv_deplibs_check_method=pass_all
4447 lt_cv_deplibs_check_method=pass_all
4453 lt_cv_deplibs_check_method=pass_all
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4459 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4460 file_magic_cmd=$lt_cv_file_magic_cmd
4461 deplibs_check_method=$lt_cv_deplibs_check_method
4462 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4475 if test -n "$ac_tool_prefix"; then
4476 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4477 set dummy ${ac_tool_prefix}ar; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4479 $as_echo_n "checking
for $ac_word...
" >&6; }
4480 if ${ac_cv_prog_AR+:} false; then :
4481 $as_echo_n "(cached
) " >&6
4483 if test -n "$AR"; then
4484 ac_cv_prog_AR="$AR" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_AR="${ac_tool_prefix}ar"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4504 if test -n "$AR"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
4506 $as_echo "$AR" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4509 $as_echo "no
" >&6; }
4514 if test -z "$ac_cv_prog_AR"; then
4516 # Extract the first word of "ar", so it can be a program name with args.
4517 set dummy ar; ac_word=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4519 $as_echo_n "checking
for $ac_word...
" >&6; }
4520 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4521 $as_echo_n "(cached
) " >&6
4523 if test -n "$ac_ct_AR"; then
4524 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir=.
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533 ac_cv_prog_ac_ct_AR="ar"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4543 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4544 if test -n "$ac_ct_AR"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
4546 $as_echo "$ac_ct_AR" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4549 $as_echo "no
" >&6; }
4552 if test "x
$ac_ct_AR" = x; then
4555 case $cross_compiling:$ac_tool_warned in
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4558 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4559 ac_tool_warned=yes ;;
4567 test -z "$AR" && AR=ar
4568 test -z "$AR_FLAGS" && AR_FLAGS=cru
4580 if test -n "$ac_tool_prefix"; then
4581 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4582 set dummy ${ac_tool_prefix}strip; ac_word=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4584 $as_echo_n "checking
for $ac_word...
" >&6; }
4585 if ${ac_cv_prog_STRIP+:} false; then :
4586 $as_echo_n "(cached
) " >&6
4588 if test -n "$STRIP"; then
4589 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4598 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4608 STRIP=$ac_cv_prog_STRIP
4609 if test -n "$STRIP"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
4611 $as_echo "$STRIP" >&6; }
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4614 $as_echo "no
" >&6; }
4619 if test -z "$ac_cv_prog_STRIP"; then
4621 # Extract the first word of "strip
", so it can be a program name with args.
4622 set dummy strip; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4624 $as_echo_n "checking
for $ac_word...
" >&6; }
4625 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4626 $as_echo_n "(cached
) " >&6
4628 if test -n "$ac_ct_STRIP"; then
4629 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4638 ac_cv_prog_ac_ct_STRIP="strip
"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4648 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4649 if test -n "$ac_ct_STRIP"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
4651 $as_echo "$ac_ct_STRIP" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4654 $as_echo "no
" >&6; }
4657 if test "x
$ac_ct_STRIP" = x; then
4660 case $cross_compiling:$ac_tool_warned in
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4663 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4664 ac_tool_warned=yes ;;
4669 STRIP="$ac_cv_prog_STRIP"
4672 test -z "$STRIP" && STRIP=:
4679 if test -n "$ac_tool_prefix"; then
4680 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4681 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4683 $as_echo_n "checking
for $ac_word...
" >&6; }
4684 if ${ac_cv_prog_RANLIB+:} false; then :
4685 $as_echo_n "(cached
) " >&6
4687 if test -n "$RANLIB"; then
4688 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4697 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4707 RANLIB=$ac_cv_prog_RANLIB
4708 if test -n "$RANLIB"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
4710 $as_echo "$RANLIB" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4713 $as_echo "no
" >&6; }
4718 if test -z "$ac_cv_prog_RANLIB"; then
4719 ac_ct_RANLIB=$RANLIB
4720 # Extract the first word of "ranlib
", so it can be a program name with args.
4721 set dummy ranlib; ac_word=$2
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4723 $as_echo_n "checking
for $ac_word...
" >&6; }
4724 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4725 $as_echo_n "(cached
) " >&6
4727 if test -n "$ac_ct_RANLIB"; then
4728 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4747 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4748 if test -n "$ac_ct_RANLIB"; then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
4750 $as_echo "$ac_ct_RANLIB" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4753 $as_echo "no
" >&6; }
4756 if test "x
$ac_ct_RANLIB" = x; then
4759 case $cross_compiling:$ac_tool_warned in
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4762 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4763 ac_tool_warned=yes ;;
4765 RANLIB=$ac_ct_RANLIB
4768 RANLIB="$ac_cv_prog_RANLIB"
4771 test -z "$RANLIB" && RANLIB=:
4778 # Determine commands to create old-style static archives.
4779 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4780 old_postinstall_cmds='chmod 644 $oldlib'
4781 old_postuninstall_cmds=
4783 if test -n "$RANLIB"; then
4786 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4789 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4792 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4828 # If no C compiler was specified, use CC.
4831 # If no C compiler flags were specified, use CFLAGS.
4832 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4834 # Allow CC to be a program name with arguments.
4838 # Check for command to grab the raw symbol name followed by C symbol from nm.
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
4840 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
4841 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
4842 $as_echo_n "(cached
) " >&6
4845 # These are sane defaults that work on at least a few old systems.
4846 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4848 # Character class describing NM global symbol codes.
4849 symcode='[BCDEGRST]'
4851 # Regexp to match symbols that can be accessed directly from C.
4852 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4854 # Define system-specific variables.
4859 cygwin* | mingw* | pw32* | cegcc*)
4860 symcode='[ABCDGISTW]'
4863 if test "$host_cpu" = ia64; then
4864 symcode='[ABCDEGRST]'
4868 symcode='[BCDEGRST]'
4871 symcode='[BCDEGQRST]'
4882 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4890 # If we're using GNU nm, then use its standard symbol codes.
4891 case `$NM -V 2>&1` in
4892 *GNU* | *'with BFD'*)
4893 symcode='[ABCDGIRSTW]' ;;
4896 # Transform an extracted symbol line into a proper C declaration.
4897 # Some systems (esp. on ia64) link data and code symbols differently,
4898 # so use this general approach.
4899 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4901 # Transform an extracted symbol line into symbol name and symbol address
4902 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4903 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'"
4905 # Handle CRLF in mingw tool chain
4909 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4913 # Try without a prefix underscore, then with it.
4914 for ac_symprfx in "" "_
"; do
4916 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4917 symxfrm="\\1 $ac_symprfx\\2 \\2"
4919 # Write the raw and C identifiers.
4920 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4921 # Fake it for dumpbin and say T for any non-static function
4922 # and D for any global variable.
4923 # Also find C++ and __fastcall symbols from MSVC++,
4924 # which start with @ or ?.
4925 lt_cv_sys_global_symbol_pipe="$AWK '"\
4926 " {last_section=section; section=\$ 3};"\
4927 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4928 " \$ 0!~/External *\|/{next};"\
4929 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4930 " {if(hide[section]) next};"\
4931 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4932 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4933 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4934 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4935 " ' prfx
=^
$ac_symprfx"
4937 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4940 # Check to see that the pipe works correctly.
4944 cat > conftest.$ac_ext <<_LT_EOF
4949 void nm_test_func(void);
4950 void nm_test_func(void){}
4954 int main(){nm_test_var='a';nm_test_func();return(0);}
4957 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4958 (eval $ac_compile) 2>&5
4960 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4961 test $ac_status = 0; }; then
4962 # Now try to grab the symbols.
4964 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
4965 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4967 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4968 test $ac_status = 0; } && test -s "$nlist"; then
4969 # Try sorting and uniquifying the output.
4970 if sort "$nlist" | uniq > "$nlist"T; then
4971 mv -f "$nlist"T "$nlist"
4976 # Make sure that we snagged all the symbols we need.
4977 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4978 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4979 cat <<_LT_EOF > conftest.$ac_ext
4985 # Now generate the symbol file.
4986 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4988 cat <<_LT_EOF >> conftest.$ac_ext
4990 /* The mapping between symbol names and symbols. */
4995 lt__PROGRAM__LTX_preloaded_symbols[] =
4997 { "@PROGRAM@
", (void *) 0 },
4999 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5000 cat <<\_LT_EOF >> conftest.$ac_ext
5004 /* This works around a problem in FreeBSD linker */
5005 #ifdef FREEBSD_WORKAROUND
5006 static const void *lt_preloaded_setup() {
5007 return lt__PROGRAM__LTX_preloaded_symbols;
5015 # Now try linking the two files.
5016 mv conftest.$ac_objext conftstm.$ac_objext
5017 lt_save_LIBS="$LIBS"
5018 lt_save_CFLAGS="$CFLAGS"
5019 LIBS="conftstm.
$ac_objext"
5020 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5021 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5022 (eval $ac_link) 2>&5
5024 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5025 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5028 LIBS="$lt_save_LIBS"
5029 CFLAGS="$lt_save_CFLAGS"
5031 echo "cannot
find nm_test_func
in $nlist" >&5
5034 echo "cannot
find nm_test_var
in $nlist" >&5
5037 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5040 echo "$progname: failed program was
:" >&5
5041 cat conftest.$ac_ext >&5
5043 rm -rf conftest* conftst*
5045 # Do not use the global_symbol_pipe unless it works.
5046 if test "$pipe_works" = yes; then
5049 lt_cv_sys_global_symbol_pipe=
5055 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5056 lt_cv_sys_global_symbol_to_cdecl=
5058 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5060 $as_echo "failed
" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5063 $as_echo "ok
" >&6; }
5088 # Check whether --enable-libtool-lock was given.
5089 if test "${enable_libtool_lock+set}" = set; then :
5090 enableval=$enable_libtool_lock;
5093 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5095 # Some flags need to be propagated to the compiler or linker for good
5099 # Find out which ABI we are using.
5100 echo 'int i;' > conftest.$ac_ext
5101 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5102 (eval $ac_compile) 2>&5
5104 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5105 test $ac_status = 0; }; then
5106 case `/usr/bin/file conftest.$ac_objext` in
5118 # Find out which ABI we are using.
5119 echo '#line 5119 "configure
"' > conftest.$ac_ext
5120 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5121 (eval $ac_compile) 2>&5
5123 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5124 test $ac_status = 0; }; then
5125 if test "$lt_cv_prog_gnu_ld" = yes; then
5126 case `/usr/bin/file conftest.$ac_objext` in
5128 LD="${LD-ld} -melf32bsmip"
5131 LD="${LD-ld} -melf32bmipn32"
5134 LD="${LD-ld} -melf64bmip"
5138 case `/usr/bin/file conftest.$ac_objext` in
5154 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5155 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5156 # Find out which ABI we are using.
5157 echo 'int i;' > conftest.$ac_ext
5158 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5159 (eval $ac_compile) 2>&5
5161 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5162 test $ac_status = 0; }; then
5163 case `/usr/bin/file conftest.o` in
5166 x86_64-*kfreebsd*-gnu)
5167 LD="${LD-ld} -m elf_i386_fbsd
"
5170 LD="${LD-ld} -m elf_i386
"
5172 ppc64-*linux*|powerpc64-*linux*)
5173 LD="${LD-ld} -m elf32ppclinux
"
5176 LD="${LD-ld} -m elf_s390
"
5179 LD="${LD-ld} -m elf32_sparc
"
5185 x86_64-*kfreebsd*-gnu)
5186 LD="${LD-ld} -m elf_x86_64_fbsd
"
5189 LD="${LD-ld} -m elf_x86_64
"
5191 ppc*-*linux*|powerpc*-*linux*)
5192 LD="${LD-ld} -m elf64ppc
"
5194 s390*-*linux*|s390*-*tpf*)
5195 LD="${LD-ld} -m elf64_s390
"
5198 LD="${LD-ld} -m elf64_sparc
"
5208 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5209 SAVE_CFLAGS="$CFLAGS"
5210 CFLAGS="$CFLAGS -belf"
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5212 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5213 if ${lt_cv_cc_needs_belf+:} false; then :
5214 $as_echo_n "(cached
) " >&6
5217 ac_cpp='$CPP $CPPFLAGS'
5218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5233 if ac_fn_c_try_link "$LINENO"; then :
5234 lt_cv_cc_needs_belf=yes
5236 lt_cv_cc_needs_belf=no
5238 rm -f core conftest.err conftest.$ac_objext \
5239 conftest$ac_exeext conftest.$ac_ext
5241 ac_cpp='$CPP $CPPFLAGS'
5242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5248 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5249 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5250 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5251 CFLAGS="$SAVE_CFLAGS"
5255 # Find out which ABI we are using.
5256 echo 'int i;' > conftest.$ac_ext
5257 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5258 (eval $ac_compile) 2>&5
5260 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5261 test $ac_status = 0; }; then
5262 case `/usr/bin/file conftest.o` in
5264 case $lt_cv_prog_gnu_ld in
5265 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5267 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5279 need_locks="$enable_libtool_lock"
5283 rhapsody* | darwin*)
5284 if test -n "$ac_tool_prefix"; then
5285 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5286 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5288 $as_echo_n "checking
for $ac_word...
" >&6; }
5289 if ${ac_cv_prog_DSYMUTIL+:} false; then :
5290 $as_echo_n "(cached
) " >&6
5292 if test -n "$DSYMUTIL"; then
5293 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5312 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5313 if test -n "$DSYMUTIL"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5315 $as_echo "$DSYMUTIL" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5318 $as_echo "no
" >&6; }
5323 if test -z "$ac_cv_prog_DSYMUTIL"; then
5324 ac_ct_DSYMUTIL=$DSYMUTIL
5325 # Extract the first word of "dsymutil
", so it can be a program name with args.
5326 set dummy dsymutil; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5328 $as_echo_n "checking
for $ac_word...
" >&6; }
5329 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5330 $as_echo_n "(cached
) " >&6
5332 if test -n "$ac_ct_DSYMUTIL"; then
5333 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5352 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5353 if test -n "$ac_ct_DSYMUTIL"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
5355 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5358 $as_echo "no
" >&6; }
5361 if test "x
$ac_ct_DSYMUTIL" = x; then
5364 case $cross_compiling:$ac_tool_warned in
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5367 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5368 ac_tool_warned=yes ;;
5370 DSYMUTIL=$ac_ct_DSYMUTIL
5373 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5380 $as_echo_n "checking
for $ac_word...
" >&6; }
5381 if ${ac_cv_prog_NMEDIT+:} false; then :
5382 $as_echo_n "(cached
) " >&6
5384 if test -n "$NMEDIT"; then
5385 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5404 NMEDIT=$ac_cv_prog_NMEDIT
5405 if test -n "$NMEDIT"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
5407 $as_echo "$NMEDIT" >&6; }
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5410 $as_echo "no
" >&6; }
5415 if test -z "$ac_cv_prog_NMEDIT"; then
5416 ac_ct_NMEDIT=$NMEDIT
5417 # Extract the first word of "nmedit
", so it can be a program name with args.
5418 set dummy nmedit; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5420 $as_echo_n "checking
for $ac_word...
" >&6; }
5421 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
5422 $as_echo_n "(cached
) " >&6
5424 if test -n "$ac_ct_NMEDIT"; then
5425 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5434 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5444 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5445 if test -n "$ac_ct_NMEDIT"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
5447 $as_echo "$ac_ct_NMEDIT" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5450 $as_echo "no
" >&6; }
5453 if test "x
$ac_ct_NMEDIT" = x; then
5456 case $cross_compiling:$ac_tool_warned in
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5459 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5460 ac_tool_warned=yes ;;
5462 NMEDIT=$ac_ct_NMEDIT
5465 NMEDIT="$ac_cv_prog_NMEDIT"
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5472 $as_echo_n "checking
for $ac_word...
" >&6; }
5473 if ${ac_cv_prog_LIPO+:} false; then :
5474 $as_echo_n "(cached
) " >&6
5476 if test -n "$LIPO"; then
5477 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5486 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5496 LIPO=$ac_cv_prog_LIPO
5497 if test -n "$LIPO"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
5499 $as_echo "$LIPO" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5502 $as_echo "no
" >&6; }
5507 if test -z "$ac_cv_prog_LIPO"; then
5509 # Extract the first word of "lipo
", so it can be a program name with args.
5510 set dummy lipo; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5512 $as_echo_n "checking
for $ac_word...
" >&6; }
5513 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
5514 $as_echo_n "(cached
) " >&6
5516 if test -n "$ac_ct_LIPO"; then
5517 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_ac_ct_LIPO="lipo
"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5536 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5537 if test -n "$ac_ct_LIPO"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
5539 $as_echo "$ac_ct_LIPO" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5542 $as_echo "no
" >&6; }
5545 if test "x
$ac_ct_LIPO" = x; then
5548 case $cross_compiling:$ac_tool_warned in
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5551 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5552 ac_tool_warned=yes ;;
5557 LIPO="$ac_cv_prog_LIPO"
5560 if test -n "$ac_tool_prefix"; then
5561 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5562 set dummy ${ac_tool_prefix}otool; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5564 $as_echo_n "checking
for $ac_word...
" >&6; }
5565 if ${ac_cv_prog_OTOOL+:} false; then :
5566 $as_echo_n "(cached
) " >&6
5568 if test -n "$OTOOL"; then
5569 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5588 OTOOL=$ac_cv_prog_OTOOL
5589 if test -n "$OTOOL"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
5591 $as_echo "$OTOOL" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5594 $as_echo "no
" >&6; }
5599 if test -z "$ac_cv_prog_OTOOL"; then
5601 # Extract the first word of "otool
", so it can be a program name with args.
5602 set dummy otool; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5604 $as_echo_n "checking
for $ac_word...
" >&6; }
5605 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
5606 $as_echo_n "(cached
) " >&6
5608 if test -n "$ac_ct_OTOOL"; then
5609 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_ac_ct_OTOOL="otool
"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5628 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5629 if test -n "$ac_ct_OTOOL"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
5631 $as_echo "$ac_ct_OTOOL" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5634 $as_echo "no
" >&6; }
5637 if test "x
$ac_ct_OTOOL" = x; then
5640 case $cross_compiling:$ac_tool_warned in
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5643 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5644 ac_tool_warned=yes ;;
5649 OTOOL="$ac_cv_prog_OTOOL"
5652 if test -n "$ac_tool_prefix"; then
5653 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5654 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5656 $as_echo_n "checking
for $ac_word...
" >&6; }
5657 if ${ac_cv_prog_OTOOL64+:} false; then :
5658 $as_echo_n "(cached
) " >&6
5660 if test -n "$OTOOL64"; then
5661 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5670 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5680 OTOOL64=$ac_cv_prog_OTOOL64
5681 if test -n "$OTOOL64"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
5683 $as_echo "$OTOOL64" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5686 $as_echo "no
" >&6; }
5691 if test -z "$ac_cv_prog_OTOOL64"; then
5692 ac_ct_OTOOL64=$OTOOL64
5693 # Extract the first word of "otool64
", so it can be a program name with args.
5694 set dummy otool64; ac_word=$2
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5696 $as_echo_n "checking
for $ac_word...
" >&6; }
5697 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
5698 $as_echo_n "(cached
) " >&6
5700 if test -n "$ac_ct_OTOOL64"; then
5701 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir=.
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5710 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5720 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5721 if test -n "$ac_ct_OTOOL64"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
5723 $as_echo "$ac_ct_OTOOL64" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5726 $as_echo "no
" >&6; }
5729 if test "x
$ac_ct_OTOOL64" = x; then
5732 case $cross_compiling:$ac_tool_warned in
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5735 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5736 ac_tool_warned=yes ;;
5738 OTOOL64=$ac_ct_OTOOL64
5741 OTOOL64="$ac_cv_prog_OTOOL64"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
5771 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
5772 if ${lt_cv_apple_cc_single_mod+:} false; then :
5773 $as_echo_n "(cached
) " >&6
5775 lt_cv_apple_cc_single_mod=no
5776 if test -z "${LT_MULTI_MODULE}"; then
5777 # By default we will add the -single_module flag. You can override
5778 # by either setting the environment variable LT_MULTI_MODULE
5779 # non-empty at configure time, or by adding -multi_module to the
5781 rm -rf libconftest.dylib*
5782 echo "int foo
(void
){return 1;}" > conftest.c
5783 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5784 -dynamiclib -Wl,-single_module conftest.c
" >&5
5785 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5786 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5788 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5789 lt_cv_apple_cc_single_mod=yes
5791 cat conftest.err >&5
5793 rm -rf libconftest.dylib*
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
5798 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
5800 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
5801 if ${lt_cv_ld_exported_symbols_list+:} false; then :
5802 $as_echo_n "(cached
) " >&6
5804 lt_cv_ld_exported_symbols_list=no
5805 save_LDFLAGS=$LDFLAGS
5806 echo "_main
" > conftest.sym
5807 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5819 if ac_fn_c_try_link "$LINENO"; then :
5820 lt_cv_ld_exported_symbols_list=yes
5822 lt_cv_ld_exported_symbols_list=no
5824 rm -f core conftest.err conftest.$ac_objext \
5825 conftest$ac_exeext conftest.$ac_ext
5826 LDFLAGS="$save_LDFLAGS"
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
5830 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5832 rhapsody* | darwin1.[012])
5833 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5835 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5836 darwin*) # darwin 5.x on
5837 # if running on 10.5 or later, the deployment target defaults
5838 # to the OS version, if on x86, and 10.4, the deployment
5839 # target defaults to 10.4. Don't you love it?
5840 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5841 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5842 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5844 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5846 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5850 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5851 _lt_dar_single_mod='$single_module'
5853 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5854 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5856 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5858 if test "$DSYMUTIL" != ":"; then
5859 _lt_dsymutil='~$DSYMUTIL $lib || :'
5867 ac_cpp='$CPP $CPPFLAGS'
5868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
5872 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
5873 # On Suns, sometimes $CPP names a directory.
5874 if test -n "$CPP" && test -d "$CPP"; then
5877 if test -z "$CPP"; then
5878 if ${ac_cv_prog_CPP+:} false; then :
5879 $as_echo_n "(cached
) " >&6
5881 # Double quotes because CPP needs to be expanded
5882 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5885 for ac_c_preproc_warn_flag in '' yes
5887 # Use a header file that comes with gcc, so configuring glibc
5888 # with a fresh cross-compiler works.
5889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5890 # <limits.h> exists even on freestanding compilers.
5891 # On the NeXT, cc -E runs the code through the compiler's parser,
5892 # not just through cpp. "Syntax error
" is here to catch this case.
5893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5896 # include <limits.h>
5898 # include <assert.h>
5902 if ac_fn_c_try_cpp "$LINENO"; then :
5905 # Broken: fails on valid input.
5908 rm -f conftest.err conftest.i conftest.$ac_ext
5910 # OK, works on sane cases. Now check whether nonexistent headers
5911 # can be detected and how.
5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 #include <ac_nonexistent.h>
5916 if ac_fn_c_try_cpp "$LINENO"; then :
5917 # Broken: success on invalid input.
5920 # Passes both tests.
5924 rm -f conftest.err conftest.i conftest.$ac_ext
5927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5928 rm -f conftest.i conftest.err conftest.$ac_ext
5929 if $ac_preproc_ok; then :
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
5942 $as_echo "$CPP" >&6; }
5944 for ac_c_preproc_warn_flag in '' yes
5946 # Use a header file that comes with gcc, so configuring glibc
5947 # with a fresh cross-compiler works.
5948 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5949 # <limits.h> exists even on freestanding compilers.
5950 # On the NeXT, cc -E runs the code through the compiler's parser,
5951 # not just through cpp. "Syntax error
" is here to catch this case.
5952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5953 /* end confdefs.h. */
5955 # include <limits.h>
5957 # include <assert.h>
5961 if ac_fn_c_try_cpp "$LINENO"; then :
5964 # Broken: fails on valid input.
5967 rm -f conftest.err conftest.i conftest.$ac_ext
5969 # OK, works on sane cases. Now check whether nonexistent headers
5970 # can be detected and how.
5971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5972 /* end confdefs.h. */
5973 #include <ac_nonexistent.h>
5975 if ac_fn_c_try_cpp "$LINENO"; then :
5976 # Broken: success on invalid input.
5979 # Passes both tests.
5983 rm -f conftest.err conftest.i conftest.$ac_ext
5986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5987 rm -f conftest.i conftest.err conftest.$ac_ext
5988 if $ac_preproc_ok; then :
5991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
5992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5993 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5994 See \`config.log' for more details
" "$LINENO" 5; }
5998 ac_cpp='$CPP $CPPFLAGS'
5999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6005 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6006 if ${ac_cv_header_stdc+:} false; then :
6007 $as_echo_n "(cached
) " >&6
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6024 if ac_fn_c_try_compile "$LINENO"; then :
6025 ac_cv_header_stdc=yes
6027 ac_cv_header_stdc=no
6029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6031 if test $ac_cv_header_stdc = yes; then
6032 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6038 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6039 $EGREP "memchr
" >/dev/null 2>&1; then :
6042 ac_cv_header_stdc=no
6048 if test $ac_cv_header_stdc = yes; then
6049 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6055 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6056 $EGREP "free
" >/dev/null 2>&1; then :
6059 ac_cv_header_stdc=no
6065 if test $ac_cv_header_stdc = yes; then
6066 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6067 if test "$cross_compiling" = yes; then :
6070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6071 /* end confdefs.h. */
6074 #if ((' ' & 0x0FF) == 0x020)
6075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6078 # define ISLOWER(c) \
6079 (('a' <= (c) && (c) <= 'i') \
6080 || ('j' <= (c) && (c) <= 'r') \
6081 || ('s' <= (c) && (c) <= 'z'))
6082 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6090 for (i = 0; i < 256; i++)
6091 if (XOR (islower (i), ISLOWER (i))
6092 || toupper (i) != TOUPPER (i))
6097 if ac_fn_c_try_run "$LINENO"; then :
6100 ac_cv_header_stdc=no
6102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6103 conftest.$ac_objext conftest.beam conftest.$ac_ext
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6109 $as_echo "$ac_cv_header_stdc" >&6; }
6110 if test $ac_cv_header_stdc = yes; then
6112 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6116 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6117 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6118 inttypes.h stdint.h unistd.h
6120 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6123 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6124 cat >>confdefs.h
<<_ACEOF
6125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6133 for ac_header
in dlfcn.h
6135 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6137 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
6138 cat >>confdefs.h
<<_ACEOF
6139 #define HAVE_DLFCN_H 1
6158 # Check whether --enable-shared was given.
6159 if test "${enable_shared+set}" = set; then :
6160 enableval
=$enable_shared; p
=${PACKAGE-default}
6162 yes) enable_shared
=yes ;;
6163 no
) enable_shared
=no
;;
6166 # Look at the argument we got. We use all the common list separators.
6167 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6168 for pkg
in $enableval; do
6170 if test "X$pkg" = "X$p"; then
6189 # Check whether --enable-static was given.
6190 if test "${enable_static+set}" = set; then :
6191 enableval
=$enable_static; p
=${PACKAGE-default}
6193 yes) enable_static
=yes ;;
6194 no
) enable_static
=no
;;
6197 # Look at the argument we got. We use all the common list separators.
6198 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6199 for pkg
in $enableval; do
6201 if test "X$pkg" = "X$p"; then
6221 # Check whether --with-pic was given.
6222 if test "${with_pic+set}" = set; then :
6223 withval
=$with_pic; pic_mode
="$withval"
6229 test -z "$pic_mode" && pic_mode
=default
6237 # Check whether --enable-fast-install was given.
6238 if test "${enable_fast_install+set}" = set; then :
6239 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6241 yes) enable_fast_install
=yes ;;
6242 no
) enable_fast_install
=no
;;
6244 enable_fast_install
=no
6245 # Look at the argument we got. We use all the common list separators.
6246 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6247 for pkg
in $enableval; do
6249 if test "X$pkg" = "X$p"; then
6250 enable_fast_install
=yes
6257 enable_fast_install
=yes
6270 # This can be used to rebuild libtool when needed
6271 LIBTOOL_DEPS
="$ltmain"
6273 # Always use our own libtool.
6274 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6300 test -z "$LN_S" && LN_S
="ln -s"
6315 if test -n "${ZSH_VERSION+set}" ; then
6316 setopt NO_GLOB_SUBST
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6320 $as_echo_n "checking for objdir... " >&6; }
6321 if ${lt_cv_objdir+:} false
; then :
6322 $as_echo_n "(cached) " >&6
6324 rm -f .libs
2>/dev
/null
6325 mkdir .libs
2>/dev
/null
6326 if test -d .libs
; then
6329 # MS-DOS does not allow filenames that begin with a dot.
6332 rmdir .libs
2>/dev
/null
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6335 $as_echo "$lt_cv_objdir" >&6; }
6336 objdir
=$lt_cv_objdir
6342 cat >>confdefs.h
<<_ACEOF
6343 #define LT_OBJDIR "$lt_cv_objdir/"
6364 # AIX sometimes has problems with the GCC collect2 program. For some
6365 # reason, if we set the COLLECT_NAMES environment variable, the problems
6366 # vanish in a puff of smoke.
6367 if test "X${COLLECT_NAMES+set}" != Xset
; then
6369 export COLLECT_NAMES
6374 # Sed substitution that helps us do robust quoting. It backslashifies
6375 # metacharacters that are still active within double-quoted strings.
6376 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6378 # Same as above, but do not quote variable references.
6379 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6381 # Sed substitution to delay expansion of an escaped shell variable in a
6382 # double_quote_subst'ed string.
6383 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6385 # Sed substitution to delay expansion of an escaped single quote.
6386 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6388 # Sed substitution to avoid accidental globbing in evaled expressions
6389 no_glob_subst
='s/\*/\\\*/g'
6393 can_build_shared
=yes
6395 # All known linkers require a `.a' archive for static linking (except MSVC,
6396 # which needs '.lib').
6399 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6402 old_CFLAGS
="$CFLAGS"
6404 # Set sane defaults for various variables
6405 test -z "$CC" && CC
=cc
6406 test -z "$LTCC" && LTCC
=$CC
6407 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6408 test -z "$LD" && LD
=ld
6409 test -z "$ac_objext" && ac_objext
=o
6411 for cc_temp
in $compiler""; do
6413 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6414 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6419 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6422 # Only perform the check for file, if the check method requires it
6423 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6424 case $deplibs_check_method in
6426 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6428 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6429 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6430 $as_echo_n "(cached) " >&6
6434 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6437 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6438 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6439 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6440 for ac_dir
in $ac_dummy; do
6442 test -z "$ac_dir" && ac_dir
=.
6443 if test -f $ac_dir/${ac_tool_prefix}file; then
6444 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6445 if test -n "$file_magic_test_file"; then
6446 case $deplibs_check_method in
6448 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6449 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6450 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6451 $EGREP "$file_magic_regex" > /dev
/null
; then
6456 *** Warning: the command libtool uses to detect shared libraries,
6457 *** $file_magic_cmd, produces output that libtool cannot recognize.
6458 *** The result is that libtool may fail to recognize shared libraries
6459 *** as such. This will affect the creation of libtool libraries that
6460 *** depend on shared libraries, but programs linked with such libtool
6461 *** libraries will work regardless of this problem. Nevertheless, you
6462 *** may want to report the problem to your system manager and/or to
6463 *** bug-libtool@gnu.org
6473 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6478 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6479 if test -n "$MAGIC_CMD"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6481 $as_echo "$MAGIC_CMD" >&6; }
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6491 if test -z "$lt_cv_path_MAGIC_CMD"; then
6492 if test -n "$ac_tool_prefix"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6494 $as_echo_n "checking for file... " >&6; }
6495 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
6496 $as_echo_n "(cached) " >&6
6500 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6503 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6504 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6505 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6506 for ac_dir
in $ac_dummy; do
6508 test -z "$ac_dir" && ac_dir
=.
6509 if test -f $ac_dir/file; then
6510 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6511 if test -n "$file_magic_test_file"; then
6512 case $deplibs_check_method in
6514 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6515 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6516 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6517 $EGREP "$file_magic_regex" > /dev
/null
; then
6522 *** Warning: the command libtool uses to detect shared libraries,
6523 *** $file_magic_cmd, produces output that libtool cannot recognize.
6524 *** The result is that libtool may fail to recognize shared libraries
6525 *** as such. This will affect the creation of libtool libraries that
6526 *** depend on shared libraries, but programs linked with such libtool
6527 *** libraries will work regardless of this problem. Nevertheless, you
6528 *** may want to report the problem to your system manager and/or to
6529 *** bug-libtool@gnu.org
6539 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6544 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6545 if test -n "$MAGIC_CMD"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6547 $as_echo "$MAGIC_CMD" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 $as_echo "no" >&6; }
6563 # Use C for the default configuration in the libtool script
6567 ac_cpp
='$CPP $CPPFLAGS'
6568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6573 # Source file extension for C test sources.
6576 # Object file extension for compiled C test sources.
6580 # Code to be used in simple compile tests
6581 lt_simple_compile_test_code
="int some_variable = 0;"
6583 # Code to be used in simple link tests
6584 lt_simple_link_test_code
='int main(){return(0);}'
6592 # If no C compiler was specified, use CC.
6595 # If no C compiler flags were specified, use CFLAGS.
6596 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6598 # Allow CC to be a program name with arguments.
6601 # Save the default compiler, since it gets overwritten when the other
6602 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6603 compiler_DEFAULT
=$CC
6605 # save warnings/boilerplate of simple test code
6606 ac_outfile
=conftest.
$ac_objext
6607 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6608 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6609 _lt_compiler_boilerplate
=`cat conftest.err`
6612 ac_outfile
=conftest.
$ac_objext
6613 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6614 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6615 _lt_linker_boilerplate
=`cat conftest.err`
6619 if test -n "$compiler"; then
6621 lt_prog_compiler_no_builtin_flag
=
6623 if test "$GCC" = yes; then
6624 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6627 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6628 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
6629 $as_echo_n "(cached) " >&6
6631 lt_cv_prog_compiler_rtti_exceptions
=no
6632 ac_outfile
=conftest.
$ac_objext
6633 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6634 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6635 # Insert the option either (1) after the last *FLAGS variable, or
6636 # (2) before a word containing "conftest.", or (3) at the end.
6637 # Note that $ac_compile itself does not contain backslashes and begins
6638 # with a dollar sign (not a hyphen), so the echo should work correctly.
6639 # The option is referenced via a variable to avoid confusing sed.
6640 lt_compile
=`echo "$ac_compile" | $SED \
6641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6643 -e 's:$: $lt_compiler_flag:'`
6644 (eval echo "\"\$as_me:6644: $lt_compile\"" >&5)
6645 (eval "$lt_compile" 2>conftest.err
)
6647 cat conftest.err
>&5
6648 echo "$as_me:6648: \$? = $ac_status" >&5
6649 if (exit $ac_status) && test -s "$ac_outfile"; then
6650 # The compiler can only warn and ignore the option if not recognized
6651 # So say no if there are warnings other than the usual output.
6652 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6654 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6655 lt_cv_prog_compiler_rtti_exceptions
=yes
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6662 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6664 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6665 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6677 lt_prog_compiler_wl
=
6678 lt_prog_compiler_pic
=
6679 lt_prog_compiler_static
=
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6682 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6684 if test "$GCC" = yes; then
6685 lt_prog_compiler_wl
='-Wl,'
6686 lt_prog_compiler_static
='-static'
6690 # All AIX code is PIC.
6691 if test "$host_cpu" = ia64
; then
6692 # AIX 5 now supports IA64 processor
6693 lt_prog_compiler_static
='-Bstatic'
6700 # see comment about AmigaOS4 .so support
6701 lt_prog_compiler_pic
='-fPIC'
6704 # FIXME: we need at least 68020 code to build shared libraries, but
6705 # adding the `-m68020' flag to GCC prevents building anything better,
6707 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6712 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6713 # PIC is the default for these OSes.
6716 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6717 # This hack is so that the source file can tell whether it is being
6718 # built for inclusion in a dll (and should export symbols for example).
6719 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6720 # (--disable-auto-import) libraries
6721 lt_prog_compiler_pic
='-DDLL_EXPORT'
6724 darwin
* | rhapsody
*)
6725 # PIC is the default on this platform
6726 # Common symbols not allowed in MH_DYLIB files
6727 lt_prog_compiler_pic
='-fno-common'
6731 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6732 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6733 # sets the default TLS model and affects inlining.
6739 lt_prog_compiler_pic
='-fPIC'
6745 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6746 # Instead, we relocate shared libraries at runtime.
6750 # Just because we use GCC doesn't mean we suddenly get shared libraries
6751 # on systems that don't support them.
6752 lt_prog_compiler_can_build_shared
=no
6757 # QNX uses GNU C++, but need to define -shared option too, otherwise
6759 lt_prog_compiler_pic
='-fPIC -shared'
6763 if test -d /usr
/nec
; then
6764 lt_prog_compiler_pic
=-Kconform_pic
6769 lt_prog_compiler_pic
='-fPIC'
6773 # PORTME Check for flag to pass linker flags through the system compiler.
6776 lt_prog_compiler_wl
='-Wl,'
6777 if test "$host_cpu" = ia64
; then
6778 # AIX 5 now supports IA64 processor
6779 lt_prog_compiler_static
='-Bstatic'
6781 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6785 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6786 # This hack is so that the source file can tell whether it is being
6787 # built for inclusion in a dll (and should export symbols for example).
6788 lt_prog_compiler_pic
='-DDLL_EXPORT'
6791 hpux9
* | hpux10
* | hpux11
*)
6792 lt_prog_compiler_wl
='-Wl,'
6793 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6800 lt_prog_compiler_pic
='+Z'
6803 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6804 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6807 irix5
* | irix6
* | nonstopux
*)
6808 lt_prog_compiler_wl
='-Wl,'
6809 # PIC (with -KPIC) is the default.
6810 lt_prog_compiler_static
='-non_shared'
6813 linux
* | k
*bsd
*-gnu)
6814 case $cc_basename in
6815 # old Intel for x86_64 which still supported -KPIC.
6817 lt_prog_compiler_wl
='-Wl,'
6818 lt_prog_compiler_pic
='-KPIC'
6819 lt_prog_compiler_static
='-static'
6821 # icc used to be incompatible with GCC.
6822 # ICC 10 doesn't accept -KPIC any more.
6824 lt_prog_compiler_wl
='-Wl,'
6825 lt_prog_compiler_pic
='-fPIC'
6826 lt_prog_compiler_static
='-static'
6828 # Lahey Fortran 8.1.
6830 lt_prog_compiler_wl
='-Wl,'
6831 lt_prog_compiler_pic
='--shared'
6832 lt_prog_compiler_static
='--static'
6834 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6835 # Portland Group compilers (*not* the Pentium gcc compiler,
6836 # which looks to be a dead project)
6837 lt_prog_compiler_wl
='-Wl,'
6838 lt_prog_compiler_pic
='-fpic'
6839 lt_prog_compiler_static
='-Bstatic'
6842 lt_prog_compiler_wl
='-Wl,'
6843 # All Alpha code is PIC.
6844 lt_prog_compiler_static
='-non_shared'
6847 # IBM XL C 8.0/Fortran 10.1 on PPC
6848 lt_prog_compiler_wl
='-Wl,'
6849 lt_prog_compiler_pic
='-qpic'
6850 lt_prog_compiler_static
='-qstaticlink'
6853 case `$CC -V 2>&1 | sed 5q` in
6856 lt_prog_compiler_pic
='-KPIC'
6857 lt_prog_compiler_static
='-Bstatic'
6858 lt_prog_compiler_wl
='-Wl,'
6861 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6862 lt_prog_compiler_pic
='-KPIC'
6863 lt_prog_compiler_static
='-Bstatic'
6864 lt_prog_compiler_wl
=''
6872 lt_prog_compiler_pic
='-KPIC'
6873 lt_prog_compiler_static
='-Bstatic'
6877 # QNX uses GNU C++, but need to define -shared option too, otherwise
6879 lt_prog_compiler_pic
='-fPIC -shared'
6882 osf3
* | osf4
* | osf5
*)
6883 lt_prog_compiler_wl
='-Wl,'
6884 # All OSF/1 code is PIC.
6885 lt_prog_compiler_static
='-non_shared'
6889 lt_prog_compiler_static
='-non_shared'
6893 lt_prog_compiler_pic
='-KPIC'
6894 lt_prog_compiler_static
='-Bstatic'
6895 case $cc_basename in
6897 lt_prog_compiler_wl
='-Qoption ld ';;
6899 lt_prog_compiler_wl
='-Wl,';;
6904 lt_prog_compiler_wl
='-Qoption ld '
6905 lt_prog_compiler_pic
='-PIC'
6906 lt_prog_compiler_static
='-Bstatic'
6909 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6910 lt_prog_compiler_wl
='-Wl,'
6911 lt_prog_compiler_pic
='-KPIC'
6912 lt_prog_compiler_static
='-Bstatic'
6916 if test -d /usr
/nec
;then
6917 lt_prog_compiler_pic
='-Kconform_pic'
6918 lt_prog_compiler_static
='-Bstatic'
6922 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6923 lt_prog_compiler_wl
='-Wl,'
6924 lt_prog_compiler_pic
='-KPIC'
6925 lt_prog_compiler_static
='-Bstatic'
6929 lt_prog_compiler_wl
='-Wl,'
6930 lt_prog_compiler_can_build_shared
=no
6934 lt_prog_compiler_pic
='-pic'
6935 lt_prog_compiler_static
='-Bstatic'
6939 lt_prog_compiler_can_build_shared
=no
6945 # For platforms which do not support PIC, -DPIC is meaningless:
6947 lt_prog_compiler_pic
=
6950 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6954 $as_echo "$lt_prog_compiler_pic" >&6; }
6962 # Check to make sure the PIC flag actually works.
6964 if test -n "$lt_prog_compiler_pic"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6966 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
6967 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
6968 $as_echo_n "(cached) " >&6
6970 lt_cv_prog_compiler_pic_works
=no
6971 ac_outfile
=conftest.
$ac_objext
6972 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6973 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6974 # Insert the option either (1) after the last *FLAGS variable, or
6975 # (2) before a word containing "conftest.", or (3) at the end.
6976 # Note that $ac_compile itself does not contain backslashes and begins
6977 # with a dollar sign (not a hyphen), so the echo should work correctly.
6978 # The option is referenced via a variable to avoid confusing sed.
6979 lt_compile
=`echo "$ac_compile" | $SED \
6980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6982 -e 's:$: $lt_compiler_flag:'`
6983 (eval echo "\"\$as_me:6983: $lt_compile\"" >&5)
6984 (eval "$lt_compile" 2>conftest.err
)
6986 cat conftest.err
>&5
6987 echo "$as_me:6987: \$? = $ac_status" >&5
6988 if (exit $ac_status) && test -s "$ac_outfile"; then
6989 # The compiler can only warn and ignore the option if not recognized
6990 # So say no if there are warnings other than the usual output.
6991 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6992 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6993 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6994 lt_cv_prog_compiler_pic_works
=yes
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7001 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7003 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7004 case $lt_prog_compiler_pic in
7006 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7009 lt_prog_compiler_pic
=
7010 lt_prog_compiler_can_build_shared
=no
7021 # Check to make sure the static flag actually works.
7023 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7025 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7026 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7027 $as_echo_n "(cached) " >&6
7029 lt_cv_prog_compiler_static_works
=no
7030 save_LDFLAGS
="$LDFLAGS"
7031 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7032 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7033 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7034 # The linker can only warn and ignore the option if not recognized
7035 # So say no if there are warnings
7036 if test -s conftest.err
; then
7037 # Append any errors to the config.log.
7038 cat conftest.err
1>&5
7039 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7040 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7041 if diff conftest.exp conftest.er2
>/dev
/null
; then
7042 lt_cv_prog_compiler_static_works
=yes
7045 lt_cv_prog_compiler_static_works
=yes
7049 LDFLAGS
="$save_LDFLAGS"
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7053 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7055 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7058 lt_prog_compiler_static
=
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7069 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7070 $as_echo_n "(cached) " >&6
7072 lt_cv_prog_compiler_c_o
=no
7073 $RM -r conftest
2>/dev
/null
7077 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7079 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7080 # Insert the option either (1) after the last *FLAGS variable, or
7081 # (2) before a word containing "conftest.", or (3) at the end.
7082 # Note that $ac_compile itself does not contain backslashes and begins
7083 # with a dollar sign (not a hyphen), so the echo should work correctly.
7084 lt_compile
=`echo "$ac_compile" | $SED \
7085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7087 -e 's:$: $lt_compiler_flag:'`
7088 (eval echo "\"\$as_me:7088: $lt_compile\"" >&5)
7089 (eval "$lt_compile" 2>out
/conftest.err
)
7091 cat out
/conftest.err
>&5
7092 echo "$as_me:7092: \$? = $ac_status" >&5
7093 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7095 # The compiler can only warn and ignore the option if not recognized
7096 # So say no if there are warnings
7097 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7098 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7099 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7100 lt_cv_prog_compiler_c_o
=yes
7105 # SGI C++ compiler will create directory out/ii_files/ for
7106 # template instantiation
7107 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7108 $RM out
/* && rmdir out
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7123 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7124 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7125 $as_echo_n "(cached) " >&6
7127 lt_cv_prog_compiler_c_o
=no
7128 $RM -r conftest
2>/dev
/null
7132 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7134 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7135 # Insert the option either (1) after the last *FLAGS variable, or
7136 # (2) before a word containing "conftest.", or (3) at the end.
7137 # Note that $ac_compile itself does not contain backslashes and begins
7138 # with a dollar sign (not a hyphen), so the echo should work correctly.
7139 lt_compile
=`echo "$ac_compile" | $SED \
7140 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7141 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7142 -e 's:$: $lt_compiler_flag:'`
7143 (eval echo "\"\$as_me:7143: $lt_compile\"" >&5)
7144 (eval "$lt_compile" 2>out
/conftest.err
)
7146 cat out
/conftest.err
>&5
7147 echo "$as_me:7147: \$? = $ac_status" >&5
7148 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7150 # The compiler can only warn and ignore the option if not recognized
7151 # So say no if there are warnings
7152 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7153 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7154 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7155 lt_cv_prog_compiler_c_o
=yes
7160 # SGI C++ compiler will create directory out/ii_files/ for
7161 # template instantiation
7162 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7163 $RM out
/* && rmdir out
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7170 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7175 hard_links
="nottested"
7176 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7177 # do not overwrite the value of need_locks provided by the user
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7179 $as_echo_n "checking if we can lock with hard links... " >&6; }
7182 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7184 ln conftest.a conftest.b
2>&5 || hard_links
=no
7185 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7187 $as_echo "$hard_links" >&6; }
7188 if test "$hard_links" = no
; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7190 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7203 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7206 allow_undefined_flag
=
7207 always_export_symbols
=no
7209 archive_expsym_cmds
=
7210 compiler_needs_object
=no
7211 enable_shared_with_static_runtimes
=no
7212 export_dynamic_flag_spec
=
7213 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7214 hardcode_automatic
=no
7216 hardcode_direct_absolute
=no
7217 hardcode_libdir_flag_spec
=
7218 hardcode_libdir_flag_spec_ld
=
7219 hardcode_libdir_separator
=
7221 hardcode_shlibpath_var
=unsupported
7223 link_all_deplibs
=unknown
7226 old_archive_from_new_cmds
=
7227 old_archive_from_expsyms_cmds
=
7228 thread_safe_flag_spec
=
7229 whole_archive_flag_spec
=
7230 # include_expsyms should be a list of space-separated symbols to be *always*
7231 # included in the symbol list
7233 # exclude_expsyms can be an extended regexp of symbols to exclude
7234 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7235 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7236 # as well as any symbol that contains `d'.
7237 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7238 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7239 # platforms (ab)use it in PIC code, but their linkers get confused if
7240 # the symbol is explicitly referenced. Since portable code cannot
7241 # rely on this symbol name, it's probably fine to never include it in
7242 # preloaded symbol tables.
7243 # Exclude shared library initialization/finalization symbols.
7244 extract_expsyms_cmds
=
7247 cygwin
* | mingw
* | pw32
* | cegcc
*)
7248 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7249 # When not using gcc, we currently assume that we are using
7250 # Microsoft Visual C++.
7251 if test "$GCC" != yes; then
7256 # we just hope/assume this is gcc and not c89 (= MSVC++)
7265 if test "$with_gnu_ld" = yes; then
7266 # If archive_cmds runs LD, not CC, wlarc should be empty
7269 # Set some defaults for GNU ld with shared library support. These
7270 # are reset later if shared libraries are not supported. Putting them
7271 # here allows them to be overridden if necessary.
7272 runpath_var
=LD_RUN_PATH
7273 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7274 export_dynamic_flag_spec
='${wl}--export-dynamic'
7275 # ancient GNU ld didn't support --whole-archive et. al.
7276 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7277 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7279 whole_archive_flag_spec
=
7281 supports_anon_versioning
=no
7282 case `$LD -v 2>&1` in
7283 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7284 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7285 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7286 *\
2.11.
*) ;; # other 2.11 versions
7287 *) supports_anon_versioning
=yes ;;
7290 # See if GNU ld supports shared libraries.
7293 # On AIX/PPC, the GNU linker is very broken
7294 if test "$host_cpu" != ia64
; then
7298 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7299 *** to be unable to reliably create shared libraries on AIX.
7300 *** Therefore, libtool is disabling shared libraries support. If you
7301 *** really care for shared libraries, you may want to modify your PATH
7302 *** so that a non-GNU linker is found, and then restart.
7311 # see comment about AmigaOS4 .so support
7312 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7313 archive_expsym_cmds
=''
7316 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)'
7317 hardcode_libdir_flag_spec
='-L$libdir'
7318 hardcode_minus_L
=yes
7324 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7325 allow_undefined_flag
=unsupported
7326 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7327 # support --undefined. This deserves some investigation. FIXME
7328 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7334 cygwin
* | mingw
* | pw32
* | cegcc
*)
7335 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7336 # as there is no search path for DLLs.
7337 hardcode_libdir_flag_spec
='-L$libdir'
7338 allow_undefined_flag
=unsupported
7339 always_export_symbols
=no
7340 enable_shared_with_static_runtimes
=yes
7341 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7343 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7344 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7345 # If the export-symbols file already is a .def file (1st line
7346 # is EXPORTS), use it as is; otherwise, prepend...
7347 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7348 cp $export_symbols $output_objdir/$soname.def;
7350 echo EXPORTS > $output_objdir/$soname.def;
7351 cat $export_symbols >> $output_objdir/$soname.def;
7353 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7361 hardcode_shlibpath_var
=no
7362 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7363 export_dynamic_flag_spec
='${wl}-E'
7364 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7365 # Instead, shared libraries are loaded at an image base (0x10000000 by
7366 # default) and relocated if they conflict, which is a slow very memory
7367 # consuming and fragmenting process. To avoid this, we pick a random,
7368 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7369 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7370 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7371 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'
7374 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7376 if test "$host_os" = linux-dietlibc
; then
7377 case $cc_basename in
7378 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7381 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7382 && test "$tmp_diet" = no
7385 tmp_sharedflag
='-shared'
7386 case $cc_basename,$host_cpu in
7387 pgcc
*) # Portland Group C compiler
7388 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'
7389 tmp_addflag
=' $pic_flag'
7391 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7392 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'
7393 tmp_addflag
=' $pic_flag -Mnomain' ;;
7394 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7395 tmp_addflag
=' -i_dynamic' ;;
7396 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7397 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7398 ifc
* | ifort
*) # Intel Fortran compiler
7399 tmp_addflag
=' -nofor_main' ;;
7400 lf95
*) # Lahey Fortran 8.1
7401 whole_archive_flag_spec
=
7402 tmp_sharedflag
='--shared' ;;
7403 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7404 tmp_sharedflag
='-qmkshrobj'
7407 case `$CC -V 2>&1 | sed 5q` in
7408 *Sun\ C
*) # Sun C 5.9
7409 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'
7410 compiler_needs_object
=yes
7411 tmp_sharedflag
='-G' ;;
7412 *Sun\ F
*) # Sun Fortran 8.3
7413 tmp_sharedflag
='-G' ;;
7415 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7417 if test "x$supports_anon_versioning" = xyes
; then
7418 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7419 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7420 echo "local: *; };" >> $output_objdir/$libname.ver~
7421 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7424 case $cc_basename in
7426 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7427 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7428 hardcode_libdir_flag_spec
=
7429 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7430 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7431 if test "x$supports_anon_versioning" = xyes
; then
7432 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7433 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7434 echo "local: *; };" >> $output_objdir/$libname.ver~
7435 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7445 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7446 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7449 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7450 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7455 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7459 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7460 *** create shared libraries on Solaris systems. Therefore, libtool
7461 *** is disabling shared libraries support. We urge you to upgrade GNU
7462 *** binutils to release 2.9.1 or newer. Another option is to modify
7463 *** your PATH or compiler configuration so that the native linker is
7464 *** used, and then restart.
7467 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7469 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7475 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7476 case `$LD -v 2>&1` in
7477 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7481 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7482 *** reliably create shared libraries on SCO systems. Therefore, libtool
7483 *** is disabling shared libraries support. We urge you to upgrade GNU
7484 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7485 *** your PATH or compiler configuration so that the native linker is
7486 *** used, and then restart.
7491 # For security reasons, it is highly recommended that you always
7492 # use absolute paths for naming shared libraries, and exclude the
7493 # DT_RUNPATH tag from executables and libraries. But doing so
7494 # requires that you compile everything twice, which is a pain.
7495 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7496 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7497 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7498 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7507 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7510 hardcode_shlibpath_var
=no
7514 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7515 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7516 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7523 if test "$ld_shlibs" = no
; then
7525 hardcode_libdir_flag_spec
=
7526 export_dynamic_flag_spec
=
7527 whole_archive_flag_spec
=
7530 # PORTME fill in a description of your system's linker (not GNU ld)
7533 allow_undefined_flag
=unsupported
7534 always_export_symbols
=yes
7535 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'
7536 # Note: this linker hardcodes the directories in LIBPATH if there
7537 # are no directories specified by -L.
7538 hardcode_minus_L
=yes
7539 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7540 # Neither direct hardcoding nor static linking is supported with a
7542 hardcode_direct
=unsupported
7547 if test "$host_cpu" = ia64
; then
7548 # On IA64, the linker does run time linking by default, so we don't
7549 # have to do anything special.
7550 aix_use_runtimelinking
=no
7551 exp_sym_flag
='-Bexport'
7554 # If we're using GNU nm, then we don't want the "-C" option.
7555 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7556 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7557 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'
7559 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'
7561 aix_use_runtimelinking
=no
7563 # Test if we are trying to use run time linking or normal
7564 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7565 # need to do runtime linking.
7566 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7567 for ld_flag
in $LDFLAGS; do
7568 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7569 aix_use_runtimelinking
=yes
7576 exp_sym_flag
='-bexport'
7577 no_entry_flag
='-bnoentry'
7580 # When large executables or shared objects are built, AIX ld can
7581 # have problems creating the table of contents. If linking a library
7582 # or program results in "error TOC overflow" add -mminimal-toc to
7583 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7584 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7588 hardcode_direct_absolute
=yes
7589 hardcode_libdir_separator
=':'
7590 link_all_deplibs
=yes
7591 file_list_spec
='${wl}-f,'
7593 if test "$GCC" = yes; then
7594 case $host_os in aix4.
[012]|aix4.
[012].
*)
7595 # We only want to do this on AIX 4.2 and lower, the check
7596 # below for broken collect2 doesn't work under 4.3+
7597 collect2name
=`${CC} -print-prog-name=collect2`
7598 if test -f "$collect2name" &&
7599 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7601 # We have reworked collect2
7604 # We have old collect2
7605 hardcode_direct
=unsupported
7606 # It fails to find uninstalled libraries when the uninstalled
7607 # path is not listed in the libpath. Setting hardcode_minus_L
7608 # to unsupported forces relinking
7609 hardcode_minus_L
=yes
7610 hardcode_libdir_flag_spec
='-L$libdir'
7611 hardcode_libdir_separator
=
7615 shared_flag
='-shared'
7616 if test "$aix_use_runtimelinking" = yes; then
7617 shared_flag
="$shared_flag "'${wl}-G'
7621 if test "$host_cpu" = ia64
; then
7622 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7623 # chokes on -Wl,-G. The following line is correct:
7626 if test "$aix_use_runtimelinking" = yes; then
7627 shared_flag
='${wl}-G'
7629 shared_flag
='${wl}-bM:SRE'
7634 export_dynamic_flag_spec
='${wl}-bexpall'
7635 # It seems that -bexpall does not export symbols beginning with
7636 # underscore (_), so it is better to generate a list of symbols to export.
7637 always_export_symbols
=yes
7638 if test "$aix_use_runtimelinking" = yes; then
7639 # Warning - without using the other runtime loading flags (-brtl),
7640 # -berok will link without error, but may produce a broken library.
7641 allow_undefined_flag
='-berok'
7642 # Determine the default libpath from the value encoded in an
7644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7645 /* end confdefs.h. */
7655 if ac_fn_c_try_link
"$LINENO"; then :
7657 lt_aix_libpath_sed
='
7658 /Import File Strings/,/^$/ {
7664 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7665 # Check for a 64-bit object if we didn't find anything.
7666 if test -z "$aix_libpath"; then
7667 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7670 rm -f core conftest.err conftest.
$ac_objext \
7671 conftest
$ac_exeext conftest.
$ac_ext
7672 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7674 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7675 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"
7677 if test "$host_cpu" = ia64
; then
7678 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7679 allow_undefined_flag
="-z nodefs"
7680 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"
7682 # Determine the default libpath from the value encoded in an
7684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7685 /* end confdefs.h. */
7695 if ac_fn_c_try_link
"$LINENO"; then :
7697 lt_aix_libpath_sed
='
7698 /Import File Strings/,/^$/ {
7704 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7705 # Check for a 64-bit object if we didn't find anything.
7706 if test -z "$aix_libpath"; then
7707 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7710 rm -f core conftest.err conftest.
$ac_objext \
7711 conftest
$ac_exeext conftest.
$ac_ext
7712 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7714 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7715 # Warning - without using the other run time loading flags,
7716 # -berok will link without error, but may produce a broken library.
7717 no_undefined_flag
=' ${wl}-bernotok'
7718 allow_undefined_flag
=' ${wl}-berok'
7719 # Exported symbols can be pulled into shared objects from archives
7720 whole_archive_flag_spec
='$convenience'
7721 archive_cmds_need_lc
=yes
7722 # This is similar to how AIX traditionally builds its shared libraries.
7723 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'
7731 # see comment about AmigaOS4 .so support
7732 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7733 archive_expsym_cmds
=''
7736 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)'
7737 hardcode_libdir_flag_spec
='-L$libdir'
7738 hardcode_minus_L
=yes
7744 export_dynamic_flag_spec
=-rdynamic
7747 cygwin
* | mingw
* | pw32
* | cegcc
*)
7748 # When not using gcc, we currently assume that we are using
7749 # Microsoft Visual C++.
7750 # hardcode_libdir_flag_spec is actually meaningless, as there is
7751 # no search path for DLLs.
7752 hardcode_libdir_flag_spec
=' '
7753 allow_undefined_flag
=unsupported
7754 # Tell ltmain to make .lib files, not .a files.
7756 # Tell ltmain to make .dll files, not .so files.
7758 # FIXME: Setting linknames here is a bad hack.
7759 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7760 # The linker will automatically build a .lib file if we build a DLL.
7761 old_archive_from_new_cmds
='true'
7762 # FIXME: Should let the user specify the lib program.
7763 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7764 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7765 enable_shared_with_static_runtimes
=yes
7768 darwin
* | rhapsody
*)
7771 archive_cmds_need_lc
=no
7773 hardcode_automatic
=yes
7774 hardcode_shlibpath_var
=unsupported
7775 whole_archive_flag_spec
=''
7776 link_all_deplibs
=yes
7777 allow_undefined_flag
="$_lt_dar_allow_undefined"
7778 case $cc_basename in
7779 ifort
*) _lt_dar_can_shared
=yes ;;
7780 *) _lt_dar_can_shared
=$GCC ;;
7782 if test "$_lt_dar_can_shared" = "yes"; then
7783 output_verbose_link_cmd
=echo
7784 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7785 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7786 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}"
7787 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}"
7796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7797 hardcode_libdir_flag_spec
='-L$libdir'
7798 hardcode_shlibpath_var
=no
7805 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7806 # support. Future versions do this automatically, but an explicit c++rt0.o
7807 # does not break anything, and helps significantly (at the cost of a little
7810 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7811 hardcode_libdir_flag_spec
='-R$libdir'
7813 hardcode_shlibpath_var
=no
7816 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7818 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7820 hardcode_minus_L
=yes
7821 hardcode_shlibpath_var
=no
7824 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7825 freebsd
* | dragonfly
*)
7826 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7827 hardcode_libdir_flag_spec
='-R$libdir'
7829 hardcode_shlibpath_var
=no
7833 if test "$GCC" = yes; then
7834 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'
7836 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'
7838 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7839 hardcode_libdir_separator
=:
7842 # hardcode_minus_L: Not really in the search PATH,
7843 # but as the default location of the library.
7844 hardcode_minus_L
=yes
7845 export_dynamic_flag_spec
='${wl}-E'
7849 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7850 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7852 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7854 if test "$with_gnu_ld" = no
; then
7855 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7856 hardcode_libdir_flag_spec_ld
='+b $libdir'
7857 hardcode_libdir_separator
=:
7859 hardcode_direct_absolute
=yes
7860 export_dynamic_flag_spec
='${wl}-E'
7861 # hardcode_minus_L: Not really in the search PATH,
7862 # but as the default location of the library.
7863 hardcode_minus_L
=yes
7868 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7871 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7874 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7877 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7883 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7886 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7889 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7893 if test "$with_gnu_ld" = no
; then
7894 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7895 hardcode_libdir_separator
=:
7900 hardcode_shlibpath_var
=no
7904 hardcode_direct_absolute
=yes
7905 export_dynamic_flag_spec
='${wl}-E'
7907 # hardcode_minus_L: Not really in the search PATH,
7908 # but as the default location of the library.
7909 hardcode_minus_L
=yes
7915 irix5
* | irix6
* | nonstopux
*)
7916 if test "$GCC" = yes; then
7917 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'
7918 # Try to use the -exported_symbol ld option, if it does not
7919 # work, assume that -exports_file does not work either and
7920 # implicitly export all symbols.
7921 save_LDFLAGS
="$LDFLAGS"
7922 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7924 /* end confdefs.h. */
7927 if ac_fn_c_try_link
"$LINENO"; then :
7928 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'
7931 rm -f core conftest.err conftest.
$ac_objext \
7932 conftest
$ac_exeext conftest.
$ac_ext
7933 LDFLAGS
="$save_LDFLAGS"
7935 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'
7936 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'
7938 archive_cmds_need_lc
='no'
7939 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7940 hardcode_libdir_separator
=:
7942 link_all_deplibs
=yes
7946 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7947 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7949 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7951 hardcode_libdir_flag_spec
='-R$libdir'
7953 hardcode_shlibpath_var
=no
7957 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7959 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7960 hardcode_libdir_separator
=:
7961 hardcode_shlibpath_var
=no
7968 if test -f /usr
/libexec
/ld.so
; then
7970 hardcode_shlibpath_var
=no
7971 hardcode_direct_absolute
=yes
7972 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7973 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7974 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7975 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7976 export_dynamic_flag_spec
='${wl}-E'
7979 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7980 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7981 hardcode_libdir_flag_spec
='-R$libdir'
7984 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7985 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7995 hardcode_libdir_flag_spec
='-L$libdir'
7996 hardcode_minus_L
=yes
7997 allow_undefined_flag
=unsupported
7998 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'
7999 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8003 if test "$GCC" = yes; then
8004 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8005 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'
8007 allow_undefined_flag
=' -expect_unresolved \*'
8008 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'
8010 archive_cmds_need_lc
='no'
8011 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8012 hardcode_libdir_separator
=:
8015 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8016 if test "$GCC" = yes; then
8017 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8018 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'
8019 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8021 allow_undefined_flag
=' -expect_unresolved \*'
8022 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'
8023 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~
8024 $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'
8026 # Both c and cxx compiler support -rpath directly
8027 hardcode_libdir_flag_spec
='-rpath $libdir'
8029 archive_cmds_need_lc
='no'
8030 hardcode_libdir_separator
=:
8034 no_undefined_flag
=' -z defs'
8035 if test "$GCC" = yes; then
8037 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8038 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8039 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8041 case `$CC -V 2>&1` in
8044 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8045 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8046 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8050 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8051 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8052 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8056 hardcode_libdir_flag_spec
='-R$libdir'
8057 hardcode_shlibpath_var
=no
8059 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8061 # The compiler driver will combine and reorder linker options,
8062 # but understands `-z linker_flag'. GCC discards it without `$wl',
8063 # but is careful enough not to reorder.
8064 # Supported since Solaris 2.6 (maybe 2.5.1?)
8065 if test "$GCC" = yes; then
8066 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8068 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8072 link_all_deplibs
=yes
8076 if test "x$host_vendor" = xsequent
; then
8077 # Use $CC to link under sequent, because it throws in some extra .o
8078 # files that make .init and .fini sections work.
8079 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8081 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8083 hardcode_libdir_flag_spec
='-L$libdir'
8085 hardcode_minus_L
=yes
8086 hardcode_shlibpath_var
=no
8090 case $host_vendor in
8092 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8093 hardcode_direct
=yes # is this really true???
8096 ## LD is ld it makes a PLAMLIB
8097 ## CC just makes a GrossModule.
8098 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8099 reload_cmds
='$CC -r -o $output$reload_objs'
8103 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8104 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8107 runpath_var
='LD_RUN_PATH'
8108 hardcode_shlibpath_var
=no
8112 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8113 hardcode_shlibpath_var
=no
8114 export_dynamic_flag_spec
='-Bexport'
8118 if test -d /usr
/nec
; then
8119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8120 hardcode_shlibpath_var
=no
8121 runpath_var
=LD_RUN_PATH
8122 hardcode_runpath_var
=yes
8127 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8128 no_undefined_flag
='${wl}-z,text'
8129 archive_cmds_need_lc
=no
8130 hardcode_shlibpath_var
=no
8131 runpath_var
='LD_RUN_PATH'
8133 if test "$GCC" = yes; then
8134 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8135 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8137 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8138 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8142 sysv5
* | sco3.2v5
* | sco5v6
*)
8143 # Note: We can NOT use -z defs as we might desire, because we do not
8144 # link with -lc, and that would cause any symbols used from libc to
8145 # always be unresolved, which means just about no library would
8146 # ever link correctly. If we're not using GNU ld we use -z text
8147 # though, which does catch some bad symbols but isn't as heavy-handed
8149 no_undefined_flag
='${wl}-z,text'
8150 allow_undefined_flag
='${wl}-z,nodefs'
8151 archive_cmds_need_lc
=no
8152 hardcode_shlibpath_var
=no
8153 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8154 hardcode_libdir_separator
=':'
8155 link_all_deplibs
=yes
8156 export_dynamic_flag_spec
='${wl}-Bexport'
8157 runpath_var
='LD_RUN_PATH'
8159 if test "$GCC" = yes; then
8160 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8161 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8163 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8164 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8169 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8170 hardcode_libdir_flag_spec
='-L$libdir'
8171 hardcode_shlibpath_var
=no
8179 if test x
$host_vendor = xsni
; then
8181 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8182 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8189 $as_echo "$ld_shlibs" >&6; }
8190 test "$ld_shlibs" = no
&& can_build_shared
=no
8192 with_gnu_ld
=$with_gnu_ld
8209 # Do we need to explicitly link libc?
8211 case "x$archive_cmds_need_lc" in
8213 # Assume -lc should be added
8214 archive_cmds_need_lc
=yes
8216 if test "$enable_shared" = yes && test "$GCC" = yes; then
8217 case $archive_cmds in
8219 # FIXME: we may have to deal with multi-command sequences.
8222 # Test whether the compiler implicitly links with -lc since on some
8223 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8224 # to ld, don't add -lc before -lgcc.
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8226 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8228 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8231 (eval $ac_compile) 2>&5
8233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8234 test $ac_status = 0; } 2>conftest.err
; then
8237 libobjs
=conftest.
$ac_objext
8239 wl
=$lt_prog_compiler_wl
8240 pic_flag
=$lt_prog_compiler_pic
8246 lt_save_allow_undefined_flag
=$allow_undefined_flag
8247 allow_undefined_flag
=
8248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8249 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8252 test $ac_status = 0; }
8254 archive_cmds_need_lc
=no
8256 archive_cmds_need_lc
=yes
8258 allow_undefined_flag
=$lt_save_allow_undefined_flag
8260 cat conftest.err
1>&5
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8264 $as_echo "$archive_cmds_need_lc" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8428 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8430 if test "$GCC" = yes; then
8432 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8433 *) lt_awk_arg
="/^libraries:/" ;;
8435 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8436 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8437 # if the path contains ";" then we assume it to be the separator
8438 # otherwise default to the standard path separator (i.e. ":") - it is
8439 # assumed that no part of a normal pathname contains ";" but that should
8440 # okay in the real world where ";" in dirpaths is itself problematic.
8441 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8443 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8445 # Ok, now we have the path, separated by spaces, we can step through it
8446 # and add multilib dir if necessary.
8447 lt_tmp_lt_search_path_spec
=
8448 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8449 for lt_sys_path
in $lt_search_path_spec; do
8450 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8451 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8453 test -d "$lt_sys_path" && \
8454 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8457 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8458 BEGIN {RS=" "; FS="/|\n";} {
8461 for (lt_i = NF; lt_i > 0; lt_i--) {
8462 if ($lt_i != "" && $lt_i != ".") {
8463 if ($lt_i == "..") {
8466 if (lt_count == 0) {
8467 lt_foo="/" $lt_i lt_foo;
8474 if (lt_foo != "") { lt_freq[lt_foo]++; }
8475 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8477 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8479 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8482 libname_spec
='lib$name'
8490 shlibpath_overrides_runpath
=unknown
8492 dynamic_linker
="$host_os ld.so"
8493 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8494 need_lib_prefix
=unknown
8495 hardcode_into_libs
=no
8497 # when you set need_version to no, make sure it does not cause -set_version
8498 # flags to be left without arguments
8499 need_version
=unknown
8504 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8505 shlibpath_var
=LIBPATH
8507 # AIX 3 has no versioning support, so we append a major version to the name.
8508 soname_spec
='${libname}${release}${shared_ext}$major'
8515 hardcode_into_libs
=yes
8516 if test "$host_cpu" = ia64
; then
8517 # AIX 5 supports IA64
8518 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8519 shlibpath_var
=LD_LIBRARY_PATH
8521 # With GCC up to 2.95.x, collect2 would create an import file
8522 # for dependence libraries. The import file would start with
8523 # the line `#! .'. This would cause the generated library to
8524 # depend on `.', always an invalid library. This was fixed in
8525 # development snapshots of GCC prior to 3.0.
8527 aix4 | aix4.
[01] | aix4.
[01].
*)
8528 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8530 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8537 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8538 # soname into executable. Probably we can add versioning support to
8539 # collect2, so additional links can be useful in future.
8540 if test "$aix_use_runtimelinking" = yes; then
8541 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8542 # instead of lib<name>.a to let people know that these are not
8543 # typical AIX shared libraries.
8544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8546 # We preserve .a as extension for shared libraries through AIX4.2
8547 # and later when we are not doing run time linking.
8548 library_names_spec
='${libname}${release}.a $libname.a'
8549 soname_spec
='${libname}${release}${shared_ext}$major'
8551 shlibpath_var
=LIBPATH
8558 # Since July 2007 AmigaOS4 officially supports .so libraries.
8559 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8563 library_names_spec
='$libname.ixlibrary $libname.a'
8564 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8565 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'
8571 library_names_spec
='${libname}${shared_ext}'
8572 dynamic_linker
="$host_os ld.so"
8573 shlibpath_var
=LIBRARY_PATH
8579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8580 soname_spec
='${libname}${release}${shared_ext}$major'
8581 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8582 shlibpath_var
=LD_LIBRARY_PATH
8583 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8584 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8585 # the default ld.so.conf also contains /usr/contrib/lib and
8586 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8587 # libtool to hard-code these into programs
8590 cygwin
* | mingw
* | pw32
* | cegcc
*)
8591 version_type
=windows
8596 case $GCC,$host_os in
8597 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8598 library_names_spec
='$libname.dll.a'
8599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8600 postinstall_cmds
='base_file=`basename \${file}`~
8601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8602 dldir=$destdir/`dirname \$dlpath`~
8603 test -d \$dldir || mkdir -p \$dldir~
8604 $install_prog $dir/$dlname \$dldir/$dlname~
8605 chmod a+x \$dldir/$dlname~
8606 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8607 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8609 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8610 dlpath=$dir/\$dldll~
8612 shlibpath_overrides_runpath
=yes
8616 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8617 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8618 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8621 # MinGW DLLs use traditional 'lib' prefix
8622 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8623 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8624 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8625 # It is most probably a Windows format PATH printed by
8626 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8627 # path with ; separators, and with drive letters. We can handle the
8628 # drive letters (cygwin fileutils understands them), so leave them,
8629 # especially as we might pass files found there to a mingw objdump,
8630 # which wouldn't understand a cygwinified path. Ahh.
8631 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8633 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8637 # pw32 DLLs use 'pw' prefix rather than 'lib'
8638 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8644 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8647 dynamic_linker
='Win32 ld.exe'
8648 # FIXME: first we should search . and the directory the executable is in
8652 darwin
* | rhapsody
*)
8653 dynamic_linker
="$host_os dyld"
8657 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8658 soname_spec
='${libname}${release}${major}$shared_ext'
8659 shlibpath_overrides_runpath
=yes
8660 shlibpath_var
=DYLD_LIBRARY_PATH
8661 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8663 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8664 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8672 soname_spec
='${libname}${release}${shared_ext}$major'
8673 shlibpath_var
=LD_LIBRARY_PATH
8680 freebsd
* | dragonfly
*)
8681 # DragonFly does not have aout. When/if they implement a new
8682 # versioning mechanism, adjust this.
8683 if test -x /usr
/bin
/objformat
; then
8684 objformat
=`/usr/bin/objformat`
8687 freebsd
[123]*) objformat
=aout
;;
8691 # Handle Gentoo/FreeBSD as it was Linux
8692 case $host_vendor in
8694 version_type
=linux
;;
8696 version_type
=freebsd-
$objformat ;;
8699 case $version_type in
8701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8706 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8711 soname_spec
='${libname}${release}${shared_ext}$major'
8716 shlibpath_var
=LD_LIBRARY_PATH
8719 shlibpath_overrides_runpath
=yes
8721 freebsd3.
[01]* | freebsdelf3.
[01]*)
8722 shlibpath_overrides_runpath
=yes
8723 hardcode_into_libs
=yes
8725 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8726 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8727 shlibpath_overrides_runpath
=no
8728 hardcode_into_libs
=yes
8730 *) # from 4.6 on, and DragonFly
8731 shlibpath_overrides_runpath
=yes
8732 hardcode_into_libs
=yes
8741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8742 soname_spec
='${libname}${release}${shared_ext}$major'
8743 shlibpath_var
=LD_LIBRARY_PATH
8744 hardcode_into_libs
=yes
8747 hpux9
* | hpux10
* | hpux11
*)
8748 # Give a soname corresponding to the major version so that dld.sl refuses to
8749 # link against other versions.
8756 hardcode_into_libs
=yes
8757 dynamic_linker
="$host_os dld.so"
8758 shlibpath_var
=LD_LIBRARY_PATH
8759 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8761 soname_spec
='${libname}${release}${shared_ext}$major'
8762 if test "X$HPUX_IA64_MODE" = X32
; then
8763 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8765 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8767 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8771 hardcode_into_libs
=yes
8772 dynamic_linker
="$host_os dld.sl"
8773 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8774 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8776 soname_spec
='${libname}${release}${shared_ext}$major'
8777 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8778 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8782 dynamic_linker
="$host_os dld.sl"
8783 shlibpath_var
=SHLIB_PATH
8784 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8786 soname_spec
='${libname}${release}${shared_ext}$major'
8789 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8790 postinstall_cmds
='chmod 555 $lib'
8797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8798 soname_spec
='${libname}${release}${shared_ext}$major'
8799 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8800 shlibpath_var
=LD_LIBRARY_PATH
8801 shlibpath_overrides_runpath
=no
8802 hardcode_into_libs
=yes
8805 irix5
* | irix6
* | nonstopux
*)
8807 nonstopux
*) version_type
=nonstopux
;;
8809 if test "$lt_cv_prog_gnu_ld" = yes; then
8817 soname_spec
='${libname}${release}${shared_ext}$major'
8818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8820 irix5
* | nonstopux
*)
8824 case $LD in # libtool.m4 will add one of these switches to LD
8825 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8826 libsuff
= shlibsuff
= libmagic
=32-bit;;
8827 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8828 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8829 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8830 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8831 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8835 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8836 shlibpath_overrides_runpath
=no
8837 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8838 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8839 hardcode_into_libs
=yes
8842 # No shared lib support for Linux oldld, aout, or coff.
8843 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8847 # This must be Linux ELF.
8848 linux
* | k
*bsd
*-gnu)
8852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8853 soname_spec
='${libname}${release}${shared_ext}$major'
8854 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8855 shlibpath_var
=LD_LIBRARY_PATH
8856 shlibpath_overrides_runpath
=no
8857 # Some binutils ld are patched to set DT_RUNPATH
8858 save_LDFLAGS
=$LDFLAGS
8860 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8861 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8873 if ac_fn_c_try_link
"$LINENO"; then :
8874 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
8875 shlibpath_overrides_runpath
=yes
8878 rm -f core conftest.err conftest.
$ac_objext \
8879 conftest
$ac_exeext conftest.
$ac_ext
8880 LDFLAGS
=$save_LDFLAGS
8883 # This implies no fast_install, which is unacceptable.
8884 # Some rework will be needed to allow for fast_install
8885 # before this can be enabled.
8886 hardcode_into_libs
=yes
8888 # Append ld.so.conf contents to the search path
8889 if test -f /etc
/ld.so.conf
; then
8890 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' ' '`
8891 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8894 # We used to test for /lib/ld.so.1 and disable shared libraries on
8895 # powerpc, because MkLinux only supported shared libraries with the
8896 # GNU dynamic linker. Since this was broken with cross compilers,
8897 # most powerpc-linux boxes support dynamic linking these days and
8898 # people can always --disable-shared, the test was removed, and we
8899 # assume the GNU/Linux dynamic linker is in use.
8900 dynamic_linker
='GNU/Linux ld.so'
8907 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8910 dynamic_linker
='NetBSD (a.out) ld.so'
8912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8913 soname_spec
='${libname}${release}${shared_ext}$major'
8914 dynamic_linker
='NetBSD ld.elf_so'
8916 shlibpath_var
=LD_LIBRARY_PATH
8917 shlibpath_overrides_runpath
=yes
8918 hardcode_into_libs
=yes
8923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8924 shlibpath_var
=LD_LIBRARY_PATH
8925 shlibpath_overrides_runpath
=yes
8932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8933 soname_spec
='${libname}${release}${shared_ext}$major'
8934 shlibpath_var
=LD_LIBRARY_PATH
8935 shlibpath_overrides_runpath
=no
8936 hardcode_into_libs
=yes
8937 dynamic_linker
='ldqnx.so'
8942 sys_lib_dlsearch_path_spec
="/usr/lib"
8944 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8946 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8947 *) need_version
=no
;;
8949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8950 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8951 shlibpath_var
=LD_LIBRARY_PATH
8952 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8954 openbsd2.
[89] | openbsd2.
[89].
*)
8955 shlibpath_overrides_runpath
=no
8958 shlibpath_overrides_runpath
=yes
8962 shlibpath_overrides_runpath
=yes
8967 libname_spec
='$name'
8970 library_names_spec
='$libname${shared_ext} $libname.a'
8971 dynamic_linker
='OS/2 ld.exe'
8972 shlibpath_var
=LIBPATH
8975 osf3
* | osf4
* | osf5
*)
8979 soname_spec
='${libname}${release}${shared_ext}$major'
8980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8981 shlibpath_var
=LD_LIBRARY_PATH
8982 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8983 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8995 soname_spec
='${libname}${release}${shared_ext}$major'
8996 shlibpath_var
=LD_LIBRARY_PATH
8997 shlibpath_overrides_runpath
=yes
8998 hardcode_into_libs
=yes
8999 # ldd complains unless libraries are executable
9000 postinstall_cmds
='chmod +x $lib'
9005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9006 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9007 shlibpath_var
=LD_LIBRARY_PATH
9008 shlibpath_overrides_runpath
=yes
9009 if test "$with_gnu_ld" = yes; then
9017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9018 soname_spec
='${libname}${release}${shared_ext}$major'
9019 shlibpath_var
=LD_LIBRARY_PATH
9020 case $host_vendor in
9022 shlibpath_overrides_runpath
=no
9024 runpath_var
=LD_RUN_PATH
9032 shlibpath_overrides_runpath
=no
9033 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9039 if test -d /usr
/nec
;then
9041 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9042 soname_spec
='$libname${shared_ext}.$major'
9043 shlibpath_var
=LD_LIBRARY_PATH
9047 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9048 version_type
=freebsd-elf
9051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9052 soname_spec
='${libname}${release}${shared_ext}$major'
9053 shlibpath_var
=LD_LIBRARY_PATH
9054 shlibpath_overrides_runpath
=yes
9055 hardcode_into_libs
=yes
9056 if test "$with_gnu_ld" = yes; then
9057 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9059 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9062 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9066 sys_lib_dlsearch_path_spec
='/usr/lib'
9070 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9075 shlibpath_var
=LD_LIBRARY_PATH
9076 shlibpath_overrides_runpath
=no
9077 hardcode_into_libs
=yes
9082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9083 soname_spec
='${libname}${release}${shared_ext}$major'
9084 shlibpath_var
=LD_LIBRARY_PATH
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9092 $as_echo "$dynamic_linker" >&6; }
9093 test "$dynamic_linker" = no
&& can_build_shared
=no
9095 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9096 if test "$GCC" = yes; then
9097 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9100 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9101 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9103 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9104 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9194 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9196 if test -n "$hardcode_libdir_flag_spec" ||
9197 test -n "$runpath_var" ||
9198 test "X$hardcode_automatic" = "Xyes" ; then
9200 # We can hardcode non-existent directories.
9201 if test "$hardcode_direct" != no
&&
9202 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9203 # have to relink, otherwise we might link with an installed library
9204 # when we should be linking with a yet-to-be-installed one
9205 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9206 test "$hardcode_minus_L" != no
; then
9207 # Linking always hardcodes the temporary library directory.
9208 hardcode_action
=relink
9210 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9211 hardcode_action
=immediate
9214 # We cannot hardcode anything, or else we can only hardcode existing
9216 hardcode_action
=unsupported
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9219 $as_echo "$hardcode_action" >&6; }
9221 if test "$hardcode_action" = relink ||
9222 test "$inherit_rpath" = yes; then
9223 # Fast installation is not supported
9224 enable_fast_install
=no
9225 elif test "$shlibpath_overrides_runpath" = yes ||
9226 test "$enable_shared" = no
; then
9227 # Fast installation is not necessary
9228 enable_fast_install
=needless
9236 if test "x$enable_dlopen" != xyes
; then
9237 enable_dlopen
=unknown
9238 enable_dlopen_self
=unknown
9239 enable_dlopen_self_static
=unknown
9246 lt_cv_dlopen
="load_add_on"
9248 lt_cv_dlopen_self
=yes
9251 mingw
* | pw32
* | cegcc
*)
9252 lt_cv_dlopen
="LoadLibrary"
9257 lt_cv_dlopen
="dlopen"
9262 # if libdl is installed we need to link against it
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9264 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9265 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9266 $as_echo_n "(cached) " >&6
9268 ac_check_lib_save_LIBS
=$LIBS
9270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9288 if ac_fn_c_try_link
"$LINENO"; then :
9289 ac_cv_lib_dl_dlopen
=yes
9291 ac_cv_lib_dl_dlopen
=no
9293 rm -f core conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LIBS
=$ac_check_lib_save_LIBS
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9298 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9299 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9300 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9305 lt_cv_dlopen_self
=yes
9312 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9313 if test "x$ac_cv_func_shl_load" = xyes
; then :
9314 lt_cv_dlopen
="shl_load"
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9317 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9318 if ${ac_cv_lib_dld_shl_load+:} false
; then :
9319 $as_echo_n "(cached) " >&6
9321 ac_check_lib_save_LIBS
=$LIBS
9323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9341 if ac_fn_c_try_link
"$LINENO"; then :
9342 ac_cv_lib_dld_shl_load
=yes
9344 ac_cv_lib_dld_shl_load
=no
9346 rm -f core conftest.err conftest.
$ac_objext \
9347 conftest
$ac_exeext conftest.
$ac_ext
9348 LIBS
=$ac_check_lib_save_LIBS
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9351 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9352 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
9353 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9355 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9356 if test "x$ac_cv_func_dlopen" = xyes
; then :
9357 lt_cv_dlopen
="dlopen"
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9361 if ${ac_cv_lib_dl_dlopen+:} false
; then :
9362 $as_echo_n "(cached) " >&6
9364 ac_check_lib_save_LIBS
=$LIBS
9366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9369 /* Override any GCC internal prototype to avoid an error.
9370 Use char because int might match the return type of a GCC
9371 builtin and then its argument prototype would still apply. */
9384 if ac_fn_c_try_link
"$LINENO"; then :
9385 ac_cv_lib_dl_dlopen
=yes
9387 ac_cv_lib_dl_dlopen
=no
9389 rm -f core conftest.err conftest.
$ac_objext \
9390 conftest
$ac_exeext conftest.
$ac_ext
9391 LIBS
=$ac_check_lib_save_LIBS
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9395 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
9396 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9400 if ${ac_cv_lib_svld_dlopen+:} false
; then :
9401 $as_echo_n "(cached) " >&6
9403 ac_check_lib_save_LIBS
=$LIBS
9405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9408 /* Override any GCC internal prototype to avoid an error.
9409 Use char because int might match the return type of a GCC
9410 builtin and then its argument prototype would still apply. */
9423 if ac_fn_c_try_link
"$LINENO"; then :
9424 ac_cv_lib_svld_dlopen
=yes
9426 ac_cv_lib_svld_dlopen
=no
9428 rm -f core conftest.err conftest.
$ac_objext \
9429 conftest
$ac_exeext conftest.
$ac_ext
9430 LIBS
=$ac_check_lib_save_LIBS
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9433 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9434 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
9435 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9438 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9439 if ${ac_cv_lib_dld_dld_link+:} false
; then :
9440 $as_echo_n "(cached) " >&6
9442 ac_check_lib_save_LIBS
=$LIBS
9444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9447 /* Override any GCC internal prototype to avoid an error.
9448 Use char because int might match the return type of a GCC
9449 builtin and then its argument prototype would still apply. */
9462 if ac_fn_c_try_link
"$LINENO"; then :
9463 ac_cv_lib_dld_dld_link
=yes
9465 ac_cv_lib_dld_dld_link
=no
9467 rm -f core conftest.err conftest.
$ac_objext \
9468 conftest
$ac_exeext conftest.
$ac_ext
9469 LIBS
=$ac_check_lib_save_LIBS
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9472 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9473 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
9474 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9495 if test "x$lt_cv_dlopen" != xno
; then
9501 case $lt_cv_dlopen in
9503 save_CPPFLAGS
="$CPPFLAGS"
9504 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9506 save_LDFLAGS
="$LDFLAGS"
9507 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9510 LIBS
="$lt_cv_dlopen_libs $LIBS"
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9513 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9514 if ${lt_cv_dlopen_self+:} false
; then :
9515 $as_echo_n "(cached) " >&6
9517 if test "$cross_compiling" = yes; then :
9518 lt_cv_dlopen_self
=cross
9520 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9521 lt_status
=$lt_dlunknown
9522 cat > conftest.
$ac_ext <<_LT_EOF
9523 #line 9523 "configure"
9524 #include "confdefs.h"
9533 # define LT_DLGLOBAL RTLD_GLOBAL
9536 # define LT_DLGLOBAL DL_GLOBAL
9538 # define LT_DLGLOBAL 0
9542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9543 find out it does not work in some platform. */
9544 #ifndef LT_DLLAZY_OR_NOW
9546 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9549 # define LT_DLLAZY_OR_NOW DL_LAZY
9552 # define LT_DLLAZY_OR_NOW RTLD_NOW
9555 # define LT_DLLAZY_OR_NOW DL_NOW
9557 # define LT_DLLAZY_OR_NOW 0
9564 void fnord() { int i=42;}
9567 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9568 int status = $lt_dlunknown;
9572 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9573 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9574 /* dlclose (self); */
9582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9583 (eval $ac_link) 2>&5
9585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9586 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9587 (.
/conftest
; exit; ) >&5 2>/dev
/null
9590 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9591 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9592 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9595 # compilation failed
9596 lt_cv_dlopen_self
=no
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9604 $as_echo "$lt_cv_dlopen_self" >&6; }
9606 if test "x$lt_cv_dlopen_self" = xyes
; then
9607 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9609 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9610 if ${lt_cv_dlopen_self_static+:} false
; then :
9611 $as_echo_n "(cached) " >&6
9613 if test "$cross_compiling" = yes; then :
9614 lt_cv_dlopen_self_static
=cross
9616 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9617 lt_status
=$lt_dlunknown
9618 cat > conftest.
$ac_ext <<_LT_EOF
9619 #line 9619 "configure"
9620 #include "confdefs.h"
9629 # define LT_DLGLOBAL RTLD_GLOBAL
9632 # define LT_DLGLOBAL DL_GLOBAL
9634 # define LT_DLGLOBAL 0
9638 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9639 find out it does not work in some platform. */
9640 #ifndef LT_DLLAZY_OR_NOW
9642 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9645 # define LT_DLLAZY_OR_NOW DL_LAZY
9648 # define LT_DLLAZY_OR_NOW RTLD_NOW
9651 # define LT_DLLAZY_OR_NOW DL_NOW
9653 # define LT_DLLAZY_OR_NOW 0
9660 void fnord() { int i=42;}
9663 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9664 int status = $lt_dlunknown;
9668 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9669 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9670 /* dlclose (self); */
9678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9679 (eval $ac_link) 2>&5
9681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9682 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9683 (.
/conftest
; exit; ) >&5 2>/dev
/null
9686 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9687 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9688 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9691 # compilation failed
9692 lt_cv_dlopen_self_static
=no
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9700 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9703 CPPFLAGS
="$save_CPPFLAGS"
9704 LDFLAGS
="$save_LDFLAGS"
9709 case $lt_cv_dlopen_self in
9710 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9711 *) enable_dlopen_self
=unknown
;;
9714 case $lt_cv_dlopen_self_static in
9715 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9716 *) enable_dlopen_self_static
=unknown
;;
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9739 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9740 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9741 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9742 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9744 $as_echo "yes" >&6; }
9746 # FIXME - insert some real tests, host_os isn't really good enough
9749 if test -n "$STRIP" ; then
9750 striplib
="$STRIP -x"
9751 old_striplib
="$STRIP -S"
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9753 $as_echo "yes" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9756 $as_echo "no" >&6; }
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9761 $as_echo "no" >&6; }
9777 # Report which library types will actually be built
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9779 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9781 $as_echo "$can_build_shared" >&6; }
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9784 $as_echo_n "checking whether to build shared libraries... " >&6; }
9785 test "$can_build_shared" = "no" && enable_shared
=no
9787 # On AIX, shared libraries and static libraries use the same namespace, and
9788 # are all built from PIC.
9791 test "$enable_shared" = yes && enable_static
=no
9792 if test -n "$RANLIB"; then
9793 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9794 postinstall_cmds
='$RANLIB $lib'
9799 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9800 test "$enable_shared" = yes && enable_static
=no
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9805 $as_echo "$enable_shared" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9808 $as_echo_n "checking whether to build static libraries... " >&6; }
9809 # Make sure either enable_shared or enable_static is yes.
9810 test "$enable_shared" = yes || enable_static
=yes
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9812 $as_echo "$enable_static" >&6; }
9819 ac_cpp
='$CPP $CPPFLAGS'
9820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9838 ac_config_commands
="$ac_config_commands libtool"
9846 # Find a good install program. We prefer a C program (faster),
9847 # so one script is as good as another. But avoid the broken or
9848 # incompatible versions:
9849 # SysV /etc/install, /usr/sbin/install
9850 # SunOS /usr/etc/install
9851 # IRIX /sbin/install
9853 # AmigaOS /C/install, which installs bootblocks on floppy discs
9854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9857 # OS/2's system install, which has a completely different semantic
9858 # ./install, which can be erroneously created by make from ./install.sh.
9859 # Reject install programs that cannot install multiple files.
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9861 $as_echo_n "checking for a BSD-compatible install... " >&6; }
9862 if test -z "$INSTALL"; then
9863 if ${ac_cv_path_install+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9870 test -z "$as_dir" && as_dir
=.
9871 # Account for people who put trailing slashes in PATH elements.
9872 case $as_dir/ in #((
9873 .
/ | .
// |
/[cC
]/* | \
9874 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
9875 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
9878 # OSF1 and SCO ODT 3.0 have their own names for install.
9879 # Don't use installbsd from OSF since it installs stuff as root
9881 for ac_prog
in ginstall scoinst
install; do
9882 for ac_exec_ext
in '' $ac_executable_extensions; do
9883 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9884 if test $ac_prog = install &&
9885 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9886 # AIX install. It has an incompatible calling convention.
9888 elif test $ac_prog = install &&
9889 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9890 # program-specific install script used by HP pwplus--don't use.
9893 rm -rf conftest.one conftest.two conftest.dir
9894 echo one
> conftest.one
9895 echo two
> conftest.two
9897 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
9898 test -s conftest.one
&& test -s conftest.two
&&
9899 test -s conftest.dir
/conftest.one
&&
9900 test -s conftest.dir
/conftest.two
9902 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
9915 rm -rf conftest.one conftest.two conftest.dir
9918 if test "${ac_cv_path_install+set}" = set; then
9919 INSTALL
=$ac_cv_path_install
9921 # As a last resort, use the slow shell script. Don't cache a
9922 # value for INSTALL within a source directory, because that will
9923 # break other packages using the cache if that directory is
9924 # removed, or if the value is a relative name.
9925 INSTALL
=$ac_install_sh
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9929 $as_echo "$INSTALL" >&6; }
9931 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9932 # It thinks the first close brace ends the variable substitution.
9933 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9935 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
9937 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9939 for ac_prog
in gawk mawk nawk
awk
9941 # Extract the first word of "$ac_prog", so it can be a program name with args.
9942 set dummy
$ac_prog; ac_word
=$2
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9944 $as_echo_n "checking for $ac_word... " >&6; }
9945 if ${ac_cv_prog_AWK+:} false
; then :
9946 $as_echo_n "(cached) " >&6
9948 if test -n "$AWK"; then
9949 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
9951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9955 test -z "$as_dir" && as_dir
=.
9956 for ac_exec_ext
in '' $ac_executable_extensions; do
9957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9958 ac_cv_prog_AWK
="$ac_prog"
9959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9969 if test -n "$AWK"; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9971 $as_echo "$AWK" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9974 $as_echo "no" >&6; }
9978 test -n "$AWK" && break
9983 # Enable large file support (if special flags are necessary)
9985 # Check whether --enable-largefile was given.
9986 if test "${enable_largefile+set}" = set; then :
9987 enableval
=$enable_largefile;
9990 if test "$enable_largefile" != no
; then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
9993 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
9994 if ${ac_cv_sys_largefile_CC+:} false
; then :
9995 $as_echo_n "(cached) " >&6
9997 ac_cv_sys_largefile_CC
=no
9998 if test "$GCC" != yes; then
10001 # IRIX 6.2 and later do not support large files by default,
10002 # so use the C compiler's -n32 option if that helps.
10003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 #include <sys/types.h>
10006 /* Check that off_t can represent 2**63 - 1 correctly.
10007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10008 since some C++ compilers masquerading as C compilers
10009 incorrectly reject 9223372036854775807. */
10010 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10012 && LARGE_OFF_T % 2147483647 == 1)
10022 if ac_fn_c_try_compile
"$LINENO"; then :
10025 rm -f core conftest.err conftest.
$ac_objext
10027 if ac_fn_c_try_compile
"$LINENO"; then :
10028 ac_cv_sys_largefile_CC
=' -n32'; break
10030 rm -f core conftest.err conftest.
$ac_objext
10034 rm -f conftest.
$ac_ext
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
10038 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
10039 if test "$ac_cv_sys_largefile_CC" != no
; then
10040 CC
=$CC$ac_cv_sys_largefile_CC
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10044 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
10045 if ${ac_cv_sys_file_offset_bits+:} false
; then :
10046 $as_echo_n "(cached) " >&6
10049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10051 #include <sys/types.h>
10052 /* Check that off_t can represent 2**63 - 1 correctly.
10053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10054 since some C++ compilers masquerading as C compilers
10055 incorrectly reject 9223372036854775807. */
10056 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10058 && LARGE_OFF_T % 2147483647 == 1)
10068 if ac_fn_c_try_compile
"$LINENO"; then :
10069 ac_cv_sys_file_offset_bits
=no
; break
10071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10074 #define _FILE_OFFSET_BITS 64
10075 #include <sys/types.h>
10076 /* Check that off_t can represent 2**63 - 1 correctly.
10077 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10078 since some C++ compilers masquerading as C compilers
10079 incorrectly reject 9223372036854775807. */
10080 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10081 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10082 && LARGE_OFF_T % 2147483647 == 1)
10092 if ac_fn_c_try_compile
"$LINENO"; then :
10093 ac_cv_sys_file_offset_bits
=64; break
10095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10096 ac_cv_sys_file_offset_bits
=unknown
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
10101 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
10102 case $ac_cv_sys_file_offset_bits in #(
10105 cat >>confdefs.h
<<_ACEOF
10106 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10111 if test $ac_cv_sys_file_offset_bits = unknown
; then
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
10113 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
10114 if ${ac_cv_sys_large_files+:} false
; then :
10115 $as_echo_n "(cached) " >&6
10118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10120 #include <sys/types.h>
10121 /* Check that off_t can represent 2**63 - 1 correctly.
10122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10123 since some C++ compilers masquerading as C compilers
10124 incorrectly reject 9223372036854775807. */
10125 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10127 && LARGE_OFF_T % 2147483647 == 1)
10137 if ac_fn_c_try_compile
"$LINENO"; then :
10138 ac_cv_sys_large_files
=no
; break
10140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 #define _LARGE_FILES 1
10144 #include <sys/types.h>
10145 /* Check that off_t can represent 2**63 - 1 correctly.
10146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
10147 since some C++ compilers masquerading as C compilers
10148 incorrectly reject 9223372036854775807. */
10149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
10150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
10151 && LARGE_OFF_T % 2147483647 == 1)
10161 if ac_fn_c_try_compile
"$LINENO"; then :
10162 ac_cv_sys_large_files
=1; break
10164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10165 ac_cv_sys_large_files
=unknown
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
10170 $as_echo "$ac_cv_sys_large_files" >&6; }
10171 case $ac_cv_sys_large_files in #(
10174 cat >>confdefs.h
<<_ACEOF
10175 #define _LARGE_FILES $ac_cv_sys_large_files
10185 # Check for needed/wanted data types
10186 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
10187 if test "x$ac_cv_type_int8_t" = xyes
; then :
10189 cat >>confdefs.h
<<_ACEOF
10190 #define HAVE_INT8_T 1
10195 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
10196 if test "x$ac_cv_type_int16_t" = xyes
; then :
10198 cat >>confdefs.h
<<_ACEOF
10199 #define HAVE_INT16_T 1
10204 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
10205 if test "x$ac_cv_type_int32_t" = xyes
; then :
10207 cat >>confdefs.h
<<_ACEOF
10208 #define HAVE_INT32_T 1
10213 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
10214 if test "x$ac_cv_type_int64_t" = xyes
; then :
10216 cat >>confdefs.h
<<_ACEOF
10217 #define HAVE_INT64_T 1
10222 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
10223 if test "x$ac_cv_type_intptr_t" = xyes
; then :
10225 cat >>confdefs.h
<<_ACEOF
10226 #define HAVE_INTPTR_T 1
10231 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
10232 if test "x$ac_cv_type_uint8_t" = xyes
; then :
10234 cat >>confdefs.h
<<_ACEOF
10235 #define HAVE_UINT8_T 1
10240 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
10241 if test "x$ac_cv_type_uint16_t" = xyes
; then :
10243 cat >>confdefs.h
<<_ACEOF
10244 #define HAVE_UINT16_T 1
10249 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
10250 if test "x$ac_cv_type_uint32_t" = xyes
; then :
10252 cat >>confdefs.h
<<_ACEOF
10253 #define HAVE_UINT32_T 1
10258 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
10259 if test "x$ac_cv_type_uint64_t" = xyes
; then :
10261 cat >>confdefs.h
<<_ACEOF
10262 #define HAVE_UINT64_T 1
10267 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
10268 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
10270 cat >>confdefs.h
<<_ACEOF
10271 #define HAVE_UINTPTR_T 1
10279 # Check for needed/wanted headers
10280 for ac_header
in sys
/types.h stdlib.h stdint.h inttypes.h malloc.h
10282 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10283 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10284 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10285 cat >>confdefs.h
<<_ACEOF
10286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10295 # Figure out whether or not we have these functions
10297 for ac_func
in usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size
10299 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10300 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10301 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10302 cat >>confdefs.h
<<_ACEOF
10303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10311 # By default, we use the amalgamation (this may be changed below...)
10316 # See whether we can run specific tclsh versions known to work well;
10317 # if not, then we fall back to plain tclsh.
10318 # TODO: try other versions before falling back?
10320 for ac_prog
in tclsh8.5 tclsh
10322 # Extract the first word of "$ac_prog", so it can be a program name with args.
10323 set dummy
$ac_prog; ac_word
=$2
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10325 $as_echo_n "checking for $ac_word... " >&6; }
10326 if ${ac_cv_prog_TCLSH_CMD+:} false
; then :
10327 $as_echo_n "(cached) " >&6
10329 if test -n "$TCLSH_CMD"; then
10330 ac_cv_prog_TCLSH_CMD
="$TCLSH_CMD" # Let the user override the test.
10332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10333 for as_dir
in $PATH
10336 test -z "$as_dir" && as_dir
=.
10337 for ac_exec_ext
in '' $ac_executable_extensions; do
10338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10339 ac_cv_prog_TCLSH_CMD
="$ac_prog"
10340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10349 TCLSH_CMD
=$ac_cv_prog_TCLSH_CMD
10350 if test -n "$TCLSH_CMD"; then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_CMD" >&5
10352 $as_echo "$TCLSH_CMD" >&6; }
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10355 $as_echo "no" >&6; }
10359 test -n "$TCLSH_CMD" && break
10361 test -n "$TCLSH_CMD" || TCLSH_CMD
="none"
10363 if test "$TCLSH_CMD" = "none"; then
10364 # If we can't find a local tclsh, then building the amalgamation will fail.
10365 # We act as though --disable-amalgamation has been used.
10366 echo "Warning: can't find tclsh - defaulting to non-amalgamation build."
10373 if test "x${TCLLIBDIR+set}" != "xset" ; then
10374 TCLLIBDIR
='$(libdir)'
10375 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do
10379 TCLLIBDIR
="${TCLLIBDIR}/sqlite3"
10383 # Set up an appropriate program prefix
10385 if test "$program_prefix" = "NONE"; then
10390 VERSION
=`cat $srcdir/VERSION | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: Version set to $VERSION" >&5
10392 $as_echo "$as_me: Version set to $VERSION" >&6;}
10394 RELEASE
=`cat $srcdir/VERSION`
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: Release set to $RELEASE" >&5
10396 $as_echo "$as_me: Release set to $RELEASE" >&6;}
10398 VERSION_NUMBER
=`cat $srcdir/VERSION \
10399 | sed 's/[^0-9]/ /g' \
10400 | awk '{printf "%d%03d%03d",$1,$2,$3}'`
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: Version number set to $VERSION_NUMBER" >&5
10402 $as_echo "$as_me: Version number set to $VERSION_NUMBER" >&6;}
10406 # Check to see if the --with-hints=FILE option is used. If there is none,
10407 # then check for a files named "$host.hints" and ../$hosts.hints where
10408 # $host is the hostname of the build system. If still no hints are
10409 # found, try looking in $system.hints and ../$system.hints where
10410 # $system is the result of uname -s.
10413 # Check whether --with-hints was given.
10414 if test "${with_hints+set}" = set; then :
10415 withval
=$with_hints; hints
=$withval
10418 if test "$hints" = ""; then
10419 host=`hostname | sed 's/\..*//'`
10420 if test -r $host.hints
; then
10423 if test -r ..
/$host.hints
; then
10424 hints
=..
/$host.hints
10428 if test "$hints" = ""; then
10430 if test -r $sys.hints
; then
10433 if test -r ..
/$sys.hints
; then
10434 hints
=..
/$sys.hints
10438 if test "$hints" != ""; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: reading hints from $hints" >&5
10440 $as_echo "reading hints from $hints" >&6; }
10445 # Locate a compiler for the build machine. This compiler should
10446 # generate command-line programs that run on the build machine.
10448 if test x
"$cross_compiling" = xno
; then
10450 BUILD_CFLAGS
=$CFLAGS
10452 if test "${BUILD_CC+set}" != set; then
10453 for ac_prog
in gcc cc cl
10455 # Extract the first word of "$ac_prog", so it can be a program name with args.
10456 set dummy
$ac_prog; ac_word
=$2
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 $as_echo_n "checking for $ac_word... " >&6; }
10459 if ${ac_cv_prog_BUILD_CC+:} false
; then :
10460 $as_echo_n "(cached) " >&6
10462 if test -n "$BUILD_CC"; then
10463 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
10465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10466 for as_dir
in $PATH
10469 test -z "$as_dir" && as_dir
=.
10470 for ac_exec_ext
in '' $ac_executable_extensions; do
10471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10472 ac_cv_prog_BUILD_CC
="$ac_prog"
10473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10482 BUILD_CC
=$ac_cv_prog_BUILD_CC
10483 if test -n "$BUILD_CC"; then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
10485 $as_echo "$BUILD_CC" >&6; }
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10488 $as_echo "no" >&6; }
10492 test -n "$BUILD_CC" && break
10496 if test "${BUILD_CFLAGS+set}" != set; then
10503 # Do we want to support multithreaded use of sqlite
10505 # Check whether --enable-threadsafe was given.
10506 if test "${enable_threadsafe+set}" = set; then :
10507 enableval
=$enable_threadsafe;
10509 enable_threadsafe
=yes
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support threadsafe operation" >&5
10513 $as_echo_n "checking whether to support threadsafe operation... " >&6; }
10514 if test "$enable_threadsafe" = "no"; then
10515 SQLITE_THREADSAFE
=0
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 $as_echo "no" >&6; }
10519 SQLITE_THREADSAFE
=1
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10521 $as_echo "yes" >&6; }
10525 if test "$SQLITE_THREADSAFE" = "1"; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
10527 $as_echo_n "checking for library containing pthread_create... " >&6; }
10528 if ${ac_cv_search_pthread_create+:} false
; then :
10529 $as_echo_n "(cached) " >&6
10531 ac_func_search_save_LIBS
=$LIBS
10532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10541 char pthread_create ();
10545 return pthread_create ();
10550 for ac_lib
in '' pthread
; do
10551 if test -z "$ac_lib"; then
10552 ac_res
="none required"
10555 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10557 if ac_fn_c_try_link
"$LINENO"; then :
10558 ac_cv_search_pthread_create
=$ac_res
10560 rm -f core conftest.err conftest.
$ac_objext \
10562 if ${ac_cv_search_pthread_create+:} false
; then :
10566 if ${ac_cv_search_pthread_create+:} false
; then :
10569 ac_cv_search_pthread_create
=no
10571 rm conftest.
$ac_ext
10572 LIBS
=$ac_func_search_save_LIBS
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
10575 $as_echo "$ac_cv_search_pthread_create" >&6; }
10576 ac_res
=$ac_cv_search_pthread_create
10577 if test "$ac_res" != no
; then :
10578 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10585 # Which crypto library do we use
10588 # Check whether --with-crypto-lib was given.
10589 if test "${with_crypto_lib+set}" = set; then :
10590 withval
=$with_crypto_lib; crypto_lib
=$withval
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto library to use" >&5
10594 $as_echo_n "checking for crypto library to use... " >&6; }
10595 if test "$crypto_lib" = "none"; then
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
10597 $as_echo "none" >&6; }
10599 if test "$crypto_lib" = "commoncrypto"; then
10600 CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
10601 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_CC"
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: commoncrypto" >&5
10603 $as_echo "commoncrypto" >&6; }
10605 if test "$crypto_lib" = "libtomcrypt"; then
10606 CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
10607 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT"
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtomcrypt" >&5
10609 $as_echo "libtomcrypt" >&6; }
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
10611 $as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
10612 if ${ac_cv_lib_tomcrypt_register_cipher+:} false
; then :
10613 $as_echo_n "(cached) " >&6
10615 ac_check_lib_save_LIBS
=$LIBS
10616 LIBS
="-ltomcrypt $LIBS"
10617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10620 /* Override any GCC internal prototype to avoid an error.
10621 Use char because int might match the return type of a GCC
10622 builtin and then its argument prototype would still apply. */
10626 char register_cipher ();
10630 return register_cipher ();
10635 if ac_fn_c_try_link
"$LINENO"; then :
10636 ac_cv_lib_tomcrypt_register_cipher
=yes
10638 ac_cv_lib_tomcrypt_register_cipher
=no
10640 rm -f core conftest.err conftest.
$ac_objext \
10641 conftest
$ac_exeext conftest.
$ac_ext
10642 LIBS
=$ac_check_lib_save_LIBS
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
10645 $as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
10646 if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes
; then :
10647 cat >>confdefs.h
<<_ACEOF
10648 #define HAVE_LIBTOMCRYPT 1
10651 LIBS
="-ltomcrypt $LIBS"
10654 as_fn_error $?
"Library crypto not found. Install libtomcrypt!\"" "$LINENO" 5
10658 CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
10659 BUILD_CFLAGS
+=" -DSQLCIPHER_CRYPTO_OPENSSL"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: openssl" >&5
10661 $as_echo "openssl" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
10663 $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
10664 if ${ac_cv_lib_crypto_HMAC_Init_ex+:} false
; then :
10665 $as_echo_n "(cached) " >&6
10667 ac_check_lib_save_LIBS
=$LIBS
10668 LIBS
="-lcrypto $LIBS"
10669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10672 /* Override any GCC internal prototype to avoid an error.
10673 Use char because int might match the return type of a GCC
10674 builtin and then its argument prototype would still apply. */
10678 char HMAC_Init_ex ();
10682 return HMAC_Init_ex ();
10687 if ac_fn_c_try_link
"$LINENO"; then :
10688 ac_cv_lib_crypto_HMAC_Init_ex
=yes
10690 ac_cv_lib_crypto_HMAC_Init_ex
=no
10692 rm -f core conftest.err conftest.
$ac_objext \
10693 conftest
$ac_exeext conftest.
$ac_ext
10694 LIBS
=$ac_check_lib_save_LIBS
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
10697 $as_echo "$ac_cv_lib_crypto_HMAC_Init_ex" >&6; }
10698 if test "x$ac_cv_lib_crypto_HMAC_Init_ex" = xyes
; then :
10699 cat >>confdefs.h
<<_ACEOF
10700 #define HAVE_LIBCRYPTO 1
10703 LIBS
="-lcrypto $LIBS"
10706 as_fn_error $?
"Library crypto not found. Install openssl!\"" "$LINENO" 5
10714 # Do we want to allow a connection created in one thread to be used
10715 # in another thread. This does not work on many Linux systems (ex: RedHat 9)
10716 # due to bugs in the threading implementations. This is thus off by default.
10718 # Check whether --enable-cross-thread-connections was given.
10719 if test "${enable_cross_thread_connections+set}" = set; then :
10720 enableval
=$enable_cross_thread_connections;
10722 enable_xthreadconnect
=no
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to allow connections to be shared across threads" >&5
10726 $as_echo_n "checking whether to allow connections to be shared across threads... " >&6; }
10727 if test "$enable_xthreadconnect" = "no"; then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10730 $as_echo "no" >&6; }
10732 XTHREADCONNECT
='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10734 $as_echo "yes" >&6; }
10739 # Do we want to support release
10741 # Check whether --enable-releasemode was given.
10742 if test "${enable_releasemode+set}" = set; then :
10743 enableval
=$enable_releasemode;
10745 enable_releasemode
=no
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support shared library linked as release mode or not" >&5
10749 $as_echo_n "checking whether to support shared library linked as release mode or not... " >&6; }
10750 if test "$enable_releasemode" = "no"; then
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10753 $as_echo "no" >&6; }
10755 ALLOWRELEASE
="-release `cat $srcdir/VERSION`"
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10757 $as_echo "yes" >&6; }
10762 # Do we want temporary databases in memory
10764 # Check whether --enable-tempstore was given.
10765 if test "${enable_tempstore+set}" = set; then :
10766 enableval
=$enable_tempstore;
10768 enable_tempstore
=no
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an in-ram database for temporary tables" >&5
10772 $as_echo_n "checking whether to use an in-ram database for temporary tables... " >&6; }
10773 case "$enable_tempstore" in
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: never" >&5
10777 $as_echo "never" >&6; }
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10782 $as_echo "no" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10787 $as_echo "yes" >&6; }
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always" >&5
10792 $as_echo "always" >&6; }
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10797 $as_echo "no" >&6; }
10804 # Lots of things are different if we are compiling for Windows using
10805 # the CYGWIN environment. So check for that special case and handle
10806 # things accordingly.
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if executables have the .exe suffix" >&5
10809 $as_echo_n "checking if executables have the .exe suffix... " >&6; }
10810 if test "$config_BUILD_EXEEXT" = ".exe"; then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10813 $as_echo "yes" >&6; }
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
10816 $as_echo "unknown" >&6; }
10818 if test "$CYGWIN" != "yes"; then
10821 *cygwin
* ) CYGWIN
=yes;;
10826 if test "$CYGWIN" = "yes"; then
10829 BUILD_EXEEXT
=$EXEEXT
10831 if test x
"$cross_compiling" = xno
; then
10832 TARGET_EXEEXT
=$BUILD_EXEEXT
10834 TARGET_EXEEXT
=$config_TARGET_EXEEXT
10836 if test "$TARGET_EXEEXT" = ".exe"; then
10837 if test $OS2_SHELL ; then
10841 CFLAGS
="$CFLAGS -DSQLITE_OS_OS2=1"
10846 CFLAGS
="$CFLAGS -DSQLITE_OS_WIN=1"
10852 CFLAGS
="$CFLAGS -DSQLITE_OS_UNIX=1"
10862 # Figure out all the parameters needed to compile against Tcl.
10864 # This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG
10865 # macros in the in the tcl.m4 file of the standard TCL distribution.
10866 # Those macros could not be used directly since we have to make some
10867 # minor changes to accomodate systems that do not have TCL installed.
10869 # Check whether --enable-tcl was given.
10870 if test "${enable_tcl+set}" = set; then :
10871 enableval
=$enable_tcl; use_tcl
=$enableval
10876 if test "${use_tcl}" = "yes" ; then
10878 # Check whether --with-tcl was given.
10879 if test "${with_tcl+set}" = set; then :
10880 withval
=$with_tcl; with_tclconfig
=${withval}
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
10884 $as_echo_n "checking for Tcl configuration... " >&6; }
10885 if ${ac_cv_c_tclconfig+:} false
; then :
10886 $as_echo_n "(cached) " >&6
10889 # First check to see if --with-tcl was specified.
10890 if test x
"${with_tclconfig}" != x
; then
10891 if test -f "${with_tclconfig}/tclConfig.sh" ; then
10892 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
10894 as_fn_error $?
"${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
10898 # Start autosearch by asking tclsh
10899 if test x
"${ac_cv_c_tclconfig}" = x
; then
10900 if test x
"$cross_compiling" = xno
; then
10901 for i
in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`
10903 if test -f "$i/tclConfig.sh" ; then
10904 ac_cv_c_tclconfig
="$i"
10911 # then check for a private Tcl installation
10912 if test x
"${ac_cv_c_tclconfig}" = x
; then
10915 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10916 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
10917 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
10919 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10920 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
10921 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
10923 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10924 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
10925 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null`
10927 if test -f "$i/unix/tclConfig.sh" ; then
10928 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10934 # check in a few common install locations
10935 if test x
"${ac_cv_c_tclconfig}" = x
; then
10937 `ls -d ${libdir} 2>/dev/null` \
10938 `ls -d /usr/local/lib 2>/dev/null` \
10939 `ls -d /usr/contrib/lib 2>/dev/null` \
10940 `ls -d /usr/lib 2>/dev/null`
10942 if test -f "$i/tclConfig.sh" ; then
10943 ac_cv_c_tclconfig
=`(cd $i; pwd)`
10949 # check in a few other private locations
10950 if test x
"${ac_cv_c_tclconfig}" = x
; then
10953 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
10954 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
10955 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null`
10957 if test -f "$i/unix/tclConfig.sh" ; then
10958 ac_cv_c_tclconfig
=`(cd $i/unix; pwd)`
10967 if test x
"${ac_cv_c_tclconfig}" = x
; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
10970 $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&5
10972 $as_echo "$as_me: WARNING: *** Without Tcl the regression tests cannot be executed ***" >&2;}
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&5
10974 $as_echo "$as_me: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***" >&2;}
10976 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
10978 $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
10981 $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
10982 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
10984 $as_echo "loading" >&6; }
10985 .
$TCL_BIN_DIR/tclConfig.sh
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
10988 $as_echo "file not found" >&6; }
10992 # If the TCL_BIN_DIR is the build directory (not the install directory),
10993 # then set the common variable name to the value of the build variables.
10994 # For example, the variable TCL_LIB_SPEC will be set to the value
10995 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
10996 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
10997 # installed and uninstalled version of Tcl.
11000 if test -f $TCL_BIN_DIR/Makefile
; then
11001 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
11002 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
11003 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
11007 # eval is required to do the TCL_DBGX substitution
11010 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
11011 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
11012 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
11014 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
11015 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
11016 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
11032 if test "${use_tcl}" = "no" ; then
11040 # Figure out what C libraries are required to compile programs
11041 # that use "readline()" library.
11043 TARGET_READLINE_LIBS
=""
11044 TARGET_READLINE_INC
=""
11045 TARGET_HAVE_READLINE
=0
11046 # Check whether --enable-readline was given.
11047 if test "${enable_readline+set}" = set; then :
11048 enableval
=$enable_readline; with_readline
=$enableval
11054 if test x
"$with_readline" != xno
; then
11058 # Check whether --with-readline-lib was given.
11059 if test "${with_readline_lib+set}" = set; then :
11060 withval
=$with_readline_lib; with_readline_lib
=$withval
11062 with_readline_lib
="auto"
11065 if test "x$with_readline_lib" = xauto
; then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
11069 $as_echo_n "checking for library containing tgetent... " >&6; }
11070 if ${ac_cv_search_tgetent+:} false
; then :
11071 $as_echo_n "(cached) " >&6
11073 ac_func_search_save_LIBS
=$LIBS
11074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11092 for ac_lib
in '' readline ncurses curses termcap
; do
11093 if test -z "$ac_lib"; then
11094 ac_res
="none required"
11097 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11099 if ac_fn_c_try_link
"$LINENO"; then :
11100 ac_cv_search_tgetent
=$ac_res
11102 rm -f core conftest.err conftest.
$ac_objext \
11104 if ${ac_cv_search_tgetent+:} false
; then :
11108 if ${ac_cv_search_tgetent+:} false
; then :
11111 ac_cv_search_tgetent
=no
11113 rm conftest.
$ac_ext
11114 LIBS
=$ac_func_search_save_LIBS
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
11117 $as_echo "$ac_cv_search_tgetent" >&6; }
11118 ac_res
=$ac_cv_search_tgetent
11119 if test "$ac_res" != no
; then :
11120 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
11127 $as_echo_n "checking for readline in -lreadline... " >&6; }
11128 if ${ac_cv_lib_readline_readline+:} false
; then :
11129 $as_echo_n "(cached) " >&6
11131 ac_check_lib_save_LIBS
=$LIBS
11132 LIBS
="-lreadline $LIBS"
11133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11146 return readline ();
11151 if ac_fn_c_try_link
"$LINENO"; then :
11152 ac_cv_lib_readline_readline
=yes
11154 ac_cv_lib_readline_readline
=no
11156 rm -f core conftest.err conftest.
$ac_objext \
11157 conftest
$ac_exeext conftest.
$ac_ext
11158 LIBS
=$ac_check_lib_save_LIBS
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
11161 $as_echo "$ac_cv_lib_readline_readline" >&6; }
11162 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
11163 TARGET_READLINE_LIBS
="-lreadline"
11168 TARGET_READLINE_LIBS
="$TARGET_READLINE_LIBS $term_LIBS"
11171 TARGET_READLINE_LIBS
="$with_readline_lib"
11175 # Check whether --with-readline-inc was given.
11176 if test "${with_readline_inc+set}" = set; then :
11177 withval
=$with_readline_inc; with_readline_inc
=$withval
11179 with_readline_inc
="auto"
11182 if test "x$with_readline_inc" = xauto
; then
11183 ac_fn_c_check_header_mongrel
"$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
11184 if test "x$ac_cv_header_readline_h" = xyes
; then :
11189 if test "$cross_compiling" != yes; then
11190 for dir
in /usr
/usr
/local /usr
/local
/readline
/usr
/contrib
/mingw
; do
11191 for subdir
in include include
/readline
; do
11192 as_ac_File
=`$as_echo "ac_cv_file_$dir/$subdir/readline.h" | $as_tr_sh`
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir/$subdir/readline.h" >&5
11194 $as_echo_n "checking for $dir/$subdir/readline.h... " >&6; }
11195 if eval \
${$as_ac_File+:} false
; then :
11196 $as_echo_n "(cached) " >&6
11198 test "$cross_compiling" = yes &&
11199 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
11200 if test -r "$dir/$subdir/readline.h"; then
11201 eval "$as_ac_File=yes"
11203 eval "$as_ac_File=no"
11206 eval ac_res
=\$
$as_ac_File
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11208 $as_echo "$ac_res" >&6; }
11209 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
11213 if test "$found" = "yes"; then
11214 TARGET_READLINE_INC
="-I$dir/$subdir"
11218 test "$found" = "yes" && break
11226 TARGET_READLINE_INC
="$with_readline_inc"
11229 if test x
"$found" = xno
; then
11230 TARGET_READLINE_LIBS
=""
11231 TARGET_READLINE_INC
=""
11232 TARGET_HAVE_READLINE
=0
11234 TARGET_HAVE_READLINE
=1
11243 # Figure out what C libraries are required to compile programs
11244 # that use "fdatasync()" function.
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
11247 $as_echo_n "checking for library containing fdatasync... " >&6; }
11248 if ${ac_cv_search_fdatasync+:} false
; then :
11249 $as_echo_n "(cached) " >&6
11251 ac_func_search_save_LIBS
=$LIBS
11252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11265 return fdatasync ();
11270 for ac_lib
in '' rt
; do
11271 if test -z "$ac_lib"; then
11272 ac_res
="none required"
11275 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11277 if ac_fn_c_try_link
"$LINENO"; then :
11278 ac_cv_search_fdatasync
=$ac_res
11280 rm -f core conftest.err conftest.
$ac_objext \
11282 if ${ac_cv_search_fdatasync+:} false
; then :
11286 if ${ac_cv_search_fdatasync+:} false
; then :
11289 ac_cv_search_fdatasync
=no
11291 rm conftest.
$ac_ext
11292 LIBS
=$ac_func_search_save_LIBS
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
11295 $as_echo "$ac_cv_search_fdatasync" >&6; }
11296 ac_res
=$ac_cv_search_fdatasync
11297 if test "$ac_res" != no
; then :
11298 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11304 # check for debug enabled
11305 # Check whether --enable-debug was given.
11306 if test "${enable_debug+set}" = set; then :
11307 enableval
=$enable_debug; use_debug
=$enableval
11312 if test "${use_debug}" = "yes" ; then
11313 TARGET_DEBUG
="-DSQLITE_DEBUG=1"
11315 TARGET_DEBUG
="-DNDEBUG"
11320 # See whether we should use the amalgamation to build
11321 # Check whether --enable-amalgamation was given.
11322 if test "${enable_amalgamation+set}" = set; then :
11323 enableval
=$enable_amalgamation; use_amalgamation
=$enableval
11325 use_amalgamation
=yes
11328 if test "${use_amalgamation}" != "yes" ; then
11334 # See whether we should allow loadable extensions
11335 # Check whether --enable-load-extension was given.
11336 if test "${enable_load_extension+set}" = set; then :
11337 enableval
=$enable_load_extension; use_loadextension
=$enableval
11339 use_loadextension
=no
11342 if test "${use_loadextension}" = "yes" ; then
11343 OPT_FEATURE_FLAGS
=""
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11345 $as_echo_n "checking for library containing dlopen... " >&6; }
11346 if ${ac_cv_search_dlopen+:} false
; then :
11347 $as_echo_n "(cached) " >&6
11349 ac_func_search_save_LIBS
=$LIBS
11350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11368 for ac_lib
in '' dl
; do
11369 if test -z "$ac_lib"; then
11370 ac_res
="none required"
11373 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11375 if ac_fn_c_try_link
"$LINENO"; then :
11376 ac_cv_search_dlopen
=$ac_res
11378 rm -f core conftest.err conftest.
$ac_objext \
11380 if ${ac_cv_search_dlopen+:} false
; then :
11384 if ${ac_cv_search_dlopen+:} false
; then :
11387 ac_cv_search_dlopen
=no
11389 rm conftest.
$ac_ext
11390 LIBS
=$ac_func_search_save_LIBS
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11393 $as_echo "$ac_cv_search_dlopen" >&6; }
11394 ac_res
=$ac_cv_search_dlopen
11395 if test "$ac_res" != no
; then :
11396 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11401 OPT_FEATURE_FLAGS
="-DSQLITE_OMIT_LOAD_EXTENSION=1"
11405 # attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter
11406 for option
in $CFLAGS $CPPFLAGS
11409 -DSQLITE_OMIT*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11410 -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS
="$OPT_FEATURE_FLAGS $option";;
11416 # attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter
11418 for option
in $CFLAGS
11422 -DSQLITE_ENABLE*) ;;
11423 *) ac_temp_CFLAGS
="$ac_temp_CFLAGS $option";;
11426 CFLAGS
=$ac_temp_CFLAGS
11429 # attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter
11430 ac_temp_CPPFLAGS
=""
11431 for option
in $CPPFLAGS
11435 -DSQLITE_ENABLE*) ;;
11436 *) ac_temp_CPPFLAGS
="$ac_temp_CPPFLAGS $option";;
11439 CPPFLAGS
=$ac_temp_CPPFLAGS
11442 # attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter
11443 ac_temp_BUILD_CFLAGS
=""
11444 for option
in $BUILD_CFLAGS
11448 -DSQLITE_ENABLE*) ;;
11449 *) ac_temp_BUILD_CFLAGS
="$ac_temp_BUILD_CFLAGS $option";;
11452 BUILD_CFLAGS
=$ac_temp_BUILD_CFLAGS
11456 # See whether we should use GCOV
11457 # Check whether --enable-gcov was given.
11458 if test "${enable_gcov+set}" = set; then :
11459 enableval
=$enable_gcov; use_gcov
=$enableval
11464 if test "${use_gcov}" = "yes" ; then
11473 # Output the config header
11474 ac_config_headers
="$ac_config_headers config.h"
11478 # Generate the output files.
11481 ac_config_files
="$ac_config_files Makefile sqlcipher.pc"
11483 cat >confcache
<<\_ACEOF
11484 # This file is a shell script that caches the results of configure
11485 # tests run on this system so they can be shared between configure
11486 # scripts and configure runs, see configure's option --config-cache.
11487 # It is not useful on other systems. If it contains results you don't
11488 # want to keep, you may remove or edit it.
11490 # config.status only pays attention to the cache file if you give it
11491 # the --recheck option to rerun configure.
11493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11495 # following values.
11499 # The following way of writing the cache mishandles newlines in values,
11500 # but we know of no workaround that is simple, portable, and efficient.
11501 # So, we kill variables containing newlines.
11502 # Ultrix sh set writes to stderr and can't be redirected directly,
11503 # and sets the high bit in the cache file unless we assign to the vars.
11505 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11506 eval ac_val
=\$
$ac_var
11510 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11511 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11514 _ | IFS | as_nl
) ;; #(
11515 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11516 *) { eval $ac_var=; unset $ac_var;} ;;
11522 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11523 *${as_nl}ac_space
=\
*)
11524 # `set' does not quote correctly, so add quotes: double-quote
11525 # substitution turns \\\\ into \\, and sed turns \\ into \.
11528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11531 # `set' quotes correctly as required by POSIX, so do not add quotes.
11532 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11543 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11545 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11546 if test -w "$cache_file"; then
11547 if test "x$cache_file" != "x/dev/null"; then
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11549 $as_echo "$as_me: updating cache $cache_file" >&6;}
11550 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11551 cat confcache
>"$cache_file"
11553 case $cache_file in #(
11555 mv -f confcache
"$cache_file"$$
&&
11556 mv -f "$cache_file"$$
"$cache_file" ;; #(
11558 mv -f confcache
"$cache_file" ;;
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11564 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11569 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11570 # Let make expand exec_prefix.
11571 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11573 DEFS
=-DHAVE_CONFIG_H
11578 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11579 # 1. Remove the extension, and $U if already installed.
11580 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11581 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11582 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11583 # will be set to the directory where LIBOBJS objects are built.
11584 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11585 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11587 LIBOBJS
=$ac_libobjs
11589 LTLIBOBJS
=$ac_ltlibobjs
11593 : "${CONFIG_STATUS=./config.status}"
11595 ac_clean_files_save
=$ac_clean_files
11596 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11598 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11600 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11602 # Generated by $as_me.
11603 # Run this file to recreate the current configuration.
11604 # Compiler output produced by configure, useful for debugging
11605 # configure, is in config.log if it exists.
11608 ac_cs_recheck=false
11611 SHELL=\${CONFIG_SHELL-$SHELL}
11614 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11615 ## -------------------- ##
11616 ## M4sh Initialization. ##
11617 ## -------------------- ##
11619 # Be more Bourne compatible
11620 DUALCASE
=1; export DUALCASE
# for MKS sh
11621 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11624 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11625 # is contrary to our usage. Disable this feature.
11626 alias -g '${1+"$@"}'='"$@"'
11627 setopt NO_GLOB_SUBST
11629 case `(set -o) 2>/dev/null` in #(
11641 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11642 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11643 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11645 # Prefer a ksh shell builtin over an external printf program on Solaris,
11646 # but without wasting forks for bash or zsh.
11647 if test -z "$BASH_VERSION$ZSH_VERSION" \
11648 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11649 as_echo='print
-r --'
11650 as_echo_n='print
-rn --'
11651 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11652 as_echo='printf %s
\n'
11653 as_echo_n='printf %s
'
11655 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11656 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11657 as_echo_n='/usr
/ucb
/echo -n'
11659 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11660 as_echo_n_body='eval
11664 expr "X$arg" : "X\\(.*\\)$as_nl";
11665 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11667 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11669 export as_echo_n_body
11670 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11672 export as_echo_body
11673 as_echo='sh
-c $as_echo_body as_echo
'
11676 # The user is always right.
11677 if test "${PATH_SEPARATOR+set}" != set; then
11679 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11680 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11687 # We need space, tab and new line, in precisely that order. Quoting is
11688 # there to prevent editors from complaining about space-tab.
11689 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11690 # splitting by setting IFS to empty value.)
11693 # Find who we are. Look in the path if we contain no directory separator.
11696 *[\\/]* ) as_myself=$0 ;;
11697 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11698 for as_dir in $PATH
11701 test -z "$as_dir" && as_dir=.
11702 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11708 # We did not find ourselves, most probably we were run as `sh COMMAND'
11709 # in which case we are not to be found in the path.
11710 if test "x$as_myself" = x
; then
11713 if test ! -f "$as_myself"; then
11714 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11718 # Unset variables that we do not need and which cause bugs (e.g. in
11719 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11720 # suppresses any "Segmentation fault" message there. '((' could
11721 # trigger a bug in pdksh 5.2.14.
11722 for as_var
in BASH_ENV ENV MAIL MAILPATH
11723 do eval test x\
${$as_var+set} = xset \
11724 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11737 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11740 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11741 # ----------------------------------------
11742 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11743 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11744 # script with STATUS, using 1 if that was 0.
11747 as_status
=$1; test $as_status -eq 0 && as_status
=1
11749 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11750 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11752 $as_echo "$as_me: error: $2" >&2
11753 as_fn_exit
$as_status
11757 # as_fn_set_status STATUS
11758 # -----------------------
11759 # Set $? to STATUS, without forking.
11760 as_fn_set_status
()
11763 } # as_fn_set_status
11765 # as_fn_exit STATUS
11766 # -----------------
11767 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11771 as_fn_set_status
$1
11777 # Portably unset VAR.
11780 { eval $1=; unset $1;}
11782 as_unset
=as_fn_unset
11783 # as_fn_append VAR VALUE
11784 # ----------------------
11785 # Append the text in VALUE to the end of the definition contained in VAR. Take
11786 # advantage of any shell optimizations that allow amortized linear growth over
11787 # repeated appends, instead of the typical quadratic growth present in naive
11789 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11790 eval 'as_fn_append ()
11801 # as_fn_arith ARG...
11802 # ------------------
11803 # Perform arithmetic evaluation on the ARGs, and store the result in the
11804 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11805 # must be portable across $(()) and expr.
11806 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11807 eval 'as_fn_arith ()
11814 as_val
=`expr "$@" || test $? -eq 1`
11819 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11820 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11826 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11827 as_basename
=basename
11832 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11838 as_me
=`$as_basename -- "$0" ||
11839 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11840 X"$0" : 'X\(//\)$' \| \
11841 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11843 sed '/^.*\/\([^/][^/]*\)\/*$/{
11857 # Avoid depending upon Character Ranges.
11858 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11859 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11860 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11861 as_cr_digits
='0123456789'
11862 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11864 ECHO_C
= ECHO_N
= ECHO_T
=
11865 case `echo -n x` in #(((((
11867 case `echo 'xy\c'` in
11868 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11870 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11877 rm -f conf$$ conf$$.exe conf$$.
file
11878 if test -d conf$$.dir
; then
11879 rm -f conf$$.dir
/conf$$.
file
11882 mkdir conf$$.dir
2>/dev
/null
11884 if (echo >conf$$.
file) 2>/dev
/null
; then
11885 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11887 # ... but there are two gotchas:
11888 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11889 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11890 # In both cases, we have to default to `cp -p'.
11891 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11893 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11901 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11902 rmdir conf$$.dir
2>/dev
/null
11907 # Create "$as_dir" as a directory, including parents if necessary.
11912 -*) as_dir
=.
/$as_dir;;
11914 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11918 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11919 *) as_qdir
=$as_dir;;
11921 as_dirs
="'$as_qdir' $as_dirs"
11922 as_dir
=`$as_dirname -- "$as_dir" ||
11923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11924 X"$as_dir" : 'X\(//\)[^/]' \| \
11925 X"$as_dir" : 'X\(//\)$' \| \
11926 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11927 $as_echo X"$as_dir" |
11928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11932 /^X\(\/\/\)[^/].*/{
11945 test -d "$as_dir" && break
11947 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11948 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
11952 if mkdir
-p .
2>/dev
/null
; then
11953 as_mkdir_p
='mkdir -p "$as_dir"'
11955 test -d .
/-p && rmdir .
/-p
11959 if test -x / >/dev
/null
2>&1; then
11960 as_test_x
='test -x'
11962 if ls -dL / >/dev
/null
2>&1; then
11969 if test -d "$1"; then
11975 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11976 ???[sx]*):;;*)false;;esac;fi
11980 as_executable_p
=$as_test_x
11982 # Sed expression to map a string onto a valid CPP name.
11983 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11985 # Sed expression to map a string onto a valid variable name.
11986 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11990 ## ----------------------------------- ##
11991 ## Main body of $CONFIG_STATUS script. ##
11992 ## ----------------------------------- ##
11994 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11997 # Save the log message, to keep $0 and so on meaningful, and to
11998 # report actual input values of CONFIG_FILES etc. instead of their
11999 # values after options handling.
12001 This file was extended by sqlcipher $as_me 3.7.17, which was
12002 generated by GNU Autoconf 2.68. Invocation command line was
12004 CONFIG_FILES = $CONFIG_FILES
12005 CONFIG_HEADERS = $CONFIG_HEADERS
12006 CONFIG_LINKS = $CONFIG_LINKS
12007 CONFIG_COMMANDS = $CONFIG_COMMANDS
12010 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12015 case $ac_config_files in *"
12016 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12019 case $ac_config_headers in *"
12020 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12025 # Files that config.status was made for.
12026 config_files="$ac_config_files"
12027 config_headers="$ac_config_headers"
12028 config_commands="$ac_config_commands"
12032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12034 \`$as_me' instantiates files and other configuration actions
12035 from templates according to the current configuration. Unless the files
12036 and actions are specified as TAGs, all are instantiated by default.
12038 Usage: $0 [OPTION]... [TAG]...
12040 -h, --help print this help, then exit
12041 -V, --version print version number and configuration settings, then exit
12042 --config print configuration, then exit
12043 -q, --quiet, --silent
12044 do not print progress messages
12045 -d, --debug don't remove temporary files
12046 --recheck update $as_me by reconfiguring in the same conditions
12047 --file=FILE[:TEMPLATE]
12048 instantiate the configuration file FILE
12049 --header=FILE[:TEMPLATE]
12050 instantiate the configuration header FILE
12052 Configuration files:
12055 Configuration headers:
12058 Configuration commands:
12061 Report bugs to the package provider."
12064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12065 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12067 sqlcipher config.status 3.7.17
12068 configured by $0, generated by GNU Autoconf 2.68,
12069 with options \\"\$ac_cs_config\\"
12071 Copyright (C) 2010 Free Software Foundation, Inc.
12072 This config.status script is free software; the Free Software Foundation
12073 gives unlimited permission to copy, distribute and modify it."
12079 test -n "\$AWK" || AWK=awk
12082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12083 # The default lists apply if the user does not specify any file.
12089 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12090 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12094 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12106 # Handling of the options.
12107 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12109 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12110 $as_echo "$ac_cs_version"; exit ;;
12111 --config |
--confi |
--conf |
--con |
--co |
--c )
12112 $as_echo "$ac_cs_config"; exit ;;
12113 --debug |
--debu |
--deb |
--de |
--d |
-d )
12115 --file |
--fil |
--fi |
--f )
12118 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12119 '') as_fn_error $?
"missing file argument" ;;
12121 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12122 ac_need_defaults
=false
;;
12123 --header |
--heade |
--head |
--hea )
12126 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12128 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12129 ac_need_defaults
=false
;;
12131 # Conflict between --help and --header
12132 as_fn_error $?
"ambiguous option: \`$1'
12133 Try \`$0 --help' for more information.";;
12134 --help |
--hel |
-h )
12135 $as_echo "$ac_cs_usage"; exit ;;
12136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12137 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12140 # This is an error.
12141 -*) as_fn_error $?
"unrecognized option: \`$1'
12142 Try \`$0 --help' for more information." ;;
12144 *) as_fn_append ac_config_targets
" $1"
12145 ac_need_defaults
=false
;;
12151 ac_configure_extra_args
=
12153 if $ac_cs_silent; then
12155 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12160 if \$ac_cs_recheck; then
12161 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12163 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12164 CONFIG_SHELL='$SHELL'
12165 export CONFIG_SHELL
12170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12175 ## Running $as_me. ##
12181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12187 # The HP-UX ksh and POSIX shell print the target directory to stdout
12188 # if CDPATH is set.
12189 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12191 sed_quote_subst='$sed_quote_subst'
12192 double_quote_subst='$double_quote_subst'
12193 delay_variable_subst='$delay_variable_subst'
12194 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12195 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12196 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12197 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12198 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12199 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12200 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12201 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12202 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12203 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12204 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12205 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12206 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12207 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12208 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12209 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12210 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12211 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12212 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12213 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12214 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12215 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12216 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12217 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12218 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12219 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12220 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12221 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12222 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12223 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12224 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12225 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12226 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12227 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12228 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12229 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12230 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12231 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12232 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12233 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12234 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12235 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12236 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12237 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12238 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"`'
12239 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"`'
12240 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12241 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12242 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12243 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12244 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12245 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12246 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12247 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12248 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12249 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12250 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12251 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12252 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12253 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12254 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12255 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12256 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12257 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12258 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12259 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12260 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12261 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12262 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12263 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12264 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12265 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12266 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12267 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12268 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12269 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12270 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12271 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12272 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12273 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12274 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12275 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12276 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12277 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12278 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12279 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12280 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12281 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12282 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12283 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12284 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12285 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12286 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12287 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12288 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12289 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12290 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12291 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12292 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12293 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12294 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12295 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12296 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12297 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12298 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12299 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12300 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12301 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12302 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12303 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12304 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12305 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12306 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12307 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12308 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12309 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12310 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12311 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12314 LTCFLAGS='$LTCFLAGS'
12315 compiler='$compiler_DEFAULT'
12317 # Quote evaled strings.
12329 deplibs_check_method \
12338 lt_cv_sys_global_symbol_pipe \
12339 lt_cv_sys_global_symbol_to_cdecl \
12340 lt_cv_sys_global_symbol_to_c_name_address \
12341 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12344 lt_prog_compiler_no_builtin_flag \
12345 lt_prog_compiler_wl \
12346 lt_prog_compiler_pic \
12347 lt_prog_compiler_static \
12348 lt_cv_prog_compiler_c_o \
12356 export_dynamic_flag_spec \
12357 whole_archive_flag_spec \
12358 compiler_needs_object \
12360 allow_undefined_flag \
12361 no_undefined_flag \
12362 hardcode_libdir_flag_spec \
12363 hardcode_libdir_flag_spec_ld \
12364 hardcode_libdir_separator \
12369 variables_saved_for_relink \
12371 library_names_spec \
12376 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12377 *[\\\\\\\`\\"\\\$]*)
12378 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12381 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12386 # Double-quote double-evaled strings.
12387 for var in reload_cmds \
12388 old_postinstall_cmds \
12389 old_postuninstall_cmds \
12391 extract_expsyms_cmds \
12392 old_archive_from_new_cmds \
12393 old_archive_from_expsyms_cmds \
12395 archive_expsym_cmds \
12397 module_expsym_cmds \
12398 export_symbols_cmds \
12401 postuninstall_cmds \
12403 sys_lib_search_path_spec \
12404 sys_lib_dlsearch_path_spec; do
12405 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12406 *[\\\\\\\`\\"\\\$]*)
12407 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12410 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12415 # Fix-up fallback echo if it was mangled by the above quoting rules.
12417 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12421 ac_aux_dir='$ac_aux_dir'
12422 xsi_shell='$xsi_shell'
12423 lt_shell_append='$lt_shell_append'
12425 # See if we are running on zsh, and set the options which allow our
12426 # commands through without removal of \ escapes INIT.
12427 if test -n "\${ZSH_VERSION+set}" ; then
12428 setopt NO_GLOB_SUBST
12434 TIMESTAMP='$TIMESTAMP'
12443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12445 # Handling of arguments.
12446 for ac_config_target
in $ac_config_targets
12448 case $ac_config_target in
12449 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12450 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12451 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12452 "sqlcipher.pc") CONFIG_FILES
="$CONFIG_FILES sqlcipher.pc" ;;
12454 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12459 # If the user did not use the arguments to specify the items to instantiate,
12460 # then the envvar interface is used. Set only those that are not.
12461 # We use the long form for the default assignment because of an extremely
12462 # bizarre bug on SunOS 4.1.3.
12463 if $ac_need_defaults; then
12464 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12465 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12466 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12469 # Have a temporary directory for convenience. Make it in the build tree
12470 # simply because there is no reason against having it here, and in addition,
12471 # creating and moving files from /tmp can sometimes cause problems.
12472 # Hook for its removal unless debugging.
12473 # Note that there is a small window in which the directory will not be cleaned:
12474 # after its creation but before its name has been assigned to `$tmp'.
12478 trap 'exit_status=$?
12479 : "${ac_tmp:=$tmp}"
12480 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12482 trap 'as_fn_exit 1' 1 2 13 15
12484 # Create a (secure) tmp directory for tmp files.
12487 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12491 tmp
=.
/conf$$
-$RANDOM
12492 (umask 077 && mkdir
"$tmp")
12493 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12496 # Set up the scripts for CONFIG_FILES section.
12497 # No need to generate them if there are no CONFIG_FILES.
12498 # This happens for instance with `./config.status config.h'.
12499 if test -n "$CONFIG_FILES"; then
12502 ac_cr
=`echo X | tr X '\015'`
12503 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12504 # But we know of no other shell where ac_cr would be empty at this
12505 # point, so we can use a bashism as a fallback.
12506 if test "x$ac_cr" = x
; then
12507 eval ac_cr
=\$
\'\\r
\'
12509 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12510 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12513 ac_cs_awk_cr
=$ac_cr
12516 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12521 echo "cat >conf$$subs.awk <<_ACEOF" &&
12522 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12524 } >conf$$subs.sh ||
12525 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12526 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12528 for ac_last_try in false false false false false :; do
12529 . ./conf$$subs.sh ||
12530 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12532 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12533 if test $ac_delim_n = $ac_delim_num; then
12535 elif $ac_last_try; then
12536 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12538 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12541 rm -f conf$$subs.sh
12543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12544 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12548 s/^/S["/; s
/!.
*/"]=/
12558 s/\(.\{148\}\)..*/\1/
12560 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12565 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12572 s/\(.\{148\}\)..*/\1/
12574 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12578 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12583 ' <conf$$subs.awk | sed '
12588 ' >>$CONFIG_STATUS || ac_write_fail=1
12589 rm -f conf$$subs.awk
12590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12592 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12593 for (key in S) S_is_set[key] = 1
12599 nfields = split(line, field, "@
")
12601 len = length(field[1])
12602 for (i = 2; i < nfields; i++) {
12604 keylen = length(key)
12605 if (S_is_set[key]) {
12607 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12608 len += length(value) + length(field[++i])
12619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12620 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12621 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12624 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12625 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12628 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12629 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12630 # trailing colons and then remove the whole line if VPATH becomes empty
12631 # (actually we leave an empty line to preserve line numbers).
12632 if test "x
$srcdir" = x.; then
12633 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12652 fi # test -n "$CONFIG_FILES"
12654 # Set up the scripts for CONFIG_HEADERS section.
12655 # No need to generate them if there are no CONFIG_HEADERS.
12656 # This happens for instance with `./config.status Makefile'.
12657 if test -n "$CONFIG_HEADERS"; then
12658 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12662 # Transform confdefs.h into an awk script `defines.awk', embedded as
12663 # here-document in config.status, that substitutes the proper values into
12664 # config.h.in to produce config.h.
12666 # Create a delimiter string that does not exist in confdefs.h, to ease
12667 # handling of long lines.
12669 for ac_last_try in false false :; do
12670 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12671 if test -z "$ac_tt"; then
12673 elif $ac_last_try; then
12674 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12676 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12680 # For the awk script, D is an array of macro values keyed by name,
12681 # likewise P contains macro parameters if any. Preserve backslash
12682 # newline sequences.
12684 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12686 s/.\{148\}/&'"$ac_delim"'/g
12689 s/^[ ]*#[ ]*define[ ][ ]*/ /
12696 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12698 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12702 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12703 D["\
1"]=" \
3\\\\\\n
"\\/p
12705 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12710 s/.\{148\}/&'"$ac_delim"'/g
12715 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12718 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12720 ' <confdefs.h | sed '
12721 s/'"$ac_delim"'/"\\\
12722 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12725 for (key in D) D_is_set[key] = 1
12728 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12730 split(line, arg, " ")
12731 if (arg[1] == "#") {
12735 defundef
= substr
(arg
[1], 2)
12738 split(mac1
, mac2
, "(") #)
12740 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12741 if (D_is_set
[macro
]) {
12742 # Preserve the white space surrounding the "#".
12743 print prefix
"define", macro P
[macro
] D
[macro
]
12746 # Replace #undef with comments. This is necessary, for example,
12747 # in the case of _POSIX_SOURCE, which is predefined and required
12748 # on some systems where configure will not decide to define it.
12749 if (defundef
== "undef") {
12750 print
"/*", prefix defundef
, macro
, "*/"
12758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12759 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12760 fi # test -n "$CONFIG_HEADERS"
12763 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12768 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12770 case $ac_mode$ac_tag in
12772 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12773 :[FH
]-) ac_tag
=-:-;;
12774 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12791 -) ac_f
="$ac_tmp/stdin";;
12792 *) # Look for the file first in the build tree, then in the source tree
12793 # (if the path is not absolute). The absolute path cannot be DOS-style,
12794 # because $ac_f cannot contain `:'.
12798 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12800 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12802 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12803 as_fn_append ac_file_inputs
" '$ac_f'"
12806 # Let's still pretend it is `configure' which instantiates (i.e., don't
12807 # use $as_me), people would be surprised to read:
12808 # /* config.h. Generated by config.status. */
12809 configure_input
='Generated from '`
12810 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12812 if test x
"$ac_file" != x-
; then
12813 configure_input
="$ac_file. $configure_input"
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12815 $as_echo "$as_me: creating $ac_file" >&6;}
12817 # Neutralize special characters interpreted by sed in replacement strings.
12818 case $configure_input in #(
12819 *\
&* |
*\|
* |
*\\* )
12820 ac_sed_conf_input
=`$as_echo "$configure_input" |
12821 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12822 *) ac_sed_conf_input
=$configure_input;;
12826 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12827 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12832 ac_dir
=`$as_dirname -- "$ac_file" ||
12833 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12834 X"$ac_file" : 'X\(//\)[^/]' \| \
12835 X"$ac_file" : 'X\(//\)$' \| \
12836 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12837 $as_echo X"$ac_file" |
12838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12842 /^X\(\/\/\)[^/].*/{
12855 as_dir
="$ac_dir"; as_fn_mkdir_p
12859 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12861 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12862 # A ".." for each directory in $ac_dir_suffix.
12863 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12864 case $ac_top_builddir_sub in
12865 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12866 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12869 ac_abs_top_builddir
=$ac_pwd
12870 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12871 # for backward compatibility:
12872 ac_top_builddir
=$ac_top_build_prefix
12875 .
) # We are building in place.
12877 ac_top_srcdir
=$ac_top_builddir_sub
12878 ac_abs_top_srcdir
=$ac_pwd ;;
12879 [\\/]* | ?
:[\\/]* ) # Absolute name.
12880 ac_srcdir
=$srcdir$ac_dir_suffix;
12881 ac_top_srcdir
=$srcdir
12882 ac_abs_top_srcdir
=$srcdir ;;
12883 *) # Relative name.
12884 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12885 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12886 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12888 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12898 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12899 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12904 # If the template does not know about datarootdir, expand it.
12905 # FIXME: This hack should be removed a few years after 2.60.
12906 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12917 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12918 *datarootdir
*) ac_datarootdir_seen
=yes;;
12919 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12921 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12924 ac_datarootdir_hack='
12925 s&@datadir@&$datadir&g
12926 s&@docdir@&$docdir&g
12927 s&@infodir@&$infodir&g
12928 s&@localedir@&$localedir&g
12929 s&@mandir@&$mandir&g
12930 s&\\\${datarootdir}&$datarootdir&g' ;;
12934 # Neutralize VPATH when `$srcdir' = `.'.
12935 # Shell code in configure.ac might set extrasub.
12936 # FIXME: do we really want to maintain this feature?
12937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12938 ac_sed_extra="$ac_vpsub
12941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12943 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12944 s|@configure_input@|
$ac_sed_conf_input|
;t t
12945 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12946 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12947 s
&@srcdir@
&$ac_srcdir&;t t
12948 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12949 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12950 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12951 s
&@builddir@
&$ac_builddir&;t t
12952 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12953 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12954 s
&@INSTALL@
&$ac_INSTALL&;t t
12955 $ac_datarootdir_hack
12957 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
12958 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
12962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12963 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12965 which seems to be undefined. Please make sure it is defined" >&5
12966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12967 which seems to be undefined. Please make sure it is defined" >&2;}
12969 rm -f "$ac_tmp/stdin"
12971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12980 if test x"$ac_file" != x-; then
12982 $as_echo "/* $configure_input */" \
12983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12984 } >"$ac_tmp/config.h" \
12985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12986 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12988 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12991 mv "$ac_tmp/config.h" "$ac_file" \
12992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12995 $as_echo "/* $configure_input */" \
12996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12997 || as_fn_error $? "could not create -" "$LINENO" 5
13001 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13002 $as_echo "$as_me: executing $ac_file commands" >&6;}
13007 case $ac_file$ac_mode in
13010 # See if we are running on zsh, and set the options which allow our
13011 # commands through without removal of \ escapes.
13012 if test -n "${ZSH_VERSION+set}" ; then
13013 setopt NO_GLOB_SUBST
13016 cfgfile="${ofile}T"
13017 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13020 cat <<_LT_EOF >> "$cfgfile"
13023 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
13024 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13025 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13026 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13028 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13029 # 2006, 2007, 2008 Free Software Foundation, Inc.
13030 # Written by Gordon Matzigkeit, 1996
13032 # This file is part of GNU Libtool.
13034 # GNU Libtool is free software; you can redistribute it and/or
13035 # modify it under the terms of the GNU General Public License as
13036 # published by the Free Software Foundation; either version 2 of
13037 # the License, or (at your option) any later version.
13039 # As a special exception to the GNU General Public License,
13040 # if you distribute this file as part of a program or library that
13041 # is built using GNU Libtool, you may include this file under the
13042 # same distribution terms that you use for the rest of that program.
13044 # GNU Libtool is distributed in the hope that it will be useful,
13045 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13046 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13047 # GNU General Public License for more details.
13049 # You should have received a copy of the GNU General Public License
13050 # along with GNU Libtool; see the file COPYING. If not, a copy
13051 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13052 # obtained by writing to the Free Software Foundation, Inc.,
13053 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13056 # The names of the tagged configurations supported by this script.
13059 # ### BEGIN LIBTOOL CONFIG
13061 # Which release of libtool.m4 was used?
13062 macro_version=$macro_version
13063 macro_revision=$macro_revision
13065 # Whether or not to build shared libraries.
13066 build_libtool_libs=$enable_shared
13068 # Whether or not to build static libraries.
13069 build_old_libs=$enable_static
13071 # What type of objects to build.
13074 # Whether or not to optimize for fast installation.
13075 fast_install=$enable_fast_install
13078 host_alias=$host_alias
13082 # The build system.
13083 build_alias=$build_alias
13087 # A sed program that does not truncate output.
13090 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13091 Xsed="\$SED -e 1s/^X//"
13093 # A grep program that handles long lines.
13099 # A literal string matcher.
13102 # A BSD- or MS-compatible name lister.
13105 # Whether we need soft or hard links.
13108 # What is the maximum length of a command?
13109 max_cmd_len=$max_cmd_len
13111 # Object file suffix (normally "o").
13114 # Executable file suffix (normally "").
13117 # whether the shell understands "unset".
13120 # turn spaces into newlines.
13123 # turn newlines into spaces.
13126 # How to create reloadable object files.
13127 reload_flag=$lt_reload_flag
13128 reload_cmds=$lt_reload_cmds
13130 # An object symbol dumper.
13131 OBJDUMP=$lt_OBJDUMP
13133 # Method to check whether dependent libraries are shared objects.
13134 deplibs_check_method=$lt_deplibs_check_method
13136 # Command to use when deplibs_check_method == "file_magic".
13137 file_magic_cmd=$lt_file_magic_cmd
13141 AR_FLAGS=$lt_AR_FLAGS
13143 # A symbol stripping program.
13146 # Commands used to install an old-style archive.
13148 old_postinstall_cmds=$lt_old_postinstall_cmds
13149 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13154 # LTCC compiler flags.
13155 LTCFLAGS=$lt_CFLAGS
13157 # Take the output of nm and produce a listing of raw symbols and C names.
13158 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13160 # Transform the output of nm in a proper C declaration.
13161 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13163 # Transform the output of nm in a C name address pair.
13164 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13166 # Transform the output of nm in a C name address pair when lib prefix is needed.
13167 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13169 # The name of the directory that contains temporary libtool files.
13172 # Shell to use when invoking shell scripts.
13175 # An echo program that does not interpret backslashes.
13178 # Used to examine libraries when file_magic_cmd begins with "file".
13179 MAGIC_CMD=$MAGIC_CMD
13181 # Must we lock files when doing compilation?
13182 need_locks=$lt_need_locks
13184 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13185 DSYMUTIL=$lt_DSYMUTIL
13187 # Tool to change global to local symbols on Mac OS X.
13190 # Tool to manipulate fat objects and archives on Mac OS X.
13193 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13196 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13197 OTOOL64=$lt_OTOOL64
13199 # Old archive suffix (normally "a").
13202 # Shared library suffix (normally ".so").
13203 shrext_cmds=$lt_shrext_cmds
13205 # The commands to extract the exported symbol list from a shared archive.
13206 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13208 # Variables whose values should be saved in libtool wrapper scripts and
13209 # restored at link time.
13210 variables_saved_for_relink=$lt_variables_saved_for_relink
13212 # Do we need the "lib" prefix for modules?
13213 need_lib_prefix=$need_lib_prefix
13215 # Do we need a version for libraries?
13216 need_version=$need_version
13218 # Library versioning type.
13219 version_type=$version_type
13221 # Shared library runtime path variable.
13222 runpath_var=$runpath_var
13224 # Shared library path variable.
13225 shlibpath_var=$shlibpath_var
13227 # Is shlibpath searched before the hard-coded library search path?
13228 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13230 # Format of library name prefix.
13231 libname_spec=$lt_libname_spec
13233 # List of archive names. First name is the real one, the rest are links.
13234 # The last name is the one that the linker finds with -lNAME
13235 library_names_spec=$lt_library_names_spec
13237 # The coded name of the library, if different from the real name.
13238 soname_spec=$lt_soname_spec
13240 # Command to use after installation of a shared archive.
13241 postinstall_cmds=$lt_postinstall_cmds
13243 # Command to use after uninstallation of a shared archive.
13244 postuninstall_cmds=$lt_postuninstall_cmds
13246 # Commands used to finish a libtool library installation in a directory.
13247 finish_cmds=$lt_finish_cmds
13249 # As "finish_cmds", except a single script fragment to be evaled but
13251 finish_eval=$lt_finish_eval
13253 # Whether we should hardcode library paths into libraries.
13254 hardcode_into_libs=$hardcode_into_libs
13256 # Compile-time system search path for libraries.
13257 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13259 # Run-time system search path for libraries.
13260 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13262 # Whether dlopen is supported.
13263 dlopen_support=$enable_dlopen
13265 # Whether dlopen of programs is supported.
13266 dlopen_self=$enable_dlopen_self
13268 # Whether dlopen of statically linked programs is supported.
13269 dlopen_self_static=$enable_dlopen_self_static
13271 # Commands to strip libraries.
13272 old_striplib=$lt_old_striplib
13273 striplib=$lt_striplib
13276 # The linker used to build libraries.
13279 # Commands used to build an old-style archive.
13280 old_archive_cmds=$lt_old_archive_cmds
13282 # A language specific compiler.
13285 # Is the compiler the GNU compiler?
13288 # Compiler flag to turn off builtin functions.
13289 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13291 # How to pass a linker flag through the compiler.
13292 wl=$lt_lt_prog_compiler_wl
13294 # Additional compiler flags for building library objects.
13295 pic_flag=$lt_lt_prog_compiler_pic
13297 # Compiler flag to prevent dynamic linking.
13298 link_static_flag=$lt_lt_prog_compiler_static
13300 # Does compiler simultaneously support -c and -o options?
13301 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13303 # Whether or not to add -lc for building shared libraries.
13304 build_libtool_need_lc=$archive_cmds_need_lc
13306 # Whether or not to disallow shared libs when runtime libs are static.
13307 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13309 # Compiler flag to allow reflexive dlopens.
13310 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13312 # Compiler flag to generate shared objects directly from archives.
13313 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13315 # Whether the compiler copes with passing no objects directly.
13316 compiler_needs_object=$lt_compiler_needs_object
13318 # Create an old-style archive from a shared archive.
13319 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13321 # Create a temporary old-style archive to link instead of a shared archive.
13322 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13324 # Commands used to build a shared archive.
13325 archive_cmds=$lt_archive_cmds
13326 archive_expsym_cmds=$lt_archive_expsym_cmds
13328 # Commands used to build a loadable module if different from building
13329 # a shared archive.
13330 module_cmds=$lt_module_cmds
13331 module_expsym_cmds=$lt_module_expsym_cmds
13333 # Whether we are building with GNU ld or not.
13334 with_gnu_ld=$lt_with_gnu_ld
13336 # Flag that allows shared libraries with undefined symbols to be built.
13337 allow_undefined_flag=$lt_allow_undefined_flag
13339 # Flag that enforces no undefined symbols.
13340 no_undefined_flag=$lt_no_undefined_flag
13342 # Flag to hardcode \$libdir into a binary during linking.
13343 # This must work even if \$libdir does not exist
13344 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13346 # If ld is used when linking, flag to hardcode \$libdir into a binary
13347 # during linking. This must work even if \$libdir does not exist.
13348 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13350 # Whether we need a single "-rpath" flag with a separated argument.
13351 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13354 # DIR into the resulting binary.
13355 hardcode_direct=$hardcode_direct
13357 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13358 # DIR into the resulting binary and the resulting library dependency is
13359 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13360 # library is relocated.
13361 hardcode_direct_absolute=$hardcode_direct_absolute
13363 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13364 # into the resulting binary.
13365 hardcode_minus_L=$hardcode_minus_L
13367 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13368 # into the resulting binary.
13369 hardcode_shlibpath_var=$hardcode_shlibpath_var
13371 # Set to "yes" if building a shared library automatically hardcodes DIR
13372 # into the library and all subsequent libraries and executables linked
13374 hardcode_automatic=$hardcode_automatic
13376 # Set to yes if linker adds runtime paths of dependent libraries
13377 # to runtime path list.
13378 inherit_rpath=$inherit_rpath
13380 # Whether libtool must link a program against all its dependency libraries.
13381 link_all_deplibs=$link_all_deplibs
13383 # Fix the shell variable \$srcfile for the compiler.
13384 fix_srcfile_path=$lt_fix_srcfile_path
13386 # Set to "yes" if exported symbols are required.
13387 always_export_symbols=$always_export_symbols
13389 # The commands to list exported symbols.
13390 export_symbols_cmds=$lt_export_symbols_cmds
13392 # Symbols that should not be listed in the preloaded symbols.
13393 exclude_expsyms=$lt_exclude_expsyms
13395 # Symbols that must always be exported.
13396 include_expsyms=$lt_include_expsyms
13398 # Commands necessary for linking programs (against libraries) with templates.
13399 prelink_cmds=$lt_prelink_cmds
13401 # Specify filename containing input files.
13402 file_list_spec=$lt_file_list_spec
13404 # How to hardcode a shared library path into an executable.
13405 hardcode_action=$hardcode_action
13407 # ### END LIBTOOL CONFIG
13413 cat <<\_LT_EOF >> "$cfgfile"
13414 # AIX sometimes has problems with the GCC collect2 program. For some
13415 # reason, if we set the COLLECT_NAMES environment variable, the problems
13416 # vanish in a puff of smoke.
13417 if test "X${COLLECT_NAMES+set}" != Xset; then
13419 export COLLECT_NAMES
13426 ltmain="$ac_aux_dir/ltmain.sh"
13429 # We use sed instead of cat because bash on DJGPP gets confused if
13430 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13431 # text mode, it properly converts lines to CR/LF. This bash problem
13432 # is reportedly fixed, but why not run on old versions too?
13433 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13434 ||
(rm -f "$cfgfile"; exit 1)
13438 cat << \_LT_EOF
>> "$cfgfile"
13440 # func_dirname file append nondir_replacement
13441 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13442 # otherwise set result to NONDIR_REPLACEMENT.
13446 */*) func_dirname_result
="${1%/*}${2}" ;;
13447 * ) func_dirname_result
="${3}" ;;
13451 # func_basename file
13454 func_basename_result
="${1##*/}"
13457 # func_dirname_and_basename file append nondir_replacement
13458 # perform func_basename and func_dirname in a single function
13460 # dirname: Compute the dirname of FILE. If nonempty,
13461 # add APPEND to the result, otherwise set result
13462 # to NONDIR_REPLACEMENT.
13463 # value returned in "$func_dirname_result"
13464 # basename: Compute filename of FILE.
13465 # value retuned in "$func_basename_result"
13466 # Implementation must be kept synchronized with func_dirname
13467 # and func_basename. For efficiency, we do not delegate to
13468 # those functions but instead duplicate the functionality here.
13469 func_dirname_and_basename
()
13472 */*) func_dirname_result
="${1%/*}${2}" ;;
13473 * ) func_dirname_result
="${3}" ;;
13475 func_basename_result
="${1##*/}"
13478 # func_stripname prefix suffix name
13479 # strip PREFIX and SUFFIX off of NAME.
13480 # PREFIX and SUFFIX must not contain globbing or regex special
13481 # characters, hashes, percent signs, but SUFFIX may contain a leading
13482 # dot (in which case that matches only a dot).
13485 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13486 # positional parameters, so assign one to ordinary parameter first.
13487 func_stripname_result
=${3}
13488 func_stripname_result
=${func_stripname_result#"${1}"}
13489 func_stripname_result
=${func_stripname_result%"${2}"}
13495 func_opt_split_opt
=${1%%=*}
13496 func_opt_split_arg
=${1#*=}
13503 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13504 *) func_lo2o_result
=${1} ;;
13508 # func_xform libobj-or-source
13511 func_xform_result
=${1%.*}.lo
13514 # func_arith arithmetic-term...
13517 func_arith_result
=$
(( $
* ))
13521 # STRING may not start with a hyphen.
13524 func_len_result
=${#1}
13529 *) # Bourne compatible functions.
13530 cat << \_LT_EOF
>> "$cfgfile"
13532 # func_dirname file append nondir_replacement
13533 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13534 # otherwise set result to NONDIR_REPLACEMENT.
13537 # Extract subdirectory from the argument.
13538 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13539 if test "X$func_dirname_result" = "X${1}"; then
13540 func_dirname_result
="${3}"
13542 func_dirname_result
="$func_dirname_result${2}"
13546 # func_basename file
13549 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13553 # func_stripname prefix suffix name
13554 # strip PREFIX and SUFFIX off of NAME.
13555 # PREFIX and SUFFIX must not contain globbing or regex special
13556 # characters, hashes, percent signs, but SUFFIX may contain a leading
13557 # dot (in which case that matches only a dot).
13558 # func_strip_suffix prefix name
13562 .
*) func_stripname_result
=`$ECHO "X${3}" \
13563 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13564 *) func_stripname_result
=`$ECHO "X${3}" \
13565 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13570 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13571 my_sed_long_arg
='1s/^-[^=]*=//'
13576 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13577 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13583 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13586 # func_xform libobj-or-source
13589 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13592 # func_arith arithmetic-term...
13595 func_arith_result
=`expr "$@"`
13599 # STRING may not start with a hyphen.
13602 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13608 case $lt_shell_append in
13610 cat << \_LT_EOF
>> "$cfgfile"
13612 # func_append var value
13613 # Append VALUE to the end of shell variable VAR.
13621 cat << \_LT_EOF
>> "$cfgfile"
13623 # func_append var value
13624 # Append VALUE to the end of shell variable VAR.
13635 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13636 ||
(rm -f "$cfgfile"; exit 1)
13638 mv -f "$cfgfile" "$ofile" ||
13639 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13650 ac_clean_files
=$ac_clean_files_save
13652 test $ac_write_fail = 0 ||
13653 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13656 # configure is writing to config.log, and then calls config.status.
13657 # config.status does its own redirection, appending to config.log.
13658 # Unfortunately, on DOS this fails, as config.log is still kept open
13659 # by configure, so config.status won't be able to write to it; its
13660 # output is simply discarded. So we exec the FD to /dev/null,
13661 # effectively closing config.log, so it can be properly (re)opened and
13662 # appended to by config.status. When coming back to configure, we
13663 # need to make the FD available again.
13664 if test "$no_create" != yes; then
13666 ac_config_status_args
=
13667 test "$silent" = yes &&
13668 ac_config_status_args
="$ac_config_status_args --quiet"
13670 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13672 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13673 # would make configure fail if this is the last instruction.
13674 $ac_cs_success || as_fn_exit
1
13676 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13678 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}