2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for libsha1 1.21.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (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 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
640 for dir
in $PATH /usr
/ucb
; do
642 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho
; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL
=/bin
/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
681 SHELL
="$CONFIG_SHELL"
683 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string
=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev
/null
6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix
=/usr
/local
737 ac_config_libobj_dir
=.
743 SHELL
=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME
='libsha1'
747 PACKAGE_TARNAME
='libsha1'
748 PACKAGE_VERSION
='1.21'
749 PACKAGE_STRING
='libsha1 1.21'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="hmac.c"
753 # Factoring default headers for most tests.
754 ac_includes_default
="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars
='am__EXEEXT_FALSE
847 INSTALL_STRIP_PROGRAM
889 program_transform_name
901 enable_option_checking
902 enable_dependency_tracking
912 ac_precious_vars
='build_alias
923 # Initialize some variables set by options.
925 ac_init_version
=false
926 ac_unrecognized_opts
=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
937 program_transform_name
=s
,x
,x
,
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir
='${exec_prefix}/bin'
952 sbindir
='${exec_prefix}/sbin'
953 libexecdir
='${exec_prefix}/libexec'
954 datarootdir
='${prefix}/share'
955 datadir
='${datarootdir}'
956 sysconfdir
='${prefix}/etc'
957 sharedstatedir
='${prefix}/com'
958 localstatedir
='${prefix}/var'
959 includedir
='${prefix}/include'
960 oldincludedir
='/usr/include'
961 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir
='${datarootdir}/info'
967 libdir
='${exec_prefix}/lib'
968 localedir
='${datarootdir}/locale'
969 mandir
='${datarootdir}/man'
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\
$ac_option
983 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
987 # Accept the important Cygnus configure options, so we can diagnose typos.
989 case $ac_dashdash$ac_option in
993 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
995 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
998 -build |
--build |
--buil |
--bui |
--bu)
999 ac_prev
=build_alias
;;
1000 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1001 build_alias
=$ac_optarg ;;
1003 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1004 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1005 ac_prev
=cache_file
;;
1006 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1007 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1008 cache_file
=$ac_optarg ;;
1010 --config-cache |
-C)
1011 cache_file
=config.cache
;;
1013 -datadir |
--datadir |
--datadi |
--datad)
1015 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1016 datadir
=$ac_optarg ;;
1018 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1019 |
--dataroo |
--dataro |
--datar)
1020 ac_prev
=datarootdir
;;
1021 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1022 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1023 datarootdir
=$ac_optarg ;;
1025 -disable-* |
--disable-*)
1026 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1029 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1030 { (exit 1); exit 1; }; }
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_
$ac_useropt"
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval enable_
$ac_useropt=no
;;
1042 -docdir |
--docdir |
--docdi |
--doc |
--do)
1044 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1045 docdir
=$ac_optarg ;;
1047 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1049 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1050 dvidir
=$ac_optarg ;;
1052 -enable-* |
--enable-*)
1053 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1057 { (exit 1); exit 1; }; }
1058 ac_useropt_orig
=$ac_useropt
1059 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1062 "enable_
$ac_useropt"
1064 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065 ac_unrecognized_sep
=', ';;
1067 eval enable_
$ac_useropt=\
$ac_optarg ;;
1069 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1070 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1071 |
--exec |
--exe |
--ex)
1072 ac_prev
=exec_prefix
;;
1073 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1074 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1075 |
--exec=* |
--exe=* |
--ex=*)
1076 exec_prefix
=$ac_optarg ;;
1078 -gas |
--gas |
--ga |
--g)
1079 # Obsolete; use --with-gas.
1082 -help |
--help |
--hel |
--he |
-h)
1083 ac_init_help
=long
;;
1084 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1085 ac_init_help
=recursive
;;
1086 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1087 ac_init_help
=short
;;
1089 -host |
--host |
--hos |
--ho)
1090 ac_prev
=host_alias
;;
1091 -host=* |
--host=* |
--hos=* |
--ho=*)
1092 host_alias
=$ac_optarg ;;
1094 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1096 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1098 htmldir
=$ac_optarg ;;
1100 -includedir |
--includedir |
--includedi |
--included |
--include \
1101 |
--includ |
--inclu |
--incl |
--inc)
1102 ac_prev
=includedir
;;
1103 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1104 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1105 includedir
=$ac_optarg ;;
1107 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1109 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1110 infodir
=$ac_optarg ;;
1112 -libdir |
--libdir |
--libdi |
--libd)
1114 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1115 libdir
=$ac_optarg ;;
1117 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1118 |
--libexe |
--libex |
--libe)
1119 ac_prev
=libexecdir
;;
1120 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1121 |
--libexe=* |
--libex=* |
--libe=*)
1122 libexecdir
=$ac_optarg ;;
1124 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1125 ac_prev
=localedir
;;
1126 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1127 localedir
=$ac_optarg ;;
1129 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1130 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1131 ac_prev
=localstatedir
;;
1132 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1133 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1134 localstatedir
=$ac_optarg ;;
1136 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1138 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1139 mandir
=$ac_optarg ;;
1141 -nfp |
--nfp |
--nf)
1142 # Obsolete; use --without-fp.
1145 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1146 |
--no-cr |
--no-c |
-n)
1149 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1150 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1153 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1154 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1155 |
--oldin |
--oldi |
--old |
--ol |
--o)
1156 ac_prev
=oldincludedir
;;
1157 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1158 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1159 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1160 oldincludedir
=$ac_optarg ;;
1162 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1164 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1165 prefix
=$ac_optarg ;;
1167 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1168 |
--program-pre |
--program-pr |
--program-p)
1169 ac_prev
=program_prefix
;;
1170 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1171 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1172 program_prefix
=$ac_optarg ;;
1174 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1175 |
--program-suf |
--program-su |
--program-s)
1176 ac_prev
=program_suffix
;;
1177 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1178 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1179 program_suffix
=$ac_optarg ;;
1181 -program-transform-name |
--program-transform-name \
1182 |
--program-transform-nam |
--program-transform-na \
1183 |
--program-transform-n |
--program-transform- \
1184 |
--program-transform |
--program-transfor \
1185 |
--program-transfo |
--program-transf \
1186 |
--program-trans |
--program-tran \
1187 |
--progr-tra |
--program-tr |
--program-t)
1188 ac_prev
=program_transform_name
;;
1189 -program-transform-name=* |
--program-transform-name=* \
1190 |
--program-transform-nam=* |
--program-transform-na=* \
1191 |
--program-transform-n=* |
--program-transform-=* \
1192 |
--program-transform=* |
--program-transfor=* \
1193 |
--program-transfo=* |
--program-transf=* \
1194 |
--program-trans=* |
--program-tran=* \
1195 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1196 program_transform_name
=$ac_optarg ;;
1198 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1200 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1201 pdfdir
=$ac_optarg ;;
1203 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1205 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1208 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1209 |
-silent |
--silent |
--silen |
--sile |
--sil)
1212 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1214 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1216 sbindir
=$ac_optarg ;;
1218 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1219 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1220 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1222 ac_prev
=sharedstatedir
;;
1223 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1224 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1225 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1227 sharedstatedir
=$ac_optarg ;;
1229 -site |
--site |
--sit)
1231 -site=* |
--site=* |
--sit=*)
1234 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1236 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1237 srcdir
=$ac_optarg ;;
1239 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1240 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1241 ac_prev
=sysconfdir
;;
1242 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1243 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1244 sysconfdir
=$ac_optarg ;;
1246 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1247 ac_prev
=target_alias
;;
1248 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1249 target_alias
=$ac_optarg ;;
1251 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1254 -version |
--version |
--versio |
--versi |
--vers |
-V)
1255 ac_init_version
=: ;;
1258 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1261 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1262 { (exit 1); exit 1; }; }
1263 ac_useropt_orig
=$ac_useropt
1264 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1269 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1270 ac_unrecognized_sep
=', ';;
1272 eval with_
$ac_useropt=\
$ac_optarg ;;
1274 -without-* |
--without-*)
1275 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1278 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1279 { (exit 1); exit 1; }; }
1280 ac_useropt_orig
=$ac_useropt
1281 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282 case $ac_user_opts in
1286 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1287 ac_unrecognized_sep
=', ';;
1289 eval with_
$ac_useropt=no
;;
1292 # Obsolete; use --with-x.
1295 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1296 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1297 ac_prev
=x_includes
;;
1298 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1299 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1300 x_includes
=$ac_optarg ;;
1302 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1303 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1304 ac_prev
=x_libraries
;;
1305 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1306 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1307 x_libraries
=$ac_optarg ;;
1309 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1310 Try \`$0 --help' for more information." >&2
1311 { (exit 1); exit 1; }; }
1315 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1318 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1319 { (exit 1); exit 1; }; }
1320 eval $ac_envvar=\
$ac_optarg
1321 export $ac_envvar ;;
1324 # FIXME: should be removed in autoconf 3.0.
1325 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1326 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1327 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1328 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1334 if test -n "$ac_prev"; then
1335 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1336 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1337 { (exit 1); exit 1; }; }
1340 if test -n "$ac_unrecognized_opts"; then
1341 case $enable_option_checking in
1343 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1344 { (exit 1); exit 1; }; } ;;
1345 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349 # Check all directory arguments for consistency.
1350 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351 datadir sysconfdir sharedstatedir localstatedir includedir \
1352 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353 libdir localedir mandir
1355 eval ac_val
=\$
$ac_var
1356 # Remove trailing slashes.
1359 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360 eval $ac_var=\
$ac_val;;
1362 # Be sure to have absolute directory names.
1364 [\\/$
]* | ?
:[\\/]* ) continue;;
1365 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1367 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1368 { (exit 1); exit 1; }; }
1371 # There might be people who depend on the old broken behavior: `$host'
1372 # used to hold the argument of --host etc.
1373 # FIXME: To remove some day.
1376 target
=$target_alias
1378 # FIXME: To remove some day.
1379 if test "x$host_alias" != x
; then
1380 if test "x$build_alias" = x
; then
1381 cross_compiling
=maybe
1382 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1383 If a cross compiler is detected then cross compile mode will be used." >&2
1384 elif test "x$build_alias" != "x$host_alias"; then
1390 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1392 test "$silent" = yes && exec 6>/dev
/null
1395 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1396 ac_ls_di
=`ls -di .` &&
1397 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1398 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1399 { (exit 1); exit 1; }; }
1400 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1401 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1402 { (exit 1); exit 1; }; }
1405 # Find the source files, if location was not specified.
1406 if test -z "$srcdir"; then
1407 ac_srcdir_defaulted
=yes
1408 # Try the directory containing this script, then the parent directory.
1409 ac_confdir
=`$as_dirname -- "$as_myself" ||
1410 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1411 X"$as_myself" : 'X\(//\)[^/]' \| \
1412 X"$as_myself" : 'X\(//\)$' \| \
1413 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1414 $as_echo X"$as_myself" |
1415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1433 if test ! -r "$srcdir/$ac_unique_file"; then
1437 ac_srcdir_defaulted
=no
1439 if test ! -r "$srcdir/$ac_unique_file"; then
1440 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1441 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1442 { (exit 1); exit 1; }; }
1444 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1446 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1447 { (exit 1); exit 1; }; }
1449 # When building in place, set srcdir=.
1450 if test "$ac_abs_confdir" = "$ac_pwd"; then
1453 # Remove unnecessary trailing slashes from srcdir.
1454 # Double slashes in file names in object file debugging info
1455 # mess up M-x gdb in Emacs.
1457 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1459 for ac_var
in $ac_precious_vars; do
1460 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1461 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1462 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1463 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1467 # Report the --help message.
1469 if test "$ac_init_help" = "long"; then
1470 # Omit some internal or obsolete options to make the list less imposing.
1471 # This message is too long to be a string in the A/UX 3.1 sh.
1473 \`configure' configures libsha1 1.21 to adapt to many kinds of systems.
1475 Usage: $0 [OPTION]... [VAR=VALUE]...
1477 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1478 VAR=VALUE. See below for descriptions of some of the useful variables.
1480 Defaults for the options are specified in brackets.
1483 -h, --help display this help and exit
1484 --help=short display options specific to this package
1485 --help=recursive display the short help of all the included packages
1486 -V, --version display version information and exit
1487 -q, --quiet, --silent do not print \`checking...' messages
1488 --cache-file=FILE cache test results in FILE [disabled]
1489 -C, --config-cache alias for \`--cache-file=config.cache'
1490 -n, --no-create do not create output files
1491 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1493 Installation directories:
1494 --prefix=PREFIX install architecture-independent files in PREFIX
1495 [$ac_default_prefix]
1496 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1499 By default, \`make install' will install all the files in
1500 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1501 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1502 for instance \`--prefix=\$HOME'.
1504 For better control, use the options below.
1506 Fine tuning of the installation directories:
1507 --bindir=DIR user executables [EPREFIX/bin]
1508 --sbindir=DIR system admin executables [EPREFIX/sbin]
1509 --libexecdir=DIR program executables [EPREFIX/libexec]
1510 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1511 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1512 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1513 --libdir=DIR object code libraries [EPREFIX/lib]
1514 --includedir=DIR C header files [PREFIX/include]
1515 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1516 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1517 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1518 --infodir=DIR info documentation [DATAROOTDIR/info]
1519 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1520 --mandir=DIR man documentation [DATAROOTDIR/man]
1521 --docdir=DIR documentation root [DATAROOTDIR/doc/libsha1]
1522 --htmldir=DIR html documentation [DOCDIR]
1523 --dvidir=DIR dvi documentation [DOCDIR]
1524 --pdfdir=DIR pdf documentation [DOCDIR]
1525 --psdir=DIR ps documentation [DOCDIR]
1531 --program-prefix=PREFIX prepend PREFIX to installed program names
1532 --program-suffix=SUFFIX append SUFFIX to installed program names
1533 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1536 --build=BUILD configure
for building on BUILD
[guessed
]
1537 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1541 if test -n "$ac_init_help"; then
1542 case $ac_init_help in
1543 short | recursive
) echo "Configuration of libsha1 1.21:";;
1548 --disable-option-checking ignore unrecognized
--enable/--with options
1549 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1550 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1551 --disable-dependency-tracking speeds up one-time build
1552 --enable-dependency-tracking do not reject slow dependency extractors
1553 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1554 --enable-static[=PKGS
] build static libraries
[default
=yes]
1555 --enable-fast-install[=PKGS
]
1556 optimize
for fast installation
[default
=yes]
1557 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1560 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1561 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1562 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1564 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1565 --with-int32='type' use
'type' for an unsigned
32 bit integer
type
1566 ( default is
'unsigned')
1567 --with-int64='type' use
'type' for an unsigned
64 bit integer
type
1568 ( default is
'unsigned')
1570 Some influential environment variables
:
1571 CC C compiler
command
1572 CFLAGS C compiler flags
1573 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1574 nonstandard directory
<lib dir
>
1575 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1576 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1577 you have headers
in a nonstandard directory
<include dir
>
1580 Use these variables to override the choices made by
`configure' or to help
1581 it to find libraries and programs with nonstandard names/locations.
1583 Report bugs to <courier-users@lists.sourceforge.net>.
1588 if test "$ac_init_help" = "recursive"; then
1589 # If there are subdirs, report their specific --help.
1590 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1591 test -d "$ac_dir" ||
1592 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1597 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1600 # A ".." for each directory in $ac_dir_suffix.
1601 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1602 case $ac_top_builddir_sub in
1603 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1604 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1607 ac_abs_top_builddir=$ac_pwd
1608 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1609 # for backward compatibility:
1610 ac_top_builddir=$ac_top_build_prefix
1613 .) # We are building in place.
1615 ac_top_srcdir=$ac_top_builddir_sub
1616 ac_abs_top_srcdir=$ac_pwd ;;
1617 [\\/]* | ?:[\\/]* ) # Absolute name.
1618 ac_srcdir=$srcdir$ac_dir_suffix;
1619 ac_top_srcdir=$srcdir
1620 ac_abs_top_srcdir=$srcdir ;;
1622 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1623 ac_top_srcdir=$ac_top_build_prefix$srcdir
1624 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1626 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1628 cd "$ac_dir" || { ac_status=$?; continue; }
1629 # Check for guested configure.
1630 if test -f "$ac_srcdir/configure.gnu"; then
1632 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1633 elif test -f "$ac_srcdir/configure"; then
1635 $SHELL "$ac_srcdir/configure" --help=recursive
1637 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1639 cd "$ac_pwd" || { ac_status=$?; break; }
1643 test -n "$ac_init_help" && exit $ac_status
1644 if $ac_init_version; then
1646 libsha1 configure 1.21
1647 generated by GNU Autoconf 2.63
1649 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1650 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1651 This configure script is free software; the Free Software Foundation
1652 gives unlimited permission to copy, distribute and modify it.
1656 cat >config.log <<_ACEOF
1657 This file contains any messages produced by compilers while
1658 running configure, to aid debugging if configure makes a mistake.
1660 It was created by libsha1 $as_me 1.21, which was
1661 generated by GNU Autoconf 2.63. Invocation command line was
1673 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1674 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1675 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1676 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1677 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1679 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1680 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1682 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1683 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1684 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1685 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1686 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1687 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1688 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir=.
1697 $as_echo "PATH: $as_dir"
1713 # Keep a trace of the command line.
1714 # Strip out --no-create and --no-recursion so they do not pile up.
1715 # Strip out --silent because we don't want to record it for future runs.
1716 # Also quote any args containing shell meta-characters.
1717 # Make two passes to allow for proper duplicate-argument suppression.
1721 ac_must_keep_next=false
1727 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1729 | -silent | --silent | --silen | --sile | --sil)
1732 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1735 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1737 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1738 if test $ac_must_keep_next = true; then
1739 ac_must_keep_next=false # Got value, back to normal.
1742 *=* | --config-cache | -C | -disable-* | --disable-* \
1743 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1744 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1745 | -with-* | --with-* | -without-* | --without-* | --x)
1746 case "$ac_configure_args0 " in
1747 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1750 -* ) ac_must_keep_next=true ;;
1753 ac_configure_args="$ac_configure_args '$ac_arg'"
1758 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1759 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1761 # When interrupted or exit'd, cleanup temporary files, and complete
1762 # config.log. We remove comments because anyway the quotes in there
1763 # would cause problems or look ugly.
1764 # WARNING: Use '\'' to represent an apostrophe within the trap.
1765 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1766 trap 'exit_status=$?
1767 # Save into config.log some information that might help in debugging.
1772 ## ---------------- ##
1773 ## Cache variables. ##
1774 ## ---------------- ##
1777 # The following way of writing the cache mishandles newlines in values,
1779 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1780 eval ac_val=\$$ac_var
1784 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1785 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1788 _ | IFS | as_nl) ;; #(
1789 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1790 *) $as_unset $ac_var ;;
1795 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1796 *${as_nl}ac_space=\ *)
1798 "s/'\''/'\''\\\\'\'''\''/g;
1799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1810 ## ----------------- ##
1811 ## Output variables. ##
1812 ## ----------------- ##
1815 for ac_var in $ac_subst_vars
1817 eval ac_val=\$$ac_var
1819 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1821 $as_echo "$ac_var='\''$ac_val'\''"
1825 if test -n "$ac_subst_files"; then
1827 ## ------------------- ##
1828 ## File substitutions. ##
1829 ## ------------------- ##
1832 for ac_var in $ac_subst_files
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 $as_echo "$ac_var='\''$ac_val'\''"
1843 if test -s confdefs.h; then
1853 test "$ac_signal" != 0 &&
1854 $as_echo "$as_me: caught signal $ac_signal"
1855 $as_echo "$as_me: exit $exit_status"
1857 rm -f core *.core core.conftest.* &&
1858 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1861 for ac_signal in 1 2 13 15; do
1862 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1866 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1867 rm -f -r conftest* confdefs.h
1869 # Predefined preprocessor variables.
1871 cat >>confdefs.h <<_ACEOF
1872 #define PACKAGE_NAME "$PACKAGE_NAME"
1876 cat >>confdefs.h <<_ACEOF
1877 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_STRING "$PACKAGE_STRING"
1891 cat >>confdefs.h <<_ACEOF
1892 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1896 # Let the site file select an alternate cache file if it wants to.
1897 # Prefer an explicitly selected file to automatically selected ones.
1900 if test -n "$CONFIG_SITE"; then
1901 ac_site_file1=$CONFIG_SITE
1902 elif test "x$prefix" != xNONE; then
1903 ac_site_file1=$prefix/share/config.site
1904 ac_site_file2=$prefix/etc/config.site
1906 ac_site_file1=$ac_default_prefix/share/config.site
1907 ac_site_file2=$ac_default_prefix/etc/config.site
1909 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1911 test "x$ac_site_file" = xNONE && continue
1912 if test -r "$ac_site_file"; then
1913 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1914 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1915 sed 's/^/| /' "$ac_site_file" >&5
1920 if test -r "$cache_file"; then
1921 # Some versions of bash will fail to source /dev/null (special
1922 # files actually), so we avoid doing that.
1923 if test -f "$cache_file"; then
1924 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1925 $as_echo "$as_me: loading cache $cache_file" >&6;}
1927 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1928 *) . "./$cache_file";;
1932 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1933 $as_echo "$as_me: creating cache $cache_file" >&6;}
1937 # Check that the precious variables saved in the cache have kept the same
1939 ac_cache_corrupted=false
1940 for ac_var in $ac_precious_vars; do
1941 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1942 eval ac_new_set=\$ac_env_${ac_var}_set
1943 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1944 eval ac_new_val=\$ac_env_${ac_var}_value
1945 case $ac_old_set,$ac_new_set in
1947 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1948 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1949 ac_cache_corrupted=: ;;
1951 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1952 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1953 ac_cache_corrupted=: ;;
1956 if test "x$ac_old_val" != "x$ac_new_val"; then
1957 # differences in whitespace do not lead to failure.
1958 ac_old_val_w=`echo x
$ac_old_val`
1959 ac_new_val_w=`echo x
$ac_new_val`
1960 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1961 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1962 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1963 ac_cache_corrupted=:
1965 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1966 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1967 eval $ac_var=\$ac_old_val
1969 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1970 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1971 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1972 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1975 # Pass precious variables to config.status.
1976 if test "$ac_new_set" = set; then
1978 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1979 *) ac_arg=$ac_var=$ac_new_val ;;
1981 case " $ac_configure_args " in
1982 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1983 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1987 if $ac_cache_corrupted; then
1988 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1990 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1991 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1992 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1993 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1994 { (exit 1); exit 1; }; }
2022 ac_cpp='$CPP $CPPFLAGS'
2023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2029 >confdefs.h # Kill PACKAGE_ macros
2032 ac_config_headers="$ac_config_headers config.h
"
2034 am__api_version='1.11'
2037 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2038 if test -f "$ac_dir/install-sh
"; then
2040 ac_install_sh="$ac_aux_dir/install-sh
-c"
2042 elif test -f "$ac_dir/install.sh
"; then
2044 ac_install_sh="$ac_aux_dir/install.sh
-c"
2046 elif test -f "$ac_dir/shtool
"; then
2048 ac_install_sh="$ac_aux_dir/shtool
install -c"
2052 if test -z "$ac_aux_dir"; then
2053 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2054 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2055 { (exit 1); exit 1; }; }
2058 # These three variables are undocumented and unsupported,
2059 # and are intended to be withdrawn in a future Autoconf release.
2060 # They can cause serious problems if a builder's source tree is in a directory
2061 # whose full name contains unusual characters.
2062 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2063 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2064 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2067 # Find a good install program. We prefer a C program (faster),
2068 # so one script is as good as another. But avoid the broken or
2069 # incompatible versions:
2070 # SysV /etc/install, /usr/sbin/install
2071 # SunOS /usr/etc/install
2072 # IRIX /sbin/install
2074 # AmigaOS /C/install, which installs bootblocks on floppy discs
2075 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2076 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2077 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2078 # OS/2's system install, which has a completely different semantic
2079 # ./install, which can be erroneously created by make from ./install.sh.
2080 # Reject install programs that cannot install multiple files.
2081 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2082 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2083 if test -z "$INSTALL"; then
2084 if test "${ac_cv_path_install+set}" = set; then
2085 $as_echo_n "(cached
) " >&6
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir=.
2092 # Account for people who put trailing slashes in PATH elements.
2094 ./ | .// | /cC/* | \
2095 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2096 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2099 # OSF1 and SCO ODT 3.0 have their own names for install.
2100 # Don't use installbsd from OSF since it installs stuff as root
2102 for ac_prog in ginstall scoinst install; do
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2105 if test $ac_prog = install &&
2106 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2107 # AIX install. It has an incompatible calling convention.
2109 elif test $ac_prog = install &&
2110 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2111 # program-specific install script used by HP pwplus--don't use.
2114 rm -rf conftest.one conftest.two conftest.dir
2115 echo one > conftest.one
2116 echo two > conftest.two
2118 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2119 test -s conftest.one && test -s conftest.two &&
2120 test -s conftest.dir/conftest.one &&
2121 test -s conftest.dir/conftest.two
2123 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2136 rm -rf conftest.one conftest.two conftest.dir
2139 if test "${ac_cv_path_install+set}" = set; then
2140 INSTALL=$ac_cv_path_install
2142 # As a last resort, use the slow shell script. Don't cache a
2143 # value for INSTALL within a source directory, because that will
2144 # break other packages using the cache if that directory is
2145 # removed, or if the value is a relative name.
2146 INSTALL=$ac_install_sh
2149 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2150 $as_echo "$INSTALL" >&6; }
2152 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2153 # It thinks the first close brace ends the variable substitution.
2154 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2156 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2158 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2160 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2161 $as_echo_n "checking whether build environment is sane...
" >&6; }
2164 echo timestamp > conftest.file
2165 # Reject unsafe characters in $srcdir or the absolute working directory
2166 # name. Accept space and tab only in the latter.
2170 *[\\\"\#\$\&\'\`$am_lf]*)
2171 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2172 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2173 { (exit 1); exit 1; }; };;
2176 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2177 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2178 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2179 { (exit 1); exit 1; }; };;
2182 # Do `set' in a subshell so we don
't clobber the current shell's
2183 # arguments. Must try -L first in case configure is actually a
2184 # symlink; some systems play weird games with the mod time of symlinks
2185 # (eg FreeBSD returns the mod time of the symlink's containing
2188 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2189 if test "$*" = "X"; then
2191 set X
`ls -t "$srcdir/configure" conftest.file`
2194 if test "$*" != "X $srcdir/configure conftest.file" \
2195 && test "$*" != "X conftest.file $srcdir/configure"; then
2197 # If neither matched, then we have a broken ls. This can happen
2198 # if, for instance, CONFIG_SHELL is bash and it inherits a
2199 # broken ls alias from the environment. This has actually
2200 # happened. Such a system could not be considered "sane".
2201 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2202 alias in your environment" >&5
2203 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2204 alias in your environment" >&2;}
2205 { (exit 1); exit 1; }; }
2208 test "$2" = conftest.
file
2214 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2215 Check your system clock" >&5
2216 $as_echo "$as_me: error: newly created file is older than distributed files!
2217 Check your system clock" >&2;}
2218 { (exit 1); exit 1; }; }
2220 { $as_echo "$as_me:$LINENO: result: yes" >&5
2221 $as_echo "yes" >&6; }
2222 test "$program_prefix" != NONE
&&
2223 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2224 # Use a double $ so make ignores it.
2225 test "$program_suffix" != NONE
&&
2226 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2227 # Double any \ or $.
2228 # By default was `s,x,x', remove it if useless.
2229 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2230 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2232 # expand $ac_aux_dir to an absolute path
2233 am_aux_dir
=`cd $ac_aux_dir && pwd`
2235 if test x
"${MISSING+set}" != xset
; then
2238 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2240 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2243 # Use eval to expand $SHELL
2244 if eval "$MISSING --run true"; then
2245 am_missing_run
="$MISSING --run "
2248 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2249 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2252 if test x
"${install_sh}" != xset
; then
2255 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2257 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2261 # Installed binaries are usually stripped using `strip' when the user
2262 # run `make install-strip'. However `strip' might not be the right
2263 # tool to use in cross-compilation environments, therefore Automake
2264 # will honor the `STRIP' environment variable to overrule this program.
2265 if test "$cross_compiling" != no
; then
2266 if test -n "$ac_tool_prefix"; then
2267 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2268 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2270 $as_echo_n "checking for $ac_word... " >&6; }
2271 if test "${ac_cv_prog_STRIP+set}" = set; then
2272 $as_echo_n "(cached) " >&6
2274 if test -n "$STRIP"; then
2275 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir
=.
2282 for ac_exec_ext
in '' $ac_executable_extensions; do
2283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2285 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 STRIP
=$ac_cv_prog_STRIP
2295 if test -n "$STRIP"; then
2296 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2297 $as_echo "$STRIP" >&6; }
2299 { $as_echo "$as_me:$LINENO: result: no" >&5
2300 $as_echo "no" >&6; }
2305 if test -z "$ac_cv_prog_STRIP"; then
2307 # Extract the first word of "strip", so it can be a program name with args.
2308 set dummy strip
; ac_word
=$2
2309 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 $as_echo_n "checking for $ac_word... " >&6; }
2311 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2312 $as_echo_n "(cached) " >&6
2314 if test -n "$ac_ct_STRIP"; then
2315 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_ac_ct_STRIP
="strip"
2325 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2335 if test -n "$ac_ct_STRIP"; then
2336 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2337 $as_echo "$ac_ct_STRIP" >&6; }
2339 { $as_echo "$as_me:$LINENO: result: no" >&5
2340 $as_echo "no" >&6; }
2343 if test "x$ac_ct_STRIP" = x
; then
2346 case $cross_compiling:$ac_tool_warned in
2348 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2350 ac_tool_warned
=yes ;;
2355 STRIP
="$ac_cv_prog_STRIP"
2359 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2361 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2362 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2363 if test -z "$MKDIR_P"; then
2364 if test "${ac_cv_path_mkdir+set}" = set; then
2365 $as_echo_n "(cached) " >&6
2367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2371 test -z "$as_dir" && as_dir
=.
2372 for ac_prog
in mkdir gmkdir
; do
2373 for ac_exec_ext
in '' $ac_executable_extensions; do
2374 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2375 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2376 'mkdir (GNU coreutils) '* | \
2377 'mkdir (coreutils) '* | \
2378 'mkdir (fileutils) '4.1*)
2379 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2389 if test "${ac_cv_path_mkdir+set}" = set; then
2390 MKDIR_P
="$ac_cv_path_mkdir -p"
2392 # As a last resort, use the slow shell script. Don't cache a
2393 # value for MKDIR_P within a source directory, because that will
2394 # break other packages using the cache if that directory is
2395 # removed, or if the value is a relative name.
2396 test -d .
/--version && rmdir .
/--version
2397 MKDIR_P
="$ac_install_sh -d"
2400 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2401 $as_echo "$MKDIR_P" >&6; }
2405 [\\/$
]* | ?
:[\\/]*) ;;
2406 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2409 for ac_prog
in gawk mawk nawk
awk
2411 # Extract the first word of "$ac_prog", so it can be a program name with args.
2412 set dummy
$ac_prog; ac_word
=$2
2413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_AWK+set}" = set; then
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$AWK"; then
2419 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir
=.
2426 for ac_exec_ext
in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428 ac_cv_prog_AWK
="$ac_prog"
2429 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 if test -n "$AWK"; then
2440 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2441 $as_echo "$AWK" >&6; }
2443 { $as_echo "$as_me:$LINENO: result: no" >&5
2444 $as_echo "no" >&6; }
2448 test -n "$AWK" && break
2451 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2452 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2454 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2455 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2456 $as_echo_n "(cached) " >&6
2458 cat >conftest.
make <<\_ACEOF
2461 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2463 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2464 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2466 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2468 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2472 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2473 { $as_echo "$as_me:$LINENO: result: yes" >&5
2474 $as_echo "yes" >&6; }
2477 { $as_echo "$as_me:$LINENO: result: no" >&5
2478 $as_echo "no" >&6; }
2479 SET_MAKE
="MAKE=${MAKE-make}"
2482 rm -rf .tst
2>/dev
/null
2483 mkdir .tst
2>/dev
/null
2484 if test -d .tst
; then
2489 rmdir .tst
2>/dev
/null
2491 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2492 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2493 # is not polluted with repeated "-I."
2494 am__isrc
=' -I$(srcdir)'
2495 # test to see if srcdir already configured
2496 if test -f $srcdir/config.status
; then
2497 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2498 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2499 { (exit 1); exit 1; }; }
2503 # test whether we have cygpath
2504 if test -z "$CYGPATH_W"; then
2505 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2506 CYGPATH_W
='cygpath -w'
2513 # Define the identity of the package.
2518 # Some tools Automake needs.
2520 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2523 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2526 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2529 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2532 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2534 # We need awk for the "check" target. The system "awk" is bad on
2536 # Always define AMTAR for backward compatibility.
2538 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2540 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2547 if test -d ${srcdir}/..
/libhmac
; then
2557 ac_cpp
='$CPP $CPPFLAGS'
2558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2563 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if test "${ac_cv_prog_CC+set}" = set; then
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$CC"; then
2570 ac_cv_prog_CC
="$CC" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$CC"; then
2591 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2592 $as_echo "$CC" >&6; }
2594 { $as_echo "$as_me:$LINENO: result: no" >&5
2595 $as_echo "no" >&6; }
2600 if test -z "$ac_cv_prog_CC"; then
2602 # Extract the first word of "gcc", so it can be a program name with args.
2603 set dummy gcc
; ac_word
=$2
2604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$ac_ct_CC"; then
2610 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 for ac_exec_ext
in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_ac_ct_CC
="gcc"
2620 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2630 if test -n "$ac_ct_CC"; then
2631 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2632 $as_echo "$ac_ct_CC" >&6; }
2634 { $as_echo "$as_me:$LINENO: result: no" >&5
2635 $as_echo "no" >&6; }
2638 if test "x$ac_ct_CC" = x
; then
2641 case $cross_compiling:$ac_tool_warned in
2643 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned
=yes ;;
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2656 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_CC+set}" = set; then
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC
="$CC" # Let the user override the test.
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_exec_ext
in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2673 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$CC"; then
2684 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2685 $as_echo "$CC" >&6; }
2687 { $as_echo "$as_me:$LINENO: result: no" >&5
2688 $as_echo "no" >&6; }
2694 if test -z "$CC"; then
2695 # Extract the first word of "cc", so it can be a program name with args.
2696 set dummy cc
; ac_word
=$2
2697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if test "${ac_cv_prog_CC+set}" = set; then
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$CC"; then
2703 ac_cv_prog_CC
="$CC" # Let the user override the test.
2706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir
=.
2711 for ac_exec_ext
in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2714 ac_prog_rejected
=yes
2718 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test $ac_prog_rejected = yes; then
2726 # We found a bogon in the path, so make sure we never use it.
2727 set dummy
$ac_cv_prog_CC
2729 if test $# != 0; then
2730 # We chose a different compiler from the bogus one.
2731 # However, it has the same basename, so the bogon will be chosen
2732 # first if we set CC to just the basename; use the full file name.
2734 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2740 if test -n "$CC"; then
2741 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2742 $as_echo "$CC" >&6; }
2744 { $as_echo "$as_me:$LINENO: result: no" >&5
2745 $as_echo "no" >&6; }
2750 if test -z "$CC"; then
2751 if test -n "$ac_tool_prefix"; then
2752 for ac_prog
in cl.exe
2754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2755 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if test "${ac_cv_prog_CC+set}" = set; then
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$CC"; then
2762 ac_cv_prog_CC
="$CC" # Let the user override the test.
2764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir
=.
2769 for ac_exec_ext
in '' $ac_executable_extensions; do
2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2772 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 if test -n "$CC"; then
2783 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2784 $as_echo "$CC" >&6; }
2786 { $as_echo "$as_me:$LINENO: result: no" >&5
2787 $as_echo "no" >&6; }
2791 test -n "$CC" && break
2794 if test -z "$CC"; then
2796 for ac_prog
in cl.exe
2798 # Extract the first word of "$ac_prog", so it can be a program name with args.
2799 set dummy
$ac_prog; ac_word
=$2
2800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$ac_ct_CC"; then
2806 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir
=.
2813 for ac_exec_ext
in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_ac_ct_CC
="$ac_prog"
2816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2826 if test -n "$ac_ct_CC"; then
2827 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2828 $as_echo "$ac_ct_CC" >&6; }
2830 { $as_echo "$as_me:$LINENO: result: no" >&5
2831 $as_echo "no" >&6; }
2835 test -n "$ac_ct_CC" && break
2838 if test "x$ac_ct_CC" = x
; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned
=yes ;;
2854 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2856 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2857 See \`config.log' for more details." >&5
2858 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2859 See \`config.log' for more details." >&2;}
2860 { (exit 1); exit 1; }; }; }
2862 # Provide some information about the compiler.
2863 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2866 { (ac_try
="$ac_compiler --version >&5"
2868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2872 $as_echo "$ac_try_echo") >&5
2873 (eval "$ac_compiler --version >&5") 2>&5
2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }
2877 { (ac_try="$ac_compiler -v >&5"
2879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2880 *) ac_try_echo
=$ac_try;;
2882 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2883 $as_echo "$ac_try_echo") >&5
2884 (eval "$ac_compiler -v >&5") 2>&5
2886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }
2888 { (ac_try
="$ac_compiler -V >&5"
2890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895 (eval "$ac_compiler -V >&5") 2>&5
2897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2900 cat >conftest.$ac_ext <<_ACEOF
2903 cat confdefs.h >>conftest.$ac_ext
2904 cat >>conftest.$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2915 ac_clean_files_save=$ac_clean_files
2916 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2917 # Try to create an executable without -o first, disregard a.out.
2918 # It will help us diagnose broken compilers, and finding out an intuition
2920 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2921 $as_echo_n "checking for C compiler default output file name... " >&6; }
2922 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2924 # The possible output files:
2925 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2928 for ac_file in $ac_files
2931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2932 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2937 if { (ac_try="$ac_link_default"
2939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2940 *) ac_try_echo
=$ac_try;;
2942 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2943 $as_echo "$ac_try_echo") >&5
2944 (eval "$ac_link_default") 2>&5
2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; then
2948 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2949 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2950 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2951 # so that the user can short-circuit this test for compilers unknown to
2953 for ac_file
in $ac_files ''
2955 test -f "$ac_file" ||
continue
2957 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2960 # We found the default executable, but exeext='' is most
2964 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2966 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2968 # We set ac_cv_exeext here because the later test for it is not
2969 # safe: cross compilers may not add the suffix if given an `-o'
2970 # argument, so we may need to know it at that point already.
2971 # Even if this section looks crufty: it has the advantage of
2978 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2984 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2985 $as_echo "$ac_file" >&6; }
2986 if test -z "$ac_file"; then
2987 $as_echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.
$ac_ext >&5
2990 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2993 See \`config.log' for more details." >&5
2994 $as_echo "$as_me: error: C compiler cannot create executables
2995 See \`config.log' for more details." >&2;}
2996 { (exit 77); exit 77; }; }; }
2999 ac_exeext
=$ac_cv_exeext
3001 # Check that the compiler produces executables we can run. If not, either
3002 # the compiler is broken, or we cross compile.
3003 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3004 $as_echo_n "checking whether the C compiler works... " >&6; }
3005 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3006 # If not cross compiling, check that we can run a simple program.
3007 if test "$cross_compiling" != yes; then
3008 if { ac_try
='./$ac_file'
3009 { (case "(($ac_try" in
3010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3014 $as_echo "$ac_try_echo") >&5
3015 (eval "$ac_try") 2>&5
3017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; }; then
3021 if test "$cross_compiling" = maybe; then
3024 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3027 If you meant to cross compile
, use \
`--host'.
3028 See \`config.log
' for more details." >&5
3029 $as_echo "$as_me: error: cannot run C compiled programs.
3030 If you meant to cross compile, use \`--host'.
3031 See \
`config.log' for more details." >&2;}
3032 { (exit 1); exit 1; }; }; }
3036 { $as_echo "$as_me:$LINENO: result: yes" >&5
3037 $as_echo "yes" >&6; }
3039 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3040 ac_clean_files=$ac_clean_files_save
3041 # Check that the compiler produces executables we can run. If not, either
3042 # the compiler is broken, or we cross compile.
3043 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3044 $as_echo_n "checking whether we are cross compiling... " >&6; }
3045 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3046 $as_echo "$cross_compiling" >&6; }
3048 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3049 $as_echo_n "checking for suffix of executables... " >&6; }
3050 if { (ac_try="$ac_link"
3052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3053 *) ac_try_echo
=$ac_try;;
3055 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3056 $as_echo "$ac_try_echo") >&5
3057 (eval "$ac_link") 2>&5
3059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; then
3061 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3062 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3063 # work properly (i.e., refer to `conftest.exe'), while it won't with
3065 for ac_file
in conftest.exe conftest conftest.
*; do
3066 test -f "$ac_file" ||
continue
3068 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3069 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3078 See \`config.log' for more details." >&5
3079 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3080 See \`config.log' for more details." >&2;}
3081 { (exit 1); exit 1; }; }; }
3084 rm -f conftest
$ac_cv_exeext
3085 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3086 $as_echo "$ac_cv_exeext" >&6; }
3088 rm -f conftest.
$ac_ext
3089 EXEEXT
=$ac_cv_exeext
3091 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3092 $as_echo_n "checking for suffix of object files... " >&6; }
3093 if test "${ac_cv_objext+set}" = set; then
3094 $as_echo_n "(cached) " >&6
3096 cat >conftest.
$ac_ext <<_ACEOF
3099 cat confdefs.h
>>conftest.
$ac_ext
3100 cat >>conftest.
$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3111 rm -f conftest.o conftest.obj
3112 if { (ac_try
="$ac_compile"
3114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3118 $as_echo "$ac_try_echo") >&5
3119 (eval "$ac_compile") 2>&5
3121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; then
3123 for ac_file in conftest.o conftest.obj conftest.*; do
3124 test -f "$ac_file" || continue;
3126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3127 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3138 See \
`config.log' for more details." >&5
3139 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3140 See \`config.log
' for more details." >&2;}
3141 { (exit 1); exit 1; }; }; }
3144 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3146 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3147 $as_echo "$ac_cv_objext" >&6; }
3148 OBJEXT=$ac_cv_objext
3150 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3151 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3152 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3153 $as_echo_n "(cached) " >&6
3155 cat >conftest.$ac_ext <<_ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180 $as_echo "$ac_try_echo") >&5
3181 (eval "$ac_compile") 2>conftest.er1
3183 grep -v '^
*+' conftest.er1 >conftest.err
3185 cat conftest.err >&5
3186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } && {
3188 test -z "$ac_c_werror_flag" ||
3189 test ! -s conftest.err
3190 } && test -s conftest.$ac_objext; then
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's
/^
/|
/' conftest.$ac_ext >&5
3199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3203 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3205 if test $ac_compiler_gnu = yes; then
3210 ac_test_CFLAGS=${CFLAGS+set}
3211 ac_save_CFLAGS=$CFLAGS
3212 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3214 if test "${ac_cv_prog_cc_g+set}" = set; then
3215 $as_echo_n "(cached) " >&6
3217 ac_save_c_werror_flag=$ac_c_werror_flag
3218 ac_c_werror_flag=yes
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243 $as_echo "$ac_try_echo") >&5
3244 (eval "$ac_compile") 2>conftest.er1
3246 grep -v '^
*+' conftest.er1 >conftest.err
3248 cat conftest.err >&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } && {
3251 test -z "$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3253 } && test -s conftest.$ac_objext; then
3256 $as_echo "$as_me: failed program was:" >&5
3257 sed 's
/^
/|
/' conftest.$ac_ext >&5
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3282 $as_echo "$ac_try_echo") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3285 grep -v '^
*+' conftest.er1 >conftest.err
3287 cat conftest.err >&5
3288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } && {
3290 test -z "$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3292 } && test -s conftest.$ac_objext; then
3295 $as_echo "$as_me: failed program was:" >&5
3296 sed 's
/^
/|
/' conftest.$ac_ext >&5
3298 ac_c_werror_flag=$ac_save_c_werror_flag
3300 cat >conftest.$ac_ext <<_ACEOF
3303 cat confdefs.h >>conftest.$ac_ext
3304 cat >>conftest.$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3315 rm -f conftest.$ac_objext
3316 if { (ac_try="$ac_compile"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3322 $as_echo "$ac_try_echo") >&5
3323 (eval "$ac_compile") 2>conftest.er1
3325 grep -v '^
*+' conftest.er1 >conftest.err
3327 cat conftest.err >&5
3328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); } && {
3330 test -z "$ac_c_werror_flag" ||
3331 test ! -s conftest.err
3332 } && test -s conftest.$ac_objext; then
3335 $as_echo "$as_me: failed program was:" >&5
3336 sed 's
/^
/|
/' conftest.$ac_ext >&5
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 ac_c_werror_flag=$ac_save_c_werror_flag
3350 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3351 $as_echo "$ac_cv_prog_cc_g" >&6; }
3352 if test "$ac_test_CFLAGS" = set; then
3353 CFLAGS=$ac_save_CFLAGS
3354 elif test $ac_cv_prog_cc_g = yes; then
3355 if test "$GCC" = yes; then
3361 if test "$GCC" = yes; then
3367 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3368 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3369 if test "${ac_cv_prog_cc_c89+set}" = set; then
3370 $as_echo_n "(cached) " >&6
3372 ac_cv_prog_cc_c89=no
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3382 #include <sys/types.h>
3383 #include <sys/stat.h>
3384 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3385 struct buf
{ int x
; };
3386 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3387 static char
*e
(p
, i
)
3393 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3398 s
= g
(p
, va_arg
(v
,int
));
3403 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3404 function prototypes and stuff
, but not
'\xHH' hex character constants.
3405 These don
't provoke an error unfortunately, instead are silently treated
3406 as 'x
'. The following induces an error, until -std is added to get
3407 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3408 array size at least. It's necessary to
write '\x00'==0 to get something
3409 that
's true only with -std. */
3410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3412 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3413 inside strings and character constants. */
3415 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3417 int test (int i, double x);
3418 struct s1 {int (*f) (int a);};
3419 struct s2 {int (*f) (double a);};
3420 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3426 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3431 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3432 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3434 CC="$ac_save_CC $ac_arg"
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3442 $as_echo "$ac_try_echo") >&5
3443 (eval "$ac_compile") 2>conftest.er1
3445 grep -v '^
*+' conftest.er1 >conftest.err
3447 cat conftest.err >&5
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } && {
3450 test -z "$ac_c_werror_flag" ||
3451 test ! -s conftest.err
3452 } && test -s conftest.$ac_objext; then
3453 ac_cv_prog_cc_c89=$ac_arg
3455 $as_echo "$as_me: failed program was:" >&5
3456 sed 's
/^
/|
/' conftest.$ac_ext >&5
3461 rm -f core conftest.err conftest.$ac_objext
3462 test "x$ac_cv_prog_cc_c89" != "xno" && break
3464 rm -f conftest.$ac_ext
3469 case "x$ac_cv_prog_cc_c89" in
3471 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3472 $as_echo "none needed" >&6; } ;;
3474 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3475 $as_echo "unsupported" >&6; } ;;
3477 CC="$CC $ac_cv_prog_cc_c89"
3478 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3479 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488 DEPDIR="${am__leading_dot}deps"
3490 ac_config_commands="$ac_config_commands depfiles"
3493 am_make=${MAKE-make}
3494 cat > confinc << 'END
'
3496 @echo this is the am__doit target
3499 # If we don't
find an include directive
, just comment out the code.
3500 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3501 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3505 # First try GNU make style include.
3506 echo "include confinc" > confmf
3507 # Ignore all kinds of additional output from `make'.
3508 case `$am_make -s -f confmf 2> /dev/null` in #(
3509 *the\ am__doit\ target
*)
3515 # Now try BSD make style include.
3516 if test "$am__include" = "#"; then
3517 echo '.include "confinc"' > confmf
3518 case `$am_make -s -f confmf 2> /dev/null` in #(
3519 *the\ am__doit\ target
*)
3520 am__include
=.include
3528 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3529 $as_echo "$_am_result" >&6; }
3530 rm -f confinc confmf
3532 # Check whether --enable-dependency-tracking was given.
3533 if test "${enable_dependency_tracking+set}" = set; then
3534 enableval
=$enable_dependency_tracking;
3537 if test "x$enable_dependency_tracking" != xno
; then
3538 am_depcomp
="$ac_aux_dir/depcomp"
3541 if test "x$enable_dependency_tracking" != xno; then
3551 depcc
="$CC" am_compiler_list
=
3553 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3554 $as_echo_n "checking dependency style of $depcc... " >&6; }
3555 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3556 $as_echo_n "(cached) " >&6
3558 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3559 # We make a subdir and do the tests there. Otherwise we can end up
3560 # making bogus files that we don't know about and never remove. For
3561 # instance it was reported that on HP-UX the gcc test will end up
3562 # making a dummy file named `D' -- because `-MD' means `put the output
3565 # Copy depcomp to subdir because otherwise we won't find it if we're
3566 # using a relative directory.
3567 cp "$am_depcomp" conftest.dir
3569 # We will build objects and dependencies in a subdirectory because
3570 # it helps to detect inapplicable dependency modes. For instance
3571 # both Tru64's cc and ICC support -MD to output dependencies as a
3572 # side effect of compilation, but ICC will put the dependencies in
3573 # the current directory while Tru64 will put them in the object
3577 am_cv_CC_dependencies_compiler_type
=none
3578 if test "$am_compiler_list" = ""; then
3579 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3582 case " $depcc " in #(
3583 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3586 for depmode
in $am_compiler_list; do
3587 # Setup a source with many dependencies, because some compilers
3588 # like to wrap large dependency lists on column 80 (with \), and
3589 # we should not choose a depcomp mode which is confused by this.
3591 # We need to recreate these files for each test, as the compiler may
3592 # overwrite some of them when testing with obscure command lines.
3593 # This happens at least with the AIX C compiler.
3595 for i
in 1 2 3 4 5 6; do
3596 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3597 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3598 # Solaris 8's {/usr,}/bin/sh.
3599 touch sub
/conftst
$i.h
3601 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3603 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3604 # mode. It turns out that the SunPro C++ compiler does not properly
3605 # handle `-M -o', and we need to detect this. Also, some Intel
3606 # versions had trouble with output in subdirs
3607 am__obj
=sub
/conftest.
${OBJEXT-o}
3608 am__minus_obj
="-o $am__obj"
3611 # This depmode causes a compiler race in universal mode.
3612 test "$am__universal" = false ||
continue
3615 # after this tag, mechanisms are not by side-effect, so they'll
3616 # only be used when explicitly requested
3617 if test "x$enable_dependency_tracking" = xyes
; then
3623 msvisualcpp | msvcmsys
)
3624 # This compiler won't grok `-c -o', but also, the minuso test has
3625 # not run yet. These depmodes are late enough in the game, and
3626 # so weak that their functioning should not be impacted.
3627 am__obj
=conftest.
${OBJEXT-o}
3632 if depmode
=$depmode \
3633 source=sub
/conftest.c object
=$am__obj \
3634 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3635 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3636 >/dev
/null
2>conftest.err
&&
3637 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3638 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3639 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3640 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3641 # icc doesn't choke on unknown options, it will just issue warnings
3642 # or remarks (even with -Werror). So we grep stderr for any message
3643 # that says an option was ignored or not supported.
3644 # When given -MP, icc 7.0 and 7.1 complain thusly:
3645 # icc: Command line warning: ignoring option '-M'; no argument required
3646 # The diagnosis changed in icc 8.0:
3647 # icc: Command line remark: option '-MP' not supported
3648 if (grep 'ignoring option' conftest.err ||
3649 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3650 am_cv_CC_dependencies_compiler_type
=$depmode
3659 am_cv_CC_dependencies_compiler_type
=none
3663 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3664 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3665 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3668 test "x$enable_dependency_tracking" != xno \
3669 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3671 am__fastdepCC_FALSE
='#'
3673 am__fastdepCC_TRUE
='#'
3674 am__fastdepCC_FALSE
=
3678 # Find a good install program. We prefer a C program (faster),
3679 # so one script is as good as another. But avoid the broken or
3680 # incompatible versions:
3681 # SysV /etc/install, /usr/sbin/install
3682 # SunOS /usr/etc/install
3683 # IRIX /sbin/install
3685 # AmigaOS /C/install, which installs bootblocks on floppy discs
3686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3689 # OS/2's system install, which has a completely different semantic
3690 # ./install, which can be erroneously created by make from ./install.sh.
3691 # Reject install programs that cannot install multiple files.
3692 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3693 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3694 if test -z "$INSTALL"; then
3695 if test "${ac_cv_path_install+set}" = set; then
3696 $as_echo_n "(cached) " >&6
3698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir
=.
3703 # Account for people who put trailing slashes in PATH elements.
3705 .
/ | .
// |
/cC
/* | \
3706 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3707 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3710 # OSF1 and SCO ODT 3.0 have their own names for install.
3711 # Don't use installbsd from OSF since it installs stuff as root
3713 for ac_prog
in ginstall scoinst
install; do
3714 for ac_exec_ext
in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3716 if test $ac_prog = install &&
3717 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3718 # AIX install. It has an incompatible calling convention.
3720 elif test $ac_prog = install &&
3721 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3722 # program-specific install script used by HP pwplus--don't use.
3725 rm -rf conftest.one conftest.two conftest.dir
3726 echo one
> conftest.one
3727 echo two
> conftest.two
3729 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3730 test -s conftest.one
&& test -s conftest.two
&&
3731 test -s conftest.dir
/conftest.one
&&
3732 test -s conftest.dir
/conftest.two
3734 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3747 rm -rf conftest.one conftest.two conftest.dir
3750 if test "${ac_cv_path_install+set}" = set; then
3751 INSTALL
=$ac_cv_path_install
3753 # As a last resort, use the slow shell script. Don't cache a
3754 # value for INSTALL within a source directory, because that will
3755 # break other packages using the cache if that directory is
3756 # removed, or if the value is a relative name.
3757 INSTALL
=$ac_install_sh
3760 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3761 $as_echo "$INSTALL" >&6; }
3763 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3764 # It thinks the first close brace ends the variable substitution.
3765 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3767 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3769 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3771 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3772 $as_echo_n "checking whether ln -s works... " >&6; }
3774 if test "$LN_S" = "ln -s"; then
3775 { $as_echo "$as_me:$LINENO: result: yes" >&5
3776 $as_echo "yes" >&6; }
3778 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3779 $as_echo "no, using $LN_S" >&6; }
3784 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3785 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3790 macro_version
='2.2.6'
3791 macro_revision
='1.3012'
3805 ltmain
="$ac_aux_dir/ltmain.sh"
3807 # Make sure we can run config.sub.
3808 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3809 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3810 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3811 { (exit 1); exit 1; }; }
3813 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3814 $as_echo_n "checking build system type... " >&6; }
3815 if test "${ac_cv_build+set}" = set; then
3816 $as_echo_n "(cached) " >&6
3818 ac_build_alias
=$build_alias
3819 test "x$ac_build_alias" = x
&&
3820 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3821 test "x$ac_build_alias" = x
&&
3822 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3823 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3824 { (exit 1); exit 1; }; }
3825 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3826 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3827 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3828 { (exit 1); exit 1; }; }
3831 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3832 $as_echo "$ac_cv_build" >&6; }
3833 case $ac_cv_build in
3835 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3836 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3837 { (exit 1); exit 1; }; };;
3840 ac_save_IFS
=$IFS; IFS
='-'
3846 # Remember, the first character of IFS is used to create $*,
3847 # except with old shells:
3850 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3853 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3854 $as_echo_n "checking host system type... " >&6; }
3855 if test "${ac_cv_host+set}" = set; then
3856 $as_echo_n "(cached) " >&6
3858 if test "x$host_alias" = x
; then
3859 ac_cv_host
=$ac_cv_build
3861 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3862 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3863 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3864 { (exit 1); exit 1; }; }
3868 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3869 $as_echo "$ac_cv_host" >&6; }
3872 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3873 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3874 { (exit 1); exit 1; }; };;
3877 ac_save_IFS
=$IFS; IFS
='-'
3883 # Remember, the first character of IFS is used to create $*,
3884 # except with old shells:
3887 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3890 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3891 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3892 if test "${ac_cv_path_SED+set}" = set; then
3893 $as_echo_n "(cached) " >&6
3895 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3896 for ac_i
in 1 2 3 4 5 6 7; do
3897 ac_script
="$ac_script$as_nl$ac_script"
3899 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3900 $as_unset ac_script || ac_script
=
3901 if test -z "$SED"; then
3902 ac_path_SED_found
=false
3903 # Loop through the user's path and test for each of PROGNAME-LIST
3904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir
=.
3909 for ac_prog
in sed gsed
; do
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3912 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3913 # Check for GNU ac_path_SED and select it if it is found.
3914 # Check for GNU $ac_path_SED
3915 case `"$ac_path_SED" --version 2>&1` in
3917 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3920 $as_echo_n 0123456789 >"conftest.in"
3923 cat "conftest.in" "conftest.in" >"conftest.tmp"
3924 mv "conftest.tmp" "conftest.in"
3925 cp "conftest.in" "conftest.nl"
3926 $as_echo '' >> "conftest.nl"
3927 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3928 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3929 ac_count
=`expr $ac_count + 1`
3930 if test $ac_count -gt ${ac_path_SED_max-0}; then
3931 # Best one so far, save it but keep looking for a better one
3932 ac_cv_path_SED
="$ac_path_SED"
3933 ac_path_SED_max
=$ac_count
3935 # 10*(2^10) chars as input seems more than enough
3936 test $ac_count -gt 10 && break
3938 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3941 $ac_path_SED_found && break 3
3946 if test -z "$ac_cv_path_SED"; then
3947 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3948 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3949 { (exit 1); exit 1; }; }
3956 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3957 $as_echo "$ac_cv_path_SED" >&6; }
3958 SED
="$ac_cv_path_SED"
3961 test -z "$SED" && SED
=sed
3962 Xsed
="$SED -e 1s/^X//"
3974 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3975 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3976 if test "${ac_cv_path_GREP+set}" = set; then
3977 $as_echo_n "(cached) " >&6
3979 if test -z "$GREP"; then
3980 ac_path_GREP_found
=false
3981 # Loop through the user's path and test for each of PROGNAME-LIST
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_prog
in grep ggrep
; do
3988 for ac_exec_ext
in '' $ac_executable_extensions; do
3989 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3990 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3991 # Check for GNU ac_path_GREP and select it if it is found.
3992 # Check for GNU $ac_path_GREP
3993 case `"$ac_path_GREP" --version 2>&1` in
3995 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3998 $as_echo_n 0123456789 >"conftest.in"
4001 cat "conftest.in" "conftest.in" >"conftest.tmp"
4002 mv "conftest.tmp" "conftest.in"
4003 cp "conftest.in" "conftest.nl"
4004 $as_echo 'GREP' >> "conftest.nl"
4005 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4006 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4007 ac_count
=`expr $ac_count + 1`
4008 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4009 # Best one so far, save it but keep looking for a better one
4010 ac_cv_path_GREP
="$ac_path_GREP"
4011 ac_path_GREP_max
=$ac_count
4013 # 10*(2^10) chars as input seems more than enough
4014 test $ac_count -gt 10 && break
4016 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4019 $ac_path_GREP_found && break 3
4024 if test -z "$ac_cv_path_GREP"; then
4025 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4026 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4027 { (exit 1); exit 1; }; }
4030 ac_cv_path_GREP
=$GREP
4034 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4035 $as_echo "$ac_cv_path_GREP" >&6; }
4036 GREP
="$ac_cv_path_GREP"
4039 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4040 $as_echo_n "checking for egrep... " >&6; }
4041 if test "${ac_cv_path_EGREP+set}" = set; then
4042 $as_echo_n "(cached) " >&6
4044 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4045 then ac_cv_path_EGREP
="$GREP -E"
4047 if test -z "$EGREP"; then
4048 ac_path_EGREP_found
=false
4049 # Loop through the user's path and test for each of PROGNAME-LIST
4050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4054 test -z "$as_dir" && as_dir
=.
4055 for ac_prog
in egrep; do
4056 for ac_exec_ext
in '' $ac_executable_extensions; do
4057 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4059 # Check for GNU ac_path_EGREP and select it if it is found.
4060 # Check for GNU $ac_path_EGREP
4061 case `"$ac_path_EGREP" --version 2>&1` in
4063 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4066 $as_echo_n 0123456789 >"conftest.in"
4069 cat "conftest.in" "conftest.in" >"conftest.tmp"
4070 mv "conftest.tmp" "conftest.in"
4071 cp "conftest.in" "conftest.nl"
4072 $as_echo 'EGREP' >> "conftest.nl"
4073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4074 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4075 ac_count
=`expr $ac_count + 1`
4076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4077 # Best one so far, save it but keep looking for a better one
4078 ac_cv_path_EGREP
="$ac_path_EGREP"
4079 ac_path_EGREP_max
=$ac_count
4081 # 10*(2^10) chars as input seems more than enough
4082 test $ac_count -gt 10 && break
4084 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4087 $ac_path_EGREP_found && break 3
4092 if test -z "$ac_cv_path_EGREP"; then
4093 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4094 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4095 { (exit 1); exit 1; }; }
4098 ac_cv_path_EGREP
=$EGREP
4103 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4104 $as_echo "$ac_cv_path_EGREP" >&6; }
4105 EGREP
="$ac_cv_path_EGREP"
4108 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4109 $as_echo_n "checking for fgrep... " >&6; }
4110 if test "${ac_cv_path_FGREP+set}" = set; then
4111 $as_echo_n "(cached) " >&6
4113 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4114 then ac_cv_path_FGREP
="$GREP -F"
4116 if test -z "$FGREP"; then
4117 ac_path_FGREP_found
=false
4118 # Loop through the user's path and test for each of PROGNAME-LIST
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4120 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4123 test -z "$as_dir" && as_dir
=.
4124 for ac_prog
in fgrep
; do
4125 for ac_exec_ext
in '' $ac_executable_extensions; do
4126 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4127 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4128 # Check for GNU ac_path_FGREP and select it if it is found.
4129 # Check for GNU $ac_path_FGREP
4130 case `"$ac_path_FGREP" --version 2>&1` in
4132 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4135 $as_echo_n 0123456789 >"conftest.in"
4138 cat "conftest.in" "conftest.in" >"conftest.tmp"
4139 mv "conftest.tmp" "conftest.in"
4140 cp "conftest.in" "conftest.nl"
4141 $as_echo 'FGREP' >> "conftest.nl"
4142 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4143 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4144 ac_count
=`expr $ac_count + 1`
4145 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4146 # Best one so far, save it but keep looking for a better one
4147 ac_cv_path_FGREP
="$ac_path_FGREP"
4148 ac_path_FGREP_max
=$ac_count
4150 # 10*(2^10) chars as input seems more than enough
4151 test $ac_count -gt 10 && break
4153 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4156 $ac_path_FGREP_found && break 3
4161 if test -z "$ac_cv_path_FGREP"; then
4162 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4163 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4164 { (exit 1); exit 1; }; }
4167 ac_cv_path_FGREP
=$FGREP
4172 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4173 $as_echo "$ac_cv_path_FGREP" >&6; }
4174 FGREP
="$ac_cv_path_FGREP"
4177 test -z "$GREP" && GREP
=grep
4197 # Check whether --with-gnu-ld was given.
4198 if test "${with_gnu_ld+set}" = set; then
4199 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4205 if test "$GCC" = yes; then
4206 # Check if gcc -print-prog-name=ld gives a path.
4207 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4208 $as_echo_n "checking for ld used by $CC... " >&6; }
4211 # gcc leaves a trailing carriage return which upsets mingw
4212 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4214 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4217 # Accept absolute paths.
4219 re_direlt
='/[^/][^/]*/\.\./'
4220 # Canonicalize the pathname of ld
4221 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4222 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4223 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4225 test -z "$LD" && LD
="$ac_prog"
4228 # If it fails, then pretend we aren't using GCC.
4232 # If it is relative, then search for the first ld in PATH.
4236 elif test "$with_gnu_ld" = yes; then
4237 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4238 $as_echo_n "checking for GNU ld... " >&6; }
4240 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4241 $as_echo_n "checking for non-GNU ld... " >&6; }
4243 if test "${lt_cv_path_LD+set}" = set; then
4244 $as_echo_n "(cached) " >&6
4246 if test -z "$LD"; then
4247 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4248 for ac_dir
in $PATH; do
4250 test -z "$ac_dir" && ac_dir
=.
4251 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4252 lt_cv_path_LD
="$ac_dir/$ac_prog"
4253 # Check to see if the program is GNU ld. I'd rather use --version,
4254 # but apparently some variants of GNU ld only accept -v.
4255 # Break only if it was the GNU/non-GNU ld that we prefer.
4256 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4257 *GNU
* |
*'with BFD'*)
4258 test "$with_gnu_ld" != no
&& break
4261 test "$with_gnu_ld" != yes && break
4268 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4273 if test -n "$LD"; then
4274 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4275 $as_echo "$LD" >&6; }
4277 { $as_echo "$as_me:$LINENO: result: no" >&5
4278 $as_echo "no" >&6; }
4280 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4281 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4282 { (exit 1); exit 1; }; }
4283 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4285 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4286 $as_echo_n "(cached) " >&6
4288 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4289 case `$LD -v 2>&1 </dev/null` in
4290 *GNU
* |
*'with BFD'*)
4291 lt_cv_prog_gnu_ld
=yes
4294 lt_cv_prog_gnu_ld
=no
4298 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4300 with_gnu_ld
=$lt_cv_prog_gnu_ld
4310 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4311 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4312 if test "${lt_cv_path_NM+set}" = set; then
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$NM"; then
4316 # Let the user override the test.
4319 lt_nm_to_check
="${ac_tool_prefix}nm"
4320 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4321 lt_nm_to_check
="$lt_nm_to_check nm"
4323 for lt_tmp_nm
in $lt_nm_to_check; do
4324 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4325 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4327 test -z "$ac_dir" && ac_dir
=.
4328 tmp_nm
="$ac_dir/$lt_tmp_nm"
4329 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4330 # Check to see if the nm accepts a BSD-compat flag.
4331 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4332 # nm: unknown option "B" ignored
4333 # Tru64's nm complains that /dev/null is an invalid object file
4334 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4335 */dev
/null
* |
*'Invalid file or object type'*)
4336 lt_cv_path_NM
="$tmp_nm -B"
4340 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4342 lt_cv_path_NM
="$tmp_nm -p"
4346 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4347 continue # so that we can try to find one that supports BSD flags
4356 : ${lt_cv_path_NM=no}
4359 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4360 $as_echo "$lt_cv_path_NM" >&6; }
4361 if test "$lt_cv_path_NM" != "no"; then
4364 # Didn't find any BSD compatible name lister, look for dumpbin.
4365 if test -n "$ac_tool_prefix"; then
4366 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4369 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4371 $as_echo_n "checking for $ac_word... " >&6; }
4372 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4373 $as_echo_n "(cached) " >&6
4375 if test -n "$DUMPBIN"; then
4376 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4382 test -z "$as_dir" && as_dir
=.
4383 for ac_exec_ext
in '' $ac_executable_extensions; do
4384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4385 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4386 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 DUMPBIN
=$ac_cv_prog_DUMPBIN
4396 if test -n "$DUMPBIN"; then
4397 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4398 $as_echo "$DUMPBIN" >&6; }
4400 { $as_echo "$as_me:$LINENO: result: no" >&5
4401 $as_echo "no" >&6; }
4405 test -n "$DUMPBIN" && break
4408 if test -z "$DUMPBIN"; then
4409 ac_ct_DUMPBIN
=$DUMPBIN
4410 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4412 # Extract the first word of "$ac_prog", so it can be a program name with args.
4413 set dummy
$ac_prog; ac_word
=$2
4414 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$ac_ct_DUMPBIN"; then
4420 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir
=.
4427 for ac_exec_ext
in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4430 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4440 if test -n "$ac_ct_DUMPBIN"; then
4441 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4442 $as_echo "$ac_ct_DUMPBIN" >&6; }
4444 { $as_echo "$as_me:$LINENO: result: no" >&5
4445 $as_echo "no" >&6; }
4449 test -n "$ac_ct_DUMPBIN" && break
4452 if test "x$ac_ct_DUMPBIN" = x
; then
4455 case $cross_compiling:$ac_tool_warned in
4457 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4459 ac_tool_warned
=yes ;;
4461 DUMPBIN
=$ac_ct_DUMPBIN
4466 if test "$DUMPBIN" != ":"; then
4470 test -z "$NM" && NM
=nm
4477 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4478 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4479 if test "${lt_cv_nm_interface+set}" = set; then
4480 $as_echo_n "(cached) " >&6
4482 lt_cv_nm_interface
="BSD nm"
4483 echo "int some_variable = 0;" > conftest.
$ac_ext
4484 (eval echo "\"\$as_me:4484: $ac_compile\"" >&5)
4485 (eval "$ac_compile" 2>conftest.err
)
4486 cat conftest.err
>&5
4487 (eval echo "\"\$as_me:4487: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4488 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4489 cat conftest.err
>&5
4490 (eval echo "\"\$as_me:4490: output\"" >&5)
4491 cat conftest.out
>&5
4492 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4493 lt_cv_nm_interface
="MS dumpbin"
4497 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4498 $as_echo "$lt_cv_nm_interface" >&6; }
4500 # find the maximum length of command line arguments
4501 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4502 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4503 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4504 $as_echo_n "(cached) " >&6
4511 # On DJGPP, this test can blow up pretty badly due to problems in libc
4512 # (any single argument exceeding 2000 bytes causes a buffer overrun
4513 # during glob expansion). Even if it were fixed, the result of this
4514 # check would be larger than it should be.
4515 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4519 # Under GNU Hurd, this test is not required because there is
4520 # no limit to the length of command line arguments.
4521 # Libtool will interpret -1 as no limit whatsoever
4522 lt_cv_sys_max_cmd_len
=-1;
4525 cygwin
* | mingw
* | cegcc
*)
4526 # On Win9x/ME, this test blows up -- it succeeds, but takes
4527 # about 5 minutes as the teststring grows exponentially.
4528 # Worse, since 9x/ME are not pre-emptively multitasking,
4529 # you end up with a "frozen" computer, even though with patience
4530 # the test eventually succeeds (with a max line length of 256k).
4531 # Instead, let's just punt: use the minimum linelength reported by
4532 # all of the supported platforms: 8192 (on NT/2K/XP).
4533 lt_cv_sys_max_cmd_len
=8192;
4537 # On AmigaOS with pdksh, this test takes hours, literally.
4538 # So we just punt and use a minimum line length of 8192.
4539 lt_cv_sys_max_cmd_len
=8192;
4542 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4543 # This has been around since 386BSD, at least. Likely further.
4544 if test -x /sbin
/sysctl
; then
4545 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4546 elif test -x /usr
/sbin
/sysctl
; then
4547 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4549 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4551 # And add a safety zone
4552 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4553 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4557 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4558 lt_cv_sys_max_cmd_len
=196608
4562 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4563 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4564 # nice to cause kernel panics so lets avoid the loop below.
4565 # First set a reasonable default.
4566 lt_cv_sys_max_cmd_len
=16384
4568 if test -x /sbin
/sysconfig
; then
4569 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4570 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4575 lt_cv_sys_max_cmd_len
=102400
4577 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4578 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4579 if test -n "$kargmax"; then
4580 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4582 lt_cv_sys_max_cmd_len
=32768
4586 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4587 if test -n "$lt_cv_sys_max_cmd_len"; then
4588 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4589 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4591 # Make teststring a little bigger before we do anything with it.
4592 # a 1K string should be a reasonable start.
4593 for i
in 1 2 3 4 5 6 7 8 ; do
4594 teststring
=$teststring$teststring
4596 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4597 # If test is not a shell built-in, we'll probably end up computing a
4598 # maximum length that is only half of the actual maximum length, but
4600 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4601 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4602 test $i != 17 # 1/2 MB should be enough
4605 teststring
=$teststring$teststring
4607 # Only check the string length outside the loop.
4608 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4610 # Add a significant safety factor because C++ compilers can tack on
4611 # massive amounts of additional arguments before passing them to the
4612 # linker. It appears as though 1/2 is a usable value.
4613 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4620 if test -n $lt_cv_sys_max_cmd_len ; then
4621 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4622 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4624 { $as_echo "$as_me:$LINENO: result: none" >&5
4625 $as_echo "none" >&6; }
4627 max_cmd_len
=$lt_cv_sys_max_cmd_len
4638 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4639 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4640 # Try some XSI features
4643 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4645 && eval 'test $(( 1 + 1 )) -eq 2 \
4646 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4648 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4649 $as_echo "$xsi_shell" >&6; }
4652 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4653 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4655 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4657 && lt_shell_append=yes
4658 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4659 $as_echo "$lt_shell_append" >&6; }
4662 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4672 # test EBCDIC or ASCII
4673 case `echo X|tr X '\101'` in
4674 A) # ASCII based system
4675 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4676 lt_SP2NL='tr \040 \012'
4677 lt_NL2SP='tr \015\012 \040\040'
4679 *) # EBCDIC based system
4680 lt_SP2NL='tr \100 \n'
4681 lt_NL2SP='tr \r\n \100\100'
4693 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4694 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4695 if test "${lt_cv_ld_reload_flag+set}" = set; then
4696 $as_echo_n "(cached
) " >&6
4698 lt_cv_ld_reload_flag='-r'
4700 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4701 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4702 reload_flag=$lt_cv_ld_reload_flag
4703 case $reload_flag in
4705 *) reload_flag=" $reload_flag" ;;
4707 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4710 if test "$GCC" = yes; then
4711 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4713 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4726 if test -n "$ac_tool_prefix"; then
4727 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4728 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4729 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4730 $as_echo_n "checking
for $ac_word...
" >&6; }
4731 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4732 $as_echo_n "(cached
) " >&6
4734 if test -n "$OBJDUMP"; then
4735 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir=.
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4744 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4745 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4754 OBJDUMP=$ac_cv_prog_OBJDUMP
4755 if test -n "$OBJDUMP"; then
4756 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4757 $as_echo "$OBJDUMP" >&6; }
4759 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4760 $as_echo "no
" >&6; }
4765 if test -z "$ac_cv_prog_OBJDUMP"; then
4766 ac_ct_OBJDUMP=$OBJDUMP
4767 # Extract the first word of "objdump
", so it can be a program name with args.
4768 set dummy objdump; ac_word=$2
4769 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4770 $as_echo_n "checking
for $ac_word...
" >&6; }
4771 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4772 $as_echo_n "(cached
) " >&6
4774 if test -n "$ac_ct_OBJDUMP"; then
4775 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir=.
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4784 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4785 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4794 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4795 if test -n "$ac_ct_OBJDUMP"; then
4796 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4797 $as_echo "$ac_ct_OBJDUMP" >&6; }
4799 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4800 $as_echo "no
" >&6; }
4803 if test "x
$ac_ct_OBJDUMP" = x; then
4806 case $cross_compiling:$ac_tool_warned in
4808 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4809 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4810 ac_tool_warned=yes ;;
4812 OBJDUMP=$ac_ct_OBJDUMP
4815 OBJDUMP="$ac_cv_prog_OBJDUMP"
4818 test -z "$OBJDUMP" && OBJDUMP=objdump
4828 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4829 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4830 if test "${lt_cv_deplibs_check_method+set}" = set; then
4831 $as_echo_n "(cached
) " >&6
4833 lt_cv_file_magic_cmd='$MAGIC_CMD'
4834 lt_cv_file_magic_test_file=
4835 lt_cv_deplibs_check_method='unknown'
4836 # Need to set the preceding variable on all platforms that support
4837 # interlibrary dependencies.
4838 # 'none' -- dependencies not supported.
4839 # `unknown' -- same as none, but documents that we really don't know.
4840 # 'pass_all' -- all dependencies passed with no checks.
4841 # 'test_compile' -- check by making test program.
4842 # 'file_magic [[regex]]' -- check by looking for files in library path
4843 # which responds to the $file_magic_cmd with a given extended regex.
4844 # If you have `file' or equivalent on your system and you're not sure
4845 # whether `pass_all' will *always* work, you probably want this one.
4849 lt_cv_deplibs_check_method=pass_all
4853 lt_cv_deplibs_check_method=pass_all
4857 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4858 lt_cv_file_magic_cmd='/usr/bin/file -L'
4859 lt_cv_file_magic_test_file=/shlib/libc.so
4863 # func_win32_libid is a shell function defined in ltmain.sh
4864 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4865 lt_cv_file_magic_cmd='func_win32_libid'
4869 # Base MSYS/MinGW do not provide the 'file' command needed by
4870 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4871 # unless we find 'file', for example because we are cross-compiling.
4872 if ( file / ) >/dev/null 2>&1; then
4873 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4874 lt_cv_file_magic_cmd='func_win32_libid'
4876 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4877 lt_cv_file_magic_cmd='$OBJDUMP -f'
4882 # use the weaker test based on 'objdump'. See mingw*.
4883 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4884 lt_cv_file_magic_cmd='$OBJDUMP -f'
4887 darwin* | rhapsody*)
4888 lt_cv_deplibs_check_method=pass_all
4891 freebsd* | dragonfly*)
4892 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4895 # Not sure whether the presence of OpenBSD here was a mistake.
4896 # Let's accept both of them until this is cleared up.
4897 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4898 lt_cv_file_magic_cmd=/usr/bin/file
4899 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4903 lt_cv_deplibs_check_method=pass_all
4908 lt_cv_deplibs_check_method=pass_all
4911 hpux10.20* | hpux11*)
4912 lt_cv_file_magic_cmd=/usr/bin/file
4915 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4916 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4919 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]'
4920 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4923 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4924 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4930 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4931 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4934 irix5* | irix6* | nonstopux*)
4936 *-32|*"-32 ") libmagic=32-bit;;
4937 *-n32|*"-n32 ") libmagic=N32;;
4938 *-64|*"-64 ") libmagic=64-bit;;
4939 *) libmagic=never-match;;
4941 lt_cv_deplibs_check_method=pass_all
4944 # This must be Linux ELF.
4945 linux* | k*bsd*-gnu)
4946 lt_cv_deplibs_check_method=pass_all
4950 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4951 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4953 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4958 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4959 lt_cv_file_magic_cmd=/usr/bin/file
4960 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4964 lt_cv_deplibs_check_method=pass_all
4968 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4971 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4975 osf3* | osf4* | osf5*)
4976 lt_cv_deplibs_check_method=pass_all
4980 lt_cv_deplibs_check_method=pass_all
4984 lt_cv_deplibs_check_method=pass_all
4987 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4988 lt_cv_deplibs_check_method=pass_all
4992 case $host_vendor in
4994 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]'
4995 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4998 lt_cv_deplibs_check_method=pass_all
5001 lt_cv_file_magic_cmd='/bin/file'
5002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5005 lt_cv_file_magic_cmd='/bin/file'
5006 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5007 lt_cv_file_magic_test_file=/lib/libc.so
5010 lt_cv_deplibs_check_method=pass_all
5013 lt_cv_deplibs_check_method=pass_all
5019 lt_cv_deplibs_check_method=pass_all
5024 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5025 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5026 file_magic_cmd=$lt_cv_file_magic_cmd
5027 deplibs_check_method=$lt_cv_deplibs_check_method
5028 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5041 if test -n "$ac_tool_prefix"; then
5042 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5043 set dummy ${ac_tool_prefix}ar; ac_word=$2
5044 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5045 $as_echo_n "checking
for $ac_word...
" >&6; }
5046 if test "${ac_cv_prog_AR+set}" = set; then
5047 $as_echo_n "(cached
) " >&6
5049 if test -n "$AR"; then
5050 ac_cv_prog_AR="$AR" # Let the user override the test.
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5059 ac_cv_prog_AR="${ac_tool_prefix}ar"
5060 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5070 if test -n "$AR"; then
5071 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5072 $as_echo "$AR" >&6; }
5074 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5075 $as_echo "no
" >&6; }
5080 if test -z "$ac_cv_prog_AR"; then
5082 # Extract the first word of "ar", so it can be a program name with args.
5083 set dummy ar; ac_word=$2
5084 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5085 $as_echo_n "checking
for $ac_word...
" >&6; }
5086 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5087 $as_echo_n "(cached
) " >&6
5089 if test -n "$ac_ct_AR"; then
5090 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 test -z "$as_dir" && as_dir=.
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5099 ac_cv_prog_ac_ct_AR="ar"
5100 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5109 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5110 if test -n "$ac_ct_AR"; then
5111 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5112 $as_echo "$ac_ct_AR" >&6; }
5114 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5115 $as_echo "no
" >&6; }
5118 if test "x
$ac_ct_AR" = x; then
5121 case $cross_compiling:$ac_tool_warned in
5123 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5124 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5125 ac_tool_warned=yes ;;
5133 test -z "$AR" && AR=ar
5134 test -z "$AR_FLAGS" && AR_FLAGS=cru
5146 if test -n "$ac_tool_prefix"; then
5147 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5148 set dummy ${ac_tool_prefix}strip; ac_word=$2
5149 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5150 $as_echo_n "checking
for $ac_word...
" >&6; }
5151 if test "${ac_cv_prog_STRIP+set}" = set; then
5152 $as_echo_n "(cached
) " >&6
5154 if test -n "$STRIP"; then
5155 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5164 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5165 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5174 STRIP=$ac_cv_prog_STRIP
5175 if test -n "$STRIP"; then
5176 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5177 $as_echo "$STRIP" >&6; }
5179 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5180 $as_echo "no
" >&6; }
5185 if test -z "$ac_cv_prog_STRIP"; then
5187 # Extract the first word of "strip
", so it can be a program name with args.
5188 set dummy strip; ac_word=$2
5189 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5190 $as_echo_n "checking
for $ac_word...
" >&6; }
5191 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5192 $as_echo_n "(cached
) " >&6
5194 if test -n "$ac_ct_STRIP"; then
5195 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5204 ac_cv_prog_ac_ct_STRIP="strip
"
5205 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5214 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5215 if test -n "$ac_ct_STRIP"; then
5216 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5217 $as_echo "$ac_ct_STRIP" >&6; }
5219 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5220 $as_echo "no
" >&6; }
5223 if test "x
$ac_ct_STRIP" = x; then
5226 case $cross_compiling:$ac_tool_warned in
5228 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5229 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5230 ac_tool_warned=yes ;;
5235 STRIP="$ac_cv_prog_STRIP"
5238 test -z "$STRIP" && STRIP=:
5245 if test -n "$ac_tool_prefix"; then
5246 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5247 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5248 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5249 $as_echo_n "checking
for $ac_word...
" >&6; }
5250 if test "${ac_cv_prog_RANLIB+set}" = set; then
5251 $as_echo_n "(cached
) " >&6
5253 if test -n "$RANLIB"; then
5254 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5264 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5273 RANLIB=$ac_cv_prog_RANLIB
5274 if test -n "$RANLIB"; then
5275 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5276 $as_echo "$RANLIB" >&6; }
5278 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5279 $as_echo "no
" >&6; }
5284 if test -z "$ac_cv_prog_RANLIB"; then
5285 ac_ct_RANLIB=$RANLIB
5286 # Extract the first word of "ranlib
", so it can be a program name with args.
5287 set dummy ranlib; ac_word=$2
5288 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5289 $as_echo_n "checking
for $ac_word...
" >&6; }
5290 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5291 $as_echo_n "(cached
) " >&6
5293 if test -n "$ac_ct_RANLIB"; then
5294 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir=.
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5304 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5313 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5314 if test -n "$ac_ct_RANLIB"; then
5315 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5316 $as_echo "$ac_ct_RANLIB" >&6; }
5318 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5319 $as_echo "no
" >&6; }
5322 if test "x
$ac_ct_RANLIB" = x; then
5325 case $cross_compiling:$ac_tool_warned in
5327 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5328 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5329 ac_tool_warned=yes ;;
5331 RANLIB=$ac_ct_RANLIB
5334 RANLIB="$ac_cv_prog_RANLIB"
5337 test -z "$RANLIB" && RANLIB=:
5344 # Determine commands to create old-style static archives.
5345 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5346 old_postinstall_cmds='chmod 644 $oldlib'
5347 old_postuninstall_cmds=
5349 if test -n "$RANLIB"; then
5352 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5355 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5358 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5394 # If no C compiler was specified, use CC.
5397 # If no C compiler flags were specified, use CFLAGS.
5398 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5400 # Allow CC to be a program name with arguments.
5404 # Check for command to grab the raw symbol name followed by C symbol from nm.
5405 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5406 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5407 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5408 $as_echo_n "(cached
) " >&6
5411 # These are sane defaults that work on at least a few old systems.
5412 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5414 # Character class describing NM global symbol codes.
5415 symcode='[BCDEGRST]'
5417 # Regexp to match symbols that can be accessed directly from C.
5418 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5420 # Define system-specific variables.
5425 cygwin* | mingw* | pw32* | cegcc*)
5426 symcode='[ABCDGISTW]'
5429 if test "$host_cpu" = ia64; then
5430 symcode='[ABCDEGRST]'
5434 symcode='[BCDEGRST]'
5437 symcode='[BCDEGQRST]'
5448 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5456 # If we're using GNU nm, then use its standard symbol codes.
5457 case `$NM -V 2>&1` in
5458 *GNU* | *'with BFD'*)
5459 symcode='[ABCDGIRSTW]' ;;
5462 # Transform an extracted symbol line into a proper C declaration.
5463 # Some systems (esp. on ia64) link data and code symbols differently,
5464 # so use this general approach.
5465 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5467 # Transform an extracted symbol line into symbol name and symbol address
5468 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5469 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'"
5471 # Handle CRLF in mingw tool chain
5475 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5479 # Try without a prefix underscore, then with it.
5480 for ac_symprfx in "" "_
"; do
5482 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5483 symxfrm="\\1 $ac_symprfx\\2 \\2"
5485 # Write the raw and C identifiers.
5486 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5487 # Fake it for dumpbin and say T for any non-static function
5488 # and D for any global variable.
5489 # Also find C++ and __fastcall symbols from MSVC++,
5490 # which start with @ or ?.
5491 lt_cv_sys_global_symbol_pipe="$AWK '"\
5492 " {last_section=section; section=\$ 3};"\
5493 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5494 " \$ 0!~/External *\|/{next};"\
5495 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5496 " {if(hide[section]) next};"\
5497 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5498 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5499 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5500 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5501 " ' prfx
=^
$ac_symprfx"
5503 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5506 # Check to see that the pipe works correctly.
5510 cat > conftest.$ac_ext <<_LT_EOF
5515 void nm_test_func(void);
5516 void nm_test_func(void){}
5520 int main(){nm_test_var='a';nm_test_func();return(0);}
5523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5524 (eval $ac_compile) 2>&5
5526 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5527 (exit $ac_status); }; then
5528 # Now try to grab the symbols.
5530 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5531 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5533 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5534 (exit $ac_status); } && test -s "$nlist"; then
5535 # Try sorting and uniquifying the output.
5536 if sort "$nlist" | uniq > "$nlist"T; then
5537 mv -f "$nlist"T "$nlist"
5542 # Make sure that we snagged all the symbols we need.
5543 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5544 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5545 cat <<_LT_EOF > conftest.$ac_ext
5551 # Now generate the symbol file.
5552 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5554 cat <<_LT_EOF >> conftest.$ac_ext
5556 /* The mapping between symbol names and symbols. */
5561 lt__PROGRAM__LTX_preloaded_symbols[] =
5563 { "@PROGRAM@
", (void *) 0 },
5565 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5566 cat <<\_LT_EOF >> conftest.$ac_ext
5570 /* This works around a problem in FreeBSD linker */
5571 #ifdef FREEBSD_WORKAROUND
5572 static const void *lt_preloaded_setup() {
5573 return lt__PROGRAM__LTX_preloaded_symbols;
5581 # Now try linking the two files.
5582 mv conftest.$ac_objext conftstm.$ac_objext
5583 lt_save_LIBS="$LIBS"
5584 lt_save_CFLAGS="$CFLAGS"
5585 LIBS="conftstm.
$ac_objext"
5586 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5588 (eval $ac_link) 2>&5
5590 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5591 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5594 LIBS="$lt_save_LIBS"
5595 CFLAGS="$lt_save_CFLAGS"
5597 echo "cannot
find nm_test_func
in $nlist" >&5
5600 echo "cannot
find nm_test_var
in $nlist" >&5
5603 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5606 echo "$progname: failed program was
:" >&5
5607 cat conftest.$ac_ext >&5
5609 rm -rf conftest* conftst*
5611 # Do not use the global_symbol_pipe unless it works.
5612 if test "$pipe_works" = yes; then
5615 lt_cv_sys_global_symbol_pipe=
5621 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5622 lt_cv_sys_global_symbol_to_cdecl=
5624 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5625 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5626 $as_echo "failed
" >&6; }
5628 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5629 $as_echo "ok
" >&6; }
5654 # Check whether --enable-libtool-lock was given.
5655 if test "${enable_libtool_lock+set}" = set; then
5656 enableval=$enable_libtool_lock;
5659 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5661 # Some flags need to be propagated to the compiler or linker for good
5665 # Find out which ABI we are using.
5666 echo 'int i;' > conftest.$ac_ext
5667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5668 (eval $ac_compile) 2>&5
5670 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5671 (exit $ac_status); }; then
5672 case `/usr/bin/file conftest.$ac_objext` in
5684 # Find out which ABI we are using.
5685 echo '#line 5685 "configure
"' > conftest.$ac_ext
5686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5687 (eval $ac_compile) 2>&5
5689 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5690 (exit $ac_status); }; then
5691 if test "$lt_cv_prog_gnu_ld" = yes; then
5692 case `/usr/bin/file conftest.$ac_objext` in
5694 LD="${LD-ld} -melf32bsmip"
5697 LD="${LD-ld} -melf32bmipn32"
5700 LD="${LD-ld} -melf64bmip"
5704 case `/usr/bin/file conftest.$ac_objext` in
5720 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5721 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5722 # Find out which ABI we are using.
5723 echo 'int i;' > conftest.$ac_ext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5725 (eval $ac_compile) 2>&5
5727 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5728 (exit $ac_status); }; then
5729 case `/usr/bin/file conftest.o` in
5732 x86_64-*kfreebsd*-gnu)
5733 LD="${LD-ld} -m elf_i386_fbsd
"
5736 LD="${LD-ld} -m elf_i386
"
5738 ppc64-*linux*|powerpc64-*linux*)
5739 LD="${LD-ld} -m elf32ppclinux
"
5742 LD="${LD-ld} -m elf_s390
"
5745 LD="${LD-ld} -m elf32_sparc
"
5751 x86_64-*kfreebsd*-gnu)
5752 LD="${LD-ld} -m elf_x86_64_fbsd
"
5755 LD="${LD-ld} -m elf_x86_64
"
5757 ppc*-*linux*|powerpc*-*linux*)
5758 LD="${LD-ld} -m elf64ppc
"
5760 s390*-*linux*|s390*-*tpf*)
5761 LD="${LD-ld} -m elf64_s390
"
5764 LD="${LD-ld} -m elf64_sparc
"
5774 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5775 SAVE_CFLAGS="$CFLAGS"
5776 CFLAGS="$CFLAGS -belf"
5777 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5778 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5779 if test "${lt_cv_cc_needs_belf+set}" = set; then
5780 $as_echo_n "(cached
) " >&6
5783 ac_cpp='$CPP $CPPFLAGS'
5784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5788 cat >conftest.$ac_ext <<_ACEOF
5791 cat confdefs.h >>conftest.$ac_ext
5792 cat >>conftest.$ac_ext <<_ACEOF
5793 /* end confdefs.h. */
5803 rm -f conftest.$ac_objext conftest$ac_exeext
5804 if { (ac_try="$ac_link"
5806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5807 *) ac_try_echo=$ac_try;;
5809 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5810 $as_echo "$ac_try_echo") >&5
5811 (eval "$ac_link") 2>conftest.er1
5813 grep -v '^ *+' conftest.er1 >conftest.err
5815 cat conftest.err >&5
5816 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5817 (exit $ac_status); } && {
5818 test -z "$ac_c_werror_flag" ||
5819 test ! -s conftest.err
5820 } && test -s conftest$ac_exeext && {
5821 test "$cross_compiling" = yes ||
5822 $as_test_x conftest$ac_exeext
5824 lt_cv_cc_needs_belf=yes
5826 $as_echo "$as_me: failed program was
:" >&5
5827 sed 's/^/| /' conftest.$ac_ext >&5
5829 lt_cv_cc_needs_belf=no
5832 rm -rf conftest.dSYM
5833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5834 conftest$ac_exeext conftest.$ac_ext
5836 ac_cpp='$CPP $CPPFLAGS'
5837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5842 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5843 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5844 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5845 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5846 CFLAGS="$SAVE_CFLAGS"
5850 # Find out which ABI we are using.
5851 echo 'int i;' > conftest.$ac_ext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5853 (eval $ac_compile) 2>&5
5855 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5856 (exit $ac_status); }; then
5857 case `/usr/bin/file conftest.o` in
5859 case $lt_cv_prog_gnu_ld in
5860 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5862 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5874 need_locks="$enable_libtool_lock"
5878 rhapsody* | darwin*)
5879 if test -n "$ac_tool_prefix"; then
5880 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5882 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5883 $as_echo_n "checking
for $ac_word...
" >&6; }
5884 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5885 $as_echo_n "(cached
) " >&6
5887 if test -n "$DSYMUTIL"; then
5888 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5898 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5907 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5908 if test -n "$DSYMUTIL"; then
5909 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5910 $as_echo "$DSYMUTIL" >&6; }
5912 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5913 $as_echo "no
" >&6; }
5918 if test -z "$ac_cv_prog_DSYMUTIL"; then
5919 ac_ct_DSYMUTIL=$DSYMUTIL
5920 # Extract the first word of "dsymutil
", so it can be a program name with args.
5921 set dummy dsymutil; ac_word=$2
5922 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5923 $as_echo_n "checking
for $ac_word...
" >&6; }
5924 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5925 $as_echo_n "(cached
) " >&6
5927 if test -n "$ac_ct_DSYMUTIL"; then
5928 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5937 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5938 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5947 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5948 if test -n "$ac_ct_DSYMUTIL"; then
5949 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5950 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5952 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5953 $as_echo "no
" >&6; }
5956 if test "x
$ac_ct_DSYMUTIL" = x; then
5959 case $cross_compiling:$ac_tool_warned in
5961 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5962 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5963 ac_tool_warned=yes ;;
5965 DSYMUTIL=$ac_ct_DSYMUTIL
5968 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5974 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5975 $as_echo_n "checking
for $ac_word...
" >&6; }
5976 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5977 $as_echo_n "(cached
) " >&6
5979 if test -n "$NMEDIT"; then
5980 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5990 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5999 NMEDIT=$ac_cv_prog_NMEDIT
6000 if test -n "$NMEDIT"; then
6001 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6002 $as_echo "$NMEDIT" >&6; }
6004 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6005 $as_echo "no
" >&6; }
6010 if test -z "$ac_cv_prog_NMEDIT"; then
6011 ac_ct_NMEDIT=$NMEDIT
6012 # Extract the first word of "nmedit
", so it can be a program name with args.
6013 set dummy nmedit; ac_word=$2
6014 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6015 $as_echo_n "checking
for $ac_word...
" >&6; }
6016 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6017 $as_echo_n "(cached
) " >&6
6019 if test -n "$ac_ct_NMEDIT"; then
6020 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6030 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6039 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6040 if test -n "$ac_ct_NMEDIT"; then
6041 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6042 $as_echo "$ac_ct_NMEDIT" >&6; }
6044 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6045 $as_echo "no
" >&6; }
6048 if test "x
$ac_ct_NMEDIT" = x; then
6051 case $cross_compiling:$ac_tool_warned in
6053 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6054 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6055 ac_tool_warned=yes ;;
6057 NMEDIT=$ac_ct_NMEDIT
6060 NMEDIT="$ac_cv_prog_NMEDIT"
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6065 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6066 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6067 $as_echo_n "checking
for $ac_word...
" >&6; }
6068 if test "${ac_cv_prog_LIPO+set}" = set; then
6069 $as_echo_n "(cached
) " >&6
6071 if test -n "$LIPO"; then
6072 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6082 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6091 LIPO=$ac_cv_prog_LIPO
6092 if test -n "$LIPO"; then
6093 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6094 $as_echo "$LIPO" >&6; }
6096 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6097 $as_echo "no
" >&6; }
6102 if test -z "$ac_cv_prog_LIPO"; then
6104 # Extract the first word of "lipo
", so it can be a program name with args.
6105 set dummy lipo; ac_word=$2
6106 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6107 $as_echo_n "checking
for $ac_word...
" >&6; }
6108 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6109 $as_echo_n "(cached
) " >&6
6111 if test -n "$ac_ct_LIPO"; then
6112 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6121 ac_cv_prog_ac_ct_LIPO="lipo
"
6122 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6131 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6132 if test -n "$ac_ct_LIPO"; then
6133 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6134 $as_echo "$ac_ct_LIPO" >&6; }
6136 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6137 $as_echo "no
" >&6; }
6140 if test "x
$ac_ct_LIPO" = x; then
6143 case $cross_compiling:$ac_tool_warned in
6145 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6146 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6147 ac_tool_warned=yes ;;
6152 LIPO="$ac_cv_prog_LIPO"
6155 if test -n "$ac_tool_prefix"; then
6156 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6157 set dummy ${ac_tool_prefix}otool; ac_word=$2
6158 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6159 $as_echo_n "checking
for $ac_word...
" >&6; }
6160 if test "${ac_cv_prog_OTOOL+set}" = set; then
6161 $as_echo_n "(cached
) " >&6
6163 if test -n "$OTOOL"; then
6164 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6174 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6183 OTOOL=$ac_cv_prog_OTOOL
6184 if test -n "$OTOOL"; then
6185 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6186 $as_echo "$OTOOL" >&6; }
6188 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6189 $as_echo "no
" >&6; }
6194 if test -z "$ac_cv_prog_OTOOL"; then
6196 # Extract the first word of "otool
", so it can be a program name with args.
6197 set dummy otool; ac_word=$2
6198 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6199 $as_echo_n "checking
for $ac_word...
" >&6; }
6200 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6201 $as_echo_n "(cached
) " >&6
6203 if test -n "$ac_ct_OTOOL"; then
6204 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6213 ac_cv_prog_ac_ct_OTOOL="otool
"
6214 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6223 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6224 if test -n "$ac_ct_OTOOL"; then
6225 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6226 $as_echo "$ac_ct_OTOOL" >&6; }
6228 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6229 $as_echo "no
" >&6; }
6232 if test "x
$ac_ct_OTOOL" = x; then
6235 case $cross_compiling:$ac_tool_warned in
6237 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6238 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6239 ac_tool_warned=yes ;;
6244 OTOOL="$ac_cv_prog_OTOOL"
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6249 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6250 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6251 $as_echo_n "checking
for $ac_word...
" >&6; }
6252 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6253 $as_echo_n "(cached
) " >&6
6255 if test -n "$OTOOL64"; then
6256 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6265 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6266 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6275 OTOOL64=$ac_cv_prog_OTOOL64
6276 if test -n "$OTOOL64"; then
6277 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6278 $as_echo "$OTOOL64" >&6; }
6280 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6281 $as_echo "no
" >&6; }
6286 if test -z "$ac_cv_prog_OTOOL64"; then
6287 ac_ct_OTOOL64=$OTOOL64
6288 # Extract the first word of "otool64
", so it can be a program name with args.
6289 set dummy otool64; ac_word=$2
6290 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6291 $as_echo_n "checking
for $ac_word...
" >&6; }
6292 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6293 $as_echo_n "(cached
) " >&6
6295 if test -n "$ac_ct_OTOOL64"; then
6296 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6306 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6315 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6316 if test -n "$ac_ct_OTOOL64"; then
6317 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6318 $as_echo "$ac_ct_OTOOL64" >&6; }
6320 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6321 $as_echo "no
" >&6; }
6324 if test "x
$ac_ct_OTOOL64" = x; then
6327 case $cross_compiling:$ac_tool_warned in
6329 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6330 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6331 ac_tool_warned=yes ;;
6333 OTOOL64=$ac_ct_OTOOL64
6336 OTOOL64="$ac_cv_prog_OTOOL64"
6365 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6366 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6367 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6368 $as_echo_n "(cached
) " >&6
6370 lt_cv_apple_cc_single_mod=no
6371 if test -z "${LT_MULTI_MODULE}"; then
6372 # By default we will add the -single_module flag. You can override
6373 # by either setting the environment variable LT_MULTI_MODULE
6374 # non-empty at configure time, or by adding -multi_module to the
6376 rm -rf libconftest.dylib*
6377 echo "int foo
(void
){return 1;}" > conftest.c
6378 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6379 -dynamiclib -Wl,-single_module conftest.c
" >&5
6380 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6381 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6383 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6384 lt_cv_apple_cc_single_mod=yes
6386 cat conftest.err >&5
6388 rm -rf libconftest.dylib*
6392 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6393 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6394 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6395 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6396 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6397 $as_echo_n "(cached
) " >&6
6399 lt_cv_ld_exported_symbols_list=no
6400 save_LDFLAGS=$LDFLAGS
6401 echo "_main
" > conftest.sym
6402 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6403 cat >conftest.$ac_ext <<_ACEOF
6406 cat confdefs.h >>conftest.$ac_ext
6407 cat >>conftest.$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6424 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6425 $as_echo "$ac_try_echo") >&5
6426 (eval "$ac_link") 2>conftest.er1
6428 grep -v '^ *+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext && {
6436 test "$cross_compiling" = yes ||
6437 $as_test_x conftest$ac_exeext
6439 lt_cv_ld_exported_symbols_list=yes
6441 $as_echo "$as_me: failed program was
:" >&5
6442 sed 's/^/| /' conftest.$ac_ext >&5
6444 lt_cv_ld_exported_symbols_list=no
6447 rm -rf conftest.dSYM
6448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6449 conftest$ac_exeext conftest.$ac_ext
6450 LDFLAGS="$save_LDFLAGS"
6453 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6454 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6456 rhapsody* | darwin1.[012])
6457 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6459 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6460 darwin*) # darwin 5.x on
6461 # if running on 10.5 or later, the deployment target defaults
6462 # to the OS version, if on x86, and 10.4, the deployment
6463 # target defaults to 10.4. Don't you love it?
6464 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6465 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6466 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6468 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6470 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6474 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6475 _lt_dar_single_mod='$single_module'
6477 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6478 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6480 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6482 if test "$DSYMUTIL" != ":"; then
6483 _lt_dsymutil='~$DSYMUTIL $lib || :'
6491 ac_cpp='$CPP $CPPFLAGS'
6492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6495 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6496 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6497 # On Suns, sometimes $CPP names a directory.
6498 if test -n "$CPP" && test -d "$CPP"; then
6501 if test -z "$CPP"; then
6502 if test "${ac_cv_prog_CPP+set}" = set; then
6503 $as_echo_n "(cached
) " >&6
6505 # Double quotes because CPP needs to be expanded
6506 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6509 for ac_c_preproc_warn_flag in '' yes
6511 # Use a header file that comes with gcc, so configuring glibc
6512 # with a fresh cross-compiler works.
6513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6514 # <limits.h> exists even on freestanding compilers.
6515 # On the NeXT, cc -E runs the code through the compiler's parser,
6516 # not just through cpp. "Syntax error
" is here to catch this case.
6517 cat >conftest.$ac_ext <<_ACEOF
6520 cat confdefs.h >>conftest.$ac_ext
6521 cat >>conftest.$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6524 # include <limits.h>
6526 # include <assert.h>
6530 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;;
6535 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6536 $as_echo "$ac_try_echo") >&5
6537 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6539 grep -v '^ *+' conftest.er1 >conftest.err
6541 cat conftest.err >&5
6542 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6543 (exit $ac_status); } >/dev/null && {
6544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6545 test ! -s conftest.err
6549 $as_echo "$as_me: failed program was
:" >&5
6550 sed 's/^/| /' conftest.$ac_ext >&5
6552 # Broken: fails on valid input.
6556 rm -f conftest.err conftest.$ac_ext
6558 # OK, works on sane cases. Now check whether nonexistent headers
6559 # can be detected and how.
6560 cat >conftest.$ac_ext <<_ACEOF
6563 cat confdefs.h >>conftest.$ac_ext
6564 cat >>conftest.$ac_ext <<_ACEOF
6565 /* end confdefs.h. */
6566 #include <ac_nonexistent.h>
6568 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6571 *) ac_try_echo=$ac_try;;
6573 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6574 $as_echo "$ac_try_echo") >&5
6575 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6577 grep -v '^ *+' conftest.er1 >conftest.err
6579 cat conftest.err >&5
6580 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6581 (exit $ac_status); } >/dev/null && {
6582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6583 test ! -s conftest.err
6585 # Broken: success on invalid input.
6588 $as_echo "$as_me: failed program was
:" >&5
6589 sed 's/^/| /' conftest.$ac_ext >&5
6591 # Passes both tests.
6596 rm -f conftest.err conftest.$ac_ext
6599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6600 rm -f conftest.err conftest.$ac_ext
6601 if $ac_preproc_ok; then
6613 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6614 $as_echo "$CPP" >&6; }
6616 for ac_c_preproc_warn_flag in '' yes
6618 # Use a header file that comes with gcc, so configuring glibc
6619 # with a fresh cross-compiler works.
6620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6621 # <limits.h> exists even on freestanding compilers.
6622 # On the NeXT, cc -E runs the code through the compiler's parser,
6623 # not just through cpp. "Syntax error
" is here to catch this case.
6624 cat >conftest.$ac_ext <<_ACEOF
6627 cat confdefs.h >>conftest.$ac_ext
6628 cat >>conftest.$ac_ext <<_ACEOF
6629 /* end confdefs.h. */
6631 # include <limits.h>
6633 # include <assert.h>
6637 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6640 *) ac_try_echo=$ac_try;;
6642 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6643 $as_echo "$ac_try_echo") >&5
6644 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6646 grep -v '^ *+' conftest.er1 >conftest.err
6648 cat conftest.err >&5
6649 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6650 (exit $ac_status); } >/dev/null && {
6651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6652 test ! -s conftest.err
6656 $as_echo "$as_me: failed program was
:" >&5
6657 sed 's/^/| /' conftest.$ac_ext >&5
6659 # Broken: fails on valid input.
6663 rm -f conftest.err conftest.$ac_ext
6665 # OK, works on sane cases. Now check whether nonexistent headers
6666 # can be detected and how.
6667 cat >conftest.$ac_ext <<_ACEOF
6670 cat confdefs.h >>conftest.$ac_ext
6671 cat >>conftest.$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6673 #include <ac_nonexistent.h>
6675 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6680 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6681 $as_echo "$ac_try_echo") >&5
6682 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6684 grep -v '^ *+' conftest.er1 >conftest.err
6686 cat conftest.err >&5
6687 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6688 (exit $ac_status); } >/dev/null && {
6689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6690 test ! -s conftest.err
6692 # Broken: success on invalid input.
6695 $as_echo "$as_me: failed program was
:" >&5
6696 sed 's/^/| /' conftest.$ac_ext >&5
6698 # Passes both tests.
6703 rm -f conftest.err conftest.$ac_ext
6706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6707 rm -f conftest.err conftest.$ac_ext
6708 if $ac_preproc_ok; then
6711 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6713 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6714 See \`config.log' for more details.
" >&5
6715 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6716 See \
`config.log' for more details." >&2;}
6717 { (exit 1); exit 1; }; }; }
6721 ac_cpp='$CPP $CPPFLAGS'
6722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6727 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6728 $as_echo_n "checking for ANSI C header files... " >&6; }
6729 if test "${ac_cv_header_stdc+set}" = set; then
6730 $as_echo_n "(cached) " >&6
6732 cat >conftest.$ac_ext <<_ACEOF
6735 cat confdefs.h >>conftest.$ac_ext
6736 cat >>conftest.$ac_ext <<_ACEOF
6737 /* end confdefs.h. */
6751 rm -f conftest.$ac_objext
6752 if { (ac_try="$ac_compile"
6754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6755 *) ac_try_echo
=$ac_try;;
6757 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6758 $as_echo "$ac_try_echo") >&5
6759 (eval "$ac_compile") 2>conftest.er1
6761 grep -v '^ *+' conftest.er1
>conftest.err
6763 cat conftest.err
>&5
6764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } && {
6766 test -z "$ac_c_werror_flag" ||
6767 test ! -s conftest.err
6768 } && test -s conftest.
$ac_objext; then
6769 ac_cv_header_stdc
=yes
6771 $as_echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.
$ac_ext >&5
6774 ac_cv_header_stdc
=no
6777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6779 if test $ac_cv_header_stdc = yes; then
6780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6781 cat >conftest.
$ac_ext <<_ACEOF
6784 cat confdefs.h
>>conftest.
$ac_ext
6785 cat >>conftest.
$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6791 $EGREP "memchr" >/dev
/null
2>&1; then
6794 ac_cv_header_stdc
=no
6800 if test $ac_cv_header_stdc = yes; then
6801 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6802 cat >conftest.
$ac_ext <<_ACEOF
6805 cat confdefs.h
>>conftest.
$ac_ext
6806 cat >>conftest.
$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6812 $EGREP "free" >/dev
/null
2>&1; then
6815 ac_cv_header_stdc
=no
6821 if test $ac_cv_header_stdc = yes; then
6822 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6823 if test "$cross_compiling" = yes; then
6826 cat >conftest.
$ac_ext <<_ACEOF
6829 cat confdefs.h
>>conftest.
$ac_ext
6830 cat >>conftest.
$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6834 #if ((' ' & 0x0FF) == 0x020)
6835 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6836 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6838 # define ISLOWER(c) \
6839 (('a' <= (c) && (c) <= 'i') \
6840 || ('j' <= (c) && (c) <= 'r') \
6841 || ('s' <= (c) && (c) <= 'z'))
6842 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6845 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6850 for (i = 0; i < 256; i++)
6851 if (XOR (islower (i), ISLOWER (i))
6852 || toupper (i) != TOUPPER (i))
6857 rm -f conftest
$ac_exeext
6858 if { (ac_try
="$ac_link"
6860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6861 *) ac_try_echo=$ac_try;;
6863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6864 $as_echo "$ac_try_echo") >&5
6865 (eval "$ac_link") 2>&5
6867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6869 { (case "(($ac_try" in
6870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6871 *) ac_try_echo
=$ac_try;;
6873 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6874 $as_echo "$ac_try_echo") >&5
6875 (eval "$ac_try") 2>&5
6877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); }; }; then
6881 $as_echo "$as_me: program exited with status $ac_status" >&5
6882 $as_echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.
$ac_ext >&5
6886 ac_cv_header_stdc
=no
6888 rm -rf conftest.dSYM
6889 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6895 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6896 $as_echo "$ac_cv_header_stdc" >&6; }
6897 if test $ac_cv_header_stdc = yes; then
6899 cat >>confdefs.h
<<\_ACEOF
6900 #define STDC_HEADERS 1
6905 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6915 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6916 inttypes.h stdint.h unistd.h
6918 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6919 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6920 $as_echo_n "checking for $ac_header... " >&6; }
6921 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6922 $as_echo_n "(cached) " >&6
6924 cat >conftest.
$ac_ext <<_ACEOF
6927 cat confdefs.h
>>conftest.
$ac_ext
6928 cat >>conftest.
$ac_ext <<_ACEOF
6929 /* end confdefs.h. */
6930 $ac_includes_default
6932 #include <$ac_header>
6934 rm -f conftest.
$ac_objext
6935 if { (ac_try
="$ac_compile"
6937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6938 *) ac_try_echo=$ac_try;;
6940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6941 $as_echo "$ac_try_echo") >&5
6942 (eval "$ac_compile") 2>conftest.er1
6944 grep -v '^ *+' conftest.er1 >conftest.err
6946 cat conftest.err >&5
6947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); } && {
6949 test -z "$ac_c_werror_flag" ||
6950 test ! -s conftest.err
6951 } && test -s conftest.$ac_objext; then
6952 eval "$as_ac_Header=yes"
6954 $as_echo "$as_me: failed program was:" >&5
6955 sed 's/^/| /' conftest.$ac_ext >&5
6957 eval "$as_ac_Header=no"
6960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6962 ac_res=`eval 'as_val=${'$as_ac_Header'}
6963 $as_echo "$as_val"'`
6964 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6965 $as_echo "$ac_res" >&6; }
6966 as_val=`eval 'as_val=${'$as_ac_Header'}
6967 $as_echo "$as_val"'`
6968 if test "x$as_val" = x""yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6979 for ac_header in dlfcn.h
6981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6982 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6983 $as_echo_n "checking for $ac_header... " >&6; }
6984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6985 $as_echo_n "(cached) " >&6
6987 cat >conftest.$ac_ext <<_ACEOF
6990 cat confdefs.h >>conftest.$ac_ext
6991 cat >>conftest.$ac_ext <<_ACEOF
6992 /* end confdefs.h. */
6993 $ac_includes_default
6995 #include <$ac_header>
6997 rm -f conftest.$ac_objext
6998 if { (ac_try="$ac_compile"
7000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7001 *) ac_try_echo
=$ac_try;;
7003 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7004 $as_echo "$ac_try_echo") >&5
7005 (eval "$ac_compile") 2>conftest.er1
7007 grep -v '^ *+' conftest.er1
>conftest.err
7009 cat conftest.err
>&5
7010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } && {
7012 test -z "$ac_c_werror_flag" ||
7013 test ! -s conftest.err
7014 } && test -s conftest.
$ac_objext; then
7015 eval "$as_ac_Header=yes"
7017 $as_echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.
$ac_ext >&5
7020 eval "$as_ac_Header=no"
7023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7025 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7026 $as_echo "$as_val"'`
7027 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7028 $as_echo "$ac_res" >&6; }
7029 as_val
=`eval 'as_val=${'$as_ac_Header'}
7030 $as_echo "$as_val"'`
7031 if test "x$as_val" = x
""yes; then
7032 cat >>confdefs.h
<<_ACEOF
7033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7052 # Check whether --enable-shared was given.
7053 if test "${enable_shared+set}" = set; then
7054 enableval
=$enable_shared; p
=${PACKAGE-default}
7056 yes) enable_shared
=yes ;;
7057 no
) enable_shared
=no
;;
7060 # Look at the argument we got. We use all the common list separators.
7061 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7062 for pkg
in $enableval; do
7064 if test "X$pkg" = "X$p"; then
7083 # Check whether --enable-static was given.
7084 if test "${enable_static+set}" = set; then
7085 enableval
=$enable_static; p
=${PACKAGE-default}
7087 yes) enable_static
=yes ;;
7088 no
) enable_static
=no
;;
7091 # Look at the argument we got. We use all the common list separators.
7092 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7093 for pkg
in $enableval; do
7095 if test "X$pkg" = "X$p"; then
7115 # Check whether --with-pic was given.
7116 if test "${with_pic+set}" = set; then
7117 withval
=$with_pic; pic_mode
="$withval"
7123 test -z "$pic_mode" && pic_mode
=default
7131 # Check whether --enable-fast-install was given.
7132 if test "${enable_fast_install+set}" = set; then
7133 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7135 yes) enable_fast_install
=yes ;;
7136 no
) enable_fast_install
=no
;;
7138 enable_fast_install
=no
7139 # Look at the argument we got. We use all the common list separators.
7140 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7141 for pkg
in $enableval; do
7143 if test "X$pkg" = "X$p"; then
7144 enable_fast_install
=yes
7151 enable_fast_install
=yes
7164 # This can be used to rebuild libtool when needed
7165 LIBTOOL_DEPS
="$ltmain"
7167 # Always use our own libtool.
7168 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7194 test -z "$LN_S" && LN_S
="ln -s"
7209 if test -n "${ZSH_VERSION+set}" ; then
7210 setopt NO_GLOB_SUBST
7213 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7214 $as_echo_n "checking for objdir... " >&6; }
7215 if test "${lt_cv_objdir+set}" = set; then
7216 $as_echo_n "(cached) " >&6
7218 rm -f .libs
2>/dev
/null
7219 mkdir .libs
2>/dev
/null
7220 if test -d .libs
; then
7223 # MS-DOS does not allow filenames that begin with a dot.
7226 rmdir .libs
2>/dev
/null
7228 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7229 $as_echo "$lt_cv_objdir" >&6; }
7230 objdir
=$lt_cv_objdir
7236 cat >>confdefs.h
<<_ACEOF
7237 #define LT_OBJDIR "$lt_cv_objdir/"
7258 # AIX sometimes has problems with the GCC collect2 program. For some
7259 # reason, if we set the COLLECT_NAMES environment variable, the problems
7260 # vanish in a puff of smoke.
7261 if test "X${COLLECT_NAMES+set}" != Xset
; then
7263 export COLLECT_NAMES
7268 # Sed substitution that helps us do robust quoting. It backslashifies
7269 # metacharacters that are still active within double-quoted strings.
7270 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7272 # Same as above, but do not quote variable references.
7273 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7275 # Sed substitution to delay expansion of an escaped shell variable in a
7276 # double_quote_subst'ed string.
7277 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7279 # Sed substitution to delay expansion of an escaped single quote.
7280 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7282 # Sed substitution to avoid accidental globbing in evaled expressions
7283 no_glob_subst
='s/\*/\\\*/g'
7287 can_build_shared
=yes
7289 # All known linkers require a `.a' archive for static linking (except MSVC,
7290 # which needs '.lib').
7293 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7296 old_CFLAGS
="$CFLAGS"
7298 # Set sane defaults for various variables
7299 test -z "$CC" && CC
=cc
7300 test -z "$LTCC" && LTCC
=$CC
7301 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7302 test -z "$LD" && LD
=ld
7303 test -z "$ac_objext" && ac_objext
=o
7305 for cc_temp
in $compiler""; do
7307 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7308 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7313 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7316 # Only perform the check for file, if the check method requires it
7317 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7318 case $deplibs_check_method in
7320 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7321 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7322 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7323 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7324 $as_echo_n "(cached) " >&6
7328 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7331 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7332 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7333 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7334 for ac_dir
in $ac_dummy; do
7336 test -z "$ac_dir" && ac_dir
=.
7337 if test -f $ac_dir/${ac_tool_prefix}file; then
7338 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7339 if test -n "$file_magic_test_file"; then
7340 case $deplibs_check_method in
7342 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7343 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7344 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7345 $EGREP "$file_magic_regex" > /dev
/null
; then
7350 *** Warning: the command libtool uses to detect shared libraries,
7351 *** $file_magic_cmd, produces output that libtool cannot recognize.
7352 *** The result is that libtool may fail to recognize shared libraries
7353 *** as such. This will affect the creation of libtool libraries that
7354 *** depend on shared libraries, but programs linked with such libtool
7355 *** libraries will work regardless of this problem. Nevertheless, you
7356 *** may want to report the problem to your system manager and/or to
7357 *** bug-libtool@gnu.org
7367 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7372 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7373 if test -n "$MAGIC_CMD"; then
7374 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7375 $as_echo "$MAGIC_CMD" >&6; }
7377 { $as_echo "$as_me:$LINENO: result: no" >&5
7378 $as_echo "no" >&6; }
7385 if test -z "$lt_cv_path_MAGIC_CMD"; then
7386 if test -n "$ac_tool_prefix"; then
7387 { $as_echo "$as_me:$LINENO: checking for file" >&5
7388 $as_echo_n "checking for file... " >&6; }
7389 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7390 $as_echo_n "(cached) " >&6
7394 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7397 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7398 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7399 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7400 for ac_dir
in $ac_dummy; do
7402 test -z "$ac_dir" && ac_dir
=.
7403 if test -f $ac_dir/file; then
7404 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7405 if test -n "$file_magic_test_file"; then
7406 case $deplibs_check_method in
7408 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7409 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7410 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7411 $EGREP "$file_magic_regex" > /dev
/null
; then
7416 *** Warning: the command libtool uses to detect shared libraries,
7417 *** $file_magic_cmd, produces output that libtool cannot recognize.
7418 *** The result is that libtool may fail to recognize shared libraries
7419 *** as such. This will affect the creation of libtool libraries that
7420 *** depend on shared libraries, but programs linked with such libtool
7421 *** libraries will work regardless of this problem. Nevertheless, you
7422 *** may want to report the problem to your system manager and/or to
7423 *** bug-libtool@gnu.org
7433 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7438 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7439 if test -n "$MAGIC_CMD"; then
7440 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7441 $as_echo "$MAGIC_CMD" >&6; }
7443 { $as_echo "$as_me:$LINENO: result: no" >&5
7444 $as_echo "no" >&6; }
7457 # Use C for the default configuration in the libtool script
7461 ac_cpp
='$CPP $CPPFLAGS'
7462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7467 # Source file extension for C test sources.
7470 # Object file extension for compiled C test sources.
7474 # Code to be used in simple compile tests
7475 lt_simple_compile_test_code
="int some_variable = 0;"
7477 # Code to be used in simple link tests
7478 lt_simple_link_test_code
='int main(){return(0);}'
7486 # If no C compiler was specified, use CC.
7489 # If no C compiler flags were specified, use CFLAGS.
7490 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7492 # Allow CC to be a program name with arguments.
7495 # Save the default compiler, since it gets overwritten when the other
7496 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7497 compiler_DEFAULT
=$CC
7499 # save warnings/boilerplate of simple test code
7500 ac_outfile
=conftest.
$ac_objext
7501 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7502 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7503 _lt_compiler_boilerplate
=`cat conftest.err`
7506 ac_outfile
=conftest.
$ac_objext
7507 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7508 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7509 _lt_linker_boilerplate
=`cat conftest.err`
7513 if test -n "$compiler"; then
7515 lt_prog_compiler_no_builtin_flag
=
7517 if test "$GCC" = yes; then
7518 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7520 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7521 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7522 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7523 $as_echo_n "(cached) " >&6
7525 lt_cv_prog_compiler_rtti_exceptions
=no
7526 ac_outfile
=conftest.
$ac_objext
7527 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7528 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7529 # Insert the option either (1) after the last *FLAGS variable, or
7530 # (2) before a word containing "conftest.", or (3) at the end.
7531 # Note that $ac_compile itself does not contain backslashes and begins
7532 # with a dollar sign (not a hyphen), so the echo should work correctly.
7533 # The option is referenced via a variable to avoid confusing sed.
7534 lt_compile
=`echo "$ac_compile" | $SED \
7535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7537 -e 's:$: $lt_compiler_flag:'`
7538 (eval echo "\"\$as_me:7538: $lt_compile\"" >&5)
7539 (eval "$lt_compile" 2>conftest.err
)
7541 cat conftest.err
>&5
7542 echo "$as_me:7542: \$? = $ac_status" >&5
7543 if (exit $ac_status) && test -s "$ac_outfile"; then
7544 # The compiler can only warn and ignore the option if not recognized
7545 # So say no if there are warnings other than the usual output.
7546 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7547 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7548 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7549 lt_cv_prog_compiler_rtti_exceptions
=yes
7555 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7556 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7558 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7559 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7571 lt_prog_compiler_wl
=
7572 lt_prog_compiler_pic
=
7573 lt_prog_compiler_static
=
7575 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7576 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7578 if test "$GCC" = yes; then
7579 lt_prog_compiler_wl
='-Wl,'
7580 lt_prog_compiler_static
='-static'
7584 # All AIX code is PIC.
7585 if test "$host_cpu" = ia64
; then
7586 # AIX 5 now supports IA64 processor
7587 lt_prog_compiler_static
='-Bstatic'
7594 # see comment about AmigaOS4 .so support
7595 lt_prog_compiler_pic
='-fPIC'
7598 # FIXME: we need at least 68020 code to build shared libraries, but
7599 # adding the `-m68020' flag to GCC prevents building anything better,
7601 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7606 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7607 # PIC is the default for these OSes.
7610 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7611 # This hack is so that the source file can tell whether it is being
7612 # built for inclusion in a dll (and should export symbols for example).
7613 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7614 # (--disable-auto-import) libraries
7615 lt_prog_compiler_pic
='-DDLL_EXPORT'
7618 darwin
* | rhapsody
*)
7619 # PIC is the default on this platform
7620 # Common symbols not allowed in MH_DYLIB files
7621 lt_prog_compiler_pic
='-fno-common'
7625 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7626 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7627 # sets the default TLS model and affects inlining.
7633 lt_prog_compiler_pic
='-fPIC'
7639 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7640 # Instead, we relocate shared libraries at runtime.
7644 # Just because we use GCC doesn't mean we suddenly get shared libraries
7645 # on systems that don't support them.
7646 lt_prog_compiler_can_build_shared
=no
7651 # QNX uses GNU C++, but need to define -shared option too, otherwise
7653 lt_prog_compiler_pic
='-fPIC -shared'
7657 if test -d /usr
/nec
; then
7658 lt_prog_compiler_pic
=-Kconform_pic
7663 lt_prog_compiler_pic
='-fPIC'
7667 # PORTME Check for flag to pass linker flags through the system compiler.
7670 lt_prog_compiler_wl
='-Wl,'
7671 if test "$host_cpu" = ia64
; then
7672 # AIX 5 now supports IA64 processor
7673 lt_prog_compiler_static
='-Bstatic'
7675 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7679 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7680 # This hack is so that the source file can tell whether it is being
7681 # built for inclusion in a dll (and should export symbols for example).
7682 lt_prog_compiler_pic
='-DDLL_EXPORT'
7685 hpux9
* | hpux10
* | hpux11
*)
7686 lt_prog_compiler_wl
='-Wl,'
7687 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7694 lt_prog_compiler_pic
='+Z'
7697 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7698 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7701 irix5
* | irix6
* | nonstopux
*)
7702 lt_prog_compiler_wl
='-Wl,'
7703 # PIC (with -KPIC) is the default.
7704 lt_prog_compiler_static
='-non_shared'
7707 linux
* | k
*bsd
*-gnu)
7708 case $cc_basename in
7709 # old Intel for x86_64 which still supported -KPIC.
7711 lt_prog_compiler_wl
='-Wl,'
7712 lt_prog_compiler_pic
='-KPIC'
7713 lt_prog_compiler_static
='-static'
7715 # icc used to be incompatible with GCC.
7716 # ICC 10 doesn't accept -KPIC any more.
7718 lt_prog_compiler_wl
='-Wl,'
7719 lt_prog_compiler_pic
='-fPIC'
7720 lt_prog_compiler_static
='-static'
7722 # Lahey Fortran 8.1.
7724 lt_prog_compiler_wl
='-Wl,'
7725 lt_prog_compiler_pic
='--shared'
7726 lt_prog_compiler_static
='--static'
7728 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7729 # Portland Group compilers (*not* the Pentium gcc compiler,
7730 # which looks to be a dead project)
7731 lt_prog_compiler_wl
='-Wl,'
7732 lt_prog_compiler_pic
='-fpic'
7733 lt_prog_compiler_static
='-Bstatic'
7736 lt_prog_compiler_wl
='-Wl,'
7737 # All Alpha code is PIC.
7738 lt_prog_compiler_static
='-non_shared'
7741 # IBM XL C 8.0/Fortran 10.1 on PPC
7742 lt_prog_compiler_wl
='-Wl,'
7743 lt_prog_compiler_pic
='-qpic'
7744 lt_prog_compiler_static
='-qstaticlink'
7747 case `$CC -V 2>&1 | sed 5q` in
7750 lt_prog_compiler_pic
='-KPIC'
7751 lt_prog_compiler_static
='-Bstatic'
7752 lt_prog_compiler_wl
='-Wl,'
7755 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7756 lt_prog_compiler_pic
='-KPIC'
7757 lt_prog_compiler_static
='-Bstatic'
7758 lt_prog_compiler_wl
=''
7766 lt_prog_compiler_pic
='-KPIC'
7767 lt_prog_compiler_static
='-Bstatic'
7771 # QNX uses GNU C++, but need to define -shared option too, otherwise
7773 lt_prog_compiler_pic
='-fPIC -shared'
7776 osf3
* | osf4
* | osf5
*)
7777 lt_prog_compiler_wl
='-Wl,'
7778 # All OSF/1 code is PIC.
7779 lt_prog_compiler_static
='-non_shared'
7783 lt_prog_compiler_static
='-non_shared'
7787 lt_prog_compiler_pic
='-KPIC'
7788 lt_prog_compiler_static
='-Bstatic'
7789 case $cc_basename in
7791 lt_prog_compiler_wl
='-Qoption ld ';;
7793 lt_prog_compiler_wl
='-Wl,';;
7798 lt_prog_compiler_wl
='-Qoption ld '
7799 lt_prog_compiler_pic
='-PIC'
7800 lt_prog_compiler_static
='-Bstatic'
7803 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7804 lt_prog_compiler_wl
='-Wl,'
7805 lt_prog_compiler_pic
='-KPIC'
7806 lt_prog_compiler_static
='-Bstatic'
7810 if test -d /usr
/nec
;then
7811 lt_prog_compiler_pic
='-Kconform_pic'
7812 lt_prog_compiler_static
='-Bstatic'
7816 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7817 lt_prog_compiler_wl
='-Wl,'
7818 lt_prog_compiler_pic
='-KPIC'
7819 lt_prog_compiler_static
='-Bstatic'
7823 lt_prog_compiler_wl
='-Wl,'
7824 lt_prog_compiler_can_build_shared
=no
7828 lt_prog_compiler_pic
='-pic'
7829 lt_prog_compiler_static
='-Bstatic'
7833 lt_prog_compiler_can_build_shared
=no
7839 # For platforms which do not support PIC, -DPIC is meaningless:
7841 lt_prog_compiler_pic
=
7844 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7847 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7848 $as_echo "$lt_prog_compiler_pic" >&6; }
7856 # Check to make sure the PIC flag actually works.
7858 if test -n "$lt_prog_compiler_pic"; then
7859 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7860 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7861 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7862 $as_echo_n "(cached) " >&6
7864 lt_cv_prog_compiler_pic_works
=no
7865 ac_outfile
=conftest.
$ac_objext
7866 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7867 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7868 # Insert the option either (1) after the last *FLAGS variable, or
7869 # (2) before a word containing "conftest.", or (3) at the end.
7870 # Note that $ac_compile itself does not contain backslashes and begins
7871 # with a dollar sign (not a hyphen), so the echo should work correctly.
7872 # The option is referenced via a variable to avoid confusing sed.
7873 lt_compile
=`echo "$ac_compile" | $SED \
7874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7876 -e 's:$: $lt_compiler_flag:'`
7877 (eval echo "\"\$as_me:7877: $lt_compile\"" >&5)
7878 (eval "$lt_compile" 2>conftest.err
)
7880 cat conftest.err
>&5
7881 echo "$as_me:7881: \$? = $ac_status" >&5
7882 if (exit $ac_status) && test -s "$ac_outfile"; then
7883 # The compiler can only warn and ignore the option if not recognized
7884 # So say no if there are warnings other than the usual output.
7885 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7886 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7887 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7888 lt_cv_prog_compiler_pic_works
=yes
7894 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7895 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7897 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7898 case $lt_prog_compiler_pic in
7900 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7903 lt_prog_compiler_pic
=
7904 lt_prog_compiler_can_build_shared
=no
7915 # Check to make sure the static flag actually works.
7917 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7918 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7919 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7920 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7921 $as_echo_n "(cached) " >&6
7923 lt_cv_prog_compiler_static_works
=no
7924 save_LDFLAGS
="$LDFLAGS"
7925 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7926 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7927 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7928 # The linker can only warn and ignore the option if not recognized
7929 # So say no if there are warnings
7930 if test -s conftest.err
; then
7931 # Append any errors to the config.log.
7932 cat conftest.err
1>&5
7933 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7934 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7935 if diff conftest.exp conftest.er2
>/dev
/null
; then
7936 lt_cv_prog_compiler_static_works
=yes
7939 lt_cv_prog_compiler_static_works
=yes
7943 LDFLAGS
="$save_LDFLAGS"
7946 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7947 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7949 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7952 lt_prog_compiler_static
=
7961 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7962 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7963 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7964 $as_echo_n "(cached) " >&6
7966 lt_cv_prog_compiler_c_o
=no
7967 $RM -r conftest
2>/dev
/null
7971 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7973 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7974 # Insert the option either (1) after the last *FLAGS variable, or
7975 # (2) before a word containing "conftest.", or (3) at the end.
7976 # Note that $ac_compile itself does not contain backslashes and begins
7977 # with a dollar sign (not a hyphen), so the echo should work correctly.
7978 lt_compile
=`echo "$ac_compile" | $SED \
7979 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7981 -e 's:$: $lt_compiler_flag:'`
7982 (eval echo "\"\$as_me:7982: $lt_compile\"" >&5)
7983 (eval "$lt_compile" 2>out
/conftest.err
)
7985 cat out
/conftest.err
>&5
7986 echo "$as_me:7986: \$? = $ac_status" >&5
7987 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7989 # The compiler can only warn and ignore the option if not recognized
7990 # So say no if there are warnings
7991 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7992 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7993 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7994 lt_cv_prog_compiler_c_o
=yes
7999 # SGI C++ compiler will create directory out/ii_files/ for
8000 # template instantiation
8001 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8002 $RM out
/* && rmdir out
8008 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8009 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8016 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8017 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8018 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8019 $as_echo_n "(cached) " >&6
8021 lt_cv_prog_compiler_c_o
=no
8022 $RM -r conftest
2>/dev
/null
8026 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8028 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8029 # Insert the option either (1) after the last *FLAGS variable, or
8030 # (2) before a word containing "conftest.", or (3) at the end.
8031 # Note that $ac_compile itself does not contain backslashes and begins
8032 # with a dollar sign (not a hyphen), so the echo should work correctly.
8033 lt_compile
=`echo "$ac_compile" | $SED \
8034 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8036 -e 's:$: $lt_compiler_flag:'`
8037 (eval echo "\"\$as_me:8037: $lt_compile\"" >&5)
8038 (eval "$lt_compile" 2>out
/conftest.err
)
8040 cat out
/conftest.err
>&5
8041 echo "$as_me:8041: \$? = $ac_status" >&5
8042 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8044 # The compiler can only warn and ignore the option if not recognized
8045 # So say no if there are warnings
8046 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8047 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8048 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8049 lt_cv_prog_compiler_c_o
=yes
8054 # SGI C++ compiler will create directory out/ii_files/ for
8055 # template instantiation
8056 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8057 $RM out
/* && rmdir out
8063 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8064 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8069 hard_links
="nottested"
8070 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8071 # do not overwrite the value of need_locks provided by the user
8072 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8073 $as_echo_n "checking if we can lock with hard links... " >&6; }
8076 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8078 ln conftest.a conftest.b
2>&5 || hard_links
=no
8079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8080 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8081 $as_echo "$hard_links" >&6; }
8082 if test "$hard_links" = no
; then
8083 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8084 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8096 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8097 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8100 allow_undefined_flag
=
8101 always_export_symbols
=no
8103 archive_expsym_cmds
=
8104 compiler_needs_object
=no
8105 enable_shared_with_static_runtimes
=no
8106 export_dynamic_flag_spec
=
8107 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8108 hardcode_automatic
=no
8110 hardcode_direct_absolute
=no
8111 hardcode_libdir_flag_spec
=
8112 hardcode_libdir_flag_spec_ld
=
8113 hardcode_libdir_separator
=
8115 hardcode_shlibpath_var
=unsupported
8117 link_all_deplibs
=unknown
8120 old_archive_from_new_cmds
=
8121 old_archive_from_expsyms_cmds
=
8122 thread_safe_flag_spec
=
8123 whole_archive_flag_spec
=
8124 # include_expsyms should be a list of space-separated symbols to be *always*
8125 # included in the symbol list
8127 # exclude_expsyms can be an extended regexp of symbols to exclude
8128 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8129 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8130 # as well as any symbol that contains `d'.
8131 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8132 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8133 # platforms (ab)use it in PIC code, but their linkers get confused if
8134 # the symbol is explicitly referenced. Since portable code cannot
8135 # rely on this symbol name, it's probably fine to never include it in
8136 # preloaded symbol tables.
8137 # Exclude shared library initialization/finalization symbols.
8138 extract_expsyms_cmds
=
8141 cygwin
* | mingw
* | pw32
* | cegcc
*)
8142 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8143 # When not using gcc, we currently assume that we are using
8144 # Microsoft Visual C++.
8145 if test "$GCC" != yes; then
8150 # we just hope/assume this is gcc and not c89 (= MSVC++)
8159 if test "$with_gnu_ld" = yes; then
8160 # If archive_cmds runs LD, not CC, wlarc should be empty
8163 # Set some defaults for GNU ld with shared library support. These
8164 # are reset later if shared libraries are not supported. Putting them
8165 # here allows them to be overridden if necessary.
8166 runpath_var
=LD_RUN_PATH
8167 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8168 export_dynamic_flag_spec
='${wl}--export-dynamic'
8169 # ancient GNU ld didn't support --whole-archive et. al.
8170 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8171 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8173 whole_archive_flag_spec
=
8175 supports_anon_versioning
=no
8176 case `$LD -v 2>&1` in
8177 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8178 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8179 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8180 *\
2.11.
*) ;; # other 2.11 versions
8181 *) supports_anon_versioning
=yes ;;
8184 # See if GNU ld supports shared libraries.
8187 # On AIX/PPC, the GNU linker is very broken
8188 if test "$host_cpu" != ia64
; then
8192 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8193 *** to be unable to reliably create shared libraries on AIX.
8194 *** Therefore, libtool is disabling shared libraries support. If you
8195 *** really care for shared libraries, you may want to modify your PATH
8196 *** so that a non-GNU linker is found, and then restart.
8205 # see comment about AmigaOS4 .so support
8206 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8207 archive_expsym_cmds
=''
8210 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)'
8211 hardcode_libdir_flag_spec
='-L$libdir'
8212 hardcode_minus_L
=yes
8218 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8219 allow_undefined_flag
=unsupported
8220 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8221 # support --undefined. This deserves some investigation. FIXME
8222 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8228 cygwin
* | mingw
* | pw32
* | cegcc
*)
8229 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8230 # as there is no search path for DLLs.
8231 hardcode_libdir_flag_spec
='-L$libdir'
8232 allow_undefined_flag
=unsupported
8233 always_export_symbols
=no
8234 enable_shared_with_static_runtimes
=yes
8235 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8237 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8238 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8239 # If the export-symbols file already is a .def file (1st line
8240 # is EXPORTS), use it as is; otherwise, prepend...
8241 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8242 cp $export_symbols $output_objdir/$soname.def;
8244 echo EXPORTS > $output_objdir/$soname.def;
8245 cat $export_symbols >> $output_objdir/$soname.def;
8247 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8255 hardcode_shlibpath_var
=no
8256 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8257 export_dynamic_flag_spec
='${wl}-E'
8258 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8259 # Instead, shared libraries are loaded at an image base (0x10000000 by
8260 # default) and relocated if they conflict, which is a slow very memory
8261 # consuming and fragmenting process. To avoid this, we pick a random,
8262 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8263 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8264 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8265 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'
8268 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8270 if test "$host_os" = linux-dietlibc
; then
8271 case $cc_basename in
8272 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8275 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8276 && test "$tmp_diet" = no
8279 tmp_sharedflag
='-shared'
8280 case $cc_basename,$host_cpu in
8281 pgcc
*) # Portland Group C compiler
8282 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'
8283 tmp_addflag
=' $pic_flag'
8285 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8286 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'
8287 tmp_addflag
=' $pic_flag -Mnomain' ;;
8288 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8289 tmp_addflag
=' -i_dynamic' ;;
8290 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8291 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8292 ifc
* | ifort
*) # Intel Fortran compiler
8293 tmp_addflag
=' -nofor_main' ;;
8294 lf95
*) # Lahey Fortran 8.1
8295 whole_archive_flag_spec
=
8296 tmp_sharedflag
='--shared' ;;
8297 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8298 tmp_sharedflag
='-qmkshrobj'
8301 case `$CC -V 2>&1 | sed 5q` in
8302 *Sun\ C
*) # Sun C 5.9
8303 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'
8304 compiler_needs_object
=yes
8305 tmp_sharedflag
='-G' ;;
8306 *Sun\ F
*) # Sun Fortran 8.3
8307 tmp_sharedflag
='-G' ;;
8309 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8311 if test "x$supports_anon_versioning" = xyes
; then
8312 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8313 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8314 echo "local: *; };" >> $output_objdir/$libname.ver~
8315 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8318 case $cc_basename in
8320 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8321 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8322 hardcode_libdir_flag_spec
=
8323 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8324 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8325 if test "x$supports_anon_versioning" = xyes
; then
8326 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8327 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8328 echo "local: *; };" >> $output_objdir/$libname.ver~
8329 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8339 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8340 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8343 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8344 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8349 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8353 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8354 *** create shared libraries on Solaris systems. Therefore, libtool
8355 *** is disabling shared libraries support. We urge you to upgrade GNU
8356 *** binutils to release 2.9.1 or newer. Another option is to modify
8357 *** your PATH or compiler configuration so that the native linker is
8358 *** used, and then restart.
8361 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8362 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8363 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8369 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8370 case `$LD -v 2>&1` in
8371 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8375 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8376 *** reliably create shared libraries on SCO systems. Therefore, libtool
8377 *** is disabling shared libraries support. We urge you to upgrade GNU
8378 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8379 *** your PATH or compiler configuration so that the native linker is
8380 *** used, and then restart.
8385 # For security reasons, it is highly recommended that you always
8386 # use absolute paths for naming shared libraries, and exclude the
8387 # DT_RUNPATH tag from executables and libraries. But doing so
8388 # requires that you compile everything twice, which is a pain.
8389 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8390 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8391 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8392 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8401 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8404 hardcode_shlibpath_var
=no
8408 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8409 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8410 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8417 if test "$ld_shlibs" = no
; then
8419 hardcode_libdir_flag_spec
=
8420 export_dynamic_flag_spec
=
8421 whole_archive_flag_spec
=
8424 # PORTME fill in a description of your system's linker (not GNU ld)
8427 allow_undefined_flag
=unsupported
8428 always_export_symbols
=yes
8429 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'
8430 # Note: this linker hardcodes the directories in LIBPATH if there
8431 # are no directories specified by -L.
8432 hardcode_minus_L
=yes
8433 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8434 # Neither direct hardcoding nor static linking is supported with a
8436 hardcode_direct
=unsupported
8441 if test "$host_cpu" = ia64
; then
8442 # On IA64, the linker does run time linking by default, so we don't
8443 # have to do anything special.
8444 aix_use_runtimelinking
=no
8445 exp_sym_flag
='-Bexport'
8448 # If we're using GNU nm, then we don't want the "-C" option.
8449 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8450 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8451 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'
8453 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'
8455 aix_use_runtimelinking
=no
8457 # Test if we are trying to use run time linking or normal
8458 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8459 # need to do runtime linking.
8460 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8461 for ld_flag
in $LDFLAGS; do
8462 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8463 aix_use_runtimelinking
=yes
8470 exp_sym_flag
='-bexport'
8471 no_entry_flag
='-bnoentry'
8474 # When large executables or shared objects are built, AIX ld can
8475 # have problems creating the table of contents. If linking a library
8476 # or program results in "error TOC overflow" add -mminimal-toc to
8477 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8478 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8482 hardcode_direct_absolute
=yes
8483 hardcode_libdir_separator
=':'
8484 link_all_deplibs
=yes
8485 file_list_spec
='${wl}-f,'
8487 if test "$GCC" = yes; then
8488 case $host_os in aix4.
[012]|aix4.
[012].
*)
8489 # We only want to do this on AIX 4.2 and lower, the check
8490 # below for broken collect2 doesn't work under 4.3+
8491 collect2name
=`${CC} -print-prog-name=collect2`
8492 if test -f "$collect2name" &&
8493 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8495 # We have reworked collect2
8498 # We have old collect2
8499 hardcode_direct
=unsupported
8500 # It fails to find uninstalled libraries when the uninstalled
8501 # path is not listed in the libpath. Setting hardcode_minus_L
8502 # to unsupported forces relinking
8503 hardcode_minus_L
=yes
8504 hardcode_libdir_flag_spec
='-L$libdir'
8505 hardcode_libdir_separator
=
8509 shared_flag
='-shared'
8510 if test "$aix_use_runtimelinking" = yes; then
8511 shared_flag
="$shared_flag "'${wl}-G'
8515 if test "$host_cpu" = ia64
; then
8516 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8517 # chokes on -Wl,-G. The following line is correct:
8520 if test "$aix_use_runtimelinking" = yes; then
8521 shared_flag
='${wl}-G'
8523 shared_flag
='${wl}-bM:SRE'
8528 export_dynamic_flag_spec
='${wl}-bexpall'
8529 # It seems that -bexpall does not export symbols beginning with
8530 # underscore (_), so it is better to generate a list of symbols to export.
8531 always_export_symbols
=yes
8532 if test "$aix_use_runtimelinking" = yes; then
8533 # Warning - without using the other runtime loading flags (-brtl),
8534 # -berok will link without error, but may produce a broken library.
8535 allow_undefined_flag
='-berok'
8536 # Determine the default libpath from the value encoded in an
8538 cat >conftest.
$ac_ext <<_ACEOF
8541 cat confdefs.h
>>conftest.
$ac_ext
8542 cat >>conftest.
$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8553 rm -f conftest.
$ac_objext conftest
$ac_exeext
8554 if { (ac_try
="$ac_link"
8556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8557 *) ac_try_echo=$ac_try;;
8559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8560 $as_echo "$ac_try_echo") >&5
8561 (eval "$ac_link") 2>conftest.er1
8563 grep -v '^ *+' conftest.er1 >conftest.err
8565 cat conftest.err >&5
8566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } && {
8568 test -z "$ac_c_werror_flag" ||
8569 test ! -s conftest.err
8570 } && test -s conftest$ac_exeext && {
8571 test "$cross_compiling" = yes ||
8572 $as_test_x conftest$ac_exeext
8575 lt_aix_libpath_sed='
8576 /Import File Strings/,/^$/ {
8582 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8583 # Check for a 64-bit object if we didn't find anything.
8584 if test -z "$aix_libpath"; then
8585 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8588 $as_echo "$as_me: failed program was:" >&5
8589 sed 's/^/| /' conftest.$ac_ext >&5
8594 rm -rf conftest.dSYM
8595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8596 conftest$ac_exeext conftest.$ac_ext
8597 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8599 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8600 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"
8602 if test "$host_cpu" = ia64; then
8603 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8604 allow_undefined_flag="-z nodefs"
8605 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"
8607 # Determine the default libpath from the value encoded in an
8609 cat >conftest.$ac_ext <<_ACEOF
8612 cat confdefs.h >>conftest.$ac_ext
8613 cat >>conftest.$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8624 rm -f conftest.$ac_objext conftest$ac_exeext
8625 if { (ac_try="$ac_link"
8627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8628 *) ac_try_echo
=$ac_try;;
8630 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8631 $as_echo "$ac_try_echo") >&5
8632 (eval "$ac_link") 2>conftest.er1
8634 grep -v '^ *+' conftest.er1
>conftest.err
8636 cat conftest.err
>&5
8637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } && {
8639 test -z "$ac_c_werror_flag" ||
8640 test ! -s conftest.err
8641 } && test -s conftest
$ac_exeext && {
8642 test "$cross_compiling" = yes ||
8643 $as_test_x conftest
$ac_exeext
8646 lt_aix_libpath_sed
='
8647 /Import File Strings/,/^$/ {
8653 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8654 # Check for a 64-bit object if we didn't find anything.
8655 if test -z "$aix_libpath"; then
8656 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8659 $as_echo "$as_me: failed program was:" >&5
8660 sed 's/^/| /' conftest.
$ac_ext >&5
8665 rm -rf conftest.dSYM
8666 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8667 conftest
$ac_exeext conftest.
$ac_ext
8668 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8670 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8671 # Warning - without using the other run time loading flags,
8672 # -berok will link without error, but may produce a broken library.
8673 no_undefined_flag
=' ${wl}-bernotok'
8674 allow_undefined_flag
=' ${wl}-berok'
8675 # Exported symbols can be pulled into shared objects from archives
8676 whole_archive_flag_spec
='$convenience'
8677 archive_cmds_need_lc
=yes
8678 # This is similar to how AIX traditionally builds its shared libraries.
8679 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'
8687 # see comment about AmigaOS4 .so support
8688 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8689 archive_expsym_cmds
=''
8692 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)'
8693 hardcode_libdir_flag_spec
='-L$libdir'
8694 hardcode_minus_L
=yes
8700 export_dynamic_flag_spec
=-rdynamic
8703 cygwin
* | mingw
* | pw32
* | cegcc
*)
8704 # When not using gcc, we currently assume that we are using
8705 # Microsoft Visual C++.
8706 # hardcode_libdir_flag_spec is actually meaningless, as there is
8707 # no search path for DLLs.
8708 hardcode_libdir_flag_spec
=' '
8709 allow_undefined_flag
=unsupported
8710 # Tell ltmain to make .lib files, not .a files.
8712 # Tell ltmain to make .dll files, not .so files.
8714 # FIXME: Setting linknames here is a bad hack.
8715 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8716 # The linker will automatically build a .lib file if we build a DLL.
8717 old_archive_from_new_cmds
='true'
8718 # FIXME: Should let the user specify the lib program.
8719 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8720 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8721 enable_shared_with_static_runtimes
=yes
8724 darwin
* | rhapsody
*)
8727 archive_cmds_need_lc
=no
8729 hardcode_automatic
=yes
8730 hardcode_shlibpath_var
=unsupported
8731 whole_archive_flag_spec
=''
8732 link_all_deplibs
=yes
8733 allow_undefined_flag
="$_lt_dar_allow_undefined"
8734 case $cc_basename in
8735 ifort
*) _lt_dar_can_shared
=yes ;;
8736 *) _lt_dar_can_shared
=$GCC ;;
8738 if test "$_lt_dar_can_shared" = "yes"; then
8739 output_verbose_link_cmd
=echo
8740 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8741 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8742 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}"
8743 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}"
8752 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8753 hardcode_libdir_flag_spec
='-L$libdir'
8754 hardcode_shlibpath_var
=no
8761 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8762 # support. Future versions do this automatically, but an explicit c++rt0.o
8763 # does not break anything, and helps significantly (at the cost of a little
8766 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8767 hardcode_libdir_flag_spec
='-R$libdir'
8769 hardcode_shlibpath_var
=no
8772 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8774 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_minus_L
=yes
8777 hardcode_shlibpath_var
=no
8780 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8781 freebsd
* | dragonfly
*)
8782 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8783 hardcode_libdir_flag_spec
='-R$libdir'
8785 hardcode_shlibpath_var
=no
8789 if test "$GCC" = yes; then
8790 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'
8792 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'
8794 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8795 hardcode_libdir_separator
=:
8798 # hardcode_minus_L: Not really in the search PATH,
8799 # but as the default location of the library.
8800 hardcode_minus_L
=yes
8801 export_dynamic_flag_spec
='${wl}-E'
8805 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8806 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8808 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8810 if test "$with_gnu_ld" = no
; then
8811 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8812 hardcode_libdir_flag_spec_ld
='+b $libdir'
8813 hardcode_libdir_separator
=:
8815 hardcode_direct_absolute
=yes
8816 export_dynamic_flag_spec
='${wl}-E'
8817 # hardcode_minus_L: Not really in the search PATH,
8818 # but as the default location of the library.
8819 hardcode_minus_L
=yes
8824 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8827 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8830 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8833 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8839 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8842 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8845 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8849 if test "$with_gnu_ld" = no
; then
8850 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8851 hardcode_libdir_separator
=:
8856 hardcode_shlibpath_var
=no
8860 hardcode_direct_absolute
=yes
8861 export_dynamic_flag_spec
='${wl}-E'
8863 # hardcode_minus_L: Not really in the search PATH,
8864 # but as the default location of the library.
8865 hardcode_minus_L
=yes
8871 irix5
* | irix6
* | nonstopux
*)
8872 if test "$GCC" = yes; then
8873 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'
8874 # Try to use the -exported_symbol ld option, if it does not
8875 # work, assume that -exports_file does not work either and
8876 # implicitly export all symbols.
8877 save_LDFLAGS
="$LDFLAGS"
8878 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8879 cat >conftest.
$ac_ext <<_ACEOF
8882 rm -f conftest.
$ac_objext conftest
$ac_exeext
8883 if { (ac_try
="$ac_link"
8885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8886 *) ac_try_echo=$ac_try;;
8888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8889 $as_echo "$ac_try_echo") >&5
8890 (eval "$ac_link") 2>conftest.er1
8892 grep -v '^ *+' conftest.er1 >conftest.err
8894 cat conftest.err >&5
8895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); } && {
8897 test -z "$ac_c_werror_flag" ||
8898 test ! -s conftest.err
8899 } && test -s conftest$ac_exeext && {
8900 test "$cross_compiling" = yes ||
8901 $as_test_x conftest$ac_exeext
8903 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'
8906 $as_echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8912 rm -rf conftest.dSYM
8913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8914 conftest$ac_exeext conftest.$ac_ext
8915 LDFLAGS="$save_LDFLAGS"
8917 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'
8918 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'
8920 archive_cmds_need_lc='no'
8921 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8922 hardcode_libdir_separator=:
8924 link_all_deplibs=yes
8928 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8929 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8931 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8933 hardcode_libdir_flag_spec='-R$libdir'
8935 hardcode_shlibpath_var=no
8939 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8942 hardcode_libdir_separator=:
8943 hardcode_shlibpath_var=no
8950 if test -f /usr/libexec/ld.so; then
8952 hardcode_shlibpath_var=no
8953 hardcode_direct_absolute=yes
8954 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8955 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8956 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8957 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8958 export_dynamic_flag_spec='${wl}-E'
8961 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8962 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8963 hardcode_libdir_flag_spec='-R$libdir'
8966 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8967 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8977 hardcode_libdir_flag_spec='-L$libdir'
8978 hardcode_minus_L=yes
8979 allow_undefined_flag=unsupported
8980 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'
8981 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8985 if test "$GCC" = yes; then
8986 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8987 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'
8989 allow_undefined_flag=' -expect_unresolved \*'
8990 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'
8992 archive_cmds_need_lc='no'
8993 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8994 hardcode_libdir_separator=:
8997 osf4* | osf5*) # as osf3* with the addition of -msym flag
8998 if test "$GCC" = yes; then
8999 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9000 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'
9001 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9003 allow_undefined_flag=' -expect_unresolved \*'
9004 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'
9005 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~
9006 $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'
9008 # Both c and cxx compiler support -rpath directly
9009 hardcode_libdir_flag_spec='-rpath $libdir'
9011 archive_cmds_need_lc='no'
9012 hardcode_libdir_separator=:
9016 no_undefined_flag=' -z defs'
9017 if test "$GCC" = yes; then
9019 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9020 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9021 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9023 case `$CC -V 2>&1` in
9026 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9027 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9028 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9032 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9033 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9034 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9038 hardcode_libdir_flag_spec='-R$libdir'
9039 hardcode_shlibpath_var=no
9041 solaris2.[0-5] | solaris2.[0-5].*) ;;
9043 # The compiler driver will combine and reorder linker options,
9044 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9045 # but is careful enough not to reorder.
9046 # Supported since Solaris 2.6 (maybe 2.5.1?)
9047 if test "$GCC" = yes; then
9048 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9050 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9054 link_all_deplibs
=yes
9058 if test "x$host_vendor" = xsequent
; then
9059 # Use $CC to link under sequent, because it throws in some extra .o
9060 # files that make .init and .fini sections work.
9061 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9063 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9065 hardcode_libdir_flag_spec
='-L$libdir'
9067 hardcode_minus_L
=yes
9068 hardcode_shlibpath_var
=no
9072 case $host_vendor in
9074 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9075 hardcode_direct
=yes # is this really true???
9078 ## LD is ld it makes a PLAMLIB
9079 ## CC just makes a GrossModule.
9080 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9081 reload_cmds
='$CC -r -o $output$reload_objs'
9085 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9086 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9089 runpath_var
='LD_RUN_PATH'
9090 hardcode_shlibpath_var
=no
9094 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9095 hardcode_shlibpath_var
=no
9096 export_dynamic_flag_spec
='-Bexport'
9100 if test -d /usr
/nec
; then
9101 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9102 hardcode_shlibpath_var
=no
9103 runpath_var
=LD_RUN_PATH
9104 hardcode_runpath_var
=yes
9109 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9110 no_undefined_flag
='${wl}-z,text'
9111 archive_cmds_need_lc
=no
9112 hardcode_shlibpath_var
=no
9113 runpath_var
='LD_RUN_PATH'
9115 if test "$GCC" = yes; then
9116 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9124 sysv5
* | sco3.2v5
* | sco5v6
*)
9125 # Note: We can NOT use -z defs as we might desire, because we do not
9126 # link with -lc, and that would cause any symbols used from libc to
9127 # always be unresolved, which means just about no library would
9128 # ever link correctly. If we're not using GNU ld we use -z text
9129 # though, which does catch some bad symbols but isn't as heavy-handed
9131 no_undefined_flag
='${wl}-z,text'
9132 allow_undefined_flag
='${wl}-z,nodefs'
9133 archive_cmds_need_lc
=no
9134 hardcode_shlibpath_var
=no
9135 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9136 hardcode_libdir_separator
=':'
9137 link_all_deplibs
=yes
9138 export_dynamic_flag_spec
='${wl}-Bexport'
9139 runpath_var
='LD_RUN_PATH'
9141 if test "$GCC" = yes; then
9142 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9145 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9146 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9151 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9152 hardcode_libdir_flag_spec
='-L$libdir'
9153 hardcode_shlibpath_var
=no
9161 if test x
$host_vendor = xsni
; then
9163 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9164 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9170 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9171 $as_echo "$ld_shlibs" >&6; }
9172 test "$ld_shlibs" = no
&& can_build_shared
=no
9174 with_gnu_ld
=$with_gnu_ld
9191 # Do we need to explicitly link libc?
9193 case "x$archive_cmds_need_lc" in
9195 # Assume -lc should be added
9196 archive_cmds_need_lc
=yes
9198 if test "$enable_shared" = yes && test "$GCC" = yes; then
9199 case $archive_cmds in
9201 # FIXME: we may have to deal with multi-command sequences.
9204 # Test whether the compiler implicitly links with -lc since on some
9205 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9206 # to ld, don't add -lc before -lgcc.
9207 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9208 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9213 (eval $ac_compile) 2>&5
9215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } 2>conftest.err
; then
9219 libobjs
=conftest.
$ac_objext
9221 wl
=$lt_prog_compiler_wl
9222 pic_flag
=$lt_prog_compiler_pic
9228 lt_save_allow_undefined_flag
=$allow_undefined_flag
9229 allow_undefined_flag
=
9230 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9231 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); }
9236 archive_cmds_need_lc
=no
9238 archive_cmds_need_lc
=yes
9240 allow_undefined_flag
=$lt_save_allow_undefined_flag
9242 cat conftest.err
1>&5
9245 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9246 $as_echo "$archive_cmds_need_lc" >&6; }
9409 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9410 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9412 if test "$GCC" = yes; then
9414 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9415 *) lt_awk_arg
="/^libraries:/" ;;
9417 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9418 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9419 # if the path contains ";" then we assume it to be the separator
9420 # otherwise default to the standard path separator (i.e. ":") - it is
9421 # assumed that no part of a normal pathname contains ";" but that should
9422 # okay in the real world where ";" in dirpaths is itself problematic.
9423 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9425 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9427 # Ok, now we have the path, separated by spaces, we can step through it
9428 # and add multilib dir if necessary.
9429 lt_tmp_lt_search_path_spec
=
9430 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9431 for lt_sys_path
in $lt_search_path_spec; do
9432 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9433 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9435 test -d "$lt_sys_path" && \
9436 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9439 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9440 BEGIN {RS=" "; FS="/|\n";} {
9443 for (lt_i = NF; lt_i > 0; lt_i--) {
9444 if ($lt_i != "" && $lt_i != ".") {
9445 if ($lt_i == "..") {
9448 if (lt_count == 0) {
9449 lt_foo="/" $lt_i lt_foo;
9456 if (lt_foo != "") { lt_freq[lt_foo]++; }
9457 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9459 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9461 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9464 libname_spec
='lib$name'
9472 shlibpath_overrides_runpath
=unknown
9474 dynamic_linker
="$host_os ld.so"
9475 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9476 need_lib_prefix
=unknown
9477 hardcode_into_libs
=no
9479 # when you set need_version to no, make sure it does not cause -set_version
9480 # flags to be left without arguments
9481 need_version
=unknown
9486 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9487 shlibpath_var
=LIBPATH
9489 # AIX 3 has no versioning support, so we append a major version to the name.
9490 soname_spec
='${libname}${release}${shared_ext}$major'
9497 hardcode_into_libs
=yes
9498 if test "$host_cpu" = ia64
; then
9499 # AIX 5 supports IA64
9500 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9501 shlibpath_var
=LD_LIBRARY_PATH
9503 # With GCC up to 2.95.x, collect2 would create an import file
9504 # for dependence libraries. The import file would start with
9505 # the line `#! .'. This would cause the generated library to
9506 # depend on `.', always an invalid library. This was fixed in
9507 # development snapshots of GCC prior to 3.0.
9509 aix4 | aix4.
[01] | aix4.
[01].
*)
9510 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9512 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9519 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9520 # soname into executable. Probably we can add versioning support to
9521 # collect2, so additional links can be useful in future.
9522 if test "$aix_use_runtimelinking" = yes; then
9523 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9524 # instead of lib<name>.a to let people know that these are not
9525 # typical AIX shared libraries.
9526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9528 # We preserve .a as extension for shared libraries through AIX4.2
9529 # and later when we are not doing run time linking.
9530 library_names_spec
='${libname}${release}.a $libname.a'
9531 soname_spec
='${libname}${release}${shared_ext}$major'
9533 shlibpath_var
=LIBPATH
9540 # Since July 2007 AmigaOS4 officially supports .so libraries.
9541 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9545 library_names_spec
='$libname.ixlibrary $libname.a'
9546 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9547 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'
9553 library_names_spec
='${libname}${shared_ext}'
9554 dynamic_linker
="$host_os ld.so"
9555 shlibpath_var
=LIBRARY_PATH
9561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9562 soname_spec
='${libname}${release}${shared_ext}$major'
9563 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9564 shlibpath_var
=LD_LIBRARY_PATH
9565 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9566 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9567 # the default ld.so.conf also contains /usr/contrib/lib and
9568 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9569 # libtool to hard-code these into programs
9572 cygwin
* | mingw
* | pw32
* | cegcc
*)
9573 version_type
=windows
9578 case $GCC,$host_os in
9579 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9580 library_names_spec
='$libname.dll.a'
9581 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9582 postinstall_cmds
='base_file=`basename \${file}`~
9583 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9584 dldir=$destdir/`dirname \$dlpath`~
9585 test -d \$dldir || mkdir -p \$dldir~
9586 $install_prog $dir/$dlname \$dldir/$dlname~
9587 chmod a+x \$dldir/$dlname~
9588 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9589 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9591 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9592 dlpath=$dir/\$dldll~
9594 shlibpath_overrides_runpath
=yes
9598 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9599 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9600 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9603 # MinGW DLLs use traditional 'lib' prefix
9604 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9605 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9606 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9607 # It is most probably a Windows format PATH printed by
9608 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9609 # path with ; separators, and with drive letters. We can handle the
9610 # drive letters (cygwin fileutils understands them), so leave them,
9611 # especially as we might pass files found there to a mingw objdump,
9612 # which wouldn't understand a cygwinified path. Ahh.
9613 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9615 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9619 # pw32 DLLs use 'pw' prefix rather than 'lib'
9620 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9626 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9629 dynamic_linker
='Win32 ld.exe'
9630 # FIXME: first we should search . and the directory the executable is in
9634 darwin
* | rhapsody
*)
9635 dynamic_linker
="$host_os dyld"
9639 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9640 soname_spec
='${libname}${release}${major}$shared_ext'
9641 shlibpath_overrides_runpath
=yes
9642 shlibpath_var
=DYLD_LIBRARY_PATH
9643 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9645 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9646 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9654 soname_spec
='${libname}${release}${shared_ext}$major'
9655 shlibpath_var
=LD_LIBRARY_PATH
9662 freebsd
* | dragonfly
*)
9663 # DragonFly does not have aout. When/if they implement a new
9664 # versioning mechanism, adjust this.
9665 if test -x /usr
/bin
/objformat
; then
9666 objformat
=`/usr/bin/objformat`
9669 freebsd
[123]*) objformat
=aout
;;
9673 version_type
=freebsd-
$objformat
9674 case $version_type in
9676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9681 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9685 shlibpath_var
=LD_LIBRARY_PATH
9688 shlibpath_overrides_runpath
=yes
9690 freebsd3.
[01]* | freebsdelf3.
[01]*)
9691 shlibpath_overrides_runpath
=yes
9692 hardcode_into_libs
=yes
9694 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9695 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9696 shlibpath_overrides_runpath
=no
9697 hardcode_into_libs
=yes
9699 *) # from 4.6 on, and DragonFly
9700 shlibpath_overrides_runpath
=yes
9701 hardcode_into_libs
=yes
9710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9711 soname_spec
='${libname}${release}${shared_ext}$major'
9712 shlibpath_var
=LD_LIBRARY_PATH
9713 hardcode_into_libs
=yes
9716 hpux9
* | hpux10
* | hpux11
*)
9717 # Give a soname corresponding to the major version so that dld.sl refuses to
9718 # link against other versions.
9725 hardcode_into_libs
=yes
9726 dynamic_linker
="$host_os dld.so"
9727 shlibpath_var
=LD_LIBRARY_PATH
9728 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9730 soname_spec
='${libname}${release}${shared_ext}$major'
9731 if test "X$HPUX_IA64_MODE" = X32
; then
9732 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9734 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9736 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9740 hardcode_into_libs
=yes
9741 dynamic_linker
="$host_os dld.sl"
9742 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9743 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745 soname_spec
='${libname}${release}${shared_ext}$major'
9746 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9747 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9751 dynamic_linker
="$host_os dld.sl"
9752 shlibpath_var
=SHLIB_PATH
9753 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755 soname_spec
='${libname}${release}${shared_ext}$major'
9758 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9759 postinstall_cmds
='chmod 555 $lib'
9766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9767 soname_spec
='${libname}${release}${shared_ext}$major'
9768 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9769 shlibpath_var
=LD_LIBRARY_PATH
9770 shlibpath_overrides_runpath
=no
9771 hardcode_into_libs
=yes
9774 irix5
* | irix6
* | nonstopux
*)
9776 nonstopux
*) version_type
=nonstopux
;;
9778 if test "$lt_cv_prog_gnu_ld" = yes; then
9786 soname_spec
='${libname}${release}${shared_ext}$major'
9787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9789 irix5
* | nonstopux
*)
9793 case $LD in # libtool.m4 will add one of these switches to LD
9794 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9795 libsuff
= shlibsuff
= libmagic
=32-bit;;
9796 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9797 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9798 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9799 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9800 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9804 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9805 shlibpath_overrides_runpath
=no
9806 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9807 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9808 hardcode_into_libs
=yes
9811 # No shared lib support for Linux oldld, aout, or coff.
9812 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9816 # This must be Linux ELF.
9817 linux
* | k
*bsd
*-gnu)
9821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9822 soname_spec
='${libname}${release}${shared_ext}$major'
9823 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9824 shlibpath_var
=LD_LIBRARY_PATH
9825 shlibpath_overrides_runpath
=no
9826 # Some binutils ld are patched to set DT_RUNPATH
9827 save_LDFLAGS
=$LDFLAGS
9829 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9830 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9831 cat >conftest.
$ac_ext <<_ACEOF
9834 cat confdefs.h
>>conftest.
$ac_ext
9835 cat >>conftest.
$ac_ext <<_ACEOF
9836 /* end confdefs.h. */
9846 rm -f conftest.
$ac_objext conftest
$ac_exeext
9847 if { (ac_try
="$ac_link"
9849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9853 $as_echo "$ac_try_echo") >&5
9854 (eval "$ac_link") 2>conftest.er1
9856 grep -v '^ *+' conftest.er1 >conftest.err
9858 cat conftest.err >&5
9859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); } && {
9861 test -z "$ac_c_werror_flag" ||
9862 test ! -s conftest.err
9863 } && test -s conftest$ac_exeext && {
9864 test "$cross_compiling" = yes ||
9865 $as_test_x conftest$ac_exeext
9867 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9868 shlibpath_overrides_runpath=yes
9872 $as_echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9878 rm -rf conftest.dSYM
9879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LDFLAGS=$save_LDFLAGS
9884 # This implies no fast_install, which is unacceptable.
9885 # Some rework will be needed to allow for fast_install
9886 # before this can be enabled.
9887 hardcode_into_libs=yes
9889 # Add ABI-specific directories to the system library path.
9890 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9892 # Append ld.so.conf contents to the search path
9893 if test -f /etc/ld.so.conf; then
9894 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' ' '`
9895 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9898 # We used to test for /lib/ld.so.1 and disable shared libraries on
9899 # powerpc, because MkLinux only supported shared libraries with the
9900 # GNU dynamic linker. Since this was broken with cross compilers,
9901 # most powerpc-linux boxes support dynamic linking these days and
9902 # people can always --disable-shared, the test was removed, and we
9903 # assume the GNU/Linux dynamic linker is in use.
9904 dynamic_linker='GNU/Linux ld.so'
9911 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9914 dynamic_linker='NetBSD (a.out) ld.so'
9916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9917 soname_spec='${libname}${release}${shared_ext}$major'
9918 dynamic_linker='NetBSD ld.elf_so'
9920 shlibpath_var=LD_LIBRARY_PATH
9921 shlibpath_overrides_runpath=yes
9922 hardcode_into_libs=yes
9927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9928 shlibpath_var=LD_LIBRARY_PATH
9929 shlibpath_overrides_runpath=yes
9936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9937 soname_spec='${libname}${release}${shared_ext}$major'
9938 shlibpath_var=LD_LIBRARY_PATH
9939 shlibpath_overrides_runpath=no
9940 hardcode_into_libs=yes
9941 dynamic_linker='ldqnx.so'
9946 sys_lib_dlsearch_path_spec="/usr/lib"
9948 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9950 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9951 *) need_version=no ;;
9953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9955 shlibpath_var=LD_LIBRARY_PATH
9956 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9958 openbsd2.[89] | openbsd2.[89].*)
9959 shlibpath_overrides_runpath=no
9962 shlibpath_overrides_runpath=yes
9966 shlibpath_overrides_runpath=yes
9971 libname_spec='$name'
9974 library_names_spec='$libname${shared_ext} $libname.a'
9975 dynamic_linker='OS/2 ld.exe'
9976 shlibpath_var=LIBPATH
9979 osf3* | osf4* | osf5*)
9983 soname_spec='${libname}${release}${shared_ext}$major'
9984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9985 shlibpath_var=LD_LIBRARY_PATH
9986 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9987 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999 soname_spec='${libname}${release}${shared_ext}$major'
10000 shlibpath_var=LD_LIBRARY_PATH
10001 shlibpath_overrides_runpath=yes
10002 hardcode_into_libs=yes
10003 # ldd complains unless libraries are executable
10004 postinstall_cmds='chmod +x $lib'
10009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10010 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10011 shlibpath_var=LD_LIBRARY_PATH
10012 shlibpath_overrides_runpath=yes
10013 if test "$with_gnu_ld" = yes; then
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10022 soname_spec='${libname}${release}${shared_ext}$major'
10023 shlibpath_var=LD_LIBRARY_PATH
10024 case $host_vendor in
10026 shlibpath_overrides_runpath=no
10028 runpath_var=LD_RUN_PATH
10036 shlibpath_overrides_runpath=no
10037 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10043 if test -d /usr/nec ;then
10045 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10046 soname_spec='$libname${shared_ext}.$major'
10047 shlibpath_var=LD_LIBRARY_PATH
10051 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10052 version_type=freebsd-elf
10055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10056 soname_spec='${libname}${release}${shared_ext}$major'
10057 shlibpath_var=LD_LIBRARY_PATH
10058 shlibpath_overrides_runpath=yes
10059 hardcode_into_libs=yes
10060 if test "$with_gnu_ld" = yes; then
10061 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10063 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10066 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10070 sys_lib_dlsearch_path_spec='/usr/lib'
10074 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10079 shlibpath_var=LD_LIBRARY_PATH
10080 shlibpath_overrides_runpath=no
10081 hardcode_into_libs=yes
10086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10087 soname_spec='${libname}${release}${shared_ext}$major'
10088 shlibpath_var=LD_LIBRARY_PATH
10095 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10096 $as_echo "$dynamic_linker" >&6; }
10097 test "$dynamic_linker" = no && can_build_shared=no
10099 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10100 if test "$GCC" = yes; then
10101 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10104 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10105 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10107 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10108 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10197 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10200 if test -n "$hardcode_libdir_flag_spec" ||
10201 test -n "$runpath_var" ||
10202 test "X$hardcode_automatic" = "Xyes" ; then
10204 # We can hardcode non-existent directories.
10205 if test "$hardcode_direct" != no &&
10206 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10207 # have to relink, otherwise we might link with an installed library
10208 # when we should be linking with a yet-to-be-installed one
10209 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10210 test "$hardcode_minus_L" != no; then
10211 # Linking always hardcodes the temporary library directory.
10212 hardcode_action=relink
10214 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10215 hardcode_action=immediate
10218 # We cannot hardcode anything, or else we can only hardcode existing
10220 hardcode_action=unsupported
10222 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10223 $as_echo "$hardcode_action" >&6; }
10225 if test "$hardcode_action" = relink ||
10226 test "$inherit_rpath" = yes; then
10227 # Fast installation is not supported
10228 enable_fast_install=no
10229 elif test "$shlibpath_overrides_runpath" = yes ||
10230 test "$enable_shared" = no; then
10231 # Fast installation is not necessary
10232 enable_fast_install=needless
10240 if test "x$enable_dlopen" != xyes; then
10241 enable_dlopen=unknown
10242 enable_dlopen_self=unknown
10243 enable_dlopen_self_static=unknown
10250 lt_cv_dlopen="load_add_on"
10252 lt_cv_dlopen_self=yes
10255 mingw* | pw32* | cegcc*)
10256 lt_cv_dlopen="LoadLibrary"
10261 lt_cv_dlopen="dlopen"
10266 # if libdl is installed we need to link against it
10267 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10269 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10270 $as_echo_n "(cached) " >&6
10272 ac_check_lib_save_LIBS=$LIBS
10274 cat >conftest.$ac_ext <<_ACEOF
10277 cat confdefs.h >>conftest.$ac_ext
10278 cat >>conftest.$ac_ext <<_ACEOF
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10296 rm -f conftest.$ac_objext conftest$ac_exeext
10297 if { (ac_try="$ac_link"
10298 case "(($ac_try" in
10299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10300 *) ac_try_echo
=$ac_try;;
10302 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10303 $as_echo "$ac_try_echo") >&5
10304 (eval "$ac_link") 2>conftest.er1
10306 grep -v '^ *+' conftest.er1
>conftest.err
10308 cat conftest.err
>&5
10309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } && {
10311 test -z "$ac_c_werror_flag" ||
10312 test ! -s conftest.err
10313 } && test -s conftest
$ac_exeext && {
10314 test "$cross_compiling" = yes ||
10315 $as_test_x conftest
$ac_exeext
10317 ac_cv_lib_dl_dlopen
=yes
10319 $as_echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.
$ac_ext >&5
10322 ac_cv_lib_dl_dlopen
=no
10325 rm -rf conftest.dSYM
10326 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10327 conftest
$ac_exeext conftest.
$ac_ext
10328 LIBS
=$ac_check_lib_save_LIBS
10330 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10331 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10332 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10333 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10336 lt_cv_dlopen
="dyld"
10338 lt_cv_dlopen_self
=yes
10345 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10346 $as_echo_n "checking for shl_load... " >&6; }
10347 if test "${ac_cv_func_shl_load+set}" = set; then
10348 $as_echo_n "(cached) " >&6
10350 cat >conftest.
$ac_ext <<_ACEOF
10353 cat confdefs.h
>>conftest.
$ac_ext
10354 cat >>conftest.
$ac_ext <<_ACEOF
10355 /* end confdefs.h. */
10356 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10358 #define shl_load innocuous_shl_load
10360 /* System header to define __stub macros and hopefully few prototypes,
10361 which can conflict with char shl_load (); below.
10362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10363 <limits.h> exists even on freestanding compilers. */
10366 # include <limits.h>
10368 # include <assert.h>
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10380 /* The GNU C library defines this for functions which it implements
10381 to always fail with ENOSYS. Some functions are actually named
10382 something starting with __ and the normal name is an alias. */
10383 #if defined __stub_shl_load || defined __stub___shl_load
10390 return shl_load ();
10395 rm -f conftest.
$ac_objext conftest
$ac_exeext
10396 if { (ac_try
="$ac_link"
10397 case "(($ac_try" in
10398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10399 *) ac_try_echo=$ac_try;;
10401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10402 $as_echo "$ac_try_echo") >&5
10403 (eval "$ac_link") 2>conftest.er1
10405 grep -v '^ *+' conftest.er1 >conftest.err
10407 cat conftest.err >&5
10408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); } && {
10410 test -z "$ac_c_werror_flag" ||
10411 test ! -s conftest.err
10412 } && test -s conftest$ac_exeext && {
10413 test "$cross_compiling" = yes ||
10414 $as_test_x conftest$ac_exeext
10416 ac_cv_func_shl_load=yes
10418 $as_echo "$as_me: failed program was:" >&5
10419 sed 's/^/| /' conftest.$ac_ext >&5
10421 ac_cv_func_shl_load=no
10424 rm -rf conftest.dSYM
10425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10426 conftest$ac_exeext conftest.$ac_ext
10428 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10429 $as_echo "$ac_cv_func_shl_load" >&6; }
10430 if test "x$ac_cv_func_shl_load" = x""yes; then
10431 lt_cv_dlopen="shl_load"
10433 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10434 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10435 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10436 $as_echo_n "(cached) " >&6
10438 ac_check_lib_save_LIBS=$LIBS
10440 cat >conftest.$ac_ext <<_ACEOF
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10457 return shl_load ();
10462 rm -f conftest.$ac_objext conftest$ac_exeext
10463 if { (ac_try="$ac_link"
10464 case "(($ac_try" in
10465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10466 *) ac_try_echo
=$ac_try;;
10468 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10469 $as_echo "$ac_try_echo") >&5
10470 (eval "$ac_link") 2>conftest.er1
10472 grep -v '^ *+' conftest.er1
>conftest.err
10474 cat conftest.err
>&5
10475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); } && {
10477 test -z "$ac_c_werror_flag" ||
10478 test ! -s conftest.err
10479 } && test -s conftest
$ac_exeext && {
10480 test "$cross_compiling" = yes ||
10481 $as_test_x conftest
$ac_exeext
10483 ac_cv_lib_dld_shl_load
=yes
10485 $as_echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10488 ac_cv_lib_dld_shl_load
=no
10491 rm -rf conftest.dSYM
10492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10493 conftest
$ac_exeext conftest.
$ac_ext
10494 LIBS
=$ac_check_lib_save_LIBS
10496 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10497 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10498 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10499 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10501 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10502 $as_echo_n "checking for dlopen... " >&6; }
10503 if test "${ac_cv_func_dlopen+set}" = set; then
10504 $as_echo_n "(cached) " >&6
10506 cat >conftest.
$ac_ext <<_ACEOF
10509 cat confdefs.h
>>conftest.
$ac_ext
10510 cat >>conftest.
$ac_ext <<_ACEOF
10511 /* end confdefs.h. */
10512 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10514 #define dlopen innocuous_dlopen
10516 /* System header to define __stub macros and hopefully few prototypes,
10517 which can conflict with char dlopen (); below.
10518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10519 <limits.h> exists even on freestanding compilers. */
10522 # include <limits.h>
10524 # include <assert.h>
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10536 /* The GNU C library defines this for functions which it implements
10537 to always fail with ENOSYS. Some functions are actually named
10538 something starting with __ and the normal name is an alias. */
10539 #if defined __stub_dlopen || defined __stub___dlopen
10551 rm -f conftest.
$ac_objext conftest
$ac_exeext
10552 if { (ac_try
="$ac_link"
10553 case "(($ac_try" in
10554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10555 *) ac_try_echo=$ac_try;;
10557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10558 $as_echo "$ac_try_echo") >&5
10559 (eval "$ac_link") 2>conftest.er1
10561 grep -v '^ *+' conftest.er1 >conftest.err
10563 cat conftest.err >&5
10564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } && {
10566 test -z "$ac_c_werror_flag" ||
10567 test ! -s conftest.err
10568 } && test -s conftest$ac_exeext && {
10569 test "$cross_compiling" = yes ||
10570 $as_test_x conftest$ac_exeext
10572 ac_cv_func_dlopen=yes
10574 $as_echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10577 ac_cv_func_dlopen=no
10580 rm -rf conftest.dSYM
10581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10582 conftest$ac_exeext conftest.$ac_ext
10584 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10585 $as_echo "$ac_cv_func_dlopen" >&6; }
10586 if test "x$ac_cv_func_dlopen" = x""yes; then
10587 lt_cv_dlopen="dlopen"
10589 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10590 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10591 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10592 $as_echo_n "(cached) " >&6
10594 ac_check_lib_save_LIBS=$LIBS
10596 cat >conftest.$ac_ext <<_ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10618 rm -f conftest.$ac_objext conftest$ac_exeext
10619 if { (ac_try="$ac_link"
10620 case "(($ac_try" in
10621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10622 *) ac_try_echo
=$ac_try;;
10624 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10625 $as_echo "$ac_try_echo") >&5
10626 (eval "$ac_link") 2>conftest.er1
10628 grep -v '^ *+' conftest.er1
>conftest.err
10630 cat conftest.err
>&5
10631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); } && {
10633 test -z "$ac_c_werror_flag" ||
10634 test ! -s conftest.err
10635 } && test -s conftest
$ac_exeext && {
10636 test "$cross_compiling" = yes ||
10637 $as_test_x conftest
$ac_exeext
10639 ac_cv_lib_dl_dlopen
=yes
10641 $as_echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.
$ac_ext >&5
10644 ac_cv_lib_dl_dlopen
=no
10647 rm -rf conftest.dSYM
10648 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10649 conftest
$ac_exeext conftest.
$ac_ext
10650 LIBS
=$ac_check_lib_save_LIBS
10652 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10653 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10654 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10655 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10657 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10658 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10659 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10660 $as_echo_n "(cached) " >&6
10662 ac_check_lib_save_LIBS
=$LIBS
10663 LIBS
="-lsvld $LIBS"
10664 cat >conftest.
$ac_ext <<_ACEOF
10667 cat confdefs.h
>>conftest.
$ac_ext
10668 cat >>conftest.
$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10686 rm -f conftest.
$ac_objext conftest
$ac_exeext
10687 if { (ac_try
="$ac_link"
10688 case "(($ac_try" in
10689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10690 *) ac_try_echo=$ac_try;;
10692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10693 $as_echo "$ac_try_echo") >&5
10694 (eval "$ac_link") 2>conftest.er1
10696 grep -v '^ *+' conftest.er1 >conftest.err
10698 cat conftest.err >&5
10699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } && {
10701 test -z "$ac_c_werror_flag" ||
10702 test ! -s conftest.err
10703 } && test -s conftest$ac_exeext && {
10704 test "$cross_compiling" = yes ||
10705 $as_test_x conftest$ac_exeext
10707 ac_cv_lib_svld_dlopen=yes
10709 $as_echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.$ac_ext >&5
10712 ac_cv_lib_svld_dlopen=no
10715 rm -rf conftest.dSYM
10716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10717 conftest$ac_exeext conftest.$ac_ext
10718 LIBS=$ac_check_lib_save_LIBS
10720 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10721 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10722 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10723 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10725 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10726 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10727 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10728 $as_echo_n "(cached) " >&6
10730 ac_check_lib_save_LIBS=$LIBS
10732 cat >conftest.$ac_ext <<_ACEOF
10735 cat confdefs.h >>conftest.$ac_ext
10736 cat >>conftest.$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10749 return dld_link ();
10754 rm -f conftest.$ac_objext conftest$ac_exeext
10755 if { (ac_try="$ac_link"
10756 case "(($ac_try" in
10757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10758 *) ac_try_echo
=$ac_try;;
10760 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10761 $as_echo "$ac_try_echo") >&5
10762 (eval "$ac_link") 2>conftest.er1
10764 grep -v '^ *+' conftest.er1
>conftest.err
10766 cat conftest.err
>&5
10767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); } && {
10769 test -z "$ac_c_werror_flag" ||
10770 test ! -s conftest.err
10771 } && test -s conftest
$ac_exeext && {
10772 test "$cross_compiling" = yes ||
10773 $as_test_x conftest
$ac_exeext
10775 ac_cv_lib_dld_dld_link
=yes
10777 $as_echo "$as_me: failed program was:" >&5
10778 sed 's/^/| /' conftest.
$ac_ext >&5
10780 ac_cv_lib_dld_dld_link
=no
10783 rm -rf conftest.dSYM
10784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 LIBS
=$ac_check_lib_save_LIBS
10788 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10789 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10790 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
10791 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10812 if test "x$lt_cv_dlopen" != xno
; then
10818 case $lt_cv_dlopen in
10820 save_CPPFLAGS
="$CPPFLAGS"
10821 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10823 save_LDFLAGS
="$LDFLAGS"
10824 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10827 LIBS
="$lt_cv_dlopen_libs $LIBS"
10829 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10830 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10831 if test "${lt_cv_dlopen_self+set}" = set; then
10832 $as_echo_n "(cached) " >&6
10834 if test "$cross_compiling" = yes; then :
10835 lt_cv_dlopen_self
=cross
10837 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10838 lt_status
=$lt_dlunknown
10839 cat > conftest.
$ac_ext <<_LT_EOF
10840 #line 10840 "configure"
10841 #include "confdefs.h"
10850 # define LT_DLGLOBAL RTLD_GLOBAL
10853 # define LT_DLGLOBAL DL_GLOBAL
10855 # define LT_DLGLOBAL 0
10859 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10860 find out it does not work in some platform. */
10861 #ifndef LT_DLLAZY_OR_NOW
10863 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10866 # define LT_DLLAZY_OR_NOW DL_LAZY
10869 # define LT_DLLAZY_OR_NOW RTLD_NOW
10872 # define LT_DLLAZY_OR_NOW DL_NOW
10874 # define LT_DLLAZY_OR_NOW 0
10881 void fnord() { int i=42;}
10884 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10885 int status = $lt_dlunknown;
10889 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10890 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10891 /* dlclose (self); */
10899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10900 (eval $ac_link) 2>&5
10902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10903 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10904 (.
/conftest
; exit; ) >&5 2>/dev
/null
10906 case x
$lt_status in
10907 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10908 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10909 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10912 # compilation failed
10913 lt_cv_dlopen_self
=no
10920 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10921 $as_echo "$lt_cv_dlopen_self" >&6; }
10923 if test "x$lt_cv_dlopen_self" = xyes
; then
10924 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10925 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10926 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10927 if test "${lt_cv_dlopen_self_static+set}" = set; then
10928 $as_echo_n "(cached) " >&6
10930 if test "$cross_compiling" = yes; then :
10931 lt_cv_dlopen_self_static
=cross
10933 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10934 lt_status
=$lt_dlunknown
10935 cat > conftest.
$ac_ext <<_LT_EOF
10936 #line 10936 "configure"
10937 #include "confdefs.h"
10946 # define LT_DLGLOBAL RTLD_GLOBAL
10949 # define LT_DLGLOBAL DL_GLOBAL
10951 # define LT_DLGLOBAL 0
10955 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10956 find out it does not work in some platform. */
10957 #ifndef LT_DLLAZY_OR_NOW
10959 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10962 # define LT_DLLAZY_OR_NOW DL_LAZY
10965 # define LT_DLLAZY_OR_NOW RTLD_NOW
10968 # define LT_DLLAZY_OR_NOW DL_NOW
10970 # define LT_DLLAZY_OR_NOW 0
10977 void fnord() { int i=42;}
10980 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10981 int status = $lt_dlunknown;
10985 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10986 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10987 /* dlclose (self); */
10995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10996 (eval $ac_link) 2>&5
10998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11000 (.
/conftest
; exit; ) >&5 2>/dev
/null
11002 case x
$lt_status in
11003 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11004 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11005 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11008 # compilation failed
11009 lt_cv_dlopen_self_static
=no
11016 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11017 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11020 CPPFLAGS
="$save_CPPFLAGS"
11021 LDFLAGS
="$save_LDFLAGS"
11026 case $lt_cv_dlopen_self in
11027 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11028 *) enable_dlopen_self
=unknown
;;
11031 case $lt_cv_dlopen_self_static in
11032 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11033 *) enable_dlopen_self_static
=unknown
;;
11055 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11056 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11057 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11058 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11059 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11060 { $as_echo "$as_me:$LINENO: result: yes" >&5
11061 $as_echo "yes" >&6; }
11063 # FIXME - insert some real tests, host_os isn't really good enough
11066 if test -n "$STRIP" ; then
11067 striplib
="$STRIP -x"
11068 old_striplib
="$STRIP -S"
11069 { $as_echo "$as_me:$LINENO: result: yes" >&5
11070 $as_echo "yes" >&6; }
11072 { $as_echo "$as_me:$LINENO: result: no" >&5
11073 $as_echo "no" >&6; }
11077 { $as_echo "$as_me:$LINENO: result: no" >&5
11078 $as_echo "no" >&6; }
11094 # Report which library types will actually be built
11095 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11096 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11097 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11098 $as_echo "$can_build_shared" >&6; }
11100 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11101 $as_echo_n "checking whether to build shared libraries... " >&6; }
11102 test "$can_build_shared" = "no" && enable_shared
=no
11104 # On AIX, shared libraries and static libraries use the same namespace, and
11105 # are all built from PIC.
11108 test "$enable_shared" = yes && enable_static
=no
11109 if test -n "$RANLIB"; then
11110 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11111 postinstall_cmds
='$RANLIB $lib'
11116 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11117 test "$enable_shared" = yes && enable_static
=no
11121 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11122 $as_echo "$enable_shared" >&6; }
11124 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11125 $as_echo_n "checking whether to build static libraries... " >&6; }
11126 # Make sure either enable_shared or enable_static is yes.
11127 test "$enable_shared" = yes || enable_static
=yes
11128 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11129 $as_echo "$enable_static" >&6; }
11136 ac_cpp
='$CPP $CPPFLAGS'
11137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11155 ac_config_commands
="$ac_config_commands libtool"
11160 # Only expand once:
11164 if test "$GCC" = yes
11166 CFLAGS
="-Wall $CFLAGS"
11168 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
11173 for ac_header
in sys
/types.h
11175 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11176 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11177 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11178 $as_echo_n "checking for $ac_header... " >&6; }
11179 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11180 $as_echo_n "(cached) " >&6
11182 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11183 $as_echo "$as_val"'`
11184 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11185 $as_echo "$ac_res" >&6; }
11187 # Is the header compilable?
11188 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11189 $as_echo_n "checking $ac_header usability... " >&6; }
11190 cat >conftest.
$ac_ext <<_ACEOF
11193 cat confdefs.h
>>conftest.
$ac_ext
11194 cat >>conftest.
$ac_ext <<_ACEOF
11195 /* end confdefs.h. */
11196 $ac_includes_default
11197 #include <$ac_header>
11199 rm -f conftest.
$ac_objext
11200 if { (ac_try
="$ac_compile"
11201 case "(($ac_try" in
11202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11203 *) ac_try_echo=$ac_try;;
11205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11206 $as_echo "$ac_try_echo") >&5
11207 (eval "$ac_compile") 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } && {
11214 test -z "$ac_c_werror_flag" ||
11215 test ! -s conftest.err
11216 } && test -s conftest.$ac_objext; then
11217 ac_header_compiler=yes
11219 $as_echo "$as_me: failed program was:" >&5
11220 sed 's/^/| /' conftest.$ac_ext >&5
11222 ac_header_compiler=no
11225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11226 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11227 $as_echo "$ac_header_compiler" >&6; }
11229 # Is the header present?
11230 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11231 $as_echo_n "checking $ac_header presence... " >&6; }
11232 cat >conftest.$ac_ext <<_ACEOF
11235 cat confdefs.h >>conftest.$ac_ext
11236 cat >>conftest.$ac_ext <<_ACEOF
11237 /* end confdefs.h. */
11238 #include <$ac_header>
11240 if { (ac_try="$ac_cpp conftest.$ac_ext"
11241 case "(($ac_try" in
11242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11243 *) ac_try_echo
=$ac_try;;
11245 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11246 $as_echo "$ac_try_echo") >&5
11247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11249 grep -v '^ *+' conftest.er1
>conftest.err
11251 cat conftest.err
>&5
11252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); } >/dev
/null
&& {
11254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11255 test ! -s conftest.err
11257 ac_header_preproc
=yes
11259 $as_echo "$as_me: failed program was:" >&5
11260 sed 's/^/| /' conftest.
$ac_ext >&5
11262 ac_header_preproc
=no
11265 rm -f conftest.err conftest.
$ac_ext
11266 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11267 $as_echo "$ac_header_preproc" >&6; }
11269 # So? What about this header?
11270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11273 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11275 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11276 ac_header_preproc
=yes
11279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11280 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11282 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11284 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11286 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11288 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11290 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11292 ## -------------------------------------------------- ##
11293 ## Report this to courier-users@lists.sourceforge.net ##
11294 ## -------------------------------------------------- ##
11296 ) |
sed "s/^/$as_me: WARNING: /" >&2
11299 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11300 $as_echo_n "checking for $ac_header... " >&6; }
11301 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11302 $as_echo_n "(cached) " >&6
11304 eval "$as_ac_Header=\$ac_header_preproc"
11306 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11307 $as_echo "$as_val"'`
11308 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11309 $as_echo "$ac_res" >&6; }
11312 as_val
=`eval 'as_val=${'$as_ac_Header'}
11313 $as_echo "$as_val"'`
11314 if test "x$as_val" = x
""yes; then
11315 cat >>confdefs.h
<<_ACEOF
11316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11325 # Check whether --with-int32 was given.
11326 if test "${with_int32+set}" = set; then
11327 withval
=$with_int32; int32
="$withval"
11331 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
11332 $as_echo_n "checking for uint32_t... " >&6; }
11334 cat >conftest.
$ac_ext <<_ACEOF
11337 cat confdefs.h
>>conftest.
$ac_ext
11338 cat >>conftest.
$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11341 #if HAVE_SYS_TYPES_H
11342 #include <sys/types.h>
11355 rm -f conftest.
$ac_objext
11356 if { (ac_try
="$ac_compile"
11357 case "(($ac_try" in
11358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11359 *) ac_try_echo=$ac_try;;
11361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11362 $as_echo "$ac_try_echo") >&5
11363 (eval "$ac_compile") 2>conftest.er1
11365 grep -v '^ *+' conftest.er1 >conftest.err
11367 cat conftest.err >&5
11368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); } && {
11370 test -z "$ac_c_werror_flag" ||
11371 test ! -s conftest.err
11372 } && test -s conftest.$ac_objext; then
11373 { $as_echo "$as_me:$LINENO: result: yes" >&5
11374 $as_echo "yes" >&6; } ; int32="uint32_t"
11376 $as_echo "$as_me: failed program was:" >&5
11377 sed 's/^/| /' conftest.$ac_ext >&5
11381 { $as_echo "$as_me:$LINENO: result: no" >&5
11382 $as_echo "no" >&6; }
11383 { $as_echo "$as_me:$LINENO: checking for u_int_32_t" >&5
11384 $as_echo_n "checking for u_int_32_t... " >&6; }
11386 cat >conftest.$ac_ext <<_ACEOF
11389 cat confdefs.h >>conftest.$ac_ext
11390 cat >>conftest.$ac_ext <<_ACEOF
11391 /* end confdefs.h. */
11393 #if HAVE_SYS_TYPES_H
11394 #include <sys/types.h>
11407 rm -f conftest.$ac_objext
11408 if { (ac_try="$ac_compile"
11409 case "(($ac_try" in
11410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11411 *) ac_try_echo
=$ac_try;;
11413 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11414 $as_echo "$ac_try_echo") >&5
11415 (eval "$ac_compile") 2>conftest.er1
11417 grep -v '^ *+' conftest.er1
>conftest.err
11419 cat conftest.err
>&5
11420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); } && {
11422 test -z "$ac_c_werror_flag" ||
11423 test ! -s conftest.err
11424 } && test -s conftest.
$ac_objext; then
11425 { $as_echo "$as_me:$LINENO: result: yes" >&5
11426 $as_echo "yes" >&6; }; int32
="u_int32_t"
11428 $as_echo "$as_me: failed program was:" >&5
11429 sed 's/^/| /' conftest.
$ac_ext >&5
11433 { $as_echo "$as_me:$LINENO: result: no" >&5
11434 $as_echo "no" >&6; }
11436 # The cast to long int works around a bug in the HP C Compiler
11437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11439 # This bug is HP SR number 8606223364.
11440 { $as_echo "$as_me:$LINENO: checking size of unsigned" >&5
11441 $as_echo_n "checking size of unsigned... " >&6; }
11442 if test "${ac_cv_sizeof_unsigned+set}" = set; then
11443 $as_echo_n "(cached) " >&6
11445 if test "$cross_compiling" = yes; then
11446 # Depending upon the size, compute the lo and hi bounds.
11447 cat >conftest.
$ac_ext <<_ACEOF
11450 cat confdefs.h
>>conftest.
$ac_ext
11451 cat >>conftest.
$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 $ac_includes_default
11457 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) >= 0)];
11464 rm -f conftest.
$ac_objext
11465 if { (ac_try
="$ac_compile"
11466 case "(($ac_try" in
11467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11468 *) ac_try_echo=$ac_try;;
11470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11471 $as_echo "$ac_try_echo") >&5
11472 (eval "$ac_compile") 2>conftest.er1
11474 grep -v '^ *+' conftest.er1 >conftest.err
11476 cat conftest.err >&5
11477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } && {
11479 test -z "$ac_c_werror_flag" ||
11480 test ! -s conftest.err
11481 } && test -s conftest.$ac_objext; then
11484 cat >conftest.$ac_ext <<_ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490 $ac_includes_default
11494 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) <= $ac_mid)];
11501 rm -f conftest.$ac_objext
11502 if { (ac_try="$ac_compile"
11503 case "(($ac_try" in
11504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11505 *) ac_try_echo
=$ac_try;;
11507 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11508 $as_echo "$ac_try_echo") >&5
11509 (eval "$ac_compile") 2>conftest.er1
11511 grep -v '^ *+' conftest.er1
>conftest.err
11513 cat conftest.err
>&5
11514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); } && {
11516 test -z "$ac_c_werror_flag" ||
11517 test ! -s conftest.err
11518 } && test -s conftest.
$ac_objext; then
11519 ac_hi
=$ac_mid; break
11521 $as_echo "$as_me: failed program was:" >&5
11522 sed 's/^/| /' conftest.
$ac_ext >&5
11524 ac_lo
=`expr $ac_mid + 1`
11525 if test $ac_lo -le $ac_mid; then
11529 ac_mid
=`expr 2 '*' $ac_mid + 1`
11532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11535 $as_echo "$as_me: failed program was:" >&5
11536 sed 's/^/| /' conftest.
$ac_ext >&5
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11544 $ac_includes_default
11548 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) < 0)];
11555 rm -f conftest.
$ac_objext
11556 if { (ac_try
="$ac_compile"
11557 case "(($ac_try" in
11558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11562 $as_echo "$ac_try_echo") >&5
11563 (eval "$ac_compile") 2>conftest.er1
11565 grep -v '^ *+' conftest.er1 >conftest.err
11567 cat conftest.err >&5
11568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } && {
11570 test -z "$ac_c_werror_flag" ||
11571 test ! -s conftest.err
11572 } && test -s conftest.$ac_objext; then
11575 cat >conftest.$ac_ext <<_ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11581 $ac_includes_default
11585 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) >= $ac_mid)];
11592 rm -f conftest.$ac_objext
11593 if { (ac_try="$ac_compile"
11594 case "(($ac_try" in
11595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11596 *) ac_try_echo
=$ac_try;;
11598 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11599 $as_echo "$ac_try_echo") >&5
11600 (eval "$ac_compile") 2>conftest.er1
11602 grep -v '^ *+' conftest.er1
>conftest.err
11604 cat conftest.err
>&5
11605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } && {
11607 test -z "$ac_c_werror_flag" ||
11608 test ! -s conftest.err
11609 } && test -s conftest.
$ac_objext; then
11610 ac_lo
=$ac_mid; break
11612 $as_echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.
$ac_ext >&5
11615 ac_hi
=`expr '(' $ac_mid ')' - 1`
11616 if test $ac_mid -le $ac_hi; then
11620 ac_mid
=`expr 2 '*' $ac_mid`
11623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11626 $as_echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.
$ac_ext >&5
11632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11636 # Binary search between lo and hi bounds.
11637 while test "x$ac_lo" != "x$ac_hi"; do
11638 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11639 cat >conftest.
$ac_ext <<_ACEOF
11642 cat confdefs.h
>>conftest.
$ac_ext
11643 cat >>conftest.
$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 $ac_includes_default
11649 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) <= $ac_mid)];
11656 rm -f conftest.
$ac_objext
11657 if { (ac_try
="$ac_compile"
11658 case "(($ac_try" in
11659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11660 *) ac_try_echo=$ac_try;;
11662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11663 $as_echo "$ac_try_echo") >&5
11664 (eval "$ac_compile") 2>conftest.er1
11666 grep -v '^ *+' conftest.er1 >conftest.err
11668 cat conftest.err >&5
11669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); } && {
11671 test -z "$ac_c_werror_flag" ||
11672 test ! -s conftest.err
11673 } && test -s conftest.$ac_objext; then
11676 $as_echo "$as_me: failed program was:" >&5
11677 sed 's/^/| /' conftest.$ac_ext >&5
11679 ac_lo=`expr '(' $ac_mid ')' + 1`
11682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11685 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
11686 '') if test "$ac_cv_type_unsigned" = yes; then
11687 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11689 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned
)
11690 See \
`config.log' for more details." >&5
11691 $as_echo "$as_me: error: cannot compute sizeof (unsigned)
11692 See \`config.log
' for more details." >&2;}
11693 { (exit 77); exit 77; }; }; }
11695 ac_cv_sizeof_unsigned=0
11699 cat >conftest.$ac_ext <<_ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705 $ac_includes_default
11706 static long int longval () { return (long int) (sizeof (unsigned)); }
11707 static unsigned long int ulongval () { return (long int) (sizeof (unsigned)); }
11709 #include <stdlib.h>
11714 FILE *f = fopen ("conftest.val", "w");
11717 if (((long int) (sizeof (unsigned))) < 0)
11719 long int i = longval ();
11720 if (i != ((long int) (sizeof (unsigned))))
11722 fprintf (f, "%ld", i);
11726 unsigned long int i = ulongval ();
11727 if (i != ((long int) (sizeof (unsigned))))
11729 fprintf (f, "%lu", i);
11731 /* Do not output a trailing newline, as this causes \r\n confusion
11732 on some platforms. */
11733 return ferror (f) || fclose (f) != 0;
11739 rm -f conftest$ac_exeext
11740 if { (ac_try="$ac_link"
11741 case "(($ac_try" in
11742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11743 *) ac_try_echo=$ac_try;;
11745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11746 $as_echo "$ac_try_echo") >&5
11747 (eval "$ac_link") 2>&5
11749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
11751 { (case "(($ac_try" in
11752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11753 *) ac_try_echo=$ac_try;;
11755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11756 $as_echo "$ac_try_echo") >&5
11757 (eval "$ac_try") 2>&5
11759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; }; then
11761 ac_cv_sizeof_unsigned=`cat conftest.val`
11763 $as_echo "$as_me: program exited with status $ac_status" >&5
11764 $as_echo "$as_me: failed program was:" >&5
11765 sed 's
/^
/|
/' conftest.$ac_ext >&5
11767 ( exit $ac_status )
11768 if test "$ac_cv_type_unsigned" = yes; then
11769 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11770 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
11771 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
11772 See \`config.log
' for more details." >&5
11773 $as_echo "$as_me: error: cannot compute sizeof (unsigned)
11774 See \`config.log' for more details.
" >&2;}
11775 { (exit 77); exit 77; }; }; }
11777 ac_cv_sizeof_unsigned=0
11780 rm -rf conftest.dSYM
11781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11785 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_unsigned" >&5
11786 $as_echo "$ac_cv_sizeof_unsigned" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
11795 if test "$ac_cv_sizeof_unsigned" != 4
11797 # The cast to long int works around a bug in the HP C Compiler
11798 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11799 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11800 # This bug is HP SR number 8606223364.
11801 { $as_echo "$as_me:$LINENO: checking size of unsigned long
" >&5
11802 $as_echo_n "checking size of unsigned long...
" >&6; }
11803 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
11804 $as_echo_n "(cached
) " >&6
11806 if test "$cross_compiling" = yes; then
11807 # Depending upon the size, compute the lo and hi bounds.
11808 cat >conftest.$ac_ext <<_ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 $ac_includes_default
11818 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= 0)];
11825 rm -f conftest.$ac_objext
11826 if { (ac_try="$ac_compile"
11827 case "(($ac_try" in
11828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11829 *) ac_try_echo=$ac_try;;
11831 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11832 $as_echo "$ac_try_echo") >&5
11833 (eval "$ac_compile") 2>conftest.er1
11835 grep -v '^ *+' conftest.er1 >conftest.err
11837 cat conftest.err >&5
11838 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11839 (exit $ac_status); } && {
11840 test -z "$ac_c_werror_flag" ||
11841 test ! -s conftest.err
11842 } && test -s conftest.$ac_objext; then
11845 cat >conftest.$ac_ext <<_ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 $ac_includes_default
11855 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
11862 rm -f conftest.$ac_objext
11863 if { (ac_try="$ac_compile"
11864 case "(($ac_try" in
11865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11866 *) ac_try_echo=$ac_try;;
11868 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11869 $as_echo "$ac_try_echo") >&5
11870 (eval "$ac_compile") 2>conftest.er1
11872 grep -v '^ *+' conftest.er1 >conftest.err
11874 cat conftest.err >&5
11875 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11876 (exit $ac_status); } && {
11877 test -z "$ac_c_werror_flag" ||
11878 test ! -s conftest.err
11879 } && test -s conftest.$ac_objext; then
11880 ac_hi=$ac_mid; break
11882 $as_echo "$as_me: failed program was
:" >&5
11883 sed 's/^/| /' conftest.$ac_ext >&5
11885 ac_lo=`expr $ac_mid + 1`
11886 if test $ac_lo -le $ac_mid; then
11890 ac_mid=`expr 2 '*' $ac_mid + 1`
11893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11896 $as_echo "$as_me: failed program was
:" >&5
11897 sed 's/^/| /' conftest.$ac_ext >&5
11899 cat >conftest.$ac_ext <<_ACEOF
11902 cat confdefs.h >>conftest.$ac_ext
11903 cat >>conftest.$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11905 $ac_includes_default
11909 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) < 0)];
11916 rm -f conftest.$ac_objext
11917 if { (ac_try="$ac_compile"
11918 case "(($ac_try" in
11919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11920 *) ac_try_echo=$ac_try;;
11922 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11923 $as_echo "$ac_try_echo") >&5
11924 (eval "$ac_compile") 2>conftest.er1
11926 grep -v '^ *+' conftest.er1 >conftest.err
11928 cat conftest.err >&5
11929 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11930 (exit $ac_status); } && {
11931 test -z "$ac_c_werror_flag" ||
11932 test ! -s conftest.err
11933 } && test -s conftest.$ac_objext; then
11936 cat >conftest.$ac_ext <<_ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 $ac_includes_default
11946 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= $ac_mid)];
11953 rm -f conftest.$ac_objext
11954 if { (ac_try="$ac_compile"
11955 case "(($ac_try" in
11956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11957 *) ac_try_echo=$ac_try;;
11959 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11960 $as_echo "$ac_try_echo") >&5
11961 (eval "$ac_compile") 2>conftest.er1
11963 grep -v '^ *+' conftest.er1 >conftest.err
11965 cat conftest.err >&5
11966 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11967 (exit $ac_status); } && {
11968 test -z "$ac_c_werror_flag" ||
11969 test ! -s conftest.err
11970 } && test -s conftest.$ac_objext; then
11971 ac_lo=$ac_mid; break
11973 $as_echo "$as_me: failed program was
:" >&5
11974 sed 's/^/| /' conftest.$ac_ext >&5
11976 ac_hi=`expr '(' $ac_mid ')' - 1`
11977 if test $ac_mid -le $ac_hi; then
11981 ac_mid=`expr 2 '*' $ac_mid`
11984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11987 $as_echo "$as_me: failed program was
:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11997 # Binary search between lo and hi bounds.
11998 while test "x
$ac_lo" != "x
$ac_hi"; do
11999 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12000 cat >conftest.$ac_ext <<_ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006 $ac_includes_default
12010 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
12017 rm -f conftest.$ac_objext
12018 if { (ac_try="$ac_compile"
12019 case "(($ac_try" in
12020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12021 *) ac_try_echo=$ac_try;;
12023 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12024 $as_echo "$ac_try_echo") >&5
12025 (eval "$ac_compile") 2>conftest.er1
12027 grep -v '^ *+' conftest.er1 >conftest.err
12029 cat conftest.err >&5
12030 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12031 (exit $ac_status); } && {
12032 test -z "$ac_c_werror_flag" ||
12033 test ! -s conftest.err
12034 } && test -s conftest.$ac_objext; then
12037 $as_echo "$as_me: failed program was
:" >&5
12038 sed 's/^/| /' conftest.$ac_ext >&5
12040 ac_lo=`expr '(' $ac_mid ')' + 1`
12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12046 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
12047 '') if test "$ac_cv_type_unsigned_long" = yes; then
12048 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
12049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12050 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
12051 See \`config.log' for more details.
" >&5
12052 $as_echo "$as_me: error
: cannot compute sizeof
(unsigned long
)
12053 See \
`config.log' for more details." >&2;}
12054 { (exit 77); exit 77; }; }; }
12056 ac_cv_sizeof_unsigned_long=0
12060 cat >conftest.$ac_ext <<_ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12066 $ac_includes_default
12067 static long int longval () { return (long int) (sizeof (unsigned long)); }
12068 static unsigned long int ulongval () { return (long int) (sizeof (unsigned long)); }
12070 #include <stdlib.h>
12075 FILE *f = fopen ("conftest.val", "w");
12078 if (((long int) (sizeof (unsigned long))) < 0)
12080 long int i = longval ();
12081 if (i != ((long int) (sizeof (unsigned long))))
12083 fprintf (f, "%ld", i);
12087 unsigned long int i = ulongval ();
12088 if (i != ((long int) (sizeof (unsigned long))))
12090 fprintf (f, "%lu", i);
12092 /* Do not output a trailing newline, as this causes \r\n confusion
12093 on some platforms. */
12094 return ferror (f) || fclose (f) != 0;
12100 rm -f conftest$ac_exeext
12101 if { (ac_try="$ac_link"
12102 case "(($ac_try" in
12103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12104 *) ac_try_echo
=$ac_try;;
12106 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12107 $as_echo "$ac_try_echo") >&5
12108 (eval "$ac_link") 2>&5
12110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12112 { (case "(($ac_try" in
12113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12114 *) ac_try_echo=$ac_try;;
12116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12117 $as_echo "$ac_try_echo") >&5
12118 (eval "$ac_try") 2>&5
12120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; }; then
12122 ac_cv_sizeof_unsigned_long=`cat conftest.val
`
12124 $as_echo "$as_me: program exited with status $ac_status" >&5
12125 $as_echo "$as_me: failed program was:" >&5
12126 sed 's/^/| /' conftest.$ac_ext >&5
12128 ( exit $ac_status )
12129 if test "$ac_cv_type_unsigned_long" = yes; then
12130 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12132 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
12133 See \
`config.log' for more details." >&5
12134 $as_echo "$as_me: error: cannot compute sizeof (unsigned long)
12135 See \`config.log
' for more details." >&2;}
12136 { (exit 77); exit 77; }; }; }
12138 ac_cv_sizeof_unsigned_long=0
12141 rm -rf conftest.dSYM
12142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12146 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
12147 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
12151 cat >>confdefs.h <<_ACEOF
12152 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
12156 if test "$ac_cv_sizeof_unsigned_long" != 4
12158 # The cast to long int works around a bug in the HP C Compiler
12159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12161 # This bug is HP SR number 8606223364.
12162 { $as_echo "$as_me:$LINENO: checking size of unsigned short" >&5
12163 $as_echo_n "checking size of unsigned short... " >&6; }
12164 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
12165 $as_echo_n "(cached) " >&6
12167 if test "$cross_compiling" = yes; then
12168 # Depending upon the size, compute the lo and hi bounds.
12169 cat >conftest.
$ac_ext <<_ACEOF
12172 cat confdefs.h
>>conftest.
$ac_ext
12173 cat >>conftest.
$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 $ac_includes_default
12179 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= 0)];
12186 rm -f conftest.
$ac_objext
12187 if { (ac_try
="$ac_compile"
12188 case "(($ac_try" in
12189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12190 *) ac_try_echo=$ac_try;;
12192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12193 $as_echo "$ac_try_echo") >&5
12194 (eval "$ac_compile") 2>conftest.er1
12196 grep -v '^ *+' conftest.er1 >conftest.err
12198 cat conftest.err >&5
12199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } && {
12201 test -z "$ac_c_werror_flag" ||
12202 test ! -s conftest.err
12203 } && test -s conftest.$ac_objext; then
12206 cat >conftest.$ac_ext <<_ACEOF
12209 cat confdefs.h >>conftest.$ac_ext
12210 cat >>conftest.$ac_ext <<_ACEOF
12211 /* end confdefs.h. */
12212 $ac_includes_default
12216 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
12223 rm -f conftest.$ac_objext
12224 if { (ac_try="$ac_compile"
12225 case "(($ac_try" in
12226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12227 *) ac_try_echo
=$ac_try;;
12229 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12230 $as_echo "$ac_try_echo") >&5
12231 (eval "$ac_compile") 2>conftest.er1
12233 grep -v '^ *+' conftest.er1
>conftest.err
12235 cat conftest.err
>&5
12236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } && {
12238 test -z "$ac_c_werror_flag" ||
12239 test ! -s conftest.err
12240 } && test -s conftest.
$ac_objext; then
12241 ac_hi
=$ac_mid; break
12243 $as_echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.
$ac_ext >&5
12246 ac_lo
=`expr $ac_mid + 1`
12247 if test $ac_lo -le $ac_mid; then
12251 ac_mid
=`expr 2 '*' $ac_mid + 1`
12254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12257 $as_echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.
$ac_ext >&5
12260 cat >conftest.
$ac_ext <<_ACEOF
12263 cat confdefs.h
>>conftest.
$ac_ext
12264 cat >>conftest.
$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 $ac_includes_default
12270 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) < 0)];
12277 rm -f conftest.
$ac_objext
12278 if { (ac_try
="$ac_compile"
12279 case "(($ac_try" in
12280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12281 *) ac_try_echo=$ac_try;;
12283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12284 $as_echo "$ac_try_echo") >&5
12285 (eval "$ac_compile") 2>conftest.er1
12287 grep -v '^ *+' conftest.er1 >conftest.err
12289 cat conftest.err >&5
12290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } && {
12292 test -z "$ac_c_werror_flag" ||
12293 test ! -s conftest.err
12294 } && test -s conftest.$ac_objext; then
12297 cat >conftest.$ac_ext <<_ACEOF
12300 cat confdefs.h >>conftest.$ac_ext
12301 cat >>conftest.$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12303 $ac_includes_default
12307 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= $ac_mid)];
12314 rm -f conftest.$ac_objext
12315 if { (ac_try="$ac_compile"
12316 case "(($ac_try" in
12317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12318 *) ac_try_echo
=$ac_try;;
12320 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12321 $as_echo "$ac_try_echo") >&5
12322 (eval "$ac_compile") 2>conftest.er1
12324 grep -v '^ *+' conftest.er1
>conftest.err
12326 cat conftest.err
>&5
12327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } && {
12329 test -z "$ac_c_werror_flag" ||
12330 test ! -s conftest.err
12331 } && test -s conftest.
$ac_objext; then
12332 ac_lo
=$ac_mid; break
12334 $as_echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.
$ac_ext >&5
12337 ac_hi
=`expr '(' $ac_mid ')' - 1`
12338 if test $ac_mid -le $ac_hi; then
12342 ac_mid
=`expr 2 '*' $ac_mid`
12345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12348 $as_echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.
$ac_ext >&5
12354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12358 # Binary search between lo and hi bounds.
12359 while test "x$ac_lo" != "x$ac_hi"; do
12360 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12361 cat >conftest.
$ac_ext <<_ACEOF
12364 cat confdefs.h
>>conftest.
$ac_ext
12365 cat >>conftest.
$ac_ext <<_ACEOF
12366 /* end confdefs.h. */
12367 $ac_includes_default
12371 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
12378 rm -f conftest.
$ac_objext
12379 if { (ac_try
="$ac_compile"
12380 case "(($ac_try" in
12381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12382 *) ac_try_echo=$ac_try;;
12384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12385 $as_echo "$ac_try_echo") >&5
12386 (eval "$ac_compile") 2>conftest.er1
12388 grep -v '^ *+' conftest.er1 >conftest.err
12390 cat conftest.err >&5
12391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } && {
12393 test -z "$ac_c_werror_flag" ||
12394 test ! -s conftest.err
12395 } && test -s conftest.$ac_objext; then
12398 $as_echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12401 ac_lo=`expr '(' $ac_mid ')' + 1`
12404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12407 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
12408 '') if test "$ac_cv_type_unsigned_short" = yes; then
12409 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12411 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
12412 See \
`config.log' for more details." >&5
12413 $as_echo "$as_me: error: cannot compute sizeof (unsigned short)
12414 See \`config.log
' for more details." >&2;}
12415 { (exit 77); exit 77; }; }; }
12417 ac_cv_sizeof_unsigned_short=0
12421 cat >conftest.$ac_ext <<_ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_includes_default
12428 static long int longval () { return (long int) (sizeof (unsigned short)); }
12429 static unsigned long int ulongval () { return (long int) (sizeof (unsigned short)); }
12431 #include <stdlib.h>
12436 FILE *f = fopen ("conftest.val", "w");
12439 if (((long int) (sizeof (unsigned short))) < 0)
12441 long int i = longval ();
12442 if (i != ((long int) (sizeof (unsigned short))))
12444 fprintf (f, "%ld", i);
12448 unsigned long int i = ulongval ();
12449 if (i != ((long int) (sizeof (unsigned short))))
12451 fprintf (f, "%lu", i);
12453 /* Do not output a trailing newline, as this causes \r\n confusion
12454 on some platforms. */
12455 return ferror (f) || fclose (f) != 0;
12461 rm -f conftest$ac_exeext
12462 if { (ac_try="$ac_link"
12463 case "(($ac_try" in
12464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12465 *) ac_try_echo=$ac_try;;
12467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12468 $as_echo "$ac_try_echo") >&5
12469 (eval "$ac_link") 2>&5
12471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
12473 { (case "(($ac_try" in
12474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12475 *) ac_try_echo=$ac_try;;
12477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12478 $as_echo "$ac_try_echo") >&5
12479 (eval "$ac_try") 2>&5
12481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; }; then
12483 ac_cv_sizeof_unsigned_short=`cat conftest.val`
12485 $as_echo "$as_me: program exited with status $ac_status" >&5
12486 $as_echo "$as_me: failed program was:" >&5
12487 sed 's
/^
/|
/' conftest.$ac_ext >&5
12489 ( exit $ac_status )
12490 if test "$ac_cv_type_unsigned_short" = yes; then
12491 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12492 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
12493 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
12494 See \`config.log
' for more details." >&5
12495 $as_echo "$as_me: error: cannot compute sizeof (unsigned short)
12496 See \`config.log' for more details.
" >&2;}
12497 { (exit 77); exit 77; }; }; }
12499 ac_cv_sizeof_unsigned_short=0
12502 rm -rf conftest.dSYM
12503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12507 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_unsigned_short" >&5
12508 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
12512 cat >>confdefs.h <<_ACEOF
12513 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
12517 if test "$ac_cv_sizeof_unsigned_short" != 4
12519 { { $as_echo "$as_me:$LINENO: error
: --with-int32 option is required
" >&5
12520 $as_echo "$as_me: error
: --with-int32 option is required
" >&2;}
12521 { (exit 1); exit 1; }; }
12523 int32="unsigned short
"
12525 int32="unsigned long
"
12533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12545 cat >>confdefs.h <<_ACEOF
12546 #define SHA1_WORD $UINT32
12551 # Check whether --with-int64 was given.
12552 if test "${with_int64+set}" = set; then
12553 withval=$with_int64; int64="$withval"
12557 { $as_echo "$as_me:$LINENO: checking
for uint64_t
" >&5
12558 $as_echo_n "checking
for uint64_t...
" >&6; }
12560 cat >conftest.$ac_ext <<_ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12567 #if HAVE_SYS_TYPES_H
12568 #include <sys/types.h>
12581 rm -f conftest.$ac_objext
12582 if { (ac_try="$ac_compile"
12583 case "(($ac_try" in
12584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585 *) ac_try_echo=$ac_try;;
12587 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12588 $as_echo "$ac_try_echo") >&5
12589 (eval "$ac_compile") 2>conftest.er1
12591 grep -v '^ *+' conftest.er1 >conftest.err
12593 cat conftest.err >&5
12594 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_c_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest.$ac_objext; then
12599 { $as_echo "$as_me:$LINENO: result
: yes" >&5
12600 $as_echo "yes" >&6; } ; int64="uint64_t
"
12602 $as_echo "$as_me: failed program was
:" >&5
12603 sed 's/^/| /' conftest.$ac_ext >&5
12607 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12608 $as_echo "no
" >&6; }
12609 { $as_echo "$as_me:$LINENO: checking
for u_int_64_t
" >&5
12610 $as_echo_n "checking
for u_int_64_t...
" >&6; }
12612 cat >conftest.$ac_ext <<_ACEOF
12615 cat confdefs.h >>conftest.$ac_ext
12616 cat >>conftest.$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12619 #if HAVE_SYS_TYPES_H
12620 #include <sys/types.h>
12633 rm -f conftest.$ac_objext
12634 if { (ac_try="$ac_compile"
12635 case "(($ac_try" in
12636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12637 *) ac_try_echo=$ac_try;;
12639 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12640 $as_echo "$ac_try_echo") >&5
12641 (eval "$ac_compile") 2>conftest.er1
12643 grep -v '^ *+' conftest.er1 >conftest.err
12645 cat conftest.err >&5
12646 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12647 (exit $ac_status); } && {
12648 test -z "$ac_c_werror_flag" ||
12649 test ! -s conftest.err
12650 } && test -s conftest.$ac_objext; then
12651 { $as_echo "$as_me:$LINENO: result
: yes" >&5
12652 $as_echo "yes" >&6; }; int64="u_int64_t
"
12654 $as_echo "$as_me: failed program was
:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12659 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12660 $as_echo "no
" >&6; }
12662 # The cast to long int works around a bug in the HP C Compiler
12663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12665 # This bug is HP SR number 8606223364.
12666 { $as_echo "$as_me:$LINENO: checking size of unsigned
" >&5
12667 $as_echo_n "checking size of unsigned...
" >&6; }
12668 if test "${ac_cv_sizeof_unsigned+set}" = set; then
12669 $as_echo_n "(cached
) " >&6
12671 if test "$cross_compiling" = yes; then
12672 # Depending upon the size, compute the lo and hi bounds.
12673 cat >conftest.$ac_ext <<_ACEOF
12676 cat confdefs.h >>conftest.$ac_ext
12677 cat >>conftest.$ac_ext <<_ACEOF
12678 /* end confdefs.h. */
12679 $ac_includes_default
12683 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) >= 0)];
12690 rm -f conftest.$ac_objext
12691 if { (ac_try="$ac_compile"
12692 case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12696 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12697 $as_echo "$ac_try_echo") >&5
12698 (eval "$ac_compile") 2>conftest.er1
12700 grep -v '^ *+' conftest.er1 >conftest.err
12702 cat conftest.err >&5
12703 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12704 (exit $ac_status); } && {
12705 test -z "$ac_c_werror_flag" ||
12706 test ! -s conftest.err
12707 } && test -s conftest.$ac_objext; then
12710 cat >conftest.$ac_ext <<_ACEOF
12713 cat confdefs.h >>conftest.$ac_ext
12714 cat >>conftest.$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12716 $ac_includes_default
12720 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) <= $ac_mid)];
12727 rm -f conftest.$ac_objext
12728 if { (ac_try="$ac_compile"
12729 case "(($ac_try" in
12730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12731 *) ac_try_echo=$ac_try;;
12733 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12734 $as_echo "$ac_try_echo") >&5
12735 (eval "$ac_compile") 2>conftest.er1
12737 grep -v '^ *+' conftest.er1 >conftest.err
12739 cat conftest.err >&5
12740 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12741 (exit $ac_status); } && {
12742 test -z "$ac_c_werror_flag" ||
12743 test ! -s conftest.err
12744 } && test -s conftest.$ac_objext; then
12745 ac_hi=$ac_mid; break
12747 $as_echo "$as_me: failed program was
:" >&5
12748 sed 's/^/| /' conftest.$ac_ext >&5
12750 ac_lo=`expr $ac_mid + 1`
12751 if test $ac_lo -le $ac_mid; then
12755 ac_mid=`expr 2 '*' $ac_mid + 1`
12758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12761 $as_echo "$as_me: failed program was
:" >&5
12762 sed 's/^/| /' conftest.$ac_ext >&5
12764 cat >conftest.$ac_ext <<_ACEOF
12767 cat confdefs.h >>conftest.$ac_ext
12768 cat >>conftest.$ac_ext <<_ACEOF
12769 /* end confdefs.h. */
12770 $ac_includes_default
12774 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) < 0)];
12781 rm -f conftest.$ac_objext
12782 if { (ac_try="$ac_compile"
12783 case "(($ac_try" in
12784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12785 *) ac_try_echo=$ac_try;;
12787 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12788 $as_echo "$ac_try_echo") >&5
12789 (eval "$ac_compile") 2>conftest.er1
12791 grep -v '^ *+' conftest.er1 >conftest.err
12793 cat conftest.err >&5
12794 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12795 (exit $ac_status); } && {
12796 test -z "$ac_c_werror_flag" ||
12797 test ! -s conftest.err
12798 } && test -s conftest.$ac_objext; then
12801 cat >conftest.$ac_ext <<_ACEOF
12804 cat confdefs.h >>conftest.$ac_ext
12805 cat >>conftest.$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 $ac_includes_default
12811 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) >= $ac_mid)];
12818 rm -f conftest.$ac_objext
12819 if { (ac_try="$ac_compile"
12820 case "(($ac_try" in
12821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12822 *) ac_try_echo=$ac_try;;
12824 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12825 $as_echo "$ac_try_echo") >&5
12826 (eval "$ac_compile") 2>conftest.er1
12828 grep -v '^ *+' conftest.er1 >conftest.err
12830 cat conftest.err >&5
12831 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12832 (exit $ac_status); } && {
12833 test -z "$ac_c_werror_flag" ||
12834 test ! -s conftest.err
12835 } && test -s conftest.$ac_objext; then
12836 ac_lo=$ac_mid; break
12838 $as_echo "$as_me: failed program was
:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12841 ac_hi=`expr '(' $ac_mid ')' - 1`
12842 if test $ac_mid -le $ac_hi; then
12846 ac_mid=`expr 2 '*' $ac_mid`
12849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12852 $as_echo "$as_me: failed program was
:" >&5
12853 sed 's/^/| /' conftest.$ac_ext >&5
12858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12862 # Binary search between lo and hi bounds.
12863 while test "x
$ac_lo" != "x
$ac_hi"; do
12864 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12865 cat >conftest.$ac_ext <<_ACEOF
12868 cat confdefs.h >>conftest.$ac_ext
12869 cat >>conftest.$ac_ext <<_ACEOF
12870 /* end confdefs.h. */
12871 $ac_includes_default
12875 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) <= $ac_mid)];
12882 rm -f conftest.$ac_objext
12883 if { (ac_try="$ac_compile"
12884 case "(($ac_try" in
12885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12888 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12889 $as_echo "$ac_try_echo") >&5
12890 (eval "$ac_compile") 2>conftest.er1
12892 grep -v '^ *+' conftest.er1 >conftest.err
12894 cat conftest.err >&5
12895 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12896 (exit $ac_status); } && {
12897 test -z "$ac_c_werror_flag" ||
12898 test ! -s conftest.err
12899 } && test -s conftest.$ac_objext; then
12902 $as_echo "$as_me: failed program was
:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12905 ac_lo=`expr '(' $ac_mid ')' + 1`
12908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12911 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
12912 '') if test "$ac_cv_type_unsigned" = yes; then
12913 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
12914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12915 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
12916 See \`config.log' for more details.
" >&5
12917 $as_echo "$as_me: error
: cannot compute sizeof
(unsigned
)
12918 See \
`config.log' for more details." >&2;}
12919 { (exit 77); exit 77; }; }; }
12921 ac_cv_sizeof_unsigned=0
12925 cat >conftest.$ac_ext <<_ACEOF
12928 cat confdefs.h >>conftest.$ac_ext
12929 cat >>conftest.$ac_ext <<_ACEOF
12930 /* end confdefs.h. */
12931 $ac_includes_default
12932 static long int longval () { return (long int) (sizeof (unsigned)); }
12933 static unsigned long int ulongval () { return (long int) (sizeof (unsigned)); }
12935 #include <stdlib.h>
12940 FILE *f = fopen ("conftest.val", "w");
12943 if (((long int) (sizeof (unsigned))) < 0)
12945 long int i = longval ();
12946 if (i != ((long int) (sizeof (unsigned))))
12948 fprintf (f, "%ld", i);
12952 unsigned long int i = ulongval ();
12953 if (i != ((long int) (sizeof (unsigned))))
12955 fprintf (f, "%lu", i);
12957 /* Do not output a trailing newline, as this causes \r\n confusion
12958 on some platforms. */
12959 return ferror (f) || fclose (f) != 0;
12965 rm -f conftest$ac_exeext
12966 if { (ac_try="$ac_link"
12967 case "(($ac_try" in
12968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12969 *) ac_try_echo
=$ac_try;;
12971 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12972 $as_echo "$ac_try_echo") >&5
12973 (eval "$ac_link") 2>&5
12975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12977 { (case "(($ac_try" in
12978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12979 *) ac_try_echo=$ac_try;;
12981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12982 $as_echo "$ac_try_echo") >&5
12983 (eval "$ac_try") 2>&5
12985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; }; then
12987 ac_cv_sizeof_unsigned=`cat conftest.val
`
12989 $as_echo "$as_me: program exited with status $ac_status" >&5
12990 $as_echo "$as_me: failed program was:" >&5
12991 sed 's/^/| /' conftest.$ac_ext >&5
12993 ( exit $ac_status )
12994 if test "$ac_cv_type_unsigned" = yes; then
12995 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12997 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned
)
12998 See \
`config.log' for more details." >&5
12999 $as_echo "$as_me: error: cannot compute sizeof (unsigned)
13000 See \`config.log
' for more details." >&2;}
13001 { (exit 77); exit 77; }; }; }
13003 ac_cv_sizeof_unsigned=0
13006 rm -rf conftest.dSYM
13007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13011 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
13012 $as_echo "$ac_cv_sizeof_unsigned" >&6; }
13016 cat >>confdefs.h <<_ACEOF
13017 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
13021 if test "$ac_cv_sizeof_unsigned" != 8
13023 # The cast to long int works around a bug in the HP C Compiler
13024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13026 # This bug is HP SR number 8606223364.
13027 { $as_echo "$as_me:$LINENO: checking size of unsigned long" >&5
13028 $as_echo_n "checking size of unsigned long... " >&6; }
13029 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
13030 $as_echo_n "(cached) " >&6
13032 if test "$cross_compiling" = yes; then
13033 # Depending upon the size, compute the lo and hi bounds.
13034 cat >conftest.
$ac_ext <<_ACEOF
13037 cat confdefs.h
>>conftest.
$ac_ext
13038 cat >>conftest.
$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13040 $ac_includes_default
13044 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= 0)];
13051 rm -f conftest.
$ac_objext
13052 if { (ac_try
="$ac_compile"
13053 case "(($ac_try" in
13054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13055 *) ac_try_echo=$ac_try;;
13057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13058 $as_echo "$ac_try_echo") >&5
13059 (eval "$ac_compile") 2>conftest.er1
13061 grep -v '^ *+' conftest.er1 >conftest.err
13063 cat conftest.err >&5
13064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } && {
13066 test -z "$ac_c_werror_flag" ||
13067 test ! -s conftest.err
13068 } && test -s conftest.$ac_objext; then
13071 cat >conftest.$ac_ext <<_ACEOF
13074 cat confdefs.h >>conftest.$ac_ext
13075 cat >>conftest.$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077 $ac_includes_default
13081 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
13088 rm -f conftest.$ac_objext
13089 if { (ac_try="$ac_compile"
13090 case "(($ac_try" in
13091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13092 *) ac_try_echo
=$ac_try;;
13094 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13095 $as_echo "$ac_try_echo") >&5
13096 (eval "$ac_compile") 2>conftest.er1
13098 grep -v '^ *+' conftest.er1
>conftest.err
13100 cat conftest.err
>&5
13101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } && {
13103 test -z "$ac_c_werror_flag" ||
13104 test ! -s conftest.err
13105 } && test -s conftest.
$ac_objext; then
13106 ac_hi
=$ac_mid; break
13108 $as_echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.
$ac_ext >&5
13111 ac_lo
=`expr $ac_mid + 1`
13112 if test $ac_lo -le $ac_mid; then
13116 ac_mid
=`expr 2 '*' $ac_mid + 1`
13119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13122 $as_echo "$as_me: failed program was:" >&5
13123 sed 's/^/| /' conftest.
$ac_ext >&5
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 $ac_includes_default
13135 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) < 0)];
13142 rm -f conftest.
$ac_objext
13143 if { (ac_try
="$ac_compile"
13144 case "(($ac_try" in
13145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13146 *) ac_try_echo=$ac_try;;
13148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13149 $as_echo "$ac_try_echo") >&5
13150 (eval "$ac_compile") 2>conftest.er1
13152 grep -v '^ *+' conftest.er1 >conftest.err
13154 cat conftest.err >&5
13155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } && {
13157 test -z "$ac_c_werror_flag" ||
13158 test ! -s conftest.err
13159 } && test -s conftest.$ac_objext; then
13162 cat >conftest.$ac_ext <<_ACEOF
13165 cat confdefs.h >>conftest.$ac_ext
13166 cat >>conftest.$ac_ext <<_ACEOF
13167 /* end confdefs.h. */
13168 $ac_includes_default
13172 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= $ac_mid)];
13179 rm -f conftest.$ac_objext
13180 if { (ac_try="$ac_compile"
13181 case "(($ac_try" in
13182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13183 *) ac_try_echo
=$ac_try;;
13185 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13186 $as_echo "$ac_try_echo") >&5
13187 (eval "$ac_compile") 2>conftest.er1
13189 grep -v '^ *+' conftest.er1
>conftest.err
13191 cat conftest.err
>&5
13192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } && {
13194 test -z "$ac_c_werror_flag" ||
13195 test ! -s conftest.err
13196 } && test -s conftest.
$ac_objext; then
13197 ac_lo
=$ac_mid; break
13199 $as_echo "$as_me: failed program was:" >&5
13200 sed 's/^/| /' conftest.
$ac_ext >&5
13202 ac_hi
=`expr '(' $ac_mid ')' - 1`
13203 if test $ac_mid -le $ac_hi; then
13207 ac_mid
=`expr 2 '*' $ac_mid`
13210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13213 $as_echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.
$ac_ext >&5
13219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13223 # Binary search between lo and hi bounds.
13224 while test "x$ac_lo" != "x$ac_hi"; do
13225 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13226 cat >conftest.
$ac_ext <<_ACEOF
13229 cat confdefs.h
>>conftest.
$ac_ext
13230 cat >>conftest.
$ac_ext <<_ACEOF
13231 /* end confdefs.h. */
13232 $ac_includes_default
13236 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
13243 rm -f conftest.
$ac_objext
13244 if { (ac_try
="$ac_compile"
13245 case "(($ac_try" in
13246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13247 *) ac_try_echo=$ac_try;;
13249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13250 $as_echo "$ac_try_echo") >&5
13251 (eval "$ac_compile") 2>conftest.er1
13253 grep -v '^ *+' conftest.er1 >conftest.err
13255 cat conftest.err >&5
13256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); } && {
13258 test -z "$ac_c_werror_flag" ||
13259 test ! -s conftest.err
13260 } && test -s conftest.$ac_objext; then
13263 $as_echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13266 ac_lo=`expr '(' $ac_mid ')' + 1`
13269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13272 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
13273 '') if test "$ac_cv_type_unsigned_long" = yes; then
13274 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13276 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
13277 See \
`config.log' for more details." >&5
13278 $as_echo "$as_me: error: cannot compute sizeof (unsigned long)
13279 See \`config.log
' for more details." >&2;}
13280 { (exit 77); exit 77; }; }; }
13282 ac_cv_sizeof_unsigned_long=0
13286 cat >conftest.$ac_ext <<_ACEOF
13289 cat confdefs.h >>conftest.$ac_ext
13290 cat >>conftest.$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 $ac_includes_default
13293 static long int longval () { return (long int) (sizeof (unsigned long)); }
13294 static unsigned long int ulongval () { return (long int) (sizeof (unsigned long)); }
13296 #include <stdlib.h>
13301 FILE *f = fopen ("conftest.val", "w");
13304 if (((long int) (sizeof (unsigned long))) < 0)
13306 long int i = longval ();
13307 if (i != ((long int) (sizeof (unsigned long))))
13309 fprintf (f, "%ld", i);
13313 unsigned long int i = ulongval ();
13314 if (i != ((long int) (sizeof (unsigned long))))
13316 fprintf (f, "%lu", i);
13318 /* Do not output a trailing newline, as this causes \r\n confusion
13319 on some platforms. */
13320 return ferror (f) || fclose (f) != 0;
13326 rm -f conftest$ac_exeext
13327 if { (ac_try="$ac_link"
13328 case "(($ac_try" in
13329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13330 *) ac_try_echo=$ac_try;;
13332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13333 $as_echo "$ac_try_echo") >&5
13334 (eval "$ac_link") 2>&5
13336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
13338 { (case "(($ac_try" in
13339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13340 *) ac_try_echo=$ac_try;;
13342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13343 $as_echo "$ac_try_echo") >&5
13344 (eval "$ac_try") 2>&5
13346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); }; }; then
13348 ac_cv_sizeof_unsigned_long=`cat conftest.val`
13350 $as_echo "$as_me: program exited with status $ac_status" >&5
13351 $as_echo "$as_me: failed program was:" >&5
13352 sed 's
/^
/|
/' conftest.$ac_ext >&5
13354 ( exit $ac_status )
13355 if test "$ac_cv_type_unsigned_long" = yes; then
13356 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13357 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
13358 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
13359 See \`config.log
' for more details." >&5
13360 $as_echo "$as_me: error: cannot compute sizeof (unsigned long)
13361 See \`config.log' for more details.
" >&2;}
13362 { (exit 77); exit 77; }; }; }
13364 ac_cv_sizeof_unsigned_long=0
13367 rm -rf conftest.dSYM
13368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13372 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_unsigned_long" >&5
13373 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
13377 cat >>confdefs.h <<_ACEOF
13378 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
13382 if test "$ac_cv_sizeof_unsigned_long" != 8
13384 # The cast to long int works around a bug in the HP C Compiler
13385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13387 # This bug is HP SR number 8606223364.
13388 { $as_echo "$as_me:$LINENO: checking size of unsigned long long
" >&5
13389 $as_echo_n "checking size of unsigned long long...
" >&6; }
13390 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
13391 $as_echo_n "(cached
) " >&6
13393 if test "$cross_compiling" = yes; then
13394 # Depending upon the size, compute the lo and hi bounds.
13395 cat >conftest.$ac_ext <<_ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 $ac_includes_default
13405 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) >= 0)];
13412 rm -f conftest.$ac_objext
13413 if { (ac_try="$ac_compile"
13414 case "(($ac_try" in
13415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13416 *) ac_try_echo=$ac_try;;
13418 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13419 $as_echo "$ac_try_echo") >&5
13420 (eval "$ac_compile") 2>conftest.er1
13422 grep -v '^ *+' conftest.er1 >conftest.err
13424 cat conftest.err >&5
13425 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13426 (exit $ac_status); } && {
13427 test -z "$ac_c_werror_flag" ||
13428 test ! -s conftest.err
13429 } && test -s conftest.$ac_objext; then
13432 cat >conftest.$ac_ext <<_ACEOF
13435 cat confdefs.h >>conftest.$ac_ext
13436 cat >>conftest.$ac_ext <<_ACEOF
13437 /* end confdefs.h. */
13438 $ac_includes_default
13442 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= $ac_mid)];
13449 rm -f conftest.$ac_objext
13450 if { (ac_try="$ac_compile"
13451 case "(($ac_try" in
13452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13453 *) ac_try_echo=$ac_try;;
13455 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13456 $as_echo "$ac_try_echo") >&5
13457 (eval "$ac_compile") 2>conftest.er1
13459 grep -v '^ *+' conftest.er1 >conftest.err
13461 cat conftest.err >&5
13462 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13463 (exit $ac_status); } && {
13464 test -z "$ac_c_werror_flag" ||
13465 test ! -s conftest.err
13466 } && test -s conftest.$ac_objext; then
13467 ac_hi=$ac_mid; break
13469 $as_echo "$as_me: failed program was
:" >&5
13470 sed 's/^/| /' conftest.$ac_ext >&5
13472 ac_lo=`expr $ac_mid + 1`
13473 if test $ac_lo -le $ac_mid; then
13477 ac_mid=`expr 2 '*' $ac_mid + 1`
13480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13483 $as_echo "$as_me: failed program was
:" >&5
13484 sed 's/^/| /' conftest.$ac_ext >&5
13486 cat >conftest.$ac_ext <<_ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492 $ac_includes_default
13496 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) < 0)];
13503 rm -f conftest.$ac_objext
13504 if { (ac_try="$ac_compile"
13505 case "(($ac_try" in
13506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13507 *) ac_try_echo=$ac_try;;
13509 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13510 $as_echo "$ac_try_echo") >&5
13511 (eval "$ac_compile") 2>conftest.er1
13513 grep -v '^ *+' conftest.er1 >conftest.err
13515 cat conftest.err >&5
13516 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13517 (exit $ac_status); } && {
13518 test -z "$ac_c_werror_flag" ||
13519 test ! -s conftest.err
13520 } && test -s conftest.$ac_objext; then
13523 cat >conftest.$ac_ext <<_ACEOF
13526 cat confdefs.h >>conftest.$ac_ext
13527 cat >>conftest.$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 $ac_includes_default
13533 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) >= $ac_mid)];
13540 rm -f conftest.$ac_objext
13541 if { (ac_try="$ac_compile"
13542 case "(($ac_try" in
13543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13544 *) ac_try_echo=$ac_try;;
13546 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13547 $as_echo "$ac_try_echo") >&5
13548 (eval "$ac_compile") 2>conftest.er1
13550 grep -v '^ *+' conftest.er1 >conftest.err
13552 cat conftest.err >&5
13553 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13554 (exit $ac_status); } && {
13555 test -z "$ac_c_werror_flag" ||
13556 test ! -s conftest.err
13557 } && test -s conftest.$ac_objext; then
13558 ac_lo=$ac_mid; break
13560 $as_echo "$as_me: failed program was
:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13563 ac_hi=`expr '(' $ac_mid ')' - 1`
13564 if test $ac_mid -le $ac_hi; then
13568 ac_mid=`expr 2 '*' $ac_mid`
13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13574 $as_echo "$as_me: failed program was
:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13584 # Binary search between lo and hi bounds.
13585 while test "x
$ac_lo" != "x
$ac_hi"; do
13586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13587 cat >conftest.$ac_ext <<_ACEOF
13590 cat confdefs.h >>conftest.$ac_ext
13591 cat >>conftest.$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13593 $ac_includes_default
13597 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= $ac_mid)];
13604 rm -f conftest.$ac_objext
13605 if { (ac_try="$ac_compile"
13606 case "(($ac_try" in
13607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13608 *) ac_try_echo=$ac_try;;
13610 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13611 $as_echo "$ac_try_echo") >&5
13612 (eval "$ac_compile") 2>conftest.er1
13614 grep -v '^ *+' conftest.er1 >conftest.err
13616 cat conftest.err >&5
13617 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13618 (exit $ac_status); } && {
13619 test -z "$ac_c_werror_flag" ||
13620 test ! -s conftest.err
13621 } && test -s conftest.$ac_objext; then
13624 $as_echo "$as_me: failed program was
:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13627 ac_lo=`expr '(' $ac_mid ')' + 1`
13630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13633 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
13634 '') if test "$ac_cv_type_unsigned_long_long" = yes; then
13635 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
13636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13637 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
13638 See \`config.log' for more details.
" >&5
13639 $as_echo "$as_me: error
: cannot compute sizeof
(unsigned long long
)
13640 See \
`config.log' for more details." >&2;}
13641 { (exit 77); exit 77; }; }; }
13643 ac_cv_sizeof_unsigned_long_long=0
13647 cat >conftest.$ac_ext <<_ACEOF
13650 cat confdefs.h >>conftest.$ac_ext
13651 cat >>conftest.$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 $ac_includes_default
13654 static long int longval () { return (long int) (sizeof (unsigned long long)); }
13655 static unsigned long int ulongval () { return (long int) (sizeof (unsigned long long)); }
13657 #include <stdlib.h>
13662 FILE *f = fopen ("conftest.val", "w");
13665 if (((long int) (sizeof (unsigned long long))) < 0)
13667 long int i = longval ();
13668 if (i != ((long int) (sizeof (unsigned long long))))
13670 fprintf (f, "%ld", i);
13674 unsigned long int i = ulongval ();
13675 if (i != ((long int) (sizeof (unsigned long long))))
13677 fprintf (f, "%lu", i);
13679 /* Do not output a trailing newline, as this causes \r\n confusion
13680 on some platforms. */
13681 return ferror (f) || fclose (f) != 0;
13687 rm -f conftest$ac_exeext
13688 if { (ac_try="$ac_link"
13689 case "(($ac_try" in
13690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13691 *) ac_try_echo
=$ac_try;;
13693 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13694 $as_echo "$ac_try_echo") >&5
13695 (eval "$ac_link") 2>&5
13697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13699 { (case "(($ac_try" in
13700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13701 *) ac_try_echo=$ac_try;;
13703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13704 $as_echo "$ac_try_echo") >&5
13705 (eval "$ac_try") 2>&5
13707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; }; then
13709 ac_cv_sizeof_unsigned_long_long=`cat conftest.val
`
13711 $as_echo "$as_me: program exited with status $ac_status" >&5
13712 $as_echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13715 ( exit $ac_status )
13716 if test "$ac_cv_type_unsigned_long_long" = yes; then
13717 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13719 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long long
)
13720 See \
`config.log' for more details." >&5
13721 $as_echo "$as_me: error: cannot compute sizeof (unsigned long long)
13722 See \`config.log
' for more details." >&2;}
13723 { (exit 77); exit 77; }; }; }
13725 ac_cv_sizeof_unsigned_long_long=0
13728 rm -rf conftest.dSYM
13729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13733 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
13734 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
13738 cat >>confdefs.h <<_ACEOF
13739 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
13743 if test "$ac_cv_sizeof_unsigned_long_long" != 8
13745 # The cast to long int works around a bug in the HP C Compiler
13746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13748 # This bug is HP SR number 8606223364.
13749 { $as_echo "$as_me:$LINENO: checking size of unsigned short" >&5
13750 $as_echo_n "checking size of unsigned short... " >&6; }
13751 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
13752 $as_echo_n "(cached) " >&6
13754 if test "$cross_compiling" = yes; then
13755 # Depending upon the size, compute the lo and hi bounds.
13756 cat >conftest.
$ac_ext <<_ACEOF
13759 cat confdefs.h
>>conftest.
$ac_ext
13760 cat >>conftest.
$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 $ac_includes_default
13766 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= 0)];
13773 rm -f conftest.
$ac_objext
13774 if { (ac_try
="$ac_compile"
13775 case "(($ac_try" in
13776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13777 *) ac_try_echo=$ac_try;;
13779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13780 $as_echo "$ac_try_echo") >&5
13781 (eval "$ac_compile") 2>conftest.er1
13783 grep -v '^ *+' conftest.er1 >conftest.err
13785 cat conftest.err >&5
13786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } && {
13788 test -z "$ac_c_werror_flag" ||
13789 test ! -s conftest.err
13790 } && test -s conftest.$ac_objext; then
13793 cat >conftest.$ac_ext <<_ACEOF
13796 cat confdefs.h >>conftest.$ac_ext
13797 cat >>conftest.$ac_ext <<_ACEOF
13798 /* end confdefs.h. */
13799 $ac_includes_default
13803 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
13810 rm -f conftest.$ac_objext
13811 if { (ac_try="$ac_compile"
13812 case "(($ac_try" in
13813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13814 *) ac_try_echo
=$ac_try;;
13816 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13817 $as_echo "$ac_try_echo") >&5
13818 (eval "$ac_compile") 2>conftest.er1
13820 grep -v '^ *+' conftest.er1
>conftest.err
13822 cat conftest.err
>&5
13823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } && {
13825 test -z "$ac_c_werror_flag" ||
13826 test ! -s conftest.err
13827 } && test -s conftest.
$ac_objext; then
13828 ac_hi
=$ac_mid; break
13830 $as_echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13833 ac_lo
=`expr $ac_mid + 1`
13834 if test $ac_lo -le $ac_mid; then
13838 ac_mid
=`expr 2 '*' $ac_mid + 1`
13841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13844 $as_echo "$as_me: failed program was:" >&5
13845 sed 's/^/| /' conftest.
$ac_ext >&5
13847 cat >conftest.
$ac_ext <<_ACEOF
13850 cat confdefs.h
>>conftest.
$ac_ext
13851 cat >>conftest.
$ac_ext <<_ACEOF
13852 /* end confdefs.h. */
13853 $ac_includes_default
13857 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) < 0)];
13864 rm -f conftest.
$ac_objext
13865 if { (ac_try
="$ac_compile"
13866 case "(($ac_try" in
13867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13868 *) ac_try_echo=$ac_try;;
13870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13871 $as_echo "$ac_try_echo") >&5
13872 (eval "$ac_compile") 2>conftest.er1
13874 grep -v '^ *+' conftest.er1 >conftest.err
13876 cat conftest.err >&5
13877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } && {
13879 test -z "$ac_c_werror_flag" ||
13880 test ! -s conftest.err
13881 } && test -s conftest.$ac_objext; then
13884 cat >conftest.$ac_ext <<_ACEOF
13887 cat confdefs.h >>conftest.$ac_ext
13888 cat >>conftest.$ac_ext <<_ACEOF
13889 /* end confdefs.h. */
13890 $ac_includes_default
13894 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= $ac_mid)];
13901 rm -f conftest.$ac_objext
13902 if { (ac_try="$ac_compile"
13903 case "(($ac_try" in
13904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13905 *) ac_try_echo
=$ac_try;;
13907 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13908 $as_echo "$ac_try_echo") >&5
13909 (eval "$ac_compile") 2>conftest.er1
13911 grep -v '^ *+' conftest.er1
>conftest.err
13913 cat conftest.err
>&5
13914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } && {
13916 test -z "$ac_c_werror_flag" ||
13917 test ! -s conftest.err
13918 } && test -s conftest.
$ac_objext; then
13919 ac_lo
=$ac_mid; break
13921 $as_echo "$as_me: failed program was:" >&5
13922 sed 's/^/| /' conftest.
$ac_ext >&5
13924 ac_hi
=`expr '(' $ac_mid ')' - 1`
13925 if test $ac_mid -le $ac_hi; then
13929 ac_mid
=`expr 2 '*' $ac_mid`
13932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13935 $as_echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.
$ac_ext >&5
13941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13945 # Binary search between lo and hi bounds.
13946 while test "x$ac_lo" != "x$ac_hi"; do
13947 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13948 cat >conftest.
$ac_ext <<_ACEOF
13951 cat confdefs.h
>>conftest.
$ac_ext
13952 cat >>conftest.
$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13954 $ac_includes_default
13958 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
13965 rm -f conftest.
$ac_objext
13966 if { (ac_try
="$ac_compile"
13967 case "(($ac_try" in
13968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13969 *) ac_try_echo=$ac_try;;
13971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13972 $as_echo "$ac_try_echo") >&5
13973 (eval "$ac_compile") 2>conftest.er1
13975 grep -v '^ *+' conftest.er1 >conftest.err
13977 cat conftest.err >&5
13978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); } && {
13980 test -z "$ac_c_werror_flag" ||
13981 test ! -s conftest.err
13982 } && test -s conftest.$ac_objext; then
13985 $as_echo "$as_me: failed program was:" >&5
13986 sed 's/^/| /' conftest.$ac_ext >&5
13988 ac_lo=`expr '(' $ac_mid ')' + 1`
13991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13994 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
13995 '') if test "$ac_cv_type_unsigned_short" = yes; then
13996 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13998 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
13999 See \
`config.log' for more details." >&5
14000 $as_echo "$as_me: error: cannot compute sizeof (unsigned short)
14001 See \`config.log
' for more details." >&2;}
14002 { (exit 77); exit 77; }; }; }
14004 ac_cv_sizeof_unsigned_short=0
14008 cat >conftest.$ac_ext <<_ACEOF
14011 cat confdefs.h >>conftest.$ac_ext
14012 cat >>conftest.$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14014 $ac_includes_default
14015 static long int longval () { return (long int) (sizeof (unsigned short)); }
14016 static unsigned long int ulongval () { return (long int) (sizeof (unsigned short)); }
14018 #include <stdlib.h>
14023 FILE *f = fopen ("conftest.val", "w");
14026 if (((long int) (sizeof (unsigned short))) < 0)
14028 long int i = longval ();
14029 if (i != ((long int) (sizeof (unsigned short))))
14031 fprintf (f, "%ld", i);
14035 unsigned long int i = ulongval ();
14036 if (i != ((long int) (sizeof (unsigned short))))
14038 fprintf (f, "%lu", i);
14040 /* Do not output a trailing newline, as this causes \r\n confusion
14041 on some platforms. */
14042 return ferror (f) || fclose (f) != 0;
14048 rm -f conftest$ac_exeext
14049 if { (ac_try="$ac_link"
14050 case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14055 $as_echo "$ac_try_echo") >&5
14056 (eval "$ac_link") 2>&5
14058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
14060 { (case "(($ac_try" in
14061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14062 *) ac_try_echo=$ac_try;;
14064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14065 $as_echo "$ac_try_echo") >&5
14066 (eval "$ac_try") 2>&5
14068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; }; then
14070 ac_cv_sizeof_unsigned_short=`cat conftest.val`
14072 $as_echo "$as_me: program exited with status $ac_status" >&5
14073 $as_echo "$as_me: failed program was:" >&5
14074 sed 's
/^
/|
/' conftest.$ac_ext >&5
14076 ( exit $ac_status )
14077 if test "$ac_cv_type_unsigned_short" = yes; then
14078 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14079 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
14080 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
14081 See \`config.log
' for more details." >&5
14082 $as_echo "$as_me: error: cannot compute sizeof (unsigned short)
14083 See \`config.log' for more details.
" >&2;}
14084 { (exit 77); exit 77; }; }; }
14086 ac_cv_sizeof_unsigned_short=0
14089 rm -rf conftest.dSYM
14090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14094 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_unsigned_short" >&5
14095 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
14099 cat >>confdefs.h <<_ACEOF
14100 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
14104 if test "$ac_cv_sizeof_unsigned_short" != 8
14106 { { $as_echo "$as_me:$LINENO: error
: --with-int64 option is required
" >&5
14107 $as_echo "$as_me: error
: --with-int64 option is required
" >&2;}
14108 { (exit 1); exit 1; }; }
14110 int64="unsigned short
"
14112 int64="unsigned long long
"
14115 int64="unsigned long
"
14123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 cat >>confdefs.h <<_ACEOF
14136 #define SHA512_WORD $UINT64
14139 { $as_echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
14140 $as_echo_n "checking
for an ANSI C-conforming const...
" >&6; }
14141 if test "${ac_cv_c_const+set}" = set; then
14142 $as_echo_n "(cached
) " >&6
14144 cat >conftest.$ac_ext <<_ACEOF
14147 cat confdefs.h >>conftest.$ac_ext
14148 cat >>conftest.$ac_ext <<_ACEOF
14149 /* end confdefs.h. */
14154 /* FIXME: Include the comments suggested by Paul. */
14155 #ifndef __cplusplus
14156 /* Ultrix mips cc rejects this. */
14157 typedef int charset[2];
14159 /* SunOS 4.1.1 cc rejects this. */
14160 char const *const *pcpcc;
14162 /* NEC SVR4.0.2 mips cc rejects this. */
14163 struct point {int x, y;};
14164 static struct point const zero = {0,0};
14165 /* AIX XL C 1.02.0.0 rejects this.
14166 It does not let you subtract one const X* pointer from another in
14167 an arm of an if-expression whose if-part is not a constant
14169 const char *g = "string
";
14170 pcpcc = &g + (g ? g-g : 0);
14171 /* HPUX 7.0 cc rejects these. */
14173 ppc = (char**) pcpcc;
14174 pcpcc = (char const *const *) ppc;
14175 { /* SCO 3.2v4 cc rejects this. */
14177 char const *s = 0 ? (char *) 0 : (char const *) 0;
14182 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14183 int x[] = {25, 17};
14184 const int *foo = &x[0];
14187 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14188 typedef const int *iptr;
14192 { /* AIX XL C 1.02.0.0 rejects this saying
14193 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14194 struct s { int j; const int *ap[3]; };
14195 struct s *b; b->j = 5;
14197 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14198 const int foo = 10;
14199 if (!foo) return 0;
14201 return !cs[0] && !zero.x;
14208 rm -f conftest.$ac_objext
14209 if { (ac_try="$ac_compile"
14210 case "(($ac_try" in
14211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14212 *) ac_try_echo=$ac_try;;
14214 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14215 $as_echo "$ac_try_echo") >&5
14216 (eval "$ac_compile") 2>conftest.er1
14218 grep -v '^ *+' conftest.er1 >conftest.err
14220 cat conftest.err >&5
14221 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14222 (exit $ac_status); } && {
14223 test -z "$ac_c_werror_flag" ||
14224 test ! -s conftest.err
14225 } && test -s conftest.$ac_objext; then
14228 $as_echo "$as_me: failed program was
:" >&5
14229 sed 's/^/| /' conftest.$ac_ext >&5
14234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14236 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
14237 $as_echo "$ac_cv_c_const" >&6; }
14238 if test $ac_cv_c_const = no; then
14240 cat >>confdefs.h <<\_ACEOF
14247 { $as_echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
14248 $as_echo_n "checking
for ANSI C header files...
" >&6; }
14249 if test "${ac_cv_header_stdc+set}" = set; then
14250 $as_echo_n "(cached
) " >&6
14252 cat >conftest.$ac_ext <<_ACEOF
14255 cat confdefs.h >>conftest.$ac_ext
14256 cat >>conftest.$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 #include <stdlib.h>
14259 #include <stdarg.h>
14260 #include <string.h>
14271 rm -f conftest.$ac_objext
14272 if { (ac_try="$ac_compile"
14273 case "(($ac_try" in
14274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14275 *) ac_try_echo=$ac_try;;
14277 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14278 $as_echo "$ac_try_echo") >&5
14279 (eval "$ac_compile") 2>conftest.er1
14281 grep -v '^ *+' conftest.er1 >conftest.err
14283 cat conftest.err >&5
14284 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_c_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest.$ac_objext; then
14289 ac_cv_header_stdc=yes
14291 $as_echo "$as_me: failed program was
:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14294 ac_cv_header_stdc=no
14297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14299 if test $ac_cv_header_stdc = yes; then
14300 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14301 cat >conftest.$ac_ext <<_ACEOF
14304 cat confdefs.h >>conftest.$ac_ext
14305 cat >>conftest.$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 #include <string.h>
14310 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
14311 $EGREP "memchr
" >/dev/null 2>&1; then
14314 ac_cv_header_stdc=no
14320 if test $ac_cv_header_stdc = yes; then
14321 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14322 cat >conftest.$ac_ext <<_ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14328 #include <stdlib.h>
14331 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
14332 $EGREP "free
" >/dev/null 2>&1; then
14335 ac_cv_header_stdc=no
14341 if test $ac_cv_header_stdc = yes; then
14342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14343 if test "$cross_compiling" = yes; then
14346 cat >conftest.$ac_ext <<_ACEOF
14349 cat confdefs.h >>conftest.$ac_ext
14350 cat >>conftest.$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14353 #include <stdlib.h>
14354 #if ((' ' & 0x0FF) == 0x020)
14355 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14356 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14358 # define ISLOWER(c) \
14359 (('a' <= (c) && (c) <= 'i') \
14360 || ('j' <= (c) && (c) <= 'r') \
14361 || ('s' <= (c) && (c) <= 'z'))
14362 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14365 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14370 for (i = 0; i < 256; i++)
14371 if (XOR (islower (i), ISLOWER (i))
14372 || toupper (i) != TOUPPER (i))
14377 rm -f conftest$ac_exeext
14378 if { (ac_try="$ac_link"
14379 case "(($ac_try" in
14380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14383 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14384 $as_echo "$ac_try_echo") >&5
14385 (eval "$ac_link") 2>&5
14387 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14389 { (case "(($ac_try" in
14390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14391 *) ac_try_echo=$ac_try;;
14393 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14394 $as_echo "$ac_try_echo") >&5
14395 (eval "$ac_try") 2>&5
14397 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14398 (exit $ac_status); }; }; then
14401 $as_echo "$as_me: program exited with status
$ac_status" >&5
14402 $as_echo "$as_me: failed program was
:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14405 ( exit $ac_status )
14406 ac_cv_header_stdc=no
14408 rm -rf conftest.dSYM
14409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14415 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
14416 $as_echo "$ac_cv_header_stdc" >&6; }
14417 if test $ac_cv_header_stdc = yes; then
14419 cat >>confdefs.h <<\_ACEOF
14420 #define STDC_HEADERS 1
14426 ac_config_files="$ac_config_files Makefile
"
14428 cat >confcache <<\_ACEOF
14429 # This file is a shell script that caches the results of configure
14430 # tests run on this system so they can be shared between configure
14431 # scripts and configure runs, see configure's option --config-cache.
14432 # It is not useful on other systems. If it contains results you don't
14433 # want to keep, you may remove or edit it.
14435 # config.status only pays attention to the cache file if you give it
14436 # the --recheck option to rerun configure.
14438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14440 # following values.
14444 # The following way of writing the cache mishandles newlines in values,
14445 # but we know of no workaround that is simple, portable, and efficient.
14446 # So, we kill variables containing newlines.
14447 # Ultrix sh set writes to stderr and can't be redirected directly,
14448 # and sets the high bit in the cache file unless we assign to the vars.
14450 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14451 eval ac_val=\$$ac_var
14455 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING
: cache variable
$ac_var contains a newline
" >&5
14456 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14459 _ | IFS | as_nl) ;; #(
14460 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14461 *) $as_unset $ac_var ;;
14467 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14468 *${as_nl}ac_space=\ *)
14469 # `set' does not quote correctly, so add quotes (double-quote
14470 # substitution turns \\\\ into \\, and sed turns \\ into \).
14473 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14476 # `set' quotes correctly as required by POSIX, so do not add quotes.
14477 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14486 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14488 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14490 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14491 if test -w "$cache_file"; then
14492 test "x
$cache_file" != "x
/dev
/null
" &&
14493 { $as_echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14494 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14495 cat confcache >$cache_file
14497 { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14498 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14503 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14504 # Let make expand exec_prefix.
14505 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14507 DEFS=-DHAVE_CONFIG_H
14511 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
14512 # 1. Remove the extension, and $U if already installed.
14513 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14514 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14515 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14516 # will be set to the directory where LIBOBJS objects are built.
14517 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
14518 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
14520 LIBOBJS=$ac_libobjs
14522 LTLIBOBJS=$ac_ltlibobjs
14525 if test -n "$EXEEXT"; then
14527 am__EXEEXT_FALSE='#'
14529 am__EXEEXT_TRUE='#'
14533 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
14534 { { $as_echo "$as_me:$LINENO: error
: conditional
\"HMACC
\" was never defined.
14535 Usually this means the macro was only invoked conditionally.
" >&5
14536 $as_echo "$as_me: error
: conditional
\"HMACC
\" was never defined.
14537 Usually this means the macro was only invoked conditionally.
" >&2;}
14538 { (exit 1); exit 1; }; }
14540 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14541 { { $as_echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
14542 Usually this means the macro was only invoked conditionally.
" >&5
14543 $as_echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
14544 Usually this means the macro was only invoked conditionally.
" >&2;}
14545 { (exit 1); exit 1; }; }
14547 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14548 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
14549 Usually this means the macro was only invoked conditionally.
" >&5
14550 $as_echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
14551 Usually this means the macro was only invoked conditionally.
" >&2;}
14552 { (exit 1); exit 1; }; }
14555 : ${CONFIG_STATUS=./config.status}
14557 ac_clean_files_save=$ac_clean_files
14558 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14559 { $as_echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
14560 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
14561 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14563 # Generated by $as_me.
14564 # Run this file to recreate the current configuration.
14565 # Compiler output produced by configure, useful for debugging
14566 # configure, is in config.log if it exists.
14569 ac_cs_recheck=false
14571 SHELL=\${CONFIG_SHELL-$SHELL}
14574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14575 ## --------------------- ##
14576 ## M4sh Initialization. ##
14577 ## --------------------- ##
14579 # Be more Bourne compatible
14580 DUALCASE=1; export DUALCASE # for MKS sh
14581 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14584 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14585 # is contrary to our usage. Disable this feature.
14586 alias -g '${1+"$@"}'='"$@
"'
14587 setopt NO_GLOB_SUBST
14589 case `(set -o) 2>/dev/null` in
14590 *posix*) set -o posix ;;
14599 # Avoid depending upon Character Ranges.
14600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14603 as_cr_digits='0123456789'
14604 as_cr_alnum=$as_cr_Letters$as_cr_digits
14609 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14610 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14611 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14612 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14613 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
14614 as_echo='printf %s\n'
14615 as_echo_n='printf %s'
14617 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
14618 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14619 as_echo_n='/usr/ucb/echo -n'
14621 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
14622 as_echo_n_body='eval
14626 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
14627 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
14629 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
14631 export as_echo_n_body
14632 as_echo_n='sh -c $as_echo_n_body as_echo'
14634 export as_echo_body
14635 as_echo='sh -c $as_echo_body as_echo'
14638 # The user is always right.
14639 if test "${PATH_SEPARATOR+set}" != set; then
14641 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14642 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14647 # Support unset when possible.
14648 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14656 # We need space, tab and new line, in precisely that order. Quoting is
14657 # there to prevent editors from complaining about space-tab.
14658 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14659 # splitting by setting IFS to empty value.)
14662 # Find who we are. Look in the path if we contain no directory separator.
14664 *[\\/]* ) as_myself=$0 ;;
14665 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14666 for as_dir in $PATH
14669 test -z "$as_dir" && as_dir=.
14670 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14676 # We did not find ourselves, most probably we were run as `sh COMMAND'
14677 # in which case we are not to be found in the path.
14678 if test "x
$as_myself" = x; then
14681 if test ! -f "$as_myself"; then
14682 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
14683 { (exit 1); exit 1; }
14686 # Work around bugs in pre-3.0 UWIN ksh.
14687 for as_var in ENV MAIL MAILPATH
14688 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14700 # Required to use basename.
14701 if expr a : '\(a\)' >/dev/null 2>&1 &&
14702 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14708 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
14709 as_basename=basename
14715 # Name of the executable.
14716 as_me=`$as_basename -- "$0" ||
14717 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14718 X"$0" : 'X\(//\)$' \| \
14719 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14721 sed '/^.*\/\([^/][^/]*\)\/*$/{
14740 as_lineno_1=$LINENO
14741 as_lineno_2=$LINENO
14742 test "x
$as_lineno_1" != "x
$as_lineno_2" &&
14743 test "x
`expr $as_lineno_1 + 1`" = "x
$as_lineno_2" || {
14745 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14746 # uniformly replaced by the line number. The first 'sed' inserts a
14747 # line-number line after each line using $LINENO; the second 'sed'
14748 # does the real work. The second script uses 'N' to pair each
14749 # line-number line with the line containing $LINENO, and appends
14750 # trailing '-' during substitution so that $LINENO is not a special
14751 # case at line end.
14752 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14753 # scripts with optimization help from Paolo Bonzini. Blame Lee
14754 # E. McMahon (1931-1989) for sed's syntax. :-)
14766 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14769 ' >$as_me.lineno &&
14770 chmod +x "$as_me.lineno
" ||
14771 { $as_echo "$as_me: error
: cannot create
$as_me.lineno
; rerun with a POSIX shell
" >&2
14772 { (exit 1); exit 1; }; }
14774 # Don't try to exec as it changes $[0], causing all sort of problems
14775 # (the dirname of $[0] is not the place where we might find the
14776 # original and so on. Autoconf is especially sensitive to this).
14777 . ".
/$as_me.lineno
"
14778 # Exit status is that of the last command.
14783 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
14789 ECHO_C= ECHO_N= ECHO_T=
14790 case `echo -n x` in
14792 case `echo 'x\c'` in
14793 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14799 if expr a : '\(a\)' >/dev/null 2>&1 &&
14800 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
14806 rm -f conf$$ conf$$.exe conf$$.file
14807 if test -d conf$$.dir; then
14808 rm -f conf$$.dir/conf$$.file
14811 mkdir conf$$.dir 2>/dev/null
14813 if (echo >conf$$.file) 2>/dev/null; then
14814 if ln -s conf$$.file conf$$ 2>/dev/null; then
14816 # ... but there are two gotchas:
14817 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14818 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14819 # In both cases, we have to default to `cp -p'.
14820 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14822 elif ln conf$$.file conf$$ 2>/dev/null; then
14830 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14831 rmdir conf$$.dir 2>/dev/null
14833 if mkdir -p . 2>/dev/null; then
14836 test -d ./-p && rmdir ./-p
14840 if test -x / >/dev/null 2>&1; then
14841 as_test_x='test -x'
14843 if ls -dL / >/dev/null 2>&1; then
14850 if test -d "$1"; then
14856 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14857 ???[sx]*):;;*)false;;esac;fi
14861 as_executable_p=$as_test_x
14863 # Sed expression to map a string onto a valid CPP name.
14864 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14866 # Sed expression to map a string onto a valid variable name.
14867 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14872 # Save the log message, to keep $[0] and so on meaningful, and to
14873 # report actual input values of CONFIG_FILES etc. instead of their
14874 # values after options handling.
14876 This
file was extended by libsha1
$as_me 1.21, which was
14877 generated by GNU Autoconf
2.63. Invocation
command line was
14879 CONFIG_FILES
= $CONFIG_FILES
14880 CONFIG_HEADERS
= $CONFIG_HEADERS
14881 CONFIG_LINKS
= $CONFIG_LINKS
14882 CONFIG_COMMANDS
= $CONFIG_COMMANDS
14885 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
14890 case $ac_config_files in *"
14891 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14894 case $ac_config_headers in *"
14895 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14900 # Files that config.status was made for.
14901 config_files="$ac_config_files"
14902 config_headers="$ac_config_headers"
14903 config_commands="$ac_config_commands"
14907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14909 \
`$as_me' instantiates files from templates according to the
14910 current configuration.
14912 Usage: $0 [OPTION]... [FILE]...
14914 -h, --help print this help, then exit
14915 -V, --version print version number and configuration settings, then exit
14916 -q, --quiet, --silent
14917 do not print progress messages
14918 -d, --debug don't remove temporary files
14919 --recheck update $as_me by reconfiguring in the same conditions
14920 --file=FILE[:TEMPLATE]
14921 instantiate the configuration file FILE
14922 --header=FILE[:TEMPLATE]
14923 instantiate the configuration header FILE
14925 Configuration files:
14928 Configuration headers:
14931 Configuration commands:
14934 Report bugs to <bug-autoconf@gnu.org>."
14937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14939 libsha1 config.status 1.21
14940 configured by $0, generated by GNU Autoconf 2.63,
14941 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14943 Copyright (C) 2008 Free Software Foundation, Inc.
14944 This config.status script is free software; the Free Software Foundation
14945 gives unlimited permission to copy, distribute and modify it."
14952 test -n "\$AWK" || AWK=awk
14955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14956 # The default lists apply if the user does not specify any file.
14962 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14963 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14974 # Handling of the options.
14975 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14977 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14978 $as_echo "$ac_cs_version"; exit ;;
14979 --debug | --debu | --deb | --de | --d | -d )
14981 --file | --fil | --fi | --f )
14984 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14986 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14987 ac_need_defaults=false;;
14988 --header | --heade | --head | --hea )
14991 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
14993 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14994 ac_need_defaults=false;;
14996 # Conflict between --help and --header
14997 { $as_echo "$as_me: error: ambiguous option: $1
14998 Try \`$0 --help' for more information." >&2
14999 { (exit 1); exit 1; }; };;
15000 --help | --hel | -h )
15001 $as_echo "$ac_cs_usage"; exit ;;
15002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15003 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15006 # This is an error.
15007 -*) { $as_echo "$as_me: error: unrecognized option: $1
15008 Try \`$0 --help' for more information.
" >&2
15009 { (exit 1); exit 1; }; } ;;
15011 *) ac_config_targets="$ac_config_targets $1"
15012 ac_need_defaults=false ;;
15018 ac_configure_extra_args=
15020 if $ac_cs_silent; then
15022 ac_configure_extra_args="$ac_configure_extra_args --silent"
15026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15027 if \$ac_cs_recheck; then
15028 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15030 \$as_echo "running CONFIG_SHELL
=$SHELL \$
*" >&6
15031 CONFIG_SHELL='$SHELL'
15032 export CONFIG_SHELL
15037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15042 ## Running $as_me. ##
15048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15052 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15055 # The HP-UX ksh and POSIX shell print the target directory to stdout
15056 # if CDPATH is set.
15057 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15059 sed_quote_subst='$sed_quote_subst'
15060 double_quote_subst='$double_quote_subst'
15061 delay_variable_subst='$delay_variable_subst'
15062 macro_version='`$ECHO "X
$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15063 macro_revision='`$ECHO "X
$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15064 enable_shared='`$ECHO "X
$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15065 enable_static='`$ECHO "X
$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15066 pic_mode='`$ECHO "X
$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15067 enable_fast_install='`$ECHO "X
$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15068 host_alias='`$ECHO "X
$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15069 host='`$ECHO "X
$host" | $Xsed -e "$delay_single_quote_subst"`'
15070 host_os='`$ECHO "X
$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15071 build_alias='`$ECHO "X
$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15072 build='`$ECHO "X
$build" | $Xsed -e "$delay_single_quote_subst"`'
15073 build_os='`$ECHO "X
$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15074 SED='`$ECHO "X
$SED" | $Xsed -e "$delay_single_quote_subst"`'
15075 Xsed='`$ECHO "X
$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15076 GREP='`$ECHO "X
$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15077 EGREP='`$ECHO "X
$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15078 FGREP='`$ECHO "X
$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15079 LD='`$ECHO "X
$LD" | $Xsed -e "$delay_single_quote_subst"`'
15080 NM='`$ECHO "X
$NM" | $Xsed -e "$delay_single_quote_subst"`'
15081 LN_S='`$ECHO "X
$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15082 max_cmd_len='`$ECHO "X
$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15083 ac_objext='`$ECHO "X
$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15084 exeext='`$ECHO "X
$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15085 lt_unset='`$ECHO "X
$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15086 lt_SP2NL='`$ECHO "X
$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15087 lt_NL2SP='`$ECHO "X
$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15088 reload_flag='`$ECHO "X
$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15089 reload_cmds='`$ECHO "X
$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15090 OBJDUMP='`$ECHO "X
$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15091 deplibs_check_method='`$ECHO "X
$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15092 file_magic_cmd='`$ECHO "X
$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15093 AR='`$ECHO "X
$AR" | $Xsed -e "$delay_single_quote_subst"`'
15094 AR_FLAGS='`$ECHO "X
$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15095 STRIP='`$ECHO "X
$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15096 RANLIB='`$ECHO "X
$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15097 old_postinstall_cmds='`$ECHO "X
$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15098 old_postuninstall_cmds='`$ECHO "X
$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15099 old_archive_cmds='`$ECHO "X
$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15100 CC='`$ECHO "X
$CC" | $Xsed -e "$delay_single_quote_subst"`'
15101 CFLAGS='`$ECHO "X
$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15102 compiler='`$ECHO "X
$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15103 GCC='`$ECHO "X
$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15104 lt_cv_sys_global_symbol_pipe='`$ECHO "X
$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15105 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X
$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15106 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"`'
15107 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"`'
15108 objdir='`$ECHO "X
$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15109 SHELL='`$ECHO "X
$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15110 ECHO='`$ECHO "X
$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15111 MAGIC_CMD='`$ECHO "X
$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15112 lt_prog_compiler_no_builtin_flag='`$ECHO "X
$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15113 lt_prog_compiler_wl='`$ECHO "X
$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15114 lt_prog_compiler_pic='`$ECHO "X
$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15115 lt_prog_compiler_static='`$ECHO "X
$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15116 lt_cv_prog_compiler_c_o='`$ECHO "X
$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15117 need_locks='`$ECHO "X
$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15118 DSYMUTIL='`$ECHO "X
$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15119 NMEDIT='`$ECHO "X
$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15120 LIPO='`$ECHO "X
$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15121 OTOOL='`$ECHO "X
$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15122 OTOOL64='`$ECHO "X
$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15123 libext='`$ECHO "X
$libext" | $Xsed -e "$delay_single_quote_subst"`'
15124 shrext_cmds='`$ECHO "X
$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15125 extract_expsyms_cmds='`$ECHO "X
$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15126 archive_cmds_need_lc='`$ECHO "X
$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15127 enable_shared_with_static_runtimes='`$ECHO "X
$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15128 export_dynamic_flag_spec='`$ECHO "X
$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15129 whole_archive_flag_spec='`$ECHO "X
$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15130 compiler_needs_object='`$ECHO "X
$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15131 old_archive_from_new_cmds='`$ECHO "X
$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15132 old_archive_from_expsyms_cmds='`$ECHO "X
$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15133 archive_cmds='`$ECHO "X
$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15134 archive_expsym_cmds='`$ECHO "X
$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15135 module_cmds='`$ECHO "X
$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15136 module_expsym_cmds='`$ECHO "X
$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15137 with_gnu_ld='`$ECHO "X
$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15138 allow_undefined_flag='`$ECHO "X
$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15139 no_undefined_flag='`$ECHO "X
$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15140 hardcode_libdir_flag_spec='`$ECHO "X
$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15141 hardcode_libdir_flag_spec_ld='`$ECHO "X
$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15142 hardcode_libdir_separator='`$ECHO "X
$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15143 hardcode_direct='`$ECHO "X
$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15144 hardcode_direct_absolute='`$ECHO "X
$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15145 hardcode_minus_L='`$ECHO "X
$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15146 hardcode_shlibpath_var='`$ECHO "X
$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15147 hardcode_automatic='`$ECHO "X
$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15148 inherit_rpath='`$ECHO "X
$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15149 link_all_deplibs='`$ECHO "X
$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15150 fix_srcfile_path='`$ECHO "X
$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15151 always_export_symbols='`$ECHO "X
$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15152 export_symbols_cmds='`$ECHO "X
$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15153 exclude_expsyms='`$ECHO "X
$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15154 include_expsyms='`$ECHO "X
$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15155 prelink_cmds='`$ECHO "X
$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15156 file_list_spec='`$ECHO "X
$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15157 variables_saved_for_relink='`$ECHO "X
$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15158 need_lib_prefix='`$ECHO "X
$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15159 need_version='`$ECHO "X
$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15160 version_type='`$ECHO "X
$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15161 runpath_var='`$ECHO "X
$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15162 shlibpath_var='`$ECHO "X
$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15163 shlibpath_overrides_runpath='`$ECHO "X
$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15164 libname_spec='`$ECHO "X
$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15165 library_names_spec='`$ECHO "X
$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15166 soname_spec='`$ECHO "X
$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15167 postinstall_cmds='`$ECHO "X
$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15168 postuninstall_cmds='`$ECHO "X
$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15169 finish_cmds='`$ECHO "X
$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15170 finish_eval='`$ECHO "X
$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15171 hardcode_into_libs='`$ECHO "X
$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15172 sys_lib_search_path_spec='`$ECHO "X
$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15173 sys_lib_dlsearch_path_spec='`$ECHO "X
$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15174 hardcode_action='`$ECHO "X
$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15175 enable_dlopen='`$ECHO "X
$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15176 enable_dlopen_self='`$ECHO "X
$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15177 enable_dlopen_self_static='`$ECHO "X
$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15178 old_striplib='`$ECHO "X
$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15179 striplib='`$ECHO "X
$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15182 LTCFLAGS='$LTCFLAGS'
15183 compiler='$compiler_DEFAULT'
15185 # Quote evaled strings.
15197 deplibs_check_method \
15206 lt_cv_sys_global_symbol_pipe \
15207 lt_cv_sys_global_symbol_to_cdecl \
15208 lt_cv_sys_global_symbol_to_c_name_address \
15209 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15212 lt_prog_compiler_no_builtin_flag \
15213 lt_prog_compiler_wl \
15214 lt_prog_compiler_pic \
15215 lt_prog_compiler_static \
15216 lt_cv_prog_compiler_c_o \
15224 export_dynamic_flag_spec \
15225 whole_archive_flag_spec \
15226 compiler_needs_object \
15228 allow_undefined_flag \
15229 no_undefined_flag \
15230 hardcode_libdir_flag_spec \
15231 hardcode_libdir_flag_spec_ld \
15232 hardcode_libdir_separator \
15237 variables_saved_for_relink \
15239 library_names_spec \
15244 case \`eval \\\\\$ECHO "X
\\\\\$\
$var"\` in
15245 *[\\\\\\\`\\"\\\$
]*)
15246 eval "lt_\$var=\\\\\\"\\\
`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15249 eval "lt_\$var=\\\\\\"\\\$\
$var\\\\\\""
15254 # Double-quote double-evaled strings.
15255 for var
in reload_cmds \
15256 old_postinstall_cmds \
15257 old_postuninstall_cmds \
15259 extract_expsyms_cmds \
15260 old_archive_from_new_cmds \
15261 old_archive_from_expsyms_cmds \
15263 archive_expsym_cmds \
15265 module_expsym_cmds \
15266 export_symbols_cmds \
15269 postuninstall_cmds \
15271 sys_lib_search_path_spec \
15272 sys_lib_dlsearch_path_spec
; do
15273 case \
`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15274 *[\\\\\\\
`\\"\\\$]*)
15275 eval "lt_\$var=\\\\\\"\\\`\\\
$ECHO \\"X\\\$\$var\\" |
\\\
$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\
`\\\\\\""
15278 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15283 # Fix-up fallback echo if it was mangled by the above quoting rules.
15285 *'\\\$0 --fallback-echo"') lt_ECHO=\`\
$ECHO "X\$lt_ECHO" | \
$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\
`
15289 ac_aux_dir='$ac_aux_dir'
15290 xsi_shell='$xsi_shell'
15291 lt_shell_append='$lt_shell_append'
15293 # See if we are running on zsh, and set the options which allow our
15294 # commands through without removal of \ escapes INIT.
15295 if test -n "\${ZSH_VERSION+set}" ; then
15296 setopt NO_GLOB_SUBST
15302 TIMESTAMP='$TIMESTAMP'
15311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15313 # Handling of arguments.
15314 for ac_config_target in $ac_config_targets
15316 case $ac_config_target in
15317 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15318 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15319 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15320 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15322 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15323 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15324 { (exit 1); exit 1; }; };;
15329 # If the user did not use the arguments to specify the items to instantiate,
15330 # then the envvar interface is used. Set only those that are not.
15331 # We use the long form for the default assignment because of an extremely
15332 # bizarre bug on SunOS 4.1.3.
15333 if $ac_need_defaults; then
15334 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15335 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15336 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15339 # Have a temporary directory for convenience. Make it in the build tree
15340 # simply because there is no reason against having it here, and in addition,
15341 # creating and moving files from /tmp can sometimes cause problems.
15342 # Hook for its removal unless debugging.
15343 # Note that there is a small window in which the directory will not be cleaned:
15344 # after its creation but before its name has been assigned to `$tmp'.
15348 trap 'exit_status
=$?
15349 { test -z "$tmp" ||
test ! -d "$tmp" ||
rm -fr "$tmp"; } && exit $exit_status
15351 trap '{ (exit 1); exit 1; }' 1 2 13 15
15353 # Create a (secure) tmp directory for tmp files.
15356 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15357 test -n "$tmp" && test -d "$tmp"
15360 tmp=./conf$$-$RANDOM
15361 (umask 077 && mkdir "$tmp")
15364 $as_echo "$as_me: cannot create a temporary directory in ." >&2
15365 { (exit 1); exit 1; }
15368 # Set up the scripts for CONFIG_FILES section.
15369 # No need to generate them if there are no CONFIG_FILES.
15370 # This happens for instance with `./config.status config.h'.
15371 if test -n "$CONFIG_FILES"; then
15375 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15376 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15379 ac_cs_awk_cr
=$ac_cr
15382 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15387 echo "cat >conf$$subs.awk <<_ACEOF" &&
15388 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15390 } >conf$$subs.sh ||
15391 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15392 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15393 { (exit 1); exit 1; }; }
15394 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15396 for ac_last_try in false false false false false :; do
15397 . ./conf$$subs.sh ||
15398 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15399 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15400 { (exit 1); exit 1; }; }
15402 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15403 if test $ac_delim_n = $ac_delim_num; then
15405 elif $ac_last_try; then
15406 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
15407 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
15408 { (exit 1); exit 1; }; }
15410 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15413 rm -f conf$$subs.sh
15415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15416 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15420 s/^/S["/; s
/!.
*/"]=/
15430 s/\(.\{148\}\).*/\1/
15432 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15437 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15444 s/\(.\{148\}\).*/\1/
15446 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15450 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15455 ' <conf$$subs.awk | sed '
15460 ' >>$CONFIG_STATUS || ac_write_fail=1
15461 rm -f conf$$subs.awk
15462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15464 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15465 for (key in S) S_is_set[key] = 1
15471 nfields = split(line, field, "@
")
15473 len = length(field[1])
15474 for (i = 2; i < nfields; i++) {
15476 keylen = length(key)
15477 if (S_is_set[key]) {
15479 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15480 len += length(value) + length(field[++i])
15491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15492 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15493 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15496 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15497 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
15498 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
15499 { (exit 1); exit 1; }; }
15502 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15503 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15504 # trailing colons and then remove the whole line if VPATH becomes empty
15505 # (actually we leave an empty line to preserve line numbers).
15506 if test "x
$srcdir" = x.; then
15507 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15508 s/:*\$(srcdir):*/:/
15509 s/:*\${srcdir}:*/:/
15511 s/^\([^=]*=[ ]*\):*/\1/
15517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15518 fi # test -n "$CONFIG_FILES"
15520 # Set up the scripts for CONFIG_HEADERS section.
15521 # No need to generate them if there are no CONFIG_HEADERS.
15522 # This happens for instance with `./config.status Makefile'.
15523 if test -n "$CONFIG_HEADERS"; then
15524 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15528 # Transform confdefs.h into an awk script `defines.awk', embedded as
15529 # here-document in config.status, that substitutes the proper values into
15530 # config.h.in to produce config.h.
15532 # Create a delimiter string that does not exist in confdefs.h, to ease
15533 # handling of long lines.
15535 for ac_last_try in false false :; do
15536 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15537 if test -z "$ac_t"; then
15539 elif $ac_last_try; then
15540 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
15541 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
15542 { (exit 1); exit 1; }; }
15544 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15548 # For the awk script, D is an array of macro values keyed by name,
15549 # likewise P contains macro parameters if any. Preserve backslash
15550 # newline sequences.
15552 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15554 s/.\{148\}/&'"$ac_delim"'/g
15557 s/^[ ]*#[ ]*define[ ][ ]*/ /
15564 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15566 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15570 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15571 D["\
1"]=" \
3\\\\\\n
"\\/p
15573 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15578 s/.\{148\}/&'"$ac_delim"'/g
15583 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15586 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15588 ' <confdefs.h | sed '
15589 s/'"$ac_delim"'/"\\\
15590 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15593 for (key in D) D_is_set[key] = 1
15596 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15598 split(line, arg, " ")
15599 if (arg[1] == "#") {
15603 defundef
= substr
(arg
[1], 2)
15606 split(mac1
, mac2
, "(") #)
15608 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15609 if (D_is_set
[macro
]) {
15610 # Preserve the white space surrounding the "#".
15611 print prefix
"define", macro P
[macro
] D
[macro
]
15614 # Replace #undef with comments. This is necessary, for example,
15615 # in the case of _POSIX_SOURCE, which is predefined and required
15616 # on some systems where configure will not decide to define it.
15617 if (defundef
== "undef") {
15618 print
"/*", prefix defundef
, macro
, "*/"
15626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15627 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
15628 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
15629 { (exit 1); exit 1; }; }
15630 fi # test -n "$CONFIG_HEADERS"
15633 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15638 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15640 case $ac_mode$ac_tag in
15642 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
15643 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
15644 { (exit 1); exit 1; }; };;
15645 :[FH
]-) ac_tag
=-:-;;
15646 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15663 -) ac_f
="$tmp/stdin";;
15664 *) # Look for the file first in the build tree, then in the source tree
15665 # (if the path is not absolute). The absolute path cannot be DOS-style,
15666 # because $ac_f cannot contain `:'.
15670 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15672 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15673 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15674 { (exit 1); exit 1; }; };;
15676 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15677 ac_file_inputs
="$ac_file_inputs '$ac_f'"
15680 # Let's still pretend it is `configure' which instantiates (i.e., don't
15681 # use $as_me), people would be surprised to read:
15682 # /* config.h. Generated by config.status. */
15683 configure_input
='Generated from '`
15684 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15686 if test x
"$ac_file" != x-
; then
15687 configure_input
="$ac_file. $configure_input"
15688 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
15689 $as_echo "$as_me: creating $ac_file" >&6;}
15691 # Neutralize special characters interpreted by sed in replacement strings.
15692 case $configure_input in #(
15693 *\
&* |
*\|
* |
*\\* )
15694 ac_sed_conf_input
=`$as_echo "$configure_input" |
15695 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15696 *) ac_sed_conf_input
=$configure_input;;
15700 *:-:* |
*:-) cat >"$tmp/stdin" \
15701 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15702 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15703 { (exit 1); exit 1; }; } ;;
15708 ac_dir
=`$as_dirname -- "$ac_file" ||
15709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15710 X"$ac_file" : 'X\(//\)[^/]' \| \
15711 X"$ac_file" : 'X\(//\)$' \| \
15712 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15713 $as_echo X"$ac_file" |
15714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15718 /^X\(\/\/\)[^/].*/{
15733 -*) as_dir
=.
/$as_dir;;
15735 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
15739 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15740 *) as_qdir
=$as_dir;;
15742 as_dirs
="'$as_qdir' $as_dirs"
15743 as_dir
=`$as_dirname -- "$as_dir" ||
15744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15745 X"$as_dir" : 'X\(//\)[^/]' \| \
15746 X"$as_dir" : 'X\(//\)$' \| \
15747 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15748 $as_echo X"$as_dir" |
15749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15753 /^X\(\/\/\)[^/].*/{
15766 test -d "$as_dir" && break
15768 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15769 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15770 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15771 { (exit 1); exit 1; }; }; }
15775 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15777 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15778 # A ".." for each directory in $ac_dir_suffix.
15779 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15780 case $ac_top_builddir_sub in
15781 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15782 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15785 ac_abs_top_builddir
=$ac_pwd
15786 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15787 # for backward compatibility:
15788 ac_top_builddir
=$ac_top_build_prefix
15791 .
) # We are building in place.
15793 ac_top_srcdir
=$ac_top_builddir_sub
15794 ac_abs_top_srcdir
=$ac_pwd ;;
15795 [\\/]* | ?
:[\\/]* ) # Absolute name.
15796 ac_srcdir
=$srcdir$ac_dir_suffix;
15797 ac_top_srcdir
=$srcdir
15798 ac_abs_top_srcdir
=$srcdir ;;
15799 *) # Relative name.
15800 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15801 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15802 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15804 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15814 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15815 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15817 ac_MKDIR_P
=$MKDIR_P
15819 [\\/$
]* | ?
:[\\/]* ) ;;
15820 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15825 # If the template does not know about datarootdir, expand it.
15826 # FIXME: This hack should be removed a few years after 2.60.
15827 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15840 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15841 *datarootdir
*) ac_datarootdir_seen
=yes;;
15842 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15843 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15844 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15847 ac_datarootdir_hack='
15848 s&@datadir@&$datadir&g
15849 s&@docdir@&$docdir&g
15850 s&@infodir@&$infodir&g
15851 s&@localedir@&$localedir&g
15852 s&@mandir@&$mandir&g
15853 s&\\\${datarootdir}&$datarootdir&g' ;;
15857 # Neutralize VPATH when `$srcdir' = `.'.
15858 # Shell code in configure.ac might set extrasub.
15859 # FIXME: do we really want to maintain this feature?
15860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15861 ac_sed_extra="$ac_vpsub
15864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15866 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15867 s|@configure_input@|
$ac_sed_conf_input|
;t t
15868 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15869 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15870 s
&@srcdir@
&$ac_srcdir&;t t
15871 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15872 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15873 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15874 s
&@builddir@
&$ac_builddir&;t t
15875 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15876 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15877 s
&@INSTALL@
&$ac_INSTALL&;t t
15878 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15879 $ac_datarootdir_hack
15881 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15882 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
15883 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
15884 { (exit 1); exit 1; }; }
15886 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15887 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15888 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15889 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15890 which seems to be undefined. Please make sure it is defined." >&5
15891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15892 which seems to be undefined. Please make sure it is defined." >&2;}
15896 -) cat "$tmp/out" && rm -f "$tmp/out";;
15897 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15899 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15900 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15901 { (exit 1); exit 1; }; }
15907 if test x"$ac_file" != x-; then
15909 $as_echo "/* $configure_input */" \
15910 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15911 } >"$tmp/config.h" \
15912 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15913 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15914 { (exit 1); exit 1; }; }
15915 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15916 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15917 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15920 mv "$tmp/config.h" "$ac_file" \
15921 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15922 $as_echo "$as_me: error: could not create $ac_file" >&2;}
15923 { (exit 1); exit 1; }; }
15926 $as_echo "/* $configure_input */" \
15927 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15928 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15929 $as_echo "$as_me: error: could not create -" >&2;}
15930 { (exit 1); exit 1; }; }
15932 # Compute "$ac_file"'s index
in $config_headers.
15935 for _am_header
in $config_headers :; do
15936 case $_am_header in
15937 $_am_arg |
$_am_arg:* )
15940 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15943 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15944 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15945 X"$_am_arg" : 'X\(//\)[^/]' \| \
15946 X"$_am_arg" : 'X\(//\)$' \| \
15947 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15948 $as_echo X"$_am_arg" |
15949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15953 /^X\(\/\/\)[^/].*/{
15965 s/.*/./; q'`/stamp-h
$_am_stamp_count
15968 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15969 $as_echo "$as_me: executing $ac_file commands" >&6;}
15974 case $ac_file$ac_mode in
15975 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15976 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15977 # are listed without --file. Let's play safe and only enable the eval
15978 # if we detect the quoting.
15979 case $CONFIG_FILES in
15980 *\'*) eval set x
"$CONFIG_FILES" ;;
15981 *) set x
$CONFIG_FILES ;;
15986 # Strip MF so we end up with the name of the file.
15987 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15988 # Check whether this is an Automake generated Makefile or not.
15989 # We used to match only the files named `Makefile.in', but
15990 # some people rename them; so instead we look at the file content.
15991 # Grep'ing the first line is not enough: some people post-process
15992 # each Makefile.in and add a new line on top of each file to say so.
15993 # Grep'ing the whole file is not good either: AIX grep has a line
15994 # limit of 2048, but all sed's we know have understand at least 4000.
15995 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15996 dirpart
=`$as_dirname -- "$mf" ||
15997 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15998 X"$mf" : 'X\(//\)[^/]' \| \
15999 X"$mf" : 'X\(//\)$' \| \
16000 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16006 /^X\(\/\/\)[^/].*/{
16022 # Extract the definition of DEPDIR, am__include, and am__quote
16023 # from the Makefile without running `make'.
16024 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16025 test -z "$DEPDIR" && continue
16026 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16027 test -z "am__include" && continue
16028 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16029 # When using ansi2knr, U may be empty or an underscore; expand it
16030 U
=`sed -n 's/^U = //p' < "$mf"`
16031 # Find all dependency output files, they are included files with
16032 # $(DEPDIR) in their names. We invoke sed twice because it is the
16033 # simplest approach to changing $(DEPDIR) to its actual value in the
16035 for file in `sed -n "
16036 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16037 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16038 # Make sure the directory exists.
16039 test -f "$dirpart/$file" && continue
16040 fdir
=`$as_dirname -- "$file" ||
16041 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16042 X"$file" : 'X\(//\)[^/]' \| \
16043 X"$file" : 'X\(//\)$' \| \
16044 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16045 $as_echo X"$file" |
16046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16050 /^X\(\/\/\)[^/].*/{
16063 { as_dir
=$dirpart/$fdir
16065 -*) as_dir
=.
/$as_dir;;
16067 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16071 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16072 *) as_qdir
=$as_dir;;
16074 as_dirs
="'$as_qdir' $as_dirs"
16075 as_dir
=`$as_dirname -- "$as_dir" ||
16076 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16077 X"$as_dir" : 'X\(//\)[^/]' \| \
16078 X"$as_dir" : 'X\(//\)$' \| \
16079 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16080 $as_echo X"$as_dir" |
16081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16085 /^X\(\/\/\)[^/].*/{
16098 test -d "$as_dir" && break
16100 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16101 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16102 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16103 { (exit 1); exit 1; }; }; }
16104 # echo "creating $dirpart/$file"
16105 echo '# dummy' > "$dirpart/$file"
16112 # See if we are running on zsh, and set the options which allow our
16113 # commands through without removal of \ escapes.
16114 if test -n "${ZSH_VERSION+set}" ; then
16115 setopt NO_GLOB_SUBST
16118 cfgfile
="${ofile}T"
16119 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16122 cat <<_LT_EOF >> "$cfgfile"
16125 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16126 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16127 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16128 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16130 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16131 # 2006, 2007, 2008 Free Software Foundation, Inc.
16132 # Written by Gordon Matzigkeit, 1996
16134 # This file is part of GNU Libtool.
16136 # GNU Libtool is free software; you can redistribute it and/or
16137 # modify it under the terms of the GNU General Public License as
16138 # published by the Free Software Foundation; either version 2 of
16139 # the License, or (at your option) any later version.
16141 # As a special exception to the GNU General Public License,
16142 # if you distribute this file as part of a program or library that
16143 # is built using GNU Libtool, you may include this file under the
16144 # same distribution terms that you use for the rest of that program.
16146 # GNU Libtool is distributed in the hope that it will be useful,
16147 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16148 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16149 # GNU General Public License for more details.
16151 # You should have received a copy of the GNU General Public License
16152 # along with GNU Libtool; see the file COPYING. If not, a copy
16153 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16154 # obtained by writing to the Free Software Foundation, Inc.,
16155 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16158 # The names of the tagged configurations supported by this script.
16161 # ### BEGIN LIBTOOL CONFIG
16163 # Which release of libtool.m4 was used?
16164 macro_version=$macro_version
16165 macro_revision=$macro_revision
16167 # Whether or not to build shared libraries.
16168 build_libtool_libs=$enable_shared
16170 # Whether or not to build static libraries.
16171 build_old_libs=$enable_static
16173 # What type of objects to build.
16176 # Whether or not to optimize for fast installation.
16177 fast_install=$enable_fast_install
16180 host_alias=$host_alias
16184 # The build system.
16185 build_alias=$build_alias
16189 # A sed program that does not truncate output.
16192 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16193 Xsed="\$SED -e 1s/^X//"
16195 # A grep program that handles long lines.
16201 # A literal string matcher.
16204 # A BSD- or MS-compatible name lister.
16207 # Whether we need soft or hard links.
16210 # What is the maximum length of a command?
16211 max_cmd_len=$max_cmd_len
16213 # Object file suffix (normally "o").
16216 # Executable file suffix (normally "").
16219 # whether the shell understands "unset".
16222 # turn spaces into newlines.
16225 # turn newlines into spaces.
16228 # How to create reloadable object files.
16229 reload_flag=$lt_reload_flag
16230 reload_cmds=$lt_reload_cmds
16232 # An object symbol dumper.
16233 OBJDUMP=$lt_OBJDUMP
16235 # Method to check whether dependent libraries are shared objects.
16236 deplibs_check_method=$lt_deplibs_check_method
16238 # Command to use when deplibs_check_method == "file_magic".
16239 file_magic_cmd=$lt_file_magic_cmd
16243 AR_FLAGS=$lt_AR_FLAGS
16245 # A symbol stripping program.
16248 # Commands used to install an old-style archive.
16250 old_postinstall_cmds=$lt_old_postinstall_cmds
16251 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16256 # LTCC compiler flags.
16257 LTCFLAGS=$lt_CFLAGS
16259 # Take the output of nm and produce a listing of raw symbols and C names.
16260 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16262 # Transform the output of nm in a proper C declaration.
16263 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16265 # Transform the output of nm in a C name address pair.
16266 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16268 # Transform the output of nm in a C name address pair when lib prefix is needed.
16269 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16271 # The name of the directory that contains temporary libtool files.
16274 # Shell to use when invoking shell scripts.
16277 # An echo program that does not interpret backslashes.
16280 # Used to examine libraries when file_magic_cmd begins with "file".
16281 MAGIC_CMD=$MAGIC_CMD
16283 # Must we lock files when doing compilation?
16284 need_locks=$lt_need_locks
16286 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16287 DSYMUTIL=$lt_DSYMUTIL
16289 # Tool to change global to local symbols on Mac OS X.
16292 # Tool to manipulate fat objects and archives on Mac OS X.
16295 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16298 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16299 OTOOL64=$lt_OTOOL64
16301 # Old archive suffix (normally "a").
16304 # Shared library suffix (normally ".so").
16305 shrext_cmds=$lt_shrext_cmds
16307 # The commands to extract the exported symbol list from a shared archive.
16308 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16310 # Variables whose values should be saved in libtool wrapper scripts and
16311 # restored at link time.
16312 variables_saved_for_relink=$lt_variables_saved_for_relink
16314 # Do we need the "lib" prefix for modules?
16315 need_lib_prefix=$need_lib_prefix
16317 # Do we need a version for libraries?
16318 need_version=$need_version
16320 # Library versioning type.
16321 version_type=$version_type
16323 # Shared library runtime path variable.
16324 runpath_var=$runpath_var
16326 # Shared library path variable.
16327 shlibpath_var=$shlibpath_var
16329 # Is shlibpath searched before the hard-coded library search path?
16330 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16332 # Format of library name prefix.
16333 libname_spec=$lt_libname_spec
16335 # List of archive names. First name is the real one, the rest are links.
16336 # The last name is the one that the linker finds with -lNAME
16337 library_names_spec=$lt_library_names_spec
16339 # The coded name of the library, if different from the real name.
16340 soname_spec=$lt_soname_spec
16342 # Command to use after installation of a shared archive.
16343 postinstall_cmds=$lt_postinstall_cmds
16345 # Command to use after uninstallation of a shared archive.
16346 postuninstall_cmds=$lt_postuninstall_cmds
16348 # Commands used to finish a libtool library installation in a directory.
16349 finish_cmds=$lt_finish_cmds
16351 # As "finish_cmds", except a single script fragment to be evaled but
16353 finish_eval=$lt_finish_eval
16355 # Whether we should hardcode library paths into libraries.
16356 hardcode_into_libs=$hardcode_into_libs
16358 # Compile-time system search path for libraries.
16359 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16361 # Run-time system search path for libraries.
16362 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16364 # Whether dlopen is supported.
16365 dlopen_support=$enable_dlopen
16367 # Whether dlopen of programs is supported.
16368 dlopen_self=$enable_dlopen_self
16370 # Whether dlopen of statically linked programs is supported.
16371 dlopen_self_static=$enable_dlopen_self_static
16373 # Commands to strip libraries.
16374 old_striplib=$lt_old_striplib
16375 striplib=$lt_striplib
16378 # The linker used to build libraries.
16381 # Commands used to build an old-style archive.
16382 old_archive_cmds=$lt_old_archive_cmds
16384 # A language specific compiler.
16387 # Is the compiler the GNU compiler?
16390 # Compiler flag to turn off builtin functions.
16391 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16393 # How to pass a linker flag through the compiler.
16394 wl=$lt_lt_prog_compiler_wl
16396 # Additional compiler flags for building library objects.
16397 pic_flag=$lt_lt_prog_compiler_pic
16399 # Compiler flag to prevent dynamic linking.
16400 link_static_flag=$lt_lt_prog_compiler_static
16402 # Does compiler simultaneously support -c and -o options?
16403 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16405 # Whether or not to add -lc for building shared libraries.
16406 build_libtool_need_lc=$archive_cmds_need_lc
16408 # Whether or not to disallow shared libs when runtime libs are static.
16409 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16411 # Compiler flag to allow reflexive dlopens.
16412 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16414 # Compiler flag to generate shared objects directly from archives.
16415 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16417 # Whether the compiler copes with passing no objects directly.
16418 compiler_needs_object=$lt_compiler_needs_object
16420 # Create an old-style archive from a shared archive.
16421 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16423 # Create a temporary old-style archive to link instead of a shared archive.
16424 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16426 # Commands used to build a shared archive.
16427 archive_cmds=$lt_archive_cmds
16428 archive_expsym_cmds=$lt_archive_expsym_cmds
16430 # Commands used to build a loadable module if different from building
16431 # a shared archive.
16432 module_cmds=$lt_module_cmds
16433 module_expsym_cmds=$lt_module_expsym_cmds
16435 # Whether we are building with GNU ld or not.
16436 with_gnu_ld=$lt_with_gnu_ld
16438 # Flag that allows shared libraries with undefined symbols to be built.
16439 allow_undefined_flag=$lt_allow_undefined_flag
16441 # Flag that enforces no undefined symbols.
16442 no_undefined_flag=$lt_no_undefined_flag
16444 # Flag to hardcode \$libdir into a binary during linking.
16445 # This must work even if \$libdir does not exist
16446 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16448 # If ld is used when linking, flag to hardcode \$libdir into a binary
16449 # during linking. This must work even if \$libdir does not exist.
16450 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16452 # Whether we need a single "-rpath" flag with a separated argument.
16453 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16455 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16456 # DIR into the resulting binary.
16457 hardcode_direct=$hardcode_direct
16459 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16460 # DIR into the resulting binary and the resulting library dependency is
16461 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16462 # library is relocated.
16463 hardcode_direct_absolute=$hardcode_direct_absolute
16465 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16466 # into the resulting binary.
16467 hardcode_minus_L=$hardcode_minus_L
16469 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16470 # into the resulting binary.
16471 hardcode_shlibpath_var=$hardcode_shlibpath_var
16473 # Set to "yes" if building a shared library automatically hardcodes DIR
16474 # into the library and all subsequent libraries and executables linked
16476 hardcode_automatic=$hardcode_automatic
16478 # Set to yes if linker adds runtime paths of dependent libraries
16479 # to runtime path list.
16480 inherit_rpath=$inherit_rpath
16482 # Whether libtool must link a program against all its dependency libraries.
16483 link_all_deplibs=$link_all_deplibs
16485 # Fix the shell variable \$srcfile for the compiler.
16486 fix_srcfile_path=$lt_fix_srcfile_path
16488 # Set to "yes" if exported symbols are required.
16489 always_export_symbols=$always_export_symbols
16491 # The commands to list exported symbols.
16492 export_symbols_cmds=$lt_export_symbols_cmds
16494 # Symbols that should not be listed in the preloaded symbols.
16495 exclude_expsyms=$lt_exclude_expsyms
16497 # Symbols that must always be exported.
16498 include_expsyms=$lt_include_expsyms
16500 # Commands necessary for linking programs (against libraries) with templates.
16501 prelink_cmds=$lt_prelink_cmds
16503 # Specify filename containing input files.
16504 file_list_spec=$lt_file_list_spec
16506 # How to hardcode a shared library path into an executable.
16507 hardcode_action=$hardcode_action
16509 # ### END LIBTOOL CONFIG
16515 cat <<\_LT_EOF
>> "$cfgfile"
16516 # AIX sometimes has problems with the GCC collect2 program. For some
16517 # reason, if we set the COLLECT_NAMES environment variable, the problems
16518 # vanish in a puff of smoke.
16519 if test "X${COLLECT_NAMES+set}" != Xset
; then
16521 export COLLECT_NAMES
16528 ltmain
="$ac_aux_dir/ltmain.sh"
16531 # We use sed instead of cat because bash on DJGPP gets confused if
16532 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16533 # text mode, it properly converts lines to CR/LF. This bash problem
16534 # is reportedly fixed, but why not run on old versions too?
16535 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16536 ||
(rm -f "$cfgfile"; exit 1)
16540 cat << \_LT_EOF
>> "$cfgfile"
16542 # func_dirname file append nondir_replacement
16543 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16544 # otherwise set result to NONDIR_REPLACEMENT.
16548 */*) func_dirname_result
="${1%/*}${2}" ;;
16549 * ) func_dirname_result
="${3}" ;;
16553 # func_basename file
16556 func_basename_result
="${1##*/}"
16559 # func_dirname_and_basename file append nondir_replacement
16560 # perform func_basename and func_dirname in a single function
16562 # dirname: Compute the dirname of FILE. If nonempty,
16563 # add APPEND to the result, otherwise set result
16564 # to NONDIR_REPLACEMENT.
16565 # value returned in "$func_dirname_result"
16566 # basename: Compute filename of FILE.
16567 # value retuned in "$func_basename_result"
16568 # Implementation must be kept synchronized with func_dirname
16569 # and func_basename. For efficiency, we do not delegate to
16570 # those functions but instead duplicate the functionality here.
16571 func_dirname_and_basename
()
16574 */*) func_dirname_result
="${1%/*}${2}" ;;
16575 * ) func_dirname_result
="${3}" ;;
16577 func_basename_result
="${1##*/}"
16580 # func_stripname prefix suffix name
16581 # strip PREFIX and SUFFIX off of NAME.
16582 # PREFIX and SUFFIX must not contain globbing or regex special
16583 # characters, hashes, percent signs, but SUFFIX may contain a leading
16584 # dot (in which case that matches only a dot).
16587 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16588 # positional parameters, so assign one to ordinary parameter first.
16589 func_stripname_result
=${3}
16590 func_stripname_result
=${func_stripname_result#"${1}"}
16591 func_stripname_result
=${func_stripname_result%"${2}"}
16597 func_opt_split_opt
=${1%%=*}
16598 func_opt_split_arg
=${1#*=}
16605 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16606 *) func_lo2o_result
=${1} ;;
16610 # func_xform libobj-or-source
16613 func_xform_result
=${1%.*}.lo
16616 # func_arith arithmetic-term...
16619 func_arith_result
=$
(( $
* ))
16623 # STRING may not start with a hyphen.
16626 func_len_result
=${#1}
16631 *) # Bourne compatible functions.
16632 cat << \_LT_EOF
>> "$cfgfile"
16634 # func_dirname file append nondir_replacement
16635 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16636 # otherwise set result to NONDIR_REPLACEMENT.
16639 # Extract subdirectory from the argument.
16640 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16641 if test "X$func_dirname_result" = "X${1}"; then
16642 func_dirname_result
="${3}"
16644 func_dirname_result
="$func_dirname_result${2}"
16648 # func_basename file
16651 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
16655 # func_stripname prefix suffix name
16656 # strip PREFIX and SUFFIX off of NAME.
16657 # PREFIX and SUFFIX must not contain globbing or regex special
16658 # characters, hashes, percent signs, but SUFFIX may contain a leading
16659 # dot (in which case that matches only a dot).
16660 # func_strip_suffix prefix name
16664 .
*) func_stripname_result
=`$ECHO "X${3}" \
16665 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16666 *) func_stripname_result
=`$ECHO "X${3}" \
16667 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16672 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16673 my_sed_long_arg
='1s/^-[^=]*=//'
16678 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16679 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16685 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16688 # func_xform libobj-or-source
16691 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16694 # func_arith arithmetic-term...
16697 func_arith_result
=`expr "$@"`
16701 # STRING may not start with a hyphen.
16704 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16710 case $lt_shell_append in
16712 cat << \_LT_EOF
>> "$cfgfile"
16714 # func_append var value
16715 # Append VALUE to the end of shell variable VAR.
16723 cat << \_LT_EOF
>> "$cfgfile"
16725 # func_append var value
16726 # Append VALUE to the end of shell variable VAR.
16737 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16738 ||
(rm -f "$cfgfile"; exit 1)
16740 mv -f "$cfgfile" "$ofile" ||
16741 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16750 { (exit 0); exit 0; }
16752 chmod +x
$CONFIG_STATUS
16753 ac_clean_files
=$ac_clean_files_save
16755 test $ac_write_fail = 0 ||
16756 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16757 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16758 { (exit 1); exit 1; }; }
16761 # configure is writing to config.log, and then calls config.status.
16762 # config.status does its own redirection, appending to config.log.
16763 # Unfortunately, on DOS this fails, as config.log is still kept open
16764 # by configure, so config.status won't be able to write to it; its
16765 # output is simply discarded. So we exec the FD to /dev/null,
16766 # effectively closing config.log, so it can be properly (re)opened and
16767 # appended to by config.status. When coming back to configure, we
16768 # need to make the FD available again.
16769 if test "$no_create" != yes; then
16771 ac_config_status_args
=
16772 test "$silent" = yes &&
16773 ac_config_status_args
="$ac_config_status_args --quiet"
16775 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16777 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16778 # would make configure fail if this is the last instruction.
16779 $ac_cs_success ||
{ (exit 1); exit 1; }
16781 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16782 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16783 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}