2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for linux nfs-utils 1.1.5.
5 # Report bugs to <linux-nfs@vger.kernel.org>.
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 "$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 "$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 echo_test_string
=`eval $cmd` &&
622 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # The Solaris, AIX, and Digital Unix default echo programs unquote
635 # backslashes. This makes it impossible to quote backslashes using
636 # echo "$something" | sed 's/\\/\\\\/g'
638 # So, first we look for a working echo in the user's PATH.
640 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
641 for dir
in $PATH /usr
/ucb
; do
643 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
644 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646 test "X$echo_testing_string" = "X$echo_test_string"; then
653 if test "X$echo" = Xecho
; then
654 # We didn't find a better echo, so look for alternatives.
655 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 # This shell has a builtin print -r that does the trick.
660 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
661 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
662 # If we have ksh, try running configure again with it.
663 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
664 export ORIGINAL_CONFIG_SHELL
665 CONFIG_SHELL
=/bin
/ksh
667 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
671 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
673 test "X$echo_testing_string" = "X$echo_test_string"; then
676 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677 test "X$echo_testing_string" = 'X\t' &&
678 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679 test "X$echo_testing_string" = "X$echo_test_string"; then
680 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
682 SHELL
="$CONFIG_SHELL"
684 echo="$CONFIG_SHELL $0 --fallback-echo"
685 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686 test "X$echo_testing_string" = 'X\t' &&
687 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688 test "X$echo_testing_string" = "X$echo_test_string"; then
689 echo="$CONFIG_SHELL $0 --fallback-echo"
691 # maybe with a smaller string...
694 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
702 if test "$prev" != 'sed 50q "$0"'; then
703 echo_test_string
=`eval $prev`
704 export echo_test_string
705 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
707 # Oops. We lost completely, so just stick with echo.
716 # Copy echo and quote the copy suitably for passing to libtool from
717 # the Makefile, instead of quoting the original, which is used later.
719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
726 tagnames
=${tagnames+${tagnames},}CXX
728 tagnames
=${tagnames+${tagnames},}F77
730 exec 7<&0 </dev
/null
6>&1
733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
734 # so uname gets run too.
735 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
740 ac_default_prefix
=/usr
/local
742 ac_config_libobj_dir
=.
748 SHELL
=${CONFIG_SHELL-/bin/sh}
750 # Identity of this package.
751 PACKAGE_NAME
='linux nfs-utils'
752 PACKAGE_TARNAME
='nfs-utils'
753 PACKAGE_VERSION
='1.1.5'
754 PACKAGE_STRING
='linux nfs-utils 1.1.5'
755 PACKAGE_BUGREPORT
='linux-nfs@vger.kernel.org'
757 ac_default_prefix
=/usr
758 ac_unique_file
="support/include/config.h.in"
759 # Factoring default headers for most tests.
760 ac_includes_default
="\
762 #ifdef HAVE_SYS_TYPES_H
763 # include <sys/types.h>
765 #ifdef HAVE_SYS_STAT_H
766 # include <sys/stat.h>
772 # ifdef HAVE_STDLIB_H
777 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
782 #ifdef HAVE_STRINGS_H
783 # include <strings.h>
785 #ifdef HAVE_INTTYPES_H
786 # include <inttypes.h>
795 ac_subst_vars
='LTLIBOBJS
888 MAINTAINER_MODE_FALSE
898 INSTALL_STRIP_PROGRAM
948 program_transform_name
960 enable_option_checking
961 enable_maintainer_mode
976 enable_dependency_tracking
987 ac_precious_vars
='build_alias
1009 # Initialize some variables set by options.
1011 ac_init_version
=false
1012 ac_unrecognized_opts
=
1013 ac_unrecognized_sep
=
1014 # The variables have the same names as the options, with
1015 # dashes changed to underlines.
1016 cache_file
=/dev
/null
1023 program_transform_name
=s
,x
,x
,
1031 # Installation directory options.
1032 # These are left unexpanded so users can "make install exec_prefix=/foo"
1033 # and all the variables that are supposed to be based on exec_prefix
1034 # by default will actually change.
1035 # Use braces instead of parens because sh, perl, etc. also accept them.
1036 # (The list follows the same order as the GNU Coding Standards.)
1037 bindir
='${exec_prefix}/bin'
1038 sbindir
='${exec_prefix}/sbin'
1039 libexecdir
='${exec_prefix}/libexec'
1040 datarootdir
='${prefix}/share'
1041 datadir
='${datarootdir}'
1042 sysconfdir
='${prefix}/etc'
1043 sharedstatedir
='${prefix}/com'
1044 localstatedir
='${prefix}/var'
1045 includedir
='${prefix}/include'
1046 oldincludedir
='/usr/include'
1047 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1048 infodir
='${datarootdir}/info'
1053 libdir
='${exec_prefix}/lib'
1054 localedir
='${datarootdir}/locale'
1055 mandir
='${datarootdir}/man'
1061 # If the previous option needs an argument, assign it.
1062 if test -n "$ac_prev"; then
1063 eval $ac_prev=\
$ac_option
1069 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1073 # Accept the important Cygnus configure options, so we can diagnose typos.
1075 case $ac_dashdash$ac_option in
1079 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1081 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1082 bindir
=$ac_optarg ;;
1084 -build |
--build |
--buil |
--bui |
--bu)
1085 ac_prev
=build_alias
;;
1086 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1087 build_alias
=$ac_optarg ;;
1089 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1090 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1091 ac_prev
=cache_file
;;
1092 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1093 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1094 cache_file
=$ac_optarg ;;
1096 --config-cache |
-C)
1097 cache_file
=config.cache
;;
1099 -datadir |
--datadir |
--datadi |
--datad)
1101 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1102 datadir
=$ac_optarg ;;
1104 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1105 |
--dataroo |
--dataro |
--datar)
1106 ac_prev
=datarootdir
;;
1107 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1108 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1109 datarootdir
=$ac_optarg ;;
1111 -disable-* |
--disable-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1116 { (exit 1); exit 1; }; }
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1121 "enable_
$ac_useropt"
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval enable_
$ac_useropt=no
;;
1128 -docdir |
--docdir |
--docdi |
--doc |
--do)
1130 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1131 docdir
=$ac_optarg ;;
1133 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1135 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1136 dvidir
=$ac_optarg ;;
1138 -enable-* |
--enable-*)
1139 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1143 { (exit 1); exit 1; }; }
1144 ac_useropt_orig
=$ac_useropt
1145 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1148 "enable_
$ac_useropt"
1150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1151 ac_unrecognized_sep
=', ';;
1153 eval enable_
$ac_useropt=\
$ac_optarg ;;
1155 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1156 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1157 |
--exec |
--exe |
--ex)
1158 ac_prev
=exec_prefix
;;
1159 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1160 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1161 |
--exec=* |
--exe=* |
--ex=*)
1162 exec_prefix
=$ac_optarg ;;
1164 -gas |
--gas |
--ga |
--g)
1165 # Obsolete; use --with-gas.
1168 -help |
--help |
--hel |
--he |
-h)
1169 ac_init_help
=long
;;
1170 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1171 ac_init_help
=recursive
;;
1172 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1173 ac_init_help
=short
;;
1175 -host |
--host |
--hos |
--ho)
1176 ac_prev
=host_alias
;;
1177 -host=* |
--host=* |
--hos=* |
--ho=*)
1178 host_alias
=$ac_optarg ;;
1180 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1182 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1184 htmldir
=$ac_optarg ;;
1186 -includedir |
--includedir |
--includedi |
--included |
--include \
1187 |
--includ |
--inclu |
--incl |
--inc)
1188 ac_prev
=includedir
;;
1189 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1190 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1191 includedir
=$ac_optarg ;;
1193 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1195 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1196 infodir
=$ac_optarg ;;
1198 -libdir |
--libdir |
--libdi |
--libd)
1200 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1201 libdir
=$ac_optarg ;;
1203 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1204 |
--libexe |
--libex |
--libe)
1205 ac_prev
=libexecdir
;;
1206 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1207 |
--libexe=* |
--libex=* |
--libe=*)
1208 libexecdir
=$ac_optarg ;;
1210 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1211 ac_prev
=localedir
;;
1212 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1213 localedir
=$ac_optarg ;;
1215 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1216 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1217 ac_prev
=localstatedir
;;
1218 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1219 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1220 localstatedir
=$ac_optarg ;;
1222 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1224 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1225 mandir
=$ac_optarg ;;
1227 -nfp |
--nfp |
--nf)
1228 # Obsolete; use --without-fp.
1231 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1232 |
--no-cr |
--no-c |
-n)
1235 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1236 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1239 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1240 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1241 |
--oldin |
--oldi |
--old |
--ol |
--o)
1242 ac_prev
=oldincludedir
;;
1243 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1244 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1245 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1246 oldincludedir
=$ac_optarg ;;
1248 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1250 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1251 prefix
=$ac_optarg ;;
1253 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1254 |
--program-pre |
--program-pr |
--program-p)
1255 ac_prev
=program_prefix
;;
1256 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1257 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1258 program_prefix
=$ac_optarg ;;
1260 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1261 |
--program-suf |
--program-su |
--program-s)
1262 ac_prev
=program_suffix
;;
1263 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1264 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1265 program_suffix
=$ac_optarg ;;
1267 -program-transform-name |
--program-transform-name \
1268 |
--program-transform-nam |
--program-transform-na \
1269 |
--program-transform-n |
--program-transform- \
1270 |
--program-transform |
--program-transfor \
1271 |
--program-transfo |
--program-transf \
1272 |
--program-trans |
--program-tran \
1273 |
--progr-tra |
--program-tr |
--program-t)
1274 ac_prev
=program_transform_name
;;
1275 -program-transform-name=* |
--program-transform-name=* \
1276 |
--program-transform-nam=* |
--program-transform-na=* \
1277 |
--program-transform-n=* |
--program-transform-=* \
1278 |
--program-transform=* |
--program-transfor=* \
1279 |
--program-transfo=* |
--program-transf=* \
1280 |
--program-trans=* |
--program-tran=* \
1281 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1282 program_transform_name
=$ac_optarg ;;
1284 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1286 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1287 pdfdir
=$ac_optarg ;;
1289 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1291 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1294 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1295 |
-silent |
--silent |
--silen |
--sile |
--sil)
1298 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1300 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1302 sbindir
=$ac_optarg ;;
1304 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1305 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1306 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1308 ac_prev
=sharedstatedir
;;
1309 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1310 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1311 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1313 sharedstatedir
=$ac_optarg ;;
1315 -site |
--site |
--sit)
1317 -site=* |
--site=* |
--sit=*)
1320 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1322 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1323 srcdir
=$ac_optarg ;;
1325 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1326 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1327 ac_prev
=sysconfdir
;;
1328 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1329 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1330 sysconfdir
=$ac_optarg ;;
1332 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1333 ac_prev
=target_alias
;;
1334 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1335 target_alias
=$ac_optarg ;;
1337 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1340 -version |
--version |
--versio |
--versi |
--vers |
-V)
1341 ac_init_version
=: ;;
1344 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1345 # Reject names that are not valid shell variable names.
1346 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1347 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1348 { (exit 1); exit 1; }; }
1349 ac_useropt_orig
=$ac_useropt
1350 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1351 case $ac_user_opts in
1355 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1356 ac_unrecognized_sep
=', ';;
1358 eval with_
$ac_useropt=\
$ac_optarg ;;
1360 -without-* |
--without-*)
1361 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1362 # Reject names that are not valid shell variable names.
1363 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1364 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1365 { (exit 1); exit 1; }; }
1366 ac_useropt_orig
=$ac_useropt
1367 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1368 case $ac_user_opts in
1372 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1373 ac_unrecognized_sep
=', ';;
1375 eval with_
$ac_useropt=no
;;
1378 # Obsolete; use --with-x.
1381 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1382 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1383 ac_prev
=x_includes
;;
1384 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1385 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1386 x_includes
=$ac_optarg ;;
1388 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1389 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1390 ac_prev
=x_libraries
;;
1391 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1392 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1393 x_libraries
=$ac_optarg ;;
1395 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1396 Try \`$0 --help' for more information." >&2
1397 { (exit 1); exit 1; }; }
1401 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1404 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1405 { (exit 1); exit 1; }; }
1406 eval $ac_envvar=\
$ac_optarg
1407 export $ac_envvar ;;
1410 # FIXME: should be removed in autoconf 3.0.
1411 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1412 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1413 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1414 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1420 if test -n "$ac_prev"; then
1421 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1422 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1423 { (exit 1); exit 1; }; }
1426 if test -n "$ac_unrecognized_opts"; then
1427 case $enable_option_checking in
1429 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1430 { (exit 1); exit 1; }; } ;;
1431 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1435 # Check all directory arguments for consistency.
1436 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1437 datadir sysconfdir sharedstatedir localstatedir includedir \
1438 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1439 libdir localedir mandir
1441 eval ac_val
=\$
$ac_var
1442 # Remove trailing slashes.
1445 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1446 eval $ac_var=\
$ac_val;;
1448 # Be sure to have absolute directory names.
1450 [\\/$
]* | ?
:[\\/]* ) continue;;
1451 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1453 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1478 test "$silent" = yes && exec 6>/dev
/null
1481 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di
=`ls -di .` &&
1483 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1484 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted
=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir
=`$as_dirname -- "$as_myself" ||
1496 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$as_myself" : 'X\(//\)[^/]' \| \
1498 X"$as_myself" : 'X\(//\)$' \| \
1499 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1500 $as_echo X"$as_myself" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted
=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1527 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures linux nfs-utils 1.1.5 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/nfs-utils]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --program-prefix=PREFIX prepend PREFIX to installed program names
1618 --program-suffix=SUFFIX append SUFFIX to installed program names
1619 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1622 --build=BUILD configure
for building on BUILD
[guessed
]
1623 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive
) echo "Configuration of linux nfs-utils 1.1.5:";;
1634 --disable-option-checking ignore unrecognized
--enable/--with options
1635 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1636 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1637 --enable-maintainer-mode enable make rules and dependencies not useful
1638 (and sometimes confusing
) to the casual installer
1639 --enable-nfsv3 enable support
for NFSv3
[default
=yes]
1640 --enable-nfsv4 enable support
for NFSv4
[default
=yes]
1641 --enable-gss enable support
for rpcsec_gss
[default
=yes]
1642 --enable-kprefix install progs as rpc.knfsd etc
1643 --disable-uuid Exclude uuid support to avoid buggy libblkid
1644 --enable-mount Create mount.nfs and don
't use the util-linux
1645 mount(8) functionality. [default=yes]
1646 --enable-ipv6 enable support for IPv6 [default=no]
1647 --enable-tirpc enable use of TI-RPC [default=no]
1648 --disable-dependency-tracking speeds up one-time build
1649 --enable-dependency-tracking do not reject slow dependency extractors
1650 --disable-largefile omit support for large files
1651 --enable-shared[=PKGS] build shared libraries [default=yes]
1652 --enable-static[=PKGS] build static libraries [default=yes]
1653 --enable-fast-install[=PKGS]
1654 optimize for fast installation [default=yes]
1655 --disable-libtool-lock avoid locking (might break parallel builds)
1658 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1659 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1660 --with-release=XXX set release to XXX [1]
1661 --with-statedir=/foo use state dir /foo /var/lib/nfs
1662 --with-statduser=rpcuser
1663 statd to run under [rpcuser or nobody]
1664 --with-start-statd=scriptname
1665 When an nfs filesystems is mounted with locking, run
1667 --with-rpcgen=internal use internal rpcgen instead of system one
1668 --with-tcp-wrappers[=PATH] Enable tcpwrappers support
1669 (optionally in PATH)
1670 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1671 --with-pic try to use only PIC/non-PIC objects [default=use
1673 --with-tags[=TAGS] include additional configurations [automatic]
1674 --with-krb5=DIR use Kerberos v5 installation in DIR
1676 Some influential environment variables:
1677 CC C compiler command
1678 CFLAGS C compiler flags
1679 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1680 nonstandard directory <lib dir>
1681 LIBS libraries to pass to the linker, e.g. -l<library>
1682 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1683 you have headers in a nonstandard directory <include dir>
1684 CXX C++ compiler command
1685 CXXFLAGS C++ compiler flags
1687 CXXCPP C++ preprocessor
1688 F77 Fortran 77 compiler command
1689 FFLAGS Fortran 77 compiler flags
1690 PKG_CONFIG path to pkg-config utility
1692 C compiler flags for RPCSECGSS, overriding pkg-config
1694 linker flags for RPCSECGSS, overriding pkg-config
1696 C compiler flags for GSSGLUE, overriding pkg-config
1698 linker flags for GSSGLUE, overriding pkg-config
1700 Use these variables to override the choices made by `configure' or to
help
1701 it to
find libraries and programs with nonstandard names
/locations.
1703 Report bugs to
<linux-nfs@vger.kernel.org
>.
1708 if test "$ac_init_help" = "recursive"; then
1709 # If there are subdirs, report their specific --help.
1710 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1711 test -d "$ac_dir" ||
1712 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1717 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1719 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1720 # A ".." for each directory in $ac_dir_suffix.
1721 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1722 case $ac_top_builddir_sub in
1723 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1724 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1727 ac_abs_top_builddir
=$ac_pwd
1728 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1729 # for backward compatibility:
1730 ac_top_builddir
=$ac_top_build_prefix
1733 .
) # We are building in place.
1735 ac_top_srcdir
=$ac_top_builddir_sub
1736 ac_abs_top_srcdir
=$ac_pwd ;;
1737 [\\/]* | ?
:[\\/]* ) # Absolute name.
1738 ac_srcdir
=$srcdir$ac_dir_suffix;
1739 ac_top_srcdir
=$srcdir
1740 ac_abs_top_srcdir
=$srcdir ;;
1742 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1743 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1744 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1746 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1748 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1749 # Check for guested configure.
1750 if test -f "$ac_srcdir/configure.gnu"; then
1752 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1753 elif test -f "$ac_srcdir/configure"; then
1755 $SHELL "$ac_srcdir/configure" --help=recursive
1757 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1759 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1763 test -n "$ac_init_help" && exit $ac_status
1764 if $ac_init_version; then
1766 linux nfs-utils configure
1.1.5
1767 generated by GNU Autoconf
2.63
1769 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1770 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1771 This configure
script is free software
; the Free Software Foundation
1772 gives unlimited permission to copy
, distribute and modify it.
1776 cat >config.log
<<_ACEOF
1777 This file contains any messages produced by compilers while
1778 running configure, to aid debugging if configure makes a mistake.
1780 It was created by linux nfs-utils $as_me 1.1.5, which was
1781 generated by GNU Autoconf 2.63. Invocation command line was
1793 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1794 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1795 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1796 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1797 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1799 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1800 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1802 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1803 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1804 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1805 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1806 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1807 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1808 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir
=.
1817 $as_echo "PATH: $as_dir"
1833 # Keep a trace of the command line.
1834 # Strip out --no-create and --no-recursion so they do not pile up.
1835 # Strip out --silent because we don't want to record it for future runs.
1836 # Also quote any args containing shell meta-characters.
1837 # Make two passes to allow for proper duplicate-argument suppression.
1841 ac_must_keep_next
=false
1847 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1848 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1849 |
-silent |
--silent |
--silen |
--sile |
--sil)
1852 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1855 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1857 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1858 if test $ac_must_keep_next = true
; then
1859 ac_must_keep_next
=false
# Got value, back to normal.
1862 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1863 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1864 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1865 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1866 case "$ac_configure_args0 " in
1867 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1870 -* ) ac_must_keep_next
=true
;;
1873 ac_configure_args
="$ac_configure_args '$ac_arg'"
1878 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1879 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1881 # When interrupted or exit'd, cleanup temporary files, and complete
1882 # config.log. We remove comments because anyway the quotes in there
1883 # would cause problems or look ugly.
1884 # WARNING: Use '\'' to represent an apostrophe within the trap.
1885 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1886 trap 'exit_status=$?
1887 # Save into config.log some information that might help in debugging.
1892 ## ---------------- ##
1893 ## Cache variables. ##
1894 ## ---------------- ##
1897 # The following way of writing the cache mishandles newlines in values,
1899 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1900 eval ac_val=\$$ac_var
1904 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1908 _ | IFS | as_nl) ;; #(
1909 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1910 *) $as_unset $ac_var ;;
1915 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1916 *${as_nl}ac_space=\ *)
1918 "s/'\''/'\''\\\\'\'''\''/g;
1919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1930 ## ----------------- ##
1931 ## Output variables. ##
1932 ## ----------------- ##
1935 for ac_var in $ac_subst_vars
1937 eval ac_val=\$$ac_var
1939 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1941 $as_echo "$ac_var='\''$ac_val'\''"
1945 if test -n "$ac_subst_files"; then
1947 ## ------------------- ##
1948 ## File substitutions. ##
1949 ## ------------------- ##
1952 for ac_var
in $ac_subst_files
1954 eval ac_val
=\$
$ac_var
1956 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1958 $as_echo "$ac_var='\''$ac_val'\''"
1963 if test -s confdefs.h; then
1973 test "$ac_signal" != 0 &&
1974 $as_echo "$as_me: caught signal $ac_signal"
1975 $as_echo "$as_me: exit $exit_status"
1977 rm -f core *.core core.conftest.* &&
1978 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1981 for ac_signal
in 1 2 13 15; do
1982 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1986 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1987 rm -f -r conftest
* confdefs.h
1989 # Predefined preprocessor variables.
1991 cat >>confdefs.h
<<_ACEOF
1992 #define PACKAGE_NAME "$PACKAGE_NAME"
1996 cat >>confdefs.h
<<_ACEOF
1997 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2001 cat >>confdefs.h
<<_ACEOF
2002 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2006 cat >>confdefs.h
<<_ACEOF
2007 #define PACKAGE_STRING "$PACKAGE_STRING"
2011 cat >>confdefs.h
<<_ACEOF
2012 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2016 # Let the site file select an alternate cache file if it wants to.
2017 # Prefer an explicitly selected file to automatically selected ones.
2020 if test -n "$CONFIG_SITE"; then
2021 ac_site_file1
=$CONFIG_SITE
2022 elif test "x$prefix" != xNONE
; then
2023 ac_site_file1
=$prefix/share
/config.site
2024 ac_site_file2
=$prefix/etc
/config.site
2026 ac_site_file1
=$ac_default_prefix/share
/config.site
2027 ac_site_file2
=$ac_default_prefix/etc
/config.site
2029 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2031 test "x$ac_site_file" = xNONE
&& continue
2032 if test -r "$ac_site_file"; then
2033 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2034 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2035 sed 's/^/| /' "$ac_site_file" >&5
2040 if test -r "$cache_file"; then
2041 # Some versions of bash will fail to source /dev/null (special
2042 # files actually), so we avoid doing that.
2043 if test -f "$cache_file"; then
2044 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2045 $as_echo "$as_me: loading cache $cache_file" >&6;}
2047 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2048 *) .
"./$cache_file";;
2052 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2053 $as_echo "$as_me: creating cache $cache_file" >&6;}
2057 # Check that the precious variables saved in the cache have kept the same
2059 ac_cache_corrupted
=false
2060 for ac_var
in $ac_precious_vars; do
2061 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2062 eval ac_new_set
=\
$ac_env_${ac_var}_set
2063 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2064 eval ac_new_val
=\
$ac_env_${ac_var}_value
2065 case $ac_old_set,$ac_new_set in
2067 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2068 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2069 ac_cache_corrupted
=: ;;
2071 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2072 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2073 ac_cache_corrupted
=: ;;
2076 if test "x$ac_old_val" != "x$ac_new_val"; then
2077 # differences in whitespace do not lead to failure.
2078 ac_old_val_w
=`echo x $ac_old_val`
2079 ac_new_val_w
=`echo x $ac_new_val`
2080 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2081 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2082 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2083 ac_cache_corrupted
=:
2085 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2086 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2087 eval $ac_var=\
$ac_old_val
2089 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2090 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2091 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2092 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2095 # Pass precious variables to config.status.
2096 if test "$ac_new_set" = set; then
2098 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2099 *) ac_arg
=$ac_var=$ac_new_val ;;
2101 case " $ac_configure_args " in
2102 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2103 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2107 if $ac_cache_corrupted; then
2108 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2110 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2111 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2112 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2113 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2114 { (exit 1); exit 1; }; }
2142 ac_cpp
='$CPP $CPPFLAGS'
2143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2149 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2150 if test -f "$ac_dir/install-sh"; then
2152 ac_install_sh
="$ac_aux_dir/install-sh -c"
2154 elif test -f "$ac_dir/install.sh"; then
2156 ac_install_sh
="$ac_aux_dir/install.sh -c"
2158 elif test -f "$ac_dir/shtool"; then
2160 ac_install_sh
="$ac_aux_dir/shtool install -c"
2164 if test -z "$ac_aux_dir"; then
2165 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2166 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2167 { (exit 1); exit 1; }; }
2170 # These three variables are undocumented and unsupported,
2171 # and are intended to be withdrawn in a future Autoconf release.
2172 # They can cause serious problems if a builder's source tree is in a directory
2173 # whose full name contains unusual characters.
2174 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2175 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2176 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2179 # Make sure we can run config.sub.
2180 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2181 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2182 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2183 { (exit 1); exit 1; }; }
2185 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2186 $as_echo_n "checking build system type... " >&6; }
2187 if test "${ac_cv_build+set}" = set; then
2188 $as_echo_n "(cached) " >&6
2190 ac_build_alias
=$build_alias
2191 test "x$ac_build_alias" = x
&&
2192 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2193 test "x$ac_build_alias" = x
&&
2194 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2195 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2196 { (exit 1); exit 1; }; }
2197 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2198 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2199 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2200 { (exit 1); exit 1; }; }
2203 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2204 $as_echo "$ac_cv_build" >&6; }
2205 case $ac_cv_build in
2207 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2208 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2209 { (exit 1); exit 1; }; };;
2212 ac_save_IFS
=$IFS; IFS
='-'
2218 # Remember, the first character of IFS is used to create $*,
2219 # except with old shells:
2222 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2225 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2226 $as_echo_n "checking host system type... " >&6; }
2227 if test "${ac_cv_host+set}" = set; then
2228 $as_echo_n "(cached) " >&6
2230 if test "x$host_alias" = x
; then
2231 ac_cv_host
=$ac_cv_build
2233 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2234 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2235 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2236 { (exit 1); exit 1; }; }
2240 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2241 $as_echo "$ac_cv_host" >&6; }
2244 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2245 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2246 { (exit 1); exit 1; }; };;
2249 ac_save_IFS
=$IFS; IFS
='-'
2255 # Remember, the first character of IFS is used to create $*,
2256 # except with old shells:
2259 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2263 am__api_version
='1.10'
2265 # Find a good install program. We prefer a C program (faster),
2266 # so one script is as good as another. But avoid the broken or
2267 # incompatible versions:
2268 # SysV /etc/install, /usr/sbin/install
2269 # SunOS /usr/etc/install
2270 # IRIX /sbin/install
2272 # AmigaOS /C/install, which installs bootblocks on floppy discs
2273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2276 # OS/2's system install, which has a completely different semantic
2277 # ./install, which can be erroneously created by make from ./install.sh.
2278 # Reject install programs that cannot install multiple files.
2279 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2280 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2281 if test -z "$INSTALL"; then
2282 if test "${ac_cv_path_install+set}" = set; then
2283 $as_echo_n "(cached) " >&6
2285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir
=.
2290 # Account for people who put trailing slashes in PATH elements.
2292 .
/ | .
// |
/cC
/* | \
2293 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2294 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2297 # OSF1 and SCO ODT 3.0 have their own names for install.
2298 # Don't use installbsd from OSF since it installs stuff as root
2300 for ac_prog
in ginstall scoinst
install; do
2301 for ac_exec_ext
in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2303 if test $ac_prog = install &&
2304 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2305 # AIX install. It has an incompatible calling convention.
2307 elif test $ac_prog = install &&
2308 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2309 # program-specific install script used by HP pwplus--don't use.
2312 rm -rf conftest.one conftest.two conftest.dir
2313 echo one
> conftest.one
2314 echo two
> conftest.two
2316 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2317 test -s conftest.one
&& test -s conftest.two
&&
2318 test -s conftest.dir
/conftest.one
&&
2319 test -s conftest.dir
/conftest.two
2321 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2334 rm -rf conftest.one conftest.two conftest.dir
2337 if test "${ac_cv_path_install+set}" = set; then
2338 INSTALL
=$ac_cv_path_install
2340 # As a last resort, use the slow shell script. Don't cache a
2341 # value for INSTALL within a source directory, because that will
2342 # break other packages using the cache if that directory is
2343 # removed, or if the value is a relative name.
2344 INSTALL
=$ac_install_sh
2347 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2348 $as_echo "$INSTALL" >&6; }
2350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2351 # It thinks the first close brace ends the variable substitution.
2352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2354 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2356 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2358 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2359 $as_echo_n "checking whether build environment is sane... " >&6; }
2362 echo timestamp
> conftest.
file
2363 # Do `set' in a subshell so we don't clobber the current shell's
2364 # arguments. Must try -L first in case configure is actually a
2365 # symlink; some systems play weird games with the mod time of symlinks
2366 # (eg FreeBSD returns the mod time of the symlink's containing
2369 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2370 if test "$*" = "X"; then
2372 set X
`ls -t $srcdir/configure conftest.file`
2375 if test "$*" != "X $srcdir/configure conftest.file" \
2376 && test "$*" != "X conftest.file $srcdir/configure"; then
2378 # If neither matched, then we have a broken ls. This can happen
2379 # if, for instance, CONFIG_SHELL is bash and it inherits a
2380 # broken ls alias from the environment. This has actually
2381 # happened. Such a system could not be considered "sane".
2382 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2383 alias in your environment" >&5
2384 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2385 alias in your environment" >&2;}
2386 { (exit 1); exit 1; }; }
2389 test "$2" = conftest.
file
2395 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2396 Check your system clock" >&5
2397 $as_echo "$as_me: error: newly created file is older than distributed files!
2398 Check your system clock" >&2;}
2399 { (exit 1); exit 1; }; }
2401 { $as_echo "$as_me:$LINENO: result: yes" >&5
2402 $as_echo "yes" >&6; }
2403 test "$program_prefix" != NONE
&&
2404 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2405 # Use a double $ so make ignores it.
2406 test "$program_suffix" != NONE
&&
2407 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2408 # Double any \ or $.
2409 # By default was `s,x,x', remove it if useless.
2410 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2411 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2413 # expand $ac_aux_dir to an absolute path
2414 am_aux_dir
=`cd $ac_aux_dir && pwd`
2416 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2417 # Use eval to expand $SHELL
2418 if eval "$MISSING --run true"; then
2419 am_missing_run
="$MISSING --run "
2422 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2423 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2426 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2427 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2428 if test -z "$MKDIR_P"; then
2429 if test "${ac_cv_path_mkdir+set}" = set; then
2430 $as_echo_n "(cached) " >&6
2432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2433 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2436 test -z "$as_dir" && as_dir
=.
2437 for ac_prog
in mkdir gmkdir
; do
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2440 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2441 'mkdir (GNU coreutils) '* | \
2442 'mkdir (coreutils) '* | \
2443 'mkdir (fileutils) '4.1*)
2444 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2454 if test "${ac_cv_path_mkdir+set}" = set; then
2455 MKDIR_P
="$ac_cv_path_mkdir -p"
2457 # As a last resort, use the slow shell script. Don't cache a
2458 # value for MKDIR_P within a source directory, because that will
2459 # break other packages using the cache if that directory is
2460 # removed, or if the value is a relative name.
2461 test -d .
/--version && rmdir .
/--version
2462 MKDIR_P
="$ac_install_sh -d"
2465 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2466 $as_echo "$MKDIR_P" >&6; }
2470 [\\/$
]* | ?
:[\\/]*) ;;
2471 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2474 for ac_prog
in gawk mawk nawk
awk
2476 # Extract the first word of "$ac_prog", so it can be a program name with args.
2477 set dummy
$ac_prog; ac_word
=$2
2478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2479 $as_echo_n "checking for $ac_word... " >&6; }
2480 if test "${ac_cv_prog_AWK+set}" = set; then
2481 $as_echo_n "(cached) " >&6
2483 if test -n "$AWK"; then
2484 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir
=.
2491 for ac_exec_ext
in '' $ac_executable_extensions; do
2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493 ac_cv_prog_AWK
="$ac_prog"
2494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 if test -n "$AWK"; then
2505 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2506 $as_echo "$AWK" >&6; }
2508 { $as_echo "$as_me:$LINENO: result: no" >&5
2509 $as_echo "no" >&6; }
2513 test -n "$AWK" && break
2516 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2517 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2519 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2520 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2521 $as_echo_n "(cached) " >&6
2523 cat >conftest.
make <<\_ACEOF
2526 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2529 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2531 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2533 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2537 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2538 { $as_echo "$as_me:$LINENO: result: yes" >&5
2539 $as_echo "yes" >&6; }
2542 { $as_echo "$as_me:$LINENO: result: no" >&5
2543 $as_echo "no" >&6; }
2544 SET_MAKE
="MAKE=${MAKE-make}"
2547 rm -rf .tst
2>/dev
/null
2548 mkdir .tst
2>/dev
/null
2549 if test -d .tst
; then
2554 rmdir .tst
2>/dev
/null
2556 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2557 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2558 # is not polluted with repeated "-I."
2559 am__isrc
=' -I$(srcdir)'
2560 # test to see if srcdir already configured
2561 if test -f $srcdir/config.status
; then
2562 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2563 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2564 { (exit 1); exit 1; }; }
2568 # test whether we have cygpath
2569 if test -z "$CYGPATH_W"; then
2570 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2571 CYGPATH_W
='cygpath -w'
2578 # Define the identity of the package.
2583 cat >>confdefs.h
<<_ACEOF
2584 #define PACKAGE "$PACKAGE"
2588 cat >>confdefs.h
<<_ACEOF
2589 #define VERSION "$VERSION"
2592 # Some tools Automake needs.
2594 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2597 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2600 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2603 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2606 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2608 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2610 # Installed binaries are usually stripped using `strip' when the user
2611 # run `make install-strip'. However `strip' might not be the right
2612 # tool to use in cross-compilation environments, therefore Automake
2613 # will honor the `STRIP' environment variable to overrule this program.
2614 if test "$cross_compiling" != no
; then
2615 if test -n "$ac_tool_prefix"; then
2616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2617 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if test "${ac_cv_prog_STRIP+set}" = set; then
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$STRIP"; then
2624 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir
=.
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2634 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 STRIP
=$ac_cv_prog_STRIP
2644 if test -n "$STRIP"; then
2645 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2646 $as_echo "$STRIP" >&6; }
2648 { $as_echo "$as_me:$LINENO: result: no" >&5
2649 $as_echo "no" >&6; }
2654 if test -z "$ac_cv_prog_STRIP"; then
2656 # Extract the first word of "strip", so it can be a program name with args.
2657 set dummy strip
; ac_word
=$2
2658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$ac_ct_STRIP"; then
2664 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 ac_cv_prog_ac_ct_STRIP
="strip"
2674 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2684 if test -n "$ac_ct_STRIP"; then
2685 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2686 $as_echo "$ac_ct_STRIP" >&6; }
2688 { $as_echo "$as_me:$LINENO: result: no" >&5
2689 $as_echo "no" >&6; }
2692 if test "x$ac_ct_STRIP" = x
; then
2695 case $cross_compiling:$ac_tool_warned in
2697 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2699 ac_tool_warned
=yes ;;
2704 STRIP
="$ac_cv_prog_STRIP"
2708 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2710 # We need awk for the "check" target. The system "awk" is bad on
2712 # Always define AMTAR for backward compatibility.
2714 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2716 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2724 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2725 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2726 # Check whether --enable-maintainer-mode was given.
2727 if test "${enable_maintainer_mode+set}" = set; then
2728 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2730 USE_MAINTAINER_MODE
=no
2733 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2734 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2735 if test $USE_MAINTAINER_MODE = yes; then
2736 MAINTAINER_MODE_TRUE
=
2737 MAINTAINER_MODE_FALSE
='#'
2739 MAINTAINER_MODE_TRUE
='#'
2740 MAINTAINER_MODE_FALSE
=
2743 MAINT
=$MAINTAINER_MODE_TRUE
2748 # Check whether --with-release was given.
2749 if test "${with_release+set}" = set; then
2750 withval
=$with_release; RELEASE
=$withval
2757 # Check whether --with-statedir was given.
2758 if test "${with_statedir+set}" = set; then
2759 withval
=$with_statedir; statedir
=$withval
2761 statedir
=/var
/lib
/nfs
2766 # Check whether --with-statduser was given.
2767 if test "${with_statduser+set}" = set; then
2768 withval
=$with_statduser; statduser
=$withval
2770 if test "x$cross_compiling" = "xno"; then
2771 if grep -s '^rpcuser:' /etc
/passwd
> /dev
/null
; then
2783 # Check whether --with-start-statd was given.
2784 if test "${with_start_statd+set}" = set; then
2785 withval
=$with_start_statd; startstatd
=$withval
2787 startstatd
=/usr
/sbin
/start-statd
2793 cat >>confdefs.h
<<_ACEOF
2794 #define START_STATD "$startstatd"
2797 # Check whether --enable-nfsv3 was given.
2798 if test "${enable_nfsv3+set}" = set; then
2799 enableval
=$enable_nfsv3; enable_nfsv3
=$enableval
2804 if test "$enable_nfsv3" = yes; then
2806 cat >>confdefs.h
<<\_ACEOF
2807 #define NFS3_SUPPORTED 1
2814 # Check whether --enable-nfsv4 was given.
2815 if test "${enable_nfsv4+set}" = set; then
2816 enableval
=$enable_nfsv4; enable_nfsv4
=$enableval
2821 if test "$enable_nfsv4" = yes; then
2823 cat >>confdefs.h
<<\_ACEOF
2824 #define NFS4_SUPPORTED 1
2834 if test "$enable_nfsv4" = "yes"; then
2836 CONFIG_NFSV4_FALSE
='#'
2838 CONFIG_NFSV4_TRUE
='#'
2842 # Check whether --enable-gss was given.
2843 if test "${enable_gss+set}" = set; then
2844 enableval
=$enable_gss; enable_gss
=$enableval
2849 if test "$enable_gss" = yes; then
2851 cat >>confdefs.h
<<\_ACEOF
2852 #define GSS_SUPPORTED 1
2865 if test "$enable_gss" = "yes"; then
2867 CONFIG_GSS_FALSE
='#'
2873 # Check whether --enable-kprefix was given.
2874 if test "${enable_kprefix+set}" = set; then
2875 enableval
=$enable_kprefix; test "$enableval" = "yes" && kprefix
=k
2882 # Check whether --with-rpcgen was given.
2883 if test "${with_rpcgen+set}" = set; then
2884 withval
=$with_rpcgen; rpcgen_path
=$withval
2890 if test "$rpcgen_path" == "yes"; then
2891 for p
in /usr
/local
/bin
/rpcgen
/usr
/bin
/rpcgen
/bin
/rpcgen
2892 do if test -f $p ; then RPCGEN_PATH
=$p ; break; fi ; done
2893 elif test "$rpcgen_path" != "internal"; then
2894 RPCGEN_PATH
=$rpcgen_path
2897 if test "$RPCGEN_PATH" == ""; then
2899 CONFIG_RPCGEN_FALSE
='#'
2901 CONFIG_RPCGEN_TRUE
='#'
2902 CONFIG_RPCGEN_FALSE
=
2905 # Check whether --enable-uuid was given.
2906 if test "${enable_uuid+set}" = set; then
2907 enableval
=$enable_uuid; if test "$enableval" = "yes" ; then choose_blkid
=yes; else choose_blkid
=no
; fi
2909 choose_blkid
=default
2912 # Check whether --enable-mount was given.
2913 if test "${enable_mount+set}" = set; then
2914 enableval
=$enable_mount; enable_mount
=$enableval
2919 if test "$enable_mount" = "yes"; then
2921 CONFIG_MOUNT_FALSE
='#'
2923 CONFIG_MOUNT_TRUE
='#'
2927 # Check whether --enable-ipv6 was given.
2928 if test "${enable_ipv6+set}" = set; then
2929 enableval
=$enable_ipv6; enable_ipv6
=$enableval
2934 if test "$enable_ipv6" = yes; then
2936 cat >>confdefs.h
<<\_ACEOF
2937 #define IPV6_SUPPORTED 1
2944 if test "$enable_ipv6" = "yes"; then
2946 CONFIG_IPV6_FALSE
='#'
2948 CONFIG_IPV6_TRUE
='#'
2953 # Check whether --enable-tirpc was given.
2954 if test "${enable_tirpc+set}" = set; then
2955 enableval
=$enable_tirpc; enable_tirpc
=$enableval
2961 if test "$enable_tirpc" = "yes"; then
2963 CONFIG_TIRPC_FALSE
='#'
2965 CONFIG_TIRPC_TRUE
='#'
2970 # Check whether user wants TCP wrappers support
2971 DEPDIR
="${am__leading_dot}deps"
2973 ac_config_commands
="$ac_config_commands depfiles"
2976 am_make
=${MAKE-make}
2977 cat > confinc
<< 'END'
2982 # If we don't find an include directive, just comment out the code.
2983 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2984 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2988 # First try GNU make style include.
2989 echo "include confinc" > confmf
2990 # We grep out `Entering directory' and `Leaving directory'
2991 # messages which can occur if `w' ends up in MAKEFLAGS.
2992 # In particular we don't look at `^make:' because GNU make might
2993 # be invoked under some other name (usually "gmake"), in which
2994 # case it prints its new name instead of `make'.
2995 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3000 # Now try BSD make style include.
3001 if test "$am__include" = "#"; then
3002 echo '.include "confinc"' > confmf
3003 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3004 am__include
=.include
3011 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3012 $as_echo "$_am_result" >&6; }
3013 rm -f confinc confmf
3015 # Check whether --enable-dependency-tracking was given.
3016 if test "${enable_dependency_tracking+set}" = set; then
3017 enableval
=$enable_dependency_tracking;
3020 if test "x$enable_dependency_tracking" != xno
; then
3021 am_depcomp
="$ac_aux_dir/depcomp"
3024 if test "x$enable_dependency_tracking" != xno; then
3034 ac_cpp
='$CPP $CPPFLAGS'
3035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3038 if test -n "$ac_tool_prefix"; then
3039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3040 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3041 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if test "${ac_cv_prog_CC+set}" = set; then
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$CC"; then
3047 ac_cv_prog_CC
="$CC" # Let the user override the test.
3049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir
=.
3054 for ac_exec_ext
in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3056 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3057 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 if test -n "$CC"; then
3068 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3069 $as_echo "$CC" >&6; }
3071 { $as_echo "$as_me:$LINENO: result: no" >&5
3072 $as_echo "no" >&6; }
3077 if test -z "$ac_cv_prog_CC"; then
3079 # Extract the first word of "gcc", so it can be a program name with args.
3080 set dummy gcc
; ac_word
=$2
3081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$ac_ct_CC"; then
3087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 ac_cv_prog_ac_ct_CC
="gcc"
3097 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3107 if test -n "$ac_ct_CC"; then
3108 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3109 $as_echo "$ac_ct_CC" >&6; }
3111 { $as_echo "$as_me:$LINENO: result: no" >&5
3112 $as_echo "no" >&6; }
3115 if test "x$ac_ct_CC" = x
; then
3118 case $cross_compiling:$ac_tool_warned in
3120 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122 ac_tool_warned
=yes ;;
3130 if test -z "$CC"; then
3131 if test -n "$ac_tool_prefix"; then
3132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3133 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_CC+set}" = set; then
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC
="$CC" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3150 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$CC"; then
3161 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3162 $as_echo "$CC" >&6; }
3164 { $as_echo "$as_me:$LINENO: result: no" >&5
3165 $as_echo "no" >&6; }
3171 if test -z "$CC"; then
3172 # Extract the first word of "cc", so it can be a program name with args.
3173 set dummy cc
; ac_word
=$2
3174 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if test "${ac_cv_prog_CC+set}" = set; then
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$CC"; then
3180 ac_cv_prog_CC
="$CC" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3191 ac_prog_rejected
=yes
3195 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 if test $ac_prog_rejected = yes; then
3203 # We found a bogon in the path, so make sure we never use it.
3204 set dummy
$ac_cv_prog_CC
3206 if test $# != 0; then
3207 # We chose a different compiler from the bogus one.
3208 # However, it has the same basename, so the bogon will be chosen
3209 # first if we set CC to just the basename; use the full file name.
3211 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3217 if test -n "$CC"; then
3218 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3219 $as_echo "$CC" >&6; }
3221 { $as_echo "$as_me:$LINENO: result: no" >&5
3222 $as_echo "no" >&6; }
3227 if test -z "$CC"; then
3228 if test -n "$ac_tool_prefix"; then
3229 for ac_prog
in cl.exe
3231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3233 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if test "${ac_cv_prog_CC+set}" = set; then
3236 $as_echo_n "(cached) " >&6
3238 if test -n "$CC"; then
3239 ac_cv_prog_CC
="$CC" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3248 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3249 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 if test -n "$CC"; then
3260 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3261 $as_echo "$CC" >&6; }
3263 { $as_echo "$as_me:$LINENO: result: no" >&5
3264 $as_echo "no" >&6; }
3268 test -n "$CC" && break
3271 if test -z "$CC"; then
3273 for ac_prog
in cl.exe
3275 # Extract the first word of "$ac_prog", so it can be a program name with args.
3276 set dummy
$ac_prog; ac_word
=$2
3277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$ac_ct_CC"; then
3283 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_exec_ext
in '' $ac_executable_extensions; do
3291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292 ac_cv_prog_ac_ct_CC
="$ac_prog"
3293 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3303 if test -n "$ac_ct_CC"; then
3304 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3305 $as_echo "$ac_ct_CC" >&6; }
3307 { $as_echo "$as_me:$LINENO: result: no" >&5
3308 $as_echo "no" >&6; }
3312 test -n "$ac_ct_CC" && break
3315 if test "x$ac_ct_CC" = x
; then
3318 case $cross_compiling:$ac_tool_warned in
3320 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3322 ac_tool_warned
=yes ;;
3331 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3333 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3334 See \`config.log' for more details." >&5
3335 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3336 See \`config.log' for more details." >&2;}
3337 { (exit 1); exit 1; }; }; }
3339 # Provide some information about the compiler.
3340 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3343 { (ac_try
="$ac_compiler --version >&5"
3345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3349 $as_echo "$ac_try_echo") >&5
3350 (eval "$ac_compiler --version >&5") 2>&5
3352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }
3354 { (ac_try="$ac_compiler -v >&5"
3356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3357 *) ac_try_echo
=$ac_try;;
3359 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3360 $as_echo "$ac_try_echo") >&5
3361 (eval "$ac_compiler -v >&5") 2>&5
3363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }
3365 { (ac_try
="$ac_compiler -V >&5"
3367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3371 $as_echo "$ac_try_echo") >&5
3372 (eval "$ac_compiler -V >&5") 2>&5
3374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }
3377 cat >conftest.$ac_ext <<_ACEOF
3380 cat confdefs.h >>conftest.$ac_ext
3381 cat >>conftest.$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3392 ac_clean_files_save=$ac_clean_files
3393 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3394 # Try to create an executable without -o first, disregard a.out.
3395 # It will help us diagnose broken compilers, and finding out an intuition
3397 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3398 $as_echo_n "checking for C compiler default output file name... " >&6; }
3399 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3401 # The possible output files:
3402 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3405 for ac_file in $ac_files
3408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3409 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3414 if { (ac_try="$ac_link_default"
3416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3417 *) ac_try_echo
=$ac_try;;
3419 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3420 $as_echo "$ac_try_echo") >&5
3421 (eval "$ac_link_default") 2>&5
3423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; then
3425 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3426 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3427 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3428 # so that the user can short-circuit this test for compilers unknown to
3430 for ac_file
in $ac_files ''
3432 test -f "$ac_file" ||
continue
3434 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3437 # We found the default executable, but exeext='' is most
3441 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3443 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3445 # We set ac_cv_exeext here because the later test for it is not
3446 # safe: cross compilers may not add the suffix if given an `-o'
3447 # argument, so we may need to know it at that point already.
3448 # Even if this section looks crufty: it has the advantage of
3455 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3461 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3462 $as_echo "$ac_file" >&6; }
3463 if test -z "$ac_file"; then
3464 $as_echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.
$ac_ext >&5
3467 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3470 See \`config.log' for more details." >&5
3471 $as_echo "$as_me: error: C compiler cannot create executables
3472 See \`config.log' for more details." >&2;}
3473 { (exit 77); exit 77; }; }; }
3476 ac_exeext
=$ac_cv_exeext
3478 # Check that the compiler produces executables we can run. If not, either
3479 # the compiler is broken, or we cross compile.
3480 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3481 $as_echo_n "checking whether the C compiler works... " >&6; }
3482 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3483 # If not cross compiling, check that we can run a simple program.
3484 if test "$cross_compiling" != yes; then
3485 if { ac_try
='./$ac_file'
3486 { (case "(($ac_try" in
3487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3488 *) ac_try_echo=$ac_try;;
3490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3491 $as_echo "$ac_try_echo") >&5
3492 (eval "$ac_try") 2>&5
3494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3498 if test "$cross_compiling" = maybe; then
3501 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3504 If you meant to cross compile
, use \
`--host'.
3505 See \`config.log
' for more details." >&5
3506 $as_echo "$as_me: error: cannot run C compiled programs.
3507 If you meant to cross compile, use \`--host'.
3508 See \
`config.log' for more details." >&2;}
3509 { (exit 1); exit 1; }; }; }
3513 { $as_echo "$as_me:$LINENO: result: yes" >&5
3514 $as_echo "yes" >&6; }
3516 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3517 ac_clean_files=$ac_clean_files_save
3518 # Check that the compiler produces executables we can run. If not, either
3519 # the compiler is broken, or we cross compile.
3520 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3521 $as_echo_n "checking whether we are cross compiling... " >&6; }
3522 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3523 $as_echo "$cross_compiling" >&6; }
3525 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3526 $as_echo_n "checking for suffix of executables... " >&6; }
3527 if { (ac_try="$ac_link"
3529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3530 *) ac_try_echo
=$ac_try;;
3532 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3533 $as_echo "$ac_try_echo") >&5
3534 (eval "$ac_link") 2>&5
3536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; then
3538 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3539 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3540 # work properly (i.e., refer to `conftest.exe'), while it won't with
3542 for ac_file
in conftest.exe conftest conftest.
*; do
3543 test -f "$ac_file" ||
continue
3545 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3546 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3552 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3555 See \`config.log' for more details." >&5
3556 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3557 See \`config.log' for more details." >&2;}
3558 { (exit 1); exit 1; }; }; }
3561 rm -f conftest
$ac_cv_exeext
3562 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3563 $as_echo "$ac_cv_exeext" >&6; }
3565 rm -f conftest.
$ac_ext
3566 EXEEXT
=$ac_cv_exeext
3568 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3569 $as_echo_n "checking for suffix of object files... " >&6; }
3570 if test "${ac_cv_objext+set}" = set; then
3571 $as_echo_n "(cached) " >&6
3573 cat >conftest.
$ac_ext <<_ACEOF
3576 cat confdefs.h
>>conftest.
$ac_ext
3577 cat >>conftest.
$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3588 rm -f conftest.o conftest.obj
3589 if { (ac_try
="$ac_compile"
3591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3595 $as_echo "$ac_try_echo") >&5
3596 (eval "$ac_compile") 2>&5
3598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }; then
3600 for ac_file in conftest.o conftest.obj conftest.*; do
3601 test -f "$ac_file" || continue;
3603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3604 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3609 $as_echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3612 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3615 See \
`config.log' for more details." >&5
3616 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3617 See \`config.log
' for more details." >&2;}
3618 { (exit 1); exit 1; }; }; }
3621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3623 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3624 $as_echo "$ac_cv_objext" >&6; }
3625 OBJEXT=$ac_cv_objext
3627 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3628 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3630 $as_echo_n "(cached) " >&6
3632 cat >conftest.$ac_ext <<_ACEOF
3635 cat confdefs.h >>conftest.$ac_ext
3636 cat >>conftest.$ac_ext <<_ACEOF
3637 /* end confdefs.h. */
3650 rm -f conftest.$ac_objext
3651 if { (ac_try="$ac_compile"
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3657 $as_echo "$ac_try_echo") >&5
3658 (eval "$ac_compile") 2>conftest.er1
3660 grep -v '^
*+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } && {
3665 test -z "$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3667 } && test -s conftest.$ac_objext; then
3670 $as_echo "$as_me: failed program was:" >&5
3671 sed 's
/^
/|
/' conftest.$ac_ext >&5
3676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3680 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3681 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3682 if test $ac_compiler_gnu = yes; then
3687 ac_test_CFLAGS=${CFLAGS+set}
3688 ac_save_CFLAGS=$CFLAGS
3689 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3690 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3691 if test "${ac_cv_prog_cc_g+set}" = set; then
3692 $as_echo_n "(cached) " >&6
3694 ac_save_c_werror_flag=$ac_c_werror_flag
3695 ac_c_werror_flag=yes
3698 cat >conftest.$ac_ext <<_ACEOF
3701 cat confdefs.h >>conftest.$ac_ext
3702 cat >>conftest.$ac_ext <<_ACEOF
3703 /* end confdefs.h. */
3713 rm -f conftest.$ac_objext
3714 if { (ac_try="$ac_compile"
3716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3717 *) ac_try_echo=$ac_try;;
3719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3720 $as_echo "$ac_try_echo") >&5
3721 (eval "$ac_compile") 2>conftest.er1
3723 grep -v '^
*+' conftest.er1 >conftest.err
3725 cat conftest.err >&5
3726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } && {
3728 test -z "$ac_c_werror_flag" ||
3729 test ! -s conftest.err
3730 } && test -s conftest.$ac_objext; then
3733 $as_echo "$as_me: failed program was:" >&5
3734 sed 's
/^
/|
/' conftest.$ac_ext >&5
3737 cat >conftest.$ac_ext <<_ACEOF
3740 cat confdefs.h >>conftest.$ac_ext
3741 cat >>conftest.$ac_ext <<_ACEOF
3742 /* end confdefs.h. */
3752 rm -f conftest.$ac_objext
3753 if { (ac_try="$ac_compile"
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3759 $as_echo "$ac_try_echo") >&5
3760 (eval "$ac_compile") 2>conftest.er1
3762 grep -v '^
*+' conftest.er1 >conftest.err
3764 cat conftest.err >&5
3765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } && {
3767 test -z "$ac_c_werror_flag" ||
3768 test ! -s conftest.err
3769 } && test -s conftest.$ac_objext; then
3772 $as_echo "$as_me: failed program was:" >&5
3773 sed 's
/^
/|
/' conftest.$ac_ext >&5
3775 ac_c_werror_flag=$ac_save_c_werror_flag
3777 cat >conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3792 rm -f conftest.$ac_objext
3793 if { (ac_try="$ac_compile"
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3799 $as_echo "$ac_try_echo") >&5
3800 (eval "$ac_compile") 2>conftest.er1
3802 grep -v '^
*+' conftest.er1 >conftest.err
3804 cat conftest.err >&5
3805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } && {
3807 test -z "$ac_c_werror_flag" ||
3808 test ! -s conftest.err
3809 } && test -s conftest.$ac_objext; then
3812 $as_echo "$as_me: failed program was:" >&5
3813 sed 's
/^
/|
/' conftest.$ac_ext >&5
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 ac_c_werror_flag=$ac_save_c_werror_flag
3827 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3828 $as_echo "$ac_cv_prog_cc_g" >&6; }
3829 if test "$ac_test_CFLAGS" = set; then
3830 CFLAGS=$ac_save_CFLAGS
3831 elif test $ac_cv_prog_cc_g = yes; then
3832 if test "$GCC" = yes; then
3838 if test "$GCC" = yes; then
3844 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3845 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3846 if test "${ac_cv_prog_cc_c89+set}" = set; then
3847 $as_echo_n "(cached) " >&6
3849 ac_cv_prog_cc_c89=no
3851 cat >conftest.$ac_ext <<_ACEOF
3854 cat confdefs.h >>conftest.$ac_ext
3855 cat >>conftest.$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3859 #include <sys/types.h>
3860 #include <sys/stat.h>
3861 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3862 struct buf
{ int x
; };
3863 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3864 static char
*e
(p
, i
)
3870 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3875 s
= g
(p
, va_arg
(v
,int
));
3880 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3881 function prototypes and stuff
, but not
'\xHH' hex character constants.
3882 These don
't provoke an error unfortunately, instead are silently treated
3883 as 'x
'. The following induces an error, until -std is added to get
3884 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3885 array size at least. It's necessary to
write '\x00'==0 to get something
3886 that
's true only with -std. */
3887 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3889 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3890 inside strings and character constants. */
3892 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3894 int test (int i, double x);
3895 struct s1 {int (*f) (int a);};
3896 struct s2 {int (*f) (double a);};
3897 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3903 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3908 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3909 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3911 CC="$ac_save_CC $ac_arg"
3912 rm -f conftest.$ac_objext
3913 if { (ac_try="$ac_compile"
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3919 $as_echo "$ac_try_echo") >&5
3920 (eval "$ac_compile") 2>conftest.er1
3922 grep -v '^
*+' conftest.er1 >conftest.err
3924 cat conftest.err >&5
3925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); } && {
3927 test -z "$ac_c_werror_flag" ||
3928 test ! -s conftest.err
3929 } && test -s conftest.$ac_objext; then
3930 ac_cv_prog_cc_c89=$ac_arg
3932 $as_echo "$as_me: failed program was:" >&5
3933 sed 's
/^
/|
/' conftest.$ac_ext >&5
3938 rm -f core conftest.err conftest.$ac_objext
3939 test "x$ac_cv_prog_cc_c89" != "xno" && break
3941 rm -f conftest.$ac_ext
3946 case "x$ac_cv_prog_cc_c89" in
3948 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3949 $as_echo "none needed" >&6; } ;;
3951 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3952 $as_echo "unsupported" >&6; } ;;
3954 CC="$CC $ac_cv_prog_cc_c89"
3955 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3956 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3961 ac_cpp='$CPP $CPPFLAGS'
3962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3963 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3966 depcc="$CC" am_compiler_list=
3968 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3969 $as_echo_n "checking dependency style of $depcc... " >&6; }
3970 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3971 $as_echo_n "(cached) " >&6
3973 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3974 # We make a subdir and do the tests there. Otherwise we can end up
3975 # making bogus files that we don't know about and never remove. For
3976 # instance it was reported that on HP-UX the gcc test will end up
3977 # making a dummy file named `D' -- because `-MD' means `put the output
3980 # Copy depcomp to subdir because otherwise we won't find it if we're
3981 # using a relative directory.
3982 cp "$am_depcomp" conftest.dir
3984 # We will build objects and dependencies in a subdirectory because
3985 # it helps to detect inapplicable dependency modes. For instance
3986 # both Tru64's cc and ICC support -MD to output dependencies as a
3987 # side effect of compilation, but ICC will put the dependencies in
3988 # the current directory while Tru64 will put them in the object
3992 am_cv_CC_dependencies_compiler_type
=none
3993 if test "$am_compiler_list" = ""; then
3994 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3996 for depmode
in $am_compiler_list; do
3997 # Setup a source with many dependencies, because some compilers
3998 # like to wrap large dependency lists on column 80 (with \), and
3999 # we should not choose a depcomp mode which is confused by this.
4001 # We need to recreate these files for each test, as the compiler may
4002 # overwrite some of them when testing with obscure command lines.
4003 # This happens at least with the AIX C compiler.
4005 for i
in 1 2 3 4 5 6; do
4006 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4007 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4008 # Solaris 8's {/usr,}/bin/sh.
4009 touch sub
/conftst
$i.h
4011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4015 # after this tag, mechanisms are not by side-effect, so they'll
4016 # only be used when explicitly requested
4017 if test "x$enable_dependency_tracking" = xyes
; then
4025 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4026 # mode. It turns out that the SunPro C++ compiler does not properly
4027 # handle `-M -o', and we need to detect this.
4028 if depmode
=$depmode \
4029 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4030 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4031 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4032 >/dev
/null
2>conftest.err
&&
4033 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4034 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4035 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4036 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4037 # icc doesn't choke on unknown options, it will just issue warnings
4038 # or remarks (even with -Werror). So we grep stderr for any message
4039 # that says an option was ignored or not supported.
4040 # When given -MP, icc 7.0 and 7.1 complain thusly:
4041 # icc: Command line warning: ignoring option '-M'; no argument required
4042 # The diagnosis changed in icc 8.0:
4043 # icc: Command line remark: option '-MP' not supported
4044 if (grep 'ignoring option' conftest.err ||
4045 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4046 am_cv_CC_dependencies_compiler_type
=$depmode
4055 am_cv_CC_dependencies_compiler_type
=none
4059 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4060 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4061 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4064 test "x$enable_dependency_tracking" != xno \
4065 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4067 am__fastdepCC_FALSE
='#'
4069 am__fastdepCC_TRUE
='#'
4070 am__fastdepCC_FALSE
=
4078 # Check whether --with-tcp-wrappers was given.
4079 if test "${with_tcp_wrappers+set}" = set; then
4080 withval
=$with_tcp_wrappers; with_tcpw
=$withval
4085 if test "x$with_tcpw" != "xno" ; then
4087 saved_LDFLAGS
="$LDFLAGS"
4088 saved_CPPFLAGS
="$CPPFLAGS"
4089 if test -n "${with_tcpw}" -a "${with_tcpw}" != "yes"; then
4090 if test -d "${with_tcpw}/lib"; then
4091 if test -n "${need_dash_r}"; then
4092 LDFLAGS
="-L${with_tcpw}/lib -R${with_tcpw}/lib ${LDFLAGS}"
4094 LDFLAGS
="-L${with_tcpw}/lib ${LDFLAGS}"
4097 if test -n "${need_dash_r}"; then
4098 LDFLAGS
="-L${with_tcpw} -R${with_tcpw} ${LDFLAGS}"
4100 LDFLAGS
="-L${with_tcpw} ${LDFLAGS}"
4103 if test -d "${with_tcpw}/include"; then
4104 CPPFLAGS
="-I${with_tcpw}/include ${CPPFLAGS}"
4106 CPPFLAGS
="-I${with_tcpw} ${CPPFLAGS}"
4110 LIBS
="$LIBWRAP $LIBS"
4111 { $as_echo "$as_me:$LINENO: checking for libwrap" >&5
4112 $as_echo_n "checking for libwrap... " >&6; }
4113 cat >conftest.
$ac_ext <<_ACEOF
4116 cat confdefs.h
>>conftest.
$ac_ext
4117 cat >>conftest.
$ac_ext <<_ACEOF
4118 /* end confdefs.h. */
4121 int deny_severity = 0, allow_severity = 0;
4131 rm -f conftest.
$ac_objext conftest
$ac_exeext
4132 if { (ac_try
="$ac_link"
4134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4138 $as_echo "$ac_try_echo") >&5
4139 (eval "$ac_link") 2>conftest.er1
4141 grep -v '^ *+' conftest.er1 >conftest.err
4143 cat conftest.err >&5
4144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); } && {
4146 test -z "$ac_c_werror_flag" ||
4147 test ! -s conftest.err
4148 } && test -s conftest$ac_exeext && {
4149 test "$cross_compiling" = yes ||
4150 $as_test_x conftest$ac_exeext
4153 { $as_echo "$as_me:$LINENO: result: yes" >&5
4154 $as_echo "yes" >&6; }
4157 cat >>confdefs.h <<\_ACEOF
4162 cat >>confdefs.h <<\_ACEOF
4163 #define HAVE_LIBWRAP 1
4167 cat >>confdefs.h <<\_ACEOF
4168 #define HAVE_TCP_WRAPPER 1
4174 $as_echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4178 { { $as_echo "$as_me:$LINENO: error: *** libwrap missing" >&5
4179 $as_echo "$as_me: error: *** libwrap missing" >&2;}
4180 { (exit 1); exit 1; }; }
4185 rm -rf conftest.dSYM
4186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4187 conftest$ac_exeext conftest.$ac_ext
4195 # Arrange for large-file support
4196 # Check whether --enable-largefile was given.
4197 if test "${enable_largefile+set}" = set; then
4198 enableval=$enable_largefile;
4201 if test "$enable_largefile" != no; then
4203 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4204 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4205 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4206 $as_echo_n "(cached) " >&6
4208 ac_cv_sys_largefile_CC=no
4209 if test "$GCC" != yes; then
4212 # IRIX 6.2 and later do not support large files by default,
4213 # so use the C compiler's -n32 option if that helps.
4214 cat >conftest.$ac_ext <<_ACEOF
4217 cat confdefs.h >>conftest.$ac_ext
4218 cat >>conftest.$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4220 #include <sys/types.h>
4221 /* Check that off_t can represent 2**63 - 1 correctly.
4222 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4223 since some C++ compilers masquerading as C compilers
4224 incorrectly reject 9223372036854775807. */
4225 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4226 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4227 && LARGE_OFF_T % 2147483647 == 1)
4237 rm -f conftest.$ac_objext
4238 if { (ac_try="$ac_compile"
4240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4241 *) ac_try_echo
=$ac_try;;
4243 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4244 $as_echo "$ac_try_echo") >&5
4245 (eval "$ac_compile") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1
>conftest.err
4249 cat conftest.err
>&5
4250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest.
$ac_objext; then
4257 $as_echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4263 rm -f core conftest.err conftest.
$ac_objext
4265 rm -f conftest.
$ac_objext
4266 if { (ac_try
="$ac_compile"
4268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4272 $as_echo "$ac_try_echo") >&5
4273 (eval "$ac_compile") 2>conftest.er1
4275 grep -v '^ *+' conftest.er1 >conftest.err
4277 cat conftest.err >&5
4278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); } && {
4280 test -z "$ac_c_werror_flag" ||
4281 test ! -s conftest.err
4282 } && test -s conftest.$ac_objext; then
4283 ac_cv_sys_largefile_CC=' -n32'; break
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4291 rm -f core conftest.err conftest.$ac_objext
4295 rm -f conftest.$ac_ext
4298 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4299 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4300 if test "$ac_cv_sys_largefile_CC" != no; then
4301 CC=$CC$ac_cv_sys_largefile_CC
4304 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4305 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4306 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4307 $as_echo_n "(cached) " >&6
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 #include <sys/types.h>
4317 /* Check that off_t can represent 2**63 - 1 correctly.
4318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4319 since some C++ compilers masquerading as C compilers
4320 incorrectly reject 9223372036854775807. */
4321 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4323 && LARGE_OFF_T % 2147483647 == 1)
4333 rm -f conftest.$ac_objext
4334 if { (ac_try="$ac_compile"
4336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4337 *) ac_try_echo
=$ac_try;;
4339 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4340 $as_echo "$ac_try_echo") >&5
4341 (eval "$ac_compile") 2>conftest.er1
4343 grep -v '^ *+' conftest.er1
>conftest.err
4345 cat conftest.err
>&5
4346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } && {
4348 test -z "$ac_c_werror_flag" ||
4349 test ! -s conftest.err
4350 } && test -s conftest.
$ac_objext; then
4351 ac_cv_sys_file_offset_bits
=no
; break
4353 $as_echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.
$ac_ext >&5
4359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4360 cat >conftest.
$ac_ext <<_ACEOF
4363 cat confdefs.h
>>conftest.
$ac_ext
4364 cat >>conftest.
$ac_ext <<_ACEOF
4365 /* end confdefs.h. */
4366 #define _FILE_OFFSET_BITS 64
4367 #include <sys/types.h>
4368 /* Check that off_t can represent 2**63 - 1 correctly.
4369 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4370 since some C++ compilers masquerading as C compilers
4371 incorrectly reject 9223372036854775807. */
4372 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4374 && LARGE_OFF_T % 2147483647 == 1)
4384 rm -f conftest.
$ac_objext
4385 if { (ac_try
="$ac_compile"
4387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4391 $as_echo "$ac_try_echo") >&5
4392 (eval "$ac_compile") 2>conftest.er1
4394 grep -v '^ *+' conftest.er1 >conftest.err
4396 cat conftest.err >&5
4397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } && {
4399 test -z "$ac_c_werror_flag" ||
4400 test ! -s conftest.err
4401 } && test -s conftest.$ac_objext; then
4402 ac_cv_sys_file_offset_bits=64; break
4404 $as_echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.$ac_ext >&5
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_cv_sys_file_offset_bits=unknown
4415 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4416 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4417 case $ac_cv_sys_file_offset_bits in #(
4420 cat >>confdefs.h <<_ACEOF
4421 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4426 if test $ac_cv_sys_file_offset_bits = unknown; then
4427 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4428 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4429 if test "${ac_cv_sys_large_files+set}" = set; then
4430 $as_echo_n "(cached) " >&6
4433 cat >conftest.$ac_ext <<_ACEOF
4436 cat confdefs.h >>conftest.$ac_ext
4437 cat >>conftest.$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 #include <sys/types.h>
4440 /* Check that off_t can represent 2**63 - 1 correctly.
4441 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4442 since some C++ compilers masquerading as C compilers
4443 incorrectly reject 9223372036854775807. */
4444 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4445 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4446 && LARGE_OFF_T % 2147483647 == 1)
4456 rm -f conftest.$ac_objext
4457 if { (ac_try="$ac_compile"
4459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4460 *) ac_try_echo
=$ac_try;;
4462 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4463 $as_echo "$ac_try_echo") >&5
4464 (eval "$ac_compile") 2>conftest.er1
4466 grep -v '^ *+' conftest.er1
>conftest.err
4468 cat conftest.err
>&5
4469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); } && {
4471 test -z "$ac_c_werror_flag" ||
4472 test ! -s conftest.err
4473 } && test -s conftest.
$ac_objext; then
4474 ac_cv_sys_large_files
=no
; break
4476 $as_echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.
$ac_ext >&5
4482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4483 cat >conftest.
$ac_ext <<_ACEOF
4486 cat confdefs.h
>>conftest.
$ac_ext
4487 cat >>conftest.
$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4489 #define _LARGE_FILES 1
4490 #include <sys/types.h>
4491 /* Check that off_t can represent 2**63 - 1 correctly.
4492 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4493 since some C++ compilers masquerading as C compilers
4494 incorrectly reject 9223372036854775807. */
4495 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4496 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4497 && LARGE_OFF_T % 2147483647 == 1)
4507 rm -f conftest.
$ac_objext
4508 if { (ac_try
="$ac_compile"
4510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4511 *) ac_try_echo=$ac_try;;
4513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4514 $as_echo "$ac_try_echo") >&5
4515 (eval "$ac_compile") 2>conftest.er1
4517 grep -v '^ *+' conftest.er1 >conftest.err
4519 cat conftest.err >&5
4520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } && {
4522 test -z "$ac_c_werror_flag" ||
4523 test ! -s conftest.err
4524 } && test -s conftest.$ac_objext; then
4525 ac_cv_sys_large_files=1; break
4527 $as_echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 ac_cv_sys_large_files=unknown
4538 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4539 $as_echo "$ac_cv_sys_large_files" >&6; }
4540 case $ac_cv_sys_large_files in #(
4543 cat >>confdefs.h <<_ACEOF
4544 #define _LARGE_FILES $ac_cv_sys_large_files
4554 ac_config_headers="$ac_config_headers support/include/config.h"
4557 # Checks for programs.
4559 ac_cpp='$CXXCPP $CPPFLAGS'
4560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4563 if test -z "$CXX"; then
4564 if test -n "$CCC"; then
4567 if test -n "$ac_tool_prefix"; then
4568 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if test "${ac_cv_prog_CXX+set}" = set; then
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$CXX"; then
4578 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4588 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 if test -n "$CXX"; then
4599 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
4600 $as_echo "$CXX" >&6; }
4602 { $as_echo "$as_me:$LINENO: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$CXX" && break
4610 if test -z "$CXX"; then
4612 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$ac_ct_CXX"; then
4622 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 ac_cv_prog_ac_ct_CXX="$ac_prog"
4632 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4642 if test -n "$ac_ct_CXX"; then
4643 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4644 $as_echo "$ac_ct_CXX" >&6; }
4646 { $as_echo "$as_me:$LINENO: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$ac_ct_CXX" && break
4654 if test "x$ac_ct_CXX" = x; then
4657 case $cross_compiling:$ac_tool_warned in
4659 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4661 ac_tool_warned=yes ;;
4669 # Provide some information about the compiler.
4670 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4673 { (ac_try="$ac_compiler --version >&5"
4675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4676 *) ac_try_echo
=$ac_try;;
4678 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4679 $as_echo "$ac_try_echo") >&5
4680 (eval "$ac_compiler --version >&5") 2>&5
4682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }
4684 { (ac_try
="$ac_compiler -v >&5"
4686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4687 *) ac_try_echo=$ac_try;;
4689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4690 $as_echo "$ac_try_echo") >&5
4691 (eval "$ac_compiler -v >&5") 2>&5
4693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); }
4695 { (ac_try="$ac_compiler -V >&5"
4697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4698 *) ac_try_echo
=$ac_try;;
4700 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4701 $as_echo "$ac_try_echo") >&5
4702 (eval "$ac_compiler -V >&5") 2>&5
4704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }
4707 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4708 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4709 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4710 $as_echo_n "(cached) " >&6
4712 cat >conftest.
$ac_ext <<_ACEOF
4715 cat confdefs.h
>>conftest.
$ac_ext
4716 cat >>conftest.
$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4730 rm -f conftest.
$ac_objext
4731 if { (ac_try
="$ac_compile"
4733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4737 $as_echo "$ac_try_echo") >&5
4738 (eval "$ac_compile") 2>conftest.er1
4740 grep -v '^ *+' conftest.er1 >conftest.err
4742 cat conftest.err >&5
4743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } && {
4745 test -z "$ac_cxx_werror_flag" ||
4746 test ! -s conftest.err
4747 } && test -s conftest.$ac_objext; then
4750 $as_echo "$as_me: failed program was:" >&5
4751 sed 's/^/| /' conftest.$ac_ext >&5
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4760 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4761 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4762 if test $ac_compiler_gnu = yes; then
4767 ac_test_CXXFLAGS=${CXXFLAGS+set}
4768 ac_save_CXXFLAGS=$CXXFLAGS
4769 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4770 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4771 if test "${ac_cv_prog_cxx_g+set}" = set; then
4772 $as_echo_n "(cached) " >&6
4774 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4775 ac_cxx_werror_flag=yes
4778 cat >conftest.$ac_ext <<_ACEOF
4781 cat confdefs.h >>conftest.$ac_ext
4782 cat >>conftest.$ac_ext <<_ACEOF
4783 /* end confdefs.h. */
4793 rm -f conftest.$ac_objext
4794 if { (ac_try="$ac_compile"
4796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4797 *) ac_try_echo
=$ac_try;;
4799 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4800 $as_echo "$ac_try_echo") >&5
4801 (eval "$ac_compile") 2>conftest.er1
4803 grep -v '^ *+' conftest.er1
>conftest.err
4805 cat conftest.err
>&5
4806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } && {
4808 test -z "$ac_cxx_werror_flag" ||
4809 test ! -s conftest.err
4810 } && test -s conftest.
$ac_objext; then
4811 ac_cv_prog_cxx_g
=yes
4813 $as_echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.
$ac_ext >&5
4817 cat >conftest.
$ac_ext <<_ACEOF
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4832 rm -f conftest.
$ac_objext
4833 if { (ac_try
="$ac_compile"
4835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4839 $as_echo "$ac_try_echo") >&5
4840 (eval "$ac_compile") 2>conftest.er1
4842 grep -v '^ *+' conftest.er1 >conftest.err
4844 cat conftest.err >&5
4845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } && {
4847 test -z "$ac_cxx_werror_flag" ||
4848 test ! -s conftest.err
4849 } && test -s conftest.$ac_objext; then
4852 $as_echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.$ac_ext >&5
4855 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4857 cat >conftest.$ac_ext <<_ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4872 rm -f conftest.$ac_objext
4873 if { (ac_try="$ac_compile"
4875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4876 *) ac_try_echo
=$ac_try;;
4878 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4879 $as_echo "$ac_try_echo") >&5
4880 (eval "$ac_compile") 2>conftest.er1
4882 grep -v '^ *+' conftest.er1
>conftest.err
4884 cat conftest.err
>&5
4885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } && {
4887 test -z "$ac_cxx_werror_flag" ||
4888 test ! -s conftest.err
4889 } && test -s conftest.
$ac_objext; then
4890 ac_cv_prog_cxx_g
=yes
4892 $as_echo "$as_me: failed program was:" >&5
4893 sed 's/^/| /' conftest.
$ac_ext >&5
4898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4905 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4907 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4908 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4909 if test "$ac_test_CXXFLAGS" = set; then
4910 CXXFLAGS
=$ac_save_CXXFLAGS
4911 elif test $ac_cv_prog_cxx_g = yes; then
4912 if test "$GXX" = yes; then
4918 if test "$GXX" = yes; then
4925 ac_cpp
='$CPP $CPPFLAGS'
4926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4930 depcc
="$CXX" am_compiler_list
=
4932 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4933 $as_echo_n "checking dependency style of $depcc... " >&6; }
4934 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4935 $as_echo_n "(cached) " >&6
4937 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4938 # We make a subdir and do the tests there. Otherwise we can end up
4939 # making bogus files that we don't know about and never remove. For
4940 # instance it was reported that on HP-UX the gcc test will end up
4941 # making a dummy file named `D' -- because `-MD' means `put the output
4944 # Copy depcomp to subdir because otherwise we won't find it if we're
4945 # using a relative directory.
4946 cp "$am_depcomp" conftest.dir
4948 # We will build objects and dependencies in a subdirectory because
4949 # it helps to detect inapplicable dependency modes. For instance
4950 # both Tru64's cc and ICC support -MD to output dependencies as a
4951 # side effect of compilation, but ICC will put the dependencies in
4952 # the current directory while Tru64 will put them in the object
4956 am_cv_CXX_dependencies_compiler_type
=none
4957 if test "$am_compiler_list" = ""; then
4958 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4960 for depmode
in $am_compiler_list; do
4961 # Setup a source with many dependencies, because some compilers
4962 # like to wrap large dependency lists on column 80 (with \), and
4963 # we should not choose a depcomp mode which is confused by this.
4965 # We need to recreate these files for each test, as the compiler may
4966 # overwrite some of them when testing with obscure command lines.
4967 # This happens at least with the AIX C compiler.
4969 for i
in 1 2 3 4 5 6; do
4970 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4971 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4972 # Solaris 8's {/usr,}/bin/sh.
4973 touch sub
/conftst
$i.h
4975 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4979 # after this tag, mechanisms are not by side-effect, so they'll
4980 # only be used when explicitly requested
4981 if test "x$enable_dependency_tracking" = xyes
; then
4989 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4990 # mode. It turns out that the SunPro C++ compiler does not properly
4991 # handle `-M -o', and we need to detect this.
4992 if depmode
=$depmode \
4993 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4994 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4995 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4996 >/dev
/null
2>conftest.err
&&
4997 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4998 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4999 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5000 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5001 # icc doesn't choke on unknown options, it will just issue warnings
5002 # or remarks (even with -Werror). So we grep stderr for any message
5003 # that says an option was ignored or not supported.
5004 # When given -MP, icc 7.0 and 7.1 complain thusly:
5005 # icc: Command line warning: ignoring option '-M'; no argument required
5006 # The diagnosis changed in icc 8.0:
5007 # icc: Command line remark: option '-MP' not supported
5008 if (grep 'ignoring option' conftest.err ||
5009 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5010 am_cv_CXX_dependencies_compiler_type
=$depmode
5019 am_cv_CXX_dependencies_compiler_type
=none
5023 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5024 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5025 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5028 test "x$enable_dependency_tracking" != xno \
5029 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5030 am__fastdepCXX_TRUE
=
5031 am__fastdepCXX_FALSE
='#'
5033 am__fastdepCXX_TRUE
='#'
5034 am__fastdepCXX_FALSE
=
5039 ac_cpp
='$CPP $CPPFLAGS'
5040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5043 if test -n "$ac_tool_prefix"; then
5044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5045 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if test "${ac_cv_prog_CC+set}" = set; then
5049 $as_echo_n "(cached) " >&6
5051 if test -n "$CC"; then
5052 ac_cv_prog_CC
="$CC" # Let the user override the test.
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5061 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 if test -n "$CC"; then
5073 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5074 $as_echo "$CC" >&6; }
5076 { $as_echo "$as_me:$LINENO: result: no" >&5
5077 $as_echo "no" >&6; }
5082 if test -z "$ac_cv_prog_CC"; then
5084 # Extract the first word of "gcc", so it can be a program name with args.
5085 set dummy gcc
; ac_word
=$2
5086 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$ac_ct_CC"; then
5092 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5101 ac_cv_prog_ac_ct_CC
="gcc"
5102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5112 if test -n "$ac_ct_CC"; then
5113 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5114 $as_echo "$ac_ct_CC" >&6; }
5116 { $as_echo "$as_me:$LINENO: result: no" >&5
5117 $as_echo "no" >&6; }
5120 if test "x$ac_ct_CC" = x
; then
5123 case $cross_compiling:$ac_tool_warned in
5125 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned
=yes ;;
5135 if test -z "$CC"; then
5136 if test -n "$ac_tool_prefix"; then
5137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5138 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if test "${ac_cv_prog_CC+set}" = set; then
5142 $as_echo_n "(cached) " >&6
5144 if test -n "$CC"; then
5145 ac_cv_prog_CC
="$CC" # Let the user override the test.
5147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir
=.
5152 for ac_exec_ext
in '' $ac_executable_extensions; do
5153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5154 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 if test -n "$CC"; then
5166 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5167 $as_echo "$CC" >&6; }
5169 { $as_echo "$as_me:$LINENO: result: no" >&5
5170 $as_echo "no" >&6; }
5176 if test -z "$CC"; then
5177 # Extract the first word of "cc", so it can be a program name with args.
5178 set dummy cc
; ac_word
=$2
5179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if test "${ac_cv_prog_CC+set}" = set; then
5182 $as_echo_n "(cached) " >&6
5184 if test -n "$CC"; then
5185 ac_cv_prog_CC
="$CC" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5196 ac_prog_rejected
=yes
5200 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 if test $ac_prog_rejected = yes; then
5208 # We found a bogon in the path, so make sure we never use it.
5209 set dummy
$ac_cv_prog_CC
5211 if test $# != 0; then
5212 # We chose a different compiler from the bogus one.
5213 # However, it has the same basename, so the bogon will be chosen
5214 # first if we set CC to just the basename; use the full file name.
5216 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5222 if test -n "$CC"; then
5223 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5224 $as_echo "$CC" >&6; }
5226 { $as_echo "$as_me:$LINENO: result: no" >&5
5227 $as_echo "no" >&6; }
5232 if test -z "$CC"; then
5233 if test -n "$ac_tool_prefix"; then
5234 for ac_prog
in cl.exe
5236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5237 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if test "${ac_cv_prog_CC+set}" = set; then
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$CC"; then
5244 ac_cv_prog_CC
="$CC" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 if test -n "$CC"; then
5265 { $as_echo "$as_me:$LINENO: result: $CC" >&5
5266 $as_echo "$CC" >&6; }
5268 { $as_echo "$as_me:$LINENO: result: no" >&5
5269 $as_echo "no" >&6; }
5273 test -n "$CC" && break
5276 if test -z "$CC"; then
5278 for ac_prog
in cl.exe
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy
$ac_prog; ac_word
=$2
5282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5285 $as_echo_n "(cached) " >&6
5287 if test -n "$ac_ct_CC"; then
5288 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir
=.
5295 for ac_exec_ext
in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_ac_ct_CC
="$ac_prog"
5298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5308 if test -n "$ac_ct_CC"; then
5309 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5310 $as_echo "$ac_ct_CC" >&6; }
5312 { $as_echo "$as_me:$LINENO: result: no" >&5
5313 $as_echo "no" >&6; }
5317 test -n "$ac_ct_CC" && break
5320 if test "x$ac_ct_CC" = x
; then
5323 case $cross_compiling:$ac_tool_warned in
5325 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5327 ac_tool_warned
=yes ;;
5336 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5338 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5339 See \`config.log' for more details." >&5
5340 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5341 See \`config.log' for more details." >&2;}
5342 { (exit 1); exit 1; }; }; }
5344 # Provide some information about the compiler.
5345 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
5348 { (ac_try
="$ac_compiler --version >&5"
5350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5351 *) ac_try_echo=$ac_try;;
5353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5354 $as_echo "$ac_try_echo") >&5
5355 (eval "$ac_compiler --version >&5") 2>&5
5357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }
5359 { (ac_try="$ac_compiler -v >&5"
5361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5362 *) ac_try_echo
=$ac_try;;
5364 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5365 $as_echo "$ac_try_echo") >&5
5366 (eval "$ac_compiler -v >&5") 2>&5
5368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }
5370 { (ac_try
="$ac_compiler -V >&5"
5372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5373 *) ac_try_echo=$ac_try;;
5375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5376 $as_echo "$ac_try_echo") >&5
5377 (eval "$ac_compiler -V >&5") 2>&5
5379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }
5382 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5383 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5384 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5385 $as_echo_n "(cached) " >&6
5387 cat >conftest.$ac_ext <<_ACEOF
5390 cat confdefs.h >>conftest.$ac_ext
5391 cat >>conftest.$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5405 rm -f conftest.$ac_objext
5406 if { (ac_try="$ac_compile"
5408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5409 *) ac_try_echo
=$ac_try;;
5411 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5412 $as_echo "$ac_try_echo") >&5
5413 (eval "$ac_compile") 2>conftest.er1
5415 grep -v '^ *+' conftest.er1
>conftest.err
5417 cat conftest.err
>&5
5418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); } && {
5420 test -z "$ac_c_werror_flag" ||
5421 test ! -s conftest.err
5422 } && test -s conftest.
$ac_objext; then
5425 $as_echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.
$ac_ext >&5
5431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5435 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5436 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5437 if test $ac_compiler_gnu = yes; then
5442 ac_test_CFLAGS
=${CFLAGS+set}
5443 ac_save_CFLAGS
=$CFLAGS
5444 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5445 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5446 if test "${ac_cv_prog_cc_g+set}" = set; then
5447 $as_echo_n "(cached) " >&6
5449 ac_save_c_werror_flag
=$ac_c_werror_flag
5450 ac_c_werror_flag
=yes
5453 cat >conftest.
$ac_ext <<_ACEOF
5456 cat confdefs.h
>>conftest.
$ac_ext
5457 cat >>conftest.
$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5468 rm -f conftest.
$ac_objext
5469 if { (ac_try
="$ac_compile"
5471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5472 *) ac_try_echo=$ac_try;;
5474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5475 $as_echo "$ac_try_echo") >&5
5476 (eval "$ac_compile") 2>conftest.er1
5478 grep -v '^ *+' conftest.er1 >conftest.err
5480 cat conftest.err >&5
5481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); } && {
5483 test -z "$ac_c_werror_flag" ||
5484 test ! -s conftest.err
5485 } && test -s conftest.$ac_objext; then
5488 $as_echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.$ac_ext >&5
5492 cat >conftest.$ac_ext <<_ACEOF
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5507 rm -f conftest.$ac_objext
5508 if { (ac_try="$ac_compile"
5510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5511 *) ac_try_echo
=$ac_try;;
5513 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5514 $as_echo "$ac_try_echo") >&5
5515 (eval "$ac_compile") 2>conftest.er1
5517 grep -v '^ *+' conftest.er1
>conftest.err
5519 cat conftest.err
>&5
5520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); } && {
5522 test -z "$ac_c_werror_flag" ||
5523 test ! -s conftest.err
5524 } && test -s conftest.
$ac_objext; then
5527 $as_echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.
$ac_ext >&5
5530 ac_c_werror_flag
=$ac_save_c_werror_flag
5532 cat >conftest.
$ac_ext <<_ACEOF
5535 cat confdefs.h
>>conftest.
$ac_ext
5536 cat >>conftest.
$ac_ext <<_ACEOF
5537 /* end confdefs.h. */
5547 rm -f conftest.
$ac_objext
5548 if { (ac_try
="$ac_compile"
5550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5551 *) ac_try_echo=$ac_try;;
5553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5554 $as_echo "$ac_try_echo") >&5
5555 (eval "$ac_compile") 2>conftest.er1
5557 grep -v '^ *+' conftest.er1 >conftest.err
5559 cat conftest.err >&5
5560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); } && {
5562 test -z "$ac_c_werror_flag" ||
5563 test ! -s conftest.err
5564 } && test -s conftest.$ac_objext; then
5567 $as_echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.$ac_ext >&5
5573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5580 ac_c_werror_flag=$ac_save_c_werror_flag
5582 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5583 $as_echo "$ac_cv_prog_cc_g" >&6; }
5584 if test "$ac_test_CFLAGS" = set; then
5585 CFLAGS=$ac_save_CFLAGS
5586 elif test $ac_cv_prog_cc_g = yes; then
5587 if test "$GCC" = yes; then
5593 if test "$GCC" = yes; then
5599 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5600 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5601 if test "${ac_cv_prog_cc_c89+set}" = set; then
5602 $as_echo_n "(cached) " >&6
5604 ac_cv_prog_cc_c89=no
5606 cat >conftest.$ac_ext <<_ACEOF
5609 cat confdefs.h >>conftest.$ac_ext
5610 cat >>conftest.$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5614 #include <sys/types.h>
5615 #include <sys/stat.h>
5616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5617 struct buf { int x; };
5618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5619 static char *e (p, i)
5625 static char *f (char * (*g) (char **, int), char **p, ...)
5630 s = g (p, va_arg (v,int));
5635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5636 function prototypes and stuff, but not '\xHH' hex character constants.
5637 These don't provoke an error unfortunately, instead are silently treated
5638 as 'x'. The following induces an error, until -std is added to get
5639 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5640 array size at least. It's necessary to write '\x00'==0 to get something
5641 that's true only with -std. */
5642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5645 inside strings and character constants. */
5647 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5649 int test (int i, double x);
5650 struct s1 {int (*f) (int a);};
5651 struct s2 {int (*f) (double a);};
5652 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5658 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5663 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5664 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5666 CC="$ac_save_CC $ac_arg"
5667 rm -f conftest.$ac_objext
5668 if { (ac_try="$ac_compile"
5670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5671 *) ac_try_echo
=$ac_try;;
5673 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5674 $as_echo "$ac_try_echo") >&5
5675 (eval "$ac_compile") 2>conftest.er1
5677 grep -v '^ *+' conftest.er1
>conftest.err
5679 cat conftest.err
>&5
5680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } && {
5682 test -z "$ac_c_werror_flag" ||
5683 test ! -s conftest.err
5684 } && test -s conftest.
$ac_objext; then
5685 ac_cv_prog_cc_c89
=$ac_arg
5687 $as_echo "$as_me: failed program was:" >&5
5688 sed 's/^/| /' conftest.
$ac_ext >&5
5693 rm -f core conftest.err conftest.
$ac_objext
5694 test "x$ac_cv_prog_cc_c89" != "xno" && break
5696 rm -f conftest.
$ac_ext
5701 case "x$ac_cv_prog_cc_c89" in
5703 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5704 $as_echo "none needed" >&6; } ;;
5706 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5707 $as_echo "unsupported" >&6; } ;;
5709 CC
="$CC $ac_cv_prog_cc_c89"
5710 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5711 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5716 ac_cpp
='$CPP $CPPFLAGS'
5717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5721 depcc
="$CC" am_compiler_list
=
5723 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5724 $as_echo_n "checking dependency style of $depcc... " >&6; }
5725 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5726 $as_echo_n "(cached) " >&6
5728 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5729 # We make a subdir and do the tests there. Otherwise we can end up
5730 # making bogus files that we don't know about and never remove. For
5731 # instance it was reported that on HP-UX the gcc test will end up
5732 # making a dummy file named `D' -- because `-MD' means `put the output
5735 # Copy depcomp to subdir because otherwise we won't find it if we're
5736 # using a relative directory.
5737 cp "$am_depcomp" conftest.dir
5739 # We will build objects and dependencies in a subdirectory because
5740 # it helps to detect inapplicable dependency modes. For instance
5741 # both Tru64's cc and ICC support -MD to output dependencies as a
5742 # side effect of compilation, but ICC will put the dependencies in
5743 # the current directory while Tru64 will put them in the object
5747 am_cv_CC_dependencies_compiler_type
=none
5748 if test "$am_compiler_list" = ""; then
5749 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5751 for depmode
in $am_compiler_list; do
5752 # Setup a source with many dependencies, because some compilers
5753 # like to wrap large dependency lists on column 80 (with \), and
5754 # we should not choose a depcomp mode which is confused by this.
5756 # We need to recreate these files for each test, as the compiler may
5757 # overwrite some of them when testing with obscure command lines.
5758 # This happens at least with the AIX C compiler.
5760 for i
in 1 2 3 4 5 6; do
5761 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5762 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5763 # Solaris 8's {/usr,}/bin/sh.
5764 touch sub
/conftst
$i.h
5766 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5770 # after this tag, mechanisms are not by side-effect, so they'll
5771 # only be used when explicitly requested
5772 if test "x$enable_dependency_tracking" = xyes
; then
5780 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5781 # mode. It turns out that the SunPro C++ compiler does not properly
5782 # handle `-M -o', and we need to detect this.
5783 if depmode
=$depmode \
5784 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5785 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5786 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5787 >/dev
/null
2>conftest.err
&&
5788 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5789 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5790 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5791 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5792 # icc doesn't choke on unknown options, it will just issue warnings
5793 # or remarks (even with -Werror). So we grep stderr for any message
5794 # that says an option was ignored or not supported.
5795 # When given -MP, icc 7.0 and 7.1 complain thusly:
5796 # icc: Command line warning: ignoring option '-M'; no argument required
5797 # The diagnosis changed in icc 8.0:
5798 # icc: Command line remark: option '-MP' not supported
5799 if (grep 'ignoring option' conftest.err ||
5800 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5801 am_cv_CC_dependencies_compiler_type
=$depmode
5810 am_cv_CC_dependencies_compiler_type
=none
5814 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5815 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5816 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5819 test "x$enable_dependency_tracking" != xno \
5820 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5822 am__fastdepCC_FALSE
='#'
5824 am__fastdepCC_TRUE
='#'
5825 am__fastdepCC_FALSE
=
5830 ac_cpp
='$CPP $CPPFLAGS'
5831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5834 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5835 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5836 # On Suns, sometimes $CPP names a directory.
5837 if test -n "$CPP" && test -d "$CPP"; then
5840 if test -z "$CPP"; then
5841 if test "${ac_cv_prog_CPP+set}" = set; then
5842 $as_echo_n "(cached) " >&6
5844 # Double quotes because CPP needs to be expanded
5845 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5848 for ac_c_preproc_warn_flag
in '' yes
5850 # Use a header file that comes with gcc, so configuring glibc
5851 # with a fresh cross-compiler works.
5852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5853 # <limits.h> exists even on freestanding compilers.
5854 # On the NeXT, cc -E runs the code through the compiler's parser,
5855 # not just through cpp. "Syntax error" is here to catch this case.
5856 cat >conftest.
$ac_ext <<_ACEOF
5859 cat confdefs.h
>>conftest.
$ac_ext
5860 cat >>conftest.
$ac_ext <<_ACEOF
5861 /* end confdefs.h. */
5863 # include <limits.h>
5865 # include <assert.h>
5869 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5872 *) ac_try_echo=$ac_try;;
5874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5875 $as_echo "$ac_try_echo") >&5
5876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5878 grep -v '^ *+' conftest.er1 >conftest.err
5880 cat conftest.err >&5
5881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } >/dev/null && {
5883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5884 test ! -s conftest.err
5888 $as_echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5891 # Broken: fails on valid input.
5895 rm -f conftest.err conftest.$ac_ext
5897 # OK, works on sane cases. Now check whether nonexistent headers
5898 # can be detected and how.
5899 cat >conftest.$ac_ext <<_ACEOF
5902 cat confdefs.h >>conftest.$ac_ext
5903 cat >>conftest.$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5905 #include <ac_nonexistent.h>
5907 if { (ac_try="$ac_cpp conftest.$ac_ext"
5909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5910 *) ac_try_echo
=$ac_try;;
5912 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5913 $as_echo "$ac_try_echo") >&5
5914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5916 grep -v '^ *+' conftest.er1
>conftest.err
5918 cat conftest.err
>&5
5919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); } >/dev
/null
&& {
5921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5922 test ! -s conftest.err
5924 # Broken: success on invalid input.
5927 $as_echo "$as_me: failed program was:" >&5
5928 sed 's/^/| /' conftest.
$ac_ext >&5
5930 # Passes both tests.
5935 rm -f conftest.err conftest.
$ac_ext
5938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5939 rm -f conftest.err conftest.
$ac_ext
5940 if $ac_preproc_ok; then
5952 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5953 $as_echo "$CPP" >&6; }
5955 for ac_c_preproc_warn_flag
in '' yes
5957 # Use a header file that comes with gcc, so configuring glibc
5958 # with a fresh cross-compiler works.
5959 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5960 # <limits.h> exists even on freestanding compilers.
5961 # On the NeXT, cc -E runs the code through the compiler's parser,
5962 # not just through cpp. "Syntax error" is here to catch this case.
5963 cat >conftest.
$ac_ext <<_ACEOF
5966 cat confdefs.h
>>conftest.
$ac_ext
5967 cat >>conftest.
$ac_ext <<_ACEOF
5968 /* end confdefs.h. */
5970 # include <limits.h>
5972 # include <assert.h>
5976 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5979 *) ac_try_echo=$ac_try;;
5981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5982 $as_echo "$ac_try_echo") >&5
5983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5985 grep -v '^ *+' conftest.er1 >conftest.err
5987 cat conftest.err >&5
5988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); } >/dev/null && {
5990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5991 test ! -s conftest.err
5995 $as_echo "$as_me: failed program was:" >&5
5996 sed 's/^/| /' conftest.$ac_ext >&5
5998 # Broken: fails on valid input.
6002 rm -f conftest.err conftest.$ac_ext
6004 # OK, works on sane cases. Now check whether nonexistent headers
6005 # can be detected and how.
6006 cat >conftest.$ac_ext <<_ACEOF
6009 cat confdefs.h >>conftest.$ac_ext
6010 cat >>conftest.$ac_ext <<_ACEOF
6011 /* end confdefs.h. */
6012 #include <ac_nonexistent.h>
6014 if { (ac_try="$ac_cpp conftest.$ac_ext"
6016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6017 *) ac_try_echo
=$ac_try;;
6019 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6020 $as_echo "$ac_try_echo") >&5
6021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6023 grep -v '^ *+' conftest.er1
>conftest.err
6025 cat conftest.err
>&5
6026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } >/dev
/null
&& {
6028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6029 test ! -s conftest.err
6031 # Broken: success on invalid input.
6034 $as_echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.
$ac_ext >&5
6037 # Passes both tests.
6042 rm -f conftest.err conftest.
$ac_ext
6045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6046 rm -f conftest.err conftest.
$ac_ext
6047 if $ac_preproc_ok; then
6050 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6052 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6053 See \`config.log' for more details." >&5
6054 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6055 See \`config.log' for more details." >&2;}
6056 { (exit 1); exit 1; }; }; }
6060 ac_cpp
='$CPP $CPPFLAGS'
6061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6065 # Find a good install program. We prefer a C program (faster),
6066 # so one script is as good as another. But avoid the broken or
6067 # incompatible versions:
6068 # SysV /etc/install, /usr/sbin/install
6069 # SunOS /usr/etc/install
6070 # IRIX /sbin/install
6072 # AmigaOS /C/install, which installs bootblocks on floppy discs
6073 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6074 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6075 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6076 # OS/2's system install, which has a completely different semantic
6077 # ./install, which can be erroneously created by make from ./install.sh.
6078 # Reject install programs that cannot install multiple files.
6079 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6080 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6081 if test -z "$INSTALL"; then
6082 if test "${ac_cv_path_install+set}" = set; then
6083 $as_echo_n "(cached) " >&6
6085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir
=.
6090 # Account for people who put trailing slashes in PATH elements.
6092 .
/ | .
// |
/cC
/* | \
6093 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6094 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6097 # OSF1 and SCO ODT 3.0 have their own names for install.
6098 # Don't use installbsd from OSF since it installs stuff as root
6100 for ac_prog
in ginstall scoinst
install; do
6101 for ac_exec_ext
in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6103 if test $ac_prog = install &&
6104 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6105 # AIX install. It has an incompatible calling convention.
6107 elif test $ac_prog = install &&
6108 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6109 # program-specific install script used by HP pwplus--don't use.
6112 rm -rf conftest.one conftest.two conftest.dir
6113 echo one
> conftest.one
6114 echo two
> conftest.two
6116 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
6117 test -s conftest.one
&& test -s conftest.two
&&
6118 test -s conftest.dir
/conftest.one
&&
6119 test -s conftest.dir
/conftest.two
6121 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6134 rm -rf conftest.one conftest.two conftest.dir
6137 if test "${ac_cv_path_install+set}" = set; then
6138 INSTALL
=$ac_cv_path_install
6140 # As a last resort, use the slow shell script. Don't cache a
6141 # value for INSTALL within a source directory, because that will
6142 # break other packages using the cache if that directory is
6143 # removed, or if the value is a relative name.
6144 INSTALL
=$ac_install_sh
6147 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
6148 $as_echo "$INSTALL" >&6; }
6150 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6151 # It thinks the first close brace ends the variable substitution.
6152 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6154 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6156 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6158 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6159 $as_echo_n "checking whether ln -s works... " >&6; }
6161 if test "$LN_S" = "ln -s"; then
6162 { $as_echo "$as_me:$LINENO: result: yes" >&5
6163 $as_echo "yes" >&6; }
6165 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6166 $as_echo "no, using $LN_S" >&6; }
6169 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6170 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6172 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6173 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
6174 $as_echo_n "(cached) " >&6
6176 cat >conftest.
make <<\_ACEOF
6179 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6181 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6182 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6184 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6186 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6190 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6191 { $as_echo "$as_me:$LINENO: result: yes" >&5
6192 $as_echo "yes" >&6; }
6195 { $as_echo "$as_me:$LINENO: result: no" >&5
6196 $as_echo "no" >&6; }
6197 SET_MAKE
="MAKE=${MAKE-make}"
6200 # Check whether --enable-shared was given.
6201 if test "${enable_shared+set}" = set; then
6202 enableval
=$enable_shared; p
=${PACKAGE-default}
6204 yes) enable_shared
=yes ;;
6205 no
) enable_shared
=no
;;
6208 # Look at the argument we got. We use all the common list separators.
6209 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6210 for pkg
in $enableval; do
6212 if test "X$pkg" = "X$p"; then
6224 # Check whether --enable-static was given.
6225 if test "${enable_static+set}" = set; then
6226 enableval
=$enable_static; p
=${PACKAGE-default}
6228 yes) enable_static
=yes ;;
6229 no
) enable_static
=no
;;
6232 # Look at the argument we got. We use all the common list separators.
6233 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6234 for pkg
in $enableval; do
6236 if test "X$pkg" = "X$p"; then
6248 # Check whether --enable-fast-install was given.
6249 if test "${enable_fast_install+set}" = set; then
6250 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6252 yes) enable_fast_install
=yes ;;
6253 no
) enable_fast_install
=no
;;
6255 enable_fast_install
=no
6256 # Look at the argument we got. We use all the common list separators.
6257 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6258 for pkg
in $enableval; do
6260 if test "X$pkg" = "X$p"; then
6261 enable_fast_install
=yes
6268 enable_fast_install
=yes
6272 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6273 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6274 if test "${lt_cv_path_SED+set}" = set; then
6275 $as_echo_n "(cached) " >&6
6277 # Loop through the user's path and test for sed and gsed.
6278 # Then use that list of sed's as ones to test for truncation.
6279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6283 test -z "$as_dir" && as_dir
=.
6284 for lt_ac_prog
in sed gsed
; do
6285 for ac_exec_ext
in '' $ac_executable_extensions; do
6286 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6287 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6295 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6296 # along with /bin/sed that truncates output.
6297 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
6298 test ! -f $lt_ac_sed && continue
6299 cat /dev
/null
> conftest.
in
6301 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
6302 # Check for GNU sed and select it if it is found.
6303 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
6304 lt_cv_path_SED
=$lt_ac_sed
6308 cat conftest.
in conftest.
in >conftest.tmp
6309 mv conftest.tmp conftest.
in
6310 cp conftest.
in conftest.
nl
6312 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
6313 cmp -s conftest.out conftest.
nl ||
break
6314 # 10000 chars as input seems more than enough
6315 test $lt_ac_count -gt 10 && break
6316 lt_ac_count
=`expr $lt_ac_count + 1`
6317 if test $lt_ac_count -gt $lt_ac_max; then
6318 lt_ac_max
=$lt_ac_count
6319 lt_cv_path_SED
=$lt_ac_sed
6328 { $as_echo "$as_me:$LINENO: result: $SED" >&5
6329 $as_echo "$SED" >&6; }
6331 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6332 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6333 if test "${ac_cv_path_GREP+set}" = set; then
6334 $as_echo_n "(cached) " >&6
6336 if test -z "$GREP"; then
6337 ac_path_GREP_found
=false
6338 # Loop through the user's path and test for each of PROGNAME-LIST
6339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6340 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6343 test -z "$as_dir" && as_dir
=.
6344 for ac_prog
in grep ggrep
; do
6345 for ac_exec_ext
in '' $ac_executable_extensions; do
6346 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6347 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6348 # Check for GNU ac_path_GREP and select it if it is found.
6349 # Check for GNU $ac_path_GREP
6350 case `"$ac_path_GREP" --version 2>&1` in
6352 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6355 $as_echo_n 0123456789 >"conftest.in"
6358 cat "conftest.in" "conftest.in" >"conftest.tmp"
6359 mv "conftest.tmp" "conftest.in"
6360 cp "conftest.in" "conftest.nl"
6361 $as_echo 'GREP' >> "conftest.nl"
6362 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6363 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6364 ac_count
=`expr $ac_count + 1`
6365 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6366 # Best one so far, save it but keep looking for a better one
6367 ac_cv_path_GREP
="$ac_path_GREP"
6368 ac_path_GREP_max
=$ac_count
6370 # 10*(2^10) chars as input seems more than enough
6371 test $ac_count -gt 10 && break
6373 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6376 $ac_path_GREP_found && break 3
6381 if test -z "$ac_cv_path_GREP"; then
6382 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6383 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6384 { (exit 1); exit 1; }; }
6387 ac_cv_path_GREP
=$GREP
6391 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6392 $as_echo "$ac_cv_path_GREP" >&6; }
6393 GREP
="$ac_cv_path_GREP"
6396 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
6397 $as_echo_n "checking for egrep... " >&6; }
6398 if test "${ac_cv_path_EGREP+set}" = set; then
6399 $as_echo_n "(cached) " >&6
6401 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6402 then ac_cv_path_EGREP
="$GREP -E"
6404 if test -z "$EGREP"; then
6405 ac_path_EGREP_found
=false
6406 # Loop through the user's path and test for each of PROGNAME-LIST
6407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6408 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6411 test -z "$as_dir" && as_dir
=.
6412 for ac_prog
in egrep; do
6413 for ac_exec_ext
in '' $ac_executable_extensions; do
6414 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6415 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6416 # Check for GNU ac_path_EGREP and select it if it is found.
6417 # Check for GNU $ac_path_EGREP
6418 case `"$ac_path_EGREP" --version 2>&1` in
6420 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6423 $as_echo_n 0123456789 >"conftest.in"
6426 cat "conftest.in" "conftest.in" >"conftest.tmp"
6427 mv "conftest.tmp" "conftest.in"
6428 cp "conftest.in" "conftest.nl"
6429 $as_echo 'EGREP' >> "conftest.nl"
6430 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6431 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6432 ac_count
=`expr $ac_count + 1`
6433 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6434 # Best one so far, save it but keep looking for a better one
6435 ac_cv_path_EGREP
="$ac_path_EGREP"
6436 ac_path_EGREP_max
=$ac_count
6438 # 10*(2^10) chars as input seems more than enough
6439 test $ac_count -gt 10 && break
6441 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6444 $ac_path_EGREP_found && break 3
6449 if test -z "$ac_cv_path_EGREP"; then
6450 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6451 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6452 { (exit 1); exit 1; }; }
6455 ac_cv_path_EGREP
=$EGREP
6460 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6461 $as_echo "$ac_cv_path_EGREP" >&6; }
6462 EGREP
="$ac_cv_path_EGREP"
6466 # Check whether --with-gnu-ld was given.
6467 if test "${with_gnu_ld+set}" = set; then
6468 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6474 if test "$GCC" = yes; then
6475 # Check if gcc -print-prog-name=ld gives a path.
6476 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6477 $as_echo_n "checking for ld used by $CC... " >&6; }
6480 # gcc leaves a trailing carriage return which upsets mingw
6481 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6483 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6486 # Accept absolute paths.
6488 re_direlt
='/[^/][^/]*/\.\./'
6489 # Canonicalize the pathname of ld
6490 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6491 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6492 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6494 test -z "$LD" && LD
="$ac_prog"
6497 # If it fails, then pretend we aren't using GCC.
6501 # If it is relative, then search for the first ld in PATH.
6505 elif test "$with_gnu_ld" = yes; then
6506 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
6507 $as_echo_n "checking for GNU ld... " >&6; }
6509 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6510 $as_echo_n "checking for non-GNU ld... " >&6; }
6512 if test "${lt_cv_path_LD+set}" = set; then
6513 $as_echo_n "(cached) " >&6
6515 if test -z "$LD"; then
6516 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6517 for ac_dir
in $PATH; do
6519 test -z "$ac_dir" && ac_dir
=.
6520 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6521 lt_cv_path_LD
="$ac_dir/$ac_prog"
6522 # Check to see if the program is GNU ld. I'd rather use --version,
6523 # but apparently some variants of GNU ld only accept -v.
6524 # Break only if it was the GNU/non-GNU ld that we prefer.
6525 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6526 *GNU
* |
*'with BFD'*)
6527 test "$with_gnu_ld" != no
&& break
6530 test "$with_gnu_ld" != yes && break
6537 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6542 if test -n "$LD"; then
6543 { $as_echo "$as_me:$LINENO: result: $LD" >&5
6544 $as_echo "$LD" >&6; }
6546 { $as_echo "$as_me:$LINENO: result: no" >&5
6547 $as_echo "no" >&6; }
6549 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6550 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6551 { (exit 1); exit 1; }; }
6552 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6553 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6554 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6555 $as_echo_n "(cached) " >&6
6557 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6558 case `$LD -v 2>&1 </dev/null` in
6559 *GNU
* |
*'with BFD'*)
6560 lt_cv_prog_gnu_ld
=yes
6563 lt_cv_prog_gnu_ld
=no
6567 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6568 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6569 with_gnu_ld
=$lt_cv_prog_gnu_ld
6572 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6573 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6574 if test "${lt_cv_ld_reload_flag+set}" = set; then
6575 $as_echo_n "(cached) " >&6
6577 lt_cv_ld_reload_flag
='-r'
6579 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6580 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6581 reload_flag
=$lt_cv_ld_reload_flag
6582 case $reload_flag in
6584 *) reload_flag
=" $reload_flag" ;;
6586 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6589 if test "$GCC" = yes; then
6590 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6592 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6597 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6598 $as_echo_n "checking for BSD-compatible nm... " >&6; }
6599 if test "${lt_cv_path_NM+set}" = set; then
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$NM"; then
6603 # Let the user override the test.
6606 lt_nm_to_check
="${ac_tool_prefix}nm"
6607 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6608 lt_nm_to_check
="$lt_nm_to_check nm"
6610 for lt_tmp_nm
in $lt_nm_to_check; do
6611 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6612 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6614 test -z "$ac_dir" && ac_dir
=.
6615 tmp_nm
="$ac_dir/$lt_tmp_nm"
6616 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6617 # Check to see if the nm accepts a BSD-compat flag.
6618 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6619 # nm: unknown option "B" ignored
6620 # Tru64's nm complains that /dev/null is an invalid object file
6621 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6622 */dev
/null
* |
*'Invalid file or object type'*)
6623 lt_cv_path_NM
="$tmp_nm -B"
6627 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6629 lt_cv_path_NM
="$tmp_nm -p"
6633 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6634 continue # so that we can try to find one that supports BSD flags
6643 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6646 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6647 $as_echo "$lt_cv_path_NM" >&6; }
6650 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6651 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6652 if test "${lt_cv_deplibs_check_method+set}" = set; then
6653 $as_echo_n "(cached) " >&6
6655 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6656 lt_cv_file_magic_test_file
=
6657 lt_cv_deplibs_check_method
='unknown'
6658 # Need to set the preceding variable on all platforms that support
6659 # interlibrary dependencies.
6660 # 'none' -- dependencies not supported.
6661 # `unknown' -- same as none, but documents that we really don't know.
6662 # 'pass_all' -- all dependencies passed with no checks.
6663 # 'test_compile' -- check by making test program.
6664 # 'file_magic [[regex]]' -- check by looking for files in library path
6665 # which responds to the $file_magic_cmd with a given extended regex.
6666 # If you have `file' or equivalent on your system and you're not sure
6667 # whether `pass_all' will *always* work, you probably want this one.
6671 lt_cv_deplibs_check_method
=pass_all
6675 lt_cv_deplibs_check_method
=pass_all
6679 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6680 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6681 lt_cv_file_magic_test_file
=/shlib
/libc.so
6685 # func_win32_libid is a shell function defined in ltmain.sh
6686 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6687 lt_cv_file_magic_cmd
='func_win32_libid'
6691 # Base MSYS/MinGW do not provide the 'file' command needed by
6692 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6693 # unless we find 'file', for example because we are cross-compiling.
6694 if ( file / ) >/dev
/null
2>&1; then
6695 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6696 lt_cv_file_magic_cmd
='func_win32_libid'
6698 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6699 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6703 darwin
* | rhapsody
*)
6704 lt_cv_deplibs_check_method
=pass_all
6707 freebsd
* | dragonfly
*)
6708 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6711 # Not sure whether the presence of OpenBSD here was a mistake.
6712 # Let's accept both of them until this is cleared up.
6713 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6714 lt_cv_file_magic_cmd
=/usr
/bin
/file
6715 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6719 lt_cv_deplibs_check_method
=pass_all
6724 lt_cv_deplibs_check_method
=pass_all
6727 hpux10.20
* | hpux11
*)
6728 lt_cv_file_magic_cmd
=/usr
/bin
/file
6731 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6732 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6735 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]'
6736 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6739 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6740 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6746 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6747 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6750 irix5
* | irix6
* | nonstopux
*)
6752 *-32|
*"-32 ") libmagic
=32-bit;;
6753 *-n32|
*"-n32 ") libmagic
=N32
;;
6754 *-64|
*"-64 ") libmagic
=64-bit;;
6755 *) libmagic
=never-match
;;
6757 lt_cv_deplibs_check_method
=pass_all
6760 # This must be Linux ELF.
6761 linux
* | k
*bsd
*-gnu)
6762 lt_cv_deplibs_check_method
=pass_all
6766 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6767 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6769 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6774 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6775 lt_cv_file_magic_cmd
=/usr
/bin
/file
6776 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6780 lt_cv_deplibs_check_method
=unknown
6784 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6785 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6787 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6791 osf3
* | osf4
* | osf5
*)
6792 lt_cv_deplibs_check_method
=pass_all
6796 lt_cv_deplibs_check_method
=pass_all
6800 lt_cv_deplibs_check_method
=pass_all
6804 case $host_vendor in
6806 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]'
6807 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6810 lt_cv_deplibs_check_method
=pass_all
6813 lt_cv_file_magic_cmd
='/bin/file'
6814 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6817 lt_cv_file_magic_cmd
='/bin/file'
6818 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6819 lt_cv_file_magic_test_file
=/lib
/libc.so
6822 lt_cv_deplibs_check_method
=pass_all
6825 lt_cv_deplibs_check_method
=pass_all
6830 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6831 lt_cv_deplibs_check_method
=pass_all
6836 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6837 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6838 file_magic_cmd
=$lt_cv_file_magic_cmd
6839 deplibs_check_method
=$lt_cv_deplibs_check_method
6840 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6845 # If no C compiler was specified, use CC.
6848 # If no C compiler flags were specified, use CFLAGS.
6849 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6851 # Allow CC to be a program name with arguments.
6854 # Check whether --enable-libtool-lock was given.
6855 if test "${enable_libtool_lock+set}" = set; then
6856 enableval
=$enable_libtool_lock;
6859 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6861 # Some flags need to be propagated to the compiler or linker for good
6865 # Find out which ABI we are using.
6866 echo 'int i;' > conftest.
$ac_ext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6868 (eval $ac_compile) 2>&5
6870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; then
6872 case `/usr/bin/file conftest.$ac_objext` in
6884 # Find out which ABI we are using.
6885 echo '#line 6885 "configure"' > conftest.
$ac_ext
6886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>&5
6889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; then
6891 if test "$lt_cv_prog_gnu_ld" = yes; then
6892 case `/usr/bin/file conftest.$ac_objext` in
6894 LD
="${LD-ld} -melf32bsmip"
6897 LD
="${LD-ld} -melf32bmipn32"
6900 LD
="${LD-ld} -melf64bmip"
6904 case `/usr/bin/file conftest.$ac_objext` in
6920 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6921 s390
*-*linux
*|sparc
*-*linux
*)
6922 # Find out which ABI we are using.
6923 echo 'int i;' > conftest.
$ac_ext
6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6925 (eval $ac_compile) 2>&5
6927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); }; then
6929 case `/usr/bin/file conftest.o` in
6932 x86_64-
*kfreebsd
*-gnu)
6933 LD
="${LD-ld} -m elf_i386_fbsd"
6936 LD
="${LD-ld} -m elf_i386"
6938 ppc64-
*linux
*|powerpc64-
*linux
*)
6939 LD
="${LD-ld} -m elf32ppclinux"
6942 LD
="${LD-ld} -m elf_s390"
6945 LD
="${LD-ld} -m elf32_sparc"
6952 x86_64-
*kfreebsd
*-gnu)
6953 LD
="${LD-ld} -m elf_x86_64_fbsd"
6956 LD
="${LD-ld} -m elf_x86_64"
6958 ppc
*-*linux
*|powerpc
*-*linux
*)
6959 LD
="${LD-ld} -m elf64ppc"
6962 LD
="${LD-ld} -m elf64_s390"
6965 LD
="${LD-ld} -m elf64_sparc"
6975 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6976 SAVE_CFLAGS
="$CFLAGS"
6977 CFLAGS
="$CFLAGS -belf"
6978 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6979 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6980 if test "${lt_cv_cc_needs_belf+set}" = set; then
6981 $as_echo_n "(cached) " >&6
6984 ac_cpp
='$CPP $CPPFLAGS'
6985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6989 cat >conftest.
$ac_ext <<_ACEOF
6992 cat confdefs.h
>>conftest.
$ac_ext
6993 cat >>conftest.
$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
7004 rm -f conftest.
$ac_objext conftest
$ac_exeext
7005 if { (ac_try
="$ac_link"
7007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7008 *) ac_try_echo=$ac_try;;
7010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7011 $as_echo "$ac_try_echo") >&5
7012 (eval "$ac_link") 2>conftest.er1
7014 grep -v '^ *+' conftest.er1 >conftest.err
7016 cat conftest.err >&5
7017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); } && {
7019 test -z "$ac_c_werror_flag" ||
7020 test ! -s conftest.err
7021 } && test -s conftest$ac_exeext && {
7022 test "$cross_compiling" = yes ||
7023 $as_test_x conftest$ac_exeext
7025 lt_cv_cc_needs_belf=yes
7027 $as_echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.$ac_ext >&5
7030 lt_cv_cc_needs_belf=no
7033 rm -rf conftest.dSYM
7034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7035 conftest$ac_exeext conftest.$ac_ext
7037 ac_cpp='$CPP $CPPFLAGS'
7038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7043 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7044 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7045 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7046 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7047 CFLAGS="$SAVE_CFLAGS"
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7054 (eval $ac_compile) 2>&5
7056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; then
7058 case `/usr
/bin
/file conftest.o
` in
7060 case $lt_cv_prog_gnu_ld in
7061 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7063 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7077 need_locks="$enable_libtool_lock"
7081 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7082 $as_echo_n "checking for ANSI C header files... " >&6; }
7083 if test "${ac_cv_header_stdc+set}" = set; then
7084 $as_echo_n "(cached) " >&6
7086 cat >conftest.$ac_ext <<_ACEOF
7089 cat confdefs.h >>conftest.$ac_ext
7090 cat >>conftest.$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7105 rm -f conftest.$ac_objext
7106 if { (ac_try="$ac_compile"
7108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7109 *) ac_try_echo
=$ac_try;;
7111 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7112 $as_echo "$ac_try_echo") >&5
7113 (eval "$ac_compile") 2>conftest.er1
7115 grep -v '^ *+' conftest.er1
>conftest.err
7117 cat conftest.err
>&5
7118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); } && {
7120 test -z "$ac_c_werror_flag" ||
7121 test ! -s conftest.err
7122 } && test -s conftest.
$ac_objext; then
7123 ac_cv_header_stdc
=yes
7125 $as_echo "$as_me: failed program was:" >&5
7126 sed 's/^/| /' conftest.
$ac_ext >&5
7128 ac_cv_header_stdc
=no
7131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7133 if test $ac_cv_header_stdc = yes; then
7134 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7135 cat >conftest.
$ac_ext <<_ACEOF
7138 cat confdefs.h
>>conftest.
$ac_ext
7139 cat >>conftest.
$ac_ext <<_ACEOF
7140 /* end confdefs.h. */
7144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7145 $EGREP "memchr" >/dev
/null
2>&1; then
7148 ac_cv_header_stdc
=no
7154 if test $ac_cv_header_stdc = yes; then
7155 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7156 cat >conftest.
$ac_ext <<_ACEOF
7159 cat confdefs.h
>>conftest.
$ac_ext
7160 cat >>conftest.
$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7166 $EGREP "free" >/dev
/null
2>&1; then
7169 ac_cv_header_stdc
=no
7175 if test $ac_cv_header_stdc = yes; then
7176 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7177 if test "$cross_compiling" = yes; then
7180 cat >conftest.
$ac_ext <<_ACEOF
7183 cat confdefs.h
>>conftest.
$ac_ext
7184 cat >>conftest.
$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7188 #if ((' ' & 0x0FF) == 0x020)
7189 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7190 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7192 # define ISLOWER(c) \
7193 (('a' <= (c) && (c) <= 'i') \
7194 || ('j' <= (c) && (c) <= 'r') \
7195 || ('s' <= (c) && (c) <= 'z'))
7196 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7204 for (i = 0; i < 256; i++)
7205 if (XOR (islower (i), ISLOWER (i))
7206 || toupper (i) != TOUPPER (i))
7211 rm -f conftest
$ac_exeext
7212 if { (ac_try
="$ac_link"
7214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7215 *) ac_try_echo=$ac_try;;
7217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7218 $as_echo "$ac_try_echo") >&5
7219 (eval "$ac_link") 2>&5
7221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7223 { (case "(($ac_try" in
7224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7225 *) ac_try_echo
=$ac_try;;
7227 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7228 $as_echo "$ac_try_echo") >&5
7229 (eval "$ac_try") 2>&5
7231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7235 $as_echo "$as_me: program exited with status $ac_status" >&5
7236 $as_echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.
$ac_ext >&5
7240 ac_cv_header_stdc
=no
7242 rm -rf conftest.dSYM
7243 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7249 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7250 $as_echo "$ac_cv_header_stdc" >&6; }
7251 if test $ac_cv_header_stdc = yes; then
7253 cat >>confdefs.h
<<\_ACEOF
7254 #define STDC_HEADERS 1
7259 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7269 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7270 inttypes.h stdint.h unistd.h
7272 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7273 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7274 $as_echo_n "checking for $ac_header... " >&6; }
7275 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7276 $as_echo_n "(cached) " >&6
7278 cat >conftest.
$ac_ext <<_ACEOF
7281 cat confdefs.h
>>conftest.
$ac_ext
7282 cat >>conftest.
$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 $ac_includes_default
7286 #include <$ac_header>
7288 rm -f conftest.
$ac_objext
7289 if { (ac_try
="$ac_compile"
7291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7292 *) ac_try_echo=$ac_try;;
7294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7295 $as_echo "$ac_try_echo") >&5
7296 (eval "$ac_compile") 2>conftest.er1
7298 grep -v '^ *+' conftest.er1 >conftest.err
7300 cat conftest.err >&5
7301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } && {
7303 test -z "$ac_c_werror_flag" ||
7304 test ! -s conftest.err
7305 } && test -s conftest.$ac_objext; then
7306 eval "$as_ac_Header=yes"
7308 $as_echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7311 eval "$as_ac_Header=no"
7314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7316 ac_res=`eval 'as_val=${'$as_ac_Header'}
7317 $as_echo "$as_val"'`
7318 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7319 $as_echo "$ac_res" >&6; }
7320 as_val=`eval 'as_val=${'$as_ac_Header'}
7321 $as_echo "$as_val"'`
7322 if test "x$as_val" = x""yes; then
7323 cat >>confdefs.h <<_ACEOF
7324 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7333 for ac_header in dlfcn.h
7335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7337 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7338 $as_echo_n "checking for $ac_header... " >&6; }
7339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7340 $as_echo_n "(cached) " >&6
7342 ac_res=`eval 'as_val=${'$as_ac_Header'}
7343 $as_echo "$as_val"'`
7344 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7345 $as_echo "$ac_res" >&6; }
7347 # Is the header compilable?
7348 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7349 $as_echo_n "checking $ac_header usability... " >&6; }
7350 cat >conftest.$ac_ext <<_ACEOF
7353 cat confdefs.h >>conftest.$ac_ext
7354 cat >>conftest.$ac_ext <<_ACEOF
7355 /* end confdefs.h. */
7356 $ac_includes_default
7357 #include <$ac_header>
7359 rm -f conftest.$ac_objext
7360 if { (ac_try="$ac_compile"
7362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7363 *) ac_try_echo
=$ac_try;;
7365 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7366 $as_echo "$ac_try_echo") >&5
7367 (eval "$ac_compile") 2>conftest.er1
7369 grep -v '^ *+' conftest.er1
>conftest.err
7371 cat conftest.err
>&5
7372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373 (exit $ac_status); } && {
7374 test -z "$ac_c_werror_flag" ||
7375 test ! -s conftest.err
7376 } && test -s conftest.
$ac_objext; then
7377 ac_header_compiler
=yes
7379 $as_echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.
$ac_ext >&5
7382 ac_header_compiler
=no
7385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7386 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7387 $as_echo "$ac_header_compiler" >&6; }
7389 # Is the header present?
7390 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7391 $as_echo_n "checking $ac_header presence... " >&6; }
7392 cat >conftest.
$ac_ext <<_ACEOF
7395 cat confdefs.h
>>conftest.
$ac_ext
7396 cat >>conftest.
$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7398 #include <$ac_header>
7400 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7406 $as_echo "$ac_try_echo") >&5
7407 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7409 grep -v '^ *+' conftest.er1 >conftest.err
7411 cat conftest.err >&5
7412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } >/dev/null && {
7414 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7415 test ! -s conftest.err
7417 ac_header_preproc=yes
7419 $as_echo "$as_me: failed program was:" >&5
7420 sed 's/^/| /' conftest.$ac_ext >&5
7422 ac_header_preproc=no
7425 rm -f conftest.err conftest.$ac_ext
7426 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7427 $as_echo "$ac_header_preproc" >&6; }
7429 # So? What about this header?
7430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7432 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7433 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7434 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7435 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7436 ac_header_preproc=yes
7439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7440 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7442 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7444 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7446 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7448 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7450 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7452 ## ---------------------------------------- ##
7453 ## Report this to linux-nfs@vger.kernel.org ##
7454 ## ---------------------------------------- ##
7456 ) | sed "s/^/$as_me: WARNING: /" >&2
7459 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7460 $as_echo_n "checking for $ac_header... " >&6; }
7461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7462 $as_echo_n "(cached) " >&6
7464 eval "$as_ac_Header=\$ac_header_preproc"
7466 ac_res=`eval 'as_val=${'$as_ac_Header'}
7467 $as_echo "$as_val"'`
7468 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7469 $as_echo "$ac_res" >&6; }
7472 as_val=`eval 'as_val=${'$as_ac_Header'}
7473 $as_echo "$as_val"'`
7474 if test "x$as_val" = x""yes; then
7475 cat >>confdefs.h <<_ACEOF
7476 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7485 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7486 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
7487 (test "X$CXX" != "Xg++"))) ; then
7489 ac_cpp='$CXXCPP $CPPFLAGS'
7490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7493 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7494 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7495 if test -z "$CXXCPP"; then
7496 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7497 $as_echo_n "(cached) " >&6
7499 # Double quotes because CXXCPP needs to be expanded
7500 for CXXCPP in "$CXX -E" "/lib/cpp"
7503 for ac_cxx_preproc_warn_flag in '' yes
7505 # Use a header file that comes with gcc, so configuring glibc
7506 # with a fresh cross-compiler works.
7507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7508 # <limits.h> exists even on freestanding compilers.
7509 # On the NeXT, cc -E runs the code through the compiler's parser,
7510 # not just through cpp. "Syntax error" is here to catch this case.
7511 cat >conftest.$ac_ext <<_ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7518 # include <limits.h>
7520 # include <assert.h>
7524 if { (ac_try="$ac_cpp conftest.$ac_ext"
7526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7527 *) ac_try_echo
=$ac_try;;
7529 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7530 $as_echo "$ac_try_echo") >&5
7531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7533 grep -v '^ *+' conftest.er1
>conftest.err
7535 cat conftest.err
>&5
7536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } >/dev
/null
&& {
7538 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7539 test ! -s conftest.err
7543 $as_echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.
$ac_ext >&5
7546 # Broken: fails on valid input.
7550 rm -f conftest.err conftest.
$ac_ext
7552 # OK, works on sane cases. Now check whether nonexistent headers
7553 # can be detected and how.
7554 cat >conftest.
$ac_ext <<_ACEOF
7557 cat confdefs.h
>>conftest.
$ac_ext
7558 cat >>conftest.
$ac_ext <<_ACEOF
7559 /* end confdefs.h. */
7560 #include <ac_nonexistent.h>
7562 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7565 *) ac_try_echo=$ac_try;;
7567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7568 $as_echo "$ac_try_echo") >&5
7569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7571 grep -v '^ *+' conftest.er1 >conftest.err
7573 cat conftest.err >&5
7574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } >/dev/null && {
7576 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7577 test ! -s conftest.err
7579 # Broken: success on invalid input.
7582 $as_echo "$as_me: failed program was:" >&5
7583 sed 's/^/| /' conftest.$ac_ext >&5
7585 # Passes both tests.
7590 rm -f conftest.err conftest.$ac_ext
7593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7594 rm -f conftest.err conftest.
$ac_ext
7595 if $ac_preproc_ok; then
7600 ac_cv_prog_CXXCPP
=$CXXCPP
7603 CXXCPP
=$ac_cv_prog_CXXCPP
7605 ac_cv_prog_CXXCPP
=$CXXCPP
7607 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7608 $as_echo "$CXXCPP" >&6; }
7610 for ac_cxx_preproc_warn_flag
in '' yes
7612 # Use a header file that comes with gcc, so configuring glibc
7613 # with a fresh cross-compiler works.
7614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7615 # <limits.h> exists even on freestanding compilers.
7616 # On the NeXT, cc -E runs the code through the compiler's parser,
7617 # not just through cpp. "Syntax error" is here to catch this case.
7618 cat >conftest.
$ac_ext <<_ACEOF
7621 cat confdefs.h
>>conftest.
$ac_ext
7622 cat >>conftest.
$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7625 # include <limits.h>
7627 # include <assert.h>
7631 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7637 $as_echo "$ac_try_echo") >&5
7638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7640 grep -v '^ *+' conftest.er1 >conftest.err
7642 cat conftest.err >&5
7643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); } >/dev/null && {
7645 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7646 test ! -s conftest.err
7650 $as_echo "$as_me: failed program was:" >&5
7651 sed 's/^/| /' conftest.$ac_ext >&5
7653 # Broken: fails on valid input.
7657 rm -f conftest.err conftest.$ac_ext
7659 # OK, works on sane cases. Now check whether nonexistent headers
7660 # can be detected and how.
7661 cat >conftest.$ac_ext <<_ACEOF
7664 cat confdefs.h >>conftest.$ac_ext
7665 cat >>conftest.$ac_ext <<_ACEOF
7666 /* end confdefs.h. */
7667 #include <ac_nonexistent.h>
7669 if { (ac_try="$ac_cpp conftest.$ac_ext"
7671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7672 *) ac_try_echo
=$ac_try;;
7674 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7675 $as_echo "$ac_try_echo") >&5
7676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7678 grep -v '^ *+' conftest.er1
>conftest.err
7680 cat conftest.err
>&5
7681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } >/dev
/null
&& {
7683 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7684 test ! -s conftest.err
7686 # Broken: success on invalid input.
7689 $as_echo "$as_me: failed program was:" >&5
7690 sed 's/^/| /' conftest.
$ac_ext >&5
7692 # Passes both tests.
7697 rm -f conftest.err conftest.
$ac_ext
7700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7701 rm -f conftest.err conftest.
$ac_ext
7702 if $ac_preproc_ok; then
7705 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7707 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7708 See \`config.log' for more details." >&5
7709 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7710 See \`config.log' for more details." >&2;}
7711 { (exit 1); exit 1; }; }; }
7715 ac_cpp
='$CXXCPP $CPPFLAGS'
7716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7724 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7725 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7726 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7727 if test -n "$ac_tool_prefix"; then
7728 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7731 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7732 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7733 $as_echo_n "checking for $ac_word... " >&6; }
7734 if test "${ac_cv_prog_F77+set}" = set; then
7735 $as_echo_n "(cached) " >&6
7737 if test -n "$F77"; then
7738 ac_cv_prog_F77
="$F77" # Let the user override the test.
7740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir
=.
7745 for ac_exec_ext
in '' $ac_executable_extensions; do
7746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7747 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7748 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7758 if test -n "$F77"; then
7759 { $as_echo "$as_me:$LINENO: result: $F77" >&5
7760 $as_echo "$F77" >&6; }
7762 { $as_echo "$as_me:$LINENO: result: no" >&5
7763 $as_echo "no" >&6; }
7767 test -n "$F77" && break
7770 if test -z "$F77"; then
7772 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7774 # Extract the first word of "$ac_prog", so it can be a program name with args.
7775 set dummy
$ac_prog; ac_word
=$2
7776 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7777 $as_echo_n "checking for $ac_word... " >&6; }
7778 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7779 $as_echo_n "(cached) " >&6
7781 if test -n "$ac_ct_F77"; then
7782 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir
=.
7789 for ac_exec_ext
in '' $ac_executable_extensions; do
7790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7791 ac_cv_prog_ac_ct_F77
="$ac_prog"
7792 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7802 if test -n "$ac_ct_F77"; then
7803 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7804 $as_echo "$ac_ct_F77" >&6; }
7806 { $as_echo "$as_me:$LINENO: result: no" >&5
7807 $as_echo "no" >&6; }
7811 test -n "$ac_ct_F77" && break
7814 if test "x$ac_ct_F77" = x
; then
7817 case $cross_compiling:$ac_tool_warned in
7819 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7821 ac_tool_warned
=yes ;;
7828 # Provide some information about the compiler.
7829 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7832 { (ac_try
="$ac_compiler --version >&5"
7834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7835 *) ac_try_echo=$ac_try;;
7837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7838 $as_echo "$ac_try_echo") >&5
7839 (eval "$ac_compiler --version >&5") 2>&5
7841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }
7843 { (ac_try="$ac_compiler -v >&5"
7845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7846 *) ac_try_echo
=$ac_try;;
7848 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7849 $as_echo "$ac_try_echo") >&5
7850 (eval "$ac_compiler -v >&5") 2>&5
7852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); }
7854 { (ac_try
="$ac_compiler -V >&5"
7856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7857 *) ac_try_echo=$ac_try;;
7859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7860 $as_echo "$ac_try_echo") >&5
7861 (eval "$ac_compiler -V >&5") 2>&5
7863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); }
7867 # If we don't use `.F
' as extension, the preprocessor is not run on the
7868 # input file. (Note that this only needs to work for GNU compilers.)
7871 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7872 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
7873 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7874 $as_echo_n "(cached) " >&6
7876 cat >conftest.$ac_ext <<_ACEOF
7884 rm -f conftest.$ac_objext
7885 if { (ac_try="$ac_compile"
7887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7888 *) ac_try_echo=$ac_try;;
7890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7891 $as_echo "$ac_try_echo") >&5
7892 (eval "$ac_compile") 2>conftest.er1
7894 grep -v '^
*+' conftest.er1 >conftest.err
7896 cat conftest.err >&5
7897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); } && {
7899 test -z "$ac_f77_werror_flag" ||
7900 test ! -s conftest.err
7901 } && test -s conftest.$ac_objext; then
7904 $as_echo "$as_me: failed program was:" >&5
7905 sed 's
/^
/|
/' conftest.$ac_ext >&5
7910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7911 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7914 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7915 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
7917 ac_test_FFLAGS=${FFLAGS+set}
7918 ac_save_FFLAGS=$FFLAGS
7920 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7921 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
7922 if test "${ac_cv_prog_f77_g+set}" = set; then
7923 $as_echo_n "(cached) " >&6
7926 cat >conftest.$ac_ext <<_ACEOF
7931 rm -f conftest.$ac_objext
7932 if { (ac_try="$ac_compile"
7934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7935 *) ac_try_echo=$ac_try;;
7937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7938 $as_echo "$ac_try_echo") >&5
7939 (eval "$ac_compile") 2>conftest.er1
7941 grep -v '^
*+' conftest.er1 >conftest.err
7943 cat conftest.err >&5
7944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); } && {
7946 test -z "$ac_f77_werror_flag" ||
7947 test ! -s conftest.err
7948 } && test -s conftest.$ac_objext; then
7949 ac_cv_prog_f77_g=yes
7951 $as_echo "$as_me: failed program was:" >&5
7952 sed 's
/^
/|
/' conftest.$ac_ext >&5
7957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7960 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7961 $as_echo "$ac_cv_prog_f77_g" >&6; }
7962 if test "$ac_test_FFLAGS" = set; then
7963 FFLAGS=$ac_save_FFLAGS
7964 elif test $ac_cv_prog_f77_g = yes; then
7965 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7971 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7978 if test $ac_compiler_gnu = yes; then
7984 ac_cpp='$CPP $CPPFLAGS'
7985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7986 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7991 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7992 # find the maximum length of command line arguments
7993 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7994 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7995 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7996 $as_echo_n "(cached) " >&6
8003 # On DJGPP, this test can blow up pretty badly due to problems in libc
8004 # (any single argument exceeding 2000 bytes causes a buffer overrun
8005 # during glob expansion). Even if it were fixed, the result of this
8006 # check would be larger than it should be.
8007 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8011 # Under GNU Hurd, this test is not required because there is
8012 # no limit to the length of command line arguments.
8013 # Libtool will interpret -1 as no limit whatsoever
8014 lt_cv_sys_max_cmd_len
=-1;
8018 # On Win9x/ME, this test blows up -- it succeeds, but takes
8019 # about 5 minutes as the teststring grows exponentially.
8020 # Worse, since 9x/ME are not pre-emptively multitasking,
8021 # you end up with a "frozen" computer, even though with patience
8022 # the test eventually succeeds (with a max line length of 256k).
8023 # Instead, let's just punt: use the minimum linelength reported by
8024 # all of the supported platforms: 8192 (on NT/2K/XP).
8025 lt_cv_sys_max_cmd_len
=8192;
8029 # On AmigaOS with pdksh, this test takes hours, literally.
8030 # So we just punt and use a minimum line length of 8192.
8031 lt_cv_sys_max_cmd_len
=8192;
8034 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8035 # This has been around since 386BSD, at least. Likely further.
8036 if test -x /sbin
/sysctl
; then
8037 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8038 elif test -x /usr
/sbin
/sysctl
; then
8039 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8041 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8043 # And add a safety zone
8044 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8045 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8049 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8050 lt_cv_sys_max_cmd_len
=196608
8054 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8055 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8056 # nice to cause kernel panics so lets avoid the loop below.
8057 # First set a reasonable default.
8058 lt_cv_sys_max_cmd_len
=16384
8060 if test -x /sbin
/sysconfig
; then
8061 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8062 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8067 lt_cv_sys_max_cmd_len
=102400
8069 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8070 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8071 if test -n "$kargmax"; then
8072 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8074 lt_cv_sys_max_cmd_len
=32768
8078 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
8079 if test -n "$lt_cv_sys_max_cmd_len"; then
8080 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8081 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8083 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8084 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8085 = "XX$teststring") >/dev
/null
2>&1 &&
8086 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
8087 lt_cv_sys_max_cmd_len
=$new_result &&
8088 test $i != 17 # 1/2 MB should be enough
8091 teststring
=$teststring$teststring
8094 # Add a significant safety factor because C++ compilers can tack on massive
8095 # amounts of additional arguments before passing them to the linker.
8096 # It appears as though 1/2 is a usable value.
8097 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8104 if test -n $lt_cv_sys_max_cmd_len ; then
8105 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8106 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8108 { $as_echo "$as_me:$LINENO: result: none" >&5
8109 $as_echo "none" >&6; }
8116 # Check for command to grab the raw symbol name followed by C symbol from nm.
8117 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8118 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8119 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8120 $as_echo_n "(cached) " >&6
8123 # These are sane defaults that work on at least a few old systems.
8124 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8126 # Character class describing NM global symbol codes.
8127 symcode
='[BCDEGRST]'
8129 # Regexp to match symbols that can be accessed directly from C.
8130 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8132 # Transform an extracted symbol line into a proper C declaration
8133 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8135 # Transform an extracted symbol line into symbol name and symbol address
8136 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8138 # Define system-specific variables.
8143 cygwin
* | mingw
* | pw32
*)
8144 symcode
='[ABCDGISTW]'
8146 hpux
*) # Its linker distinguishes data from code symbols
8147 if test "$host_cpu" = ia64
; then
8148 symcode
='[ABCDEGRST]'
8150 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8151 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8153 linux
* | k
*bsd
*-gnu)
8154 if test "$host_cpu" = ia64
; then
8155 symcode
='[ABCDGIRSTW]'
8156 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8157 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8161 symcode
='[BCDEGRST]'
8164 symcode
='[BCDEGQRST]'
8175 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8183 # Handle CRLF in mingw tool chain
8187 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8191 # If we're using GNU nm, then use its standard symbol codes.
8192 case `$NM -V 2>&1` in
8193 *GNU
* |
*'with BFD'*)
8194 symcode
='[ABCDGIRSTW]' ;;
8197 # Try without a prefix undercore, then with it.
8198 for ac_symprfx
in "" "_"; do
8200 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8201 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8203 # Write the raw and C identifiers.
8204 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8206 # Check to see that the pipe works correctly.
8210 cat > conftest.
$ac_ext <<EOF
8215 void nm_test_func(){}
8219 int main(){nm_test_var='a';nm_test_func();return(0);}
8222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8223 (eval $ac_compile) 2>&5
8225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; then
8227 # Now try to grab the symbols.
8229 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8230 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
8232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); } && test -s "$nlist"; then
8234 # Try sorting and uniquifying the output.
8235 if sort "$nlist" |
uniq > "$nlist"T
; then
8236 mv -f "$nlist"T
"$nlist"
8241 # Make sure that we snagged all the symbols we need.
8242 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
8243 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
8244 cat <<EOF > conftest.$ac_ext
8250 # Now generate the symbol file.
8251 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8253 cat <<EOF >> conftest.$ac_ext
8254 #if defined (__STDC__) && __STDC__
8255 # define lt_ptr_t void *
8257 # define lt_ptr_t char *
8261 /* The mapping between symbol names and symbols. */
8266 lt_preloaded_symbols[] =
8269 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
8270 cat <<\EOF
>> conftest.
$ac_ext
8278 # Now try linking the two files.
8279 mv conftest.
$ac_objext conftstm.
$ac_objext
8280 lt_save_LIBS
="$LIBS"
8281 lt_save_CFLAGS
="$CFLAGS"
8282 LIBS
="conftstm.$ac_objext"
8283 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8285 (eval $ac_link) 2>&5
8287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
8291 LIBS
="$lt_save_LIBS"
8292 CFLAGS
="$lt_save_CFLAGS"
8294 echo "cannot find nm_test_func in $nlist" >&5
8297 echo "cannot find nm_test_var in $nlist" >&5
8300 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8303 echo "$progname: failed program was:" >&5
8304 cat conftest.
$ac_ext >&5
8306 rm -rf conftest
* conftst
*
8308 # Do not use the global_symbol_pipe unless it works.
8309 if test "$pipe_works" = yes; then
8312 lt_cv_sys_global_symbol_pipe
=
8318 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8319 lt_cv_sys_global_symbol_to_cdecl
=
8321 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8322 { $as_echo "$as_me:$LINENO: result: failed" >&5
8323 $as_echo "failed" >&6; }
8325 { $as_echo "$as_me:$LINENO: result: ok" >&5
8326 $as_echo "ok" >&6; }
8329 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8330 $as_echo_n "checking for objdir... " >&6; }
8331 if test "${lt_cv_objdir+set}" = set; then
8332 $as_echo_n "(cached) " >&6
8334 rm -f .libs
2>/dev
/null
8335 mkdir .libs
2>/dev
/null
8336 if test -d .libs
; then
8339 # MS-DOS does not allow filenames that begin with a dot.
8342 rmdir .libs
2>/dev
/null
8344 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8345 $as_echo "$lt_cv_objdir" >&6; }
8346 objdir
=$lt_cv_objdir
8354 # AIX sometimes has problems with the GCC collect2 program. For some
8355 # reason, if we set the COLLECT_NAMES environment variable, the problems
8356 # vanish in a puff of smoke.
8357 if test "X${COLLECT_NAMES+set}" != Xset
; then
8359 export COLLECT_NAMES
8364 # Sed substitution that helps us do robust quoting. It backslashifies
8365 # metacharacters that are still active within double-quoted strings.
8366 Xsed
='sed -e 1s/^X//'
8367 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
8369 # Same as above, but do not quote variable references.
8370 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
8372 # Sed substitution to delay expansion of an escaped shell variable in a
8373 # double_quote_subst'ed string.
8374 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8376 # Sed substitution to avoid accidental globbing in evaled expressions
8377 no_glob_subst
='s/\*/\\\*/g'
8383 default_ofile
=libtool
8384 can_build_shared
=yes
8386 # All known linkers require a `.a' archive for static linking (except MSVC,
8387 # which needs '.lib').
8389 ltmain
="$ac_aux_dir/ltmain.sh"
8390 ofile
="$default_ofile"
8391 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8393 if test -n "$ac_tool_prefix"; then
8394 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8395 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8397 $as_echo_n "checking for $ac_word... " >&6; }
8398 if test "${ac_cv_prog_AR+set}" = set; then
8399 $as_echo_n "(cached) " >&6
8401 if test -n "$AR"; then
8402 ac_cv_prog_AR
="$AR" # Let the user override the test.
8404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8408 test -z "$as_dir" && as_dir
=.
8409 for ac_exec_ext
in '' $ac_executable_extensions; do
8410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8422 if test -n "$AR"; then
8423 { $as_echo "$as_me:$LINENO: result: $AR" >&5
8424 $as_echo "$AR" >&6; }
8426 { $as_echo "$as_me:$LINENO: result: no" >&5
8427 $as_echo "no" >&6; }
8432 if test -z "$ac_cv_prog_AR"; then
8434 # Extract the first word of "ar", so it can be a program name with args.
8435 set dummy
ar; ac_word
=$2
8436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8437 $as_echo_n "checking for $ac_word... " >&6; }
8438 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8439 $as_echo_n "(cached) " >&6
8441 if test -n "$ac_ct_AR"; then
8442 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8448 test -z "$as_dir" && as_dir
=.
8449 for ac_exec_ext
in '' $ac_executable_extensions; do
8450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8451 ac_cv_prog_ac_ct_AR
="ar"
8452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8461 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8462 if test -n "$ac_ct_AR"; then
8463 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8464 $as_echo "$ac_ct_AR" >&6; }
8466 { $as_echo "$as_me:$LINENO: result: no" >&5
8467 $as_echo "no" >&6; }
8470 if test "x$ac_ct_AR" = x
; then
8473 case $cross_compiling:$ac_tool_warned in
8475 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8477 ac_tool_warned
=yes ;;
8485 if test -n "$ac_tool_prefix"; then
8486 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8487 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8489 $as_echo_n "checking for $ac_word... " >&6; }
8490 if test "${ac_cv_prog_RANLIB+set}" = set; then
8491 $as_echo_n "(cached) " >&6
8493 if test -n "$RANLIB"; then
8494 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8500 test -z "$as_dir" && as_dir
=.
8501 for ac_exec_ext
in '' $ac_executable_extensions; do
8502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8503 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8513 RANLIB
=$ac_cv_prog_RANLIB
8514 if test -n "$RANLIB"; then
8515 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
8516 $as_echo "$RANLIB" >&6; }
8518 { $as_echo "$as_me:$LINENO: result: no" >&5
8519 $as_echo "no" >&6; }
8524 if test -z "$ac_cv_prog_RANLIB"; then
8525 ac_ct_RANLIB
=$RANLIB
8526 # Extract the first word of "ranlib", so it can be a program name with args.
8527 set dummy ranlib
; ac_word
=$2
8528 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8529 $as_echo_n "checking for $ac_word... " >&6; }
8530 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8531 $as_echo_n "(cached) " >&6
8533 if test -n "$ac_ct_RANLIB"; then
8534 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8540 test -z "$as_dir" && as_dir
=.
8541 for ac_exec_ext
in '' $ac_executable_extensions; do
8542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8543 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8553 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8554 if test -n "$ac_ct_RANLIB"; then
8555 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8556 $as_echo "$ac_ct_RANLIB" >&6; }
8558 { $as_echo "$as_me:$LINENO: result: no" >&5
8559 $as_echo "no" >&6; }
8562 if test "x$ac_ct_RANLIB" = x
; then
8565 case $cross_compiling:$ac_tool_warned in
8567 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8569 ac_tool_warned
=yes ;;
8571 RANLIB
=$ac_ct_RANLIB
8574 RANLIB
="$ac_cv_prog_RANLIB"
8577 if test -n "$ac_tool_prefix"; then
8578 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8579 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8581 $as_echo_n "checking for $ac_word... " >&6; }
8582 if test "${ac_cv_prog_STRIP+set}" = set; then
8583 $as_echo_n "(cached) " >&6
8585 if test -n "$STRIP"; then
8586 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8592 test -z "$as_dir" && as_dir
=.
8593 for ac_exec_ext
in '' $ac_executable_extensions; do
8594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8595 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8605 STRIP
=$ac_cv_prog_STRIP
8606 if test -n "$STRIP"; then
8607 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8608 $as_echo "$STRIP" >&6; }
8610 { $as_echo "$as_me:$LINENO: result: no" >&5
8611 $as_echo "no" >&6; }
8616 if test -z "$ac_cv_prog_STRIP"; then
8618 # Extract the first word of "strip", so it can be a program name with args.
8619 set dummy strip
; ac_word
=$2
8620 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8621 $as_echo_n "checking for $ac_word... " >&6; }
8622 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8623 $as_echo_n "(cached) " >&6
8625 if test -n "$ac_ct_STRIP"; then
8626 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8632 test -z "$as_dir" && as_dir
=.
8633 for ac_exec_ext
in '' $ac_executable_extensions; do
8634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8635 ac_cv_prog_ac_ct_STRIP
="strip"
8636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8645 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8646 if test -n "$ac_ct_STRIP"; then
8647 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8648 $as_echo "$ac_ct_STRIP" >&6; }
8650 { $as_echo "$as_me:$LINENO: result: no" >&5
8651 $as_echo "no" >&6; }
8654 if test "x$ac_ct_STRIP" = x
; then
8657 case $cross_compiling:$ac_tool_warned in
8659 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8661 ac_tool_warned
=yes ;;
8666 STRIP
="$ac_cv_prog_STRIP"
8671 old_CFLAGS
="$CFLAGS"
8673 # Set sane defaults for various variables
8674 test -z "$AR" && AR
=ar
8675 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8676 test -z "$AS" && AS
=as
8677 test -z "$CC" && CC
=cc
8678 test -z "$LTCC" && LTCC
=$CC
8679 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8680 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8681 test -z "$LD" && LD
=ld
8682 test -z "$LN_S" && LN_S
="ln -s"
8683 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8684 test -z "$NM" && NM
=nm
8685 test -z "$SED" && SED
=sed
8686 test -z "$OBJDUMP" && OBJDUMP
=objdump
8687 test -z "$RANLIB" && RANLIB
=:
8688 test -z "$STRIP" && STRIP
=:
8689 test -z "$ac_objext" && ac_objext
=o
8691 # Determine commands to create old-style static archives.
8692 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8693 old_postinstall_cmds
='chmod 644 $oldlib'
8694 old_postuninstall_cmds
=
8696 if test -n "$RANLIB"; then
8699 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8702 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8705 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8708 for cc_temp
in $compiler""; do
8710 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8711 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8716 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8719 # Only perform the check for file, if the check method requires it
8720 case $deplibs_check_method in
8722 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8723 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8724 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8725 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8726 $as_echo_n "(cached) " >&6
8730 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8733 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8734 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8735 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8736 for ac_dir
in $ac_dummy; do
8738 test -z "$ac_dir" && ac_dir
=.
8739 if test -f $ac_dir/${ac_tool_prefix}file; then
8740 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8741 if test -n "$file_magic_test_file"; then
8742 case $deplibs_check_method in
8744 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8745 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8746 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8747 $EGREP "$file_magic_regex" > /dev
/null
; then
8752 *** Warning: the command libtool uses to detect shared libraries,
8753 *** $file_magic_cmd, produces output that libtool cannot recognize.
8754 *** The result is that libtool may fail to recognize shared libraries
8755 *** as such. This will affect the creation of libtool libraries that
8756 *** depend on shared libraries, but programs linked with such libtool
8757 *** libraries will work regardless of this problem. Nevertheless, you
8758 *** may want to report the problem to your system manager and/or to
8759 *** bug-libtool@gnu.org
8769 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8774 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8775 if test -n "$MAGIC_CMD"; then
8776 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8777 $as_echo "$MAGIC_CMD" >&6; }
8779 { $as_echo "$as_me:$LINENO: result: no" >&5
8780 $as_echo "no" >&6; }
8783 if test -z "$lt_cv_path_MAGIC_CMD"; then
8784 if test -n "$ac_tool_prefix"; then
8785 { $as_echo "$as_me:$LINENO: checking for file" >&5
8786 $as_echo_n "checking for file... " >&6; }
8787 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8788 $as_echo_n "(cached) " >&6
8792 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8795 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8796 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8797 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8798 for ac_dir
in $ac_dummy; do
8800 test -z "$ac_dir" && ac_dir
=.
8801 if test -f $ac_dir/file; then
8802 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8803 if test -n "$file_magic_test_file"; then
8804 case $deplibs_check_method in
8806 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8807 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8808 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8809 $EGREP "$file_magic_regex" > /dev
/null
; then
8814 *** Warning: the command libtool uses to detect shared libraries,
8815 *** $file_magic_cmd, produces output that libtool cannot recognize.
8816 *** The result is that libtool may fail to recognize shared libraries
8817 *** as such. This will affect the creation of libtool libraries that
8818 *** depend on shared libraries, but programs linked with such libtool
8819 *** libraries will work regardless of this problem. Nevertheless, you
8820 *** may want to report the problem to your system manager and/or to
8821 *** bug-libtool@gnu.org
8831 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8836 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8837 if test -n "$MAGIC_CMD"; then
8838 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8839 $as_echo "$MAGIC_CMD" >&6; }
8841 { $as_echo "$as_me:$LINENO: result: no" >&5
8842 $as_echo "no" >&6; }
8856 rhapsody
* | darwin
*)
8857 if test -n "$ac_tool_prefix"; then
8858 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8859 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8861 $as_echo_n "checking for $ac_word... " >&6; }
8862 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8863 $as_echo_n "(cached) " >&6
8865 if test -n "$DSYMUTIL"; then
8866 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8872 test -z "$as_dir" && as_dir
=.
8873 for ac_exec_ext
in '' $ac_executable_extensions; do
8874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8875 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8876 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8885 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8886 if test -n "$DSYMUTIL"; then
8887 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8888 $as_echo "$DSYMUTIL" >&6; }
8890 { $as_echo "$as_me:$LINENO: result: no" >&5
8891 $as_echo "no" >&6; }
8896 if test -z "$ac_cv_prog_DSYMUTIL"; then
8897 ac_ct_DSYMUTIL
=$DSYMUTIL
8898 # Extract the first word of "dsymutil", so it can be a program name with args.
8899 set dummy dsymutil
; ac_word
=$2
8900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8901 $as_echo_n "checking for $ac_word... " >&6; }
8902 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8903 $as_echo_n "(cached) " >&6
8905 if test -n "$ac_ct_DSYMUTIL"; then
8906 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8912 test -z "$as_dir" && as_dir
=.
8913 for ac_exec_ext
in '' $ac_executable_extensions; do
8914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8915 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8916 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8925 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8926 if test -n "$ac_ct_DSYMUTIL"; then
8927 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8928 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8930 { $as_echo "$as_me:$LINENO: result: no" >&5
8931 $as_echo "no" >&6; }
8934 if test "x$ac_ct_DSYMUTIL" = x
; then
8937 case $cross_compiling:$ac_tool_warned in
8939 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8941 ac_tool_warned
=yes ;;
8943 DSYMUTIL
=$ac_ct_DSYMUTIL
8946 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8949 if test -n "$ac_tool_prefix"; then
8950 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8951 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8952 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8953 $as_echo_n "checking for $ac_word... " >&6; }
8954 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8955 $as_echo_n "(cached) " >&6
8957 if test -n "$NMEDIT"; then
8958 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8964 test -z "$as_dir" && as_dir
=.
8965 for ac_exec_ext
in '' $ac_executable_extensions; do
8966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8968 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8977 NMEDIT
=$ac_cv_prog_NMEDIT
8978 if test -n "$NMEDIT"; then
8979 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
8980 $as_echo "$NMEDIT" >&6; }
8982 { $as_echo "$as_me:$LINENO: result: no" >&5
8983 $as_echo "no" >&6; }
8988 if test -z "$ac_cv_prog_NMEDIT"; then
8989 ac_ct_NMEDIT
=$NMEDIT
8990 # Extract the first word of "nmedit", so it can be a program name with args.
8991 set dummy nmedit
; ac_word
=$2
8992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8993 $as_echo_n "checking for $ac_word... " >&6; }
8994 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8995 $as_echo_n "(cached) " >&6
8997 if test -n "$ac_ct_NMEDIT"; then
8998 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir
=.
9005 for ac_exec_ext
in '' $ac_executable_extensions; do
9006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9008 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9017 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9018 if test -n "$ac_ct_NMEDIT"; then
9019 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9020 $as_echo "$ac_ct_NMEDIT" >&6; }
9022 { $as_echo "$as_me:$LINENO: result: no" >&5
9023 $as_echo "no" >&6; }
9026 if test "x$ac_ct_NMEDIT" = x
; then
9029 case $cross_compiling:$ac_tool_warned in
9031 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9033 ac_tool_warned
=yes ;;
9035 NMEDIT
=$ac_ct_NMEDIT
9038 NMEDIT
="$ac_cv_prog_NMEDIT"
9042 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9043 $as_echo_n "checking for -single_module linker flag... " >&6; }
9044 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9045 $as_echo_n "(cached) " >&6
9047 lt_cv_apple_cc_single_mod
=no
9048 if test -z "${LT_MULTI_MODULE}"; then
9049 # By default we will add the -single_module flag. You can override
9050 # by either setting the environment variable LT_MULTI_MODULE
9051 # non-empty at configure time, or by adding -multi_module to the
9053 echo "int foo(void){return 1;}" > conftest.c
9054 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9055 -dynamiclib ${wl}-single_module conftest.c
9056 if test -f libconftest.dylib
; then
9057 lt_cv_apple_cc_single_mod
=yes
9058 rm -rf libconftest.dylib
*
9063 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9064 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9065 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9066 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9067 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9068 $as_echo_n "(cached) " >&6
9070 lt_cv_ld_exported_symbols_list
=no
9071 save_LDFLAGS
=$LDFLAGS
9072 echo "_main" > conftest.sym
9073 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9074 cat >conftest.
$ac_ext <<_ACEOF
9077 cat confdefs.h
>>conftest.
$ac_ext
9078 cat >>conftest.
$ac_ext <<_ACEOF
9079 /* end confdefs.h. */
9089 rm -f conftest.
$ac_objext conftest
$ac_exeext
9090 if { (ac_try
="$ac_link"
9092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9093 *) ac_try_echo=$ac_try;;
9095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9096 $as_echo "$ac_try_echo") >&5
9097 (eval "$ac_link") 2>conftest.er1
9099 grep -v '^ *+' conftest.er1 >conftest.err
9101 cat conftest.err >&5
9102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } && {
9104 test -z "$ac_c_werror_flag" ||
9105 test ! -s conftest.err
9106 } && test -s conftest$ac_exeext && {
9107 test "$cross_compiling" = yes ||
9108 $as_test_x conftest$ac_exeext
9110 lt_cv_ld_exported_symbols_list=yes
9112 $as_echo "$as_me: failed program was:" >&5
9113 sed 's/^/| /' conftest.$ac_ext >&5
9115 lt_cv_ld_exported_symbols_list=no
9118 rm -rf conftest.dSYM
9119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9120 conftest$ac_exeext conftest.$ac_ext
9121 LDFLAGS="$save_LDFLAGS"
9124 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9125 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9127 rhapsody* | darwin1.[0123])
9128 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9130 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9132 # if running on 10.5 or later, the deployment target defaults
9133 # to the OS version, if on x86, and 10.4, the deployment
9134 # target defaults to 10.4. Don't you love it?
9135 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9136 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9137 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9139 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9141 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9145 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9146 _lt_dar_single_mod='$single_module'
9148 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9149 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9151 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
9153 if test "$DSYMUTIL" != ":"; then
9154 _lt_dsymutil="~$DSYMUTIL \$lib || :"
9165 # Check whether --enable-libtool-lock was given.
9166 if test "${enable_libtool_lock+set}" = set; then
9167 enableval=$enable_libtool_lock;
9170 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9173 # Check whether --with-pic was given.
9174 if test "${with_pic+set}" = set; then
9175 withval=$with_pic; pic_mode="$withval"
9180 test -z "$pic_mode" && pic_mode=default
9182 # Use C for the default configuration in the libtool script
9186 ac_cpp='$CPP $CPPFLAGS'
9187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9192 # Source file extension for C test sources.
9195 # Object file extension for compiled C test sources.
9199 # Code to be used in simple compile tests
9200 lt_simple_compile_test_code="int some_variable = 0;"
9202 # Code to be used in simple link tests
9203 lt_simple_link_test_code='int main(){return(0);}'
9206 # If no C compiler was specified, use CC.
9209 # If no C compiler flags were specified, use CFLAGS.
9210 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9212 # Allow CC to be a program name with arguments.
9216 # save warnings/boilerplate of simple test code
9217 ac_outfile=conftest.$ac_objext
9218 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9219 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9220 _lt_compiler_boilerplate=`cat conftest.err
`
9223 ac_outfile=conftest.$ac_objext
9224 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9225 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9226 _lt_linker_boilerplate=`cat conftest.err
`
9231 lt_prog_compiler_no_builtin_flag=
9233 if test "$GCC" = yes; then
9234 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9237 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9238 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9239 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9240 $as_echo_n "(cached) " >&6
9242 lt_cv_prog_compiler_rtti_exceptions=no
9243 ac_outfile=conftest.$ac_objext
9244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9245 lt_compiler_flag="-fno-rtti -fno-exceptions"
9246 # Insert the option either (1) after the last *FLAGS variable, or
9247 # (2) before a word containing "conftest.", or (3) at the end.
9248 # Note that $ac_compile itself does not contain backslashes and begins
9249 # with a dollar sign (not a hyphen), so the echo should work correctly.
9250 # The option is referenced via a variable to avoid confusing sed.
9251 lt_compile=`echo "$ac_compile" |
$SED \
9252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9254 -e 's:$: $lt_compiler_flag:'`
9255 (eval echo "\"\$as_me:9255: $lt_compile\"" >&5)
9256 (eval "$lt_compile" 2>conftest.err)
9258 cat conftest.err >&5
9259 echo "$as_me:9259: \$? = $ac_status" >&5
9260 if (exit $ac_status) && test -s "$ac_outfile"; then
9261 # The compiler can only warn and ignore the option if not recognized
9262 # So say no if there are warnings other than the usual output.
9263 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9264 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9265 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9266 lt_cv_prog_compiler_rtti_exceptions=yes
9272 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9273 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9275 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9276 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9283 lt_prog_compiler_wl=
9284 lt_prog_compiler_pic=
9285 lt_prog_compiler_static=
9287 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9288 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9290 if test "$GCC" = yes; then
9291 lt_prog_compiler_wl='-Wl,'
9292 lt_prog_compiler_static='-static'
9296 # All AIX code is PIC.
9297 if test "$host_cpu" = ia64; then
9298 # AIX 5 now supports IA64 processor
9299 lt_prog_compiler_static='-Bstatic'
9304 # FIXME: we need at least 68020 code to build shared libraries, but
9305 # adding the `-m68020' flag to GCC prevents building anything better,
9307 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9310 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9311 # PIC is the default for these OSes.
9314 mingw
* | cygwin
* | pw32
* | os2
*)
9315 # This hack is so that the source file can tell whether it is being
9316 # built for inclusion in a dll (and should export symbols for example).
9317 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9318 # (--disable-auto-import) libraries
9319 lt_prog_compiler_pic
='-DDLL_EXPORT'
9322 darwin
* | rhapsody
*)
9323 # PIC is the default on this platform
9324 # Common symbols not allowed in MH_DYLIB files
9325 lt_prog_compiler_pic
='-fno-common'
9329 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9330 # Instead, we relocate shared libraries at runtime.
9334 # Just because we use GCC doesn't mean we suddenly get shared libraries
9335 # on systems that don't support them.
9336 lt_prog_compiler_can_build_shared
=no
9341 if test -d /usr
/nec
; then
9342 lt_prog_compiler_pic
=-Kconform_pic
9347 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9354 lt_prog_compiler_pic
='-fPIC'
9360 lt_prog_compiler_pic
='-fPIC'
9364 # PORTME Check for flag to pass linker flags through the system compiler.
9367 lt_prog_compiler_wl
='-Wl,'
9368 if test "$host_cpu" = ia64
; then
9369 # AIX 5 now supports IA64 processor
9370 lt_prog_compiler_static
='-Bstatic'
9372 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9376 # PIC is the default on this platform
9377 # Common symbols not allowed in MH_DYLIB files
9378 case $cc_basename in
9380 lt_prog_compiler_pic
='-qnocommon'
9381 lt_prog_compiler_wl
='-Wl,'
9386 mingw
* | cygwin
* | pw32
* | os2
*)
9387 # This hack is so that the source file can tell whether it is being
9388 # built for inclusion in a dll (and should export symbols for example).
9389 lt_prog_compiler_pic
='-DDLL_EXPORT'
9392 hpux9
* | hpux10
* | hpux11
*)
9393 lt_prog_compiler_wl
='-Wl,'
9394 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9401 lt_prog_compiler_pic
='+Z'
9404 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9405 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9408 irix5
* | irix6
* | nonstopux
*)
9409 lt_prog_compiler_wl
='-Wl,'
9410 # PIC (with -KPIC) is the default.
9411 lt_prog_compiler_static
='-non_shared'
9415 lt_prog_compiler_pic
='-KPIC'
9416 lt_prog_compiler_static
='-Bstatic'
9419 linux
* | k
*bsd
*-gnu)
9420 case $cc_basename in
9422 lt_prog_compiler_wl
='-Wl,'
9423 lt_prog_compiler_pic
='-KPIC'
9424 lt_prog_compiler_static
='-static'
9426 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9427 # Portland Group compilers (*not* the Pentium gcc compiler,
9428 # which looks to be a dead project)
9429 lt_prog_compiler_wl
='-Wl,'
9430 lt_prog_compiler_pic
='-fpic'
9431 lt_prog_compiler_static
='-Bstatic'
9434 lt_prog_compiler_wl
='-Wl,'
9435 # All Alpha code is PIC.
9436 lt_prog_compiler_static
='-non_shared'
9439 case `$CC -V 2>&1 | sed 5q` in
9442 lt_prog_compiler_pic
='-KPIC'
9443 lt_prog_compiler_static
='-Bstatic'
9444 lt_prog_compiler_wl
='-Wl,'
9447 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9448 lt_prog_compiler_pic
='-KPIC'
9449 lt_prog_compiler_static
='-Bstatic'
9450 lt_prog_compiler_wl
=''
9457 osf3
* | osf4
* | osf5
*)
9458 lt_prog_compiler_wl
='-Wl,'
9459 # All OSF/1 code is PIC.
9460 lt_prog_compiler_static
='-non_shared'
9464 lt_prog_compiler_static
='-non_shared'
9468 lt_prog_compiler_pic
='-KPIC'
9469 lt_prog_compiler_static
='-Bstatic'
9470 case $cc_basename in
9472 lt_prog_compiler_wl
='-Qoption ld ';;
9474 lt_prog_compiler_wl
='-Wl,';;
9479 lt_prog_compiler_wl
='-Qoption ld '
9480 lt_prog_compiler_pic
='-PIC'
9481 lt_prog_compiler_static
='-Bstatic'
9484 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9485 lt_prog_compiler_wl
='-Wl,'
9486 lt_prog_compiler_pic
='-KPIC'
9487 lt_prog_compiler_static
='-Bstatic'
9491 if test -d /usr
/nec
;then
9492 lt_prog_compiler_pic
='-Kconform_pic'
9493 lt_prog_compiler_static
='-Bstatic'
9497 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9498 lt_prog_compiler_wl
='-Wl,'
9499 lt_prog_compiler_pic
='-KPIC'
9500 lt_prog_compiler_static
='-Bstatic'
9504 lt_prog_compiler_wl
='-Wl,'
9505 lt_prog_compiler_can_build_shared
=no
9509 lt_prog_compiler_pic
='-pic'
9510 lt_prog_compiler_static
='-Bstatic'
9514 lt_prog_compiler_can_build_shared
=no
9519 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9520 $as_echo "$lt_prog_compiler_pic" >&6; }
9523 # Check to make sure the PIC flag actually works.
9525 if test -n "$lt_prog_compiler_pic"; then
9527 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9528 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9529 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9530 $as_echo_n "(cached) " >&6
9532 lt_cv_prog_compiler_pic_works
=no
9533 ac_outfile
=conftest.
$ac_objext
9534 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9535 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9536 # Insert the option either (1) after the last *FLAGS variable, or
9537 # (2) before a word containing "conftest.", or (3) at the end.
9538 # Note that $ac_compile itself does not contain backslashes and begins
9539 # with a dollar sign (not a hyphen), so the echo should work correctly.
9540 # The option is referenced via a variable to avoid confusing sed.
9541 lt_compile
=`echo "$ac_compile" | $SED \
9542 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9544 -e 's:$: $lt_compiler_flag:'`
9545 (eval echo "\"\$as_me:9545: $lt_compile\"" >&5)
9546 (eval "$lt_compile" 2>conftest.err
)
9548 cat conftest.err
>&5
9549 echo "$as_me:9549: \$? = $ac_status" >&5
9550 if (exit $ac_status) && test -s "$ac_outfile"; then
9551 # The compiler can only warn and ignore the option if not recognized
9552 # So say no if there are warnings other than the usual output.
9553 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9554 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9555 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9556 lt_cv_prog_compiler_pic_works
=yes
9562 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9563 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9565 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9566 case $lt_prog_compiler_pic in
9568 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9571 lt_prog_compiler_pic
=
9572 lt_prog_compiler_can_build_shared
=no
9577 # For platforms which do not support PIC, -DPIC is meaningless:
9579 lt_prog_compiler_pic
=
9582 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9587 # Check to make sure the static flag actually works.
9589 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9590 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9591 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9592 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9593 $as_echo_n "(cached) " >&6
9595 lt_cv_prog_compiler_static_works
=no
9596 save_LDFLAGS
="$LDFLAGS"
9597 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9598 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9599 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9600 # The linker can only warn and ignore the option if not recognized
9601 # So say no if there are warnings
9602 if test -s conftest.err
; then
9603 # Append any errors to the config.log.
9604 cat conftest.err
1>&5
9605 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9606 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9607 if diff conftest.exp conftest.er2
>/dev
/null
; then
9608 lt_cv_prog_compiler_static_works
=yes
9611 lt_cv_prog_compiler_static_works
=yes
9615 LDFLAGS
="$save_LDFLAGS"
9618 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9619 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9621 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9624 lt_prog_compiler_static
=
9628 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9629 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9630 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9631 $as_echo_n "(cached) " >&6
9633 lt_cv_prog_compiler_c_o
=no
9634 $rm -r conftest
2>/dev
/null
9638 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9640 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9641 # Insert the option either (1) after the last *FLAGS variable, or
9642 # (2) before a word containing "conftest.", or (3) at the end.
9643 # Note that $ac_compile itself does not contain backslashes and begins
9644 # with a dollar sign (not a hyphen), so the echo should work correctly.
9645 lt_compile
=`echo "$ac_compile" | $SED \
9646 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9647 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9648 -e 's:$: $lt_compiler_flag:'`
9649 (eval echo "\"\$as_me:9649: $lt_compile\"" >&5)
9650 (eval "$lt_compile" 2>out
/conftest.err
)
9652 cat out
/conftest.err
>&5
9653 echo "$as_me:9653: \$? = $ac_status" >&5
9654 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9656 # The compiler can only warn and ignore the option if not recognized
9657 # So say no if there are warnings
9658 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9659 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9660 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9661 lt_cv_prog_compiler_c_o
=yes
9666 # SGI C++ compiler will create directory out/ii_files/ for
9667 # template instantiation
9668 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
9669 $rm out
/* && rmdir out
9675 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9676 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9679 hard_links
="nottested"
9680 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9681 # do not overwrite the value of need_locks provided by the user
9682 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9683 $as_echo_n "checking if we can lock with hard links... " >&6; }
9686 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9688 ln conftest.a conftest.b
2>&5 || hard_links
=no
9689 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9690 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9691 $as_echo "$hard_links" >&6; }
9692 if test "$hard_links" = no
; then
9693 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9694 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9701 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9702 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9705 allow_undefined_flag
=
9706 enable_shared_with_static_runtimes
=no
9708 archive_expsym_cmds
=
9709 old_archive_From_new_cmds
=
9710 old_archive_from_expsyms_cmds
=
9711 export_dynamic_flag_spec
=
9712 whole_archive_flag_spec
=
9713 thread_safe_flag_spec
=
9714 hardcode_libdir_flag_spec
=
9715 hardcode_libdir_flag_spec_ld
=
9716 hardcode_libdir_separator
=
9719 hardcode_shlibpath_var
=unsupported
9720 link_all_deplibs
=unknown
9721 hardcode_automatic
=no
9724 always_export_symbols
=no
9725 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9726 # include_expsyms should be a list of space-separated symbols to be *always*
9727 # included in the symbol list
9729 # exclude_expsyms can be an extended regexp of symbols to exclude
9730 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9731 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9732 # as well as any symbol that contains `d'.
9733 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9734 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9735 # platforms (ab)use it in PIC code, but their linkers get confused if
9736 # the symbol is explicitly referenced. Since portable code cannot
9737 # rely on this symbol name, it's probably fine to never include it in
9738 # preloaded symbol tables.
9739 # Exclude shared library initialization/finalization symbols.
9740 extract_expsyms_cmds
=
9741 # Just being paranoid about ensuring that cc_basename is set.
9742 for cc_temp
in $compiler""; do
9744 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9745 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9750 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9753 cygwin
* | mingw
* | pw32
*)
9754 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9755 # When not using gcc, we currently assume that we are using
9756 # Microsoft Visual C++.
9757 if test "$GCC" != yes; then
9762 # we just hope/assume this is gcc and not c89 (= MSVC++)
9771 if test "$with_gnu_ld" = yes; then
9772 # If archive_cmds runs LD, not CC, wlarc should be empty
9775 # Set some defaults for GNU ld with shared library support. These
9776 # are reset later if shared libraries are not supported. Putting them
9777 # here allows them to be overridden if necessary.
9778 runpath_var
=LD_RUN_PATH
9779 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9780 export_dynamic_flag_spec
='${wl}--export-dynamic'
9781 # ancient GNU ld didn't support --whole-archive et. al.
9782 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
9783 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9785 whole_archive_flag_spec
=
9787 supports_anon_versioning
=no
9788 case `$LD -v 2>/dev/null` in
9789 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9790 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9791 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9792 *\
2.11.
*) ;; # other 2.11 versions
9793 *) supports_anon_versioning
=yes ;;
9796 # See if GNU ld supports shared libraries.
9799 # On AIX/PPC, the GNU linker is very broken
9800 if test "$host_cpu" != ia64
; then
9804 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9805 *** to be unable to reliably create shared libraries on AIX.
9806 *** Therefore, libtool is disabling shared libraries support. If you
9807 *** really care for shared libraries, you may want to modify your PATH
9808 *** so that a non-GNU linker is found, and then restart.
9815 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)'
9816 hardcode_libdir_flag_spec
='-L$libdir'
9817 hardcode_minus_L
=yes
9819 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9820 # that the semantics of dynamic libraries on AmigaOS, at least up
9821 # to version 4, is to share data among multiple programs linked
9822 # with the same dynamic library. Since this doesn't match the
9823 # behavior of shared libraries on other platforms, we can't use
9829 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9830 allow_undefined_flag
=unsupported
9831 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9832 # support --undefined. This deserves some investigation. FIXME
9833 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9839 cygwin
* | mingw
* | pw32
*)
9840 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9841 # as there is no search path for DLLs.
9842 hardcode_libdir_flag_spec
='-L$libdir'
9843 allow_undefined_flag
=unsupported
9844 always_export_symbols
=no
9845 enable_shared_with_static_runtimes
=yes
9846 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9848 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9849 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9850 # If the export-symbols file already is a .def file (1st line
9851 # is EXPORTS), use it as is; otherwise, prepend...
9852 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9853 cp $export_symbols $output_objdir/$soname.def;
9855 echo EXPORTS > $output_objdir/$soname.def;
9856 cat $export_symbols >> $output_objdir/$soname.def;
9858 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866 hardcode_shlibpath_var
=no
9867 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9868 export_dynamic_flag_spec
='${wl}-E'
9869 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9870 # Instead, shared libraries are loaded at an image base (0x10000000 by
9871 # default) and relocated if they conflict, which is a slow very memory
9872 # consuming and fragmenting process. To avoid this, we pick a random,
9873 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9874 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9875 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9876 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'
9879 gnu
* | linux
* | k
*bsd
*-gnu)
9880 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9882 case $cc_basename,$host_cpu in
9883 pgcc
*) # Portland Group C compiler
9884 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'
9885 tmp_addflag
=' $pic_flag'
9887 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9888 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'
9889 tmp_addflag
=' $pic_flag -Mnomain' ;;
9890 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9891 tmp_addflag
=' -i_dynamic' ;;
9892 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9893 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9894 ifc
* | ifort
*) # Intel Fortran compiler
9895 tmp_addflag
=' -nofor_main' ;;
9897 case `$CC -V 2>&1 | sed 5q` in
9898 *Sun\ C
*) # Sun C 5.9
9899 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'
9900 tmp_sharedflag
='-G' ;;
9901 *Sun\ F
*) # Sun Fortran 8.3
9902 tmp_sharedflag
='-G' ;;
9904 tmp_sharedflag
='-shared' ;;
9906 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9908 if test $supports_anon_versioning = yes; then
9909 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9910 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9911 $echo "local: *; };" >> $output_objdir/$libname.ver~
9912 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9920 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9921 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9924 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9925 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9930 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9934 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9935 *** create shared libraries on Solaris systems. Therefore, libtool
9936 *** is disabling shared libraries support. We urge you to upgrade GNU
9937 *** binutils to release 2.9.1 or newer. Another option is to modify
9938 *** your PATH or compiler configuration so that the native linker is
9939 *** used, and then restart.
9942 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9943 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9950 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9951 case `$LD -v 2>&1` in
9952 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9956 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9957 *** reliably create shared libraries on SCO systems. Therefore, libtool
9958 *** is disabling shared libraries support. We urge you to upgrade GNU
9959 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9960 *** your PATH or compiler configuration so that the native linker is
9961 *** used, and then restart.
9966 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9967 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9968 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9969 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9978 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9981 hardcode_shlibpath_var
=no
9985 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9986 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9987 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9994 if test "$ld_shlibs" = no
; then
9996 hardcode_libdir_flag_spec
=
9997 export_dynamic_flag_spec
=
9998 whole_archive_flag_spec
=
10001 # PORTME fill in a description of your system's linker (not GNU ld)
10004 allow_undefined_flag
=unsupported
10005 always_export_symbols
=yes
10006 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'
10007 # Note: this linker hardcodes the directories in LIBPATH if there
10008 # are no directories specified by -L.
10009 hardcode_minus_L
=yes
10010 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10011 # Neither direct hardcoding nor static linking is supported with a
10013 hardcode_direct
=unsupported
10018 if test "$host_cpu" = ia64
; then
10019 # On IA64, the linker does run time linking by default, so we don't
10020 # have to do anything special.
10021 aix_use_runtimelinking
=no
10022 exp_sym_flag
='-Bexport'
10025 # If we're using GNU nm, then we don't want the "-C" option.
10026 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10027 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
10028 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'
10030 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'
10032 aix_use_runtimelinking
=no
10034 # Test if we are trying to use run time linking or normal
10035 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10036 # need to do runtime linking.
10037 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10038 for ld_flag
in $LDFLAGS; do
10039 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10040 aix_use_runtimelinking
=yes
10047 exp_sym_flag
='-bexport'
10048 no_entry_flag
='-bnoentry'
10051 # When large executables or shared objects are built, AIX ld can
10052 # have problems creating the table of contents. If linking a library
10053 # or program results in "error TOC overflow" add -mminimal-toc to
10054 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10055 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10058 hardcode_direct
=yes
10059 hardcode_libdir_separator
=':'
10060 link_all_deplibs
=yes
10062 if test "$GCC" = yes; then
10063 case $host_os in aix4.
[012]|aix4.
[012].
*)
10064 # We only want to do this on AIX 4.2 and lower, the check
10065 # below for broken collect2 doesn't work under 4.3+
10066 collect2name
=`${CC} -print-prog-name=collect2`
10067 if test -f "$collect2name" && \
10068 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10070 # We have reworked collect2
10073 # We have old collect2
10074 hardcode_direct
=unsupported
10075 # It fails to find uninstalled libraries when the uninstalled
10076 # path is not listed in the libpath. Setting hardcode_minus_L
10077 # to unsupported forces relinking
10078 hardcode_minus_L
=yes
10079 hardcode_libdir_flag_spec
='-L$libdir'
10080 hardcode_libdir_separator
=
10084 shared_flag
='-shared'
10085 if test "$aix_use_runtimelinking" = yes; then
10086 shared_flag
="$shared_flag "'${wl}-G'
10090 if test "$host_cpu" = ia64
; then
10091 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10092 # chokes on -Wl,-G. The following line is correct:
10095 if test "$aix_use_runtimelinking" = yes; then
10096 shared_flag
='${wl}-G'
10098 shared_flag
='${wl}-bM:SRE'
10103 # It seems that -bexpall does not export symbols beginning with
10104 # underscore (_), so it is better to generate a list of symbols to export.
10105 always_export_symbols
=yes
10106 if test "$aix_use_runtimelinking" = yes; then
10107 # Warning - without using the other runtime loading flags (-brtl),
10108 # -berok will link without error, but may produce a broken library.
10109 allow_undefined_flag
='-berok'
10110 # Determine the default libpath from the value encoded in an empty executable.
10111 cat >conftest.
$ac_ext <<_ACEOF
10114 cat confdefs.h
>>conftest.
$ac_ext
10115 cat >>conftest.
$ac_ext <<_ACEOF
10116 /* end confdefs.h. */
10126 rm -f conftest.
$ac_objext conftest
$ac_exeext
10127 if { (ac_try
="$ac_link"
10128 case "(($ac_try" in
10129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10130 *) ac_try_echo=$ac_try;;
10132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10133 $as_echo "$ac_try_echo") >&5
10134 (eval "$ac_link") 2>conftest.er1
10136 grep -v '^ *+' conftest.er1 >conftest.err
10138 cat conftest.err >&5
10139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } && {
10141 test -z "$ac_c_werror_flag" ||
10142 test ! -s conftest.err
10143 } && test -s conftest$ac_exeext && {
10144 test "$cross_compiling" = yes ||
10145 $as_test_x conftest$ac_exeext
10148 lt_aix_libpath_sed='
10149 /Import File Strings/,/^$/ {
10155 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10156 # Check for a 64-bit object if we didn't find anything.
10157 if test -z "$aix_libpath"; then
10158 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10161 $as_echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.$ac_ext >&5
10167 rm -rf conftest.dSYM
10168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10169 conftest$ac_exeext conftest.$ac_ext
10170 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10172 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10173 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10175 if test "$host_cpu" = ia64; then
10176 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10177 allow_undefined_flag="-z nodefs"
10178 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"
10180 # Determine the default libpath from the value encoded in an empty executable.
10181 cat >conftest.$ac_ext <<_ACEOF
10184 cat confdefs.h >>conftest.$ac_ext
10185 cat >>conftest.$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10196 rm -f conftest.$ac_objext conftest$ac_exeext
10197 if { (ac_try="$ac_link"
10198 case "(($ac_try" in
10199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10200 *) ac_try_echo
=$ac_try;;
10202 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10203 $as_echo "$ac_try_echo") >&5
10204 (eval "$ac_link") 2>conftest.er1
10206 grep -v '^ *+' conftest.er1
>conftest.err
10208 cat conftest.err
>&5
10209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } && {
10211 test -z "$ac_c_werror_flag" ||
10212 test ! -s conftest.err
10213 } && test -s conftest
$ac_exeext && {
10214 test "$cross_compiling" = yes ||
10215 $as_test_x conftest
$ac_exeext
10218 lt_aix_libpath_sed
='
10219 /Import File Strings/,/^$/ {
10225 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10226 # Check for a 64-bit object if we didn't find anything.
10227 if test -z "$aix_libpath"; then
10228 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10231 $as_echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.
$ac_ext >&5
10237 rm -rf conftest.dSYM
10238 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10239 conftest
$ac_exeext conftest.
$ac_ext
10240 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10242 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10243 # Warning - without using the other run time loading flags,
10244 # -berok will link without error, but may produce a broken library.
10245 no_undefined_flag
=' ${wl}-bernotok'
10246 allow_undefined_flag
=' ${wl}-berok'
10247 # Exported symbols can be pulled into shared objects from archives
10248 whole_archive_flag_spec
='$convenience'
10249 archive_cmds_need_lc
=yes
10250 # This is similar to how AIX traditionally builds its shared libraries.
10251 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'
10257 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)'
10258 hardcode_libdir_flag_spec
='-L$libdir'
10259 hardcode_minus_L
=yes
10260 # see comment about different semantics on the GNU ld section
10265 export_dynamic_flag_spec
=-rdynamic
10268 cygwin
* | mingw
* | pw32
*)
10269 # When not using gcc, we currently assume that we are using
10270 # Microsoft Visual C++.
10271 # hardcode_libdir_flag_spec is actually meaningless, as there is
10272 # no search path for DLLs.
10273 hardcode_libdir_flag_spec
=' '
10274 allow_undefined_flag
=unsupported
10275 # Tell ltmain to make .lib files, not .a files.
10277 # Tell ltmain to make .dll files, not .so files.
10279 # FIXME: Setting linknames here is a bad hack.
10280 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10281 # The linker will automatically build a .lib file if we build a DLL.
10282 old_archive_From_new_cmds
='true'
10283 # FIXME: Should let the user specify the lib program.
10284 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10285 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10286 enable_shared_with_static_runtimes
=yes
10289 darwin
* | rhapsody
*)
10291 rhapsody
* | darwin1.
[012])
10292 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
10295 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10296 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10298 case ${MACOSX_DEPLOYMENT_TARGET} in
10300 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10303 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
10309 archive_cmds_need_lc
=no
10311 hardcode_automatic
=yes
10312 hardcode_shlibpath_var
=unsupported
10313 whole_archive_flag_spec
=''
10314 link_all_deplibs
=yes
10315 if test "$GCC" = yes ; then
10316 output_verbose_link_cmd
='echo'
10317 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10318 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10319 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}"
10320 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}"
10322 case $cc_basename in
10324 output_verbose_link_cmd
='echo'
10325 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10326 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10327 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10328 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10329 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10339 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10340 hardcode_libdir_flag_spec
='-L$libdir'
10341 hardcode_shlibpath_var
=no
10348 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10349 # support. Future versions do this automatically, but an explicit c++rt0.o
10350 # does not break anything, and helps significantly (at the cost of a little
10353 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10354 hardcode_libdir_flag_spec
='-R$libdir'
10355 hardcode_direct
=yes
10356 hardcode_shlibpath_var
=no
10359 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10361 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10362 hardcode_direct
=yes
10363 hardcode_minus_L
=yes
10364 hardcode_shlibpath_var
=no
10367 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10368 freebsd
* | dragonfly
*)
10369 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10370 hardcode_libdir_flag_spec
='-R$libdir'
10371 hardcode_direct
=yes
10372 hardcode_shlibpath_var
=no
10376 if test "$GCC" = yes; then
10377 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'
10379 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'
10381 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10382 hardcode_libdir_separator
=:
10383 hardcode_direct
=yes
10385 # hardcode_minus_L: Not really in the search PATH,
10386 # but as the default location of the library.
10387 hardcode_minus_L
=yes
10388 export_dynamic_flag_spec
='${wl}-E'
10392 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10393 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10395 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10397 if test "$with_gnu_ld" = no
; then
10398 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10399 hardcode_libdir_separator
=:
10401 hardcode_direct
=yes
10402 export_dynamic_flag_spec
='${wl}-E'
10404 # hardcode_minus_L: Not really in the search PATH,
10405 # but as the default location of the library.
10406 hardcode_minus_L
=yes
10411 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10414 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10420 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10426 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10432 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10436 if test "$with_gnu_ld" = no
; then
10437 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10438 hardcode_libdir_separator
=:
10442 hardcode_libdir_flag_spec_ld
='+b $libdir'
10444 hardcode_shlibpath_var
=no
10447 hardcode_direct
=yes
10448 export_dynamic_flag_spec
='${wl}-E'
10450 # hardcode_minus_L: Not really in the search PATH,
10451 # but as the default location of the library.
10452 hardcode_minus_L
=yes
10458 irix5
* | irix6
* | nonstopux
*)
10459 if test "$GCC" = yes; then
10460 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10462 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10463 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10465 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10466 hardcode_libdir_separator
=:
10467 link_all_deplibs
=yes
10471 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10472 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10474 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10476 hardcode_libdir_flag_spec
='-R$libdir'
10477 hardcode_direct
=yes
10478 hardcode_shlibpath_var
=no
10482 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10483 hardcode_direct
=yes
10484 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10485 hardcode_libdir_separator
=:
10486 hardcode_shlibpath_var
=no
10490 if test -f /usr
/libexec
/ld.so
; then
10491 hardcode_direct
=yes
10492 hardcode_shlibpath_var
=no
10493 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10494 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10495 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10496 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10497 export_dynamic_flag_spec
='${wl}-E'
10500 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10501 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10502 hardcode_libdir_flag_spec
='-R$libdir'
10505 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10506 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10516 hardcode_libdir_flag_spec
='-L$libdir'
10517 hardcode_minus_L
=yes
10518 allow_undefined_flag
=unsupported
10519 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'
10520 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10524 if test "$GCC" = yes; then
10525 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10526 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10528 allow_undefined_flag
=' -expect_unresolved \*'
10529 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10531 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10532 hardcode_libdir_separator
=:
10535 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10536 if test "$GCC" = yes; then
10537 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10538 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10539 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10541 allow_undefined_flag
=' -expect_unresolved \*'
10542 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10543 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10544 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
10546 # Both c and cxx compiler support -rpath directly
10547 hardcode_libdir_flag_spec
='-rpath $libdir'
10549 hardcode_libdir_separator
=:
10553 no_undefined_flag
=' -z text'
10554 if test "$GCC" = yes; then
10556 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10557 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10558 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10561 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10562 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10563 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10565 hardcode_libdir_flag_spec
='-R$libdir'
10566 hardcode_shlibpath_var
=no
10568 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10570 # The compiler driver will combine and reorder linker options,
10571 # but understands `-z linker_flag'. GCC discards it without `$wl',
10572 # but is careful enough not to reorder.
10573 # Supported since Solaris 2.6 (maybe 2.5.1?)
10574 if test "$GCC" = yes; then
10575 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10577 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10581 link_all_deplibs
=yes
10585 if test "x$host_vendor" = xsequent
; then
10586 # Use $CC to link under sequent, because it throws in some extra .o
10587 # files that make .init and .fini sections work.
10588 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10590 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10592 hardcode_libdir_flag_spec
='-L$libdir'
10593 hardcode_direct
=yes
10594 hardcode_minus_L
=yes
10595 hardcode_shlibpath_var
=no
10599 case $host_vendor in
10601 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10602 hardcode_direct
=yes # is this really true???
10605 ## LD is ld it makes a PLAMLIB
10606 ## CC just makes a GrossModule.
10607 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10608 reload_cmds
='$CC -r -o $output$reload_objs'
10612 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10613 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10616 runpath_var
='LD_RUN_PATH'
10617 hardcode_shlibpath_var
=no
10621 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 hardcode_shlibpath_var
=no
10623 export_dynamic_flag_spec
='-Bexport'
10627 if test -d /usr
/nec
; then
10628 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10629 hardcode_shlibpath_var
=no
10630 runpath_var
=LD_RUN_PATH
10631 hardcode_runpath_var
=yes
10636 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10637 no_undefined_flag
='${wl}-z,text'
10638 archive_cmds_need_lc
=no
10639 hardcode_shlibpath_var
=no
10640 runpath_var
='LD_RUN_PATH'
10642 if test "$GCC" = yes; then
10643 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10647 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10651 sysv5
* | sco3.2v5
* | sco5v6
*)
10652 # Note: We can NOT use -z defs as we might desire, because we do not
10653 # link with -lc, and that would cause any symbols used from libc to
10654 # always be unresolved, which means just about no library would
10655 # ever link correctly. If we're not using GNU ld we use -z text
10656 # though, which does catch some bad symbols but isn't as heavy-handed
10658 no_undefined_flag
='${wl}-z,text'
10659 allow_undefined_flag
='${wl}-z,nodefs'
10660 archive_cmds_need_lc
=no
10661 hardcode_shlibpath_var
=no
10662 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10663 hardcode_libdir_separator
=':'
10664 link_all_deplibs
=yes
10665 export_dynamic_flag_spec
='${wl}-Bexport'
10666 runpath_var
='LD_RUN_PATH'
10668 if test "$GCC" = yes; then
10669 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10670 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10672 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10673 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10678 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10679 hardcode_libdir_flag_spec
='-L$libdir'
10680 hardcode_shlibpath_var
=no
10689 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10690 $as_echo "$ld_shlibs" >&6; }
10691 test "$ld_shlibs" = no
&& can_build_shared
=no
10694 # Do we need to explicitly link libc?
10696 case "x$archive_cmds_need_lc" in
10698 # Assume -lc should be added
10699 archive_cmds_need_lc
=yes
10701 if test "$enable_shared" = yes && test "$GCC" = yes; then
10702 case $archive_cmds in
10704 # FIXME: we may have to deal with multi-command sequences.
10707 # Test whether the compiler implicitly links with -lc since on some
10708 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10709 # to ld, don't add -lc before -lgcc.
10710 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10711 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10713 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10716 (eval $ac_compile) 2>&5
10718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); } 2>conftest.err
; then
10722 libobjs
=conftest.
$ac_objext
10724 wl
=$lt_prog_compiler_wl
10725 pic_flag
=$lt_prog_compiler_pic
10731 lt_save_allow_undefined_flag
=$allow_undefined_flag
10732 allow_undefined_flag
=
10733 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10734 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }
10739 archive_cmds_need_lc
=no
10741 archive_cmds_need_lc
=yes
10743 allow_undefined_flag
=$lt_save_allow_undefined_flag
10745 cat conftest.err
1>&5
10748 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10749 $as_echo "$archive_cmds_need_lc" >&6; }
10756 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10757 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10758 library_names_spec
=
10759 libname_spec
='lib$name'
10763 postuninstall_cmds
=
10767 shlibpath_overrides_runpath
=unknown
10769 dynamic_linker
="$host_os ld.so"
10770 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10772 if test "$GCC" = yes; then
10774 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10775 *) lt_awk_arg
="/^libraries:/" ;;
10777 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10778 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
10779 # if the path contains ";" then we assume it to be the separator
10780 # otherwise default to the standard path separator (i.e. ":") - it is
10781 # assumed that no part of a normal pathname contains ";" but that should
10782 # okay in the real world where ";" in dirpaths is itself problematic.
10783 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10785 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10787 # Ok, now we have the path, separated by spaces, we can step through it
10788 # and add multilib dir if necessary.
10789 lt_tmp_lt_search_path_spec
=
10790 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10791 for lt_sys_path
in $lt_search_path_spec; do
10792 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10793 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10795 test -d "$lt_sys_path" && \
10796 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10799 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
10800 BEGIN {RS=" "; FS="/|\n";} {
10803 for (lt_i = NF; lt_i > 0; lt_i--) {
10804 if ($lt_i != "" && $lt_i != ".") {
10805 if ($lt_i == "..") {
10808 if (lt_count == 0) {
10809 lt_foo="/" $lt_i lt_foo;
10816 if (lt_foo != "") { lt_freq[lt_foo]++; }
10817 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10819 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
10821 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10823 need_lib_prefix
=unknown
10824 hardcode_into_libs
=no
10826 # when you set need_version to no, make sure it does not cause -set_version
10827 # flags to be left without arguments
10828 need_version
=unknown
10833 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10834 shlibpath_var
=LIBPATH
10836 # AIX 3 has no versioning support, so we append a major version to the name.
10837 soname_spec
='${libname}${release}${shared_ext}$major'
10844 hardcode_into_libs
=yes
10845 if test "$host_cpu" = ia64
; then
10846 # AIX 5 supports IA64
10847 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10848 shlibpath_var
=LD_LIBRARY_PATH
10850 # With GCC up to 2.95.x, collect2 would create an import file
10851 # for dependence libraries. The import file would start with
10852 # the line `#! .'. This would cause the generated library to
10853 # depend on `.', always an invalid library. This was fixed in
10854 # development snapshots of GCC prior to 3.0.
10856 aix4 | aix4.
[01] | aix4.
[01].
*)
10857 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10859 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10862 can_build_shared
=no
10866 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10867 # soname into executable. Probably we can add versioning support to
10868 # collect2, so additional links can be useful in future.
10869 if test "$aix_use_runtimelinking" = yes; then
10870 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10871 # instead of lib<name>.a to let people know that these are not
10872 # typical AIX shared libraries.
10873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875 # We preserve .a as extension for shared libraries through AIX4.2
10876 # and later when we are not doing run time linking.
10877 library_names_spec
='${libname}${release}.a $libname.a'
10878 soname_spec
='${libname}${release}${shared_ext}$major'
10880 shlibpath_var
=LIBPATH
10885 library_names_spec
='$libname.ixlibrary $libname.a'
10886 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10887 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'
10891 library_names_spec
='${libname}${shared_ext}'
10892 dynamic_linker
="$host_os ld.so"
10893 shlibpath_var
=LIBRARY_PATH
10899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10900 soname_spec
='${libname}${release}${shared_ext}$major'
10901 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10902 shlibpath_var
=LD_LIBRARY_PATH
10903 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10904 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10905 # the default ld.so.conf also contains /usr/contrib/lib and
10906 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10907 # libtool to hard-code these into programs
10910 cygwin
* | mingw
* | pw32
*)
10911 version_type
=windows
10916 case $GCC,$host_os in
10917 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10918 library_names_spec
='$libname.dll.a'
10919 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10920 postinstall_cmds
='base_file=`basename \${file}`~
10921 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10922 dldir=$destdir/`dirname \$dlpath`~
10923 test -d \$dldir || mkdir -p \$dldir~
10924 $install_prog $dir/$dlname \$dldir/$dlname~
10925 chmod a+x \$dldir/$dlname'
10926 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10927 dlpath=$dir/\$dldll~
10929 shlibpath_overrides_runpath
=yes
10933 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10934 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10935 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10938 # MinGW DLLs use traditional 'lib' prefix
10939 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10940 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10941 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10942 # It is most probably a Windows format PATH printed by
10943 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10944 # path with ; separators, and with drive letters. We can handle the
10945 # drive letters (cygwin fileutils understands them), so leave them,
10946 # especially as we might pass files found there to a mingw objdump,
10947 # which wouldn't understand a cygwinified path. Ahh.
10948 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10950 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10954 # pw32 DLLs use 'pw' prefix rather than 'lib'
10955 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10961 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10964 dynamic_linker
='Win32 ld.exe'
10965 # FIXME: first we should search . and the directory the executable is in
10969 darwin
* | rhapsody
*)
10970 dynamic_linker
="$host_os dyld"
10971 version_type
=darwin
10974 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10975 soname_spec
='${libname}${release}${major}$shared_ext'
10976 shlibpath_overrides_runpath
=yes
10977 shlibpath_var
=DYLD_LIBRARY_PATH
10978 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10980 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10981 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10989 soname_spec
='${libname}${release}${shared_ext}$major'
10990 shlibpath_var
=LD_LIBRARY_PATH
10997 freebsd
* | dragonfly
*)
10998 # DragonFly does not have aout. When/if they implement a new
10999 # versioning mechanism, adjust this.
11000 if test -x /usr
/bin
/objformat
; then
11001 objformat
=`/usr/bin/objformat`
11004 freebsd
[123]*) objformat
=aout
;;
11005 *) objformat
=elf
;;
11008 version_type
=freebsd-
$objformat
11009 case $version_type in
11011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11016 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11020 shlibpath_var
=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath
=yes
11025 freebsd3.
[01]* | freebsdelf3.
[01]*)
11026 shlibpath_overrides_runpath
=yes
11027 hardcode_into_libs
=yes
11029 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11030 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11031 shlibpath_overrides_runpath
=no
11032 hardcode_into_libs
=yes
11034 *) # from 4.6 on, and DragonFly
11035 shlibpath_overrides_runpath
=yes
11036 hardcode_into_libs
=yes
11045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11046 soname_spec
='${libname}${release}${shared_ext}$major'
11047 shlibpath_var
=LD_LIBRARY_PATH
11048 hardcode_into_libs
=yes
11051 hpux9
* | hpux10
* | hpux11
*)
11052 # Give a soname corresponding to the major version so that dld.sl refuses to
11053 # link against other versions.
11060 hardcode_into_libs
=yes
11061 dynamic_linker
="$host_os dld.so"
11062 shlibpath_var
=LD_LIBRARY_PATH
11063 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065 soname_spec
='${libname}${release}${shared_ext}$major'
11066 if test "X$HPUX_IA64_MODE" = X32
; then
11067 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11069 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11071 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11075 hardcode_into_libs
=yes
11076 dynamic_linker
="$host_os dld.sl"
11077 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11078 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 soname_spec
='${libname}${release}${shared_ext}$major'
11081 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11082 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11086 dynamic_linker
="$host_os dld.sl"
11087 shlibpath_var
=SHLIB_PATH
11088 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11090 soname_spec
='${libname}${release}${shared_ext}$major'
11093 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11094 postinstall_cmds
='chmod 555 $lib'
11101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11102 soname_spec
='${libname}${release}${shared_ext}$major'
11103 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11104 shlibpath_var
=LD_LIBRARY_PATH
11105 shlibpath_overrides_runpath
=no
11106 hardcode_into_libs
=yes
11109 irix5
* | irix6
* | nonstopux
*)
11111 nonstopux
*) version_type
=nonstopux
;;
11113 if test "$lt_cv_prog_gnu_ld" = yes; then
11121 soname_spec
='${libname}${release}${shared_ext}$major'
11122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11124 irix5
* | nonstopux
*)
11125 libsuff
= shlibsuff
=
11128 case $LD in # libtool.m4 will add one of these switches to LD
11129 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11130 libsuff
= shlibsuff
= libmagic
=32-bit;;
11131 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11132 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11133 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11134 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11135 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11139 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11140 shlibpath_overrides_runpath
=no
11141 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11142 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11143 hardcode_into_libs
=yes
11146 # No shared lib support for Linux oldld, aout, or coff.
11147 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11151 # This must be Linux ELF.
11152 linux
* | k
*bsd
*-gnu)
11156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 soname_spec
='${libname}${release}${shared_ext}$major'
11158 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11159 shlibpath_var
=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath
=no
11161 # This implies no fast_install, which is unacceptable.
11162 # Some rework will be needed to allow for fast_install
11163 # before this can be enabled.
11164 hardcode_into_libs
=yes
11165 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11166 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11168 # Append ld.so.conf contents to the search path
11169 if test -f /etc
/ld.so.conf
; then
11170 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' ' '`
11171 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11174 # We used to test for /lib/ld.so.1 and disable shared libraries on
11175 # powerpc, because MkLinux only supported shared libraries with the
11176 # GNU dynamic linker. Since this was broken with cross compilers,
11177 # most powerpc-linux boxes support dynamic linking these days and
11178 # people can always --disable-shared, the test was removed, and we
11179 # assume the GNU/Linux dynamic linker is in use.
11180 dynamic_linker
='GNU/Linux ld.so'
11187 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11189 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11190 dynamic_linker
='NetBSD (a.out) ld.so'
11192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11193 soname_spec
='${libname}${release}${shared_ext}$major'
11194 dynamic_linker
='NetBSD ld.elf_so'
11196 shlibpath_var
=LD_LIBRARY_PATH
11197 shlibpath_overrides_runpath
=yes
11198 hardcode_into_libs
=yes
11203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11204 shlibpath_var
=LD_LIBRARY_PATH
11205 shlibpath_overrides_runpath
=yes
11212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213 soname_spec
='${libname}${release}${shared_ext}$major'
11214 shlibpath_var
=LD_LIBRARY_PATH
11215 shlibpath_overrides_runpath
=yes
11220 sys_lib_dlsearch_path_spec
="/usr/lib"
11222 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11224 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11225 *) need_version
=no
;;
11227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11228 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11229 shlibpath_var
=LD_LIBRARY_PATH
11230 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11232 openbsd2.
[89] | openbsd2.
[89].
*)
11233 shlibpath_overrides_runpath
=no
11236 shlibpath_overrides_runpath
=yes
11240 shlibpath_overrides_runpath
=yes
11245 libname_spec
='$name'
11248 library_names_spec
='$libname${shared_ext} $libname.a'
11249 dynamic_linker
='OS/2 ld.exe'
11250 shlibpath_var
=LIBPATH
11253 osf3
* | osf4
* | osf5
*)
11257 soname_spec
='${libname}${release}${shared_ext}$major'
11258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11259 shlibpath_var
=LD_LIBRARY_PATH
11260 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11261 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11273 soname_spec
='${libname}${release}${shared_ext}$major'
11274 shlibpath_var
=LD_LIBRARY_PATH
11275 shlibpath_overrides_runpath
=yes
11276 hardcode_into_libs
=yes
11277 # ldd complains unless libraries are executable
11278 postinstall_cmds
='chmod +x $lib'
11283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11284 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11285 shlibpath_var
=LD_LIBRARY_PATH
11286 shlibpath_overrides_runpath
=yes
11287 if test "$with_gnu_ld" = yes; then
11295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11296 soname_spec
='${libname}${release}${shared_ext}$major'
11297 shlibpath_var
=LD_LIBRARY_PATH
11298 case $host_vendor in
11300 shlibpath_overrides_runpath
=no
11302 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11303 runpath_var
=LD_RUN_PATH
11311 shlibpath_overrides_runpath
=no
11312 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11318 if test -d /usr
/nec
;then
11320 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11321 soname_spec
='$libname${shared_ext}.$major'
11322 shlibpath_var
=LD_LIBRARY_PATH
11326 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11327 version_type
=freebsd-elf
11330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11331 soname_spec
='${libname}${release}${shared_ext}$major'
11332 shlibpath_var
=LD_LIBRARY_PATH
11333 hardcode_into_libs
=yes
11334 if test "$with_gnu_ld" = yes; then
11335 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11336 shlibpath_overrides_runpath
=no
11338 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11339 shlibpath_overrides_runpath
=yes
11342 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11346 sys_lib_dlsearch_path_spec
='/usr/lib'
11351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11352 soname_spec
='${libname}${release}${shared_ext}$major'
11353 shlibpath_var
=LD_LIBRARY_PATH
11360 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11361 $as_echo "$dynamic_linker" >&6; }
11362 test "$dynamic_linker" = no
&& can_build_shared
=no
11364 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11365 $as_echo_n "(cached) " >&6
11367 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
11370 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11371 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11372 $as_echo_n "(cached) " >&6
11374 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
11377 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11379 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11380 if test "$GCC" = yes; then
11381 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11384 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11385 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11387 if test -n "$hardcode_libdir_flag_spec" || \
11388 test -n "$runpath_var" || \
11389 test "X$hardcode_automatic" = "Xyes" ; then
11391 # We can hardcode non-existant directories.
11392 if test "$hardcode_direct" != no
&&
11393 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11394 # have to relink, otherwise we might link with an installed library
11395 # when we should be linking with a yet-to-be-installed one
11396 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11397 test "$hardcode_minus_L" != no
; then
11398 # Linking always hardcodes the temporary library directory.
11399 hardcode_action
=relink
11401 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11402 hardcode_action
=immediate
11405 # We cannot hardcode anything, or else we can only hardcode existing
11407 hardcode_action
=unsupported
11409 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11410 $as_echo "$hardcode_action" >&6; }
11412 if test "$hardcode_action" = relink
; then
11413 # Fast installation is not supported
11414 enable_fast_install
=no
11415 elif test "$shlibpath_overrides_runpath" = yes ||
11416 test "$enable_shared" = no
; then
11417 # Fast installation is not necessary
11418 enable_fast_install
=needless
11423 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11424 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11425 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11426 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11427 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11428 { $as_echo "$as_me:$LINENO: result: yes" >&5
11429 $as_echo "yes" >&6; }
11431 # FIXME - insert some real tests, host_os isn't really good enough
11434 if test -n "$STRIP" ; then
11435 striplib
="$STRIP -x"
11436 old_striplib
="$STRIP -S"
11437 { $as_echo "$as_me:$LINENO: result: yes" >&5
11438 $as_echo "yes" >&6; }
11440 { $as_echo "$as_me:$LINENO: result: no" >&5
11441 $as_echo "no" >&6; }
11445 { $as_echo "$as_me:$LINENO: result: no" >&5
11446 $as_echo "no" >&6; }
11451 if test "x$enable_dlopen" != xyes
; then
11452 enable_dlopen
=unknown
11453 enable_dlopen_self
=unknown
11454 enable_dlopen_self_static
=unknown
11461 lt_cv_dlopen
="load_add_on"
11463 lt_cv_dlopen_self
=yes
11467 lt_cv_dlopen
="LoadLibrary"
11472 lt_cv_dlopen
="dlopen"
11477 # if libdl is installed we need to link against it
11478 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11479 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11480 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11481 $as_echo_n "(cached) " >&6
11483 ac_check_lib_save_LIBS
=$LIBS
11485 cat >conftest.
$ac_ext <<_ACEOF
11488 cat confdefs.h
>>conftest.
$ac_ext
11489 cat >>conftest.
$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11507 rm -f conftest.
$ac_objext conftest
$ac_exeext
11508 if { (ac_try
="$ac_link"
11509 case "(($ac_try" in
11510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11511 *) ac_try_echo=$ac_try;;
11513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11514 $as_echo "$ac_try_echo") >&5
11515 (eval "$ac_link") 2>conftest.er1
11517 grep -v '^ *+' conftest.er1 >conftest.err
11519 cat conftest.err >&5
11520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } && {
11522 test -z "$ac_c_werror_flag" ||
11523 test ! -s conftest.err
11524 } && test -s conftest$ac_exeext && {
11525 test "$cross_compiling" = yes ||
11526 $as_test_x conftest$ac_exeext
11528 ac_cv_lib_dl_dlopen=yes
11530 $as_echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.$ac_ext >&5
11533 ac_cv_lib_dl_dlopen=no
11536 rm -rf conftest.dSYM
11537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_lib_save_LIBS
11541 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11542 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11543 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11544 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11547 lt_cv_dlopen="dyld"
11549 lt_cv_dlopen_self=yes
11556 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11557 $as_echo_n "checking for shl_load... " >&6; }
11558 if test "${ac_cv_func_shl_load+set}" = set; then
11559 $as_echo_n "(cached) " >&6
11561 cat >conftest.$ac_ext <<_ACEOF
11564 cat confdefs.h >>conftest.$ac_ext
11565 cat >>conftest.$ac_ext <<_ACEOF
11566 /* end confdefs.h. */
11567 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11569 #define shl_load innocuous_shl_load
11571 /* System header to define __stub macros and hopefully few prototypes,
11572 which can conflict with char shl_load (); below.
11573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11574 <limits.h> exists even on freestanding compilers. */
11577 # include <limits.h>
11579 # include <assert.h>
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11591 /* The GNU C library defines this for functions which it implements
11592 to always fail with ENOSYS. Some functions are actually named
11593 something starting with __ and the normal name is an alias. */
11594 #if defined __stub_shl_load || defined __stub___shl_load
11601 return shl_load ();
11606 rm -f conftest.$ac_objext conftest$ac_exeext
11607 if { (ac_try="$ac_link"
11608 case "(($ac_try" in
11609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11610 *) ac_try_echo
=$ac_try;;
11612 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11613 $as_echo "$ac_try_echo") >&5
11614 (eval "$ac_link") 2>conftest.er1
11616 grep -v '^ *+' conftest.er1
>conftest.err
11618 cat conftest.err
>&5
11619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } && {
11621 test -z "$ac_c_werror_flag" ||
11622 test ! -s conftest.err
11623 } && test -s conftest
$ac_exeext && {
11624 test "$cross_compiling" = yes ||
11625 $as_test_x conftest
$ac_exeext
11627 ac_cv_func_shl_load
=yes
11629 $as_echo "$as_me: failed program was:" >&5
11630 sed 's/^/| /' conftest.
$ac_ext >&5
11632 ac_cv_func_shl_load
=no
11635 rm -rf conftest.dSYM
11636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11637 conftest
$ac_exeext conftest.
$ac_ext
11639 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11640 $as_echo "$ac_cv_func_shl_load" >&6; }
11641 if test "x$ac_cv_func_shl_load" = x
""yes; then
11642 lt_cv_dlopen
="shl_load"
11644 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11645 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11646 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11647 $as_echo_n "(cached) " >&6
11649 ac_check_lib_save_LIBS
=$LIBS
11651 cat >conftest.
$ac_ext <<_ACEOF
11654 cat confdefs.h
>>conftest.
$ac_ext
11655 cat >>conftest.
$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11658 /* Override any GCC internal prototype to avoid an error.
11659 Use char because int might match the return type of a GCC
11660 builtin and then its argument prototype would still apply. */
11668 return shl_load ();
11673 rm -f conftest.
$ac_objext conftest
$ac_exeext
11674 if { (ac_try
="$ac_link"
11675 case "(($ac_try" in
11676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11677 *) ac_try_echo=$ac_try;;
11679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11680 $as_echo "$ac_try_echo") >&5
11681 (eval "$ac_link") 2>conftest.er1
11683 grep -v '^ *+' conftest.er1 >conftest.err
11685 cat conftest.err >&5
11686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } && {
11688 test -z "$ac_c_werror_flag" ||
11689 test ! -s conftest.err
11690 } && test -s conftest$ac_exeext && {
11691 test "$cross_compiling" = yes ||
11692 $as_test_x conftest$ac_exeext
11694 ac_cv_lib_dld_shl_load=yes
11696 $as_echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11699 ac_cv_lib_dld_shl_load=no
11702 rm -rf conftest.dSYM
11703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11708 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11709 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11710 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11712 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11713 $as_echo_n "checking for dlopen... " >&6; }
11714 if test "${ac_cv_func_dlopen+set}" = set; then
11715 $as_echo_n "(cached) " >&6
11717 cat >conftest.$ac_ext <<_ACEOF
11720 cat confdefs.h >>conftest.$ac_ext
11721 cat >>conftest.$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11723 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11725 #define dlopen innocuous_dlopen
11727 /* System header to define __stub macros and hopefully few prototypes,
11728 which can conflict with char dlopen (); below.
11729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11730 <limits.h> exists even on freestanding compilers. */
11733 # include <limits.h>
11735 # include <assert.h>
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11747 /* The GNU C library defines this for functions which it implements
11748 to always fail with ENOSYS. Some functions are actually named
11749 something starting with __ and the normal name is an alias. */
11750 #if defined __stub_dlopen || defined __stub___dlopen
11762 rm -f conftest.$ac_objext conftest$ac_exeext
11763 if { (ac_try="$ac_link"
11764 case "(($ac_try" in
11765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11766 *) ac_try_echo
=$ac_try;;
11768 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11769 $as_echo "$ac_try_echo") >&5
11770 (eval "$ac_link") 2>conftest.er1
11772 grep -v '^ *+' conftest.er1
>conftest.err
11774 cat conftest.err
>&5
11775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } && {
11777 test -z "$ac_c_werror_flag" ||
11778 test ! -s conftest.err
11779 } && test -s conftest
$ac_exeext && {
11780 test "$cross_compiling" = yes ||
11781 $as_test_x conftest
$ac_exeext
11783 ac_cv_func_dlopen
=yes
11785 $as_echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.
$ac_ext >&5
11788 ac_cv_func_dlopen
=no
11791 rm -rf conftest.dSYM
11792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11793 conftest
$ac_exeext conftest.
$ac_ext
11795 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11796 $as_echo "$ac_cv_func_dlopen" >&6; }
11797 if test "x$ac_cv_func_dlopen" = x
""yes; then
11798 lt_cv_dlopen
="dlopen"
11800 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11801 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11802 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11803 $as_echo_n "(cached) " >&6
11805 ac_check_lib_save_LIBS
=$LIBS
11807 cat >conftest.
$ac_ext <<_ACEOF
11810 cat confdefs.h
>>conftest.
$ac_ext
11811 cat >>conftest.
$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11829 rm -f conftest.
$ac_objext conftest
$ac_exeext
11830 if { (ac_try
="$ac_link"
11831 case "(($ac_try" in
11832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11833 *) ac_try_echo=$ac_try;;
11835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11836 $as_echo "$ac_try_echo") >&5
11837 (eval "$ac_link") 2>conftest.er1
11839 grep -v '^ *+' conftest.er1 >conftest.err
11841 cat conftest.err >&5
11842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); } && {
11844 test -z "$ac_c_werror_flag" ||
11845 test ! -s conftest.err
11846 } && test -s conftest$ac_exeext && {
11847 test "$cross_compiling" = yes ||
11848 $as_test_x conftest$ac_exeext
11850 ac_cv_lib_dl_dlopen=yes
11852 $as_echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.$ac_ext >&5
11855 ac_cv_lib_dl_dlopen=no
11858 rm -rf conftest.dSYM
11859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_lib_save_LIBS
11863 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11864 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11865 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11866 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11868 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11869 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11870 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11871 $as_echo_n "(cached) " >&6
11873 ac_check_lib_save_LIBS=$LIBS
11874 LIBS="-lsvld $LIBS"
11875 cat >conftest.$ac_ext <<_ACEOF
11878 cat confdefs.h >>conftest.$ac_ext
11879 cat >>conftest.$ac_ext <<_ACEOF
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11897 rm -f conftest.$ac_objext conftest$ac_exeext
11898 if { (ac_try="$ac_link"
11899 case "(($ac_try" in
11900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11901 *) ac_try_echo
=$ac_try;;
11903 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11904 $as_echo "$ac_try_echo") >&5
11905 (eval "$ac_link") 2>conftest.er1
11907 grep -v '^ *+' conftest.er1
>conftest.err
11909 cat conftest.err
>&5
11910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } && {
11912 test -z "$ac_c_werror_flag" ||
11913 test ! -s conftest.err
11914 } && test -s conftest
$ac_exeext && {
11915 test "$cross_compiling" = yes ||
11916 $as_test_x conftest
$ac_exeext
11918 ac_cv_lib_svld_dlopen
=yes
11920 $as_echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.
$ac_ext >&5
11923 ac_cv_lib_svld_dlopen
=no
11926 rm -rf conftest.dSYM
11927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11928 conftest
$ac_exeext conftest.
$ac_ext
11929 LIBS
=$ac_check_lib_save_LIBS
11931 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11932 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11933 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then
11934 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11936 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11937 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11938 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11939 $as_echo_n "(cached) " >&6
11941 ac_check_lib_save_LIBS
=$LIBS
11943 cat >conftest.
$ac_ext <<_ACEOF
11946 cat confdefs.h
>>conftest.
$ac_ext
11947 cat >>conftest.
$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11960 return dld_link ();
11965 rm -f conftest.
$ac_objext conftest
$ac_exeext
11966 if { (ac_try
="$ac_link"
11967 case "(($ac_try" in
11968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11969 *) ac_try_echo=$ac_try;;
11971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11972 $as_echo "$ac_try_echo") >&5
11973 (eval "$ac_link") 2>conftest.er1
11975 grep -v '^ *+' conftest.er1 >conftest.err
11977 cat conftest.err >&5
11978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } && {
11980 test -z "$ac_c_werror_flag" ||
11981 test ! -s conftest.err
11982 } && test -s conftest$ac_exeext && {
11983 test "$cross_compiling" = yes ||
11984 $as_test_x conftest$ac_exeext
11986 ac_cv_lib_dld_dld_link=yes
11988 $as_echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11991 ac_cv_lib_dld_dld_link=no
11994 rm -rf conftest.dSYM
11995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11996 conftest$ac_exeext conftest.$ac_ext
11997 LIBS=$ac_check_lib_save_LIBS
11999 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12000 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12001 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12002 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12023 if test "x$lt_cv_dlopen" != xno; then
12029 case $lt_cv_dlopen in
12031 save_CPPFLAGS="$CPPFLAGS"
12032 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12034 save_LDFLAGS="$LDFLAGS"
12035 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12038 LIBS="$lt_cv_dlopen_libs $LIBS"
12040 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12041 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12042 if test "${lt_cv_dlopen_self+set}" = set; then
12043 $as_echo_n "(cached) " >&6
12045 if test "$cross_compiling" = yes; then :
12046 lt_cv_dlopen_self=cross
12048 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12049 lt_status=$lt_dlunknown
12050 cat > conftest.$ac_ext <<EOF
12051 #line 12051 "configure"
12052 #include "confdefs.h"
12061 # define LT_DLGLOBAL RTLD_GLOBAL
12064 # define LT_DLGLOBAL DL_GLOBAL
12066 # define LT_DLGLOBAL 0
12070 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12071 find out it does not work in some platform. */
12072 #ifndef LT_DLLAZY_OR_NOW
12074 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12077 # define LT_DLLAZY_OR_NOW DL_LAZY
12080 # define LT_DLLAZY_OR_NOW RTLD_NOW
12083 # define LT_DLLAZY_OR_NOW DL_NOW
12085 # define LT_DLLAZY_OR_NOW 0
12093 extern "C" void exit (int);
12096 void fnord() { int i=42;}
12099 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12100 int status = $lt_dlunknown;
12104 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12105 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12106 /* dlclose (self); */
12114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12115 (eval $ac_link) 2>&5
12117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12119 (./conftest; exit; ) >&5 2>/dev/null
12121 case x$lt_status in
12122 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12123 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12124 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12127 # compilation failed
12128 lt_cv_dlopen_self=no
12135 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12136 $as_echo "$lt_cv_dlopen_self" >&6; }
12138 if test "x$lt_cv_dlopen_self" = xyes; then
12139 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12140 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12141 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12142 if test "${lt_cv_dlopen_self_static+set}" = set; then
12143 $as_echo_n "(cached) " >&6
12145 if test "$cross_compiling" = yes; then :
12146 lt_cv_dlopen_self_static=cross
12148 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12149 lt_status=$lt_dlunknown
12150 cat > conftest.$ac_ext <<EOF
12151 #line 12151 "configure"
12152 #include "confdefs.h"
12161 # define LT_DLGLOBAL RTLD_GLOBAL
12164 # define LT_DLGLOBAL DL_GLOBAL
12166 # define LT_DLGLOBAL 0
12170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12171 find out it does not work in some platform. */
12172 #ifndef LT_DLLAZY_OR_NOW
12174 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12177 # define LT_DLLAZY_OR_NOW DL_LAZY
12180 # define LT_DLLAZY_OR_NOW RTLD_NOW
12183 # define LT_DLLAZY_OR_NOW DL_NOW
12185 # define LT_DLLAZY_OR_NOW 0
12193 extern "C" void exit (int);
12196 void fnord() { int i=42;}
12199 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12200 int status = $lt_dlunknown;
12204 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12205 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12206 /* dlclose (self); */
12214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12215 (eval $ac_link) 2>&5
12217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12219 (./conftest; exit; ) >&5 2>/dev/null
12221 case x$lt_status in
12222 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12223 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12224 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12227 # compilation failed
12228 lt_cv_dlopen_self_static=no
12235 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12236 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12239 CPPFLAGS="$save_CPPFLAGS"
12240 LDFLAGS="$save_LDFLAGS"
12245 case $lt_cv_dlopen_self in
12246 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12247 *) enable_dlopen_self=unknown ;;
12250 case $lt_cv_dlopen_self_static in
12251 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12252 *) enable_dlopen_self_static=unknown ;;
12257 # Report which library types will actually be built
12258 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12259 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12260 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12261 $as_echo "$can_build_shared" >&6; }
12263 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12264 $as_echo_n "checking whether to build shared libraries... " >&6; }
12265 test "$can_build_shared" = "no" && enable_shared=no
12267 # On AIX, shared libraries and static libraries use the same namespace, and
12268 # are all built from PIC.
12271 test "$enable_shared" = yes && enable_static=no
12272 if test -n "$RANLIB"; then
12273 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12274 postinstall_cmds='$RANLIB $lib'
12279 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12280 test "$enable_shared" = yes && enable_static=no
12284 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12285 $as_echo "$enable_shared" >&6; }
12287 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12288 $as_echo_n "checking whether to build static libraries... " >&6; }
12289 # Make sure either enable_shared or enable_static is yes.
12290 test "$enable_shared" = yes || enable_static=yes
12291 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12292 $as_echo "$enable_static" >&6; }
12294 # The else clause should only fire when bootstrapping the
12295 # libtool distribution, otherwise you forgot to ship ltmain.sh
12296 # with your package, and you will get complaints that there are
12297 # no rules to generate ltmain.sh.
12298 if test -f "$ltmain"; then
12299 # See if we are running on zsh, and set the options which allow our commands through
12300 # without removal of \ escapes.
12301 if test -n "${ZSH_VERSION+set}" ; then
12302 setopt NO_GLOB_SUBST
12304 # Now quote all the things that may contain metacharacters while being
12305 # careful not to overquote the AC_SUBSTed values. We take copies of the
12306 # variables and quote the copies for generation of the libtool script.
12307 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12309 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12310 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12311 deplibs_check_method reload_flag reload_cmds need_locks \
12312 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12313 lt_cv_sys_global_symbol_to_c_name_address \
12314 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12315 old_postinstall_cmds old_postuninstall_cmds \
12319 lt_prog_compiler_wl \
12320 lt_prog_compiler_pic \
12321 lt_prog_compiler_static \
12322 lt_prog_compiler_no_builtin_flag \
12323 export_dynamic_flag_spec \
12324 thread_safe_flag_spec \
12325 whole_archive_flag_spec \
12326 enable_shared_with_static_runtimes \
12328 old_archive_from_new_cmds \
12333 compiler_lib_search_path \
12334 compiler_lib_search_dirs \
12336 archive_expsym_cmds \
12338 postuninstall_cmds \
12339 old_archive_from_expsyms_cmds \
12340 allow_undefined_flag \
12341 no_undefined_flag \
12342 export_symbols_cmds \
12343 hardcode_libdir_flag_spec \
12344 hardcode_libdir_flag_spec_ld \
12345 hardcode_libdir_separator \
12346 hardcode_automatic \
12348 module_expsym_cmds \
12349 lt_cv_prog_compiler_c_o \
12352 include_expsyms; do
12355 old_archive_cmds | \
12356 old_archive_from_new_cmds | \
12358 archive_expsym_cmds | \
12360 module_expsym_cmds | \
12361 old_archive_from_expsyms_cmds | \
12362 export_symbols_cmds | \
12363 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12364 postinstall_cmds | postuninstall_cmds | \
12365 old_postinstall_cmds | old_postuninstall_cmds | \
12366 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12367 # Double-quote double-evaled strings.
12368 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
12371 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
12377 *'\$0 --fallback-echo"')
12378 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12382 cfgfile="${ofile}T"
12383 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12385 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
12386 $as_echo "$as_me: creating $ofile" >&6;}
12388 cat <<__EOF__ >> "$cfgfile"
12391 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
12392 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12393 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12395 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12396 # Free Software Foundation, Inc.
12398 # This file is part of GNU Libtool:
12399 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12401 # This program is free software; you can redistribute it and/or modify
12402 # it under the terms of the GNU General Public License as published by
12403 # the Free Software Foundation; either version 2 of the License, or
12404 # (at your option) any later version.
12406 # This program is distributed in the hope that it will be useful, but
12407 # WITHOUT ANY WARRANTY; without even the implied warranty of
12408 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12409 # General Public License for more details.
12411 # You should have received a copy of the GNU General Public License
12412 # along with this program; if not, write to the Free Software
12413 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12415 # As a special exception to the GNU General Public License, if you
12416 # distribute this file as part of a program that contains a
12417 # configuration script generated by Autoconf, you may include it under
12418 # the same distribution terms that you use for the rest of that program.
12420 # A sed program that does not truncate output.
12423 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12424 Xsed="$SED -e 1s/^X//"
12426 # The HP-UX ksh and POSIX shell print the target directory to stdout
12427 # if CDPATH is set.
12428 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12430 # The names of the tagged configurations supported by this script.
12433 # ### BEGIN LIBTOOL CONFIG
12435 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
12437 # Shell to use when invoking shell scripts.
12440 # Whether or not to build shared libraries.
12441 build_libtool_libs=$enable_shared
12443 # Whether or not to build static libraries.
12444 build_old_libs=$enable_static
12446 # Whether or not to add -lc for building shared libraries.
12447 build_libtool_need_lc=$archive_cmds_need_lc
12449 # Whether or not to disallow shared libs when runtime libs are static
12450 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12452 # Whether or not to optimize for fast installation.
12453 fast_install=$enable_fast_install
12456 host_alias=$host_alias
12460 # The build system.
12461 build_alias=$build_alias
12465 # An echo program that does not interpret backslashes.
12470 AR_FLAGS=$lt_AR_FLAGS
12475 # LTCC compiler flags.
12476 LTCFLAGS=$lt_LTCFLAGS
12478 # A language-specific compiler.
12481 # Is the compiler the GNU C compiler?
12487 # The linker used to build libraries.
12490 # Whether we need hard or soft links.
12493 # A BSD-compatible nm program.
12496 # A symbol stripping program
12499 # Used to examine libraries when file_magic_cmd begins "file"
12500 MAGIC_CMD=$MAGIC_CMD
12502 # Used on cygwin: DLL creation program.
12505 # Used on cygwin: object dumper.
12508 # Used on cygwin: assembler.
12511 # The name of the directory that contains temporary libtool files.
12514 # How to create reloadable object files.
12515 reload_flag=$lt_reload_flag
12516 reload_cmds=$lt_reload_cmds
12518 # How to pass a linker flag through the compiler.
12519 wl=$lt_lt_prog_compiler_wl
12521 # Object file suffix (normally "o").
12522 objext="$ac_objext"
12524 # Old archive suffix (normally "a").
12527 # Shared library suffix (normally ".so").
12528 shrext_cmds='$shrext_cmds'
12530 # Executable file suffix (normally "").
12533 # Additional compiler flags for building library objects.
12534 pic_flag=$lt_lt_prog_compiler_pic
12537 # What is the maximum length of a command?
12538 max_cmd_len=$lt_cv_sys_max_cmd_len
12540 # Does compiler simultaneously support -c and -o options?
12541 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12543 # Must we lock files when doing compilation?
12544 need_locks=$lt_need_locks
12546 # Do we need the lib prefix for modules?
12547 need_lib_prefix=$need_lib_prefix
12549 # Do we need a version for libraries?
12550 need_version=$need_version
12552 # Whether dlopen is supported.
12553 dlopen_support=$enable_dlopen
12555 # Whether dlopen of programs is supported.
12556 dlopen_self=$enable_dlopen_self
12558 # Whether dlopen of statically linked programs is supported.
12559 dlopen_self_static=$enable_dlopen_self_static
12561 # Compiler flag to prevent dynamic linking.
12562 link_static_flag=$lt_lt_prog_compiler_static
12564 # Compiler flag to turn off builtin functions.
12565 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12567 # Compiler flag to allow reflexive dlopens.
12568 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12570 # Compiler flag to generate shared objects directly from archives.
12571 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12573 # Compiler flag to generate thread-safe objects.
12574 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12576 # Library versioning type.
12577 version_type=$version_type
12579 # Format of library name prefix.
12580 libname_spec=$lt_libname_spec
12582 # List of archive names. First name is the real one, the rest are links.
12583 # The last name is the one that the linker finds with -lNAME.
12584 library_names_spec=$lt_library_names_spec
12586 # The coded name of the library, if different from the real name.
12587 soname_spec=$lt_soname_spec
12589 # Commands used to build and install an old-style archive.
12591 old_archive_cmds=$lt_old_archive_cmds
12592 old_postinstall_cmds=$lt_old_postinstall_cmds
12593 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12595 # Create an old-style archive from a shared archive.
12596 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12598 # Create a temporary old-style archive to link instead of a shared archive.
12599 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12601 # Commands used to build and install a shared archive.
12602 archive_cmds=$lt_archive_cmds
12603 archive_expsym_cmds=$lt_archive_expsym_cmds
12604 postinstall_cmds=$lt_postinstall_cmds
12605 postuninstall_cmds=$lt_postuninstall_cmds
12607 # Commands used to build a loadable module (assumed same as above if empty)
12608 module_cmds=$lt_module_cmds
12609 module_expsym_cmds=$lt_module_expsym_cmds
12611 # Commands to strip libraries.
12612 old_striplib=$lt_old_striplib
12613 striplib=$lt_striplib
12615 # Dependencies to place before the objects being linked to create a
12617 predep_objects=$lt_predep_objects
12619 # Dependencies to place after the objects being linked to create a
12621 postdep_objects=$lt_postdep_objects
12623 # Dependencies to place before the objects being linked to create a
12625 predeps=$lt_predeps
12627 # Dependencies to place after the objects being linked to create a
12629 postdeps=$lt_postdeps
12631 # The directories searched by this compiler when creating a shared
12633 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12635 # The library search path used internally by the compiler when linking
12636 # a shared library.
12637 compiler_lib_search_path=$lt_compiler_lib_search_path
12639 # Method to check whether dependent libraries are shared objects.
12640 deplibs_check_method=$lt_deplibs_check_method
12642 # Command to use when deplibs_check_method == file_magic.
12643 file_magic_cmd=$lt_file_magic_cmd
12645 # Flag that allows shared libraries with undefined symbols to be built.
12646 allow_undefined_flag=$lt_allow_undefined_flag
12648 # Flag that forces no undefined symbols.
12649 no_undefined_flag=$lt_no_undefined_flag
12651 # Commands used to finish a libtool library installation in a directory.
12652 finish_cmds=$lt_finish_cmds
12654 # Same as above, but a single script fragment to be evaled but not shown.
12655 finish_eval=$lt_finish_eval
12657 # Take the output of nm and produce a listing of raw symbols and C names.
12658 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12660 # Transform the output of nm in a proper C declaration
12661 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12663 # Transform the output of nm in a C name address pair
12664 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12666 # This is the shared library runtime path variable.
12667 runpath_var=$runpath_var
12669 # This is the shared library path variable.
12670 shlibpath_var=$shlibpath_var
12672 # Is shlibpath searched before the hard-coded library search path?
12673 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12675 # How to hardcode a shared library path into an executable.
12676 hardcode_action=$hardcode_action
12678 # Whether we should hardcode library paths into libraries.
12679 hardcode_into_libs=$hardcode_into_libs
12681 # Flag to hardcode \$libdir into a binary during linking.
12682 # This must work even if \$libdir does not exist.
12683 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12685 # If ld is used when linking, flag to hardcode \$libdir into
12686 # a binary during linking. This must work even if \$libdir does
12688 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12690 # Whether we need a single -rpath flag with a separated argument.
12691 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12693 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12694 # resulting binary.
12695 hardcode_direct=$hardcode_direct
12697 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12698 # resulting binary.
12699 hardcode_minus_L=$hardcode_minus_L
12701 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12702 # the resulting binary.
12703 hardcode_shlibpath_var=$hardcode_shlibpath_var
12705 # Set to yes if building a shared library automatically hardcodes DIR into the library
12706 # and all subsequent libraries and executables linked against it.
12707 hardcode_automatic=$hardcode_automatic
12709 # Variables whose values should be saved in libtool wrapper scripts and
12710 # restored at relink time.
12711 variables_saved_for_relink="$variables_saved_for_relink"
12713 # Whether libtool must link a program against all its dependency libraries.
12714 link_all_deplibs=$link_all_deplibs
12716 # Compile-time system search path for libraries
12717 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12719 # Run-time system search path for libraries
12720 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12722 # Fix the shell variable \$srcfile for the compiler.
12723 fix_srcfile_path=$lt_fix_srcfile_path
12725 # Set to yes if exported symbols are required.
12726 always_export_symbols=$always_export_symbols
12728 # The commands to list exported symbols.
12729 export_symbols_cmds=$lt_export_symbols_cmds
12731 # The commands to extract the exported symbol list from a shared archive.
12732 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12734 # Symbols that should not be listed in the preloaded symbols.
12735 exclude_expsyms=$lt_exclude_expsyms
12737 # Symbols that must always be exported.
12738 include_expsyms=$lt_include_expsyms
12740 # ### END LIBTOOL CONFIG
12747 cat <<\EOF >> "$cfgfile"
12749 # AIX sometimes has problems with the GCC collect2 program. For some
12750 # reason, if we set the COLLECT_NAMES environment variable, the problems
12751 # vanish in a puff of smoke.
12752 if test "X${COLLECT_NAMES+set}" != Xset; then
12754 export COLLECT_NAMES
12760 # We use sed instead of cat because bash on DJGPP gets confused if
12761 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12762 # text mode, it properly converts lines to CR/LF. This bash problem
12763 # is reportedly fixed, but why not run on old versions too?
12764 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12766 mv -f "$cfgfile" "$ofile" || \
12767 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12771 # If there is no Makefile yet, we rely on a make rule to execute
12772 # `config.status
--recheck' to rerun these tests and create the
12773 # libtool script then.
12774 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12775 if test -f "$ltmain_in"; then
12776 test -f Makefile && make "$ltmain"
12782 ac_cpp='$CPP $CPPFLAGS'
12783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12784 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12790 # Check whether --with-tags was given.
12791 if test "${with_tags+set}" = set; then
12792 withval=$with_tags; tagnames="$withval"
12796 if test -f "$ltmain" && test -n "$tagnames"; then
12797 if test ! -f "${ofile}"; then
12798 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12799 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12802 if test -z "$LTCC"; then
12803 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
12804 if test -z "$LTCC"; then
12805 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12806 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12808 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12809 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12812 if test -z "$LTCFLAGS"; then
12813 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
12816 # Extract list of available tagged configurations in $ofile.
12817 # Note that this assumes the entire list is on one line.
12818 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12820 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12821 for tagname in $tagnames; do
12823 # Check whether tagname contains only valid characters
12824 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12826 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12827 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
12828 { (exit 1); exit 1; }; }
12832 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12834 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12835 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12836 { (exit 1); exit 1; }; }
12839 # Update the list of available tags.
12840 if test -n "$tagname"; then
12841 echo appending configuration tag \"$tagname\" to $ofile
12845 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12846 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12847 (test "X$CXX" != "Xg++"))) ; then
12849 ac_cpp='$CXXCPP $CPPFLAGS'
12850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12857 archive_cmds_need_lc_CXX=no
12858 allow_undefined_flag_CXX=
12859 always_export_symbols_CXX=no
12860 archive_expsym_cmds_CXX=
12861 export_dynamic_flag_spec_CXX=
12862 hardcode_direct_CXX=no
12863 hardcode_libdir_flag_spec_CXX=
12864 hardcode_libdir_flag_spec_ld_CXX=
12865 hardcode_libdir_separator_CXX=
12866 hardcode_minus_L_CXX=no
12867 hardcode_shlibpath_var_CXX=unsupported
12868 hardcode_automatic_CXX=no
12870 module_expsym_cmds_CXX=
12871 link_all_deplibs_CXX=unknown
12872 old_archive_cmds_CXX=$old_archive_cmds
12873 no_undefined_flag_CXX=
12874 whole_archive_flag_spec_CXX=
12875 enable_shared_with_static_runtimes_CXX=no
12877 # Dependencies to place before and after the object being linked:
12878 predep_objects_CXX=
12879 postdep_objects_CXX=
12882 compiler_lib_search_path_CXX=
12883 compiler_lib_search_dirs_CXX=
12885 # Source file extension for C++ test sources.
12888 # Object file extension for compiled C++ test sources.
12892 # Code to be used in simple compile tests
12893 lt_simple_compile_test_code="int some_variable = 0;"
12895 # Code to be used in simple link tests
12896 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12898 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12900 # If no C compiler was specified, use CC.
12903 # If no C compiler flags were specified, use CFLAGS.
12904 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12906 # Allow CC to be a program name with arguments.
12910 # save warnings/boilerplate of simple test code
12911 ac_outfile=conftest.$ac_objext
12912 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12913 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12914 _lt_compiler_boilerplate=`cat conftest.err
`
12917 ac_outfile=conftest.$ac_objext
12918 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12919 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12920 _lt_linker_boilerplate=`cat conftest.err
`
12924 # Allow CC to be a program name with arguments.
12929 lt_save_with_gnu_ld=$with_gnu_ld
12930 lt_save_path_LD=$lt_cv_path_LD
12931 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12932 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12934 $as_unset lt_cv_prog_gnu_ld
12936 if test -n "${lt_cv_path_LDCXX+set}"; then
12937 lt_cv_path_LD=$lt_cv_path_LDCXX
12939 $as_unset lt_cv_path_LD
12941 test -z "${LDCXX+set}" || LD=$LDCXX
12945 for cc_temp in $compiler""; do
12947 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12948 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12953 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12956 # We don't want -fno-exception wen compiling C++ code, so set the
12957 # no_builtin_flag separately
12958 if test "$GXX" = yes; then
12959 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12961 lt_prog_compiler_no_builtin_flag_CXX=
12964 if test "$GXX" = yes; then
12965 # Set up default GNU C++ configuration
12968 # Check whether --with-gnu-ld was given.
12969 if test "${with_gnu_ld+set}" = set; then
12970 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12976 if test "$GCC" = yes; then
12977 # Check if gcc -print-prog-name=ld gives a path.
12978 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12979 $as_echo_n "checking for ld used by $CC... " >&6; }
12982 # gcc leaves a trailing carriage return which upsets mingw
12983 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12985 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12988 # Accept absolute paths.
12990 re_direlt='/[^/][^/]*/\.\./'
12991 # Canonicalize the pathname of ld
12992 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
12993 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12994 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
12996 test -z "$LD" && LD="$ac_prog"
12999 # If it fails, then pretend we aren't using GCC.
13003 # If it is relative, then search for the first ld in PATH.
13004 with_gnu_ld=unknown
13007 elif test "$with_gnu_ld" = yes; then
13008 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13009 $as_echo_n "checking for GNU ld... " >&6; }
13011 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13012 $as_echo_n "checking for non-GNU ld... " >&6; }
13014 if test "${lt_cv_path_LD+set}" = set; then
13015 $as_echo_n "(cached) " >&6
13017 if test -z "$LD"; then
13018 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13019 for ac_dir in $PATH; do
13021 test -z "$ac_dir" && ac_dir=.
13022 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13023 lt_cv_path_LD="$ac_dir/$ac_prog"
13024 # Check to see if the program is GNU ld. I'd rather use --version,
13025 # but apparently some variants of GNU ld only accept -v.
13026 # Break only if it was the GNU/non-GNU ld that we prefer.
13027 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
13028 *GNU* | *'with BFD'*)
13029 test "$with_gnu_ld" != no && break
13032 test "$with_gnu_ld" != yes && break
13039 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13043 LD="$lt_cv_path_LD"
13044 if test -n "$LD"; then
13045 { $as_echo "$as_me:$LINENO: result: $LD" >&5
13046 $as_echo "$LD" >&6; }
13048 { $as_echo "$as_me:$LINENO: result: no" >&5
13049 $as_echo "no" >&6; }
13051 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13052 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13053 { (exit 1); exit 1; }; }
13054 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13055 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13056 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13057 $as_echo_n "(cached) " >&6
13059 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13060 case `$LD -v 2>&1 </dev
/null
` in
13061 *GNU* | *'with BFD'*)
13062 lt_cv_prog_gnu_ld=yes
13065 lt_cv_prog_gnu_ld=no
13069 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13070 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13071 with_gnu_ld=$lt_cv_prog_gnu_ld
13075 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13076 # archiving commands below assume that GNU ld is being used.
13077 if test "$with_gnu_ld" = yes; then
13078 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13079 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13081 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13082 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13084 # If archive_cmds runs LD, not CC, wlarc should be empty
13085 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13086 # investigate it a little bit more. (MM)
13089 # ancient GNU ld didn't support --whole-archive et. al.
13090 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
13091 grep 'no-whole-archive' > /dev/null; then
13092 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13094 whole_archive_flag_spec_CXX=
13100 # A generic and very simple default shared library creation
13101 # command for GNU C++ for the case where it uses the native
13102 # linker, instead of GNU ld. If possible, this setting should
13103 # overridden to take advantage of the native linker features on
13104 # the platform it is being used on.
13105 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13108 # Commands to make compiler produce verbose output that lists
13109 # what "hidden" libraries, object files and flags are used when
13110 # linking a shared library.
13111 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13119 # PORTME: fill in a description of your system's C++ link characteristics
13120 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13121 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13125 # FIXME: insert proper C++ library support
13129 if test "$host_cpu" = ia64; then
13130 # On IA64, the linker does run time linking by default, so we don't
13131 # have to do anything special.
13132 aix_use_runtimelinking=no
13133 exp_sym_flag='-Bexport'
13136 aix_use_runtimelinking=no
13138 # Test if we are trying to use run time linking or normal
13139 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13140 # need to do runtime linking.
13141 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13142 for ld_flag in $LDFLAGS; do
13145 aix_use_runtimelinking=yes
13153 exp_sym_flag='-bexport'
13154 no_entry_flag='-bnoentry'
13157 # When large executables or shared objects are built, AIX ld can
13158 # have problems creating the table of contents. If linking a library
13159 # or program results in "error TOC overflow" add -mminimal-toc to
13160 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13161 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13163 archive_cmds_CXX=''
13164 hardcode_direct_CXX=yes
13165 hardcode_libdir_separator_CXX=':'
13166 link_all_deplibs_CXX=yes
13168 if test "$GXX" = yes; then
13169 case $host_os in aix4.[012]|aix4.[012].*)
13170 # We only want to do this on AIX 4.2 and lower, the check
13171 # below for broken collect2 doesn't work under 4.3+
13172 collect2name=`${CC} -print-prog-name=collect2
`
13173 if test -f "$collect2name" && \
13174 strings "$collect2name" | grep resolve_lib_name >/dev/null
13176 # We have reworked collect2
13179 # We have old collect2
13180 hardcode_direct_CXX=unsupported
13181 # It fails to find uninstalled libraries when the uninstalled
13182 # path is not listed in the libpath. Setting hardcode_minus_L
13183 # to unsupported forces relinking
13184 hardcode_minus_L_CXX=yes
13185 hardcode_libdir_flag_spec_CXX='-L$libdir'
13186 hardcode_libdir_separator_CXX=
13190 shared_flag='-shared'
13191 if test "$aix_use_runtimelinking" = yes; then
13192 shared_flag="$shared_flag "'${wl}-G'
13196 if test "$host_cpu" = ia64; then
13197 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13198 # chokes on -Wl,-G. The following line is correct:
13201 if test "$aix_use_runtimelinking" = yes; then
13202 shared_flag='${wl}-G'
13204 shared_flag='${wl}-bM:SRE'
13209 # It seems that -bexpall does not export symbols beginning with
13210 # underscore (_), so it is better to generate a list of symbols to export.
13211 always_export_symbols_CXX=yes
13212 if test "$aix_use_runtimelinking" = yes; then
13213 # Warning - without using the other runtime loading flags (-brtl),
13214 # -berok will link without error, but may produce a broken library.
13215 allow_undefined_flag_CXX='-berok'
13216 # Determine the default libpath from the value encoded in an empty executable.
13217 cat >conftest.$ac_ext <<_ACEOF
13220 cat confdefs.h >>conftest.$ac_ext
13221 cat >>conftest.$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13232 rm -f conftest.$ac_objext conftest$ac_exeext
13233 if { (ac_try="$ac_link"
13234 case "(($ac_try" in
13235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13236 *) ac_try_echo
=$ac_try;;
13238 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13239 $as_echo "$ac_try_echo") >&5
13240 (eval "$ac_link") 2>conftest.er1
13242 grep -v '^ *+' conftest.er1
>conftest.err
13244 cat conftest.err
>&5
13245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); } && {
13247 test -z "$ac_cxx_werror_flag" ||
13248 test ! -s conftest.err
13249 } && test -s conftest
$ac_exeext && {
13250 test "$cross_compiling" = yes ||
13251 $as_test_x conftest
$ac_exeext
13254 lt_aix_libpath_sed
='
13255 /Import File Strings/,/^$/ {
13261 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13262 # Check for a 64-bit object if we didn't find anything.
13263 if test -z "$aix_libpath"; then
13264 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13267 $as_echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.
$ac_ext >&5
13273 rm -rf conftest.dSYM
13274 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13275 conftest
$ac_exeext conftest.
$ac_ext
13276 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13278 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13280 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13282 if test "$host_cpu" = ia64
; then
13283 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13284 allow_undefined_flag_CXX
="-z nodefs"
13285 archive_expsym_cmds_CXX
="\$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"
13287 # Determine the default libpath from the value encoded in an empty executable.
13288 cat >conftest.
$ac_ext <<_ACEOF
13291 cat confdefs.h
>>conftest.
$ac_ext
13292 cat >>conftest.
$ac_ext <<_ACEOF
13293 /* end confdefs.h. */
13303 rm -f conftest.
$ac_objext conftest
$ac_exeext
13304 if { (ac_try
="$ac_link"
13305 case "(($ac_try" in
13306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13310 $as_echo "$ac_try_echo") >&5
13311 (eval "$ac_link") 2>conftest.er1
13313 grep -v '^ *+' conftest.er1 >conftest.err
13315 cat conftest.err >&5
13316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } && {
13318 test -z "$ac_cxx_werror_flag" ||
13319 test ! -s conftest.err
13320 } && test -s conftest$ac_exeext && {
13321 test "$cross_compiling" = yes ||
13322 $as_test_x conftest$ac_exeext
13325 lt_aix_libpath_sed='
13326 /Import File Strings/,/^$/ {
13332 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13333 # Check for a 64-bit object if we didn't find anything.
13334 if test -z "$aix_libpath"; then
13335 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13338 $as_echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13344 rm -rf conftest.dSYM
13345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13346 conftest$ac_exeext conftest.$ac_ext
13347 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13349 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13350 # Warning - without using the other run time loading flags,
13351 # -berok will link without error, but may produce a broken library.
13352 no_undefined_flag_CXX=' ${wl}-bernotok'
13353 allow_undefined_flag_CXX=' ${wl}-berok'
13354 # Exported symbols can be pulled into shared objects from archives
13355 whole_archive_flag_spec_CXX='$convenience'
13356 archive_cmds_need_lc_CXX=yes
13357 # This is similar to how AIX traditionally builds its shared libraries.
13358 archive_expsym_cmds_CXX="\$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'
13364 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13365 allow_undefined_flag_CXX=unsupported
13366 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13367 # support --undefined. This deserves some investigation. FIXME
13368 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13375 case $cc_basename in
13377 # FIXME: insert proper C++ library support
13383 cygwin* | mingw* | pw32*)
13384 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13385 # as there is no search path for DLLs.
13386 hardcode_libdir_flag_spec_CXX='-L$libdir'
13387 allow_undefined_flag_CXX=unsupported
13388 always_export_symbols_CXX=no
13389 enable_shared_with_static_runtimes_CXX=yes
13391 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13392 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13393 # If the export-symbols file already is a .def file (1st line
13394 # is EXPORTS), use it as is; otherwise, prepend...
13395 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
13396 cp $export_symbols $output_objdir/$soname.def;
13398 echo EXPORTS > $output_objdir/$soname.def;
13399 cat $export_symbols >> $output_objdir/$soname.def;
13401 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13406 darwin* | rhapsody*)
13407 archive_cmds_need_lc_CXX=no
13408 hardcode_direct_CXX=no
13409 hardcode_automatic_CXX=yes
13410 hardcode_shlibpath_var_CXX=unsupported
13411 whole_archive_flag_spec_CXX=''
13412 link_all_deplibs_CXX=yes
13413 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13414 if test "$GXX" = yes ; then
13415 output_verbose_link_cmd='echo'
13416 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13417 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13418 archive_expsym_cmds_CXX="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}"
13419 module_expsym_cmds_CXX="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}"
13420 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13421 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13422 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13425 case $cc_basename in
13427 output_verbose_link_cmd='echo'
13428 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13429 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13430 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13431 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13432 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13442 case $cc_basename in
13444 # FIXME: insert proper C++ library support
13448 # Green Hills C++ Compiler
13449 # FIXME: insert proper C++ library support
13453 # FIXME: insert proper C++ library support
13459 # C++ shared libraries reported to be fairly broken before switch to ELF
13463 archive_cmds_need_lc_CXX=no
13465 freebsd* | dragonfly*)
13466 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13473 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13474 hardcode_libdir_separator_CXX=:
13475 export_dynamic_flag_spec_CXX='${wl}-E'
13476 hardcode_direct_CXX=yes
13477 hardcode_minus_L_CXX=yes # Not in the search PATH,
13478 # but as the default
13479 # location of the library.
13481 case $cc_basename in
13483 # FIXME: insert proper C++ library support
13487 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13488 # Commands to make compiler produce verbose output that lists
13489 # what "hidden" libraries, object files and flags are used when
13490 # linking a shared library.
13492 # There doesn't appear to be a way to prevent this compiler from
13493 # explicitly linking system object files so we need to strip them
13494 # from the output so that they don't get included in the library
13496 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13499 if test "$GXX" = yes; then
13500 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13502 # FIXME: insert proper C++ library support
13509 if test $with_gnu_ld = no; then
13510 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13511 hardcode_libdir_separator_CXX=:
13516 export_dynamic_flag_spec_CXX='${wl}-E'
13522 hardcode_direct_CXX=no
13523 hardcode_shlibpath_var_CXX=no
13526 hardcode_direct_CXX=yes
13527 hardcode_minus_L_CXX=yes # Not in the search PATH,
13528 # but as the default
13529 # location of the library.
13533 case $cc_basename in
13535 # FIXME: insert proper C++ library support
13541 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13544 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13547 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13550 # Commands to make compiler produce verbose output that lists
13551 # what "hidden" libraries, object files and flags are used when
13552 # linking a shared library.
13554 # There doesn't appear to be a way to prevent this compiler from
13555 # explicitly linking system object files so we need to strip them
13556 # from the output so that they don't get included in the library
13558 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13561 if test "$GXX" = yes; then
13562 if test $with_gnu_ld = no; then
13565 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13568 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13571 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13576 # FIXME: insert proper C++ library support
13583 hardcode_direct_CXX=no
13584 hardcode_shlibpath_var_CXX=no
13585 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13586 export_dynamic_flag_spec_CXX='${wl}-E'
13587 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13588 # Instead, shared libraries are loaded at an image base (0x10000000 by
13589 # default) and relocated if they conflict, which is a slow very memory
13590 # consuming and fragmenting process. To avoid this, we pick a random,
13591 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13592 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13593 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13594 archive_expsym_cmds_CXX='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'
13597 case $cc_basename in
13600 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13602 # Archives containing C++ object files must be created using
13603 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13604 # necessary to make sure instantiated templates are included
13606 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13609 if test "$GXX" = yes; then
13610 if test "$with_gnu_ld" = no; then
13611 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13613 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
13616 link_all_deplibs_CXX=yes
13619 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13620 hardcode_libdir_separator_CXX=:
13622 linux* | k*bsd*-gnu)
13623 case $cc_basename in
13625 # Kuck and Associates, Inc. (KAI) C++ Compiler
13627 # KCC will only create a shared library if the output file
13628 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13629 # to its proper name (with version) after linking.
13630 archive_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib; mv \
$templib $lib'
13631 archive_expsym_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib ${wl}-retain-symbols-file,$export_symbols; mv \
$templib $lib'
13632 # Commands to make compiler produce verbose output that lists
13633 # what "hidden" libraries, object files and flags are used when
13634 # linking a shared library.
13636 # There doesn't appear to be a way to prevent this compiler from
13637 # explicitly linking system object files so we need to strip them
13638 # from the output so that they don't get included in the library
13640 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13642 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
13643 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13645 # Archives containing C++ object files must be created using
13646 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13647 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13652 # version 8.0 and above of icpc choke on multiply defined symbols
13653 # if we add $predep_objects and $postdep_objects, however 7.1 and
13654 # earlier do not add the objects themselves.
13655 case `$CC -V 2>&1` in
13657 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13658 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13660 *) # Version 8.0 or newer
13663 ia64
*) tmp_idyn
=' -i_dynamic';;
13665 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13666 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13669 archive_cmds_need_lc_CXX
=no
13670 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13671 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13672 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13675 # Portland Group C++ compiler
13676 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13677 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13679 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13680 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13681 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13685 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13686 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13688 runpath_var
=LD_RUN_PATH
13689 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13690 hardcode_libdir_separator_CXX
=:
13692 # Commands to make compiler produce verbose output that lists
13693 # what "hidden" libraries, object files and flags are used when
13694 # linking a shared library.
13696 # There doesn't appear to be a way to prevent this compiler from
13697 # explicitly linking system object files so we need to strip them
13698 # from the output so that they don't get included in the library
13700 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13703 case `$CC -V 2>&1 | sed 5q` in
13706 no_undefined_flag_CXX
=' -zdefs'
13707 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13708 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13709 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13710 whole_archive_flag_spec_CXX
='${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'
13712 # Not sure whether something based on
13713 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13715 output_verbose_link_cmd
='echo'
13717 # Archives containing C++ object files must be created using
13718 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13719 # necessary to make sure instantiated templates are included
13721 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13728 # FIXME: insert proper C++ library support
13732 # FIXME: insert proper C++ library support
13736 case $cc_basename in
13738 # FIXME: insert proper C++ library support
13742 # FIXME: insert proper C++ library support
13748 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13749 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13751 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13752 hardcode_direct_CXX
=yes
13753 hardcode_shlibpath_var_CXX
=no
13755 # Workaround some broken pre-1.5 toolchains
13756 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13759 # C++ shared libraries are fairly broken
13763 if test -f /usr
/libexec
/ld.so
; then
13764 hardcode_direct_CXX
=yes
13765 hardcode_shlibpath_var_CXX
=no
13766 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13767 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13768 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13769 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13770 export_dynamic_flag_spec_CXX
='${wl}-E'
13771 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13773 output_verbose_link_cmd
='echo'
13779 case $cc_basename in
13781 # Kuck and Associates, Inc. (KAI) C++ Compiler
13783 # KCC will only create a shared library if the output file
13784 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13785 # to its proper name (with version) after linking.
13786 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13788 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13789 hardcode_libdir_separator_CXX
=:
13791 # Archives containing C++ object files must be created using
13792 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13793 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13797 # Rational C++ 2.4.1
13798 # FIXME: insert proper C++ library support
13802 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13803 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13805 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13806 hardcode_libdir_separator_CXX
=:
13808 # Commands to make compiler produce verbose output that lists
13809 # what "hidden" libraries, object files and flags are used when
13810 # linking a shared library.
13812 # There doesn't appear to be a way to prevent this compiler from
13813 # explicitly linking system object files so we need to strip them
13814 # from the output so that they don't get included in the library
13816 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13819 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13820 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13821 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13823 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13824 hardcode_libdir_separator_CXX
=:
13826 # Commands to make compiler produce verbose output that lists
13827 # what "hidden" libraries, object files and flags are used when
13828 # linking a shared library.
13829 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13832 # FIXME: insert proper C++ library support
13839 case $cc_basename in
13841 # Kuck and Associates, Inc. (KAI) C++ Compiler
13843 # KCC will only create a shared library if the output file
13844 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13845 # to its proper name (with version) after linking.
13846 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13848 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13849 hardcode_libdir_separator_CXX
=:
13851 # Archives containing C++ object files must be created using
13852 # the KAI C++ compiler.
13853 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13856 # Rational C++ 2.4.1
13857 # FIXME: insert proper C++ library support
13861 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13862 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13863 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13864 echo "-hidden">> $lib.exp~
13865 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
13868 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13869 hardcode_libdir_separator_CXX
=:
13871 # Commands to make compiler produce verbose output that lists
13872 # what "hidden" libraries, object files and flags are used when
13873 # linking a shared library.
13875 # There doesn't appear to be a way to prevent this compiler from
13876 # explicitly linking system object files so we need to strip them
13877 # from the output so that they don't get included in the library
13879 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13882 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13883 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13884 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13886 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13887 hardcode_libdir_separator_CXX
=:
13889 # Commands to make compiler produce verbose output that lists
13890 # what "hidden" libraries, object files and flags are used when
13891 # linking a shared library.
13892 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13895 # FIXME: insert proper C++ library support
13902 # FIXME: insert proper C++ library support
13906 case $cc_basename in
13909 # FIXME: insert proper C++ library support
13914 # FIXME: insert proper C++ library support
13918 # FIXME: insert proper C++ library support
13924 case $cc_basename in
13926 # Sun C++ 4.2, 5.x and Centerline C++
13927 archive_cmds_need_lc_CXX
=yes
13928 no_undefined_flag_CXX
=' -zdefs'
13929 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13930 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13931 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13933 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13934 hardcode_shlibpath_var_CXX
=no
13936 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13938 # The compiler driver will combine and reorder linker options,
13939 # but understands `-z linker_flag'.
13940 # Supported since Solaris 2.6 (maybe 2.5.1?)
13941 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13944 link_all_deplibs_CXX
=yes
13946 output_verbose_link_cmd
='echo'
13948 # Archives containing C++ object files must be created using
13949 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13950 # necessary to make sure instantiated templates are included
13952 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13955 # Green Hills C++ Compiler
13956 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13958 # The C++ compiler must be used to create the archive.
13959 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13962 # GNU C++ compiler with Solaris linker
13963 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13964 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13965 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13966 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13967 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13968 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13970 # Commands to make compiler produce verbose output that lists
13971 # what "hidden" libraries, object files and flags are used when
13972 # linking a shared library.
13973 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13975 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13977 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13978 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13979 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13981 # Commands to make compiler produce verbose output that lists
13982 # what "hidden" libraries, object files and flags are used when
13983 # linking a shared library.
13984 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13987 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13989 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13991 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13998 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13999 no_undefined_flag_CXX
='${wl}-z,text'
14000 archive_cmds_need_lc_CXX
=no
14001 hardcode_shlibpath_var_CXX
=no
14002 runpath_var
='LD_RUN_PATH'
14004 case $cc_basename in
14006 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14007 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14010 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14011 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14015 sysv5
* | sco3.2v5
* | sco5v6
*)
14016 # Note: We can NOT use -z defs as we might desire, because we do not
14017 # link with -lc, and that would cause any symbols used from libc to
14018 # always be unresolved, which means just about no library would
14019 # ever link correctly. If we're not using GNU ld we use -z text
14020 # though, which does catch some bad symbols but isn't as heavy-handed
14022 # For security reasons, it is highly recommended that you always
14023 # use absolute paths for naming shared libraries, and exclude the
14024 # DT_RUNPATH tag from executables and libraries. But doing so
14025 # requires that you compile everything twice, which is a pain.
14026 # So that behaviour is only enabled if SCOABSPATH is set to a
14027 # non-empty value in the environment. Most likely only useful for
14028 # creating official distributions of packages.
14029 # This is a hack until libtool officially supports absolute path
14030 # names for shared libraries.
14031 no_undefined_flag_CXX
='${wl}-z,text'
14032 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14033 archive_cmds_need_lc_CXX
=no
14034 hardcode_shlibpath_var_CXX
=no
14035 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14036 hardcode_libdir_separator_CXX
=':'
14037 link_all_deplibs_CXX
=yes
14038 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14039 runpath_var
='LD_RUN_PATH'
14041 case $cc_basename in
14043 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14044 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14047 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14048 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14053 case $cc_basename in
14055 # NonStop-UX NCC 3.20
14056 # FIXME: insert proper C++ library support
14060 # FIXME: insert proper C++ library support
14066 # FIXME: insert proper C++ library support
14070 # FIXME: insert proper C++ library support
14074 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14075 $as_echo "$ld_shlibs_CXX" >&6; }
14076 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14081 cat > conftest.
$ac_ext <<EOF
14085 Foo (void) { a = 0; }
14091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14092 (eval $ac_compile) 2>&5
14094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; then
14096 # Parse the compiler output and extract the necessary
14097 # objects, libraries and library flags.
14099 # Sentinel used to keep track of whether or not we are before
14100 # the conftest object file.
14101 pre_test_object_deps_done
=no
14103 # The `*' in the case matches for architectures that use `case' in
14104 # $output_verbose_cmd can trigger glob expansion during the loop
14105 # eval without this substitution.
14106 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14108 for p
in `eval $output_verbose_link_cmd`; do
14112 # Some compilers place space between "-{L,R}" and the path.
14113 # Remove the space.
14114 if test $p = "-L" \
14115 ||
test $p = "-R"; then
14122 if test "$pre_test_object_deps_done" = no
; then
14125 # Internal compiler library paths should come after those
14126 # provided the user. The postdeps already come after the
14127 # user supplied libs so there is no need to process them.
14128 if test -z "$compiler_lib_search_path_CXX"; then
14129 compiler_lib_search_path_CXX
="${prev}${p}"
14131 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14134 # The "-l" case would never come before the object being
14135 # linked, so don't bother handling this case.
14138 if test -z "$postdeps_CXX"; then
14139 postdeps_CXX
="${prev}${p}"
14141 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14147 # This assumes that the test object file only shows up
14148 # once in the compiler output.
14149 if test "$p" = "conftest.$objext"; then
14150 pre_test_object_deps_done
=yes
14154 if test "$pre_test_object_deps_done" = no
; then
14155 if test -z "$predep_objects_CXX"; then
14156 predep_objects_CXX
="$p"
14158 predep_objects_CXX
="$predep_objects_CXX $p"
14161 if test -z "$postdep_objects_CXX"; then
14162 postdep_objects_CXX
="$p"
14164 postdep_objects_CXX
="$postdep_objects_CXX $p"
14169 *) ;; # Ignore the rest.
14177 echo "libtool.m4: error: problem compiling CXX test program"
14180 $rm -f confest.
$objext
14182 compiler_lib_search_dirs_CXX
=
14183 if test -n "$compiler_lib_search_path_CXX"; then
14184 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14187 # PORTME: override above test on systems where it is broken
14190 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14191 # hack all around it, let's just trust "g++" to DTRT.
14192 predep_objects_CXX
=
14193 postdep_objects_CXX
=
14198 case `$CC -V 2>&1 | sed 5q` in
14202 # The more standards-conforming stlport4 library is
14203 # incompatible with the Cstd library. Avoid specifying
14204 # it if it's in CXXFLAGS. Ignore libCrun as
14205 # -library=stlport4 depends on it.
14206 case " $CXX $CXXFLAGS " in
14207 *" -library=stlport4 "*)
14208 solaris_use_stlport4
=yes
14211 if test "$solaris_use_stlport4" != yes; then
14212 postdeps_CXX
='-library=Cstd -library=Crun'
14219 case $cc_basename in
14221 # The more standards-conforming stlport4 library is
14222 # incompatible with the Cstd library. Avoid specifying
14223 # it if it's in CXXFLAGS. Ignore libCrun as
14224 # -library=stlport4 depends on it.
14225 case " $CXX $CXXFLAGS " in
14226 *" -library=stlport4 "*)
14227 solaris_use_stlport4
=yes
14231 # Adding this requires a known-good setup of shared libraries for
14232 # Sun compiler versions before 5.6, else PIC objects from an old
14233 # archive will be linked into the output, leading to subtle bugs.
14234 if test "$solaris_use_stlport4" != yes; then
14235 postdeps_CXX
='-library=Cstd -library=Crun'
14242 case " $postdeps_CXX " in
14243 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14246 lt_prog_compiler_wl_CXX
=
14247 lt_prog_compiler_pic_CXX
=
14248 lt_prog_compiler_static_CXX
=
14250 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14251 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14253 # C++ specific cases for pic, static, wl, etc.
14254 if test "$GXX" = yes; then
14255 lt_prog_compiler_wl_CXX
='-Wl,'
14256 lt_prog_compiler_static_CXX
='-static'
14260 # All AIX code is PIC.
14261 if test "$host_cpu" = ia64
; then
14262 # AIX 5 now supports IA64 processor
14263 lt_prog_compiler_static_CXX
='-Bstatic'
14267 # FIXME: we need at least 68020 code to build shared libraries, but
14268 # adding the `-m68020' flag to GCC prevents building anything better,
14270 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14272 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14273 # PIC is the default for these OSes.
14275 mingw
* | cygwin
* | os2
* | pw32
*)
14276 # This hack is so that the source file can tell whether it is being
14277 # built for inclusion in a dll (and should export symbols for example).
14278 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14279 # (--disable-auto-import) libraries
14280 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14282 darwin
* | rhapsody
*)
14283 # PIC is the default on this platform
14284 # Common symbols not allowed in MH_DYLIB files
14285 lt_prog_compiler_pic_CXX
='-fno-common'
14288 # DJGPP does not support shared libraries at all
14289 lt_prog_compiler_pic_CXX
=
14292 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14293 # Instead, we relocate shared libraries at runtime.
14296 if test -d /usr
/nec
; then
14297 lt_prog_compiler_pic_CXX
=-Kconform_pic
14301 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14302 # not for PA HP-UX.
14307 lt_prog_compiler_pic_CXX
='-fPIC'
14312 lt_prog_compiler_pic_CXX
='-fPIC'
14318 # All AIX code is PIC.
14319 if test "$host_cpu" = ia64
; then
14320 # AIX 5 now supports IA64 processor
14321 lt_prog_compiler_static_CXX
='-Bstatic'
14323 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14327 case $cc_basename in
14329 # Green Hills C++ Compiler
14330 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14335 # PIC is the default on this platform
14336 # Common symbols not allowed in MH_DYLIB files
14337 case $cc_basename in
14339 lt_prog_compiler_pic_CXX
='-qnocommon'
14340 lt_prog_compiler_wl_CXX
='-Wl,'
14345 case $cc_basename in
14347 lt_prog_compiler_pic_CXX
='-KPIC'
14350 # Green Hills C++ Compiler
14351 lt_prog_compiler_pic_CXX
='-pic'
14357 freebsd
* | dragonfly
*)
14358 # FreeBSD uses GNU C++
14360 hpux9
* | hpux10
* | hpux11
*)
14361 case $cc_basename in
14363 lt_prog_compiler_wl_CXX
='-Wl,'
14364 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14365 if test "$host_cpu" != ia64
; then
14366 lt_prog_compiler_pic_CXX
='+Z'
14370 lt_prog_compiler_wl_CXX
='-Wl,'
14371 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14377 lt_prog_compiler_pic_CXX
='+Z'
14386 # This is c89, which is MS Visual C++ (no shared libs)
14387 # Anyone wants to do a port?
14389 irix5
* | irix6
* | nonstopux
*)
14390 case $cc_basename in
14392 lt_prog_compiler_wl_CXX
='-Wl,'
14393 lt_prog_compiler_static_CXX
='-non_shared'
14394 # CC pic flag -KPIC is the default.
14400 linux
* | k
*bsd
*-gnu)
14401 case $cc_basename in
14404 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14405 lt_prog_compiler_pic_CXX
='-fPIC'
14409 lt_prog_compiler_wl_CXX
='-Wl,'
14410 lt_prog_compiler_pic_CXX
='-KPIC'
14411 lt_prog_compiler_static_CXX
='-static'
14414 # Portland Group C++ compiler.
14415 lt_prog_compiler_wl_CXX
='-Wl,'
14416 lt_prog_compiler_pic_CXX
='-fpic'
14417 lt_prog_compiler_static_CXX
='-Bstatic'
14421 # Make sure the PIC flag is empty. It appears that all Alpha
14422 # Linux and Compaq Tru64 Unix objects are PIC.
14423 lt_prog_compiler_pic_CXX
=
14424 lt_prog_compiler_static_CXX
='-non_shared'
14427 case `$CC -V 2>&1 | sed 5q` in
14430 lt_prog_compiler_pic_CXX
='-KPIC'
14431 lt_prog_compiler_static_CXX
='-Bstatic'
14432 lt_prog_compiler_wl_CXX
='-Qoption ld '
14443 case $cc_basename in
14445 lt_prog_compiler_pic_CXX
='-W c,exportall'
14453 osf3
* | osf4
* | osf5
*)
14454 case $cc_basename in
14456 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14459 # Rational C++ 2.4.1
14460 lt_prog_compiler_pic_CXX
='-pic'
14463 # Digital/Compaq C++
14464 lt_prog_compiler_wl_CXX
='-Wl,'
14465 # Make sure the PIC flag is empty. It appears that all Alpha
14466 # Linux and Compaq Tru64 Unix objects are PIC.
14467 lt_prog_compiler_pic_CXX
=
14468 lt_prog_compiler_static_CXX
='-non_shared'
14477 case $cc_basename in
14479 # Sun C++ 4.2, 5.x and Centerline C++
14480 lt_prog_compiler_pic_CXX
='-KPIC'
14481 lt_prog_compiler_static_CXX
='-Bstatic'
14482 lt_prog_compiler_wl_CXX
='-Qoption ld '
14485 # Green Hills C++ Compiler
14486 lt_prog_compiler_pic_CXX
='-PIC'
14493 case $cc_basename in
14496 lt_prog_compiler_pic_CXX
='-pic'
14497 lt_prog_compiler_static_CXX
='-Bstatic'
14501 lt_prog_compiler_pic_CXX
='-pic'
14508 case $cc_basename in
14510 # NonStop-UX NCC 3.20
14511 lt_prog_compiler_pic_CXX
='-KPIC'
14517 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14518 case $cc_basename in
14520 lt_prog_compiler_wl_CXX
='-Wl,'
14521 lt_prog_compiler_pic_CXX
='-KPIC'
14522 lt_prog_compiler_static_CXX
='-Bstatic'
14529 lt_prog_compiler_can_build_shared_CXX
=no
14534 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14535 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14538 # Check to make sure the PIC flag actually works.
14540 if test -n "$lt_prog_compiler_pic_CXX"; then
14542 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14543 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14544 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14545 $as_echo_n "(cached) " >&6
14547 lt_cv_prog_compiler_pic_works_CXX
=no
14548 ac_outfile
=conftest.
$ac_objext
14549 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14550 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14551 # Insert the option either (1) after the last *FLAGS variable, or
14552 # (2) before a word containing "conftest.", or (3) at the end.
14553 # Note that $ac_compile itself does not contain backslashes and begins
14554 # with a dollar sign (not a hyphen), so the echo should work correctly.
14555 # The option is referenced via a variable to avoid confusing sed.
14556 lt_compile
=`echo "$ac_compile" | $SED \
14557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14559 -e 's:$: $lt_compiler_flag:'`
14560 (eval echo "\"\$as_me:14560: $lt_compile\"" >&5)
14561 (eval "$lt_compile" 2>conftest.err
)
14563 cat conftest.err
>&5
14564 echo "$as_me:14564: \$? = $ac_status" >&5
14565 if (exit $ac_status) && test -s "$ac_outfile"; then
14566 # The compiler can only warn and ignore the option if not recognized
14567 # So say no if there are warnings other than the usual output.
14568 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14569 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14570 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14571 lt_cv_prog_compiler_pic_works_CXX
=yes
14577 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14578 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14580 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14581 case $lt_prog_compiler_pic_CXX in
14583 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14586 lt_prog_compiler_pic_CXX
=
14587 lt_prog_compiler_can_build_shared_CXX
=no
14592 # For platforms which do not support PIC, -DPIC is meaningless:
14594 lt_prog_compiler_pic_CXX
=
14597 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14602 # Check to make sure the static flag actually works.
14604 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14605 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14606 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14607 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14608 $as_echo_n "(cached) " >&6
14610 lt_cv_prog_compiler_static_works_CXX
=no
14611 save_LDFLAGS
="$LDFLAGS"
14612 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14613 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14614 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14615 # The linker can only warn and ignore the option if not recognized
14616 # So say no if there are warnings
14617 if test -s conftest.err
; then
14618 # Append any errors to the config.log.
14619 cat conftest.err
1>&5
14620 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14621 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14622 if diff conftest.exp conftest.er2
>/dev
/null
; then
14623 lt_cv_prog_compiler_static_works_CXX
=yes
14626 lt_cv_prog_compiler_static_works_CXX
=yes
14630 LDFLAGS
="$save_LDFLAGS"
14633 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14634 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14636 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14639 lt_prog_compiler_static_CXX
=
14643 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14645 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14646 $as_echo_n "(cached) " >&6
14648 lt_cv_prog_compiler_c_o_CXX
=no
14649 $rm -r conftest
2>/dev
/null
14653 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14655 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14656 # Insert the option either (1) after the last *FLAGS variable, or
14657 # (2) before a word containing "conftest.", or (3) at the end.
14658 # Note that $ac_compile itself does not contain backslashes and begins
14659 # with a dollar sign (not a hyphen), so the echo should work correctly.
14660 lt_compile
=`echo "$ac_compile" | $SED \
14661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14663 -e 's:$: $lt_compiler_flag:'`
14664 (eval echo "\"\$as_me:14664: $lt_compile\"" >&5)
14665 (eval "$lt_compile" 2>out
/conftest.err
)
14667 cat out
/conftest.err
>&5
14668 echo "$as_me:14668: \$? = $ac_status" >&5
14669 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14671 # The compiler can only warn and ignore the option if not recognized
14672 # So say no if there are warnings
14673 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14674 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14675 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14676 lt_cv_prog_compiler_c_o_CXX
=yes
14681 # SGI C++ compiler will create directory out/ii_files/ for
14682 # template instantiation
14683 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14684 $rm out
/* && rmdir out
14690 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14691 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14694 hard_links
="nottested"
14695 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14696 # do not overwrite the value of need_locks provided by the user
14697 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14698 $as_echo_n "checking if we can lock with hard links... " >&6; }
14701 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14703 ln conftest.a conftest.b
2>&5 || hard_links
=no
14704 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14705 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14706 $as_echo "$hard_links" >&6; }
14707 if test "$hard_links" = no
; then
14708 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14709 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14716 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14717 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14719 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14722 # If we're using GNU nm, then we don't want the "-C" option.
14723 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14724 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14725 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14727 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14731 export_symbols_cmds_CXX
="$ltdll_cmds"
14734 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14737 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14740 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14742 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14743 $as_echo "$ld_shlibs_CXX" >&6; }
14744 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14747 # Do we need to explicitly link libc?
14749 case "x$archive_cmds_need_lc_CXX" in
14751 # Assume -lc should be added
14752 archive_cmds_need_lc_CXX
=yes
14754 if test "$enable_shared" = yes && test "$GCC" = yes; then
14755 case $archive_cmds_CXX in
14757 # FIXME: we may have to deal with multi-command sequences.
14760 # Test whether the compiler implicitly links with -lc since on some
14761 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14762 # to ld, don't add -lc before -lgcc.
14763 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14764 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14766 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14769 (eval $ac_compile) 2>&5
14771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); } 2>conftest.err
; then
14775 libobjs
=conftest.
$ac_objext
14777 wl
=$lt_prog_compiler_wl_CXX
14778 pic_flag
=$lt_prog_compiler_pic_CXX
14784 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14785 allow_undefined_flag_CXX
=
14786 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14787 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }
14792 archive_cmds_need_lc_CXX
=no
14794 archive_cmds_need_lc_CXX
=yes
14796 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14798 cat conftest.err
1>&5
14801 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14802 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14809 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14810 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14811 library_names_spec
=
14812 libname_spec
='lib$name'
14816 postuninstall_cmds
=
14820 shlibpath_overrides_runpath
=unknown
14822 dynamic_linker
="$host_os ld.so"
14823 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14825 need_lib_prefix
=unknown
14826 hardcode_into_libs
=no
14828 # when you set need_version to no, make sure it does not cause -set_version
14829 # flags to be left without arguments
14830 need_version
=unknown
14835 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14836 shlibpath_var
=LIBPATH
14838 # AIX 3 has no versioning support, so we append a major version to the name.
14839 soname_spec
='${libname}${release}${shared_ext}$major'
14846 hardcode_into_libs
=yes
14847 if test "$host_cpu" = ia64
; then
14848 # AIX 5 supports IA64
14849 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14850 shlibpath_var
=LD_LIBRARY_PATH
14852 # With GCC up to 2.95.x, collect2 would create an import file
14853 # for dependence libraries. The import file would start with
14854 # the line `#! .'. This would cause the generated library to
14855 # depend on `.', always an invalid library. This was fixed in
14856 # development snapshots of GCC prior to 3.0.
14858 aix4 | aix4.
[01] | aix4.
[01].
*)
14859 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14861 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14864 can_build_shared
=no
14868 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14869 # soname into executable. Probably we can add versioning support to
14870 # collect2, so additional links can be useful in future.
14871 if test "$aix_use_runtimelinking" = yes; then
14872 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14873 # instead of lib<name>.a to let people know that these are not
14874 # typical AIX shared libraries.
14875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14877 # We preserve .a as extension for shared libraries through AIX4.2
14878 # and later when we are not doing run time linking.
14879 library_names_spec
='${libname}${release}.a $libname.a'
14880 soname_spec
='${libname}${release}${shared_ext}$major'
14882 shlibpath_var
=LIBPATH
14887 library_names_spec
='$libname.ixlibrary $libname.a'
14888 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14889 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'
14893 library_names_spec
='${libname}${shared_ext}'
14894 dynamic_linker
="$host_os ld.so"
14895 shlibpath_var
=LIBRARY_PATH
14901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14902 soname_spec
='${libname}${release}${shared_ext}$major'
14903 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14904 shlibpath_var
=LD_LIBRARY_PATH
14905 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14906 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14907 # the default ld.so.conf also contains /usr/contrib/lib and
14908 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14909 # libtool to hard-code these into programs
14912 cygwin
* | mingw
* | pw32
*)
14913 version_type
=windows
14918 case $GCC,$host_os in
14919 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14920 library_names_spec
='$libname.dll.a'
14921 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14922 postinstall_cmds
='base_file=`basename \${file}`~
14923 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14924 dldir=$destdir/`dirname \$dlpath`~
14925 test -d \$dldir || mkdir -p \$dldir~
14926 $install_prog $dir/$dlname \$dldir/$dlname~
14927 chmod a+x \$dldir/$dlname'
14928 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14929 dlpath=$dir/\$dldll~
14931 shlibpath_overrides_runpath
=yes
14935 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14936 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14937 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14940 # MinGW DLLs use traditional 'lib' prefix
14941 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14942 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14943 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14944 # It is most probably a Windows format PATH printed by
14945 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14946 # path with ; separators, and with drive letters. We can handle the
14947 # drive letters (cygwin fileutils understands them), so leave them,
14948 # especially as we might pass files found there to a mingw objdump,
14949 # which wouldn't understand a cygwinified path. Ahh.
14950 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14952 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14956 # pw32 DLLs use 'pw' prefix rather than 'lib'
14957 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14963 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14966 dynamic_linker
='Win32 ld.exe'
14967 # FIXME: first we should search . and the directory the executable is in
14971 darwin
* | rhapsody
*)
14972 dynamic_linker
="$host_os dyld"
14973 version_type
=darwin
14976 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14977 soname_spec
='${libname}${release}${major}$shared_ext'
14978 shlibpath_overrides_runpath
=yes
14979 shlibpath_var
=DYLD_LIBRARY_PATH
14980 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14982 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14990 soname_spec
='${libname}${release}${shared_ext}$major'
14991 shlibpath_var
=LD_LIBRARY_PATH
14998 freebsd
* | dragonfly
*)
14999 # DragonFly does not have aout. When/if they implement a new
15000 # versioning mechanism, adjust this.
15001 if test -x /usr
/bin
/objformat
; then
15002 objformat
=`/usr/bin/objformat`
15005 freebsd
[123]*) objformat
=aout
;;
15006 *) objformat
=elf
;;
15009 version_type
=freebsd-
$objformat
15010 case $version_type in
15012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15017 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15021 shlibpath_var
=LD_LIBRARY_PATH
15024 shlibpath_overrides_runpath
=yes
15026 freebsd3.
[01]* | freebsdelf3.
[01]*)
15027 shlibpath_overrides_runpath
=yes
15028 hardcode_into_libs
=yes
15030 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15031 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15032 shlibpath_overrides_runpath
=no
15033 hardcode_into_libs
=yes
15035 *) # from 4.6 on, and DragonFly
15036 shlibpath_overrides_runpath
=yes
15037 hardcode_into_libs
=yes
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15047 soname_spec
='${libname}${release}${shared_ext}$major'
15048 shlibpath_var
=LD_LIBRARY_PATH
15049 hardcode_into_libs
=yes
15052 hpux9
* | hpux10
* | hpux11
*)
15053 # Give a soname corresponding to the major version so that dld.sl refuses to
15054 # link against other versions.
15061 hardcode_into_libs
=yes
15062 dynamic_linker
="$host_os dld.so"
15063 shlibpath_var
=LD_LIBRARY_PATH
15064 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15066 soname_spec
='${libname}${release}${shared_ext}$major'
15067 if test "X$HPUX_IA64_MODE" = X32
; then
15068 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15070 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15072 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15076 hardcode_into_libs
=yes
15077 dynamic_linker
="$host_os dld.sl"
15078 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15079 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15081 soname_spec
='${libname}${release}${shared_ext}$major'
15082 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15083 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15087 dynamic_linker
="$host_os dld.sl"
15088 shlibpath_var
=SHLIB_PATH
15089 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15091 soname_spec
='${libname}${release}${shared_ext}$major'
15094 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15095 postinstall_cmds
='chmod 555 $lib'
15102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15103 soname_spec
='${libname}${release}${shared_ext}$major'
15104 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15105 shlibpath_var
=LD_LIBRARY_PATH
15106 shlibpath_overrides_runpath
=no
15107 hardcode_into_libs
=yes
15110 irix5
* | irix6
* | nonstopux
*)
15112 nonstopux
*) version_type
=nonstopux
;;
15114 if test "$lt_cv_prog_gnu_ld" = yes; then
15122 soname_spec
='${libname}${release}${shared_ext}$major'
15123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15125 irix5
* | nonstopux
*)
15126 libsuff
= shlibsuff
=
15129 case $LD in # libtool.m4 will add one of these switches to LD
15130 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15131 libsuff
= shlibsuff
= libmagic
=32-bit;;
15132 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15133 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15134 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15135 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15136 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15140 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15141 shlibpath_overrides_runpath
=no
15142 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15143 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15144 hardcode_into_libs
=yes
15147 # No shared lib support for Linux oldld, aout, or coff.
15148 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15152 # This must be Linux ELF.
15153 linux
* | k
*bsd
*-gnu)
15157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15158 soname_spec
='${libname}${release}${shared_ext}$major'
15159 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15160 shlibpath_var
=LD_LIBRARY_PATH
15161 shlibpath_overrides_runpath
=no
15162 # This implies no fast_install, which is unacceptable.
15163 # Some rework will be needed to allow for fast_install
15164 # before this can be enabled.
15165 hardcode_into_libs
=yes
15166 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15167 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15169 # Append ld.so.conf contents to the search path
15170 if test -f /etc
/ld.so.conf
; then
15171 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' ' '`
15172 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15175 # We used to test for /lib/ld.so.1 and disable shared libraries on
15176 # powerpc, because MkLinux only supported shared libraries with the
15177 # GNU dynamic linker. Since this was broken with cross compilers,
15178 # most powerpc-linux boxes support dynamic linking these days and
15179 # people can always --disable-shared, the test was removed, and we
15180 # assume the GNU/Linux dynamic linker is in use.
15181 dynamic_linker
='GNU/Linux ld.so'
15188 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15190 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15191 dynamic_linker
='NetBSD (a.out) ld.so'
15193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15194 soname_spec
='${libname}${release}${shared_ext}$major'
15195 dynamic_linker
='NetBSD ld.elf_so'
15197 shlibpath_var
=LD_LIBRARY_PATH
15198 shlibpath_overrides_runpath
=yes
15199 hardcode_into_libs
=yes
15204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15205 shlibpath_var
=LD_LIBRARY_PATH
15206 shlibpath_overrides_runpath
=yes
15213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15214 soname_spec
='${libname}${release}${shared_ext}$major'
15215 shlibpath_var
=LD_LIBRARY_PATH
15216 shlibpath_overrides_runpath
=yes
15221 sys_lib_dlsearch_path_spec
="/usr/lib"
15223 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15225 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15226 *) need_version
=no
;;
15228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15229 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15230 shlibpath_var
=LD_LIBRARY_PATH
15231 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15233 openbsd2.
[89] | openbsd2.
[89].
*)
15234 shlibpath_overrides_runpath
=no
15237 shlibpath_overrides_runpath
=yes
15241 shlibpath_overrides_runpath
=yes
15246 libname_spec
='$name'
15249 library_names_spec
='$libname${shared_ext} $libname.a'
15250 dynamic_linker
='OS/2 ld.exe'
15251 shlibpath_var
=LIBPATH
15254 osf3
* | osf4
* | osf5
*)
15258 soname_spec
='${libname}${release}${shared_ext}$major'
15259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260 shlibpath_var
=LD_LIBRARY_PATH
15261 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15262 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec
='${libname}${release}${shared_ext}$major'
15275 shlibpath_var
=LD_LIBRARY_PATH
15276 shlibpath_overrides_runpath
=yes
15277 hardcode_into_libs
=yes
15278 # ldd complains unless libraries are executable
15279 postinstall_cmds
='chmod +x $lib'
15284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15285 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15286 shlibpath_var
=LD_LIBRARY_PATH
15287 shlibpath_overrides_runpath
=yes
15288 if test "$with_gnu_ld" = yes; then
15296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297 soname_spec
='${libname}${release}${shared_ext}$major'
15298 shlibpath_var
=LD_LIBRARY_PATH
15299 case $host_vendor in
15301 shlibpath_overrides_runpath
=no
15303 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15304 runpath_var
=LD_RUN_PATH
15312 shlibpath_overrides_runpath
=no
15313 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15319 if test -d /usr
/nec
;then
15321 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15322 soname_spec
='$libname${shared_ext}.$major'
15323 shlibpath_var
=LD_LIBRARY_PATH
15327 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15328 version_type
=freebsd-elf
15331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15332 soname_spec
='${libname}${release}${shared_ext}$major'
15333 shlibpath_var
=LD_LIBRARY_PATH
15334 hardcode_into_libs
=yes
15335 if test "$with_gnu_ld" = yes; then
15336 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15337 shlibpath_overrides_runpath
=no
15339 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15340 shlibpath_overrides_runpath
=yes
15343 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15347 sys_lib_dlsearch_path_spec
='/usr/lib'
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15353 soname_spec
='${libname}${release}${shared_ext}$major'
15354 shlibpath_var
=LD_LIBRARY_PATH
15361 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15362 $as_echo "$dynamic_linker" >&6; }
15363 test "$dynamic_linker" = no
&& can_build_shared
=no
15365 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15366 $as_echo_n "(cached) " >&6
15368 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
15371 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15372 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15373 $as_echo_n "(cached) " >&6
15375 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
15378 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15380 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15381 if test "$GCC" = yes; then
15382 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15385 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15386 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15387 hardcode_action_CXX
=
15388 if test -n "$hardcode_libdir_flag_spec_CXX" || \
15389 test -n "$runpath_var_CXX" || \
15390 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15392 # We can hardcode non-existant directories.
15393 if test "$hardcode_direct_CXX" != no
&&
15394 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15395 # have to relink, otherwise we might link with an installed library
15396 # when we should be linking with a yet-to-be-installed one
15397 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15398 test "$hardcode_minus_L_CXX" != no
; then
15399 # Linking always hardcodes the temporary library directory.
15400 hardcode_action_CXX
=relink
15402 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15403 hardcode_action_CXX
=immediate
15406 # We cannot hardcode anything, or else we can only hardcode existing
15408 hardcode_action_CXX
=unsupported
15410 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15411 $as_echo "$hardcode_action_CXX" >&6; }
15413 if test "$hardcode_action_CXX" = relink
; then
15414 # Fast installation is not supported
15415 enable_fast_install
=no
15416 elif test "$shlibpath_overrides_runpath" = yes ||
15417 test "$enable_shared" = no
; then
15418 # Fast installation is not necessary
15419 enable_fast_install
=needless
15423 # The else clause should only fire when bootstrapping the
15424 # libtool distribution, otherwise you forgot to ship ltmain.sh
15425 # with your package, and you will get complaints that there are
15426 # no rules to generate ltmain.sh.
15427 if test -f "$ltmain"; then
15428 # See if we are running on zsh, and set the options which allow our commands through
15429 # without removal of \ escapes.
15430 if test -n "${ZSH_VERSION+set}" ; then
15431 setopt NO_GLOB_SUBST
15433 # Now quote all the things that may contain metacharacters while being
15434 # careful not to overquote the AC_SUBSTed values. We take copies of the
15435 # variables and quote the copies for generation of the libtool script.
15436 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15438 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15439 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15440 deplibs_check_method reload_flag reload_cmds need_locks \
15441 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15442 lt_cv_sys_global_symbol_to_c_name_address \
15443 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15444 old_postinstall_cmds old_postuninstall_cmds \
15448 lt_prog_compiler_wl_CXX \
15449 lt_prog_compiler_pic_CXX \
15450 lt_prog_compiler_static_CXX \
15451 lt_prog_compiler_no_builtin_flag_CXX \
15452 export_dynamic_flag_spec_CXX \
15453 thread_safe_flag_spec_CXX \
15454 whole_archive_flag_spec_CXX \
15455 enable_shared_with_static_runtimes_CXX \
15456 old_archive_cmds_CXX \
15457 old_archive_from_new_cmds_CXX \
15458 predep_objects_CXX \
15459 postdep_objects_CXX \
15462 compiler_lib_search_path_CXX \
15463 compiler_lib_search_dirs_CXX \
15465 archive_expsym_cmds_CXX \
15466 postinstall_cmds_CXX \
15467 postuninstall_cmds_CXX \
15468 old_archive_from_expsyms_cmds_CXX \
15469 allow_undefined_flag_CXX \
15470 no_undefined_flag_CXX \
15471 export_symbols_cmds_CXX \
15472 hardcode_libdir_flag_spec_CXX \
15473 hardcode_libdir_flag_spec_ld_CXX \
15474 hardcode_libdir_separator_CXX \
15475 hardcode_automatic_CXX \
15477 module_expsym_cmds_CXX \
15478 lt_cv_prog_compiler_c_o_CXX \
15479 fix_srcfile_path_CXX \
15480 exclude_expsyms_CXX \
15481 include_expsyms_CXX
; do
15484 old_archive_cmds_CXX | \
15485 old_archive_from_new_cmds_CXX | \
15486 archive_cmds_CXX | \
15487 archive_expsym_cmds_CXX | \
15488 module_cmds_CXX | \
15489 module_expsym_cmds_CXX | \
15490 old_archive_from_expsyms_cmds_CXX | \
15491 export_symbols_cmds_CXX | \
15492 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15493 postinstall_cmds | postuninstall_cmds | \
15494 old_postinstall_cmds | old_postuninstall_cmds | \
15495 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15496 # Double-quote double-evaled strings.
15497 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15500 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15506 *'\$0 --fallback-echo"')
15507 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15513 cat <<__EOF__ >> "$cfgfile"
15514 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15516 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15518 # Shell to use when invoking shell scripts.
15521 # Whether or not to build shared libraries.
15522 build_libtool_libs=$enable_shared
15524 # Whether or not to build static libraries.
15525 build_old_libs=$enable_static
15527 # Whether or not to add -lc for building shared libraries.
15528 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15530 # Whether or not to disallow shared libs when runtime libs are static
15531 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15533 # Whether or not to optimize for fast installation.
15534 fast_install=$enable_fast_install
15537 host_alias=$host_alias
15541 # The build system.
15542 build_alias=$build_alias
15546 # An echo program that does not interpret backslashes.
15551 AR_FLAGS=$lt_AR_FLAGS
15556 # LTCC compiler flags.
15557 LTCFLAGS=$lt_LTCFLAGS
15559 # A language-specific compiler.
15560 CC=$lt_compiler_CXX
15562 # Is the compiler the GNU C compiler?
15568 # The linker used to build libraries.
15571 # Whether we need hard or soft links.
15574 # A BSD-compatible nm program.
15577 # A symbol stripping program
15580 # Used to examine libraries when file_magic_cmd begins "file"
15581 MAGIC_CMD=$MAGIC_CMD
15583 # Used on cygwin: DLL creation program.
15586 # Used on cygwin: object dumper.
15589 # Used on cygwin: assembler.
15592 # The name of the directory that contains temporary libtool files.
15595 # How to create reloadable object files.
15596 reload_flag=$lt_reload_flag
15597 reload_cmds=$lt_reload_cmds
15599 # How to pass a linker flag through the compiler.
15600 wl=$lt_lt_prog_compiler_wl_CXX
15602 # Object file suffix (normally "o").
15603 objext="$ac_objext"
15605 # Old archive suffix (normally "a").
15608 # Shared library suffix (normally ".so").
15609 shrext_cmds='$shrext_cmds'
15611 # Executable file suffix (normally "").
15614 # Additional compiler flags for building library objects.
15615 pic_flag=$lt_lt_prog_compiler_pic_CXX
15618 # What is the maximum length of a command?
15619 max_cmd_len=$lt_cv_sys_max_cmd_len
15621 # Does compiler simultaneously support -c and -o options?
15622 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15624 # Must we lock files when doing compilation?
15625 need_locks=$lt_need_locks
15627 # Do we need the lib prefix for modules?
15628 need_lib_prefix=$need_lib_prefix
15630 # Do we need a version for libraries?
15631 need_version=$need_version
15633 # Whether dlopen is supported.
15634 dlopen_support=$enable_dlopen
15636 # Whether dlopen of programs is supported.
15637 dlopen_self=$enable_dlopen_self
15639 # Whether dlopen of statically linked programs is supported.
15640 dlopen_self_static=$enable_dlopen_self_static
15642 # Compiler flag to prevent dynamic linking.
15643 link_static_flag=$lt_lt_prog_compiler_static_CXX
15645 # Compiler flag to turn off builtin functions.
15646 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15648 # Compiler flag to allow reflexive dlopens.
15649 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15651 # Compiler flag to generate shared objects directly from archives.
15652 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15654 # Compiler flag to generate thread-safe objects.
15655 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15657 # Library versioning type.
15658 version_type=$version_type
15660 # Format of library name prefix.
15661 libname_spec=$lt_libname_spec
15663 # List of archive names. First name is the real one, the rest are links.
15664 # The last name is the one that the linker finds with -lNAME.
15665 library_names_spec=$lt_library_names_spec
15667 # The coded name of the library, if different from the real name.
15668 soname_spec=$lt_soname_spec
15670 # Commands used to build and install an old-style archive.
15672 old_archive_cmds=$lt_old_archive_cmds_CXX
15673 old_postinstall_cmds=$lt_old_postinstall_cmds
15674 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15676 # Create an old-style archive from a shared archive.
15677 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15679 # Create a temporary old-style archive to link instead of a shared archive.
15680 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15682 # Commands used to build and install a shared archive.
15683 archive_cmds=$lt_archive_cmds_CXX
15684 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15685 postinstall_cmds=$lt_postinstall_cmds
15686 postuninstall_cmds=$lt_postuninstall_cmds
15688 # Commands used to build a loadable module (assumed same as above if empty)
15689 module_cmds=$lt_module_cmds_CXX
15690 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15692 # Commands to strip libraries.
15693 old_striplib=$lt_old_striplib
15694 striplib=$lt_striplib
15696 # Dependencies to place before the objects being linked to create a
15698 predep_objects=$lt_predep_objects_CXX
15700 # Dependencies to place after the objects being linked to create a
15702 postdep_objects=$lt_postdep_objects_CXX
15704 # Dependencies to place before the objects being linked to create a
15706 predeps=$lt_predeps_CXX
15708 # Dependencies to place after the objects being linked to create a
15710 postdeps=$lt_postdeps_CXX
15712 # The directories searched by this compiler when creating a shared
15714 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15716 # The library search path used internally by the compiler when linking
15717 # a shared library.
15718 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15720 # Method to check whether dependent libraries are shared objects.
15721 deplibs_check_method=$lt_deplibs_check_method
15723 # Command to use when deplibs_check_method == file_magic.
15724 file_magic_cmd=$lt_file_magic_cmd
15726 # Flag that allows shared libraries with undefined symbols to be built.
15727 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15729 # Flag that forces no undefined symbols.
15730 no_undefined_flag=$lt_no_undefined_flag_CXX
15732 # Commands used to finish a libtool library installation in a directory.
15733 finish_cmds=$lt_finish_cmds
15735 # Same as above, but a single script fragment to be evaled but not shown.
15736 finish_eval=$lt_finish_eval
15738 # Take the output of nm and produce a listing of raw symbols and C names.
15739 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15741 # Transform the output of nm in a proper C declaration
15742 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15744 # Transform the output of nm in a C name address pair
15745 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15747 # This is the shared library runtime path variable.
15748 runpath_var=$runpath_var
15750 # This is the shared library path variable.
15751 shlibpath_var=$shlibpath_var
15753 # Is shlibpath searched before the hard-coded library search path?
15754 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15756 # How to hardcode a shared library path into an executable.
15757 hardcode_action=$hardcode_action_CXX
15759 # Whether we should hardcode library paths into libraries.
15760 hardcode_into_libs=$hardcode_into_libs
15762 # Flag to hardcode \$libdir into a binary during linking.
15763 # This must work even if \$libdir does not exist.
15764 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15766 # If ld is used when linking, flag to hardcode \$libdir into
15767 # a binary during linking. This must work even if \$libdir does
15769 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15771 # Whether we need a single -rpath flag with a separated argument.
15772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15774 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15775 # resulting binary.
15776 hardcode_direct=$hardcode_direct_CXX
15778 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15779 # resulting binary.
15780 hardcode_minus_L=$hardcode_minus_L_CXX
15782 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15783 # the resulting binary.
15784 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15786 # Set to yes if building a shared library automatically hardcodes DIR into the library
15787 # and all subsequent libraries and executables linked against it.
15788 hardcode_automatic=$hardcode_automatic_CXX
15790 # Variables whose values should be saved in libtool wrapper scripts and
15791 # restored at relink time.
15792 variables_saved_for_relink="$variables_saved_for_relink"
15794 # Whether libtool must link a program against all its dependency libraries.
15795 link_all_deplibs=$link_all_deplibs_CXX
15797 # Compile-time system search path for libraries
15798 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15800 # Run-time system search path for libraries
15801 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15803 # Fix the shell variable \$srcfile for the compiler.
15804 fix_srcfile_path=$lt_fix_srcfile_path
15806 # Set to yes if exported symbols are required.
15807 always_export_symbols=$always_export_symbols_CXX
15809 # The commands to list exported symbols.
15810 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15812 # The commands to extract the exported symbol list from a shared archive.
15813 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15815 # Symbols that should not be listed in the preloaded symbols.
15816 exclude_expsyms=$lt_exclude_expsyms_CXX
15818 # Symbols that must always be exported.
15819 include_expsyms=$lt_include_expsyms_CXX
15821 # ### END LIBTOOL TAG CONFIG: $tagname
15827 # If there is no Makefile yet, we rely on a make rule to execute
15828 # `config.status --recheck' to rerun these tests and create the
15829 # libtool script then.
15830 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15831 if test -f "$ltmain_in"; then
15832 test -f Makefile
&& make "$ltmain"
15838 ac_cpp
='$CPP $CPPFLAGS'
15839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15847 with_gnu_ldcxx
=$with_gnu_ld
15848 with_gnu_ld
=$lt_save_with_gnu_ld
15849 lt_cv_path_LDCXX
=$lt_cv_path_LD
15850 lt_cv_path_LD
=$lt_save_path_LD
15851 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15852 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15860 if test -n "$F77" && test "X$F77" != "Xno"; then
15863 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15864 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15868 archive_cmds_need_lc_F77
=no
15869 allow_undefined_flag_F77
=
15870 always_export_symbols_F77
=no
15871 archive_expsym_cmds_F77
=
15872 export_dynamic_flag_spec_F77
=
15873 hardcode_direct_F77
=no
15874 hardcode_libdir_flag_spec_F77
=
15875 hardcode_libdir_flag_spec_ld_F77
=
15876 hardcode_libdir_separator_F77
=
15877 hardcode_minus_L_F77
=no
15878 hardcode_automatic_F77
=no
15880 module_expsym_cmds_F77
=
15881 link_all_deplibs_F77
=unknown
15882 old_archive_cmds_F77
=$old_archive_cmds
15883 no_undefined_flag_F77
=
15884 whole_archive_flag_spec_F77
=
15885 enable_shared_with_static_runtimes_F77
=no
15887 # Source file extension for f77 test sources.
15890 # Object file extension for compiled f77 test sources.
15894 # Code to be used in simple compile tests
15895 lt_simple_compile_test_code
="\
15901 # Code to be used in simple link tests
15902 lt_simple_link_test_code
="\
15907 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15909 # If no C compiler was specified, use CC.
15912 # If no C compiler flags were specified, use CFLAGS.
15913 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15915 # Allow CC to be a program name with arguments.
15919 # save warnings/boilerplate of simple test code
15920 ac_outfile
=conftest.
$ac_objext
15921 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15922 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15923 _lt_compiler_boilerplate
=`cat conftest.err`
15926 ac_outfile
=conftest.
$ac_objext
15927 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15928 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15929 _lt_linker_boilerplate
=`cat conftest.err`
15933 # Allow CC to be a program name with arguments.
15938 for cc_temp
in $compiler""; do
15940 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15941 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15946 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15949 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15950 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15951 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
15952 $as_echo "$can_build_shared" >&6; }
15954 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15955 $as_echo_n "checking whether to build shared libraries... " >&6; }
15956 test "$can_build_shared" = "no" && enable_shared
=no
15958 # On AIX, shared libraries and static libraries use the same namespace, and
15959 # are all built from PIC.
15962 test "$enable_shared" = yes && enable_static
=no
15963 if test -n "$RANLIB"; then
15964 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15965 postinstall_cmds
='$RANLIB $lib'
15969 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15970 test "$enable_shared" = yes && enable_static
=no
15974 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
15975 $as_echo "$enable_shared" >&6; }
15977 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15978 $as_echo_n "checking whether to build static libraries... " >&6; }
15979 # Make sure either enable_shared or enable_static is yes.
15980 test "$enable_shared" = yes || enable_static
=yes
15981 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
15982 $as_echo "$enable_static" >&6; }
15987 lt_prog_compiler_wl_F77
=
15988 lt_prog_compiler_pic_F77
=
15989 lt_prog_compiler_static_F77
=
15991 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15992 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15994 if test "$GCC" = yes; then
15995 lt_prog_compiler_wl_F77
='-Wl,'
15996 lt_prog_compiler_static_F77
='-static'
16000 # All AIX code is PIC.
16001 if test "$host_cpu" = ia64
; then
16002 # AIX 5 now supports IA64 processor
16003 lt_prog_compiler_static_F77
='-Bstatic'
16008 # FIXME: we need at least 68020 code to build shared libraries, but
16009 # adding the `-m68020' flag to GCC prevents building anything better,
16011 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
16014 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16015 # PIC is the default for these OSes.
16018 mingw
* | cygwin
* | pw32
* | os2
*)
16019 # This hack is so that the source file can tell whether it is being
16020 # built for inclusion in a dll (and should export symbols for example).
16021 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16022 # (--disable-auto-import) libraries
16023 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16026 darwin
* | rhapsody
*)
16027 # PIC is the default on this platform
16028 # Common symbols not allowed in MH_DYLIB files
16029 lt_prog_compiler_pic_F77
='-fno-common'
16033 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16034 # Instead, we relocate shared libraries at runtime.
16038 # Just because we use GCC doesn't mean we suddenly get shared libraries
16039 # on systems that don't support them.
16040 lt_prog_compiler_can_build_shared_F77
=no
16045 if test -d /usr
/nec
; then
16046 lt_prog_compiler_pic_F77
=-Kconform_pic
16051 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16052 # not for PA HP-UX.
16058 lt_prog_compiler_pic_F77
='-fPIC'
16064 lt_prog_compiler_pic_F77
='-fPIC'
16068 # PORTME Check for flag to pass linker flags through the system compiler.
16071 lt_prog_compiler_wl_F77
='-Wl,'
16072 if test "$host_cpu" = ia64
; then
16073 # AIX 5 now supports IA64 processor
16074 lt_prog_compiler_static_F77
='-Bstatic'
16076 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
16080 # PIC is the default on this platform
16081 # Common symbols not allowed in MH_DYLIB files
16082 case $cc_basename in
16084 lt_prog_compiler_pic_F77
='-qnocommon'
16085 lt_prog_compiler_wl_F77
='-Wl,'
16090 mingw
* | cygwin
* | pw32
* | os2
*)
16091 # This hack is so that the source file can tell whether it is being
16092 # built for inclusion in a dll (and should export symbols for example).
16093 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
16096 hpux9
* | hpux10
* | hpux11
*)
16097 lt_prog_compiler_wl_F77
='-Wl,'
16098 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16099 # not for PA HP-UX.
16105 lt_prog_compiler_pic_F77
='+Z'
16108 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16109 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
16112 irix5
* | irix6
* | nonstopux
*)
16113 lt_prog_compiler_wl_F77
='-Wl,'
16114 # PIC (with -KPIC) is the default.
16115 lt_prog_compiler_static_F77
='-non_shared'
16119 lt_prog_compiler_pic_F77
='-KPIC'
16120 lt_prog_compiler_static_F77
='-Bstatic'
16123 linux
* | k
*bsd
*-gnu)
16124 case $cc_basename in
16126 lt_prog_compiler_wl_F77
='-Wl,'
16127 lt_prog_compiler_pic_F77
='-KPIC'
16128 lt_prog_compiler_static_F77
='-static'
16130 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16131 # Portland Group compilers (*not* the Pentium gcc compiler,
16132 # which looks to be a dead project)
16133 lt_prog_compiler_wl_F77
='-Wl,'
16134 lt_prog_compiler_pic_F77
='-fpic'
16135 lt_prog_compiler_static_F77
='-Bstatic'
16138 lt_prog_compiler_wl_F77
='-Wl,'
16139 # All Alpha code is PIC.
16140 lt_prog_compiler_static_F77
='-non_shared'
16143 case `$CC -V 2>&1 | sed 5q` in
16146 lt_prog_compiler_pic_F77
='-KPIC'
16147 lt_prog_compiler_static_F77
='-Bstatic'
16148 lt_prog_compiler_wl_F77
='-Wl,'
16151 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16152 lt_prog_compiler_pic_F77
='-KPIC'
16153 lt_prog_compiler_static_F77
='-Bstatic'
16154 lt_prog_compiler_wl_F77
=''
16161 osf3
* | osf4
* | osf5
*)
16162 lt_prog_compiler_wl_F77
='-Wl,'
16163 # All OSF/1 code is PIC.
16164 lt_prog_compiler_static_F77
='-non_shared'
16168 lt_prog_compiler_static_F77
='-non_shared'
16172 lt_prog_compiler_pic_F77
='-KPIC'
16173 lt_prog_compiler_static_F77
='-Bstatic'
16174 case $cc_basename in
16175 f77
* | f90
* | f95
*)
16176 lt_prog_compiler_wl_F77
='-Qoption ld ';;
16178 lt_prog_compiler_wl_F77
='-Wl,';;
16183 lt_prog_compiler_wl_F77
='-Qoption ld '
16184 lt_prog_compiler_pic_F77
='-PIC'
16185 lt_prog_compiler_static_F77
='-Bstatic'
16188 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16189 lt_prog_compiler_wl_F77
='-Wl,'
16190 lt_prog_compiler_pic_F77
='-KPIC'
16191 lt_prog_compiler_static_F77
='-Bstatic'
16195 if test -d /usr
/nec
;then
16196 lt_prog_compiler_pic_F77
='-Kconform_pic'
16197 lt_prog_compiler_static_F77
='-Bstatic'
16201 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16202 lt_prog_compiler_wl_F77
='-Wl,'
16203 lt_prog_compiler_pic_F77
='-KPIC'
16204 lt_prog_compiler_static_F77
='-Bstatic'
16208 lt_prog_compiler_wl_F77
='-Wl,'
16209 lt_prog_compiler_can_build_shared_F77
=no
16213 lt_prog_compiler_pic_F77
='-pic'
16214 lt_prog_compiler_static_F77
='-Bstatic'
16218 lt_prog_compiler_can_build_shared_F77
=no
16223 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16224 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
16227 # Check to make sure the PIC flag actually works.
16229 if test -n "$lt_prog_compiler_pic_F77"; then
16231 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16232 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
16233 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16234 $as_echo_n "(cached) " >&6
16236 lt_cv_prog_compiler_pic_works_F77
=no
16237 ac_outfile
=conftest.
$ac_objext
16238 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16239 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
16240 # Insert the option either (1) after the last *FLAGS variable, or
16241 # (2) before a word containing "conftest.", or (3) at the end.
16242 # Note that $ac_compile itself does not contain backslashes and begins
16243 # with a dollar sign (not a hyphen), so the echo should work correctly.
16244 # The option is referenced via a variable to avoid confusing sed.
16245 lt_compile
=`echo "$ac_compile" | $SED \
16246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16248 -e 's:$: $lt_compiler_flag:'`
16249 (eval echo "\"\$as_me:16249: $lt_compile\"" >&5)
16250 (eval "$lt_compile" 2>conftest.err
)
16252 cat conftest.err
>&5
16253 echo "$as_me:16253: \$? = $ac_status" >&5
16254 if (exit $ac_status) && test -s "$ac_outfile"; then
16255 # The compiler can only warn and ignore the option if not recognized
16256 # So say no if there are warnings other than the usual output.
16257 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16258 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16259 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16260 lt_cv_prog_compiler_pic_works_F77
=yes
16266 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16267 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
16269 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
16270 case $lt_prog_compiler_pic_F77 in
16272 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
16275 lt_prog_compiler_pic_F77
=
16276 lt_prog_compiler_can_build_shared_F77
=no
16281 # For platforms which do not support PIC, -DPIC is meaningless:
16283 lt_prog_compiler_pic_F77
=
16286 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
16291 # Check to make sure the static flag actually works.
16293 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
16294 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16295 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16296 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16297 $as_echo_n "(cached) " >&6
16299 lt_cv_prog_compiler_static_works_F77
=no
16300 save_LDFLAGS
="$LDFLAGS"
16301 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16302 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16303 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16304 # The linker can only warn and ignore the option if not recognized
16305 # So say no if there are warnings
16306 if test -s conftest.err
; then
16307 # Append any errors to the config.log.
16308 cat conftest.err
1>&5
16309 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16310 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16311 if diff conftest.exp conftest.er2
>/dev
/null
; then
16312 lt_cv_prog_compiler_static_works_F77
=yes
16315 lt_cv_prog_compiler_static_works_F77
=yes
16319 LDFLAGS
="$save_LDFLAGS"
16322 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16323 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
16325 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
16328 lt_prog_compiler_static_F77
=
16332 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16333 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16334 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16335 $as_echo_n "(cached) " >&6
16337 lt_cv_prog_compiler_c_o_F77
=no
16338 $rm -r conftest
2>/dev
/null
16342 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16344 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16345 # Insert the option either (1) after the last *FLAGS variable, or
16346 # (2) before a word containing "conftest.", or (3) at the end.
16347 # Note that $ac_compile itself does not contain backslashes and begins
16348 # with a dollar sign (not a hyphen), so the echo should work correctly.
16349 lt_compile
=`echo "$ac_compile" | $SED \
16350 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16352 -e 's:$: $lt_compiler_flag:'`
16353 (eval echo "\"\$as_me:16353: $lt_compile\"" >&5)
16354 (eval "$lt_compile" 2>out
/conftest.err
)
16356 cat out
/conftest.err
>&5
16357 echo "$as_me:16357: \$? = $ac_status" >&5
16358 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16360 # The compiler can only warn and ignore the option if not recognized
16361 # So say no if there are warnings
16362 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16363 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16364 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16365 lt_cv_prog_compiler_c_o_F77
=yes
16370 # SGI C++ compiler will create directory out/ii_files/ for
16371 # template instantiation
16372 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16373 $rm out
/* && rmdir out
16379 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16380 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
16383 hard_links
="nottested"
16384 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
16385 # do not overwrite the value of need_locks provided by the user
16386 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16387 $as_echo_n "checking if we can lock with hard links... " >&6; }
16390 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16392 ln conftest.a conftest.b
2>&5 || hard_links
=no
16393 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16394 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
16395 $as_echo "$hard_links" >&6; }
16396 if test "$hard_links" = no
; then
16397 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16398 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16405 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16406 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16409 allow_undefined_flag_F77
=
16410 enable_shared_with_static_runtimes_F77
=no
16412 archive_expsym_cmds_F77
=
16413 old_archive_From_new_cmds_F77
=
16414 old_archive_from_expsyms_cmds_F77
=
16415 export_dynamic_flag_spec_F77
=
16416 whole_archive_flag_spec_F77
=
16417 thread_safe_flag_spec_F77
=
16418 hardcode_libdir_flag_spec_F77
=
16419 hardcode_libdir_flag_spec_ld_F77
=
16420 hardcode_libdir_separator_F77
=
16421 hardcode_direct_F77
=no
16422 hardcode_minus_L_F77
=no
16423 hardcode_shlibpath_var_F77
=unsupported
16424 link_all_deplibs_F77
=unknown
16425 hardcode_automatic_F77
=no
16427 module_expsym_cmds_F77
=
16428 always_export_symbols_F77
=no
16429 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16430 # include_expsyms should be a list of space-separated symbols to be *always*
16431 # included in the symbol list
16432 include_expsyms_F77
=
16433 # exclude_expsyms can be an extended regexp of symbols to exclude
16434 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16435 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16436 # as well as any symbol that contains `d'.
16437 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16438 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16439 # platforms (ab)use it in PIC code, but their linkers get confused if
16440 # the symbol is explicitly referenced. Since portable code cannot
16441 # rely on this symbol name, it's probably fine to never include it in
16442 # preloaded symbol tables.
16443 # Exclude shared library initialization/finalization symbols.
16444 extract_expsyms_cmds
=
16445 # Just being paranoid about ensuring that cc_basename is set.
16446 for cc_temp
in $compiler""; do
16448 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16449 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16454 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16457 cygwin
* | mingw
* | pw32
*)
16458 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16459 # When not using gcc, we currently assume that we are using
16460 # Microsoft Visual C++.
16461 if test "$GCC" != yes; then
16466 # we just hope/assume this is gcc and not c89 (= MSVC++)
16475 if test "$with_gnu_ld" = yes; then
16476 # If archive_cmds runs LD, not CC, wlarc should be empty
16479 # Set some defaults for GNU ld with shared library support. These
16480 # are reset later if shared libraries are not supported. Putting them
16481 # here allows them to be overridden if necessary.
16482 runpath_var
=LD_RUN_PATH
16483 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
16484 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
16485 # ancient GNU ld didn't support --whole-archive et. al.
16486 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16487 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16489 whole_archive_flag_spec_F77
=
16491 supports_anon_versioning
=no
16492 case `$LD -v 2>/dev/null` in
16493 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16494 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16495 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16496 *\
2.11.
*) ;; # other 2.11 versions
16497 *) supports_anon_versioning
=yes ;;
16500 # See if GNU ld supports shared libraries.
16503 # On AIX/PPC, the GNU linker is very broken
16504 if test "$host_cpu" != ia64
; then
16508 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16509 *** to be unable to reliably create shared libraries on AIX.
16510 *** Therefore, libtool is disabling shared libraries support. If you
16511 *** really care for shared libraries, you may want to modify your PATH
16512 *** so that a non-GNU linker is found, and then restart.
16519 archive_cmds_F77
='$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)'
16520 hardcode_libdir_flag_spec_F77
='-L$libdir'
16521 hardcode_minus_L_F77
=yes
16523 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16524 # that the semantics of dynamic libraries on AmigaOS, at least up
16525 # to version 4, is to share data among multiple programs linked
16526 # with the same dynamic library. Since this doesn't match the
16527 # behavior of shared libraries on other platforms, we can't use
16533 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16534 allow_undefined_flag_F77
=unsupported
16535 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16536 # support --undefined. This deserves some investigation. FIXME
16537 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16543 cygwin
* | mingw
* | pw32
*)
16544 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16545 # as there is no search path for DLLs.
16546 hardcode_libdir_flag_spec_F77
='-L$libdir'
16547 allow_undefined_flag_F77
=unsupported
16548 always_export_symbols_F77
=no
16549 enable_shared_with_static_runtimes_F77
=yes
16550 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16552 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16553 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16554 # If the export-symbols file already is a .def file (1st line
16555 # is EXPORTS), use it as is; otherwise, prepend...
16556 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16557 cp $export_symbols $output_objdir/$soname.def;
16559 echo EXPORTS > $output_objdir/$soname.def;
16560 cat $export_symbols >> $output_objdir/$soname.def;
16562 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16569 hardcode_direct_F77
=no
16570 hardcode_shlibpath_var_F77
=no
16571 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16572 export_dynamic_flag_spec_F77
='${wl}-E'
16573 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16574 # Instead, shared libraries are loaded at an image base (0x10000000 by
16575 # default) and relocated if they conflict, which is a slow very memory
16576 # consuming and fragmenting process. To avoid this, we pick a random,
16577 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16578 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16579 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16580 archive_expsym_cmds_F77
='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'
16583 gnu
* | linux
* | k
*bsd
*-gnu)
16584 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16586 case $cc_basename,$host_cpu in
16587 pgcc
*) # Portland Group C compiler
16588 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16589 tmp_addflag
=' $pic_flag'
16591 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16592 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16593 tmp_addflag
=' $pic_flag -Mnomain' ;;
16594 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16595 tmp_addflag
=' -i_dynamic' ;;
16596 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16597 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16598 ifc
* | ifort
*) # Intel Fortran compiler
16599 tmp_addflag
=' -nofor_main' ;;
16601 case `$CC -V 2>&1 | sed 5q` in
16602 *Sun\ C
*) # Sun C 5.9
16603 whole_archive_flag_spec_F77
='${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'
16604 tmp_sharedflag
='-G' ;;
16605 *Sun\ F
*) # Sun Fortran 8.3
16606 tmp_sharedflag
='-G' ;;
16608 tmp_sharedflag
='-shared' ;;
16610 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16612 if test $supports_anon_versioning = yes; then
16613 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
16614 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16615 $echo "local: *; };" >> $output_objdir/$libname.ver~
16616 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16624 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16625 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16628 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16629 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16634 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16638 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16639 *** create shared libraries on Solaris systems. Therefore, libtool
16640 *** is disabling shared libraries support. We urge you to upgrade GNU
16641 *** binutils to release 2.9.1 or newer. Another option is to modify
16642 *** your PATH or compiler configuration so that the native linker is
16643 *** used, and then restart.
16646 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16647 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16648 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16654 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16655 case `$LD -v 2>&1` in
16656 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16660 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16661 *** reliably create shared libraries on SCO systems. Therefore, libtool
16662 *** is disabling shared libraries support. We urge you to upgrade GNU
16663 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16664 *** your PATH or compiler configuration so that the native linker is
16665 *** used, and then restart.
16670 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16671 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16672 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16673 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16682 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16684 hardcode_direct_F77
=yes
16685 hardcode_shlibpath_var_F77
=no
16689 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16690 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16691 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16698 if test "$ld_shlibs_F77" = no
; then
16700 hardcode_libdir_flag_spec_F77
=
16701 export_dynamic_flag_spec_F77
=
16702 whole_archive_flag_spec_F77
=
16705 # PORTME fill in a description of your system's linker (not GNU ld)
16708 allow_undefined_flag_F77
=unsupported
16709 always_export_symbols_F77
=yes
16710 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16711 # Note: this linker hardcodes the directories in LIBPATH if there
16712 # are no directories specified by -L.
16713 hardcode_minus_L_F77
=yes
16714 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16715 # Neither direct hardcoding nor static linking is supported with a
16717 hardcode_direct_F77
=unsupported
16722 if test "$host_cpu" = ia64
; then
16723 # On IA64, the linker does run time linking by default, so we don't
16724 # have to do anything special.
16725 aix_use_runtimelinking
=no
16726 exp_sym_flag
='-Bexport'
16729 # If we're using GNU nm, then we don't want the "-C" option.
16730 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16731 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16732 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16734 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16736 aix_use_runtimelinking
=no
16738 # Test if we are trying to use run time linking or normal
16739 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16740 # need to do runtime linking.
16741 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16742 for ld_flag
in $LDFLAGS; do
16743 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16744 aix_use_runtimelinking
=yes
16751 exp_sym_flag
='-bexport'
16752 no_entry_flag
='-bnoentry'
16755 # When large executables or shared objects are built, AIX ld can
16756 # have problems creating the table of contents. If linking a library
16757 # or program results in "error TOC overflow" add -mminimal-toc to
16758 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16759 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16761 archive_cmds_F77
=''
16762 hardcode_direct_F77
=yes
16763 hardcode_libdir_separator_F77
=':'
16764 link_all_deplibs_F77
=yes
16766 if test "$GCC" = yes; then
16767 case $host_os in aix4.
[012]|aix4.
[012].
*)
16768 # We only want to do this on AIX 4.2 and lower, the check
16769 # below for broken collect2 doesn't work under 4.3+
16770 collect2name
=`${CC} -print-prog-name=collect2`
16771 if test -f "$collect2name" && \
16772 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16774 # We have reworked collect2
16777 # We have old collect2
16778 hardcode_direct_F77
=unsupported
16779 # It fails to find uninstalled libraries when the uninstalled
16780 # path is not listed in the libpath. Setting hardcode_minus_L
16781 # to unsupported forces relinking
16782 hardcode_minus_L_F77
=yes
16783 hardcode_libdir_flag_spec_F77
='-L$libdir'
16784 hardcode_libdir_separator_F77
=
16788 shared_flag
='-shared'
16789 if test "$aix_use_runtimelinking" = yes; then
16790 shared_flag
="$shared_flag "'${wl}-G'
16794 if test "$host_cpu" = ia64
; then
16795 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16796 # chokes on -Wl,-G. The following line is correct:
16799 if test "$aix_use_runtimelinking" = yes; then
16800 shared_flag
='${wl}-G'
16802 shared_flag
='${wl}-bM:SRE'
16807 # It seems that -bexpall does not export symbols beginning with
16808 # underscore (_), so it is better to generate a list of symbols to export.
16809 always_export_symbols_F77
=yes
16810 if test "$aix_use_runtimelinking" = yes; then
16811 # Warning - without using the other runtime loading flags (-brtl),
16812 # -berok will link without error, but may produce a broken library.
16813 allow_undefined_flag_F77
='-berok'
16814 # Determine the default libpath from the value encoded in an empty executable.
16815 cat >conftest.
$ac_ext <<_ACEOF
16820 rm -f conftest.
$ac_objext conftest
$ac_exeext
16821 if { (ac_try
="$ac_link"
16822 case "(($ac_try" in
16823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16824 *) ac_try_echo=$ac_try;;
16826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16827 $as_echo "$ac_try_echo") >&5
16828 (eval "$ac_link") 2>conftest.er1
16830 grep -v '^ *+' conftest.er1 >conftest.err
16832 cat conftest.err >&5
16833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_f77_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest$ac_exeext && {
16838 test "$cross_compiling" = yes ||
16839 $as_test_x conftest$ac_exeext
16842 lt_aix_libpath_sed='
16843 /Import File Strings/,/^$/ {
16849 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16850 # Check for a 64-bit object if we didn't find anything.
16851 if test -z "$aix_libpath"; then
16852 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16855 $as_echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16861 rm -rf conftest.dSYM
16862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16863 conftest$ac_exeext conftest.$ac_ext
16864 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16866 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16867 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16869 if test "$host_cpu" = ia64; then
16870 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16871 allow_undefined_flag_F77="-z nodefs"
16872 archive_expsym_cmds_F77="\$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"
16874 # Determine the default libpath from the value encoded in an empty executable.
16875 cat >conftest.$ac_ext <<_ACEOF
16880 rm -f conftest.$ac_objext conftest$ac_exeext
16881 if { (ac_try="$ac_link"
16882 case "(($ac_try" in
16883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16884 *) ac_try_echo
=$ac_try;;
16886 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16887 $as_echo "$ac_try_echo") >&5
16888 (eval "$ac_link") 2>conftest.er1
16890 grep -v '^ *+' conftest.er1
>conftest.err
16892 cat conftest.err
>&5
16893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } && {
16895 test -z "$ac_f77_werror_flag" ||
16896 test ! -s conftest.err
16897 } && test -s conftest
$ac_exeext && {
16898 test "$cross_compiling" = yes ||
16899 $as_test_x conftest
$ac_exeext
16902 lt_aix_libpath_sed
='
16903 /Import File Strings/,/^$/ {
16909 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16910 # Check for a 64-bit object if we didn't find anything.
16911 if test -z "$aix_libpath"; then
16912 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16915 $as_echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.
$ac_ext >&5
16921 rm -rf conftest.dSYM
16922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16923 conftest
$ac_exeext conftest.
$ac_ext
16924 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16926 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16927 # Warning - without using the other run time loading flags,
16928 # -berok will link without error, but may produce a broken library.
16929 no_undefined_flag_F77
=' ${wl}-bernotok'
16930 allow_undefined_flag_F77
=' ${wl}-berok'
16931 # Exported symbols can be pulled into shared objects from archives
16932 whole_archive_flag_spec_F77
='$convenience'
16933 archive_cmds_need_lc_F77
=yes
16934 # This is similar to how AIX traditionally builds its shared libraries.
16935 archive_expsym_cmds_F77
="\$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'
16941 archive_cmds_F77
='$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)'
16942 hardcode_libdir_flag_spec_F77
='-L$libdir'
16943 hardcode_minus_L_F77
=yes
16944 # see comment about different semantics on the GNU ld section
16949 export_dynamic_flag_spec_F77
=-rdynamic
16952 cygwin
* | mingw
* | pw32
*)
16953 # When not using gcc, we currently assume that we are using
16954 # Microsoft Visual C++.
16955 # hardcode_libdir_flag_spec is actually meaningless, as there is
16956 # no search path for DLLs.
16957 hardcode_libdir_flag_spec_F77
=' '
16958 allow_undefined_flag_F77
=unsupported
16959 # Tell ltmain to make .lib files, not .a files.
16961 # Tell ltmain to make .dll files, not .so files.
16963 # FIXME: Setting linknames here is a bad hack.
16964 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16965 # The linker will automatically build a .lib file if we build a DLL.
16966 old_archive_From_new_cmds_F77
='true'
16967 # FIXME: Should let the user specify the lib program.
16968 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16969 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16970 enable_shared_with_static_runtimes_F77
=yes
16973 darwin
* | rhapsody
*)
16975 rhapsody
* | darwin1.
[012])
16976 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16979 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16980 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16982 case ${MACOSX_DEPLOYMENT_TARGET} in
16984 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16987 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16993 archive_cmds_need_lc_F77
=no
16994 hardcode_direct_F77
=no
16995 hardcode_automatic_F77
=yes
16996 hardcode_shlibpath_var_F77
=unsupported
16997 whole_archive_flag_spec_F77
=''
16998 link_all_deplibs_F77
=yes
16999 if test "$GCC" = yes ; then
17000 output_verbose_link_cmd
='echo'
17001 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17002 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17003 archive_expsym_cmds_F77
="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}"
17004 module_expsym_cmds_F77
="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}"
17006 case $cc_basename in
17008 output_verbose_link_cmd
='echo'
17009 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17010 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17011 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17012 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17013 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17023 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17024 hardcode_libdir_flag_spec_F77
='-L$libdir'
17025 hardcode_shlibpath_var_F77
=no
17032 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17033 # support. Future versions do this automatically, but an explicit c++rt0.o
17034 # does not break anything, and helps significantly (at the cost of a little
17037 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17038 hardcode_libdir_flag_spec_F77
='-R$libdir'
17039 hardcode_direct_F77
=yes
17040 hardcode_shlibpath_var_F77
=no
17043 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17045 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17046 hardcode_direct_F77
=yes
17047 hardcode_minus_L_F77
=yes
17048 hardcode_shlibpath_var_F77
=no
17051 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17052 freebsd
* | dragonfly
*)
17053 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17054 hardcode_libdir_flag_spec_F77
='-R$libdir'
17055 hardcode_direct_F77
=yes
17056 hardcode_shlibpath_var_F77
=no
17060 if test "$GCC" = yes; then
17061 archive_cmds_F77
='$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'
17063 archive_cmds_F77
='$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'
17065 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17066 hardcode_libdir_separator_F77
=:
17067 hardcode_direct_F77
=yes
17069 # hardcode_minus_L: Not really in the search PATH,
17070 # but as the default location of the library.
17071 hardcode_minus_L_F77
=yes
17072 export_dynamic_flag_spec_F77
='${wl}-E'
17076 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17077 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17079 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17081 if test "$with_gnu_ld" = no
; then
17082 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17083 hardcode_libdir_separator_F77
=:
17085 hardcode_direct_F77
=yes
17086 export_dynamic_flag_spec_F77
='${wl}-E'
17088 # hardcode_minus_L: Not really in the search PATH,
17089 # but as the default location of the library.
17090 hardcode_minus_L_F77
=yes
17095 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17098 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17101 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17104 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17110 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17113 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17116 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17120 if test "$with_gnu_ld" = no
; then
17121 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
17122 hardcode_libdir_separator_F77
=:
17126 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
17127 hardcode_direct_F77
=no
17128 hardcode_shlibpath_var_F77
=no
17131 hardcode_direct_F77
=yes
17132 export_dynamic_flag_spec_F77
='${wl}-E'
17134 # hardcode_minus_L: Not really in the search PATH,
17135 # but as the default location of the library.
17136 hardcode_minus_L_F77
=yes
17142 irix5
* | irix6
* | nonstopux
*)
17143 if test "$GCC" = yes; then
17144 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17146 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17147 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
17149 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17150 hardcode_libdir_separator_F77
=:
17151 link_all_deplibs_F77
=yes
17155 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17156 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17158 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17160 hardcode_libdir_flag_spec_F77
='-R$libdir'
17161 hardcode_direct_F77
=yes
17162 hardcode_shlibpath_var_F77
=no
17166 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17167 hardcode_direct_F77
=yes
17168 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17169 hardcode_libdir_separator_F77
=:
17170 hardcode_shlibpath_var_F77
=no
17174 if test -f /usr
/libexec
/ld.so
; then
17175 hardcode_direct_F77
=yes
17176 hardcode_shlibpath_var_F77
=no
17177 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17178 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17179 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17180 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17181 export_dynamic_flag_spec_F77
='${wl}-E'
17184 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17185 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17186 hardcode_libdir_flag_spec_F77
='-R$libdir'
17189 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17190 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
17200 hardcode_libdir_flag_spec_F77
='-L$libdir'
17201 hardcode_minus_L_F77
=yes
17202 allow_undefined_flag_F77
=unsupported
17203 archive_cmds_F77
='$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'
17204 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17208 if test "$GCC" = yes; then
17209 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17210 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17212 allow_undefined_flag_F77
=' -expect_unresolved \*'
17213 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17215 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17216 hardcode_libdir_separator_F77
=:
17219 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17220 if test "$GCC" = yes; then
17221 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
17222 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17223 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
17225 allow_undefined_flag_F77
=' -expect_unresolved \*'
17226 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17227 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17228 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17230 # Both c and cxx compiler support -rpath directly
17231 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
17233 hardcode_libdir_separator_F77
=:
17237 no_undefined_flag_F77
=' -z text'
17238 if test "$GCC" = yes; then
17240 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17241 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17242 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17245 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17246 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17247 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17249 hardcode_libdir_flag_spec_F77
='-R$libdir'
17250 hardcode_shlibpath_var_F77
=no
17252 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17254 # The compiler driver will combine and reorder linker options,
17255 # but understands `-z linker_flag'. GCC discards it without `$wl',
17256 # but is careful enough not to reorder.
17257 # Supported since Solaris 2.6 (maybe 2.5.1?)
17258 if test "$GCC" = yes; then
17259 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17261 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
17265 link_all_deplibs_F77
=yes
17269 if test "x$host_vendor" = xsequent
; then
17270 # Use $CC to link under sequent, because it throws in some extra .o
17271 # files that make .init and .fini sections work.
17272 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17274 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17276 hardcode_libdir_flag_spec_F77
='-L$libdir'
17277 hardcode_direct_F77
=yes
17278 hardcode_minus_L_F77
=yes
17279 hardcode_shlibpath_var_F77
=no
17283 case $host_vendor in
17285 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17286 hardcode_direct_F77
=yes # is this really true???
17289 ## LD is ld it makes a PLAMLIB
17290 ## CC just makes a GrossModule.
17291 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17292 reload_cmds_F77
='$CC -r -o $output$reload_objs'
17293 hardcode_direct_F77
=no
17296 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17297 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
17300 runpath_var
='LD_RUN_PATH'
17301 hardcode_shlibpath_var_F77
=no
17305 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17306 hardcode_shlibpath_var_F77
=no
17307 export_dynamic_flag_spec_F77
='-Bexport'
17311 if test -d /usr
/nec
; then
17312 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17313 hardcode_shlibpath_var_F77
=no
17314 runpath_var
=LD_RUN_PATH
17315 hardcode_runpath_var
=yes
17320 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17321 no_undefined_flag_F77
='${wl}-z,text'
17322 archive_cmds_need_lc_F77
=no
17323 hardcode_shlibpath_var_F77
=no
17324 runpath_var
='LD_RUN_PATH'
17326 if test "$GCC" = yes; then
17327 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17328 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17330 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17331 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17335 sysv5
* | sco3.2v5
* | sco5v6
*)
17336 # Note: We can NOT use -z defs as we might desire, because we do not
17337 # link with -lc, and that would cause any symbols used from libc to
17338 # always be unresolved, which means just about no library would
17339 # ever link correctly. If we're not using GNU ld we use -z text
17340 # though, which does catch some bad symbols but isn't as heavy-handed
17342 no_undefined_flag_F77
='${wl}-z,text'
17343 allow_undefined_flag_F77
='${wl}-z,nodefs'
17344 archive_cmds_need_lc_F77
=no
17345 hardcode_shlibpath_var_F77
=no
17346 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17347 hardcode_libdir_separator_F77
=':'
17348 link_all_deplibs_F77
=yes
17349 export_dynamic_flag_spec_F77
='${wl}-Bexport'
17350 runpath_var
='LD_RUN_PATH'
17352 if test "$GCC" = yes; then
17353 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17354 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17356 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17357 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17362 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17363 hardcode_libdir_flag_spec_F77
='-L$libdir'
17364 hardcode_shlibpath_var_F77
=no
17373 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17374 $as_echo "$ld_shlibs_F77" >&6; }
17375 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
17378 # Do we need to explicitly link libc?
17380 case "x$archive_cmds_need_lc_F77" in
17382 # Assume -lc should be added
17383 archive_cmds_need_lc_F77
=yes
17385 if test "$enable_shared" = yes && test "$GCC" = yes; then
17386 case $archive_cmds_F77 in
17388 # FIXME: we may have to deal with multi-command sequences.
17391 # Test whether the compiler implicitly links with -lc since on some
17392 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17393 # to ld, don't add -lc before -lgcc.
17394 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17395 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17397 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17400 (eval $ac_compile) 2>&5
17402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } 2>conftest.err
; then
17406 libobjs
=conftest.
$ac_objext
17408 wl
=$lt_prog_compiler_wl_F77
17409 pic_flag
=$lt_prog_compiler_pic_F77
17415 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
17416 allow_undefined_flag_F77
=
17417 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17418 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }
17423 archive_cmds_need_lc_F77
=no
17425 archive_cmds_need_lc_F77
=yes
17427 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
17429 cat conftest.err
1>&5
17432 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17433 $as_echo "$archive_cmds_need_lc_F77" >&6; }
17440 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17441 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17442 library_names_spec
=
17443 libname_spec
='lib$name'
17447 postuninstall_cmds
=
17451 shlibpath_overrides_runpath
=unknown
17453 dynamic_linker
="$host_os ld.so"
17454 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17456 need_lib_prefix
=unknown
17457 hardcode_into_libs
=no
17459 # when you set need_version to no, make sure it does not cause -set_version
17460 # flags to be left without arguments
17461 need_version
=unknown
17466 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17467 shlibpath_var
=LIBPATH
17469 # AIX 3 has no versioning support, so we append a major version to the name.
17470 soname_spec
='${libname}${release}${shared_ext}$major'
17477 hardcode_into_libs
=yes
17478 if test "$host_cpu" = ia64
; then
17479 # AIX 5 supports IA64
17480 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17481 shlibpath_var
=LD_LIBRARY_PATH
17483 # With GCC up to 2.95.x, collect2 would create an import file
17484 # for dependence libraries. The import file would start with
17485 # the line `#! .'. This would cause the generated library to
17486 # depend on `.', always an invalid library. This was fixed in
17487 # development snapshots of GCC prior to 3.0.
17489 aix4 | aix4.
[01] | aix4.
[01].
*)
17490 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17492 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17495 can_build_shared
=no
17499 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17500 # soname into executable. Probably we can add versioning support to
17501 # collect2, so additional links can be useful in future.
17502 if test "$aix_use_runtimelinking" = yes; then
17503 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17504 # instead of lib<name>.a to let people know that these are not
17505 # typical AIX shared libraries.
17506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17508 # We preserve .a as extension for shared libraries through AIX4.2
17509 # and later when we are not doing run time linking.
17510 library_names_spec
='${libname}${release}.a $libname.a'
17511 soname_spec
='${libname}${release}${shared_ext}$major'
17513 shlibpath_var
=LIBPATH
17518 library_names_spec
='$libname.ixlibrary $libname.a'
17519 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17520 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'
17524 library_names_spec
='${libname}${shared_ext}'
17525 dynamic_linker
="$host_os ld.so"
17526 shlibpath_var
=LIBRARY_PATH
17532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17533 soname_spec
='${libname}${release}${shared_ext}$major'
17534 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17535 shlibpath_var
=LD_LIBRARY_PATH
17536 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17537 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17538 # the default ld.so.conf also contains /usr/contrib/lib and
17539 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17540 # libtool to hard-code these into programs
17543 cygwin
* | mingw
* | pw32
*)
17544 version_type
=windows
17549 case $GCC,$host_os in
17550 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17551 library_names_spec
='$libname.dll.a'
17552 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17553 postinstall_cmds
='base_file=`basename \${file}`~
17554 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17555 dldir=$destdir/`dirname \$dlpath`~
17556 test -d \$dldir || mkdir -p \$dldir~
17557 $install_prog $dir/$dlname \$dldir/$dlname~
17558 chmod a+x \$dldir/$dlname'
17559 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17560 dlpath=$dir/\$dldll~
17562 shlibpath_overrides_runpath
=yes
17566 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17567 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17568 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17571 # MinGW DLLs use traditional 'lib' prefix
17572 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17573 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17574 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17575 # It is most probably a Windows format PATH printed by
17576 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17577 # path with ; separators, and with drive letters. We can handle the
17578 # drive letters (cygwin fileutils understands them), so leave them,
17579 # especially as we might pass files found there to a mingw objdump,
17580 # which wouldn't understand a cygwinified path. Ahh.
17581 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17583 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17587 # pw32 DLLs use 'pw' prefix rather than 'lib'
17588 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17594 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17597 dynamic_linker
='Win32 ld.exe'
17598 # FIXME: first we should search . and the directory the executable is in
17602 darwin
* | rhapsody
*)
17603 dynamic_linker
="$host_os dyld"
17604 version_type
=darwin
17607 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17608 soname_spec
='${libname}${release}${major}$shared_ext'
17609 shlibpath_overrides_runpath
=yes
17610 shlibpath_var
=DYLD_LIBRARY_PATH
17611 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17613 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17621 soname_spec
='${libname}${release}${shared_ext}$major'
17622 shlibpath_var
=LD_LIBRARY_PATH
17629 freebsd
* | dragonfly
*)
17630 # DragonFly does not have aout. When/if they implement a new
17631 # versioning mechanism, adjust this.
17632 if test -x /usr
/bin
/objformat
; then
17633 objformat
=`/usr/bin/objformat`
17636 freebsd
[123]*) objformat
=aout
;;
17637 *) objformat
=elf
;;
17640 version_type
=freebsd-
$objformat
17641 case $version_type in
17643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17648 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17652 shlibpath_var
=LD_LIBRARY_PATH
17655 shlibpath_overrides_runpath
=yes
17657 freebsd3.
[01]* | freebsdelf3.
[01]*)
17658 shlibpath_overrides_runpath
=yes
17659 hardcode_into_libs
=yes
17661 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17662 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17663 shlibpath_overrides_runpath
=no
17664 hardcode_into_libs
=yes
17666 *) # from 4.6 on, and DragonFly
17667 shlibpath_overrides_runpath
=yes
17668 hardcode_into_libs
=yes
17677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17678 soname_spec
='${libname}${release}${shared_ext}$major'
17679 shlibpath_var
=LD_LIBRARY_PATH
17680 hardcode_into_libs
=yes
17683 hpux9
* | hpux10
* | hpux11
*)
17684 # Give a soname corresponding to the major version so that dld.sl refuses to
17685 # link against other versions.
17692 hardcode_into_libs
=yes
17693 dynamic_linker
="$host_os dld.so"
17694 shlibpath_var
=LD_LIBRARY_PATH
17695 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17697 soname_spec
='${libname}${release}${shared_ext}$major'
17698 if test "X$HPUX_IA64_MODE" = X32
; then
17699 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17701 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17703 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17707 hardcode_into_libs
=yes
17708 dynamic_linker
="$host_os dld.sl"
17709 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17710 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17712 soname_spec
='${libname}${release}${shared_ext}$major'
17713 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17714 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17718 dynamic_linker
="$host_os dld.sl"
17719 shlibpath_var
=SHLIB_PATH
17720 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17722 soname_spec
='${libname}${release}${shared_ext}$major'
17725 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17726 postinstall_cmds
='chmod 555 $lib'
17733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17734 soname_spec
='${libname}${release}${shared_ext}$major'
17735 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17736 shlibpath_var
=LD_LIBRARY_PATH
17737 shlibpath_overrides_runpath
=no
17738 hardcode_into_libs
=yes
17741 irix5
* | irix6
* | nonstopux
*)
17743 nonstopux
*) version_type
=nonstopux
;;
17745 if test "$lt_cv_prog_gnu_ld" = yes; then
17753 soname_spec
='${libname}${release}${shared_ext}$major'
17754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17756 irix5
* | nonstopux
*)
17757 libsuff
= shlibsuff
=
17760 case $LD in # libtool.m4 will add one of these switches to LD
17761 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17762 libsuff
= shlibsuff
= libmagic
=32-bit;;
17763 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17764 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17765 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17766 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17767 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17771 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17772 shlibpath_overrides_runpath
=no
17773 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17774 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17775 hardcode_into_libs
=yes
17778 # No shared lib support for Linux oldld, aout, or coff.
17779 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17783 # This must be Linux ELF.
17784 linux
* | k
*bsd
*-gnu)
17788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17789 soname_spec
='${libname}${release}${shared_ext}$major'
17790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17791 shlibpath_var
=LD_LIBRARY_PATH
17792 shlibpath_overrides_runpath
=no
17793 # This implies no fast_install, which is unacceptable.
17794 # Some rework will be needed to allow for fast_install
17795 # before this can be enabled.
17796 hardcode_into_libs
=yes
17797 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17798 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17800 # Append ld.so.conf contents to the search path
17801 if test -f /etc
/ld.so.conf
; then
17802 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' ' '`
17803 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17806 # We used to test for /lib/ld.so.1 and disable shared libraries on
17807 # powerpc, because MkLinux only supported shared libraries with the
17808 # GNU dynamic linker. Since this was broken with cross compilers,
17809 # most powerpc-linux boxes support dynamic linking these days and
17810 # people can always --disable-shared, the test was removed, and we
17811 # assume the GNU/Linux dynamic linker is in use.
17812 dynamic_linker
='GNU/Linux ld.so'
17819 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17821 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17822 dynamic_linker
='NetBSD (a.out) ld.so'
17824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17825 soname_spec
='${libname}${release}${shared_ext}$major'
17826 dynamic_linker
='NetBSD ld.elf_so'
17828 shlibpath_var
=LD_LIBRARY_PATH
17829 shlibpath_overrides_runpath
=yes
17830 hardcode_into_libs
=yes
17835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17836 shlibpath_var
=LD_LIBRARY_PATH
17837 shlibpath_overrides_runpath
=yes
17844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17845 soname_spec
='${libname}${release}${shared_ext}$major'
17846 shlibpath_var
=LD_LIBRARY_PATH
17847 shlibpath_overrides_runpath
=yes
17852 sys_lib_dlsearch_path_spec
="/usr/lib"
17854 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17856 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17857 *) need_version
=no
;;
17859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17860 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17861 shlibpath_var
=LD_LIBRARY_PATH
17862 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17864 openbsd2.
[89] | openbsd2.
[89].
*)
17865 shlibpath_overrides_runpath
=no
17868 shlibpath_overrides_runpath
=yes
17872 shlibpath_overrides_runpath
=yes
17877 libname_spec
='$name'
17880 library_names_spec
='$libname${shared_ext} $libname.a'
17881 dynamic_linker
='OS/2 ld.exe'
17882 shlibpath_var
=LIBPATH
17885 osf3
* | osf4
* | osf5
*)
17889 soname_spec
='${libname}${release}${shared_ext}$major'
17890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17891 shlibpath_var
=LD_LIBRARY_PATH
17892 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17893 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17905 soname_spec
='${libname}${release}${shared_ext}$major'
17906 shlibpath_var
=LD_LIBRARY_PATH
17907 shlibpath_overrides_runpath
=yes
17908 hardcode_into_libs
=yes
17909 # ldd complains unless libraries are executable
17910 postinstall_cmds
='chmod +x $lib'
17915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17916 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17917 shlibpath_var
=LD_LIBRARY_PATH
17918 shlibpath_overrides_runpath
=yes
17919 if test "$with_gnu_ld" = yes; then
17927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17928 soname_spec
='${libname}${release}${shared_ext}$major'
17929 shlibpath_var
=LD_LIBRARY_PATH
17930 case $host_vendor in
17932 shlibpath_overrides_runpath
=no
17934 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17935 runpath_var
=LD_RUN_PATH
17943 shlibpath_overrides_runpath
=no
17944 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17950 if test -d /usr
/nec
;then
17952 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17953 soname_spec
='$libname${shared_ext}.$major'
17954 shlibpath_var
=LD_LIBRARY_PATH
17958 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17959 version_type
=freebsd-elf
17962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17963 soname_spec
='${libname}${release}${shared_ext}$major'
17964 shlibpath_var
=LD_LIBRARY_PATH
17965 hardcode_into_libs
=yes
17966 if test "$with_gnu_ld" = yes; then
17967 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17968 shlibpath_overrides_runpath
=no
17970 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17971 shlibpath_overrides_runpath
=yes
17974 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17978 sys_lib_dlsearch_path_spec
='/usr/lib'
17983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17984 soname_spec
='${libname}${release}${shared_ext}$major'
17985 shlibpath_var
=LD_LIBRARY_PATH
17992 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17993 $as_echo "$dynamic_linker" >&6; }
17994 test "$dynamic_linker" = no
&& can_build_shared
=no
17996 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17997 $as_echo_n "(cached) " >&6
17999 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18002 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18003 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18004 $as_echo_n "(cached) " >&6
18006 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18009 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18011 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18012 if test "$GCC" = yes; then
18013 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18016 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18017 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18018 hardcode_action_F77
=
18019 if test -n "$hardcode_libdir_flag_spec_F77" || \
18020 test -n "$runpath_var_F77" || \
18021 test "X$hardcode_automatic_F77" = "Xyes" ; then
18023 # We can hardcode non-existant directories.
18024 if test "$hardcode_direct_F77" != no
&&
18025 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18026 # have to relink, otherwise we might link with an installed library
18027 # when we should be linking with a yet-to-be-installed one
18028 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18029 test "$hardcode_minus_L_F77" != no
; then
18030 # Linking always hardcodes the temporary library directory.
18031 hardcode_action_F77
=relink
18033 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18034 hardcode_action_F77
=immediate
18037 # We cannot hardcode anything, or else we can only hardcode existing
18039 hardcode_action_F77
=unsupported
18041 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18042 $as_echo "$hardcode_action_F77" >&6; }
18044 if test "$hardcode_action_F77" = relink
; then
18045 # Fast installation is not supported
18046 enable_fast_install
=no
18047 elif test "$shlibpath_overrides_runpath" = yes ||
18048 test "$enable_shared" = no
; then
18049 # Fast installation is not necessary
18050 enable_fast_install
=needless
18054 # The else clause should only fire when bootstrapping the
18055 # libtool distribution, otherwise you forgot to ship ltmain.sh
18056 # with your package, and you will get complaints that there are
18057 # no rules to generate ltmain.sh.
18058 if test -f "$ltmain"; then
18059 # See if we are running on zsh, and set the options which allow our commands through
18060 # without removal of \ escapes.
18061 if test -n "${ZSH_VERSION+set}" ; then
18062 setopt NO_GLOB_SUBST
18064 # Now quote all the things that may contain metacharacters while being
18065 # careful not to overquote the AC_SUBSTed values. We take copies of the
18066 # variables and quote the copies for generation of the libtool script.
18067 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18069 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18070 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18071 deplibs_check_method reload_flag reload_cmds need_locks \
18072 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18073 lt_cv_sys_global_symbol_to_c_name_address \
18074 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18075 old_postinstall_cmds old_postuninstall_cmds \
18079 lt_prog_compiler_wl_F77 \
18080 lt_prog_compiler_pic_F77 \
18081 lt_prog_compiler_static_F77 \
18082 lt_prog_compiler_no_builtin_flag_F77 \
18083 export_dynamic_flag_spec_F77 \
18084 thread_safe_flag_spec_F77 \
18085 whole_archive_flag_spec_F77 \
18086 enable_shared_with_static_runtimes_F77 \
18087 old_archive_cmds_F77 \
18088 old_archive_from_new_cmds_F77 \
18089 predep_objects_F77 \
18090 postdep_objects_F77 \
18093 compiler_lib_search_path_F77 \
18094 compiler_lib_search_dirs_F77 \
18096 archive_expsym_cmds_F77 \
18097 postinstall_cmds_F77 \
18098 postuninstall_cmds_F77 \
18099 old_archive_from_expsyms_cmds_F77 \
18100 allow_undefined_flag_F77 \
18101 no_undefined_flag_F77 \
18102 export_symbols_cmds_F77 \
18103 hardcode_libdir_flag_spec_F77 \
18104 hardcode_libdir_flag_spec_ld_F77 \
18105 hardcode_libdir_separator_F77 \
18106 hardcode_automatic_F77 \
18108 module_expsym_cmds_F77 \
18109 lt_cv_prog_compiler_c_o_F77 \
18110 fix_srcfile_path_F77 \
18111 exclude_expsyms_F77 \
18112 include_expsyms_F77
; do
18115 old_archive_cmds_F77 | \
18116 old_archive_from_new_cmds_F77 | \
18117 archive_cmds_F77 | \
18118 archive_expsym_cmds_F77 | \
18119 module_cmds_F77 | \
18120 module_expsym_cmds_F77 | \
18121 old_archive_from_expsyms_cmds_F77 | \
18122 export_symbols_cmds_F77 | \
18123 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18124 postinstall_cmds | postuninstall_cmds | \
18125 old_postinstall_cmds | old_postuninstall_cmds | \
18126 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18127 # Double-quote double-evaled strings.
18128 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18131 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18137 *'\$0 --fallback-echo"')
18138 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18144 cat <<__EOF__ >> "$cfgfile"
18145 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18147 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18149 # Shell to use when invoking shell scripts.
18152 # Whether or not to build shared libraries.
18153 build_libtool_libs=$enable_shared
18155 # Whether or not to build static libraries.
18156 build_old_libs=$enable_static
18158 # Whether or not to add -lc for building shared libraries.
18159 build_libtool_need_lc=$archive_cmds_need_lc_F77
18161 # Whether or not to disallow shared libs when runtime libs are static
18162 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18164 # Whether or not to optimize for fast installation.
18165 fast_install=$enable_fast_install
18168 host_alias=$host_alias
18172 # The build system.
18173 build_alias=$build_alias
18177 # An echo program that does not interpret backslashes.
18182 AR_FLAGS=$lt_AR_FLAGS
18187 # LTCC compiler flags.
18188 LTCFLAGS=$lt_LTCFLAGS
18190 # A language-specific compiler.
18191 CC=$lt_compiler_F77
18193 # Is the compiler the GNU C compiler?
18199 # The linker used to build libraries.
18202 # Whether we need hard or soft links.
18205 # A BSD-compatible nm program.
18208 # A symbol stripping program
18211 # Used to examine libraries when file_magic_cmd begins "file"
18212 MAGIC_CMD=$MAGIC_CMD
18214 # Used on cygwin: DLL creation program.
18217 # Used on cygwin: object dumper.
18220 # Used on cygwin: assembler.
18223 # The name of the directory that contains temporary libtool files.
18226 # How to create reloadable object files.
18227 reload_flag=$lt_reload_flag
18228 reload_cmds=$lt_reload_cmds
18230 # How to pass a linker flag through the compiler.
18231 wl=$lt_lt_prog_compiler_wl_F77
18233 # Object file suffix (normally "o").
18234 objext="$ac_objext"
18236 # Old archive suffix (normally "a").
18239 # Shared library suffix (normally ".so").
18240 shrext_cmds='$shrext_cmds'
18242 # Executable file suffix (normally "").
18245 # Additional compiler flags for building library objects.
18246 pic_flag=$lt_lt_prog_compiler_pic_F77
18249 # What is the maximum length of a command?
18250 max_cmd_len=$lt_cv_sys_max_cmd_len
18252 # Does compiler simultaneously support -c and -o options?
18253 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18255 # Must we lock files when doing compilation?
18256 need_locks=$lt_need_locks
18258 # Do we need the lib prefix for modules?
18259 need_lib_prefix=$need_lib_prefix
18261 # Do we need a version for libraries?
18262 need_version=$need_version
18264 # Whether dlopen is supported.
18265 dlopen_support=$enable_dlopen
18267 # Whether dlopen of programs is supported.
18268 dlopen_self=$enable_dlopen_self
18270 # Whether dlopen of statically linked programs is supported.
18271 dlopen_self_static=$enable_dlopen_self_static
18273 # Compiler flag to prevent dynamic linking.
18274 link_static_flag=$lt_lt_prog_compiler_static_F77
18276 # Compiler flag to turn off builtin functions.
18277 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18279 # Compiler flag to allow reflexive dlopens.
18280 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18282 # Compiler flag to generate shared objects directly from archives.
18283 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18285 # Compiler flag to generate thread-safe objects.
18286 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18288 # Library versioning type.
18289 version_type=$version_type
18291 # Format of library name prefix.
18292 libname_spec=$lt_libname_spec
18294 # List of archive names. First name is the real one, the rest are links.
18295 # The last name is the one that the linker finds with -lNAME.
18296 library_names_spec=$lt_library_names_spec
18298 # The coded name of the library, if different from the real name.
18299 soname_spec=$lt_soname_spec
18301 # Commands used to build and install an old-style archive.
18303 old_archive_cmds=$lt_old_archive_cmds_F77
18304 old_postinstall_cmds=$lt_old_postinstall_cmds
18305 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18307 # Create an old-style archive from a shared archive.
18308 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18310 # Create a temporary old-style archive to link instead of a shared archive.
18311 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18313 # Commands used to build and install a shared archive.
18314 archive_cmds=$lt_archive_cmds_F77
18315 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18316 postinstall_cmds=$lt_postinstall_cmds
18317 postuninstall_cmds=$lt_postuninstall_cmds
18319 # Commands used to build a loadable module (assumed same as above if empty)
18320 module_cmds=$lt_module_cmds_F77
18321 module_expsym_cmds=$lt_module_expsym_cmds_F77
18323 # Commands to strip libraries.
18324 old_striplib=$lt_old_striplib
18325 striplib=$lt_striplib
18327 # Dependencies to place before the objects being linked to create a
18329 predep_objects=$lt_predep_objects_F77
18331 # Dependencies to place after the objects being linked to create a
18333 postdep_objects=$lt_postdep_objects_F77
18335 # Dependencies to place before the objects being linked to create a
18337 predeps=$lt_predeps_F77
18339 # Dependencies to place after the objects being linked to create a
18341 postdeps=$lt_postdeps_F77
18343 # The directories searched by this compiler when creating a shared
18345 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18347 # The library search path used internally by the compiler when linking
18348 # a shared library.
18349 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18351 # Method to check whether dependent libraries are shared objects.
18352 deplibs_check_method=$lt_deplibs_check_method
18354 # Command to use when deplibs_check_method == file_magic.
18355 file_magic_cmd=$lt_file_magic_cmd
18357 # Flag that allows shared libraries with undefined symbols to be built.
18358 allow_undefined_flag=$lt_allow_undefined_flag_F77
18360 # Flag that forces no undefined symbols.
18361 no_undefined_flag=$lt_no_undefined_flag_F77
18363 # Commands used to finish a libtool library installation in a directory.
18364 finish_cmds=$lt_finish_cmds
18366 # Same as above, but a single script fragment to be evaled but not shown.
18367 finish_eval=$lt_finish_eval
18369 # Take the output of nm and produce a listing of raw symbols and C names.
18370 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18372 # Transform the output of nm in a proper C declaration
18373 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18375 # Transform the output of nm in a C name address pair
18376 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18378 # This is the shared library runtime path variable.
18379 runpath_var=$runpath_var
18381 # This is the shared library path variable.
18382 shlibpath_var=$shlibpath_var
18384 # Is shlibpath searched before the hard-coded library search path?
18385 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18387 # How to hardcode a shared library path into an executable.
18388 hardcode_action=$hardcode_action_F77
18390 # Whether we should hardcode library paths into libraries.
18391 hardcode_into_libs=$hardcode_into_libs
18393 # Flag to hardcode \$libdir into a binary during linking.
18394 # This must work even if \$libdir does not exist.
18395 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18397 # If ld is used when linking, flag to hardcode \$libdir into
18398 # a binary during linking. This must work even if \$libdir does
18400 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18402 # Whether we need a single -rpath flag with a separated argument.
18403 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18405 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18406 # resulting binary.
18407 hardcode_direct=$hardcode_direct_F77
18409 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18410 # resulting binary.
18411 hardcode_minus_L=$hardcode_minus_L_F77
18413 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18414 # the resulting binary.
18415 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18417 # Set to yes if building a shared library automatically hardcodes DIR into the library
18418 # and all subsequent libraries and executables linked against it.
18419 hardcode_automatic=$hardcode_automatic_F77
18421 # Variables whose values should be saved in libtool wrapper scripts and
18422 # restored at relink time.
18423 variables_saved_for_relink="$variables_saved_for_relink"
18425 # Whether libtool must link a program against all its dependency libraries.
18426 link_all_deplibs=$link_all_deplibs_F77
18428 # Compile-time system search path for libraries
18429 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18431 # Run-time system search path for libraries
18432 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18434 # Fix the shell variable \$srcfile for the compiler.
18435 fix_srcfile_path=$lt_fix_srcfile_path
18437 # Set to yes if exported symbols are required.
18438 always_export_symbols=$always_export_symbols_F77
18440 # The commands to list exported symbols.
18441 export_symbols_cmds=$lt_export_symbols_cmds_F77
18443 # The commands to extract the exported symbol list from a shared archive.
18444 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18446 # Symbols that should not be listed in the preloaded symbols.
18447 exclude_expsyms=$lt_exclude_expsyms_F77
18449 # Symbols that must always be exported.
18450 include_expsyms=$lt_include_expsyms_F77
18452 # ### END LIBTOOL TAG CONFIG: $tagname
18458 # If there is no Makefile yet, we rely on a make rule to execute
18459 # `config.status --recheck' to rerun these tests and create the
18460 # libtool script then.
18461 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18462 if test -f "$ltmain_in"; then
18463 test -f Makefile
&& make "$ltmain"
18469 ac_cpp
='$CPP $CPPFLAGS'
18470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18482 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18485 # Source file extension for Java test sources.
18488 # Object file extension for compiled Java test sources.
18492 # Code to be used in simple compile tests
18493 lt_simple_compile_test_code
="class foo {}"
18495 # Code to be used in simple link tests
18496 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
18498 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18500 # If no C compiler was specified, use CC.
18503 # If no C compiler flags were specified, use CFLAGS.
18504 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18506 # Allow CC to be a program name with arguments.
18510 # save warnings/boilerplate of simple test code
18511 ac_outfile
=conftest.
$ac_objext
18512 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18513 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18514 _lt_compiler_boilerplate
=`cat conftest.err`
18517 ac_outfile
=conftest.
$ac_objext
18518 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18519 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18520 _lt_linker_boilerplate
=`cat conftest.err`
18524 # Allow CC to be a program name with arguments.
18529 for cc_temp
in $compiler""; do
18531 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18532 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18537 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18540 # GCJ did not exist at the time GCC didn't implicitly link libc in.
18541 archive_cmds_need_lc_GCJ
=no
18543 old_archive_cmds_GCJ
=$old_archive_cmds
18546 lt_prog_compiler_no_builtin_flag_GCJ
=
18548 if test "$GCC" = yes; then
18549 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
18552 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18553 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
18554 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18555 $as_echo_n "(cached) " >&6
18557 lt_cv_prog_compiler_rtti_exceptions
=no
18558 ac_outfile
=conftest.
$ac_objext
18559 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18560 lt_compiler_flag
="-fno-rtti -fno-exceptions"
18561 # Insert the option either (1) after the last *FLAGS variable, or
18562 # (2) before a word containing "conftest.", or (3) at the end.
18563 # Note that $ac_compile itself does not contain backslashes and begins
18564 # with a dollar sign (not a hyphen), so the echo should work correctly.
18565 # The option is referenced via a variable to avoid confusing sed.
18566 lt_compile
=`echo "$ac_compile" | $SED \
18567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18569 -e 's:$: $lt_compiler_flag:'`
18570 (eval echo "\"\$as_me:18570: $lt_compile\"" >&5)
18571 (eval "$lt_compile" 2>conftest.err
)
18573 cat conftest.err
>&5
18574 echo "$as_me:18574: \$? = $ac_status" >&5
18575 if (exit $ac_status) && test -s "$ac_outfile"; then
18576 # The compiler can only warn and ignore the option if not recognized
18577 # So say no if there are warnings other than the usual output.
18578 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18579 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18580 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18581 lt_cv_prog_compiler_rtti_exceptions
=yes
18587 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18588 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18590 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
18591 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18598 lt_prog_compiler_wl_GCJ
=
18599 lt_prog_compiler_pic_GCJ
=
18600 lt_prog_compiler_static_GCJ
=
18602 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18603 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18605 if test "$GCC" = yes; then
18606 lt_prog_compiler_wl_GCJ
='-Wl,'
18607 lt_prog_compiler_static_GCJ
='-static'
18611 # All AIX code is PIC.
18612 if test "$host_cpu" = ia64
; then
18613 # AIX 5 now supports IA64 processor
18614 lt_prog_compiler_static_GCJ
='-Bstatic'
18619 # FIXME: we need at least 68020 code to build shared libraries, but
18620 # adding the `-m68020' flag to GCC prevents building anything better,
18622 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
18625 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18626 # PIC is the default for these OSes.
18629 mingw
* | cygwin
* | pw32
* | os2
*)
18630 # This hack is so that the source file can tell whether it is being
18631 # built for inclusion in a dll (and should export symbols for example).
18632 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18633 # (--disable-auto-import) libraries
18637 darwin
* | rhapsody
*)
18638 # PIC is the default on this platform
18639 # Common symbols not allowed in MH_DYLIB files
18640 lt_prog_compiler_pic_GCJ
='-fno-common'
18644 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18645 # Instead, we relocate shared libraries at runtime.
18649 # Just because we use GCC doesn't mean we suddenly get shared libraries
18650 # on systems that don't support them.
18651 lt_prog_compiler_can_build_shared_GCJ
=no
18656 if test -d /usr
/nec
; then
18657 lt_prog_compiler_pic_GCJ
=-Kconform_pic
18662 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18663 # not for PA HP-UX.
18669 lt_prog_compiler_pic_GCJ
='-fPIC'
18675 lt_prog_compiler_pic_GCJ
='-fPIC'
18679 # PORTME Check for flag to pass linker flags through the system compiler.
18682 lt_prog_compiler_wl_GCJ
='-Wl,'
18683 if test "$host_cpu" = ia64
; then
18684 # AIX 5 now supports IA64 processor
18685 lt_prog_compiler_static_GCJ
='-Bstatic'
18687 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
18691 # PIC is the default on this platform
18692 # Common symbols not allowed in MH_DYLIB files
18693 case $cc_basename in
18695 lt_prog_compiler_pic_GCJ
='-qnocommon'
18696 lt_prog_compiler_wl_GCJ
='-Wl,'
18701 mingw
* | cygwin
* | pw32
* | os2
*)
18702 # This hack is so that the source file can tell whether it is being
18703 # built for inclusion in a dll (and should export symbols for example).
18707 hpux9
* | hpux10
* | hpux11
*)
18708 lt_prog_compiler_wl_GCJ
='-Wl,'
18709 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18710 # not for PA HP-UX.
18716 lt_prog_compiler_pic_GCJ
='+Z'
18719 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18720 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18723 irix5
* | irix6
* | nonstopux
*)
18724 lt_prog_compiler_wl_GCJ
='-Wl,'
18725 # PIC (with -KPIC) is the default.
18726 lt_prog_compiler_static_GCJ
='-non_shared'
18730 lt_prog_compiler_pic_GCJ
='-KPIC'
18731 lt_prog_compiler_static_GCJ
='-Bstatic'
18734 linux
* | k
*bsd
*-gnu)
18735 case $cc_basename in
18737 lt_prog_compiler_wl_GCJ
='-Wl,'
18738 lt_prog_compiler_pic_GCJ
='-KPIC'
18739 lt_prog_compiler_static_GCJ
='-static'
18741 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
18742 # Portland Group compilers (*not* the Pentium gcc compiler,
18743 # which looks to be a dead project)
18744 lt_prog_compiler_wl_GCJ
='-Wl,'
18745 lt_prog_compiler_pic_GCJ
='-fpic'
18746 lt_prog_compiler_static_GCJ
='-Bstatic'
18749 lt_prog_compiler_wl_GCJ
='-Wl,'
18750 # All Alpha code is PIC.
18751 lt_prog_compiler_static_GCJ
='-non_shared'
18754 case `$CC -V 2>&1 | sed 5q` in
18757 lt_prog_compiler_pic_GCJ
='-KPIC'
18758 lt_prog_compiler_static_GCJ
='-Bstatic'
18759 lt_prog_compiler_wl_GCJ
='-Wl,'
18762 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18763 lt_prog_compiler_pic_GCJ
='-KPIC'
18764 lt_prog_compiler_static_GCJ
='-Bstatic'
18765 lt_prog_compiler_wl_GCJ
=''
18772 osf3
* | osf4
* | osf5
*)
18773 lt_prog_compiler_wl_GCJ
='-Wl,'
18774 # All OSF/1 code is PIC.
18775 lt_prog_compiler_static_GCJ
='-non_shared'
18779 lt_prog_compiler_static_GCJ
='-non_shared'
18783 lt_prog_compiler_pic_GCJ
='-KPIC'
18784 lt_prog_compiler_static_GCJ
='-Bstatic'
18785 case $cc_basename in
18786 f77
* | f90
* | f95
*)
18787 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18789 lt_prog_compiler_wl_GCJ
='-Wl,';;
18794 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18795 lt_prog_compiler_pic_GCJ
='-PIC'
18796 lt_prog_compiler_static_GCJ
='-Bstatic'
18799 sysv4 | sysv4.2uw2
* | sysv4.3
*)
18800 lt_prog_compiler_wl_GCJ
='-Wl,'
18801 lt_prog_compiler_pic_GCJ
='-KPIC'
18802 lt_prog_compiler_static_GCJ
='-Bstatic'
18806 if test -d /usr
/nec
;then
18807 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18808 lt_prog_compiler_static_GCJ
='-Bstatic'
18812 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18813 lt_prog_compiler_wl_GCJ
='-Wl,'
18814 lt_prog_compiler_pic_GCJ
='-KPIC'
18815 lt_prog_compiler_static_GCJ
='-Bstatic'
18819 lt_prog_compiler_wl_GCJ
='-Wl,'
18820 lt_prog_compiler_can_build_shared_GCJ
=no
18824 lt_prog_compiler_pic_GCJ
='-pic'
18825 lt_prog_compiler_static_GCJ
='-Bstatic'
18829 lt_prog_compiler_can_build_shared_GCJ
=no
18834 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18835 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
18838 # Check to make sure the PIC flag actually works.
18840 if test -n "$lt_prog_compiler_pic_GCJ"; then
18842 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18843 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
18844 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18845 $as_echo_n "(cached) " >&6
18847 lt_cv_prog_compiler_pic_works_GCJ
=no
18848 ac_outfile
=conftest.
$ac_objext
18849 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18850 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18851 # Insert the option either (1) after the last *FLAGS variable, or
18852 # (2) before a word containing "conftest.", or (3) at the end.
18853 # Note that $ac_compile itself does not contain backslashes and begins
18854 # with a dollar sign (not a hyphen), so the echo should work correctly.
18855 # The option is referenced via a variable to avoid confusing sed.
18856 lt_compile
=`echo "$ac_compile" | $SED \
18857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18859 -e 's:$: $lt_compiler_flag:'`
18860 (eval echo "\"\$as_me:18860: $lt_compile\"" >&5)
18861 (eval "$lt_compile" 2>conftest.err
)
18863 cat conftest.err
>&5
18864 echo "$as_me:18864: \$? = $ac_status" >&5
18865 if (exit $ac_status) && test -s "$ac_outfile"; then
18866 # The compiler can only warn and ignore the option if not recognized
18867 # So say no if there are warnings other than the usual output.
18868 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18869 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18870 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18871 lt_cv_prog_compiler_pic_works_GCJ
=yes
18877 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18878 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18880 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
18881 case $lt_prog_compiler_pic_GCJ in
18883 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18886 lt_prog_compiler_pic_GCJ
=
18887 lt_prog_compiler_can_build_shared_GCJ
=no
18892 # For platforms which do not support PIC, -DPIC is meaningless:
18894 lt_prog_compiler_pic_GCJ
=
18897 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18902 # Check to make sure the static flag actually works.
18904 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18905 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18906 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18907 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18908 $as_echo_n "(cached) " >&6
18910 lt_cv_prog_compiler_static_works_GCJ
=no
18911 save_LDFLAGS
="$LDFLAGS"
18912 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18913 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18914 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18915 # The linker can only warn and ignore the option if not recognized
18916 # So say no if there are warnings
18917 if test -s conftest.err
; then
18918 # Append any errors to the config.log.
18919 cat conftest.err
1>&5
18920 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
18921 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18922 if diff conftest.exp conftest.er2
>/dev
/null
; then
18923 lt_cv_prog_compiler_static_works_GCJ
=yes
18926 lt_cv_prog_compiler_static_works_GCJ
=yes
18930 LDFLAGS
="$save_LDFLAGS"
18933 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18934 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18936 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
18939 lt_prog_compiler_static_GCJ
=
18943 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18944 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18945 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18946 $as_echo_n "(cached) " >&6
18948 lt_cv_prog_compiler_c_o_GCJ
=no
18949 $rm -r conftest
2>/dev
/null
18953 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18955 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18956 # Insert the option either (1) after the last *FLAGS variable, or
18957 # (2) before a word containing "conftest.", or (3) at the end.
18958 # Note that $ac_compile itself does not contain backslashes and begins
18959 # with a dollar sign (not a hyphen), so the echo should work correctly.
18960 lt_compile
=`echo "$ac_compile" | $SED \
18961 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18962 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18963 -e 's:$: $lt_compiler_flag:'`
18964 (eval echo "\"\$as_me:18964: $lt_compile\"" >&5)
18965 (eval "$lt_compile" 2>out
/conftest.err
)
18967 cat out
/conftest.err
>&5
18968 echo "$as_me:18968: \$? = $ac_status" >&5
18969 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18971 # The compiler can only warn and ignore the option if not recognized
18972 # So say no if there are warnings
18973 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
18974 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18975 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18976 lt_cv_prog_compiler_c_o_GCJ
=yes
18981 # SGI C++ compiler will create directory out/ii_files/ for
18982 # template instantiation
18983 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18984 $rm out
/* && rmdir out
18990 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18991 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18994 hard_links
="nottested"
18995 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18996 # do not overwrite the value of need_locks provided by the user
18997 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18998 $as_echo_n "checking if we can lock with hard links... " >&6; }
19001 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19003 ln conftest.a conftest.b
2>&5 || hard_links
=no
19004 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19005 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
19006 $as_echo "$hard_links" >&6; }
19007 if test "$hard_links" = no
; then
19008 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19009 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19016 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19017 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19020 allow_undefined_flag_GCJ
=
19021 enable_shared_with_static_runtimes_GCJ
=no
19023 archive_expsym_cmds_GCJ
=
19024 old_archive_From_new_cmds_GCJ
=
19025 old_archive_from_expsyms_cmds_GCJ
=
19026 export_dynamic_flag_spec_GCJ
=
19027 whole_archive_flag_spec_GCJ
=
19028 thread_safe_flag_spec_GCJ
=
19029 hardcode_libdir_flag_spec_GCJ
=
19030 hardcode_libdir_flag_spec_ld_GCJ
=
19031 hardcode_libdir_separator_GCJ
=
19032 hardcode_direct_GCJ
=no
19033 hardcode_minus_L_GCJ
=no
19034 hardcode_shlibpath_var_GCJ
=unsupported
19035 link_all_deplibs_GCJ
=unknown
19036 hardcode_automatic_GCJ
=no
19038 module_expsym_cmds_GCJ
=
19039 always_export_symbols_GCJ
=no
19040 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19041 # include_expsyms should be a list of space-separated symbols to be *always*
19042 # included in the symbol list
19043 include_expsyms_GCJ
=
19044 # exclude_expsyms can be an extended regexp of symbols to exclude
19045 # it will be wrapped by ` (' and `)$', so one must not match beginning or
19046 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19047 # as well as any symbol that contains `d'.
19048 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19049 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19050 # platforms (ab)use it in PIC code, but their linkers get confused if
19051 # the symbol is explicitly referenced. Since portable code cannot
19052 # rely on this symbol name, it's probably fine to never include it in
19053 # preloaded symbol tables.
19054 # Exclude shared library initialization/finalization symbols.
19055 extract_expsyms_cmds
=
19056 # Just being paranoid about ensuring that cc_basename is set.
19057 for cc_temp
in $compiler""; do
19059 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19060 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19065 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19068 cygwin
* | mingw
* | pw32
*)
19069 # FIXME: the MSVC++ port hasn't been tested in a loooong time
19070 # When not using gcc, we currently assume that we are using
19071 # Microsoft Visual C++.
19072 if test "$GCC" != yes; then
19077 # we just hope/assume this is gcc and not c89 (= MSVC++)
19086 if test "$with_gnu_ld" = yes; then
19087 # If archive_cmds runs LD, not CC, wlarc should be empty
19090 # Set some defaults for GNU ld with shared library support. These
19091 # are reset later if shared libraries are not supported. Putting them
19092 # here allows them to be overridden if necessary.
19093 runpath_var
=LD_RUN_PATH
19094 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
19095 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
19096 # ancient GNU ld didn't support --whole-archive et. al.
19097 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
19098 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19100 whole_archive_flag_spec_GCJ
=
19102 supports_anon_versioning
=no
19103 case `$LD -v 2>/dev/null` in
19104 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
19105 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
19106 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
19107 *\
2.11.
*) ;; # other 2.11 versions
19108 *) supports_anon_versioning
=yes ;;
19111 # See if GNU ld supports shared libraries.
19114 # On AIX/PPC, the GNU linker is very broken
19115 if test "$host_cpu" != ia64
; then
19119 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
19120 *** to be unable to reliably create shared libraries on AIX.
19121 *** Therefore, libtool is disabling shared libraries support. If you
19122 *** really care for shared libraries, you may want to modify your PATH
19123 *** so that a non-GNU linker is found, and then restart.
19130 archive_cmds_GCJ
='$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)'
19131 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19132 hardcode_minus_L_GCJ
=yes
19134 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19135 # that the semantics of dynamic libraries on AmigaOS, at least up
19136 # to version 4, is to share data among multiple programs linked
19137 # with the same dynamic library. Since this doesn't match the
19138 # behavior of shared libraries on other platforms, we can't use
19144 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19145 allow_undefined_flag_GCJ
=unsupported
19146 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19147 # support --undefined. This deserves some investigation. FIXME
19148 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19154 cygwin
* | mingw
* | pw32
*)
19155 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19156 # as there is no search path for DLLs.
19157 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19158 allow_undefined_flag_GCJ
=unsupported
19159 always_export_symbols_GCJ
=no
19160 enable_shared_with_static_runtimes_GCJ
=yes
19161 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19163 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
19164 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19165 # If the export-symbols file already is a .def file (1st line
19166 # is EXPORTS), use it as is; otherwise, prepend...
19167 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19168 cp $export_symbols $output_objdir/$soname.def;
19170 echo EXPORTS > $output_objdir/$soname.def;
19171 cat $export_symbols >> $output_objdir/$soname.def;
19173 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19180 hardcode_direct_GCJ
=no
19181 hardcode_shlibpath_var_GCJ
=no
19182 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19183 export_dynamic_flag_spec_GCJ
='${wl}-E'
19184 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19185 # Instead, shared libraries are loaded at an image base (0x10000000 by
19186 # default) and relocated if they conflict, which is a slow very memory
19187 # consuming and fragmenting process. To avoid this, we pick a random,
19188 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19189 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19190 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19191 archive_expsym_cmds_GCJ
='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'
19194 gnu
* | linux
* | k
*bsd
*-gnu)
19195 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19197 case $cc_basename,$host_cpu in
19198 pgcc
*) # Portland Group C compiler
19199 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19200 tmp_addflag
=' $pic_flag'
19202 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
19203 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19204 tmp_addflag
=' $pic_flag -Mnomain' ;;
19205 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
19206 tmp_addflag
=' -i_dynamic' ;;
19207 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
19208 tmp_addflag
=' -i_dynamic -nofor_main' ;;
19209 ifc
* | ifort
*) # Intel Fortran compiler
19210 tmp_addflag
=' -nofor_main' ;;
19212 case `$CC -V 2>&1 | sed 5q` in
19213 *Sun\ C
*) # Sun C 5.9
19214 whole_archive_flag_spec_GCJ
='${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'
19215 tmp_sharedflag
='-G' ;;
19216 *Sun\ F
*) # Sun Fortran 8.3
19217 tmp_sharedflag
='-G' ;;
19219 tmp_sharedflag
='-shared' ;;
19221 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19223 if test $supports_anon_versioning = yes; then
19224 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
19225 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19226 $echo "local: *; };" >> $output_objdir/$libname.ver~
19227 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19235 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19236 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19239 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19240 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19245 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
19249 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19250 *** create shared libraries on Solaris systems. Therefore, libtool
19251 *** is disabling shared libraries support. We urge you to upgrade GNU
19252 *** binutils to release 2.9.1 or newer. Another option is to modify
19253 *** your PATH or compiler configuration so that the native linker is
19254 *** used, and then restart.
19257 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19258 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19259 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19265 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
19266 case `$LD -v 2>&1` in
19267 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
19271 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19272 *** reliably create shared libraries on SCO systems. Therefore, libtool
19273 *** is disabling shared libraries support. We urge you to upgrade GNU
19274 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19275 *** your PATH or compiler configuration so that the native linker is
19276 *** used, and then restart.
19281 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19282 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19283 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19284 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19293 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19295 hardcode_direct_GCJ
=yes
19296 hardcode_shlibpath_var_GCJ
=no
19300 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
19301 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19302 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19309 if test "$ld_shlibs_GCJ" = no
; then
19311 hardcode_libdir_flag_spec_GCJ
=
19312 export_dynamic_flag_spec_GCJ
=
19313 whole_archive_flag_spec_GCJ
=
19316 # PORTME fill in a description of your system's linker (not GNU ld)
19319 allow_undefined_flag_GCJ
=unsupported
19320 always_export_symbols_GCJ
=yes
19321 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19322 # Note: this linker hardcodes the directories in LIBPATH if there
19323 # are no directories specified by -L.
19324 hardcode_minus_L_GCJ
=yes
19325 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19326 # Neither direct hardcoding nor static linking is supported with a
19328 hardcode_direct_GCJ
=unsupported
19333 if test "$host_cpu" = ia64
; then
19334 # On IA64, the linker does run time linking by default, so we don't
19335 # have to do anything special.
19336 aix_use_runtimelinking
=no
19337 exp_sym_flag
='-Bexport'
19340 # If we're using GNU nm, then we don't want the "-C" option.
19341 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19342 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19343 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19345 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19347 aix_use_runtimelinking
=no
19349 # Test if we are trying to use run time linking or normal
19350 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19351 # need to do runtime linking.
19352 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
19353 for ld_flag
in $LDFLAGS; do
19354 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
19355 aix_use_runtimelinking
=yes
19362 exp_sym_flag
='-bexport'
19363 no_entry_flag
='-bnoentry'
19366 # When large executables or shared objects are built, AIX ld can
19367 # have problems creating the table of contents. If linking a library
19368 # or program results in "error TOC overflow" add -mminimal-toc to
19369 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19370 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19372 archive_cmds_GCJ
=''
19373 hardcode_direct_GCJ
=yes
19374 hardcode_libdir_separator_GCJ
=':'
19375 link_all_deplibs_GCJ
=yes
19377 if test "$GCC" = yes; then
19378 case $host_os in aix4.
[012]|aix4.
[012].
*)
19379 # We only want to do this on AIX 4.2 and lower, the check
19380 # below for broken collect2 doesn't work under 4.3+
19381 collect2name
=`${CC} -print-prog-name=collect2`
19382 if test -f "$collect2name" && \
19383 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
19385 # We have reworked collect2
19388 # We have old collect2
19389 hardcode_direct_GCJ
=unsupported
19390 # It fails to find uninstalled libraries when the uninstalled
19391 # path is not listed in the libpath. Setting hardcode_minus_L
19392 # to unsupported forces relinking
19393 hardcode_minus_L_GCJ
=yes
19394 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19395 hardcode_libdir_separator_GCJ
=
19399 shared_flag
='-shared'
19400 if test "$aix_use_runtimelinking" = yes; then
19401 shared_flag
="$shared_flag "'${wl}-G'
19405 if test "$host_cpu" = ia64
; then
19406 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19407 # chokes on -Wl,-G. The following line is correct:
19410 if test "$aix_use_runtimelinking" = yes; then
19411 shared_flag
='${wl}-G'
19413 shared_flag
='${wl}-bM:SRE'
19418 # It seems that -bexpall does not export symbols beginning with
19419 # underscore (_), so it is better to generate a list of symbols to export.
19420 always_export_symbols_GCJ
=yes
19421 if test "$aix_use_runtimelinking" = yes; then
19422 # Warning - without using the other runtime loading flags (-brtl),
19423 # -berok will link without error, but may produce a broken library.
19424 allow_undefined_flag_GCJ
='-berok'
19425 # Determine the default libpath from the value encoded in an empty executable.
19426 cat >conftest.
$ac_ext <<_ACEOF
19429 cat confdefs.h
>>conftest.
$ac_ext
19430 cat >>conftest.
$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19441 rm -f conftest.
$ac_objext conftest
$ac_exeext
19442 if { (ac_try
="$ac_link"
19443 case "(($ac_try" in
19444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19448 $as_echo "$ac_try_echo") >&5
19449 (eval "$ac_link") 2>conftest.er1
19451 grep -v '^ *+' conftest.er1 >conftest.err
19453 cat conftest.err >&5
19454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest$ac_exeext && {
19459 test "$cross_compiling" = yes ||
19460 $as_test_x conftest$ac_exeext
19463 lt_aix_libpath_sed='
19464 /Import File Strings/,/^$/ {
19470 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
19471 # Check for a 64-bit object if we didn't find anything.
19472 if test -z "$aix_libpath"; then
19473 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
19476 $as_echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.$ac_ext >&5
19482 rm -rf conftest.dSYM
19483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19484 conftest$ac_exeext conftest.$ac_ext
19485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19487 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19488 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19490 if test "$host_cpu" = ia64; then
19491 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19492 allow_undefined_flag_GCJ="-z nodefs"
19493 archive_expsym_cmds_GCJ="\$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"
19495 # Determine the default libpath from the value encoded in an empty executable.
19496 cat >conftest.$ac_ext <<_ACEOF
19499 cat confdefs.h >>conftest.$ac_ext
19500 cat >>conftest.$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19511 rm -f conftest.$ac_objext conftest$ac_exeext
19512 if { (ac_try="$ac_link"
19513 case "(($ac_try" in
19514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19515 *) ac_try_echo
=$ac_try;;
19517 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
19518 $as_echo "$ac_try_echo") >&5
19519 (eval "$ac_link") 2>conftest.er1
19521 grep -v '^ *+' conftest.er1
>conftest.err
19523 cat conftest.err
>&5
19524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_c_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest
$ac_exeext && {
19529 test "$cross_compiling" = yes ||
19530 $as_test_x conftest
$ac_exeext
19533 lt_aix_libpath_sed
='
19534 /Import File Strings/,/^$/ {
19540 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19541 # Check for a 64-bit object if we didn't find anything.
19542 if test -z "$aix_libpath"; then
19543 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19546 $as_echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.
$ac_ext >&5
19552 rm -rf conftest.dSYM
19553 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19554 conftest
$ac_exeext conftest.
$ac_ext
19555 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19557 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
19558 # Warning - without using the other run time loading flags,
19559 # -berok will link without error, but may produce a broken library.
19560 no_undefined_flag_GCJ
=' ${wl}-bernotok'
19561 allow_undefined_flag_GCJ
=' ${wl}-berok'
19562 # Exported symbols can be pulled into shared objects from archives
19563 whole_archive_flag_spec_GCJ
='$convenience'
19564 archive_cmds_need_lc_GCJ
=yes
19565 # This is similar to how AIX traditionally builds its shared libraries.
19566 archive_expsym_cmds_GCJ
="\$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'
19572 archive_cmds_GCJ
='$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)'
19573 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19574 hardcode_minus_L_GCJ
=yes
19575 # see comment about different semantics on the GNU ld section
19580 export_dynamic_flag_spec_GCJ
=-rdynamic
19583 cygwin
* | mingw
* | pw32
*)
19584 # When not using gcc, we currently assume that we are using
19585 # Microsoft Visual C++.
19586 # hardcode_libdir_flag_spec is actually meaningless, as there is
19587 # no search path for DLLs.
19588 hardcode_libdir_flag_spec_GCJ
=' '
19589 allow_undefined_flag_GCJ
=unsupported
19590 # Tell ltmain to make .lib files, not .a files.
19592 # Tell ltmain to make .dll files, not .so files.
19594 # FIXME: Setting linknames here is a bad hack.
19595 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19596 # The linker will automatically build a .lib file if we build a DLL.
19597 old_archive_From_new_cmds_GCJ
='true'
19598 # FIXME: Should let the user specify the lib program.
19599 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
19600 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
19601 enable_shared_with_static_runtimes_GCJ
=yes
19604 darwin
* | rhapsody
*)
19606 rhapsody
* | darwin1.
[012])
19607 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
19610 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19611 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19613 case ${MACOSX_DEPLOYMENT_TARGET} in
19615 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19618 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
19624 archive_cmds_need_lc_GCJ
=no
19625 hardcode_direct_GCJ
=no
19626 hardcode_automatic_GCJ
=yes
19627 hardcode_shlibpath_var_GCJ
=unsupported
19628 whole_archive_flag_spec_GCJ
=''
19629 link_all_deplibs_GCJ
=yes
19630 if test "$GCC" = yes ; then
19631 output_verbose_link_cmd
='echo'
19632 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19633 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19634 archive_expsym_cmds_GCJ
="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}"
19635 module_expsym_cmds_GCJ
="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}"
19637 case $cc_basename in
19639 output_verbose_link_cmd
='echo'
19640 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19641 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19642 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19643 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19644 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19654 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19655 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19656 hardcode_shlibpath_var_GCJ
=no
19663 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19664 # support. Future versions do this automatically, but an explicit c++rt0.o
19665 # does not break anything, and helps significantly (at the cost of a little
19668 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19669 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19670 hardcode_direct_GCJ
=yes
19671 hardcode_shlibpath_var_GCJ
=no
19674 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19676 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19677 hardcode_direct_GCJ
=yes
19678 hardcode_minus_L_GCJ
=yes
19679 hardcode_shlibpath_var_GCJ
=no
19682 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19683 freebsd
* | dragonfly
*)
19684 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19685 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19686 hardcode_direct_GCJ
=yes
19687 hardcode_shlibpath_var_GCJ
=no
19691 if test "$GCC" = yes; then
19692 archive_cmds_GCJ
='$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'
19694 archive_cmds_GCJ
='$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'
19696 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19697 hardcode_libdir_separator_GCJ
=:
19698 hardcode_direct_GCJ
=yes
19700 # hardcode_minus_L: Not really in the search PATH,
19701 # but as the default location of the library.
19702 hardcode_minus_L_GCJ
=yes
19703 export_dynamic_flag_spec_GCJ
='${wl}-E'
19707 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19708 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19710 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19712 if test "$with_gnu_ld" = no
; then
19713 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19714 hardcode_libdir_separator_GCJ
=:
19716 hardcode_direct_GCJ
=yes
19717 export_dynamic_flag_spec_GCJ
='${wl}-E'
19719 # hardcode_minus_L: Not really in the search PATH,
19720 # but as the default location of the library.
19721 hardcode_minus_L_GCJ
=yes
19726 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19729 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19732 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19735 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19741 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19744 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19747 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19751 if test "$with_gnu_ld" = no
; then
19752 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19753 hardcode_libdir_separator_GCJ
=:
19757 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19758 hardcode_direct_GCJ
=no
19759 hardcode_shlibpath_var_GCJ
=no
19762 hardcode_direct_GCJ
=yes
19763 export_dynamic_flag_spec_GCJ
='${wl}-E'
19765 # hardcode_minus_L: Not really in the search PATH,
19766 # but as the default location of the library.
19767 hardcode_minus_L_GCJ
=yes
19773 irix5
* | irix6
* | nonstopux
*)
19774 if test "$GCC" = yes; then
19775 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19777 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19778 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19780 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19781 hardcode_libdir_separator_GCJ
=:
19782 link_all_deplibs_GCJ
=yes
19786 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19787 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19789 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19791 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19792 hardcode_direct_GCJ
=yes
19793 hardcode_shlibpath_var_GCJ
=no
19797 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19798 hardcode_direct_GCJ
=yes
19799 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19800 hardcode_libdir_separator_GCJ
=:
19801 hardcode_shlibpath_var_GCJ
=no
19805 if test -f /usr
/libexec
/ld.so
; then
19806 hardcode_direct_GCJ
=yes
19807 hardcode_shlibpath_var_GCJ
=no
19808 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19809 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19810 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19811 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19812 export_dynamic_flag_spec_GCJ
='${wl}-E'
19815 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19816 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19817 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19820 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19821 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19831 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19832 hardcode_minus_L_GCJ
=yes
19833 allow_undefined_flag_GCJ
=unsupported
19834 archive_cmds_GCJ
='$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'
19835 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19839 if test "$GCC" = yes; then
19840 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19841 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19843 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19844 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19846 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19847 hardcode_libdir_separator_GCJ
=:
19850 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19851 if test "$GCC" = yes; then
19852 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19853 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19854 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19856 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19857 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19858 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19859 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19861 # Both c and cxx compiler support -rpath directly
19862 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19864 hardcode_libdir_separator_GCJ
=:
19868 no_undefined_flag_GCJ
=' -z text'
19869 if test "$GCC" = yes; then
19871 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19872 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19873 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19876 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19877 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19878 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19880 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19881 hardcode_shlibpath_var_GCJ
=no
19883 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19885 # The compiler driver will combine and reorder linker options,
19886 # but understands `-z linker_flag'. GCC discards it without `$wl',
19887 # but is careful enough not to reorder.
19888 # Supported since Solaris 2.6 (maybe 2.5.1?)
19889 if test "$GCC" = yes; then
19890 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19892 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
19896 link_all_deplibs_GCJ
=yes
19900 if test "x$host_vendor" = xsequent
; then
19901 # Use $CC to link under sequent, because it throws in some extra .o
19902 # files that make .init and .fini sections work.
19903 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19905 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19907 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19908 hardcode_direct_GCJ
=yes
19909 hardcode_minus_L_GCJ
=yes
19910 hardcode_shlibpath_var_GCJ
=no
19914 case $host_vendor in
19916 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19917 hardcode_direct_GCJ
=yes # is this really true???
19920 ## LD is ld it makes a PLAMLIB
19921 ## CC just makes a GrossModule.
19922 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19923 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19924 hardcode_direct_GCJ
=no
19927 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19928 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19931 runpath_var
='LD_RUN_PATH'
19932 hardcode_shlibpath_var_GCJ
=no
19936 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19937 hardcode_shlibpath_var_GCJ
=no
19938 export_dynamic_flag_spec_GCJ
='-Bexport'
19942 if test -d /usr
/nec
; then
19943 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19944 hardcode_shlibpath_var_GCJ
=no
19945 runpath_var
=LD_RUN_PATH
19946 hardcode_runpath_var
=yes
19951 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19952 no_undefined_flag_GCJ
='${wl}-z,text'
19953 archive_cmds_need_lc_GCJ
=no
19954 hardcode_shlibpath_var_GCJ
=no
19955 runpath_var
='LD_RUN_PATH'
19957 if test "$GCC" = yes; then
19958 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19959 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19961 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19962 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19966 sysv5
* | sco3.2v5
* | sco5v6
*)
19967 # Note: We can NOT use -z defs as we might desire, because we do not
19968 # link with -lc, and that would cause any symbols used from libc to
19969 # always be unresolved, which means just about no library would
19970 # ever link correctly. If we're not using GNU ld we use -z text
19971 # though, which does catch some bad symbols but isn't as heavy-handed
19973 no_undefined_flag_GCJ
='${wl}-z,text'
19974 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19975 archive_cmds_need_lc_GCJ
=no
19976 hardcode_shlibpath_var_GCJ
=no
19977 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19978 hardcode_libdir_separator_GCJ
=':'
19979 link_all_deplibs_GCJ
=yes
19980 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19981 runpath_var
='LD_RUN_PATH'
19983 if test "$GCC" = yes; then
19984 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19985 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19987 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19988 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19993 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19994 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19995 hardcode_shlibpath_var_GCJ
=no
20004 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20005 $as_echo "$ld_shlibs_GCJ" >&6; }
20006 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
20009 # Do we need to explicitly link libc?
20011 case "x$archive_cmds_need_lc_GCJ" in
20013 # Assume -lc should be added
20014 archive_cmds_need_lc_GCJ
=yes
20016 if test "$enable_shared" = yes && test "$GCC" = yes; then
20017 case $archive_cmds_GCJ in
20019 # FIXME: we may have to deal with multi-command sequences.
20022 # Test whether the compiler implicitly links with -lc since on some
20023 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20024 # to ld, don't add -lc before -lgcc.
20025 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20026 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20028 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20031 (eval $ac_compile) 2>&5
20033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); } 2>conftest.err
; then
20037 libobjs
=conftest.
$ac_objext
20039 wl
=$lt_prog_compiler_wl_GCJ
20040 pic_flag
=$lt_prog_compiler_pic_GCJ
20046 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
20047 allow_undefined_flag_GCJ
=
20048 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20049 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
20051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }
20054 archive_cmds_need_lc_GCJ
=no
20056 archive_cmds_need_lc_GCJ
=yes
20058 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
20060 cat conftest.err
1>&5
20063 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20064 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
20071 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20072 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20073 library_names_spec
=
20074 libname_spec
='lib$name'
20078 postuninstall_cmds
=
20082 shlibpath_overrides_runpath
=unknown
20084 dynamic_linker
="$host_os ld.so"
20085 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
20087 need_lib_prefix
=unknown
20088 hardcode_into_libs
=no
20090 # when you set need_version to no, make sure it does not cause -set_version
20091 # flags to be left without arguments
20092 need_version
=unknown
20097 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20098 shlibpath_var
=LIBPATH
20100 # AIX 3 has no versioning support, so we append a major version to the name.
20101 soname_spec
='${libname}${release}${shared_ext}$major'
20108 hardcode_into_libs
=yes
20109 if test "$host_cpu" = ia64
; then
20110 # AIX 5 supports IA64
20111 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20112 shlibpath_var
=LD_LIBRARY_PATH
20114 # With GCC up to 2.95.x, collect2 would create an import file
20115 # for dependence libraries. The import file would start with
20116 # the line `#! .'. This would cause the generated library to
20117 # depend on `.', always an invalid library. This was fixed in
20118 # development snapshots of GCC prior to 3.0.
20120 aix4 | aix4.
[01] | aix4.
[01].
*)
20121 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20123 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20126 can_build_shared
=no
20130 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20131 # soname into executable. Probably we can add versioning support to
20132 # collect2, so additional links can be useful in future.
20133 if test "$aix_use_runtimelinking" = yes; then
20134 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20135 # instead of lib<name>.a to let people know that these are not
20136 # typical AIX shared libraries.
20137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20139 # We preserve .a as extension for shared libraries through AIX4.2
20140 # and later when we are not doing run time linking.
20141 library_names_spec
='${libname}${release}.a $libname.a'
20142 soname_spec
='${libname}${release}${shared_ext}$major'
20144 shlibpath_var
=LIBPATH
20149 library_names_spec
='$libname.ixlibrary $libname.a'
20150 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20151 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'
20155 library_names_spec
='${libname}${shared_ext}'
20156 dynamic_linker
="$host_os ld.so"
20157 shlibpath_var
=LIBRARY_PATH
20163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20164 soname_spec
='${libname}${release}${shared_ext}$major'
20165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20166 shlibpath_var
=LD_LIBRARY_PATH
20167 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20168 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20169 # the default ld.so.conf also contains /usr/contrib/lib and
20170 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20171 # libtool to hard-code these into programs
20174 cygwin
* | mingw
* | pw32
*)
20175 version_type
=windows
20180 case $GCC,$host_os in
20181 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20182 library_names_spec
='$libname.dll.a'
20183 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20184 postinstall_cmds
='base_file=`basename \${file}`~
20185 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20186 dldir=$destdir/`dirname \$dlpath`~
20187 test -d \$dldir || mkdir -p \$dldir~
20188 $install_prog $dir/$dlname \$dldir/$dlname~
20189 chmod a+x \$dldir/$dlname'
20190 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20191 dlpath=$dir/\$dldll~
20193 shlibpath_overrides_runpath
=yes
20197 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20198 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20199 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20202 # MinGW DLLs use traditional 'lib' prefix
20203 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20204 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20205 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20206 # It is most probably a Windows format PATH printed by
20207 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20208 # path with ; separators, and with drive letters. We can handle the
20209 # drive letters (cygwin fileutils understands them), so leave them,
20210 # especially as we might pass files found there to a mingw objdump,
20211 # which wouldn't understand a cygwinified path. Ahh.
20212 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20214 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20218 # pw32 DLLs use 'pw' prefix rather than 'lib'
20219 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20225 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20228 dynamic_linker
='Win32 ld.exe'
20229 # FIXME: first we should search . and the directory the executable is in
20233 darwin
* | rhapsody
*)
20234 dynamic_linker
="$host_os dyld"
20235 version_type
=darwin
20238 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20239 soname_spec
='${libname}${release}${major}$shared_ext'
20240 shlibpath_overrides_runpath
=yes
20241 shlibpath_var
=DYLD_LIBRARY_PATH
20242 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
20244 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20252 soname_spec
='${libname}${release}${shared_ext}$major'
20253 shlibpath_var
=LD_LIBRARY_PATH
20260 freebsd
* | dragonfly
*)
20261 # DragonFly does not have aout. When/if they implement a new
20262 # versioning mechanism, adjust this.
20263 if test -x /usr
/bin
/objformat
; then
20264 objformat
=`/usr/bin/objformat`
20267 freebsd
[123]*) objformat
=aout
;;
20268 *) objformat
=elf
;;
20271 version_type
=freebsd-
$objformat
20272 case $version_type in
20274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20279 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20283 shlibpath_var
=LD_LIBRARY_PATH
20286 shlibpath_overrides_runpath
=yes
20288 freebsd3.
[01]* | freebsdelf3.
[01]*)
20289 shlibpath_overrides_runpath
=yes
20290 hardcode_into_libs
=yes
20292 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20293 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20294 shlibpath_overrides_runpath
=no
20295 hardcode_into_libs
=yes
20297 *) # from 4.6 on, and DragonFly
20298 shlibpath_overrides_runpath
=yes
20299 hardcode_into_libs
=yes
20308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20309 soname_spec
='${libname}${release}${shared_ext}$major'
20310 shlibpath_var
=LD_LIBRARY_PATH
20311 hardcode_into_libs
=yes
20314 hpux9
* | hpux10
* | hpux11
*)
20315 # Give a soname corresponding to the major version so that dld.sl refuses to
20316 # link against other versions.
20323 hardcode_into_libs
=yes
20324 dynamic_linker
="$host_os dld.so"
20325 shlibpath_var
=LD_LIBRARY_PATH
20326 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20328 soname_spec
='${libname}${release}${shared_ext}$major'
20329 if test "X$HPUX_IA64_MODE" = X32
; then
20330 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20332 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20334 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20338 hardcode_into_libs
=yes
20339 dynamic_linker
="$host_os dld.sl"
20340 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20341 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20343 soname_spec
='${libname}${release}${shared_ext}$major'
20344 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20345 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20349 dynamic_linker
="$host_os dld.sl"
20350 shlibpath_var
=SHLIB_PATH
20351 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20353 soname_spec
='${libname}${release}${shared_ext}$major'
20356 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20357 postinstall_cmds
='chmod 555 $lib'
20364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20365 soname_spec
='${libname}${release}${shared_ext}$major'
20366 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20367 shlibpath_var
=LD_LIBRARY_PATH
20368 shlibpath_overrides_runpath
=no
20369 hardcode_into_libs
=yes
20372 irix5
* | irix6
* | nonstopux
*)
20374 nonstopux
*) version_type
=nonstopux
;;
20376 if test "$lt_cv_prog_gnu_ld" = yes; then
20384 soname_spec
='${libname}${release}${shared_ext}$major'
20385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20387 irix5
* | nonstopux
*)
20388 libsuff
= shlibsuff
=
20391 case $LD in # libtool.m4 will add one of these switches to LD
20392 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20393 libsuff
= shlibsuff
= libmagic
=32-bit;;
20394 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20395 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20396 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20397 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20398 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20402 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20403 shlibpath_overrides_runpath
=no
20404 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20405 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20406 hardcode_into_libs
=yes
20409 # No shared lib support for Linux oldld, aout, or coff.
20410 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20414 # This must be Linux ELF.
20415 linux
* | k
*bsd
*-gnu)
20419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20420 soname_spec
='${libname}${release}${shared_ext}$major'
20421 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20422 shlibpath_var
=LD_LIBRARY_PATH
20423 shlibpath_overrides_runpath
=no
20424 # This implies no fast_install, which is unacceptable.
20425 # Some rework will be needed to allow for fast_install
20426 # before this can be enabled.
20427 hardcode_into_libs
=yes
20428 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20429 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20431 # Append ld.so.conf contents to the search path
20432 if test -f /etc
/ld.so.conf
; then
20433 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' ' '`
20434 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20437 # We used to test for /lib/ld.so.1 and disable shared libraries on
20438 # powerpc, because MkLinux only supported shared libraries with the
20439 # GNU dynamic linker. Since this was broken with cross compilers,
20440 # most powerpc-linux boxes support dynamic linking these days and
20441 # people can always --disable-shared, the test was removed, and we
20442 # assume the GNU/Linux dynamic linker is in use.
20443 dynamic_linker
='GNU/Linux ld.so'
20450 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20453 dynamic_linker
='NetBSD (a.out) ld.so'
20455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20456 soname_spec
='${libname}${release}${shared_ext}$major'
20457 dynamic_linker
='NetBSD ld.elf_so'
20459 shlibpath_var
=LD_LIBRARY_PATH
20460 shlibpath_overrides_runpath
=yes
20461 hardcode_into_libs
=yes
20466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20467 shlibpath_var
=LD_LIBRARY_PATH
20468 shlibpath_overrides_runpath
=yes
20475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20476 soname_spec
='${libname}${release}${shared_ext}$major'
20477 shlibpath_var
=LD_LIBRARY_PATH
20478 shlibpath_overrides_runpath
=yes
20483 sys_lib_dlsearch_path_spec
="/usr/lib"
20485 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20487 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20488 *) need_version
=no
;;
20490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20491 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20492 shlibpath_var
=LD_LIBRARY_PATH
20493 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20495 openbsd2.
[89] | openbsd2.
[89].
*)
20496 shlibpath_overrides_runpath
=no
20499 shlibpath_overrides_runpath
=yes
20503 shlibpath_overrides_runpath
=yes
20508 libname_spec
='$name'
20511 library_names_spec
='$libname${shared_ext} $libname.a'
20512 dynamic_linker
='OS/2 ld.exe'
20513 shlibpath_var
=LIBPATH
20516 osf3
* | osf4
* | osf5
*)
20520 soname_spec
='${libname}${release}${shared_ext}$major'
20521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20522 shlibpath_var
=LD_LIBRARY_PATH
20523 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20524 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20536 soname_spec
='${libname}${release}${shared_ext}$major'
20537 shlibpath_var
=LD_LIBRARY_PATH
20538 shlibpath_overrides_runpath
=yes
20539 hardcode_into_libs
=yes
20540 # ldd complains unless libraries are executable
20541 postinstall_cmds
='chmod +x $lib'
20546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20547 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20548 shlibpath_var
=LD_LIBRARY_PATH
20549 shlibpath_overrides_runpath
=yes
20550 if test "$with_gnu_ld" = yes; then
20558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20559 soname_spec
='${libname}${release}${shared_ext}$major'
20560 shlibpath_var
=LD_LIBRARY_PATH
20561 case $host_vendor in
20563 shlibpath_overrides_runpath
=no
20565 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20566 runpath_var
=LD_RUN_PATH
20574 shlibpath_overrides_runpath
=no
20575 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20581 if test -d /usr
/nec
;then
20583 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20584 soname_spec
='$libname${shared_ext}.$major'
20585 shlibpath_var
=LD_LIBRARY_PATH
20589 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20590 version_type
=freebsd-elf
20593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20594 soname_spec
='${libname}${release}${shared_ext}$major'
20595 shlibpath_var
=LD_LIBRARY_PATH
20596 hardcode_into_libs
=yes
20597 if test "$with_gnu_ld" = yes; then
20598 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20599 shlibpath_overrides_runpath
=no
20601 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20602 shlibpath_overrides_runpath
=yes
20605 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20609 sys_lib_dlsearch_path_spec
='/usr/lib'
20614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20615 soname_spec
='${libname}${release}${shared_ext}$major'
20616 shlibpath_var
=LD_LIBRARY_PATH
20623 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20624 $as_echo "$dynamic_linker" >&6; }
20625 test "$dynamic_linker" = no
&& can_build_shared
=no
20627 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20628 $as_echo_n "(cached) " >&6
20630 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
20633 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
20634 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20635 $as_echo_n "(cached) " >&6
20637 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
20640 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
20642 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20643 if test "$GCC" = yes; then
20644 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20647 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20648 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20649 hardcode_action_GCJ
=
20650 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20651 test -n "$runpath_var_GCJ" || \
20652 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20654 # We can hardcode non-existant directories.
20655 if test "$hardcode_direct_GCJ" != no
&&
20656 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20657 # have to relink, otherwise we might link with an installed library
20658 # when we should be linking with a yet-to-be-installed one
20659 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20660 test "$hardcode_minus_L_GCJ" != no
; then
20661 # Linking always hardcodes the temporary library directory.
20662 hardcode_action_GCJ
=relink
20664 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20665 hardcode_action_GCJ
=immediate
20668 # We cannot hardcode anything, or else we can only hardcode existing
20670 hardcode_action_GCJ
=unsupported
20672 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20673 $as_echo "$hardcode_action_GCJ" >&6; }
20675 if test "$hardcode_action_GCJ" = relink
; then
20676 # Fast installation is not supported
20677 enable_fast_install
=no
20678 elif test "$shlibpath_overrides_runpath" = yes ||
20679 test "$enable_shared" = no
; then
20680 # Fast installation is not necessary
20681 enable_fast_install
=needless
20685 # The else clause should only fire when bootstrapping the
20686 # libtool distribution, otherwise you forgot to ship ltmain.sh
20687 # with your package, and you will get complaints that there are
20688 # no rules to generate ltmain.sh.
20689 if test -f "$ltmain"; then
20690 # See if we are running on zsh, and set the options which allow our commands through
20691 # without removal of \ escapes.
20692 if test -n "${ZSH_VERSION+set}" ; then
20693 setopt NO_GLOB_SUBST
20695 # Now quote all the things that may contain metacharacters while being
20696 # careful not to overquote the AC_SUBSTed values. We take copies of the
20697 # variables and quote the copies for generation of the libtool script.
20698 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20700 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20701 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20702 deplibs_check_method reload_flag reload_cmds need_locks \
20703 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20704 lt_cv_sys_global_symbol_to_c_name_address \
20705 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20706 old_postinstall_cmds old_postuninstall_cmds \
20710 lt_prog_compiler_wl_GCJ \
20711 lt_prog_compiler_pic_GCJ \
20712 lt_prog_compiler_static_GCJ \
20713 lt_prog_compiler_no_builtin_flag_GCJ \
20714 export_dynamic_flag_spec_GCJ \
20715 thread_safe_flag_spec_GCJ \
20716 whole_archive_flag_spec_GCJ \
20717 enable_shared_with_static_runtimes_GCJ \
20718 old_archive_cmds_GCJ \
20719 old_archive_from_new_cmds_GCJ \
20720 predep_objects_GCJ \
20721 postdep_objects_GCJ \
20724 compiler_lib_search_path_GCJ \
20725 compiler_lib_search_dirs_GCJ \
20727 archive_expsym_cmds_GCJ \
20728 postinstall_cmds_GCJ \
20729 postuninstall_cmds_GCJ \
20730 old_archive_from_expsyms_cmds_GCJ \
20731 allow_undefined_flag_GCJ \
20732 no_undefined_flag_GCJ \
20733 export_symbols_cmds_GCJ \
20734 hardcode_libdir_flag_spec_GCJ \
20735 hardcode_libdir_flag_spec_ld_GCJ \
20736 hardcode_libdir_separator_GCJ \
20737 hardcode_automatic_GCJ \
20739 module_expsym_cmds_GCJ \
20740 lt_cv_prog_compiler_c_o_GCJ \
20741 fix_srcfile_path_GCJ \
20742 exclude_expsyms_GCJ \
20743 include_expsyms_GCJ
; do
20746 old_archive_cmds_GCJ | \
20747 old_archive_from_new_cmds_GCJ | \
20748 archive_cmds_GCJ | \
20749 archive_expsym_cmds_GCJ | \
20750 module_cmds_GCJ | \
20751 module_expsym_cmds_GCJ | \
20752 old_archive_from_expsyms_cmds_GCJ | \
20753 export_symbols_cmds_GCJ | \
20754 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20755 postinstall_cmds | postuninstall_cmds | \
20756 old_postinstall_cmds | old_postuninstall_cmds | \
20757 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20758 # Double-quote double-evaled strings.
20759 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20762 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20768 *'\$0 --fallback-echo"')
20769 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20775 cat <<__EOF__ >> "$cfgfile"
20776 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20778 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20780 # Shell to use when invoking shell scripts.
20783 # Whether or not to build shared libraries.
20784 build_libtool_libs=$enable_shared
20786 # Whether or not to build static libraries.
20787 build_old_libs=$enable_static
20789 # Whether or not to add -lc for building shared libraries.
20790 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20792 # Whether or not to disallow shared libs when runtime libs are static
20793 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20795 # Whether or not to optimize for fast installation.
20796 fast_install=$enable_fast_install
20799 host_alias=$host_alias
20803 # The build system.
20804 build_alias=$build_alias
20808 # An echo program that does not interpret backslashes.
20813 AR_FLAGS=$lt_AR_FLAGS
20818 # LTCC compiler flags.
20819 LTCFLAGS=$lt_LTCFLAGS
20821 # A language-specific compiler.
20822 CC=$lt_compiler_GCJ
20824 # Is the compiler the GNU C compiler?
20830 # The linker used to build libraries.
20833 # Whether we need hard or soft links.
20836 # A BSD-compatible nm program.
20839 # A symbol stripping program
20842 # Used to examine libraries when file_magic_cmd begins "file"
20843 MAGIC_CMD=$MAGIC_CMD
20845 # Used on cygwin: DLL creation program.
20848 # Used on cygwin: object dumper.
20851 # Used on cygwin: assembler.
20854 # The name of the directory that contains temporary libtool files.
20857 # How to create reloadable object files.
20858 reload_flag=$lt_reload_flag
20859 reload_cmds=$lt_reload_cmds
20861 # How to pass a linker flag through the compiler.
20862 wl=$lt_lt_prog_compiler_wl_GCJ
20864 # Object file suffix (normally "o").
20865 objext="$ac_objext"
20867 # Old archive suffix (normally "a").
20870 # Shared library suffix (normally ".so").
20871 shrext_cmds='$shrext_cmds'
20873 # Executable file suffix (normally "").
20876 # Additional compiler flags for building library objects.
20877 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20880 # What is the maximum length of a command?
20881 max_cmd_len=$lt_cv_sys_max_cmd_len
20883 # Does compiler simultaneously support -c and -o options?
20884 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20886 # Must we lock files when doing compilation?
20887 need_locks=$lt_need_locks
20889 # Do we need the lib prefix for modules?
20890 need_lib_prefix=$need_lib_prefix
20892 # Do we need a version for libraries?
20893 need_version=$need_version
20895 # Whether dlopen is supported.
20896 dlopen_support=$enable_dlopen
20898 # Whether dlopen of programs is supported.
20899 dlopen_self=$enable_dlopen_self
20901 # Whether dlopen of statically linked programs is supported.
20902 dlopen_self_static=$enable_dlopen_self_static
20904 # Compiler flag to prevent dynamic linking.
20905 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20907 # Compiler flag to turn off builtin functions.
20908 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20910 # Compiler flag to allow reflexive dlopens.
20911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20913 # Compiler flag to generate shared objects directly from archives.
20914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20916 # Compiler flag to generate thread-safe objects.
20917 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20919 # Library versioning type.
20920 version_type=$version_type
20922 # Format of library name prefix.
20923 libname_spec=$lt_libname_spec
20925 # List of archive names. First name is the real one, the rest are links.
20926 # The last name is the one that the linker finds with -lNAME.
20927 library_names_spec=$lt_library_names_spec
20929 # The coded name of the library, if different from the real name.
20930 soname_spec=$lt_soname_spec
20932 # Commands used to build and install an old-style archive.
20934 old_archive_cmds=$lt_old_archive_cmds_GCJ
20935 old_postinstall_cmds=$lt_old_postinstall_cmds
20936 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20938 # Create an old-style archive from a shared archive.
20939 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20941 # Create a temporary old-style archive to link instead of a shared archive.
20942 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20944 # Commands used to build and install a shared archive.
20945 archive_cmds=$lt_archive_cmds_GCJ
20946 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20947 postinstall_cmds=$lt_postinstall_cmds
20948 postuninstall_cmds=$lt_postuninstall_cmds
20950 # Commands used to build a loadable module (assumed same as above if empty)
20951 module_cmds=$lt_module_cmds_GCJ
20952 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20954 # Commands to strip libraries.
20955 old_striplib=$lt_old_striplib
20956 striplib=$lt_striplib
20958 # Dependencies to place before the objects being linked to create a
20960 predep_objects=$lt_predep_objects_GCJ
20962 # Dependencies to place after the objects being linked to create a
20964 postdep_objects=$lt_postdep_objects_GCJ
20966 # Dependencies to place before the objects being linked to create a
20968 predeps=$lt_predeps_GCJ
20970 # Dependencies to place after the objects being linked to create a
20972 postdeps=$lt_postdeps_GCJ
20974 # The directories searched by this compiler when creating a shared
20976 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20978 # The library search path used internally by the compiler when linking
20979 # a shared library.
20980 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20982 # Method to check whether dependent libraries are shared objects.
20983 deplibs_check_method=$lt_deplibs_check_method
20985 # Command to use when deplibs_check_method == file_magic.
20986 file_magic_cmd=$lt_file_magic_cmd
20988 # Flag that allows shared libraries with undefined symbols to be built.
20989 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20991 # Flag that forces no undefined symbols.
20992 no_undefined_flag=$lt_no_undefined_flag_GCJ
20994 # Commands used to finish a libtool library installation in a directory.
20995 finish_cmds=$lt_finish_cmds
20997 # Same as above, but a single script fragment to be evaled but not shown.
20998 finish_eval=$lt_finish_eval
21000 # Take the output of nm and produce a listing of raw symbols and C names.
21001 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21003 # Transform the output of nm in a proper C declaration
21004 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21006 # Transform the output of nm in a C name address pair
21007 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21009 # This is the shared library runtime path variable.
21010 runpath_var=$runpath_var
21012 # This is the shared library path variable.
21013 shlibpath_var=$shlibpath_var
21015 # Is shlibpath searched before the hard-coded library search path?
21016 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21018 # How to hardcode a shared library path into an executable.
21019 hardcode_action=$hardcode_action_GCJ
21021 # Whether we should hardcode library paths into libraries.
21022 hardcode_into_libs=$hardcode_into_libs
21024 # Flag to hardcode \$libdir into a binary during linking.
21025 # This must work even if \$libdir does not exist.
21026 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21028 # If ld is used when linking, flag to hardcode \$libdir into
21029 # a binary during linking. This must work even if \$libdir does
21031 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21033 # Whether we need a single -rpath flag with a separated argument.
21034 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21036 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21037 # resulting binary.
21038 hardcode_direct=$hardcode_direct_GCJ
21040 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21041 # resulting binary.
21042 hardcode_minus_L=$hardcode_minus_L_GCJ
21044 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21045 # the resulting binary.
21046 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21048 # Set to yes if building a shared library automatically hardcodes DIR into the library
21049 # and all subsequent libraries and executables linked against it.
21050 hardcode_automatic=$hardcode_automatic_GCJ
21052 # Variables whose values should be saved in libtool wrapper scripts and
21053 # restored at relink time.
21054 variables_saved_for_relink="$variables_saved_for_relink"
21056 # Whether libtool must link a program against all its dependency libraries.
21057 link_all_deplibs=$link_all_deplibs_GCJ
21059 # Compile-time system search path for libraries
21060 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21062 # Run-time system search path for libraries
21063 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21065 # Fix the shell variable \$srcfile for the compiler.
21066 fix_srcfile_path=$lt_fix_srcfile_path
21068 # Set to yes if exported symbols are required.
21069 always_export_symbols=$always_export_symbols_GCJ
21071 # The commands to list exported symbols.
21072 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21074 # The commands to extract the exported symbol list from a shared archive.
21075 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21077 # Symbols that should not be listed in the preloaded symbols.
21078 exclude_expsyms=$lt_exclude_expsyms_GCJ
21080 # Symbols that must always be exported.
21081 include_expsyms=$lt_include_expsyms_GCJ
21083 # ### END LIBTOOL TAG CONFIG: $tagname
21089 # If there is no Makefile yet, we rely on a make rule to execute
21090 # `config.status --recheck' to rerun these tests and create the
21091 # libtool script then.
21092 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21093 if test -f "$ltmain_in"; then
21094 test -f Makefile
&& make "$ltmain"
21100 ac_cpp
='$CPP $CPPFLAGS'
21101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21115 # Source file extension for RC test sources.
21118 # Object file extension for compiled RC test sources.
21122 # Code to be used in simple compile tests
21123 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21125 # Code to be used in simple link tests
21126 lt_simple_link_test_code
="$lt_simple_compile_test_code"
21128 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21130 # If no C compiler was specified, use CC.
21133 # If no C compiler flags were specified, use CFLAGS.
21134 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21136 # Allow CC to be a program name with arguments.
21140 # save warnings/boilerplate of simple test code
21141 ac_outfile
=conftest.
$ac_objext
21142 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
21143 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21144 _lt_compiler_boilerplate
=`cat conftest.err`
21147 ac_outfile
=conftest.
$ac_objext
21148 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
21149 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21150 _lt_linker_boilerplate
=`cat conftest.err`
21154 # Allow CC to be a program name with arguments.
21159 for cc_temp
in $compiler""; do
21161 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21162 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21167 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21169 lt_cv_prog_compiler_c_o_RC
=yes
21171 # The else clause should only fire when bootstrapping the
21172 # libtool distribution, otherwise you forgot to ship ltmain.sh
21173 # with your package, and you will get complaints that there are
21174 # no rules to generate ltmain.sh.
21175 if test -f "$ltmain"; then
21176 # See if we are running on zsh, and set the options which allow our commands through
21177 # without removal of \ escapes.
21178 if test -n "${ZSH_VERSION+set}" ; then
21179 setopt NO_GLOB_SUBST
21181 # Now quote all the things that may contain metacharacters while being
21182 # careful not to overquote the AC_SUBSTed values. We take copies of the
21183 # variables and quote the copies for generation of the libtool script.
21184 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21186 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21187 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21188 deplibs_check_method reload_flag reload_cmds need_locks \
21189 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21190 lt_cv_sys_global_symbol_to_c_name_address \
21191 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21192 old_postinstall_cmds old_postuninstall_cmds \
21196 lt_prog_compiler_wl_RC \
21197 lt_prog_compiler_pic_RC \
21198 lt_prog_compiler_static_RC \
21199 lt_prog_compiler_no_builtin_flag_RC \
21200 export_dynamic_flag_spec_RC \
21201 thread_safe_flag_spec_RC \
21202 whole_archive_flag_spec_RC \
21203 enable_shared_with_static_runtimes_RC \
21204 old_archive_cmds_RC \
21205 old_archive_from_new_cmds_RC \
21206 predep_objects_RC \
21207 postdep_objects_RC \
21210 compiler_lib_search_path_RC \
21211 compiler_lib_search_dirs_RC \
21213 archive_expsym_cmds_RC \
21214 postinstall_cmds_RC \
21215 postuninstall_cmds_RC \
21216 old_archive_from_expsyms_cmds_RC \
21217 allow_undefined_flag_RC \
21218 no_undefined_flag_RC \
21219 export_symbols_cmds_RC \
21220 hardcode_libdir_flag_spec_RC \
21221 hardcode_libdir_flag_spec_ld_RC \
21222 hardcode_libdir_separator_RC \
21223 hardcode_automatic_RC \
21225 module_expsym_cmds_RC \
21226 lt_cv_prog_compiler_c_o_RC \
21227 fix_srcfile_path_RC \
21228 exclude_expsyms_RC \
21229 include_expsyms_RC
; do
21232 old_archive_cmds_RC | \
21233 old_archive_from_new_cmds_RC | \
21234 archive_cmds_RC | \
21235 archive_expsym_cmds_RC | \
21237 module_expsym_cmds_RC | \
21238 old_archive_from_expsyms_cmds_RC | \
21239 export_symbols_cmds_RC | \
21240 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21241 postinstall_cmds | postuninstall_cmds | \
21242 old_postinstall_cmds | old_postuninstall_cmds | \
21243 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
21244 # Double-quote double-evaled strings.
21245 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21248 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21254 *'\$0 --fallback-echo"')
21255 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21261 cat <<__EOF__ >> "$cfgfile"
21262 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21264 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21266 # Shell to use when invoking shell scripts.
21269 # Whether or not to build shared libraries.
21270 build_libtool_libs=$enable_shared
21272 # Whether or not to build static libraries.
21273 build_old_libs=$enable_static
21275 # Whether or not to add -lc for building shared libraries.
21276 build_libtool_need_lc=$archive_cmds_need_lc_RC
21278 # Whether or not to disallow shared libs when runtime libs are static
21279 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21281 # Whether or not to optimize for fast installation.
21282 fast_install=$enable_fast_install
21285 host_alias=$host_alias
21289 # The build system.
21290 build_alias=$build_alias
21294 # An echo program that does not interpret backslashes.
21299 AR_FLAGS=$lt_AR_FLAGS
21304 # LTCC compiler flags.
21305 LTCFLAGS=$lt_LTCFLAGS
21307 # A language-specific compiler.
21310 # Is the compiler the GNU C compiler?
21316 # The linker used to build libraries.
21319 # Whether we need hard or soft links.
21322 # A BSD-compatible nm program.
21325 # A symbol stripping program
21328 # Used to examine libraries when file_magic_cmd begins "file"
21329 MAGIC_CMD=$MAGIC_CMD
21331 # Used on cygwin: DLL creation program.
21334 # Used on cygwin: object dumper.
21337 # Used on cygwin: assembler.
21340 # The name of the directory that contains temporary libtool files.
21343 # How to create reloadable object files.
21344 reload_flag=$lt_reload_flag
21345 reload_cmds=$lt_reload_cmds
21347 # How to pass a linker flag through the compiler.
21348 wl=$lt_lt_prog_compiler_wl_RC
21350 # Object file suffix (normally "o").
21351 objext="$ac_objext"
21353 # Old archive suffix (normally "a").
21356 # Shared library suffix (normally ".so").
21357 shrext_cmds='$shrext_cmds'
21359 # Executable file suffix (normally "").
21362 # Additional compiler flags for building library objects.
21363 pic_flag=$lt_lt_prog_compiler_pic_RC
21366 # What is the maximum length of a command?
21367 max_cmd_len=$lt_cv_sys_max_cmd_len
21369 # Does compiler simultaneously support -c and -o options?
21370 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21372 # Must we lock files when doing compilation?
21373 need_locks=$lt_need_locks
21375 # Do we need the lib prefix for modules?
21376 need_lib_prefix=$need_lib_prefix
21378 # Do we need a version for libraries?
21379 need_version=$need_version
21381 # Whether dlopen is supported.
21382 dlopen_support=$enable_dlopen
21384 # Whether dlopen of programs is supported.
21385 dlopen_self=$enable_dlopen_self
21387 # Whether dlopen of statically linked programs is supported.
21388 dlopen_self_static=$enable_dlopen_self_static
21390 # Compiler flag to prevent dynamic linking.
21391 link_static_flag=$lt_lt_prog_compiler_static_RC
21393 # Compiler flag to turn off builtin functions.
21394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21396 # Compiler flag to allow reflexive dlopens.
21397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21399 # Compiler flag to generate shared objects directly from archives.
21400 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21402 # Compiler flag to generate thread-safe objects.
21403 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21405 # Library versioning type.
21406 version_type=$version_type
21408 # Format of library name prefix.
21409 libname_spec=$lt_libname_spec
21411 # List of archive names. First name is the real one, the rest are links.
21412 # The last name is the one that the linker finds with -lNAME.
21413 library_names_spec=$lt_library_names_spec
21415 # The coded name of the library, if different from the real name.
21416 soname_spec=$lt_soname_spec
21418 # Commands used to build and install an old-style archive.
21420 old_archive_cmds=$lt_old_archive_cmds_RC
21421 old_postinstall_cmds=$lt_old_postinstall_cmds
21422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21424 # Create an old-style archive from a shared archive.
21425 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21427 # Create a temporary old-style archive to link instead of a shared archive.
21428 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21430 # Commands used to build and install a shared archive.
21431 archive_cmds=$lt_archive_cmds_RC
21432 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21433 postinstall_cmds=$lt_postinstall_cmds
21434 postuninstall_cmds=$lt_postuninstall_cmds
21436 # Commands used to build a loadable module (assumed same as above if empty)
21437 module_cmds=$lt_module_cmds_RC
21438 module_expsym_cmds=$lt_module_expsym_cmds_RC
21440 # Commands to strip libraries.
21441 old_striplib=$lt_old_striplib
21442 striplib=$lt_striplib
21444 # Dependencies to place before the objects being linked to create a
21446 predep_objects=$lt_predep_objects_RC
21448 # Dependencies to place after the objects being linked to create a
21450 postdep_objects=$lt_postdep_objects_RC
21452 # Dependencies to place before the objects being linked to create a
21454 predeps=$lt_predeps_RC
21456 # Dependencies to place after the objects being linked to create a
21458 postdeps=$lt_postdeps_RC
21460 # The directories searched by this compiler when creating a shared
21462 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21464 # The library search path used internally by the compiler when linking
21465 # a shared library.
21466 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21468 # Method to check whether dependent libraries are shared objects.
21469 deplibs_check_method=$lt_deplibs_check_method
21471 # Command to use when deplibs_check_method == file_magic.
21472 file_magic_cmd=$lt_file_magic_cmd
21474 # Flag that allows shared libraries with undefined symbols to be built.
21475 allow_undefined_flag=$lt_allow_undefined_flag_RC
21477 # Flag that forces no undefined symbols.
21478 no_undefined_flag=$lt_no_undefined_flag_RC
21480 # Commands used to finish a libtool library installation in a directory.
21481 finish_cmds=$lt_finish_cmds
21483 # Same as above, but a single script fragment to be evaled but not shown.
21484 finish_eval=$lt_finish_eval
21486 # Take the output of nm and produce a listing of raw symbols and C names.
21487 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21489 # Transform the output of nm in a proper C declaration
21490 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21492 # Transform the output of nm in a C name address pair
21493 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21495 # This is the shared library runtime path variable.
21496 runpath_var=$runpath_var
21498 # This is the shared library path variable.
21499 shlibpath_var=$shlibpath_var
21501 # Is shlibpath searched before the hard-coded library search path?
21502 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21504 # How to hardcode a shared library path into an executable.
21505 hardcode_action=$hardcode_action_RC
21507 # Whether we should hardcode library paths into libraries.
21508 hardcode_into_libs=$hardcode_into_libs
21510 # Flag to hardcode \$libdir into a binary during linking.
21511 # This must work even if \$libdir does not exist.
21512 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21514 # If ld is used when linking, flag to hardcode \$libdir into
21515 # a binary during linking. This must work even if \$libdir does
21517 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21519 # Whether we need a single -rpath flag with a separated argument.
21520 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21522 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21523 # resulting binary.
21524 hardcode_direct=$hardcode_direct_RC
21526 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21527 # resulting binary.
21528 hardcode_minus_L=$hardcode_minus_L_RC
21530 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21531 # the resulting binary.
21532 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21534 # Set to yes if building a shared library automatically hardcodes DIR into the library
21535 # and all subsequent libraries and executables linked against it.
21536 hardcode_automatic=$hardcode_automatic_RC
21538 # Variables whose values should be saved in libtool wrapper scripts and
21539 # restored at relink time.
21540 variables_saved_for_relink="$variables_saved_for_relink"
21542 # Whether libtool must link a program against all its dependency libraries.
21543 link_all_deplibs=$link_all_deplibs_RC
21545 # Compile-time system search path for libraries
21546 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21548 # Run-time system search path for libraries
21549 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21551 # Fix the shell variable \$srcfile for the compiler.
21552 fix_srcfile_path=$lt_fix_srcfile_path
21554 # Set to yes if exported symbols are required.
21555 always_export_symbols=$always_export_symbols_RC
21557 # The commands to list exported symbols.
21558 export_symbols_cmds=$lt_export_symbols_cmds_RC
21560 # The commands to extract the exported symbol list from a shared archive.
21561 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21563 # Symbols that should not be listed in the preloaded symbols.
21564 exclude_expsyms=$lt_exclude_expsyms_RC
21566 # Symbols that must always be exported.
21567 include_expsyms=$lt_include_expsyms_RC
21569 # ### END LIBTOOL TAG CONFIG: $tagname
21575 # If there is no Makefile yet, we rely on a make rule to execute
21576 # `config.status --recheck' to rerun these tests and create the
21577 # libtool script then.
21578 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21579 if test -f "$ltmain_in"; then
21580 test -f Makefile
&& make "$ltmain"
21586 ac_cpp
='$CPP $CPPFLAGS'
21587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21596 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21597 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21598 { (exit 1); exit 1; }; }
21602 # Append the new tag name to the list of available tags.
21603 if test -n "$tagname" ; then
21604 available_tags
="$available_tags $tagname"
21610 # Now substitute the updated list of available tags.
21611 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21612 mv "${ofile}T" "$ofile"
21616 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21617 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21618 { (exit 1); exit 1; }; }
21624 # This can be used to rebuild libtool when needed
21625 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
21627 # Always use our own libtool.
21628 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
21630 # Prevent multiple expansion
21651 if test "x$CC" != xcc
; then
21652 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
21653 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
21655 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
21656 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
21658 set dummy
$CC; ac_cc
=`$as_echo "$2" |
21659 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
21660 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
21661 $as_echo_n "(cached) " >&6
21663 cat >conftest.
$ac_ext <<_ACEOF
21666 cat confdefs.h
>>conftest.
$ac_ext
21667 cat >>conftest.
$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21678 # Make sure it works both with $CC and with simple cc.
21679 # We do the test twice because some compilers refuse to overwrite an
21680 # existing .o file with -o, though they will create one.
21681 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
21683 if { (case "(($ac_try" in
21684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21685 *) ac_try_echo=$ac_try;;
21687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21688 $as_echo "$ac_try_echo") >&5
21689 (eval "$ac_try") 2>&5
21691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } &&
21693 test -f conftest2.$ac_objext && { (case "(($ac_try" in
21694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21695 *) ac_try_echo
=$ac_try;;
21697 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21698 $as_echo "$ac_try_echo") >&5
21699 (eval "$ac_try") 2>&5
21701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); };
21704 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
21705 if test "x$CC" != xcc
; then
21706 # Test first that cc exists at all.
21707 if { ac_try
='cc -c conftest.$ac_ext >&5'
21708 { (case "(($ac_try" in
21709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21710 *) ac_try_echo=$ac_try;;
21712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21713 $as_echo "$ac_try_echo") >&5
21714 (eval "$ac_try") 2>&5
21716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; }; then
21718 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
21720 if { (case "(($ac_try" in
21721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21722 *) ac_try_echo
=$ac_try;;
21724 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21725 $as_echo "$ac_try_echo") >&5
21726 (eval "$ac_try") 2>&5
21728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); } &&
21730 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
21731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21735 $as_echo "$ac_try_echo") >&5
21736 (eval "$ac_try") 2>&5
21738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); };
21744 # cc exists but doesn't like -o.
21745 eval ac_cv_prog_cc_${ac_cc}_c_o=no
21750 eval ac_cv_prog_cc_${ac_cc}_c_o=no
21752 rm -f core conftest*
21755 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
21756 { $as_echo "$as_me:$LINENO: result: yes" >&5
21757 $as_echo "yes" >&6; }
21759 { $as_echo "$as_me:$LINENO: result: no" >&5
21760 $as_echo "no" >&6; }
21762 cat >>confdefs.h <<\_ACEOF
21763 #define NO_MINUS_C_MINUS_O 1
21768 # FIXME: we rely on the cache variable name because
21769 # there is no other way.
21771 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
21772 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
21773 # Losing compiler, so override with the script.
21774 # FIXME: It is wrong to rewrite CC.
21775 # But if we don't then we get into trouble of one sort or another.
21776 # A longer-term fix would be to have automake use am__CC in this case,
21777 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
21778 CC="$am_aux_dir/compile $CC"
21783 if test "x$cross_compiling" = "xno"; then
21784 CC_FOR_BUILD=${CC_FOR_BUILD-${CC-gcc}}
21786 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
21791 if test -n "$ac_tool_prefix"; then
21792 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
21793 set dummy ${ac_tool_prefix}ar; ac_word=$2
21794 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21795 $as_echo_n "checking for $ac_word... " >&6; }
21796 if test "${ac_cv_prog_AR+set}" = set; then
21797 $as_echo_n "(cached) " >&6
21799 if test -n "$AR"; then
21800 ac_cv_prog_AR="$AR" # Let the user override the test.
21802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21803 for as_dir in $PATH
21806 test -z "$as_dir" && as_dir=.
21807 for ac_exec_ext in '' $ac_executable_extensions; do
21808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21809 ac_cv_prog_AR="${ac_tool_prefix}ar"
21810 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21820 if test -n "$AR"; then
21821 { $as_echo "$as_me:$LINENO: result: $AR" >&5
21822 $as_echo "$AR" >&6; }
21824 { $as_echo "$as_me:$LINENO: result: no" >&5
21825 $as_echo "no" >&6; }
21830 if test -z "$ac_cv_prog_AR"; then
21832 # Extract the first word of "ar", so it can be a program name with args.
21833 set dummy ar; ac_word=$2
21834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21835 $as_echo_n "checking for $ac_word... " >&6; }
21836 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
21837 $as_echo_n "(cached) " >&6
21839 if test -n "$ac_ct_AR"; then
21840 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
21842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21843 for as_dir in $PATH
21846 test -z "$as_dir" && as_dir=.
21847 for ac_exec_ext in '' $ac_executable_extensions; do
21848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21849 ac_cv_prog_ac_ct_AR="ar"
21850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21859 ac_ct_AR=$ac_cv_prog_ac_ct_AR
21860 if test -n "$ac_ct_AR"; then
21861 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
21862 $as_echo "$ac_ct_AR" >&6; }
21864 { $as_echo "$as_me:$LINENO: result: no" >&5
21865 $as_echo "no" >&6; }
21868 if test "x$ac_ct_AR" = x; then
21871 case $cross_compiling:$ac_tool_warned in
21873 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
21874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21875 ac_tool_warned=yes ;;
21880 AR="$ac_cv_prog_AR"
21883 if test -n "$ac_tool_prefix"; then
21884 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
21885 set dummy ${ac_tool_prefix}ld; ac_word=$2
21886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21887 $as_echo_n "checking for $ac_word... " >&6; }
21888 if test "${ac_cv_prog_LD+set}" = set; then
21889 $as_echo_n "(cached) " >&6
21891 if test -n "$LD"; then
21892 ac_cv_prog_LD="$LD" # Let the user override the test.
21894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21895 for as_dir in $PATH
21898 test -z "$as_dir" && as_dir=.
21899 for ac_exec_ext in '' $ac_executable_extensions; do
21900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21901 ac_cv_prog_LD="${ac_tool_prefix}ld"
21902 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21912 if test -n "$LD"; then
21913 { $as_echo "$as_me:$LINENO: result: $LD" >&5
21914 $as_echo "$LD" >&6; }
21916 { $as_echo "$as_me:$LINENO: result: no" >&5
21917 $as_echo "no" >&6; }
21922 if test -z "$ac_cv_prog_LD"; then
21924 # Extract the first word of "ld", so it can be a program name with args.
21925 set dummy ld; ac_word=$2
21926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21927 $as_echo_n "checking for $ac_word... " >&6; }
21928 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
21929 $as_echo_n "(cached) " >&6
21931 if test -n "$ac_ct_LD"; then
21932 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
21934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21935 for as_dir in $PATH
21938 test -z "$as_dir" && as_dir=.
21939 for ac_exec_ext in '' $ac_executable_extensions; do
21940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21941 ac_cv_prog_ac_ct_LD="ld"
21942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21951 ac_ct_LD=$ac_cv_prog_ac_ct_LD
21952 if test -n "$ac_ct_LD"; then
21953 { $as_echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
21954 $as_echo "$ac_ct_LD" >&6; }
21956 { $as_echo "$as_me:$LINENO: result: no" >&5
21957 $as_echo "no" >&6; }
21960 if test "x$ac_ct_LD" = x; then
21963 case $cross_compiling:$ac_tool_warned in
21965 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
21966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21967 ac_tool_warned=yes ;;
21972 LD="$ac_cv_prog_LD"
21976 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21977 $as_echo_n "checking for ANSI C header files... " >&6; }
21978 if test "${ac_cv_header_stdc+set}" = set; then
21979 $as_echo_n "(cached) " >&6
21981 cat >conftest.$ac_ext <<_ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 #include <stdlib.h>
21988 #include <stdarg.h>
21989 #include <string.h>
22000 rm -f conftest.$ac_objext
22001 if { (ac_try="$ac_compile"
22002 case "(($ac_try" in
22003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22004 *) ac_try_echo
=$ac_try;;
22006 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22007 $as_echo "$ac_try_echo") >&5
22008 (eval "$ac_compile") 2>conftest.er1
22010 grep -v '^ *+' conftest.er1
>conftest.err
22012 cat conftest.err
>&5
22013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); } && {
22015 test -z "$ac_c_werror_flag" ||
22016 test ! -s conftest.err
22017 } && test -s conftest.
$ac_objext; then
22018 ac_cv_header_stdc
=yes
22020 $as_echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.
$ac_ext >&5
22023 ac_cv_header_stdc
=no
22026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22028 if test $ac_cv_header_stdc = yes; then
22029 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22030 cat >conftest.
$ac_ext <<_ACEOF
22033 cat confdefs.h
>>conftest.
$ac_ext
22034 cat >>conftest.
$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 #include <string.h>
22039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22040 $EGREP "memchr" >/dev
/null
2>&1; then
22043 ac_cv_header_stdc
=no
22049 if test $ac_cv_header_stdc = yes; then
22050 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22051 cat >conftest.
$ac_ext <<_ACEOF
22054 cat confdefs.h
>>conftest.
$ac_ext
22055 cat >>conftest.
$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 #include <stdlib.h>
22060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22061 $EGREP "free" >/dev
/null
2>&1; then
22064 ac_cv_header_stdc
=no
22070 if test $ac_cv_header_stdc = yes; then
22071 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22072 if test "$cross_compiling" = yes; then
22075 cat >conftest.
$ac_ext <<_ACEOF
22078 cat confdefs.h
>>conftest.
$ac_ext
22079 cat >>conftest.
$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22082 #include <stdlib.h>
22083 #if ((' ' & 0x0FF) == 0x020)
22084 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22085 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22087 # define ISLOWER(c) \
22088 (('a' <= (c) && (c) <= 'i') \
22089 || ('j' <= (c) && (c) <= 'r') \
22090 || ('s' <= (c) && (c) <= 'z'))
22091 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22094 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22099 for (i = 0; i < 256; i++)
22100 if (XOR (islower (i), ISLOWER (i))
22101 || toupper (i) != TOUPPER (i))
22106 rm -f conftest
$ac_exeext
22107 if { (ac_try
="$ac_link"
22108 case "(($ac_try" in
22109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22110 *) ac_try_echo=$ac_try;;
22112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22113 $as_echo "$ac_try_echo") >&5
22114 (eval "$ac_link") 2>&5
22116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22118 { (case "(($ac_try" in
22119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22120 *) ac_try_echo
=$ac_try;;
22122 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22123 $as_echo "$ac_try_echo") >&5
22124 (eval "$ac_try") 2>&5
22126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22130 $as_echo "$as_me: program exited with status $ac_status" >&5
22131 $as_echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.
$ac_ext >&5
22134 ( exit $ac_status )
22135 ac_cv_header_stdc
=no
22137 rm -rf conftest.dSYM
22138 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22144 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22145 $as_echo "$ac_cv_header_stdc" >&6; }
22146 if test $ac_cv_header_stdc = yes; then
22148 cat >>confdefs.h
<<\_ACEOF
22149 #define STDC_HEADERS 1
22155 { $as_echo "$as_me:$LINENO: checking for GNU libc2" >&5
22156 $as_echo_n "checking for GNU libc2... " >&6; }
22157 if test "${knfsd_cv_glibc2+set}" = set; then
22158 $as_echo_n "(cached) " >&6
22160 cat >conftest.
$ac_ext <<_ACEOF
22163 cat confdefs.h
>>conftest.
$ac_ext
22164 cat >>conftest.
$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22167 #include <features.h>
22168 #if !defined(__GLIBC__)
22173 if { (ac_try
="$ac_cpp conftest.$ac_ext"
22174 case "(($ac_try" in
22175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22176 *) ac_try_echo=$ac_try;;
22178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22179 $as_echo "$ac_try_echo") >&5
22180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22182 grep -v '^ *+' conftest.er1 >conftest.err
22184 cat conftest.err >&5
22185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } >/dev/null && {
22187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22188 test ! -s conftest.err
22190 knfsd_cv_glibc2=yes
22192 $as_echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22198 rm -f conftest.err conftest.$ac_ext
22201 { $as_echo "$as_me:$LINENO: result: $knfsd_cv_glibc2" >&5
22202 $as_echo "$knfsd_cv_glibc2" >&6; }
22203 if test $knfsd_cv_glibc2 = yes; then
22204 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
22205 CPPFLAGS_FOR_BUILD="$CPPFLAGS_FOR_BUILD -D_GNU_SOURCE"
22209 { $as_echo "$as_me:$LINENO: checking for BSD signal semantics" >&5
22210 $as_echo_n "checking for BSD signal semantics... " >&6; }
22211 if test "${knfsd_cv_bsd_signals+set}" = set; then
22212 $as_echo_n "(cached) " >&6
22214 if test "$cross_compiling" = yes; then
22217 *linux*) knfsd_cv_bsd_signals=no;;
22218 *bsd*) knfsd_cv_bsd_signals=yes;;
22219 *) { { $as_echo "$as_me:$LINENO: error: unable to guess signal semantics for $host_os; please set knfsd_cv_bsd_signals" >&5
22220 $as_echo "$as_me: error: unable to guess signal semantics for $host_os; please set knfsd_cv_bsd_signals" >&2;}
22221 { (exit 1); exit 1; }; };;
22225 cat >conftest.$ac_ext <<_ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22232 #include <signal.h>
22233 #include <unistd.h>
22234 #include <sys/wait.h>
22236 static int counter = 0;
22237 static RETSIGTYPE handler(int num) { counter++; }
22242 if ((s = fork()) < 0) return 1;
22244 if (wait(&s) < 0) return 1;
22245 return WIFSIGNALED(s)? 1 : 0;
22248 signal(SIGHUP, handler);
22249 kill(getpid(), SIGHUP); kill(getpid(), SIGHUP);
22250 return (counter == 2)? 0 : 1;
22254 rm -f conftest$ac_exeext
22255 if { (ac_try="$ac_link"
22256 case "(($ac_try" in
22257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22258 *) ac_try_echo
=$ac_try;;
22260 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22261 $as_echo "$ac_try_echo") >&5
22262 (eval "$ac_link") 2>&5
22264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22266 { (case "(($ac_try" in
22267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22268 *) ac_try_echo=$ac_try;;
22270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22271 $as_echo "$ac_try_echo") >&5
22272 (eval "$ac_try") 2>&5
22274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; }; then
22276 knfsd_cv_bsd_signals=yes
22278 $as_echo "$as_me: program exited with status $ac_status" >&5
22279 $as_echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.$ac_ext >&5
22282 ( exit $ac_status )
22283 knfsd_cv_bsd_signals=no
22285 rm -rf conftest.dSYM
22286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22291 { $as_echo "$as_me:$LINENO: result: $knfsd_cv_bsd_signals" >&5
22292 $as_echo "$knfsd_cv_bsd_signals" >&6; }
22293 test $knfsd_cv_bsd_signals = yes &&
22294 cat >>confdefs.h <<\_ACEOF
22295 #define HAVE_BSD_SIGNALS 1
22300 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
22301 $as_echo_n "checking for gethostbyname... " >&6; }
22302 if test "${ac_cv_func_gethostbyname+set}" = set; then
22303 $as_echo_n "(cached) " >&6
22305 cat >conftest.$ac_ext <<_ACEOF
22308 cat confdefs.h >>conftest.$ac_ext
22309 cat >>conftest.$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22311 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
22312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22313 #define gethostbyname innocuous_gethostbyname
22315 /* System header to define __stub macros and hopefully few prototypes,
22316 which can conflict with char gethostbyname (); below.
22317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22318 <limits.h> exists even on freestanding compilers. */
22321 # include <limits.h>
22323 # include <assert.h>
22326 #undef gethostbyname
22328 /* Override any GCC internal prototype to avoid an error.
22329 Use char because int might match the return type of a GCC
22330 builtin and then its argument prototype would still apply. */
22334 char gethostbyname ();
22335 /* The GNU C library defines this for functions which it implements
22336 to always fail with ENOSYS. Some functions are actually named
22337 something starting with __ and the normal name is an alias. */
22338 #if defined __stub_gethostbyname || defined __stub___gethostbyname
22345 return gethostbyname ();
22350 rm -f conftest.$ac_objext conftest$ac_exeext
22351 if { (ac_try="$ac_link"
22352 case "(($ac_try" in
22353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22354 *) ac_try_echo
=$ac_try;;
22356 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22357 $as_echo "$ac_try_echo") >&5
22358 (eval "$ac_link") 2>conftest.er1
22360 grep -v '^ *+' conftest.er1
>conftest.err
22362 cat conftest.err
>&5
22363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } && {
22365 test -z "$ac_c_werror_flag" ||
22366 test ! -s conftest.err
22367 } && test -s conftest
$ac_exeext && {
22368 test "$cross_compiling" = yes ||
22369 $as_test_x conftest
$ac_exeext
22371 ac_cv_func_gethostbyname
=yes
22373 $as_echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.
$ac_ext >&5
22376 ac_cv_func_gethostbyname
=no
22379 rm -rf conftest.dSYM
22380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22381 conftest
$ac_exeext conftest.
$ac_ext
22383 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22384 $as_echo "$ac_cv_func_gethostbyname" >&6; }
22385 if test "x$ac_cv_func_gethostbyname" = x
""yes; then
22388 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22389 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22390 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22391 $as_echo_n "(cached) " >&6
22393 ac_check_lib_save_LIBS
=$LIBS
22395 cat >conftest.
$ac_ext <<_ACEOF
22398 cat confdefs.h
>>conftest.
$ac_ext
22399 cat >>conftest.
$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22402 /* Override any GCC internal prototype to avoid an error.
22403 Use char because int might match the return type of a GCC
22404 builtin and then its argument prototype would still apply. */
22408 char gethostbyname ();
22412 return gethostbyname ();
22417 rm -f conftest.
$ac_objext conftest
$ac_exeext
22418 if { (ac_try
="$ac_link"
22419 case "(($ac_try" in
22420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22424 $as_echo "$ac_try_echo") >&5
22425 (eval "$ac_link") 2>conftest.er1
22427 grep -v '^ *+' conftest.er1 >conftest.err
22429 cat conftest.err >&5
22430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } && {
22432 test -z "$ac_c_werror_flag" ||
22433 test ! -s conftest.err
22434 } && test -s conftest$ac_exeext && {
22435 test "$cross_compiling" = yes ||
22436 $as_test_x conftest$ac_exeext
22438 ac_cv_lib_nsl_gethostbyname=yes
22440 $as_echo "$as_me: failed program was:" >&5
22441 sed 's/^/| /' conftest.$ac_ext >&5
22443 ac_cv_lib_nsl_gethostbyname=no
22446 rm -rf conftest.dSYM
22447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22448 conftest$ac_exeext conftest.$ac_ext
22449 LIBS=$ac_check_lib_save_LIBS
22451 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22452 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22453 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
22461 { $as_echo "$as_me:$LINENO: checking for connect" >&5
22462 $as_echo_n "checking for connect... " >&6; }
22463 if test "${ac_cv_func_connect+set}" = set; then
22464 $as_echo_n "(cached) " >&6
22466 cat >conftest.$ac_ext <<_ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22472 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
22473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22474 #define connect innocuous_connect
22476 /* System header to define __stub macros and hopefully few prototypes,
22477 which can conflict with char connect (); below.
22478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22479 <limits.h> exists even on freestanding compilers. */
22482 # include <limits.h>
22484 # include <assert.h>
22489 /* Override any GCC internal prototype to avoid an error.
22490 Use char because int might match the return type of a GCC
22491 builtin and then its argument prototype would still apply. */
22496 /* The GNU C library defines this for functions which it implements
22497 to always fail with ENOSYS. Some functions are actually named
22498 something starting with __ and the normal name is an alias. */
22499 #if defined __stub_connect || defined __stub___connect
22511 rm -f conftest.$ac_objext conftest$ac_exeext
22512 if { (ac_try="$ac_link"
22513 case "(($ac_try" in
22514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22515 *) ac_try_echo
=$ac_try;;
22517 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22518 $as_echo "$ac_try_echo") >&5
22519 (eval "$ac_link") 2>conftest.er1
22521 grep -v '^ *+' conftest.er1
>conftest.err
22523 cat conftest.err
>&5
22524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest
$ac_exeext && {
22529 test "$cross_compiling" = yes ||
22530 $as_test_x conftest
$ac_exeext
22532 ac_cv_func_connect
=yes
22534 $as_echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.
$ac_ext >&5
22537 ac_cv_func_connect
=no
22540 rm -rf conftest.dSYM
22541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22542 conftest
$ac_exeext conftest.
$ac_ext
22544 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22545 $as_echo "$ac_cv_func_connect" >&6; }
22546 if test "x$ac_cv_func_connect" = x
""yes; then
22549 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22550 $as_echo_n "checking for connect in -lsocket... " >&6; }
22551 if test "${ac_cv_lib_socket_connect+set}" = set; then
22552 $as_echo_n "(cached) " >&6
22554 ac_check_lib_save_LIBS
=$LIBS
22555 LIBS
="-lsocket $LIBNSL $LIBS"
22556 cat >conftest.
$ac_ext <<_ACEOF
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22563 /* Override any GCC internal prototype to avoid an error.
22564 Use char because int might match the return type of a GCC
22565 builtin and then its argument prototype would still apply. */
22578 rm -f conftest.
$ac_objext conftest
$ac_exeext
22579 if { (ac_try
="$ac_link"
22580 case "(($ac_try" in
22581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22585 $as_echo "$ac_try_echo") >&5
22586 (eval "$ac_link") 2>conftest.er1
22588 grep -v '^ *+' conftest.er1 >conftest.err
22590 cat conftest.err >&5
22591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } && {
22593 test -z "$ac_c_werror_flag" ||
22594 test ! -s conftest.err
22595 } && test -s conftest$ac_exeext && {
22596 test "$cross_compiling" = yes ||
22597 $as_test_x conftest$ac_exeext
22599 ac_cv_lib_socket_connect=yes
22601 $as_echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 ac_cv_lib_socket_connect=no
22607 rm -rf conftest.dSYM
22608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22609 conftest$ac_exeext conftest.$ac_ext
22610 LIBS=$ac_check_lib_save_LIBS
22612 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22613 $as_echo "$ac_cv_lib_socket_connect" >&6; }
22614 if test "x$ac_cv_lib_socket_connect" = x""yes; then
22615 LIBSOCKET="-lsocket"
22617 { { $as_echo "$as_me:$LINENO: error: Function 'socket' not found." >&5
22618 $as_echo "$as_me: error: Function 'socket' not found." >&2;}
22619 { (exit 1); exit 1; }; }
22625 { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
22626 $as_echo_n "checking for getaddrinfo... " >&6; }
22627 if test "${ac_cv_func_getaddrinfo+set}" = set; then
22628 $as_echo_n "(cached) " >&6
22630 cat >conftest.$ac_ext <<_ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
22637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22638 #define getaddrinfo innocuous_getaddrinfo
22640 /* System header to define __stub macros and hopefully few prototypes,
22641 which can conflict with char getaddrinfo (); below.
22642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22643 <limits.h> exists even on freestanding compilers. */
22646 # include <limits.h>
22648 # include <assert.h>
22653 /* Override any GCC internal prototype to avoid an error.
22654 Use char because int might match the return type of a GCC
22655 builtin and then its argument prototype would still apply. */
22659 char getaddrinfo ();
22660 /* The GNU C library defines this for functions which it implements
22661 to always fail with ENOSYS. Some functions are actually named
22662 something starting with __ and the normal name is an alias. */
22663 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
22670 return getaddrinfo ();
22675 rm -f conftest.$ac_objext conftest$ac_exeext
22676 if { (ac_try="$ac_link"
22677 case "(($ac_try" in
22678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22679 *) ac_try_echo
=$ac_try;;
22681 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22682 $as_echo "$ac_try_echo") >&5
22683 (eval "$ac_link") 2>conftest.er1
22685 grep -v '^ *+' conftest.er1
>conftest.err
22687 cat conftest.err
>&5
22688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } && {
22690 test -z "$ac_c_werror_flag" ||
22691 test ! -s conftest.err
22692 } && test -s conftest
$ac_exeext && {
22693 test "$cross_compiling" = yes ||
22694 $as_test_x conftest
$ac_exeext
22696 ac_cv_func_getaddrinfo
=yes
22698 $as_echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.
$ac_ext >&5
22701 ac_cv_func_getaddrinfo
=no
22704 rm -rf conftest.dSYM
22705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22706 conftest
$ac_exeext conftest.
$ac_ext
22708 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
22709 $as_echo "$ac_cv_func_getaddrinfo" >&6; }
22712 { $as_echo "$as_me:$LINENO: checking for getrpcbynumber" >&5
22713 $as_echo_n "checking for getrpcbynumber... " >&6; }
22714 if test "${ac_cv_func_getrpcbynumber+set}" = set; then
22715 $as_echo_n "(cached) " >&6
22717 cat >conftest.
$ac_ext <<_ACEOF
22720 cat confdefs.h
>>conftest.
$ac_ext
22721 cat >>conftest.
$ac_ext <<_ACEOF
22722 /* end confdefs.h. */
22723 /* Define getrpcbynumber to an innocuous variant, in case <limits.h> declares getrpcbynumber.
22724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22725 #define getrpcbynumber innocuous_getrpcbynumber
22727 /* System header to define __stub macros and hopefully few prototypes,
22728 which can conflict with char getrpcbynumber (); below.
22729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22730 <limits.h> exists even on freestanding compilers. */
22733 # include <limits.h>
22735 # include <assert.h>
22738 #undef getrpcbynumber
22740 /* Override any GCC internal prototype to avoid an error.
22741 Use char because int might match the return type of a GCC
22742 builtin and then its argument prototype would still apply. */
22746 char getrpcbynumber ();
22747 /* The GNU C library defines this for functions which it implements
22748 to always fail with ENOSYS. Some functions are actually named
22749 something starting with __ and the normal name is an alias. */
22750 #if defined __stub_getrpcbynumber || defined __stub___getrpcbynumber
22757 return getrpcbynumber ();
22762 rm -f conftest.
$ac_objext conftest
$ac_exeext
22763 if { (ac_try
="$ac_link"
22764 case "(($ac_try" in
22765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22769 $as_echo "$ac_try_echo") >&5
22770 (eval "$ac_link") 2>conftest.er1
22772 grep -v '^ *+' conftest.er1 >conftest.err
22774 cat conftest.err >&5
22775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); } && {
22777 test -z "$ac_c_werror_flag" ||
22778 test ! -s conftest.err
22779 } && test -s conftest$ac_exeext && {
22780 test "$cross_compiling" = yes ||
22781 $as_test_x conftest$ac_exeext
22783 ac_cv_func_getrpcbynumber=yes
22785 $as_echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22788 ac_cv_func_getrpcbynumber=no
22791 rm -rf conftest.dSYM
22792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22793 conftest$ac_exeext conftest.$ac_ext
22795 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getrpcbynumber" >&5
22796 $as_echo "$ac_cv_func_getrpcbynumber" >&6; }
22799 { $as_echo "$as_me:$LINENO: checking for getservbyname" >&5
22800 $as_echo_n "checking for getservbyname... " >&6; }
22801 if test "${ac_cv_func_getservbyname+set}" = set; then
22802 $as_echo_n "(cached) " >&6
22804 cat >conftest.$ac_ext <<_ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 /* Define getservbyname to an innocuous variant, in case <limits.h> declares getservbyname.
22811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22812 #define getservbyname innocuous_getservbyname
22814 /* System header to define __stub macros and hopefully few prototypes,
22815 which can conflict with char getservbyname (); below.
22816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22817 <limits.h> exists even on freestanding compilers. */
22820 # include <limits.h>
22822 # include <assert.h>
22825 #undef getservbyname
22827 /* Override any GCC internal prototype to avoid an error.
22828 Use char because int might match the return type of a GCC
22829 builtin and then its argument prototype would still apply. */
22833 char getservbyname ();
22834 /* The GNU C library defines this for functions which it implements
22835 to always fail with ENOSYS. Some functions are actually named
22836 something starting with __ and the normal name is an alias. */
22837 #if defined __stub_getservbyname || defined __stub___getservbyname
22844 return getservbyname ();
22849 rm -f conftest.$ac_objext conftest$ac_exeext
22850 if { (ac_try="$ac_link"
22851 case "(($ac_try" in
22852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22853 *) ac_try_echo
=$ac_try;;
22855 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22856 $as_echo "$ac_try_echo") >&5
22857 (eval "$ac_link") 2>conftest.er1
22859 grep -v '^ *+' conftest.er1
>conftest.err
22861 cat conftest.err
>&5
22862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_c_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest
$ac_exeext && {
22867 test "$cross_compiling" = yes ||
22868 $as_test_x conftest
$ac_exeext
22870 ac_cv_func_getservbyname
=yes
22872 $as_echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.
$ac_ext >&5
22875 ac_cv_func_getservbyname
=no
22878 rm -rf conftest.dSYM
22879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22880 conftest
$ac_exeext conftest.
$ac_ext
22882 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname" >&5
22883 $as_echo "$ac_cv_func_getservbyname" >&6; }
22886 { $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22887 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
22888 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22889 $as_echo_n "(cached) " >&6
22891 ac_check_lib_save_LIBS
=$LIBS
22892 LIBS
="-lcrypt $LIBS"
22893 cat >conftest.
$ac_ext <<_ACEOF
22896 cat confdefs.h
>>conftest.
$ac_ext
22897 cat >>conftest.
$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22900 /* Override any GCC internal prototype to avoid an error.
22901 Use char because int might match the return type of a GCC
22902 builtin and then its argument prototype would still apply. */
22915 rm -f conftest.
$ac_objext conftest
$ac_exeext
22916 if { (ac_try
="$ac_link"
22917 case "(($ac_try" in
22918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22919 *) ac_try_echo=$ac_try;;
22921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22922 $as_echo "$ac_try_echo") >&5
22923 (eval "$ac_link") 2>conftest.er1
22925 grep -v '^ *+' conftest.er1 >conftest.err
22927 cat conftest.err >&5
22928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } && {
22930 test -z "$ac_c_werror_flag" ||
22931 test ! -s conftest.err
22932 } && test -s conftest$ac_exeext && {
22933 test "$cross_compiling" = yes ||
22934 $as_test_x conftest$ac_exeext
22936 ac_cv_lib_crypt_crypt=yes
22938 $as_echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.$ac_ext >&5
22941 ac_cv_lib_crypt_crypt=no
22944 rm -rf conftest.dSYM
22945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22946 conftest$ac_exeext conftest.$ac_ext
22947 LIBS=$ac_check_lib_save_LIBS
22949 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22950 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
22951 if test "x$ac_cv_lib_crypt_crypt" = x""yes; then
22955 if test "$enable_nfsv4" = yes; then
22956 { $as_echo "$as_me:$LINENO: checking for event_dispatch in -levent" >&5
22957 $as_echo_n "checking for event_dispatch in -levent... " >&6; }
22958 if test "${ac_cv_lib_event_event_dispatch+set}" = set; then
22959 $as_echo_n "(cached) " >&6
22961 ac_check_lib_save_LIBS=$LIBS
22962 LIBS="-levent $LIBS"
22963 cat >conftest.$ac_ext <<_ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22970 /* Override any GCC internal prototype to avoid an error.
22971 Use char because int might match the return type of a GCC
22972 builtin and then its argument prototype would still apply. */
22976 char event_dispatch ();
22980 return event_dispatch ();
22985 rm -f conftest.$ac_objext conftest$ac_exeext
22986 if { (ac_try="$ac_link"
22987 case "(($ac_try" in
22988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22989 *) ac_try_echo
=$ac_try;;
22991 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22992 $as_echo "$ac_try_echo") >&5
22993 (eval "$ac_link") 2>conftest.er1
22995 grep -v '^ *+' conftest.er1
>conftest.err
22997 cat conftest.err
>&5
22998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); } && {
23000 test -z "$ac_c_werror_flag" ||
23001 test ! -s conftest.err
23002 } && test -s conftest
$ac_exeext && {
23003 test "$cross_compiling" = yes ||
23004 $as_test_x conftest
$ac_exeext
23006 ac_cv_lib_event_event_dispatch
=yes
23008 $as_echo "$as_me: failed program was:" >&5
23009 sed 's/^/| /' conftest.
$ac_ext >&5
23011 ac_cv_lib_event_event_dispatch
=no
23014 rm -rf conftest.dSYM
23015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23016 conftest
$ac_exeext conftest.
$ac_ext
23017 LIBS
=$ac_check_lib_save_LIBS
23019 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_event_event_dispatch" >&5
23020 $as_echo "$ac_cv_lib_event_event_dispatch" >&6; }
23021 if test "x$ac_cv_lib_event_event_dispatch" = x
""yes; then
23024 { { $as_echo "$as_me:$LINENO: error: libevent needed for nfsv4 support" >&5
23025 $as_echo "$as_me: error: libevent needed for nfsv4 support" >&2;}
23026 { (exit 1); exit 1; }; }
23029 { $as_echo "$as_me:$LINENO: checking for nfs4_init_name_mapping in -lnfsidmap" >&5
23030 $as_echo_n "checking for nfs4_init_name_mapping in -lnfsidmap... " >&6; }
23031 if test "${ac_cv_lib_nfsidmap_nfs4_init_name_mapping+set}" = set; then
23032 $as_echo_n "(cached) " >&6
23034 ac_check_lib_save_LIBS
=$LIBS
23035 LIBS
="-lnfsidmap $LIBS"
23036 cat >conftest.
$ac_ext <<_ACEOF
23039 cat confdefs.h
>>conftest.
$ac_ext
23040 cat >>conftest.
$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23043 /* Override any GCC internal prototype to avoid an error.
23044 Use char because int might match the return type of a GCC
23045 builtin and then its argument prototype would still apply. */
23049 char nfs4_init_name_mapping ();
23053 return nfs4_init_name_mapping ();
23058 rm -f conftest.
$ac_objext conftest
$ac_exeext
23059 if { (ac_try
="$ac_link"
23060 case "(($ac_try" in
23061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23062 *) ac_try_echo=$ac_try;;
23064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23065 $as_echo "$ac_try_echo") >&5
23066 (eval "$ac_link") 2>conftest.er1
23068 grep -v '^ *+' conftest.er1 >conftest.err
23070 cat conftest.err >&5
23071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); } && {
23073 test -z "$ac_c_werror_flag" ||
23074 test ! -s conftest.err
23075 } && test -s conftest$ac_exeext && {
23076 test "$cross_compiling" = yes ||
23077 $as_test_x conftest$ac_exeext
23079 ac_cv_lib_nfsidmap_nfs4_init_name_mapping=yes
23081 $as_echo "$as_me: failed program was:" >&5
23082 sed 's/^/| /' conftest.$ac_ext >&5
23084 ac_cv_lib_nfsidmap_nfs4_init_name_mapping=no
23087 rm -rf conftest.dSYM
23088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23089 conftest$ac_exeext conftest.$ac_ext
23090 LIBS=$ac_check_lib_save_LIBS
23092 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nfsidmap_nfs4_init_name_mapping" >&5
23093 $as_echo "$ac_cv_lib_nfsidmap_nfs4_init_name_mapping" >&6; }
23094 if test "x$ac_cv_lib_nfsidmap_nfs4_init_name_mapping" = x""yes; then
23097 { { $as_echo "$as_me:$LINENO: error: libnfsidmap needed for nfsv4 support" >&5
23098 $as_echo "$as_me: error: libnfsidmap needed for nfsv4 support" >&2;}
23099 { (exit 1); exit 1; }; }
23103 for ac_header in event.h
23105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
23106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23107 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23108 $as_echo_n "checking for $ac_header... " >&6; }
23109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23110 $as_echo_n "(cached) " >&6
23112 ac_res=`eval 'as_val=${'$as_ac_Header'}
23113 $as_echo "$as_val"'`
23114 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23115 $as_echo "$ac_res" >&6; }
23117 # Is the header compilable?
23118 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23119 $as_echo_n "checking $ac_header usability... " >&6; }
23120 cat >conftest.$ac_ext <<_ACEOF
23123 cat confdefs.h >>conftest.$ac_ext
23124 cat >>conftest.$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 $ac_includes_default
23127 #include <$ac_header>
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23133 *) ac_try_echo
=$ac_try;;
23135 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
23136 $as_echo "$ac_try_echo") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23139 grep -v '^ *+' conftest.er1
>conftest.err
23141 cat conftest.err
>&5
23142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } && {
23144 test -z "$ac_c_werror_flag" ||
23145 test ! -s conftest.err
23146 } && test -s conftest.
$ac_objext; then
23147 ac_header_compiler
=yes
23149 $as_echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.
$ac_ext >&5
23152 ac_header_compiler
=no
23155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23156 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23157 $as_echo "$ac_header_compiler" >&6; }
23159 # Is the header present?
23160 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23161 $as_echo_n "checking $ac_header presence... " >&6; }
23162 cat >conftest.
$ac_ext <<_ACEOF
23165 cat confdefs.h
>>conftest.
$ac_ext
23166 cat >>conftest.
$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23168 #include <$ac_header>
23170 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23171 case "(($ac_try" in
23172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23176 $as_echo "$ac_try_echo") >&5
23177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23179 grep -v '^ *+' conftest.er1 >conftest.err
23181 cat conftest.err >&5
23182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); } >/dev/null && {
23184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23185 test ! -s conftest.err
23187 ac_header_preproc=yes
23189 $as_echo "$as_me: failed program was:" >&5
23190 sed 's/^/| /' conftest.$ac_ext >&5
23192 ac_header_preproc=no
23195 rm -f conftest.err conftest.$ac_ext
23196 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23197 $as_echo "$ac_header_preproc" >&6; }
23199 # So? What about this header?
23200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23203 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23205 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23206 ac_header_preproc=yes
23209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23210 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23211 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23212 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23214 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23215 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23216 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23218 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23220 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23222 ## ---------------------------------------- ##
23223 ## Report this to linux-nfs@vger.kernel.org ##
23224 ## ---------------------------------------- ##
23226 ) | sed "s/^/$as_me: WARNING: /" >&2
23229 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23230 $as_echo_n "checking for $ac_header... " >&6; }
23231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23232 $as_echo_n "(cached) " >&6
23234 eval "$as_ac_Header=\$ac_header_preproc"
23236 ac_res=`eval 'as_val=${'$as_ac_Header'}
23237 $as_echo "$as_val"'`
23238 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23239 $as_echo "$ac_res" >&6; }
23242 as_val=`eval 'as_val=${'$as_ac_Header'}
23243 $as_echo "$as_val"'`
23244 if test "x$as_val" = x""yes; then
23245 cat >>confdefs.h <<_ACEOF
23246 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
23250 { { $as_echo "$as_me:$LINENO: error: libevent needed for nfsv4 support" >&5
23251 $as_echo "$as_me: error: libevent needed for nfsv4 support" >&2;}
23252 { (exit 1); exit 1; }; }
23258 for ac_header in nfsidmap.h
23260 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
23261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23262 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23263 $as_echo_n "checking for $ac_header... " >&6; }
23264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23265 $as_echo_n "(cached) " >&6
23267 ac_res=`eval 'as_val=${'$as_ac_Header'}
23268 $as_echo "$as_val"'`
23269 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23270 $as_echo "$ac_res" >&6; }
23272 # Is the header compilable?
23273 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23274 $as_echo_n "checking $ac_header usability... " >&6; }
23275 cat >conftest.$ac_ext <<_ACEOF
23278 cat confdefs.h >>conftest.$ac_ext
23279 cat >>conftest.$ac_ext <<_ACEOF
23280 /* end confdefs.h. */
23281 $ac_includes_default
23282 #include <$ac_header>
23284 rm -f conftest.$ac_objext
23285 if { (ac_try="$ac_compile"
23286 case "(($ac_try" in
23287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23288 *) ac_try_echo
=$ac_try;;
23290 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
23291 $as_echo "$ac_try_echo") >&5
23292 (eval "$ac_compile") 2>conftest.er1
23294 grep -v '^ *+' conftest.er1
>conftest.err
23296 cat conftest.err
>&5
23297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } && {
23299 test -z "$ac_c_werror_flag" ||
23300 test ! -s conftest.err
23301 } && test -s conftest.
$ac_objext; then
23302 ac_header_compiler
=yes
23304 $as_echo "$as_me: failed program was:" >&5
23305 sed 's/^/| /' conftest.
$ac_ext >&5
23307 ac_header_compiler
=no
23310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23311 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23312 $as_echo "$ac_header_compiler" >&6; }
23314 # Is the header present?
23315 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23316 $as_echo_n "checking $ac_header presence... " >&6; }
23317 cat >conftest.
$ac_ext <<_ACEOF
23320 cat confdefs.h
>>conftest.
$ac_ext
23321 cat >>conftest.
$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323 #include <$ac_header>
23325 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23326 case "(($ac_try" in
23327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23331 $as_echo "$ac_try_echo") >&5
23332 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23334 grep -v '^ *+' conftest.er1 >conftest.err
23336 cat conftest.err >&5
23337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); } >/dev/null && {
23339 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23340 test ! -s conftest.err
23342 ac_header_preproc=yes
23344 $as_echo "$as_me: failed program was:" >&5
23345 sed 's/^/| /' conftest.$ac_ext >&5
23347 ac_header_preproc=no
23350 rm -f conftest.err conftest.$ac_ext
23351 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23352 $as_echo "$ac_header_preproc" >&6; }
23354 # So? What about this header?
23355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23357 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23358 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23359 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23360 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23361 ac_header_preproc=yes
23364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23365 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23367 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23368 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23369 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23370 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23371 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23373 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23374 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23375 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23377 ## ---------------------------------------- ##
23378 ## Report this to linux-nfs@vger.kernel.org ##
23379 ## ---------------------------------------- ##
23381 ) | sed "s/^/$as_me: WARNING: /" >&2
23384 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23385 $as_echo_n "checking for $ac_header... " >&6; }
23386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23387 $as_echo_n "(cached) " >&6
23389 eval "$as_ac_Header=\$ac_header_preproc"
23391 ac_res=`eval 'as_val=${'$as_ac_Header'}
23392 $as_echo "$as_val"'`
23393 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23394 $as_echo "$ac_res" >&6; }
23397 as_val=`eval 'as_val=${'$as_ac_Header'}
23398 $as_echo "$as_val"'`
23399 if test "x$as_val" = x""yes; then
23400 cat >>confdefs.h <<_ACEOF
23401 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
23405 { { $as_echo "$as_me:$LINENO: error: libnfsidmap needed for nfsv4 support" >&5
23406 $as_echo "$as_me: error: libnfsidmap needed for nfsv4 support" >&2;}
23407 { (exit 1); exit 1; }; }
23412 if test "$enable_gss" = yes; then
23415 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23416 if test -n "$ac_tool_prefix"; then
23417 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23418 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23419 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
23420 $as_echo_n "checking for $ac_word... " >&6; }
23421 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23422 $as_echo_n "(cached) " >&6
23424 case $PKG_CONFIG in
23426 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23430 for as_dir in $PATH
23433 test -z "$as_dir" && as_dir=.
23434 for ac_exec_ext in '' $ac_executable_extensions; do
23435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23436 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23437 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23447 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23448 if test -n "$PKG_CONFIG"; then
23449 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23450 $as_echo "$PKG_CONFIG" >&6; }
23452 { $as_echo "$as_me:$LINENO: result: no" >&5
23453 $as_echo "no" >&6; }
23458 if test -z "$ac_cv_path_PKG_CONFIG"; then
23459 ac_pt_PKG_CONFIG=$PKG_CONFIG
23460 # Extract the first word of "pkg-config", so it can be a program name with args.
23461 set dummy pkg-config; ac_word=$2
23462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
23463 $as_echo_n "checking for $ac_word... " >&6; }
23464 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
23465 $as_echo_n "(cached) " >&6
23467 case $ac_pt_PKG_CONFIG in
23469 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23473 for as_dir in $PATH
23476 test -z "$as_dir" && as_dir=.
23477 for ac_exec_ext in '' $ac_executable_extensions; do
23478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23479 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23480 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23490 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23491 if test -n "$ac_pt_PKG_CONFIG"; then
23492 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23493 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23495 { $as_echo "$as_me:$LINENO: result: no" >&5
23496 $as_echo "no" >&6; }
23499 if test "x$ac_pt_PKG_CONFIG" = x; then
23502 case $cross_compiling:$ac_tool_warned in
23504 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
23505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23506 ac_tool_warned=yes ;;
23508 PKG_CONFIG=$ac_pt_PKG_CONFIG
23511 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23515 if test -n "$PKG_CONFIG"; then
23516 _pkg_min_version=0.9.0
23517 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23518 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
23519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23520 { $as_echo "$as_me:$LINENO: result: yes" >&5
23521 $as_echo "yes" >&6; }
23523 { $as_echo "$as_me:$LINENO: result: no" >&5
23524 $as_echo "no" >&6; }
23531 { $as_echo "$as_me:$LINENO: checking for RPCSECGSS" >&5
23532 $as_echo_n "checking for RPCSECGSS... " >&6; }
23534 if test -n "$RPCSECGSS_CFLAGS"; then
23535 pkg_cv_RPCSECGSS_CFLAGS="$RPCSECGSS_CFLAGS"
23536 elif test -n "$PKG_CONFIG"; then
23537 if test -n "$PKG_CONFIG" && \
23538 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librpcsecgss >= 0.16\"") >&5
23539 ($PKG_CONFIG --exists --print-errors "librpcsecgss >= 0.16") 2>&5
23541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; then
23543 pkg_cv_RPCSECGSS_CFLAGS=`$PKG_CONFIG --cflags "librpcsecgss >= 0.16" 2>/dev
/null
`
23550 if test -n "$RPCSECGSS_LIBS"; then
23551 pkg_cv_RPCSECGSS_LIBS="$RPCSECGSS_LIBS"
23552 elif test -n "$PKG_CONFIG"; then
23553 if test -n "$PKG_CONFIG" && \
23554 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librpcsecgss >= 0.16\"") >&5
23555 ($PKG_CONFIG --exists --print-errors "librpcsecgss >= 0.16") 2>&5
23557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; then
23559 pkg_cv_RPCSECGSS_LIBS=`$PKG_CONFIG --libs "librpcsecgss >= 0.16" 2>/dev
/null
`
23569 if test $pkg_failed = yes; then
23571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23572 _pkg_short_errors_supported=yes
23574 _pkg_short_errors_supported=no
23576 if test $_pkg_short_errors_supported = yes; then
23577 RPCSECGSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "librpcsecgss >= 0.16" 2>&1`
23579 RPCSECGSS_PKG_ERRORS=`$PKG_CONFIG --print-errors "librpcsecgss >= 0.16" 2>&1`
23581 # Put the nasty error message in config.log where it belongs
23582 echo "$RPCSECGSS_PKG_ERRORS" >&5
23584 { $as_echo "$as_me:$LINENO: result: no" >&5
23585 $as_echo "no" >&6; }
23586 { { $as_echo "$as_me:$LINENO: error: Unable to locate information required to use librpcsecgss. If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig" >&5
23587 $as_echo "$as_me: error: Unable to locate information required to use librpcsecgss. If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig" >&2;}
23588 { (exit 1); exit 1; }; }
23591 elif test $pkg_failed = untried; then
23592 { { $as_echo "$as_me:$LINENO: error: Unable to locate information required to use librpcsecgss. If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig" >&5
23593 $as_echo "$as_me: error: Unable to locate information required to use librpcsecgss. If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig" >&2;}
23594 { (exit 1); exit 1; }; }
23598 RPCSECGSS_CFLAGS=$pkg_cv_RPCSECGSS_CFLAGS
23599 RPCSECGSS_LIBS=$pkg_cv_RPCSECGSS_LIBS
23600 { $as_echo "$as_me:$LINENO: result: yes" >&5
23601 $as_echo "yes" >&6; }
23606 { $as_echo "$as_me:$LINENO: checking for GSSGLUE" >&5
23607 $as_echo_n "checking for GSSGLUE... " >&6; }
23609 if test -n "$GSSGLUE_CFLAGS"; then
23610 pkg_cv_GSSGLUE_CFLAGS="$GSSGLUE_CFLAGS"
23611 elif test -n "$PKG_CONFIG"; then
23612 if test -n "$PKG_CONFIG" && \
23613 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgssglue >= 0.1\"") >&5
23614 ($PKG_CONFIG --exists --print-errors "libgssglue >= 0.1") 2>&5
23616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); }; then
23618 pkg_cv_GSSGLUE_CFLAGS=`$PKG_CONFIG --cflags "libgssglue >= 0.1" 2>/dev
/null
`
23625 if test -n "$GSSGLUE_LIBS"; then
23626 pkg_cv_GSSGLUE_LIBS="$GSSGLUE_LIBS"
23627 elif test -n "$PKG_CONFIG"; then
23628 if test -n "$PKG_CONFIG" && \
23629 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgssglue >= 0.1\"") >&5
23630 ($PKG_CONFIG --exists --print-errors "libgssglue >= 0.1") 2>&5
23632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; then
23634 pkg_cv_GSSGLUE_LIBS=`$PKG_CONFIG --libs "libgssglue >= 0.1" 2>/dev
/null
`
23644 if test $pkg_failed = yes; then
23646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23647 _pkg_short_errors_supported=yes
23649 _pkg_short_errors_supported=no
23651 if test $_pkg_short_errors_supported = yes; then
23652 GSSGLUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgssglue >= 0.1" 2>&1`
23654 GSSGLUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgssglue >= 0.1" 2>&1`
23656 # Put the nasty error message in config.log where it belongs
23657 echo "$GSSGLUE_PKG_ERRORS" >&5
23659 { { $as_echo "$as_me:$LINENO: error: Package requirements (libgssglue >= 0.1) were not met:
23661 $GSSGLUE_PKG_ERRORS
23663 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23664 installed software in a non-standard prefix.
23666 Alternatively, you may set the environment variables GSSGLUE_CFLAGS
23667 and GSSGLUE_LIBS to avoid the need to call pkg-config.
23668 See the pkg-config man page for more details.
23670 $as_echo "$as_me: error: Package requirements (libgssglue >= 0.1) were not met:
23672 $GSSGLUE_PKG_ERRORS
23674 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23675 installed software in a non-standard prefix.
23677 Alternatively, you may set the environment variables GSSGLUE_CFLAGS
23678 and GSSGLUE_LIBS to avoid the need to call pkg-config.
23679 See the pkg-config man page for more details.
23681 { (exit 1); exit 1; }; }
23682 elif test $pkg_failed = untried; then
23683 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23685 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
23686 is
in your PATH or
set the PKG_CONFIG environment variable to the full
23687 path to pkg-config.
23689 Alternatively
, you may
set the environment variables GSSGLUE_CFLAGS
23690 and GSSGLUE_LIBS to avoid the need to call pkg-config.
23691 See the pkg-config man page
for more details.
23693 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
23694 See \
`config.log' for more details." >&5
23695 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23696 is in your PATH or set the PKG_CONFIG environment variable to the full
23697 path to pkg-config.
23699 Alternatively, you may set the environment variables GSSGLUE_CFLAGS
23700 and GSSGLUE_LIBS to avoid the need to call pkg-config.
23701 See the pkg-config man page for more details.
23703 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23704 See \`config.log
' for more details." >&2;}
23705 { (exit 1); exit 1; }; }; }
23707 GSSGLUE_CFLAGS=$pkg_cv_GSSGLUE_CFLAGS
23708 GSSGLUE_LIBS=$pkg_cv_GSSGLUE_LIBS
23709 { $as_echo "$as_me:$LINENO: result: yes" >&5
23710 $as_echo "yes" >&6; }
23716 if test "$knfsd_cv_glibc2" = no; then
23717 { $as_echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
23718 $as_echo_n "checking for daemon in -lbsd... " >&6; }
23719 if test "${ac_cv_lib_bsd_daemon+set}" = set; then
23720 $as_echo_n "(cached) " >&6
23722 ac_check_lib_save_LIBS=$LIBS
23724 cat >conftest.$ac_ext <<_ACEOF
23727 cat confdefs.h >>conftest.$ac_ext
23728 cat >>conftest.$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23731 /* Override any GCC internal prototype to avoid an error.
23732 Use char because int might match the return type of a GCC
23733 builtin and then its argument prototype would still apply. */
23746 rm -f conftest.$ac_objext conftest$ac_exeext
23747 if { (ac_try="$ac_link"
23748 case "(($ac_try" in
23749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23750 *) ac_try_echo=$ac_try;;
23752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23753 $as_echo "$ac_try_echo") >&5
23754 (eval "$ac_link") 2>conftest.er1
23756 grep -v '^
*+' conftest.er1 >conftest.err
23758 cat conftest.err >&5
23759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_c_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest$ac_exeext && {
23764 test "$cross_compiling" = yes ||
23765 $as_test_x conftest$ac_exeext
23767 ac_cv_lib_bsd_daemon=yes
23769 $as_echo "$as_me: failed program was:" >&5
23770 sed 's
/^
/|
/' conftest.$ac_ext >&5
23772 ac_cv_lib_bsd_daemon=no
23775 rm -rf conftest.dSYM
23776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23777 conftest$ac_exeext conftest.$ac_ext
23778 LIBS=$ac_check_lib_save_LIBS
23780 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
23781 $as_echo "$ac_cv_lib_bsd_daemon" >&6; }
23782 if test "x$ac_cv_lib_bsd_daemon" = x""yes; then
23788 if test "$choose_blkid" != no; then
23789 { $as_echo "$as_me:$LINENO: checking for blkid_get_library_version in -lblkid" >&5
23790 $as_echo_n "checking for blkid_get_library_version in -lblkid... " >&6; }
23791 if test "${ac_cv_lib_blkid_blkid_get_library_version+set}" = set; then
23792 $as_echo_n "(cached) " >&6
23794 ac_check_lib_save_LIBS=$LIBS
23795 LIBS="-lblkid $LIBS"
23796 cat >conftest.$ac_ext <<_ACEOF
23799 cat confdefs.h >>conftest.$ac_ext
23800 cat >>conftest.$ac_ext <<_ACEOF
23801 /* end confdefs.h. */
23803 /* Override any GCC internal prototype to avoid an error.
23804 Use char because int might match the return type of a GCC
23805 builtin and then its argument prototype would still apply. */
23809 char blkid_get_library_version ();
23813 return blkid_get_library_version ();
23818 rm -f conftest.$ac_objext conftest$ac_exeext
23819 if { (ac_try="$ac_link"
23820 case "(($ac_try" in
23821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23822 *) ac_try_echo=$ac_try;;
23824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23825 $as_echo "$ac_try_echo") >&5
23826 (eval "$ac_link") 2>conftest.er1
23828 grep -v '^
*+' conftest.er1 >conftest.err
23830 cat conftest.err >&5
23831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } && {
23833 test -z "$ac_c_werror_flag" ||
23834 test ! -s conftest.err
23835 } && test -s conftest$ac_exeext && {
23836 test "$cross_compiling" = yes ||
23837 $as_test_x conftest$ac_exeext
23839 ac_cv_lib_blkid_blkid_get_library_version=yes
23841 $as_echo "$as_me: failed program was:" >&5
23842 sed 's
/^
/|
/' conftest.$ac_ext >&5
23844 ac_cv_lib_blkid_blkid_get_library_version=no
23847 rm -rf conftest.dSYM
23848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23849 conftest$ac_exeext conftest.$ac_ext
23850 LIBS=$ac_check_lib_save_LIBS
23852 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_blkid_blkid_get_library_version" >&5
23853 $as_echo "$ac_cv_lib_blkid_blkid_get_library_version" >&6; }
23854 if test "x$ac_cv_lib_blkid_blkid_get_library_version" = x""yes; then
23857 { { $as_echo "$as_me:$LINENO: error: libblkid needed" >&5
23858 $as_echo "$as_me: error: libblkid needed" >&2;}
23859 { (exit 1); exit 1; }; }
23862 if test "${ac_cv_header_blkid_blkid_h+set}" = set; then
23863 { $as_echo "$as_me:$LINENO: checking for blkid/blkid.h" >&5
23864 $as_echo_n "checking for blkid/blkid.h... " >&6; }
23865 if test "${ac_cv_header_blkid_blkid_h+set}" = set; then
23866 $as_echo_n "(cached) " >&6
23868 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_blkid_blkid_h" >&5
23869 $as_echo "$ac_cv_header_blkid_blkid_h" >&6; }
23871 # Is the header compilable?
23872 { $as_echo "$as_me:$LINENO: checking blkid/blkid.h usability" >&5
23873 $as_echo_n "checking blkid/blkid.h usability... " >&6; }
23874 cat >conftest.$ac_ext <<_ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880 $ac_includes_default
23881 #include <blkid/blkid.h>
23883 rm -f conftest.$ac_objext
23884 if { (ac_try="$ac_compile"
23885 case "(($ac_try" in
23886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23887 *) ac_try_echo=$ac_try;;
23889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23890 $as_echo "$ac_try_echo") >&5
23891 (eval "$ac_compile") 2>conftest.er1
23893 grep -v '^
*+' conftest.er1 >conftest.err
23895 cat conftest.err >&5
23896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } && {
23898 test -z "$ac_c_werror_flag" ||
23899 test ! -s conftest.err
23900 } && test -s conftest.$ac_objext; then
23901 ac_header_compiler=yes
23903 $as_echo "$as_me: failed program was:" >&5
23904 sed 's
/^
/|
/' conftest.$ac_ext >&5
23906 ac_header_compiler=no
23909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23911 $as_echo "$ac_header_compiler" >&6; }
23913 # Is the header present?
23914 { $as_echo "$as_me:$LINENO: checking blkid/blkid.h presence" >&5
23915 $as_echo_n "checking blkid/blkid.h presence... " >&6; }
23916 cat >conftest.$ac_ext <<_ACEOF
23919 cat confdefs.h >>conftest.$ac_ext
23920 cat >>conftest.$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 #include <blkid/blkid.h>
23924 if { (ac_try="$ac_cpp conftest.$ac_ext"
23925 case "(($ac_try" in
23926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23927 *) ac_try_echo=$ac_try;;
23929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23930 $as_echo "$ac_try_echo") >&5
23931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23933 grep -v '^
*+' conftest.er1 >conftest.err
23935 cat conftest.err >&5
23936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } >/dev/null && {
23938 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23939 test ! -s conftest.err
23941 ac_header_preproc=yes
23943 $as_echo "$as_me: failed program was:" >&5
23944 sed 's
/^
/|
/' conftest.$ac_ext >&5
23946 ac_header_preproc=no
23949 rm -f conftest.err conftest.$ac_ext
23950 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23951 $as_echo "$ac_header_preproc" >&6; }
23953 # So? What about this header?
23954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23956 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: accepted by the compiler, rejected by the preprocessor!" >&5
23957 $as_echo "$as_me: WARNING: blkid/blkid.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23958 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: proceeding with the compiler's result
" >&5
23959 $as_echo "$as_me: WARNING
: blkid
/blkid.h
: proceeding with the compiler
's result" >&2;}
23960 ac_header_preproc=yes
23963 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: present but cannot be compiled" >&5
23964 $as_echo "$as_me: WARNING: blkid/blkid.h: present but cannot be compiled" >&2;}
23965 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: check for missing prerequisite headers?" >&5
23966 $as_echo "$as_me: WARNING: blkid/blkid.h: check for missing prerequisite headers?" >&2;}
23967 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: see the Autoconf documentation" >&5
23968 $as_echo "$as_me: WARNING: blkid/blkid.h: see the Autoconf documentation" >&2;}
23969 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: section \"Present But Cannot Be Compiled\"" >&5
23970 $as_echo "$as_me: WARNING: blkid/blkid.h: section \"Present But Cannot Be Compiled\"" >&2;}
23971 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: proceeding with the preprocessor's result
" >&5
23972 $as_echo "$as_me: WARNING
: blkid
/blkid.h
: proceeding with the preprocessor
's result" >&2;}
23973 { $as_echo "$as_me:$LINENO: WARNING: blkid/blkid.h: in the future, the compiler will take precedence" >&5
23974 $as_echo "$as_me: WARNING: blkid/blkid.h: in the future, the compiler will take precedence" >&2;}
23976 ## ---------------------------------------- ##
23977 ## Report this to linux-nfs@vger.kernel.org ##
23978 ## ---------------------------------------- ##
23980 ) | sed "s/^/$as_me: WARNING: /" >&2
23983 { $as_echo "$as_me:$LINENO: checking for blkid/blkid.h" >&5
23984 $as_echo_n "checking for blkid/blkid.h... " >&6; }
23985 if test "${ac_cv_header_blkid_blkid_h+set}" = set; then
23986 $as_echo_n "(cached) " >&6
23988 ac_cv_header_blkid_blkid_h=$ac_header_preproc
23990 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_blkid_blkid_h" >&5
23991 $as_echo "$ac_cv_header_blkid_blkid_h" >&6; }
23994 if test "x$ac_cv_header_blkid_blkid_h" = x""yes; then
23997 { { $as_echo "$as_me:$LINENO: error: Cannot find libblkid header file blkid/blkid.h" >&5
23998 $as_echo "$as_me: error: Cannot find libblkid header file blkid/blkid.h" >&2;}
23999 { (exit 1); exit 1; }; }
24004 { $as_echo "$as_me:$LINENO: checking for suitable libblkid version" >&5
24005 $as_echo_n "checking for suitable libblkid version... " >&6; }
24006 if test "${libblkid_cv_is_recent+set}" = set; then
24007 $as_echo_n "(cached) " >&6
24012 if test "$cross_compiling" = yes; then
24013 libblkid_cv_is_recent=unknown
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24022 #include <blkid/blkid.h>
24025 int vers = blkid_get_library_version(0, 0);
24026 return vers >= 140 ? 0 : 1;
24030 rm -f conftest$ac_exeext
24031 if { (ac_try="$ac_link"
24032 case "(($ac_try" in
24033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24034 *) ac_try_echo=$ac_try;;
24036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24037 $as_echo "$ac_try_echo") >&5
24038 (eval "$ac_link") 2>&5
24040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24042 { (case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24047 $as_echo "$ac_try_echo") >&5
24048 (eval "$ac_try") 2>&5
24050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); }; }; then
24052 libblkid_cv_is_recent=yes
24054 $as_echo "$as_me: program exited with status $ac_status" >&5
24055 $as_echo "$as_me: failed program was:" >&5
24056 sed 's
/^
/|
/' conftest.$ac_ext >&5
24058 ( exit $ac_status )
24059 libblkid_cv_is_recent=no
24061 rm -rf conftest.dSYM
24062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24069 { $as_echo "$as_me:$LINENO: result: $libblkid_cv_is_recent" >&5
24070 $as_echo "$libblkid_cv_is_recent" >&6; }
24072 if test $choose_blkid = yes; then
24074 test $libblkid_cv_is_recent = no && { $as_echo "$as_me:$LINENO: WARNING: libblkid is old and may cause mountd to leak memory" >&5
24075 $as_echo "$as_me: WARNING: libblkid is old and may cause mountd to leak memory" >&2;}
24077 if test $libblkid_cv_is_recent = yes
24080 { $as_echo "$as_me:$LINENO: WARNING: uuid support disabled as libblkid is too old" >&5
24081 $as_echo "$as_me: WARNING: uuid support disabled as libblkid is too old" >&2;}
24085 cat >>confdefs.h <<_ACEOF
24086 #define USE_BLKID $use_blkid
24095 if test "$enable_gss" = yes; then
24097 for ac_header in nfsidmap.h
24099 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24101 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24102 $as_echo_n "checking for $ac_header... " >&6; }
24103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24104 $as_echo_n "(cached) " >&6
24106 ac_res=`eval 'as_val
=${'$as_ac_Header'}
24107 $as_echo "$as_val"'`
24108 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24109 $as_echo "$ac_res" >&6; }
24111 # Is the header compilable?
24112 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24113 $as_echo_n "checking $ac_header usability... " >&6; }
24114 cat >conftest.$ac_ext <<_ACEOF
24117 cat confdefs.h >>conftest.$ac_ext
24118 cat >>conftest.$ac_ext <<_ACEOF
24119 /* end confdefs.h. */
24120 $ac_includes_default
24121 #include <$ac_header>
24123 rm -f conftest.$ac_objext
24124 if { (ac_try="$ac_compile"
24125 case "(($ac_try" in
24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24127 *) ac_try_echo=$ac_try;;
24129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24130 $as_echo "$ac_try_echo") >&5
24131 (eval "$ac_compile") 2>conftest.er1
24133 grep -v '^
*+' conftest.er1 >conftest.err
24135 cat conftest.err >&5
24136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_c_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest.$ac_objext; then
24141 ac_header_compiler=yes
24143 $as_echo "$as_me: failed program was:" >&5
24144 sed 's
/^
/|
/' conftest.$ac_ext >&5
24146 ac_header_compiler=no
24149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24150 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24151 $as_echo "$ac_header_compiler" >&6; }
24153 # Is the header present?
24154 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24155 $as_echo_n "checking $ac_header presence... " >&6; }
24156 cat >conftest.$ac_ext <<_ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 #include <$ac_header>
24164 if { (ac_try="$ac_cpp conftest.$ac_ext"
24165 case "(($ac_try" in
24166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24167 *) ac_try_echo=$ac_try;;
24169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24170 $as_echo "$ac_try_echo") >&5
24171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24173 grep -v '^
*+' conftest.er1 >conftest.err
24175 cat conftest.err >&5
24176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } >/dev/null && {
24178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24179 test ! -s conftest.err
24181 ac_header_preproc=yes
24183 $as_echo "$as_me: failed program was:" >&5
24184 sed 's
/^
/|
/' conftest.$ac_ext >&5
24186 ac_header_preproc=no
24189 rm -f conftest.err conftest.$ac_ext
24190 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24191 $as_echo "$ac_header_preproc" >&6; }
24193 # So? What about this header?
24194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24196 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24197 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
24199 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
24200 ac_header_preproc=yes
24203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24204 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24206 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24208 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24210 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24211 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
24212 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
24213 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24214 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24216 ## ---------------------------------------- ##
24217 ## Report this to linux-nfs@vger.kernel.org ##
24218 ## ---------------------------------------- ##
24220 ) | sed "s/^/$as_me: WARNING: /" >&2
24223 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24224 $as_echo_n "checking for $ac_header... " >&6; }
24225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24226 $as_echo_n "(cached) " >&6
24228 eval "$as_ac_Header=\$ac_header_preproc"
24230 ac_res=`eval 'as_val
=${'$as_ac_Header'}
24231 $as_echo "$as_val"'`
24232 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24233 $as_echo "$ac_res" >&6; }
24236 as_val=`eval 'as_val
=${'$as_ac_Header'}
24237 $as_echo "$as_val"'`
24238 if test "x$as_val" = x""yes; then
24239 cat >>confdefs.h <<_ACEOF
24240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24244 { { $as_echo "$as_me:$LINENO: error: libnfsidmap needed for gss support" >&5
24245 $as_echo "$as_me: error: libnfsidmap needed for gss support" >&2;}
24246 { (exit 1); exit 1; }; }
24252 for ac_header in spkm3.h
24254 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24256 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24257 $as_echo_n "checking for $ac_header... " >&6; }
24258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24259 $as_echo_n "(cached) " >&6
24261 ac_res=`eval 'as_val
=${'$as_ac_Header'}
24262 $as_echo "$as_val"'`
24263 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24264 $as_echo "$ac_res" >&6; }
24266 # Is the header compilable?
24267 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24268 $as_echo_n "checking $ac_header usability... " >&6; }
24269 cat >conftest.$ac_ext <<_ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 $ac_includes_default
24276 #include <$ac_header>
24278 rm -f conftest.$ac_objext
24279 if { (ac_try="$ac_compile"
24280 case "(($ac_try" in
24281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24282 *) ac_try_echo=$ac_try;;
24284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24285 $as_echo "$ac_try_echo") >&5
24286 (eval "$ac_compile") 2>conftest.er1
24288 grep -v '^
*+' conftest.er1 >conftest.err
24290 cat conftest.err >&5
24291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } && {
24293 test -z "$ac_c_werror_flag" ||
24294 test ! -s conftest.err
24295 } && test -s conftest.$ac_objext; then
24296 ac_header_compiler=yes
24298 $as_echo "$as_me: failed program was:" >&5
24299 sed 's
/^
/|
/' conftest.$ac_ext >&5
24301 ac_header_compiler=no
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24306 $as_echo "$ac_header_compiler" >&6; }
24308 # Is the header present?
24309 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
24310 $as_echo_n "checking $ac_header presence... " >&6; }
24311 cat >conftest.$ac_ext <<_ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317 #include <$ac_header>
24319 if { (ac_try="$ac_cpp conftest.$ac_ext"
24320 case "(($ac_try" in
24321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24322 *) ac_try_echo=$ac_try;;
24324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24325 $as_echo "$ac_try_echo") >&5
24326 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24328 grep -v '^
*+' conftest.er1 >conftest.err
24330 cat conftest.err >&5
24331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } >/dev/null && {
24333 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24334 test ! -s conftest.err
24336 ac_header_preproc=yes
24338 $as_echo "$as_me: failed program was:" >&5
24339 sed 's
/^
/|
/' conftest.$ac_ext >&5
24341 ac_header_preproc=no
24344 rm -f conftest.err conftest.$ac_ext
24345 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24346 $as_echo "$ac_header_preproc" >&6; }
24348 # So? What about this header?
24349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24352 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24353 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
24354 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
24355 ac_header_preproc=yes
24358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24359 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24361 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24363 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24365 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
24367 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
24368 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24369 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24371 ## ---------------------------------------- ##
24372 ## Report this to linux-nfs@vger.kernel.org ##
24373 ## ---------------------------------------- ##
24375 ) | sed "s/^/$as_me: WARNING: /" >&2
24378 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24379 $as_echo_n "checking for $ac_header... " >&6; }
24380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24381 $as_echo_n "(cached) " >&6
24383 eval "$as_ac_Header=\$ac_header_preproc"
24385 ac_res=`eval 'as_val
=${'$as_ac_Header'}
24386 $as_echo "$as_val"'`
24387 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24388 $as_echo "$ac_res" >&6; }
24391 as_val=`eval 'as_val
=${'$as_ac_Header'}
24392 $as_echo "$as_val"'`
24393 if test "x$as_val" = x""yes; then
24394 cat >>confdefs.h <<_ACEOF
24395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24399 { $as_echo "$as_me:$LINENO: WARNING: could not locate SPKM3 header; will not have SPKM3 support" >&5
24400 $as_echo "$as_me: WARNING: could not locate SPKM3 header; will not have SPKM3 support" >&2;}
24405 { $as_echo "$as_me:$LINENO: checking for nfs4_set_debug in -lnfsidmap" >&5
24406 $as_echo_n "checking for nfs4_set_debug in -lnfsidmap... " >&6; }
24407 if test "${ac_cv_lib_nfsidmap_nfs4_set_debug+set}" = set; then
24408 $as_echo_n "(cached) " >&6
24410 ac_check_lib_save_LIBS=$LIBS
24411 LIBS="-lnfsidmap $LIBS"
24412 cat >conftest.$ac_ext <<_ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24419 /* Override any GCC internal prototype to avoid an error.
24420 Use char because int might match the return type of a GCC
24421 builtin and then its argument prototype would still apply. */
24425 char nfs4_set_debug ();
24429 return nfs4_set_debug ();
24434 rm -f conftest.$ac_objext conftest$ac_exeext
24435 if { (ac_try="$ac_link"
24436 case "(($ac_try" in
24437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24438 *) ac_try_echo=$ac_try;;
24440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24441 $as_echo "$ac_try_echo") >&5
24442 (eval "$ac_link") 2>conftest.er1
24444 grep -v '^
*+' conftest.er1 >conftest.err
24446 cat conftest.err >&5
24447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); } && {
24449 test -z "$ac_c_werror_flag" ||
24450 test ! -s conftest.err
24451 } && test -s conftest$ac_exeext && {
24452 test "$cross_compiling" = yes ||
24453 $as_test_x conftest$ac_exeext
24455 ac_cv_lib_nfsidmap_nfs4_set_debug=yes
24457 $as_echo "$as_me: failed program was:" >&5
24458 sed 's
/^
/|
/' conftest.$ac_ext >&5
24460 ac_cv_lib_nfsidmap_nfs4_set_debug=no
24463 rm -rf conftest.dSYM
24464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24465 conftest$ac_exeext conftest.$ac_ext
24466 LIBS=$ac_check_lib_save_LIBS
24468 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nfsidmap_nfs4_set_debug" >&5
24469 $as_echo "$ac_cv_lib_nfsidmap_nfs4_set_debug" >&6; }
24470 if test "x$ac_cv_lib_nfsidmap_nfs4_set_debug" = x""yes; then
24472 cat >>confdefs.h <<\_ACEOF
24473 #define HAVE_NFS4_SET_DEBUG 1
24480 { $as_echo "$as_me:$LINENO: checking for Kerberos v5" >&5
24481 $as_echo_n "checking for Kerberos v5... " >&6; }
24483 # Check whether --with-krb5 was given.
24484 if test "${with_krb5+set}" = set; then
24485 withval=$with_krb5; case "$withval" in
24490 krb5_with="$withval"
24497 for dir in $krb5_with /usr /usr/kerberos /usr/local /usr/local/krb5 \
24498 /usr/krb5 /usr/heimdal /usr/local/heimdal /usr/athena ; do
24500 if test -f $dir/bin/krb5-config; then
24501 K5CONFIG=$dir/bin/krb5-config
24502 elif test -f "/usr/kerberos/bin/krb5-config"; then
24503 K5CONFIG="/usr/kerberos/bin/krb5-config"
24504 elif test -f "/usr/lib/mit/bin/krb5-config"; then
24505 K5CONFIG="/usr/lib/mit/bin/krb5-config"
24507 if test "$K5CONFIG" != ""; then
24508 KRBCFLAGS=`$K5CONFIG --cflags`
24509 KRBLIBS=`$K5CONFIG --libs gssapi`
24510 K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($
(4),v
,"."); if (v
["3"] == "") v
["3"] = "0"; print v
["1"]v
["2"]v
["3"] }'`
24512 cat >>confdefs.h <<_ACEOF
24513 #define KRB5_VERSION $K5VERS
24516 if test -f $dir/include/gssapi/gssapi_krb5.h -a \
24517 \( -f $dir/lib/libgssapi_krb5.a -o \
24518 -f $dir/lib64/libgssapi_krb5.a -o \
24519 -f $dir/lib64/libgssapi_krb5.so -o \
24520 -f $dir/lib/libgssapi_krb5.so \) ; then
24522 cat >>confdefs.h <<\_ACEOF
24523 #define HAVE_KRB5 1
24527 if test $K5VERS -le 131; then
24529 cat >>confdefs.h <<\_ACEOF
24530 #define USE_GSS_KRB5_CCACHE_NAME 1
24534 gssapi_lib=gssapi_krb5
24536 elif test \( -f $dir/include/heim_err.h -o\
24537 -f $dir/include/heimdal/heim_err.h \) -a \
24538 -f $dir/lib/libroken.a; then
24540 cat >>confdefs.h <<\_ACEOF
24541 #define HAVE_HEIMDAL 1
24550 if test "x$KRBDIR" = "x"; then
24551 if test "x$krb5_with" = "x"; then
24552 { { $as_echo "$as_me:$LINENO: error: Kerberos v5 with GSS support not found: consider --disable-gss or --with-krb5=" >&5
24553 $as_echo "$as_me: error: Kerberos v5 with GSS support not found: consider --disable-gss or --with-krb5=" >&2;}
24554 { (exit 1); exit 1; }; }
24556 { { $as_echo "$as_me:$LINENO: error: Kerberos v5 with GSS support not found at $krb5_with" >&5
24557 $as_echo "$as_me: error: Kerberos v5 with GSS support not found at $krb5_with" >&2;}
24558 { (exit 1); exit 1; }; }
24561 { $as_echo "$as_me:$LINENO: result: $KRBDIR" >&5
24562 $as_echo "$KRBDIR" >&6; }
24564 echo "The current KRBDIR is $KRBDIR"
24565 if test "$KRBDIR/lib" = "/lib" -o "$KRBDIR/lib" = "/usr/lib" \
24566 -o "$KRBDIR/lib" = "//lib" -o "$KRBDIR/lib" = "/usr//lib" ; then
24568 elif /sbin/ldconfig -p | grep > /dev/null "=> $KRBDIR/lib/"; then
24571 KRBLDFLAGS="-Wl,-rpath=$KRBDIR/lib"
24574 as_ac_Lib=`$as_echo "ac_cv_lib_$gssapi_lib''_gss_krb5_export_lucid_sec_context" | $as_tr_sh`
24575 { $as_echo "$as_me:$LINENO: checking for gss_krb5_export_lucid_sec_context in -l$gssapi_lib" >&5
24576 $as_echo_n "checking for gss_krb5_export_lucid_sec_context in -l$gssapi_lib... " >&6; }
24577 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
24578 $as_echo_n "(cached) " >&6
24580 ac_check_lib_save_LIBS=$LIBS
24581 LIBS="-l$gssapi_lib $KRBLIBS $LIBS"
24582 cat >conftest.$ac_ext <<_ACEOF
24585 cat confdefs.h >>conftest.$ac_ext
24586 cat >>conftest.$ac_ext <<_ACEOF
24587 /* end confdefs.h. */
24589 /* Override any GCC internal prototype to avoid an error.
24590 Use char because int might match the return type of a GCC
24591 builtin and then its argument prototype would still apply. */
24595 char gss_krb5_export_lucid_sec_context ();
24599 return gss_krb5_export_lucid_sec_context ();
24604 rm -f conftest.$ac_objext conftest$ac_exeext
24605 if { (ac_try="$ac_link"
24606 case "(($ac_try" in
24607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608 *) ac_try_echo=$ac_try;;
24610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24611 $as_echo "$ac_try_echo") >&5
24612 (eval "$ac_link") 2>conftest.er1
24614 grep -v '^
*+' conftest.er1 >conftest.err
24616 cat conftest.err >&5
24617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); } && {
24619 test -z "$ac_c_werror_flag" ||
24620 test ! -s conftest.err
24621 } && test -s conftest$ac_exeext && {
24622 test "$cross_compiling" = yes ||
24623 $as_test_x conftest$ac_exeext
24625 eval "$as_ac_Lib=yes"
24627 $as_echo "$as_me: failed program was:" >&5
24628 sed 's
/^
/|
/' conftest.$ac_ext >&5
24630 eval "$as_ac_Lib=no"
24633 rm -rf conftest.dSYM
24634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24635 conftest$ac_exeext conftest.$ac_ext
24636 LIBS=$ac_check_lib_save_LIBS
24638 ac_res=`eval 'as_val
=${'$as_ac_Lib'}
24639 $as_echo "$as_val"'`
24640 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24641 $as_echo "$ac_res" >&6; }
24642 as_val=`eval 'as_val
=${'$as_ac_Lib'}
24643 $as_echo "$as_val"'`
24644 if test "x$as_val" = x""yes; then
24646 cat >>confdefs.h <<\_ACEOF
24647 #define HAVE_LUCID_CONTEXT_SUPPORT 1
24652 as_ac_Lib=`$as_echo "ac_cv_lib_$gssapi_lib''_gss_krb5_set_allowable_enctypes" | $as_tr_sh`
24653 { $as_echo "$as_me:$LINENO: checking for gss_krb5_set_allowable_enctypes in -l$gssapi_lib" >&5
24654 $as_echo_n "checking for gss_krb5_set_allowable_enctypes in -l$gssapi_lib... " >&6; }
24655 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
24656 $as_echo_n "(cached) " >&6
24658 ac_check_lib_save_LIBS=$LIBS
24659 LIBS="-l$gssapi_lib $KRBLIBS $LIBS"
24660 cat >conftest.$ac_ext <<_ACEOF
24663 cat confdefs.h >>conftest.$ac_ext
24664 cat >>conftest.$ac_ext <<_ACEOF
24665 /* end confdefs.h. */
24667 /* Override any GCC internal prototype to avoid an error.
24668 Use char because int might match the return type of a GCC
24669 builtin and then its argument prototype would still apply. */
24673 char gss_krb5_set_allowable_enctypes ();
24677 return gss_krb5_set_allowable_enctypes ();
24682 rm -f conftest.$ac_objext conftest$ac_exeext
24683 if { (ac_try="$ac_link"
24684 case "(($ac_try" in
24685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24686 *) ac_try_echo=$ac_try;;
24688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24689 $as_echo "$ac_try_echo") >&5
24690 (eval "$ac_link") 2>conftest.er1
24692 grep -v '^
*+' conftest.er1 >conftest.err
24694 cat conftest.err >&5
24695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } && {
24697 test -z "$ac_c_werror_flag" ||
24698 test ! -s conftest.err
24699 } && test -s conftest$ac_exeext && {
24700 test "$cross_compiling" = yes ||
24701 $as_test_x conftest$ac_exeext
24703 eval "$as_ac_Lib=yes"
24705 $as_echo "$as_me: failed program was:" >&5
24706 sed 's
/^
/|
/' conftest.$ac_ext >&5
24708 eval "$as_ac_Lib=no"
24711 rm -rf conftest.dSYM
24712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24713 conftest$ac_exeext conftest.$ac_ext
24714 LIBS=$ac_check_lib_save_LIBS
24716 ac_res=`eval 'as_val
=${'$as_ac_Lib'}
24717 $as_echo "$as_val"'`
24718 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24719 $as_echo "$ac_res" >&6; }
24720 as_val=`eval 'as_val
=${'$as_ac_Lib'}
24721 $as_echo "$as_val"'`
24722 if test "x$as_val" = x""yes; then
24724 cat >>confdefs.h <<\_ACEOF
24725 #define HAVE_SET_ALLOWABLE_ENCTYPES 1
24730 as_ac_Lib=`$as_echo "ac_cv_lib_$gssapi_lib''_gss_krb5_ccache_name" | $as_tr_sh`
24731 { $as_echo "$as_me:$LINENO: checking for gss_krb5_ccache_name in -l$gssapi_lib" >&5
24732 $as_echo_n "checking for gss_krb5_ccache_name in -l$gssapi_lib... " >&6; }
24733 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
24734 $as_echo_n "(cached) " >&6
24736 ac_check_lib_save_LIBS=$LIBS
24737 LIBS="-l$gssapi_lib $KRBLIBS $LIBS"
24738 cat >conftest.$ac_ext <<_ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24745 /* Override any GCC internal prototype to avoid an error.
24746 Use char because int might match the return type of a GCC
24747 builtin and then its argument prototype would still apply. */
24751 char gss_krb5_ccache_name ();
24755 return gss_krb5_ccache_name ();
24760 rm -f conftest.$ac_objext conftest$ac_exeext
24761 if { (ac_try="$ac_link"
24762 case "(($ac_try" in
24763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24764 *) ac_try_echo=$ac_try;;
24766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24767 $as_echo "$ac_try_echo") >&5
24768 (eval "$ac_link") 2>conftest.er1
24770 grep -v '^
*+' conftest.er1 >conftest.err
24772 cat conftest.err >&5
24773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); } && {
24775 test -z "$ac_c_werror_flag" ||
24776 test ! -s conftest.err
24777 } && test -s conftest$ac_exeext && {
24778 test "$cross_compiling" = yes ||
24779 $as_test_x conftest$ac_exeext
24781 eval "$as_ac_Lib=yes"
24783 $as_echo "$as_me: failed program was:" >&5
24784 sed 's
/^
/|
/' conftest.$ac_ext >&5
24786 eval "$as_ac_Lib=no"
24789 rm -rf conftest.dSYM
24790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24791 conftest$ac_exeext conftest.$ac_ext
24792 LIBS=$ac_check_lib_save_LIBS
24794 ac_res=`eval 'as_val
=${'$as_ac_Lib'}
24795 $as_echo "$as_val"'`
24796 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24797 $as_echo "$ac_res" >&6; }
24798 as_val=`eval 'as_val
=${'$as_ac_Lib'}
24799 $as_echo "$as_val"'`
24800 if test "x$as_val" = x""yes; then
24802 cat >>confdefs.h <<\_ACEOF
24803 #define HAVE_GSS_KRB5_CCACHE_NAME 1
24809 as_ac_Lib=`$as_echo "ac_cv_lib_$gssapi_lib''_krb5_get_error_message" | $as_tr_sh`
24810 { $as_echo "$as_me:$LINENO: checking for krb5_get_error_message in -l$gssapi_lib" >&5
24811 $as_echo_n "checking for krb5_get_error_message in -l$gssapi_lib... " >&6; }
24812 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
24813 $as_echo_n "(cached) " >&6
24815 ac_check_lib_save_LIBS=$LIBS
24816 LIBS="-l$gssapi_lib $KRBLIBS $LIBS"
24817 cat >conftest.$ac_ext <<_ACEOF
24820 cat confdefs.h >>conftest.$ac_ext
24821 cat >>conftest.$ac_ext <<_ACEOF
24822 /* end confdefs.h. */
24824 /* Override any GCC internal prototype to avoid an error.
24825 Use char because int might match the return type of a GCC
24826 builtin and then its argument prototype would still apply. */
24830 char krb5_get_error_message ();
24834 return krb5_get_error_message ();
24839 rm -f conftest.$ac_objext conftest$ac_exeext
24840 if { (ac_try="$ac_link"
24841 case "(($ac_try" in
24842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24843 *) ac_try_echo=$ac_try;;
24845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24846 $as_echo "$ac_try_echo") >&5
24847 (eval "$ac_link") 2>conftest.er1
24849 grep -v '^
*+' conftest.er1 >conftest.err
24851 cat conftest.err >&5
24852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); } && {
24854 test -z "$ac_c_werror_flag" ||
24855 test ! -s conftest.err
24856 } && test -s conftest$ac_exeext && {
24857 test "$cross_compiling" = yes ||
24858 $as_test_x conftest$ac_exeext
24860 eval "$as_ac_Lib=yes"
24862 $as_echo "$as_me: failed program was:" >&5
24863 sed 's
/^
/|
/' conftest.$ac_ext >&5
24865 eval "$as_ac_Lib=no"
24868 rm -rf conftest.dSYM
24869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24870 conftest$ac_exeext conftest.$ac_ext
24871 LIBS=$ac_check_lib_save_LIBS
24873 ac_res=`eval 'as_val
=${'$as_ac_Lib'}
24874 $as_echo "$as_val"'`
24875 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24876 $as_echo "$ac_res" >&6; }
24877 as_val=`eval 'as_val
=${'$as_ac_Lib'}
24878 $as_echo "$as_val"'`
24879 if test "x$as_val" = x""yes; then
24881 cat >>confdefs.h <<\_ACEOF
24882 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
24888 as_ac_Lib=`$as_echo "ac_cv_lib_$gssapi_lib''_krb5_get_init_creds_opt_set_addressless" | $as_tr_sh`
24889 { $as_echo "$as_me:$LINENO: checking for krb5_get_init_creds_opt_set_addressless in -l$gssapi_lib" >&5
24890 $as_echo_n "checking for krb5_get_init_creds_opt_set_addressless in -l$gssapi_lib... " >&6; }
24891 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
24892 $as_echo_n "(cached) " >&6
24894 ac_check_lib_save_LIBS=$LIBS
24895 LIBS="-l$gssapi_lib $KRBLIBS $LIBS"
24896 cat >conftest.$ac_ext <<_ACEOF
24899 cat confdefs.h >>conftest.$ac_ext
24900 cat >>conftest.$ac_ext <<_ACEOF
24901 /* end confdefs.h. */
24903 /* Override any GCC internal prototype to avoid an error.
24904 Use char because int might match the return type of a GCC
24905 builtin and then its argument prototype would still apply. */
24909 char krb5_get_init_creds_opt_set_addressless ();
24913 return krb5_get_init_creds_opt_set_addressless ();
24918 rm -f conftest.$ac_objext conftest$ac_exeext
24919 if { (ac_try="$ac_link"
24920 case "(($ac_try" in
24921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24922 *) ac_try_echo=$ac_try;;
24924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24925 $as_echo "$ac_try_echo") >&5
24926 (eval "$ac_link") 2>conftest.er1
24928 grep -v '^
*+' conftest.er1 >conftest.err
24930 cat conftest.err >&5
24931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_c_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest$ac_exeext && {
24936 test "$cross_compiling" = yes ||
24937 $as_test_x conftest$ac_exeext
24939 eval "$as_ac_Lib=yes"
24941 $as_echo "$as_me: failed program was:" >&5
24942 sed 's
/^
/|
/' conftest.$ac_ext >&5
24944 eval "$as_ac_Lib=no"
24947 rm -rf conftest.dSYM
24948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24949 conftest$ac_exeext conftest.$ac_ext
24950 LIBS=$ac_check_lib_save_LIBS
24952 ac_res=`eval 'as_val
=${'$as_ac_Lib'}
24953 $as_echo "$as_val"'`
24954 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24955 $as_echo "$ac_res" >&6; }
24956 as_val=`eval 'as_val
=${'$as_ac_Lib'}
24957 $as_echo "$as_val"'`
24958 if test "x$as_val" = x""yes; then
24960 cat >>confdefs.h <<\_ACEOF
24961 #define HAVE_KRB5_GET_INIT_CREDS_OPT_SET_ADDRESSLESS 1
24967 if test "x$krb5_with" != "x" -a "$krb5_with" != "$KRBDIR"; then
24968 { $as_echo "$as_me:$LINENO: WARNING: Using $KRBDIR instead of requested value of $krb5_with for Kerberos!" >&5
24969 $as_echo "$as_me: WARNING: Using $KRBDIR instead of requested value of $krb5_with for Kerberos!" >&2;}
24980 { $as_echo "$as_me:$LINENO: checking for authgss_create_default in -lrpcsecgss" >&5
24981 $as_echo_n "checking for authgss_create_default in -lrpcsecgss... " >&6; }
24982 if test "${ac_cv_lib_rpcsecgss_authgss_create_default+set}" = set; then
24983 $as_echo_n "(cached) " >&6
24985 ac_check_lib_save_LIBS=$LIBS
24986 LIBS="-lrpcsecgss -lgssglue -ldl $LIBS"
24987 cat >conftest.$ac_ext <<_ACEOF
24990 cat confdefs.h >>conftest.$ac_ext
24991 cat >>conftest.$ac_ext <<_ACEOF
24992 /* end confdefs.h. */
24994 /* Override any GCC internal prototype to avoid an error.
24995 Use char because int might match the return type of a GCC
24996 builtin and then its argument prototype would still apply. */
25000 char authgss_create_default ();
25004 return authgss_create_default ();
25009 rm -f conftest.$ac_objext conftest$ac_exeext
25010 if { (ac_try="$ac_link"
25011 case "(($ac_try" in
25012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25013 *) ac_try_echo=$ac_try;;
25015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25016 $as_echo "$ac_try_echo") >&5
25017 (eval "$ac_link") 2>conftest.er1
25019 grep -v '^
*+' conftest.er1 >conftest.err
25021 cat conftest.err >&5
25022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); } && {
25024 test -z "$ac_c_werror_flag" ||
25025 test ! -s conftest.err
25026 } && test -s conftest$ac_exeext && {
25027 test "$cross_compiling" = yes ||
25028 $as_test_x conftest$ac_exeext
25030 ac_cv_lib_rpcsecgss_authgss_create_default=yes
25032 $as_echo "$as_me: failed program was:" >&5
25033 sed 's
/^
/|
/' conftest.$ac_ext >&5
25035 ac_cv_lib_rpcsecgss_authgss_create_default=no
25038 rm -rf conftest.dSYM
25039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25040 conftest$ac_exeext conftest.$ac_ext
25041 LIBS=$ac_check_lib_save_LIBS
25043 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rpcsecgss_authgss_create_default" >&5
25044 $as_echo "$ac_cv_lib_rpcsecgss_authgss_create_default" >&6; }
25045 if test "x$ac_cv_lib_rpcsecgss_authgss_create_default" = x""yes; then
25048 { { $as_echo "$as_me:$LINENO: error: librpcsecgss needed for nfsv4 support" >&5
25049 $as_echo "$as_me: error: librpcsecgss needed for nfsv4 support" >&2;}
25050 { (exit 1); exit 1; }; }
25053 { $as_echo "$as_me:$LINENO: checking for authgss_set_debug_level in -lrpcsecgss" >&5
25054 $as_echo_n "checking for authgss_set_debug_level in -lrpcsecgss... " >&6; }
25055 if test "${ac_cv_lib_rpcsecgss_authgss_set_debug_level+set}" = set; then
25056 $as_echo_n "(cached) " >&6
25058 ac_check_lib_save_LIBS=$LIBS
25059 LIBS="-lrpcsecgss -lgssglue -ldl $LIBS"
25060 cat >conftest.$ac_ext <<_ACEOF
25063 cat confdefs.h >>conftest.$ac_ext
25064 cat >>conftest.$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25067 /* Override any GCC internal prototype to avoid an error.
25068 Use char because int might match the return type of a GCC
25069 builtin and then its argument prototype would still apply. */
25073 char authgss_set_debug_level ();
25077 return authgss_set_debug_level ();
25082 rm -f conftest.$ac_objext conftest$ac_exeext
25083 if { (ac_try="$ac_link"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25089 $as_echo "$ac_try_echo") >&5
25090 (eval "$ac_link") 2>conftest.er1
25092 grep -v '^
*+' conftest.er1 >conftest.err
25094 cat conftest.err >&5
25095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); } && {
25097 test -z "$ac_c_werror_flag" ||
25098 test ! -s conftest.err
25099 } && test -s conftest$ac_exeext && {
25100 test "$cross_compiling" = yes ||
25101 $as_test_x conftest$ac_exeext
25103 ac_cv_lib_rpcsecgss_authgss_set_debug_level=yes
25105 $as_echo "$as_me: failed program was:" >&5
25106 sed 's
/^
/|
/' conftest.$ac_ext >&5
25108 ac_cv_lib_rpcsecgss_authgss_set_debug_level=no
25111 rm -rf conftest.dSYM
25112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25113 conftest$ac_exeext conftest.$ac_ext
25114 LIBS=$ac_check_lib_save_LIBS
25116 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rpcsecgss_authgss_set_debug_level" >&5
25117 $as_echo "$ac_cv_lib_rpcsecgss_authgss_set_debug_level" >&6; }
25118 if test "x$ac_cv_lib_rpcsecgss_authgss_set_debug_level" = x""yes; then
25120 cat >>confdefs.h <<\_ACEOF
25121 #define HAVE_AUTHGSS_SET_DEBUG_LEVEL 1
25129 { $as_echo "$as_me:$LINENO: checking whether AI_ADDRCONFIG is declared" >&5
25130 $as_echo_n "checking whether AI_ADDRCONFIG is declared... " >&6; }
25131 if test "${ac_cv_have_decl_AI_ADDRCONFIG+set}" = set; then
25132 $as_echo_n "(cached) " >&6
25134 cat >conftest.$ac_ext <<_ACEOF
25137 cat confdefs.h >>conftest.$ac_ext
25138 cat >>conftest.$ac_ext <<_ACEOF
25139 /* end confdefs.h. */
25145 #ifndef AI_ADDRCONFIG
25146 (void) AI_ADDRCONFIG;
25153 rm -f conftest.$ac_objext
25154 if { (ac_try="$ac_compile"
25155 case "(($ac_try" in
25156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25157 *) ac_try_echo=$ac_try;;
25159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25160 $as_echo "$ac_try_echo") >&5
25161 (eval "$ac_compile") 2>conftest.er1
25163 grep -v '^
*+' conftest.er1 >conftest.err
25165 cat conftest.err >&5
25166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); } && {
25168 test -z "$ac_c_werror_flag" ||
25169 test ! -s conftest.err
25170 } && test -s conftest.$ac_objext; then
25171 ac_cv_have_decl_AI_ADDRCONFIG=yes
25173 $as_echo "$as_me: failed program was:" >&5
25174 sed 's
/^
/|
/' conftest.$ac_ext >&5
25176 ac_cv_have_decl_AI_ADDRCONFIG=no
25179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25181 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_AI_ADDRCONFIG" >&5
25182 $as_echo "$ac_cv_have_decl_AI_ADDRCONFIG" >&6; }
25183 if test "x$ac_cv_have_decl_AI_ADDRCONFIG" = x""yes; then
25185 cat >>confdefs.h <<\_ACEOF
25186 #define HAVE_DECL_AI_ADDRCONFIG 1
25192 if test "$enable_tirpc" = yes; then
25194 { $as_echo "$as_me:$LINENO: checking for clnt_tli_create in -ltirpc" >&5
25195 $as_echo_n "checking for clnt_tli_create in -ltirpc... " >&6; }
25196 if test "${ac_cv_lib_tirpc_clnt_tli_create+set}" = set; then
25197 $as_echo_n "(cached) " >&6
25199 ac_check_lib_save_LIBS=$LIBS
25200 LIBS="-ltirpc $LIBS"
25201 cat >conftest.$ac_ext <<_ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25208 /* Override any GCC internal prototype to avoid an error.
25209 Use char because int might match the return type of a GCC
25210 builtin and then its argument prototype would still apply. */
25214 char clnt_tli_create ();
25218 return clnt_tli_create ();
25223 rm -f conftest.$ac_objext conftest$ac_exeext
25224 if { (ac_try="$ac_link"
25225 case "(($ac_try" in
25226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25227 *) ac_try_echo=$ac_try;;
25229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25230 $as_echo "$ac_try_echo") >&5
25231 (eval "$ac_link") 2>conftest.er1
25233 grep -v '^
*+' conftest.er1 >conftest.err
25235 cat conftest.err >&5
25236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); } && {
25238 test -z "$ac_c_werror_flag" ||
25239 test ! -s conftest.err
25240 } && test -s conftest$ac_exeext && {
25241 test "$cross_compiling" = yes ||
25242 $as_test_x conftest$ac_exeext
25244 ac_cv_lib_tirpc_clnt_tli_create=yes
25246 $as_echo "$as_me: failed program was:" >&5
25247 sed 's
/^
/|
/' conftest.$ac_ext >&5
25249 ac_cv_lib_tirpc_clnt_tli_create=no
25252 rm -rf conftest.dSYM
25253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25254 conftest$ac_exeext conftest.$ac_ext
25255 LIBS=$ac_check_lib_save_LIBS
25257 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tirpc_clnt_tli_create" >&5
25258 $as_echo "$ac_cv_lib_tirpc_clnt_tli_create" >&6; }
25259 if test "x$ac_cv_lib_tirpc_clnt_tli_create" = x""yes; then
25260 cat >>confdefs.h <<_ACEOF
25261 #define HAVE_LIBTIRPC 1
25264 LIBS="-ltirpc $LIBS"
25267 { { $as_echo "$as_me:$LINENO: error: libtirpc not found." >&5
25268 $as_echo "$as_me: error: libtirpc not found." >&2;}
25269 { (exit 1); exit 1; }; }
25273 for ac_header in tirpc/netconfig.h
25275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25277 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25278 $as_echo_n "checking for $ac_header... " >&6; }
25279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25280 $as_echo_n "(cached) " >&6
25282 ac_res=`eval 'as_val
=${'$as_ac_Header'}
25283 $as_echo "$as_val"'`
25284 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25285 $as_echo "$ac_res" >&6; }
25287 # Is the header compilable?
25288 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25289 $as_echo_n "checking $ac_header usability... " >&6; }
25290 cat >conftest.$ac_ext <<_ACEOF
25293 cat confdefs.h >>conftest.$ac_ext
25294 cat >>conftest.$ac_ext <<_ACEOF
25295 /* end confdefs.h. */
25296 $ac_includes_default
25297 #include <$ac_header>
25299 rm -f conftest.$ac_objext
25300 if { (ac_try="$ac_compile"
25301 case "(($ac_try" in
25302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25303 *) ac_try_echo=$ac_try;;
25305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25306 $as_echo "$ac_try_echo") >&5
25307 (eval "$ac_compile") 2>conftest.er1
25309 grep -v '^
*+' conftest.er1 >conftest.err
25311 cat conftest.err >&5
25312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } && {
25314 test -z "$ac_c_werror_flag" ||
25315 test ! -s conftest.err
25316 } && test -s conftest.$ac_objext; then
25317 ac_header_compiler=yes
25319 $as_echo "$as_me: failed program was:" >&5
25320 sed 's
/^
/|
/' conftest.$ac_ext >&5
25322 ac_header_compiler=no
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25327 $as_echo "$ac_header_compiler" >&6; }
25329 # Is the header present?
25330 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25331 $as_echo_n "checking $ac_header presence... " >&6; }
25332 cat >conftest.$ac_ext <<_ACEOF
25335 cat confdefs.h >>conftest.$ac_ext
25336 cat >>conftest.$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25338 #include <$ac_header>
25340 if { (ac_try="$ac_cpp conftest.$ac_ext"
25341 case "(($ac_try" in
25342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25343 *) ac_try_echo=$ac_try;;
25345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25346 $as_echo "$ac_try_echo") >&5
25347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25349 grep -v '^
*+' conftest.er1 >conftest.err
25351 cat conftest.err >&5
25352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } >/dev/null && {
25354 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25355 test ! -s conftest.err
25357 ac_header_preproc=yes
25359 $as_echo "$as_me: failed program was:" >&5
25360 sed 's
/^
/|
/' conftest.$ac_ext >&5
25362 ac_header_preproc=no
25365 rm -f conftest.err conftest.$ac_ext
25366 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25367 $as_echo "$ac_header_preproc" >&6; }
25369 # So? What about this header?
25370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25373 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25374 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
25375 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
25376 ac_header_preproc=yes
25379 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25380 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25381 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25382 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25383 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25384 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25386 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
25388 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
25389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25390 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25392 ## ---------------------------------------- ##
25393 ## Report this to linux-nfs@vger.kernel.org ##
25394 ## ---------------------------------------- ##
25396 ) | sed "s/^/$as_me: WARNING: /" >&2
25399 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25400 $as_echo_n "checking for $ac_header... " >&6; }
25401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25402 $as_echo_n "(cached) " >&6
25404 eval "$as_ac_Header=\$ac_header_preproc"
25406 ac_res=`eval 'as_val
=${'$as_ac_Header'}
25407 $as_echo "$as_val"'`
25408 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25409 $as_echo "$ac_res" >&6; }
25412 as_val=`eval 'as_val
=${'$as_ac_Header'}
25413 $as_echo "$as_val"'`
25414 if test "x$as_val" = x""yes; then
25415 cat >>confdefs.h <<_ACEOF
25416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25420 { { $as_echo "$as_me:$LINENO: error: libtirpc headers not found." >&5
25421 $as_echo "$as_me: error: libtirpc headers not found." >&2;}
25422 { (exit 1); exit 1; }; }
25434 for ac_func in bindresvport_sa getnetconfig \
25435 clnt_create clnt_create_timed \
25436 clnt_vc_create clnt_dg_create xdr_rpcb
25438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25439 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25440 $as_echo_n "checking for $ac_func... " >&6; }
25441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25442 $as_echo_n "(cached) " >&6
25444 cat >conftest.$ac_ext <<_ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25452 #define $ac_func innocuous_$ac_func
25454 /* System header to define __stub macros and hopefully few prototypes,
25455 which can conflict with char $ac_func (); below.
25456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25457 <limits.h> exists even on freestanding compilers. */
25460 # include <limits.h>
25462 # include <assert.h>
25467 /* Override any GCC internal prototype to avoid an error.
25468 Use char because int might match the return type of a GCC
25469 builtin and then its argument prototype would still apply. */
25474 /* The GNU C library defines this for functions which it implements
25475 to always fail with ENOSYS. Some functions are actually named
25476 something starting with __ and the normal name is an alias. */
25477 #if defined __stub_$ac_func || defined __stub___$ac_func
25484 return $ac_func ();
25489 rm -f conftest.$ac_objext conftest$ac_exeext
25490 if { (ac_try="$ac_link"
25491 case "(($ac_try" in
25492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25493 *) ac_try_echo=$ac_try;;
25495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25496 $as_echo "$ac_try_echo") >&5
25497 (eval "$ac_link") 2>conftest.er1
25499 grep -v '^
*+' conftest.er1 >conftest.err
25501 cat conftest.err >&5
25502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } && {
25504 test -z "$ac_c_werror_flag" ||
25505 test ! -s conftest.err
25506 } && test -s conftest$ac_exeext && {
25507 test "$cross_compiling" = yes ||
25508 $as_test_x conftest$ac_exeext
25510 eval "$as_ac_var=yes"
25512 $as_echo "$as_me: failed program was:" >&5
25513 sed 's
/^
/|
/' conftest.$ac_ext >&5
25515 eval "$as_ac_var=no"
25518 rm -rf conftest.dSYM
25519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25520 conftest$ac_exeext conftest.$ac_ext
25522 ac_res=`eval 'as_val
=${'$as_ac_var'}
25523 $as_echo "$as_val"'`
25524 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25525 $as_echo "$ac_res" >&6; }
25526 as_val=`eval 'as_val
=${'$as_ac_var'}
25527 $as_echo "$as_val"'`
25528 if test "x$as_val" = x""yes; then
25529 cat >>confdefs.h <<_ACEOF
25530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25538 if test "$enable_ipv6" = yes; then
25539 if test "$enable_tirpc" = no; then
25540 { { $as_echo "$as_me:$LINENO: error: '--enable-ipv6' requires '--enable-tirpc'." >&5
25541 $as_echo "$as_me: error: '--enable-ipv6' requires '--enable-tirpc'." >&2;}
25542 { (exit 1); exit 1; }; }
25544 { $as_echo "$as_me:$LINENO: checking for getnameinfo" >&5
25545 $as_echo_n "checking for getnameinfo... " >&6; }
25546 if test "${ac_cv_func_getnameinfo+set}" = set; then
25547 $as_echo_n "(cached) " >&6
25549 cat >conftest.$ac_ext <<_ACEOF
25552 cat confdefs.h >>conftest.$ac_ext
25553 cat >>conftest.$ac_ext <<_ACEOF
25554 /* end confdefs.h. */
25555 /* Define getnameinfo to an innocuous variant, in case <limits.h> declares getnameinfo.
25556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25557 #define getnameinfo innocuous_getnameinfo
25559 /* System header to define __stub macros and hopefully few prototypes,
25560 which can conflict with char getnameinfo (); below.
25561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25562 <limits.h> exists even on freestanding compilers. */
25565 # include <limits.h>
25567 # include <assert.h>
25572 /* Override any GCC internal prototype to avoid an error.
25573 Use char because int might match the return type of a GCC
25574 builtin and then its argument prototype would still apply. */
25578 char getnameinfo ();
25579 /* The GNU C library defines this for functions which it implements
25580 to always fail with ENOSYS. Some functions are actually named
25581 something starting with __ and the normal name is an alias. */
25582 #if defined __stub_getnameinfo || defined __stub___getnameinfo
25589 return getnameinfo ();
25594 rm -f conftest.$ac_objext conftest$ac_exeext
25595 if { (ac_try="$ac_link"
25596 case "(($ac_try" in
25597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25598 *) ac_try_echo=$ac_try;;
25600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25601 $as_echo "$ac_try_echo") >&5
25602 (eval "$ac_link") 2>conftest.er1
25604 grep -v '^
*+' conftest.er1 >conftest.err
25606 cat conftest.err >&5
25607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); } && {
25609 test -z "$ac_c_werror_flag" ||
25610 test ! -s conftest.err
25611 } && test -s conftest$ac_exeext && {
25612 test "$cross_compiling" = yes ||
25613 $as_test_x conftest$ac_exeext
25615 ac_cv_func_getnameinfo=yes
25617 $as_echo "$as_me: failed program was:" >&5
25618 sed 's
/^
/|
/' conftest.$ac_ext >&5
25620 ac_cv_func_getnameinfo=no
25623 rm -rf conftest.dSYM
25624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25625 conftest$ac_exeext conftest.$ac_ext
25627 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo" >&5
25628 $as_echo "$ac_cv_func_getnameinfo" >&6; }
25630 { $as_echo "$as_me:$LINENO: checking whether AI_ADDRCONFIG is declared" >&5
25631 $as_echo_n "checking whether AI_ADDRCONFIG is declared... " >&6; }
25632 if test "${ac_cv_have_decl_AI_ADDRCONFIG+set}" = set; then
25633 $as_echo_n "(cached) " >&6
25635 cat >conftest.$ac_ext <<_ACEOF
25638 cat confdefs.h >>conftest.$ac_ext
25639 cat >>conftest.$ac_ext <<_ACEOF
25640 /* end confdefs.h. */
25646 #ifndef AI_ADDRCONFIG
25647 (void) AI_ADDRCONFIG;
25654 rm -f conftest.$ac_objext
25655 if { (ac_try="$ac_compile"
25656 case "(($ac_try" in
25657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25661 $as_echo "$ac_try_echo") >&5
25662 (eval "$ac_compile") 2>conftest.er1
25664 grep -v '^
*+' conftest.er1 >conftest.err
25666 cat conftest.err >&5
25667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } && {
25669 test -z "$ac_c_werror_flag" ||
25670 test ! -s conftest.err
25671 } && test -s conftest.$ac_objext; then
25672 ac_cv_have_decl_AI_ADDRCONFIG=yes
25674 $as_echo "$as_me: failed program was:" >&5
25675 sed 's
/^
/|
/' conftest.$ac_ext >&5
25677 ac_cv_have_decl_AI_ADDRCONFIG=no
25680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25682 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_AI_ADDRCONFIG" >&5
25683 $as_echo "$ac_cv_have_decl_AI_ADDRCONFIG" >&6; }
25684 if test "x$ac_cv_have_decl_AI_ADDRCONFIG" = x""yes; then
25687 { { $as_echo "$as_me:$LINENO: error: full getaddrinfo(3) implementation needed for IPv6 support" >&5
25688 $as_echo "$as_me: error: full getaddrinfo(3) implementation needed for IPv6 support" >&2;}
25689 { (exit 1); exit 1; }; }
25717 for ac_header in arpa/inet.h fcntl.h libintl.h limits.h \
25718 malloc.h memory.h netdb.h netinet/in.h paths.h \
25719 stdlib.h string.h sys/file.h sys/ioctl.h sys/mount.h \
25720 sys/param.h sys/socket.h sys/time.h sys/vfs.h \
25721 syslog.h unistd.h com_err.h et/com_err.h \
25724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25726 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25727 $as_echo_n "checking for $ac_header... " >&6; }
25728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25729 $as_echo_n "(cached) " >&6
25731 ac_res=`eval 'as_val
=${'$as_ac_Header'}
25732 $as_echo "$as_val"'`
25733 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25734 $as_echo "$ac_res" >&6; }
25736 # Is the header compilable?
25737 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25738 $as_echo_n "checking $ac_header usability... " >&6; }
25739 cat >conftest.$ac_ext <<_ACEOF
25742 cat confdefs.h >>conftest.$ac_ext
25743 cat >>conftest.$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25745 $ac_includes_default
25746 #include <$ac_header>
25748 rm -f conftest.$ac_objext
25749 if { (ac_try="$ac_compile"
25750 case "(($ac_try" in
25751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25752 *) ac_try_echo=$ac_try;;
25754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25755 $as_echo "$ac_try_echo") >&5
25756 (eval "$ac_compile") 2>conftest.er1
25758 grep -v '^
*+' conftest.er1 >conftest.err
25760 cat conftest.err >&5
25761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_c_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest.$ac_objext; then
25766 ac_header_compiler=yes
25768 $as_echo "$as_me: failed program was:" >&5
25769 sed 's
/^
/|
/' conftest.$ac_ext >&5
25771 ac_header_compiler=no
25774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25776 $as_echo "$ac_header_compiler" >&6; }
25778 # Is the header present?
25779 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25780 $as_echo_n "checking $ac_header presence... " >&6; }
25781 cat >conftest.$ac_ext <<_ACEOF
25784 cat confdefs.h >>conftest.$ac_ext
25785 cat >>conftest.$ac_ext <<_ACEOF
25786 /* end confdefs.h. */
25787 #include <$ac_header>
25789 if { (ac_try="$ac_cpp conftest.$ac_ext"
25790 case "(($ac_try" in
25791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25792 *) ac_try_echo=$ac_try;;
25794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25795 $as_echo "$ac_try_echo") >&5
25796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25798 grep -v '^
*+' conftest.er1 >conftest.err
25800 cat conftest.err >&5
25801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } >/dev/null && {
25803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25804 test ! -s conftest.err
25806 ac_header_preproc=yes
25808 $as_echo "$as_me: failed program was:" >&5
25809 sed 's
/^
/|
/' conftest.$ac_ext >&5
25811 ac_header_preproc=no
25814 rm -f conftest.err conftest.$ac_ext
25815 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25816 $as_echo "$ac_header_preproc" >&6; }
25818 # So? What about this header?
25819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25822 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
25824 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
25825 ac_header_preproc=yes
25828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25829 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25831 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25833 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25835 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
25837 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
25838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25839 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25841 ## ---------------------------------------- ##
25842 ## Report this to linux-nfs@vger.kernel.org ##
25843 ## ---------------------------------------- ##
25845 ) | sed "s/^/$as_me: WARNING: /" >&2
25848 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25849 $as_echo_n "checking for $ac_header... " >&6; }
25850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25851 $as_echo_n "(cached) " >&6
25853 eval "$as_ac_Header=\$ac_header_preproc"
25855 ac_res=`eval 'as_val
=${'$as_ac_Header'}
25856 $as_echo "$as_val"'`
25857 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25858 $as_echo "$ac_res" >&6; }
25861 as_val=`eval 'as_val
=${'$as_ac_Header'}
25862 $as_echo "$as_val"'`
25863 if test "x$as_val" = x""yes; then
25864 cat >>confdefs.h <<_ACEOF
25865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25873 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
25874 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
25875 if test "${ac_cv_c_const+set}" = set; then
25876 $as_echo_n "(cached) " >&6
25878 cat >conftest.$ac_ext <<_ACEOF
25881 cat confdefs.h >>conftest.$ac_ext
25882 cat >>conftest.$ac_ext <<_ACEOF
25883 /* end confdefs.h. */
25888 /* FIXME: Include the comments suggested by Paul. */
25889 #ifndef __cplusplus
25890 /* Ultrix mips cc rejects this. */
25891 typedef int charset[2];
25893 /* SunOS 4.1.1 cc rejects this. */
25894 char const *const *pcpcc;
25896 /* NEC SVR4.0.2 mips cc rejects this. */
25897 struct point {int x, y;};
25898 static struct point const zero = {0,0};
25899 /* AIX XL C 1.02.0.0 rejects this.
25900 It does not let you subtract one const X* pointer from another in
25901 an arm of an if-expression whose if-part is not a constant
25903 const char *g = "string";
25904 pcpcc = &g + (g ? g-g : 0);
25905 /* HPUX 7.0 cc rejects these. */
25907 ppc = (char**) pcpcc;
25908 pcpcc = (char const *const *) ppc;
25909 { /* SCO 3.2v4 cc rejects this. */
25911 char const *s = 0 ? (char *) 0 : (char const *) 0;
25916 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
25917 int x[] = {25, 17};
25918 const int *foo = &x[0];
25921 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
25922 typedef const int *iptr;
25926 { /* AIX XL C 1.02.0.0 rejects this saying
25927 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
25928 struct s { int j; const int *ap[3]; };
25929 struct s *b; b->j = 5;
25931 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
25932 const int foo = 10;
25933 if (!foo) return 0;
25935 return !cs[0] && !zero.x;
25942 rm -f conftest.$ac_objext
25943 if { (ac_try="$ac_compile"
25944 case "(($ac_try" in
25945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25949 $as_echo "$ac_try_echo") >&5
25950 (eval "$ac_compile") 2>conftest.er1
25952 grep -v '^
*+' conftest.er1 >conftest.err
25954 cat conftest.err >&5
25955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } && {
25957 test -z "$ac_c_werror_flag" ||
25958 test ! -s conftest.err
25959 } && test -s conftest.$ac_objext; then
25962 $as_echo "$as_me: failed program was:" >&5
25963 sed 's
/^
/|
/' conftest.$ac_ext >&5
25968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25970 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
25971 $as_echo "$ac_cv_c_const" >&6; }
25972 if test $ac_cv_c_const = no; then
25974 cat >>confdefs.h <<\_ACEOF
25980 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25981 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
25982 if test "${ac_cv_type_uid_t+set}" = set; then
25983 $as_echo_n "(cached) " >&6
25985 cat >conftest.$ac_ext <<_ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991 #include <sys/types.h>
25994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25995 $EGREP "uid_t" >/dev/null 2>&1; then
25996 ac_cv_type_uid_t=yes
25998 ac_cv_type_uid_t=no
26003 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26004 $as_echo "$ac_cv_type_uid_t" >&6; }
26005 if test $ac_cv_type_uid_t = no; then
26007 cat >>confdefs.h <<\_ACEOF
26012 cat >>confdefs.h <<\_ACEOF
26018 { $as_echo "$as_me:$LINENO: checking for inline" >&5
26019 $as_echo_n "checking for inline... " >&6; }
26020 if test "${ac_cv_c_inline+set}" = set; then
26021 $as_echo_n "(cached) " >&6
26024 for ac_kw in inline __inline__ __inline; do
26025 cat >conftest.$ac_ext <<_ACEOF
26028 cat confdefs.h >>conftest.$ac_ext
26029 cat >>conftest.$ac_ext <<_ACEOF
26030 /* end confdefs.h. */
26031 #ifndef __cplusplus
26033 static $ac_kw foo_t static_foo () {return 0; }
26034 $ac_kw foo_t foo () {return 0; }
26038 rm -f conftest.$ac_objext
26039 if { (ac_try="$ac_compile"
26040 case "(($ac_try" in
26041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26042 *) ac_try_echo=$ac_try;;
26044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26045 $as_echo "$ac_try_echo") >&5
26046 (eval "$ac_compile") 2>conftest.er1
26048 grep -v '^
*+' conftest.er1 >conftest.err
26050 cat conftest.err >&5
26051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); } && {
26053 test -z "$ac_c_werror_flag" ||
26054 test ! -s conftest.err
26055 } && test -s conftest.$ac_objext; then
26056 ac_cv_c_inline=$ac_kw
26058 $as_echo "$as_me: failed program was:" >&5
26059 sed 's
/^
/|
/' conftest.$ac_ext >&5
26064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26065 test "$ac_cv_c_inline" != no && break
26069 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
26070 $as_echo "$ac_cv_c_inline" >&6; }
26073 case $ac_cv_c_inline in
26076 case $ac_cv_c_inline in
26078 *) ac_val=$ac_cv_c_inline;;
26080 cat >>confdefs.h <<_ACEOF
26081 #ifndef __cplusplus
26082 #define inline $ac_val
26088 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
26089 $as_echo_n "checking for off_t... " >&6; }
26090 if test "${ac_cv_type_off_t+set}" = set; then
26091 $as_echo_n "(cached) " >&6
26093 ac_cv_type_off_t=no
26094 cat >conftest.$ac_ext <<_ACEOF
26097 cat confdefs.h >>conftest.$ac_ext
26098 cat >>conftest.$ac_ext <<_ACEOF
26099 /* end confdefs.h. */
26100 $ac_includes_default
26104 if (sizeof (off_t))
26110 rm -f conftest.$ac_objext
26111 if { (ac_try="$ac_compile"
26112 case "(($ac_try" in
26113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26114 *) ac_try_echo=$ac_try;;
26116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26117 $as_echo "$ac_try_echo") >&5
26118 (eval "$ac_compile") 2>conftest.er1
26120 grep -v '^
*+' conftest.er1 >conftest.err
26122 cat conftest.err >&5
26123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } && {
26125 test -z "$ac_c_werror_flag" ||
26126 test ! -s conftest.err
26127 } && test -s conftest.$ac_objext; then
26128 cat >conftest.$ac_ext <<_ACEOF
26131 cat confdefs.h >>conftest.$ac_ext
26132 cat >>conftest.$ac_ext <<_ACEOF
26133 /* end confdefs.h. */
26134 $ac_includes_default
26138 if (sizeof ((off_t)))
26144 rm -f conftest.$ac_objext
26145 if { (ac_try="$ac_compile"
26146 case "(($ac_try" in
26147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26148 *) ac_try_echo=$ac_try;;
26150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26151 $as_echo "$ac_try_echo") >&5
26152 (eval "$ac_compile") 2>conftest.er1
26154 grep -v '^
*+' conftest.er1 >conftest.err
26156 cat conftest.err >&5
26157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_c_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest.$ac_objext; then
26164 $as_echo "$as_me: failed program was:" >&5
26165 sed 's
/^
/|
/' conftest.$ac_ext >&5
26167 ac_cv_type_off_t=yes
26170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26172 $as_echo "$as_me: failed program was:" >&5
26173 sed 's
/^
/|
/' conftest.$ac_ext >&5
26178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26180 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26181 $as_echo "$ac_cv_type_off_t" >&6; }
26182 if test "x$ac_cv_type_off_t" = x""yes; then
26186 cat >>confdefs.h <<_ACEOF
26187 #define off_t long int
26192 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
26193 $as_echo_n "checking for pid_t... " >&6; }
26194 if test "${ac_cv_type_pid_t+set}" = set; then
26195 $as_echo_n "(cached) " >&6
26197 ac_cv_type_pid_t=no
26198 cat >conftest.$ac_ext <<_ACEOF
26201 cat confdefs.h >>conftest.$ac_ext
26202 cat >>conftest.$ac_ext <<_ACEOF
26203 /* end confdefs.h. */
26204 $ac_includes_default
26208 if (sizeof (pid_t))
26214 rm -f conftest.$ac_objext
26215 if { (ac_try="$ac_compile"
26216 case "(($ac_try" in
26217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26218 *) ac_try_echo=$ac_try;;
26220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26221 $as_echo "$ac_try_echo") >&5
26222 (eval "$ac_compile") 2>conftest.er1
26224 grep -v '^
*+' conftest.er1 >conftest.err
26226 cat conftest.err >&5
26227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } && {
26229 test -z "$ac_c_werror_flag" ||
26230 test ! -s conftest.err
26231 } && test -s conftest.$ac_objext; then
26232 cat >conftest.$ac_ext <<_ACEOF
26235 cat confdefs.h >>conftest.$ac_ext
26236 cat >>conftest.$ac_ext <<_ACEOF
26237 /* end confdefs.h. */
26238 $ac_includes_default
26242 if (sizeof ((pid_t)))
26248 rm -f conftest.$ac_objext
26249 if { (ac_try="$ac_compile"
26250 case "(($ac_try" in
26251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26252 *) ac_try_echo=$ac_try;;
26254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26255 $as_echo "$ac_try_echo") >&5
26256 (eval "$ac_compile") 2>conftest.er1
26258 grep -v '^
*+' conftest.er1 >conftest.err
26260 cat conftest.err >&5
26261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); } && {
26263 test -z "$ac_c_werror_flag" ||
26264 test ! -s conftest.err
26265 } && test -s conftest.$ac_objext; then
26268 $as_echo "$as_me: failed program was:" >&5
26269 sed 's
/^
/|
/' conftest.$ac_ext >&5
26271 ac_cv_type_pid_t=yes
26274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26276 $as_echo "$as_me: failed program was:" >&5
26277 sed 's
/^
/|
/' conftest.$ac_ext >&5
26282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26285 $as_echo "$ac_cv_type_pid_t" >&6; }
26286 if test "x$ac_cv_type_pid_t" = x""yes; then
26290 cat >>confdefs.h <<_ACEOF
26296 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
26297 $as_echo_n "checking for size_t... " >&6; }
26298 if test "${ac_cv_type_size_t+set}" = set; then
26299 $as_echo_n "(cached) " >&6
26301 ac_cv_type_size_t=no
26302 cat >conftest.$ac_ext <<_ACEOF
26305 cat confdefs.h >>conftest.$ac_ext
26306 cat >>conftest.$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26308 $ac_includes_default
26312 if (sizeof (size_t))
26318 rm -f conftest.$ac_objext
26319 if { (ac_try="$ac_compile"
26320 case "(($ac_try" in
26321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26322 *) ac_try_echo=$ac_try;;
26324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26325 $as_echo "$ac_try_echo") >&5
26326 (eval "$ac_compile") 2>conftest.er1
26328 grep -v '^
*+' conftest.er1 >conftest.err
26330 cat conftest.err >&5
26331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } && {
26333 test -z "$ac_c_werror_flag" ||
26334 test ! -s conftest.err
26335 } && test -s conftest.$ac_objext; then
26336 cat >conftest.$ac_ext <<_ACEOF
26339 cat confdefs.h >>conftest.$ac_ext
26340 cat >>conftest.$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26342 $ac_includes_default
26346 if (sizeof ((size_t)))
26352 rm -f conftest.$ac_objext
26353 if { (ac_try="$ac_compile"
26354 case "(($ac_try" in
26355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26356 *) ac_try_echo=$ac_try;;
26358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26359 $as_echo "$ac_try_echo") >&5
26360 (eval "$ac_compile") 2>conftest.er1
26362 grep -v '^
*+' conftest.er1 >conftest.err
26364 cat conftest.err >&5
26365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); } && {
26367 test -z "$ac_c_werror_flag" ||
26368 test ! -s conftest.err
26369 } && test -s conftest.$ac_objext; then
26372 $as_echo "$as_me: failed program was:" >&5
26373 sed 's
/^
/|
/' conftest.$ac_ext >&5
26375 ac_cv_type_size_t=yes
26378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26380 $as_echo "$as_me: failed program was:" >&5
26381 sed 's
/^
/|
/' conftest.$ac_ext >&5
26386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26388 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26389 $as_echo "$ac_cv_type_size_t" >&6; }
26390 if test "x$ac_cv_type_size_t" = x""yes; then
26394 cat >>confdefs.h <<_ACEOF
26395 #define size_t unsigned int
26400 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
26401 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
26402 if test "${ac_cv_header_time+set}" = set; then
26403 $as_echo_n "(cached) " >&6
26405 cat >conftest.$ac_ext <<_ACEOF
26408 cat confdefs.h >>conftest.$ac_ext
26409 cat >>conftest.$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26411 #include <sys/types.h>
26412 #include <sys/time.h>
26418 if ((struct tm *) 0)
26424 rm -f conftest.$ac_objext
26425 if { (ac_try="$ac_compile"
26426 case "(($ac_try" in
26427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26428 *) ac_try_echo=$ac_try;;
26430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26431 $as_echo "$ac_try_echo") >&5
26432 (eval "$ac_compile") 2>conftest.er1
26434 grep -v '^
*+' conftest.er1 >conftest.err
26436 cat conftest.err >&5
26437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); } && {
26439 test -z "$ac_c_werror_flag" ||
26440 test ! -s conftest.err
26441 } && test -s conftest.$ac_objext; then
26442 ac_cv_header_time=yes
26444 $as_echo "$as_me: failed program was:" >&5
26445 sed 's
/^
/|
/' conftest.$ac_ext >&5
26447 ac_cv_header_time=no
26450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26452 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
26453 $as_echo "$ac_cv_header_time" >&6; }
26454 if test $ac_cv_header_time = yes; then
26456 cat >>confdefs.h <<\_ACEOF
26457 #define TIME_WITH_SYS_TIME 1
26462 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
26463 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
26464 if test "${ac_cv_struct_tm+set}" = set; then
26465 $as_echo_n "(cached) " >&6
26467 cat >conftest.$ac_ext <<_ACEOF
26470 cat confdefs.h >>conftest.$ac_ext
26471 cat >>conftest.$ac_ext <<_ACEOF
26472 /* end confdefs.h. */
26473 #include <sys/types.h>
26480 int *p = &tm.tm_sec;
26486 rm -f conftest.$ac_objext
26487 if { (ac_try="$ac_compile"
26488 case "(($ac_try" in
26489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26490 *) ac_try_echo=$ac_try;;
26492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26493 $as_echo "$ac_try_echo") >&5
26494 (eval "$ac_compile") 2>conftest.er1
26496 grep -v '^
*+' conftest.er1 >conftest.err
26498 cat conftest.err >&5
26499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } && {
26501 test -z "$ac_c_werror_flag" ||
26502 test ! -s conftest.err
26503 } && test -s conftest.$ac_objext; then
26504 ac_cv_struct_tm=time.h
26506 $as_echo "$as_me: failed program was:" >&5
26507 sed 's
/^
/|
/' conftest.$ac_ext >&5
26509 ac_cv_struct_tm=sys/time.h
26512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26514 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
26515 $as_echo "$ac_cv_struct_tm" >&6; }
26516 if test $ac_cv_struct_tm = sys/time.h; then
26518 cat >>confdefs.h <<\_ACEOF
26519 #define TM_IN_SYS_TIME 1
26525 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
26526 # for constant arguments. Useless!
26527 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
26528 $as_echo_n "checking for working alloca.h... " >&6; }
26529 if test "${ac_cv_working_alloca_h+set}" = set; then
26530 $as_echo_n "(cached) " >&6
26532 cat >conftest.$ac_ext <<_ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 #include <alloca.h>
26542 char *p = (char *) alloca (2 * sizeof (int));
26548 rm -f conftest.$ac_objext conftest$ac_exeext
26549 if { (ac_try="$ac_link"
26550 case "(($ac_try" in
26551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26552 *) ac_try_echo=$ac_try;;
26554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26555 $as_echo "$ac_try_echo") >&5
26556 (eval "$ac_link") 2>conftest.er1
26558 grep -v '^
*+' conftest.er1 >conftest.err
26560 cat conftest.err >&5
26561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } && {
26563 test -z "$ac_c_werror_flag" ||
26564 test ! -s conftest.err
26565 } && test -s conftest$ac_exeext && {
26566 test "$cross_compiling" = yes ||
26567 $as_test_x conftest$ac_exeext
26569 ac_cv_working_alloca_h=yes
26571 $as_echo "$as_me: failed program was:" >&5
26572 sed 's
/^
/|
/' conftest.$ac_ext >&5
26574 ac_cv_working_alloca_h=no
26577 rm -rf conftest.dSYM
26578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26579 conftest$ac_exeext conftest.$ac_ext
26581 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
26582 $as_echo "$ac_cv_working_alloca_h" >&6; }
26583 if test $ac_cv_working_alloca_h = yes; then
26585 cat >>confdefs.h <<\_ACEOF
26586 #define HAVE_ALLOCA_H 1
26591 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
26592 $as_echo_n "checking for alloca... " >&6; }
26593 if test "${ac_cv_func_alloca_works+set}" = set; then
26594 $as_echo_n "(cached) " >&6
26596 cat >conftest.$ac_ext <<_ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26603 # define alloca __builtin_alloca
26606 # include <malloc.h>
26607 # define alloca _alloca
26609 # ifdef HAVE_ALLOCA_H
26610 # include <alloca.h>
26615 # ifndef alloca /* predefined by HP cc +Olibcalls */
26626 char *p = (char *) alloca (1);
26632 rm -f conftest.$ac_objext conftest$ac_exeext
26633 if { (ac_try="$ac_link"
26634 case "(($ac_try" in
26635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26636 *) ac_try_echo=$ac_try;;
26638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26639 $as_echo "$ac_try_echo") >&5
26640 (eval "$ac_link") 2>conftest.er1
26642 grep -v '^
*+' conftest.er1 >conftest.err
26644 cat conftest.err >&5
26645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } && {
26647 test -z "$ac_c_werror_flag" ||
26648 test ! -s conftest.err
26649 } && test -s conftest$ac_exeext && {
26650 test "$cross_compiling" = yes ||
26651 $as_test_x conftest$ac_exeext
26653 ac_cv_func_alloca_works=yes
26655 $as_echo "$as_me: failed program was:" >&5
26656 sed 's
/^
/|
/' conftest.$ac_ext >&5
26658 ac_cv_func_alloca_works=no
26661 rm -rf conftest.dSYM
26662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26663 conftest$ac_exeext conftest.$ac_ext
26665 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
26666 $as_echo "$ac_cv_func_alloca_works" >&6; }
26668 if test $ac_cv_func_alloca_works = yes; then
26670 cat >>confdefs.h <<\_ACEOF
26671 #define HAVE_ALLOCA 1
26675 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
26676 # that cause trouble. Some versions do not even contain alloca or
26677 # contain a buggy version. If you still want to use their alloca,
26678 # use ar to extract alloca.o from them instead of compiling alloca.c.
26680 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
26682 cat >>confdefs.h <<\_ACEOF
26687 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks
" >&5
26688 $as_echo_n "checking whether \
`alloca.c' needs Cray hooks... " >&6; }
26689 if test "${ac_cv_os_cray+set}" = set; then
26690 $as_echo_n "(cached) " >&6
26692 cat >conftest.$ac_ext <<_ACEOF
26695 cat confdefs.h >>conftest.$ac_ext
26696 cat >>conftest.$ac_ext <<_ACEOF
26697 /* end confdefs.h. */
26698 #if defined CRAY && ! defined CRAY2
26705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26706 $EGREP "webecray" >/dev/null 2>&1; then
26714 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
26715 $as_echo "$ac_cv_os_cray" >&6; }
26716 if test $ac_cv_os_cray = yes; then
26717 for ac_func in _getb67 GETB67 getb67; do
26718 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
26719 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26720 $as_echo_n "checking for $ac_func... " >&6; }
26721 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26722 $as_echo_n "(cached) " >&6
26724 cat >conftest.$ac_ext <<_ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26732 #define $ac_func innocuous_$ac_func
26734 /* System header to define __stub macros and hopefully few prototypes,
26735 which can conflict with char $ac_func (); below.
26736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26737 <limits.h> exists even on freestanding compilers. */
26740 # include <limits.h>
26742 # include <assert.h>
26747 /* Override any GCC internal prototype to avoid an error.
26748 Use char because int might match the return type of a GCC
26749 builtin and then its argument prototype would still apply. */
26754 /* The GNU C library defines this for functions which it implements
26755 to always fail with ENOSYS. Some functions are actually named
26756 something starting with __ and the normal name is an alias. */
26757 #if defined __stub_$ac_func || defined __stub___$ac_func
26764 return $ac_func ();
26769 rm -f conftest.$ac_objext conftest$ac_exeext
26770 if { (ac_try="$ac_link"
26771 case "(($ac_try" in
26772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26773 *) ac_try_echo
=$ac_try;;
26775 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26776 $as_echo "$ac_try_echo") >&5
26777 (eval "$ac_link") 2>conftest.er1
26779 grep -v '^ *+' conftest.er1
>conftest.err
26781 cat conftest.err
>&5
26782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } && {
26784 test -z "$ac_c_werror_flag" ||
26785 test ! -s conftest.err
26786 } && test -s conftest
$ac_exeext && {
26787 test "$cross_compiling" = yes ||
26788 $as_test_x conftest
$ac_exeext
26790 eval "$as_ac_var=yes"
26792 $as_echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.
$ac_ext >&5
26795 eval "$as_ac_var=no"
26798 rm -rf conftest.dSYM
26799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26800 conftest
$ac_exeext conftest.
$ac_ext
26802 ac_res
=`eval 'as_val=${'$as_ac_var'}
26803 $as_echo "$as_val"'`
26804 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26805 $as_echo "$ac_res" >&6; }
26806 as_val
=`eval 'as_val=${'$as_ac_var'}
26807 $as_echo "$as_val"'`
26808 if test "x$as_val" = x
""yes; then
26810 cat >>confdefs.h
<<_ACEOF
26811 #define CRAY_STACKSEG_END $ac_func
26820 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
26821 $as_echo_n "checking stack direction for C alloca... " >&6; }
26822 if test "${ac_cv_c_stack_direction+set}" = set; then
26823 $as_echo_n "(cached) " >&6
26825 if test "$cross_compiling" = yes; then
26826 ac_cv_c_stack_direction
=0
26828 cat >conftest.
$ac_ext <<_ACEOF
26831 cat confdefs.h
>>conftest.
$ac_ext
26832 cat >>conftest.
$ac_ext <<_ACEOF
26833 /* end confdefs.h. */
26834 $ac_includes_default
26836 find_stack_direction ()
26838 static char *addr = 0;
26843 return find_stack_direction ();
26846 return (&dummy > addr) ? 1 : -1;
26852 return find_stack_direction () < 0;
26855 rm -f conftest
$ac_exeext
26856 if { (ac_try
="$ac_link"
26857 case "(($ac_try" in
26858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26859 *) ac_try_echo=$ac_try;;
26861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26862 $as_echo "$ac_try_echo") >&5
26863 (eval "$ac_link") 2>&5
26865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26867 { (case "(($ac_try" in
26868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26869 *) ac_try_echo
=$ac_try;;
26871 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26872 $as_echo "$ac_try_echo") >&5
26873 (eval "$ac_try") 2>&5
26875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26877 ac_cv_c_stack_direction
=1
26879 $as_echo "$as_me: program exited with status $ac_status" >&5
26880 $as_echo "$as_me: failed program was:" >&5
26881 sed 's/^/| /' conftest.
$ac_ext >&5
26883 ( exit $ac_status )
26884 ac_cv_c_stack_direction
=-1
26886 rm -rf conftest.dSYM
26887 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26892 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
26893 $as_echo "$ac_cv_c_stack_direction" >&6; }
26895 cat >>confdefs.h
<<_ACEOF
26896 #define STACK_DIRECTION $ac_cv_c_stack_direction
26907 ac_header_dirent
=no
26908 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
26909 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
26910 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
26911 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
26912 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26913 $as_echo_n "(cached) " >&6
26915 cat >conftest.
$ac_ext <<_ACEOF
26918 cat confdefs.h
>>conftest.
$ac_ext
26919 cat >>conftest.
$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26921 #include <sys/types.h>
26933 rm -f conftest.
$ac_objext
26934 if { (ac_try
="$ac_compile"
26935 case "(($ac_try" in
26936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26937 *) ac_try_echo=$ac_try;;
26939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26940 $as_echo "$ac_try_echo") >&5
26941 (eval "$ac_compile") 2>conftest.er1
26943 grep -v '^ *+' conftest.er1 >conftest.err
26945 cat conftest.err >&5
26946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } && {
26948 test -z "$ac_c_werror_flag" ||
26949 test ! -s conftest.err
26950 } && test -s conftest.$ac_objext; then
26951 eval "$as_ac_Header=yes"
26953 $as_echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26956 eval "$as_ac_Header=no"
26959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26961 ac_res=`eval 'as_val=${'$as_ac_Header'}
26962 $as_echo "$as_val"'`
26963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26964 $as_echo "$ac_res" >&6; }
26965 as_val=`eval 'as_val=${'$as_ac_Header'}
26966 $as_echo "$as_val"'`
26967 if test "x$as_val" = x""yes; then
26968 cat >>confdefs.h <<_ACEOF
26969 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
26972 ac_header_dirent=$ac_hdr; break
26976 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
26977 if test $ac_header_dirent = dirent.h; then
26978 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
26979 $as_echo_n "checking for library containing opendir... " >&6; }
26980 if test "${ac_cv_search_opendir+set}" = set; then
26981 $as_echo_n "(cached) " >&6
26983 ac_func_search_save_LIBS=$LIBS
26984 cat >conftest.$ac_ext <<_ACEOF
26987 cat confdefs.h >>conftest.$ac_ext
26988 cat >>conftest.$ac_ext <<_ACEOF
26989 /* end confdefs.h. */
26991 /* Override any GCC internal prototype to avoid an error.
26992 Use char because int might match the return type of a GCC
26993 builtin and then its argument prototype would still apply. */
27006 for ac_lib in '' dir; do
27007 if test -z "$ac_lib"; then
27008 ac_res="none required"
27011 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27013 rm -f conftest.$ac_objext conftest$ac_exeext
27014 if { (ac_try="$ac_link"
27015 case "(($ac_try" in
27016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27017 *) ac_try_echo
=$ac_try;;
27019 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27020 $as_echo "$ac_try_echo") >&5
27021 (eval "$ac_link") 2>conftest.er1
27023 grep -v '^ *+' conftest.er1
>conftest.err
27025 cat conftest.err
>&5
27026 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } && {
27028 test -z "$ac_c_werror_flag" ||
27029 test ! -s conftest.err
27030 } && test -s conftest
$ac_exeext && {
27031 test "$cross_compiling" = yes ||
27032 $as_test_x conftest
$ac_exeext
27034 ac_cv_search_opendir
=$ac_res
27036 $as_echo "$as_me: failed program was:" >&5
27037 sed 's/^/| /' conftest.
$ac_ext >&5
27042 rm -rf conftest.dSYM
27043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27045 if test "${ac_cv_search_opendir+set}" = set; then
27049 if test "${ac_cv_search_opendir+set}" = set; then
27052 ac_cv_search_opendir
=no
27054 rm conftest.
$ac_ext
27055 LIBS
=$ac_func_search_save_LIBS
27057 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
27058 $as_echo "$ac_cv_search_opendir" >&6; }
27059 ac_res
=$ac_cv_search_opendir
27060 if test "$ac_res" != no
; then
27061 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27066 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
27067 $as_echo_n "checking for library containing opendir... " >&6; }
27068 if test "${ac_cv_search_opendir+set}" = set; then
27069 $as_echo_n "(cached) " >&6
27071 ac_func_search_save_LIBS
=$LIBS
27072 cat >conftest.
$ac_ext <<_ACEOF
27075 cat confdefs.h
>>conftest.
$ac_ext
27076 cat >>conftest.
$ac_ext <<_ACEOF
27077 /* end confdefs.h. */
27079 /* Override any GCC internal prototype to avoid an error.
27080 Use char because int might match the return type of a GCC
27081 builtin and then its argument prototype would still apply. */
27094 for ac_lib
in '' x
; do
27095 if test -z "$ac_lib"; then
27096 ac_res
="none required"
27099 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27101 rm -f conftest.
$ac_objext conftest
$ac_exeext
27102 if { (ac_try
="$ac_link"
27103 case "(($ac_try" in
27104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27105 *) ac_try_echo=$ac_try;;
27107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27108 $as_echo "$ac_try_echo") >&5
27109 (eval "$ac_link") 2>conftest.er1
27111 grep -v '^ *+' conftest.er1 >conftest.err
27113 cat conftest.err >&5
27114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } && {
27116 test -z "$ac_c_werror_flag" ||
27117 test ! -s conftest.err
27118 } && test -s conftest$ac_exeext && {
27119 test "$cross_compiling" = yes ||
27120 $as_test_x conftest$ac_exeext
27122 ac_cv_search_opendir=$ac_res
27124 $as_echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27130 rm -rf conftest.dSYM
27131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27133 if test "${ac_cv_search_opendir+set}" = set; then
27137 if test "${ac_cv_search_opendir+set}" = set; then
27140 ac_cv_search_opendir=no
27142 rm conftest.$ac_ext
27143 LIBS=$ac_func_search_save_LIBS
27145 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
27146 $as_echo "$ac_cv_search_opendir" >&6; }
27147 ac_res=$ac_cv_search_opendir
27148 if test "$ac_res" != no; then
27149 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27155 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
27156 $as_echo_n "checking whether closedir returns void... " >&6; }
27157 if test "${ac_cv_func_closedir_void+set}" = set; then
27158 $as_echo_n "(cached) " >&6
27160 if test "$cross_compiling" = yes; then
27161 ac_cv_func_closedir_void=yes
27163 cat >conftest.$ac_ext <<_ACEOF
27166 cat confdefs.h >>conftest.$ac_ext
27167 cat >>conftest.$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27169 $ac_includes_default
27170 #include <$ac_header_dirent>
27171 #ifndef __cplusplus
27178 return closedir (opendir (".")) != 0;
27183 rm -f conftest$ac_exeext
27184 if { (ac_try="$ac_link"
27185 case "(($ac_try" in
27186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27187 *) ac_try_echo
=$ac_try;;
27189 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27190 $as_echo "$ac_try_echo") >&5
27191 (eval "$ac_link") 2>&5
27193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27195 { (case "(($ac_try" in
27196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27197 *) ac_try_echo=$ac_try;;
27199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27200 $as_echo "$ac_try_echo") >&5
27201 (eval "$ac_try") 2>&5
27203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; }; then
27205 ac_cv_func_closedir_void=no
27207 $as_echo "$as_me: program exited with status $ac_status" >&5
27208 $as_echo "$as_me: failed program was:" >&5
27209 sed 's/^/| /' conftest.$ac_ext >&5
27211 ( exit $ac_status )
27212 ac_cv_func_closedir_void=yes
27214 rm -rf conftest.dSYM
27215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27220 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
27221 $as_echo "$ac_cv_func_closedir_void" >&6; }
27222 if test $ac_cv_func_closedir_void = yes; then
27224 cat >>confdefs.h <<\_ACEOF
27225 #define CLOSEDIR_VOID 1
27230 { $as_echo "$as_me:$LINENO: checking for error_at_line" >&5
27231 $as_echo_n "checking for error_at_line... " >&6; }
27232 if test "${ac_cv_lib_error_at_line+set}" = set; then
27233 $as_echo_n "(cached) " >&6
27235 cat >conftest.$ac_ext <<_ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27245 error_at_line (0, 0, "", 0, "an error occurred");
27250 rm -f conftest.$ac_objext conftest$ac_exeext
27251 if { (ac_try="$ac_link"
27252 case "(($ac_try" in
27253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27254 *) ac_try_echo
=$ac_try;;
27256 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27257 $as_echo "$ac_try_echo") >&5
27258 (eval "$ac_link") 2>conftest.er1
27260 grep -v '^ *+' conftest.er1
>conftest.err
27262 cat conftest.err
>&5
27263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_c_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest
$ac_exeext && {
27268 test "$cross_compiling" = yes ||
27269 $as_test_x conftest
$ac_exeext
27271 ac_cv_lib_error_at_line
=yes
27273 $as_echo "$as_me: failed program was:" >&5
27274 sed 's/^/| /' conftest.
$ac_ext >&5
27276 ac_cv_lib_error_at_line
=no
27279 rm -rf conftest.dSYM
27280 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27281 conftest
$ac_exeext conftest.
$ac_ext
27283 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
27284 $as_echo "$ac_cv_lib_error_at_line" >&6; }
27285 if test $ac_cv_lib_error_at_line = no
; then
27286 case " $LIBOBJS " in
27287 *" error.$ac_objext "* ) ;;
27288 *) LIBOBJS
="$LIBOBJS error.$ac_objext"
27295 for ac_header
in vfork.h
27297 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27298 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27299 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27300 $as_echo_n "checking for $ac_header... " >&6; }
27301 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27302 $as_echo_n "(cached) " >&6
27304 ac_res
=`eval 'as_val=${'$as_ac_Header'}
27305 $as_echo "$as_val"'`
27306 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27307 $as_echo "$ac_res" >&6; }
27309 # Is the header compilable?
27310 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27311 $as_echo_n "checking $ac_header usability... " >&6; }
27312 cat >conftest.
$ac_ext <<_ACEOF
27315 cat confdefs.h
>>conftest.
$ac_ext
27316 cat >>conftest.
$ac_ext <<_ACEOF
27317 /* end confdefs.h. */
27318 $ac_includes_default
27319 #include <$ac_header>
27321 rm -f conftest.
$ac_objext
27322 if { (ac_try
="$ac_compile"
27323 case "(($ac_try" in
27324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27325 *) ac_try_echo=$ac_try;;
27327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27328 $as_echo "$ac_try_echo") >&5
27329 (eval "$ac_compile") 2>conftest.er1
27331 grep -v '^ *+' conftest.er1 >conftest.err
27333 cat conftest.err >&5
27334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); } && {
27336 test -z "$ac_c_werror_flag" ||
27337 test ! -s conftest.err
27338 } && test -s conftest.$ac_objext; then
27339 ac_header_compiler=yes
27341 $as_echo "$as_me: failed program was:" >&5
27342 sed 's/^/| /' conftest.$ac_ext >&5
27344 ac_header_compiler=no
27347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27348 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27349 $as_echo "$ac_header_compiler" >&6; }
27351 # Is the header present?
27352 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27353 $as_echo_n "checking $ac_header presence... " >&6; }
27354 cat >conftest.$ac_ext <<_ACEOF
27357 cat confdefs.h >>conftest.$ac_ext
27358 cat >>conftest.$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360 #include <$ac_header>
27362 if { (ac_try="$ac_cpp conftest.$ac_ext"
27363 case "(($ac_try" in
27364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27365 *) ac_try_echo
=$ac_try;;
27367 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27368 $as_echo "$ac_try_echo") >&5
27369 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27371 grep -v '^ *+' conftest.er1
>conftest.err
27373 cat conftest.err
>&5
27374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } >/dev
/null
&& {
27376 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27377 test ! -s conftest.err
27379 ac_header_preproc
=yes
27381 $as_echo "$as_me: failed program was:" >&5
27382 sed 's/^/| /' conftest.
$ac_ext >&5
27384 ac_header_preproc
=no
27387 rm -f conftest.err conftest.
$ac_ext
27388 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27389 $as_echo "$ac_header_preproc" >&6; }
27391 # So? What about this header?
27392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27395 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27397 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27398 ac_header_preproc
=yes
27401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27402 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27404 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27406 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27407 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27408 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27409 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27410 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27412 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27414 ## ---------------------------------------- ##
27415 ## Report this to linux-nfs@vger.kernel.org ##
27416 ## ---------------------------------------- ##
27418 ) |
sed "s/^/$as_me: WARNING: /" >&2
27421 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27422 $as_echo_n "checking for $ac_header... " >&6; }
27423 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27424 $as_echo_n "(cached) " >&6
27426 eval "$as_ac_Header=\$ac_header_preproc"
27428 ac_res
=`eval 'as_val=${'$as_ac_Header'}
27429 $as_echo "$as_val"'`
27430 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27431 $as_echo "$ac_res" >&6; }
27434 as_val
=`eval 'as_val=${'$as_ac_Header'}
27435 $as_echo "$as_val"'`
27436 if test "x$as_val" = x
""yes; then
27437 cat >>confdefs.h
<<_ACEOF
27438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27447 for ac_func
in fork vfork
27449 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27450 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
27451 $as_echo_n "checking for $ac_func... " >&6; }
27452 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27453 $as_echo_n "(cached) " >&6
27455 cat >conftest.
$ac_ext <<_ACEOF
27458 cat confdefs.h
>>conftest.
$ac_ext
27459 cat >>conftest.
$ac_ext <<_ACEOF
27460 /* end confdefs.h. */
27461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27463 #define $ac_func innocuous_$ac_func
27465 /* System header to define __stub macros and hopefully few prototypes,
27466 which can conflict with char $ac_func (); below.
27467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27468 <limits.h> exists even on freestanding compilers. */
27471 # include <limits.h>
27473 # include <assert.h>
27478 /* Override any GCC internal prototype to avoid an error.
27479 Use char because int might match the return type of a GCC
27480 builtin and then its argument prototype would still apply. */
27485 /* The GNU C library defines this for functions which it implements
27486 to always fail with ENOSYS. Some functions are actually named
27487 something starting with __ and the normal name is an alias. */
27488 #if defined __stub_$ac_func || defined __stub___$ac_func
27495 return $ac_func ();
27500 rm -f conftest.
$ac_objext conftest
$ac_exeext
27501 if { (ac_try
="$ac_link"
27502 case "(($ac_try" in
27503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27504 *) ac_try_echo=$ac_try;;
27506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27507 $as_echo "$ac_try_echo") >&5
27508 (eval "$ac_link") 2>conftest.er1
27510 grep -v '^ *+' conftest.er1 >conftest.err
27512 cat conftest.err >&5
27513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } && {
27515 test -z "$ac_c_werror_flag" ||
27516 test ! -s conftest.err
27517 } && test -s conftest$ac_exeext && {
27518 test "$cross_compiling" = yes ||
27519 $as_test_x conftest$ac_exeext
27521 eval "$as_ac_var=yes"
27523 $as_echo "$as_me: failed program was:" >&5
27524 sed 's/^/| /' conftest.$ac_ext >&5
27526 eval "$as_ac_var=no"
27529 rm -rf conftest.dSYM
27530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27531 conftest$ac_exeext conftest.$ac_ext
27533 ac_res=`eval 'as_val=${'$as_ac_var'}
27534 $as_echo "$as_val"'`
27535 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27536 $as_echo "$ac_res" >&6; }
27537 as_val=`eval 'as_val=${'$as_ac_var'}
27538 $as_echo "$as_val"'`
27539 if test "x$as_val" = x""yes; then
27540 cat >>confdefs.h <<_ACEOF
27541 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
27547 if test "x$ac_cv_func_fork" = xyes; then
27548 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
27549 $as_echo_n "checking for working fork... " >&6; }
27550 if test "${ac_cv_func_fork_works+set}" = set; then
27551 $as_echo_n "(cached) " >&6
27553 if test "$cross_compiling" = yes; then
27554 ac_cv_func_fork_works=cross
27556 cat >conftest.$ac_ext <<_ACEOF
27559 cat confdefs.h >>conftest.$ac_ext
27560 cat >>conftest.$ac_ext <<_ACEOF
27561 /* end confdefs.h. */
27562 $ac_includes_default
27567 /* By Ruediger Kuhlmann. */
27568 return fork () < 0;
27574 rm -f conftest$ac_exeext
27575 if { (ac_try="$ac_link"
27576 case "(($ac_try" in
27577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27578 *) ac_try_echo
=$ac_try;;
27580 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27581 $as_echo "$ac_try_echo") >&5
27582 (eval "$ac_link") 2>&5
27584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27586 { (case "(($ac_try" in
27587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27588 *) ac_try_echo=$ac_try;;
27590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27591 $as_echo "$ac_try_echo") >&5
27592 (eval "$ac_try") 2>&5
27594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; }; then
27596 ac_cv_func_fork_works=yes
27598 $as_echo "$as_me: program exited with status $ac_status" >&5
27599 $as_echo "$as_me: failed program was:" >&5
27600 sed 's/^/| /' conftest.$ac_ext >&5
27602 ( exit $ac_status )
27603 ac_cv_func_fork_works=no
27605 rm -rf conftest.dSYM
27606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27611 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
27612 $as_echo "$ac_cv_func_fork_works" >&6; }
27615 ac_cv_func_fork_works=$ac_cv_func_fork
27617 if test "x$ac_cv_func_fork_works" = xcross; then
27619 *-*-amigaos* | *-*-msdosdjgpp*)
27620 # Override, as these systems have only a dummy fork() stub
27621 ac_cv_func_fork_works=no
27624 ac_cv_func_fork_works=yes
27627 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
27628 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
27630 ac_cv_func_vfork_works=$ac_cv_func_vfork
27631 if test "x$ac_cv_func_vfork" = xyes; then
27632 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
27633 $as_echo_n "checking for working vfork... " >&6; }
27634 if test "${ac_cv_func_vfork_works+set}" = set; then
27635 $as_echo_n "(cached) " >&6
27637 if test "$cross_compiling" = yes; then
27638 ac_cv_func_vfork_works=cross
27640 cat >conftest.$ac_ext <<_ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27646 /* Thanks to Paul Eggert for this test. */
27647 $ac_includes_default
27648 #include <sys/wait.h>
27649 #ifdef HAVE_VFORK_H
27650 # include <vfork.h>
27652 /* On some sparc systems, changes by the child to local and incoming
27653 argument registers are propagated back to the parent. The compiler
27654 is told about this with #include <vfork.h>, but some compilers
27655 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
27656 static variable whose address is put into a register that is
27657 clobbered by the vfork. */
27660 sparc_address_test (int arg)
27662 sparc_address_test (arg) int arg;
27665 static pid_t child;
27683 pid_t parent = getpid ();
27686 sparc_address_test (0);
27691 /* Here is another test for sparc vfork register problems. This
27692 test uses lots of local variables, at least as many local
27693 variables as main has allocated so far including compiler
27694 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
27695 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
27696 reuse the register of parent for one of the local variables,
27697 since it will think that parent can't possibly be used any more
27698 in this routine. Assigning to the local variable will thus
27699 munge parent in the parent process. */
27701 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
27702 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
27703 /* Convince the compiler that p..p7 are live; otherwise, it might
27704 use the same hardware register for all 8 local variables. */
27705 if (p != p1 || p != p2 || p != p3 || p != p4
27706 || p != p5 || p != p6 || p != p7)
27709 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
27710 from child file descriptors. If the child closes a descriptor
27711 before it execs or exits, this munges the parent's descriptor
27712 as well. Test for this by closing stdout in the child. */
27713 _exit(close(fileno(stdout)) != 0);
27718 while (wait(&status) != child)
27721 /* Was there some problem with vforking? */
27724 /* Did the child fail? (This shouldn't happen.) */
27727 /* Did the vfork/compiler bug occur? */
27728 || parent != getpid()
27730 /* Did the file descriptor bug occur? */
27731 || fstat(fileno(stdout), &st) != 0
27736 rm -f conftest$ac_exeext
27737 if { (ac_try="$ac_link"
27738 case "(($ac_try" in
27739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27740 *) ac_try_echo
=$ac_try;;
27742 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27743 $as_echo "$ac_try_echo") >&5
27744 (eval "$ac_link") 2>&5
27746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27748 { (case "(($ac_try" in
27749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27750 *) ac_try_echo=$ac_try;;
27752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27753 $as_echo "$ac_try_echo") >&5
27754 (eval "$ac_try") 2>&5
27756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); }; }; then
27758 ac_cv_func_vfork_works=yes
27760 $as_echo "$as_me: program exited with status $ac_status" >&5
27761 $as_echo "$as_me: failed program was:" >&5
27762 sed 's/^/| /' conftest.$ac_ext >&5
27764 ( exit $ac_status )
27765 ac_cv_func_vfork_works=no
27767 rm -rf conftest.dSYM
27768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27773 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
27774 $as_echo "$ac_cv_func_vfork_works" >&6; }
27777 if test "x$ac_cv_func_fork_works" = xcross; then
27778 ac_cv_func_vfork_works=$ac_cv_func_vfork
27779 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
27780 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
27783 if test "x$ac_cv_func_vfork_works" = xyes; then
27785 cat >>confdefs.h <<\_ACEOF
27786 #define HAVE_WORKING_VFORK 1
27791 cat >>confdefs.h <<\_ACEOF
27796 if test "x$ac_cv_func_fork_works" = xyes; then
27798 cat >>confdefs.h <<\_ACEOF
27799 #define HAVE_WORKING_FORK 1
27804 { $as_echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
27805 $as_echo_n "checking type of array argument to getgroups... " >&6; }
27806 if test "${ac_cv_type_getgroups+set}" = set; then
27807 $as_echo_n "(cached) " >&6
27809 if test "$cross_compiling" = yes; then
27810 ac_cv_type_getgroups=cross
27812 cat >conftest.$ac_ext <<_ACEOF
27815 cat confdefs.h >>conftest.$ac_ext
27816 cat >>conftest.$ac_ext <<_ACEOF
27817 /* end confdefs.h. */
27818 /* Thanks to Mike Rendell for this test. */
27819 $ac_includes_default
27822 #define MAX(x, y) ((x) > (y) ? (x) : (y))
27827 gid_t gidset[NGID];
27829 union { gid_t gval; long int lval; } val;
27832 for (i = 0; i < NGID; i++)
27833 gidset[i] = val.gval;
27834 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
27836 /* Exit non-zero if getgroups seems to require an array of ints. This
27837 happens when gid_t is short int but getgroups modifies an array
27839 return n > 0 && gidset[n] != val.gval;
27842 rm -f conftest$ac_exeext
27843 if { (ac_try="$ac_link"
27844 case "(($ac_try" in
27845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27846 *) ac_try_echo
=$ac_try;;
27848 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27849 $as_echo "$ac_try_echo") >&5
27850 (eval "$ac_link") 2>&5
27852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27854 { (case "(($ac_try" in
27855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27856 *) ac_try_echo=$ac_try;;
27858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27859 $as_echo "$ac_try_echo") >&5
27860 (eval "$ac_try") 2>&5
27862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27864 ac_cv_type_getgroups=gid_t
27866 $as_echo "$as_me: program exited with status $ac_status" >&5
27867 $as_echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.$ac_ext >&5
27870 ( exit $ac_status )
27871 ac_cv_type_getgroups=int
27873 rm -rf conftest.dSYM
27874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27878 if test $ac_cv_type_getgroups = cross; then
27879 cat >conftest.$ac_ext <<_ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885 #include <unistd.h>
27888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27889 $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
27890 ac_cv_type_getgroups=gid_t
27892 ac_cv_type_getgroups=int
27898 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
27899 $as_echo "$ac_cv_type_getgroups" >&6; }
27901 cat >>confdefs.h <<_ACEOF
27902 #define GETGROUPS_T $ac_cv_type_getgroups
27906 { $as_echo "$as_me:$LINENO: checking for getgroups" >&5
27907 $as_echo_n "checking for getgroups... " >&6; }
27908 if test "${ac_cv_func_getgroups+set}" = set; then
27909 $as_echo_n "(cached) " >&6
27911 cat >conftest.$ac_ext <<_ACEOF
27914 cat confdefs.h >>conftest.$ac_ext
27915 cat >>conftest.$ac_ext <<_ACEOF
27916 /* end confdefs.h. */
27917 /* Define getgroups to an innocuous variant, in case <limits.h> declares getgroups.
27918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27919 #define getgroups innocuous_getgroups
27921 /* System header to define __stub macros and hopefully few prototypes,
27922 which can conflict with char getgroups (); below.
27923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27924 <limits.h> exists even on freestanding compilers. */
27927 # include <limits.h>
27929 # include <assert.h>
27934 /* Override any GCC internal prototype to avoid an error.
27935 Use char because int might match the return type of a GCC
27936 builtin and then its argument prototype would still apply. */
27941 /* The GNU C library defines this for functions which it implements
27942 to always fail with ENOSYS. Some functions are actually named
27943 something starting with __ and the normal name is an alias. */
27944 #if defined __stub_getgroups || defined __stub___getgroups
27951 return getgroups ();
27956 rm -f conftest.$ac_objext conftest$ac_exeext
27957 if { (ac_try="$ac_link"
27958 case "(($ac_try" in
27959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27960 *) ac_try_echo
=$ac_try;;
27962 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27963 $as_echo "$ac_try_echo") >&5
27964 (eval "$ac_link") 2>conftest.er1
27966 grep -v '^ *+' conftest.er1
>conftest.err
27968 cat conftest.err
>&5
27969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); } && {
27971 test -z "$ac_c_werror_flag" ||
27972 test ! -s conftest.err
27973 } && test -s conftest
$ac_exeext && {
27974 test "$cross_compiling" = yes ||
27975 $as_test_x conftest
$ac_exeext
27977 ac_cv_func_getgroups
=yes
27979 $as_echo "$as_me: failed program was:" >&5
27980 sed 's/^/| /' conftest.
$ac_ext >&5
27982 ac_cv_func_getgroups
=no
27985 rm -rf conftest.dSYM
27986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27987 conftest
$ac_exeext conftest.
$ac_ext
27989 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5
27990 $as_echo "$ac_cv_func_getgroups" >&6; }
27993 # If we don't yet have getgroups, see if it's in -lbsd.
27994 # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
27996 if test $ac_cv_func_getgroups = no
; then
27997 { $as_echo "$as_me:$LINENO: checking for getgroups in -lbsd" >&5
27998 $as_echo_n "checking for getgroups in -lbsd... " >&6; }
27999 if test "${ac_cv_lib_bsd_getgroups+set}" = set; then
28000 $as_echo_n "(cached) " >&6
28002 ac_check_lib_save_LIBS
=$LIBS
28004 cat >conftest.
$ac_ext <<_ACEOF
28007 cat confdefs.h
>>conftest.
$ac_ext
28008 cat >>conftest.
$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28011 /* Override any GCC internal prototype to avoid an error.
28012 Use char because int might match the return type of a GCC
28013 builtin and then its argument prototype would still apply. */
28021 return getgroups ();
28026 rm -f conftest.
$ac_objext conftest
$ac_exeext
28027 if { (ac_try
="$ac_link"
28028 case "(($ac_try" in
28029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28033 $as_echo "$ac_try_echo") >&5
28034 (eval "$ac_link") 2>conftest.er1
28036 grep -v '^ *+' conftest.er1 >conftest.err
28038 cat conftest.err >&5
28039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); } && {
28041 test -z "$ac_c_werror_flag" ||
28042 test ! -s conftest.err
28043 } && test -s conftest$ac_exeext && {
28044 test "$cross_compiling" = yes ||
28045 $as_test_x conftest$ac_exeext
28047 ac_cv_lib_bsd_getgroups=yes
28049 $as_echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.$ac_ext >&5
28052 ac_cv_lib_bsd_getgroups=no
28055 rm -rf conftest.dSYM
28056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28057 conftest$ac_exeext conftest.$ac_ext
28058 LIBS=$ac_check_lib_save_LIBS
28060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_getgroups" >&5
28061 $as_echo "$ac_cv_lib_bsd_getgroups" >&6; }
28062 if test "x$ac_cv_lib_bsd_getgroups" = x""yes; then
28063 GETGROUPS_LIB=-lbsd
28068 # Run the program to test the functionality of the system-supplied
28069 # getgroups function only if there is such a function.
28070 if test $ac_cv_func_getgroups = yes; then
28071 { $as_echo "$as_me:$LINENO: checking for working getgroups" >&5
28072 $as_echo_n "checking for working getgroups... " >&6; }
28073 if test "${ac_cv_func_getgroups_works+set}" = set; then
28074 $as_echo_n "(cached) " >&6
28076 if test "$cross_compiling" = yes; then
28077 ac_cv_func_getgroups_works=no
28079 cat >conftest.$ac_ext <<_ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28085 $ac_includes_default
28089 /* On Ultrix 4.3, getgroups (0, 0) always fails. */
28090 return getgroups (0, 0) == -1;
28095 rm -f conftest$ac_exeext
28096 if { (ac_try="$ac_link"
28097 case "(($ac_try" in
28098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28099 *) ac_try_echo
=$ac_try;;
28101 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28102 $as_echo "$ac_try_echo") >&5
28103 (eval "$ac_link") 2>&5
28105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28107 { (case "(($ac_try" in
28108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28109 *) ac_try_echo=$ac_try;;
28111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28112 $as_echo "$ac_try_echo") >&5
28113 (eval "$ac_try") 2>&5
28115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); }; }; then
28117 ac_cv_func_getgroups_works=yes
28119 $as_echo "$as_me: program exited with status $ac_status" >&5
28120 $as_echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.$ac_ext >&5
28123 ( exit $ac_status )
28124 ac_cv_func_getgroups_works=no
28126 rm -rf conftest.dSYM
28127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28133 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getgroups_works" >&5
28134 $as_echo "$ac_cv_func_getgroups_works" >&6; }
28135 if test $ac_cv_func_getgroups_works = yes; then
28137 cat >>confdefs.h <<\_ACEOF
28138 #define HAVE_GETGROUPS 1
28145 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
28146 # -lseq on Dynix/PTX, -lgen on Unixware.
28147 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
28148 $as_echo_n "checking for library containing getmntent... " >&6; }
28149 if test "${ac_cv_search_getmntent+set}" = set; then
28150 $as_echo_n "(cached) " >&6
28152 ac_func_search_save_LIBS=$LIBS
28153 cat >conftest.$ac_ext <<_ACEOF
28156 cat confdefs.h >>conftest.$ac_ext
28157 cat >>conftest.$ac_ext <<_ACEOF
28158 /* end confdefs.h. */
28160 /* Override any GCC internal prototype to avoid an error.
28161 Use char because int might match the return type of a GCC
28162 builtin and then its argument prototype would still apply. */
28170 return getmntent ();
28175 for ac_lib in '' sun seq gen; do
28176 if test -z "$ac_lib"; then
28177 ac_res="none required"
28180 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28182 rm -f conftest.$ac_objext conftest$ac_exeext
28183 if { (ac_try="$ac_link"
28184 case "(($ac_try" in
28185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28186 *) ac_try_echo
=$ac_try;;
28188 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28189 $as_echo "$ac_try_echo") >&5
28190 (eval "$ac_link") 2>conftest.er1
28192 grep -v '^ *+' conftest.er1
>conftest.err
28194 cat conftest.err
>&5
28195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && {
28197 test -z "$ac_c_werror_flag" ||
28198 test ! -s conftest.err
28199 } && test -s conftest
$ac_exeext && {
28200 test "$cross_compiling" = yes ||
28201 $as_test_x conftest
$ac_exeext
28203 ac_cv_search_getmntent
=$ac_res
28205 $as_echo "$as_me: failed program was:" >&5
28206 sed 's/^/| /' conftest.
$ac_ext >&5
28211 rm -rf conftest.dSYM
28212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28214 if test "${ac_cv_search_getmntent+set}" = set; then
28218 if test "${ac_cv_search_getmntent+set}" = set; then
28221 ac_cv_search_getmntent
=no
28223 rm conftest.
$ac_ext
28224 LIBS
=$ac_func_search_save_LIBS
28226 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
28227 $as_echo "$ac_cv_search_getmntent" >&6; }
28228 ac_res
=$ac_cv_search_getmntent
28229 if test "$ac_res" != no
; then
28230 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28231 ac_cv_func_getmntent
=yes
28233 cat >>confdefs.h
<<\_ACEOF
28234 #define HAVE_GETMNTENT 1
28238 ac_cv_func_getmntent
=no
28242 if test $ac_cv_c_compiler_gnu = yes; then
28243 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
28244 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
28245 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
28246 $as_echo_n "(cached) " >&6
28248 ac_pattern
="Autoconf.*'x'"
28249 cat >conftest.
$ac_ext <<_ACEOF
28252 cat confdefs.h
>>conftest.
$ac_ext
28253 cat >>conftest.
$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28259 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
28260 ac_cv_prog_gcc_traditional
=yes
28262 ac_cv_prog_gcc_traditional
=no
28267 if test $ac_cv_prog_gcc_traditional = no
; then
28268 cat >conftest.
$ac_ext <<_ACEOF
28271 cat confdefs.h
>>conftest.
$ac_ext
28272 cat >>conftest.
$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274 #include <termio.h>
28277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28278 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
28279 ac_cv_prog_gcc_traditional
=yes
28285 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
28286 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
28287 if test $ac_cv_prog_gcc_traditional = yes; then
28288 CC
="$CC -traditional"
28292 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
28293 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
28294 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
28295 $as_echo_n "(cached) " >&6
28297 rm -f conftest.sym conftest.
file
28298 echo >conftest.
file
28299 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
28300 if test "$cross_compiling" = yes; then
28301 ac_cv_func_lstat_dereferences_slashed_symlink
=no
28303 cat >conftest.
$ac_ext <<_ACEOF
28306 cat confdefs.h
>>conftest.
$ac_ext
28307 cat >>conftest.
$ac_ext <<_ACEOF
28308 /* end confdefs.h. */
28309 $ac_includes_default
28314 /* Linux will dereference the symlink and fail.
28315 That is better in the sense that it means we will not
28316 have to compile and use the lstat wrapper. */
28317 return lstat ("conftest.sym/", &sbuf) == 0;
28322 rm -f conftest
$ac_exeext
28323 if { (ac_try
="$ac_link"
28324 case "(($ac_try" in
28325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28326 *) ac_try_echo=$ac_try;;
28328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28329 $as_echo "$ac_try_echo") >&5
28330 (eval "$ac_link") 2>&5
28332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28334 { (case "(($ac_try" in
28335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28336 *) ac_try_echo
=$ac_try;;
28338 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28339 $as_echo "$ac_try_echo") >&5
28340 (eval "$ac_try") 2>&5
28342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); }; }; then
28344 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
28346 $as_echo "$as_me: program exited with status $ac_status" >&5
28347 $as_echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.
$ac_ext >&5
28350 ( exit $ac_status )
28351 ac_cv_func_lstat_dereferences_slashed_symlink
=no
28353 rm -rf conftest.dSYM
28354 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28359 # If the `ln -s' command failed, then we probably don't even
28360 # have an lstat function.
28361 ac_cv_func_lstat_dereferences_slashed_symlink
=no
28363 rm -f conftest.sym conftest.
file
28366 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
28367 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
28369 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
28371 cat >>confdefs.h
<<_ACEOF
28372 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
28376 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
28377 case " $LIBOBJS " in
28378 *" lstat.$ac_objext "* ) ;;
28379 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
28385 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
28386 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
28387 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
28388 $as_echo_n "(cached) " >&6
28390 if test "$cross_compiling" = yes; then
28391 ac_cv_func_lstat_empty_string_bug
=yes
28393 cat >conftest.
$ac_ext <<_ACEOF
28396 cat confdefs.h
>>conftest.
$ac_ext
28397 cat >>conftest.
$ac_ext <<_ACEOF
28398 /* end confdefs.h. */
28399 $ac_includes_default
28404 return lstat ("", &sbuf) == 0;
28409 rm -f conftest
$ac_exeext
28410 if { (ac_try
="$ac_link"
28411 case "(($ac_try" in
28412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28413 *) ac_try_echo=$ac_try;;
28415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28416 $as_echo "$ac_try_echo") >&5
28417 (eval "$ac_link") 2>&5
28419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28421 { (case "(($ac_try" in
28422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28423 *) ac_try_echo
=$ac_try;;
28425 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28426 $as_echo "$ac_try_echo") >&5
28427 (eval "$ac_try") 2>&5
28429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; }; then
28431 ac_cv_func_lstat_empty_string_bug
=no
28433 $as_echo "$as_me: program exited with status $ac_status" >&5
28434 $as_echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.
$ac_ext >&5
28437 ( exit $ac_status )
28438 ac_cv_func_lstat_empty_string_bug
=yes
28440 rm -rf conftest.dSYM
28441 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28446 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
28447 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
28448 if test $ac_cv_func_lstat_empty_string_bug = yes; then
28449 case " $LIBOBJS " in
28450 *" lstat.$ac_objext "* ) ;;
28451 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
28456 cat >>confdefs.h
<<_ACEOF
28457 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
28462 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
28463 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
28464 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
28465 $as_echo_n "(cached) " >&6
28467 rm -f conftest.sym conftest.
file
28468 echo >conftest.
file
28469 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
28470 if test "$cross_compiling" = yes; then
28471 ac_cv_func_lstat_dereferences_slashed_symlink
=no
28473 cat >conftest.
$ac_ext <<_ACEOF
28476 cat confdefs.h
>>conftest.
$ac_ext
28477 cat >>conftest.
$ac_ext <<_ACEOF
28478 /* end confdefs.h. */
28479 $ac_includes_default
28484 /* Linux will dereference the symlink and fail.
28485 That is better in the sense that it means we will not
28486 have to compile and use the lstat wrapper. */
28487 return lstat ("conftest.sym/", &sbuf) == 0;
28492 rm -f conftest
$ac_exeext
28493 if { (ac_try
="$ac_link"
28494 case "(($ac_try" in
28495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28496 *) ac_try_echo=$ac_try;;
28498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28499 $as_echo "$ac_try_echo") >&5
28500 (eval "$ac_link") 2>&5
28502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28504 { (case "(($ac_try" in
28505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28506 *) ac_try_echo
=$ac_try;;
28508 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28509 $as_echo "$ac_try_echo") >&5
28510 (eval "$ac_try") 2>&5
28512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); }; }; then
28514 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
28516 $as_echo "$as_me: program exited with status $ac_status" >&5
28517 $as_echo "$as_me: failed program was:" >&5
28518 sed 's/^/| /' conftest.
$ac_ext >&5
28520 ( exit $ac_status )
28521 ac_cv_func_lstat_dereferences_slashed_symlink
=no
28523 rm -rf conftest.dSYM
28524 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28529 # If the `ln -s' command failed, then we probably don't even
28530 # have an lstat function.
28531 ac_cv_func_lstat_dereferences_slashed_symlink
=no
28533 rm -f conftest.sym conftest.
file
28536 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
28537 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
28539 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
28541 cat >>confdefs.h
<<_ACEOF
28542 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
28546 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
28547 case " $LIBOBJS " in
28548 *" lstat.$ac_objext "* ) ;;
28549 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
28555 { $as_echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
28556 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
28557 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
28558 $as_echo_n "(cached) " >&6
28560 cat >conftest.
$ac_ext <<_ACEOF
28563 cat confdefs.h
>>conftest.
$ac_ext
28564 cat >>conftest.
$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28566 #include <sys/types.h>
28570 return makedev(0, 0);
28575 rm -f conftest.
$ac_objext conftest
$ac_exeext
28576 if { (ac_try
="$ac_link"
28577 case "(($ac_try" in
28578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28579 *) ac_try_echo=$ac_try;;
28581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28582 $as_echo "$ac_try_echo") >&5
28583 (eval "$ac_link") 2>conftest.er1
28585 grep -v '^ *+' conftest.er1 >conftest.err
28587 cat conftest.err >&5
28588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } && {
28590 test -z "$ac_c_werror_flag" ||
28591 test ! -s conftest.err
28592 } && test -s conftest$ac_exeext && {
28593 test "$cross_compiling" = yes ||
28594 $as_test_x conftest$ac_exeext
28596 ac_cv_header_sys_types_h_makedev=yes
28598 $as_echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.$ac_ext >&5
28601 ac_cv_header_sys_types_h_makedev=no
28604 rm -rf conftest.dSYM
28605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28606 conftest$ac_exeext conftest.$ac_ext
28609 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
28610 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
28612 if test $ac_cv_header_sys_types_h_makedev = no; then
28613 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
28614 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
28615 $as_echo_n "checking for sys/mkdev.h... " >&6; }
28616 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
28617 $as_echo_n "(cached) " >&6
28619 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
28620 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
28622 # Is the header compilable?
28623 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
28624 $as_echo_n "checking sys/mkdev.h usability... " >&6; }
28625 cat >conftest.$ac_ext <<_ACEOF
28628 cat confdefs.h >>conftest.$ac_ext
28629 cat >>conftest.$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 $ac_includes_default
28632 #include <sys/mkdev.h>
28634 rm -f conftest.$ac_objext
28635 if { (ac_try="$ac_compile"
28636 case "(($ac_try" in
28637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28638 *) ac_try_echo
=$ac_try;;
28640 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28641 $as_echo "$ac_try_echo") >&5
28642 (eval "$ac_compile") 2>conftest.er1
28644 grep -v '^ *+' conftest.er1
>conftest.err
28646 cat conftest.err
>&5
28647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); } && {
28649 test -z "$ac_c_werror_flag" ||
28650 test ! -s conftest.err
28651 } && test -s conftest.
$ac_objext; then
28652 ac_header_compiler
=yes
28654 $as_echo "$as_me: failed program was:" >&5
28655 sed 's/^/| /' conftest.
$ac_ext >&5
28657 ac_header_compiler
=no
28660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28661 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28662 $as_echo "$ac_header_compiler" >&6; }
28664 # Is the header present?
28665 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
28666 $as_echo_n "checking sys/mkdev.h presence... " >&6; }
28667 cat >conftest.
$ac_ext <<_ACEOF
28670 cat confdefs.h
>>conftest.
$ac_ext
28671 cat >>conftest.
$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673 #include <sys/mkdev.h>
28675 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28676 case "(($ac_try" in
28677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28678 *) ac_try_echo=$ac_try;;
28680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28681 $as_echo "$ac_try_echo") >&5
28682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28684 grep -v '^ *+' conftest.er1 >conftest.err
28686 cat conftest.err >&5
28687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); } >/dev/null && {
28689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28690 test ! -s conftest.err
28692 ac_header_preproc=yes
28694 $as_echo "$as_me: failed program was:" >&5
28695 sed 's/^/| /' conftest.$ac_ext >&5
28697 ac_header_preproc=no
28700 rm -f conftest.err conftest.$ac_ext
28701 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28702 $as_echo "$ac_header_preproc" >&6; }
28704 # So? What about this header?
28705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28707 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
28708 $as_echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28709 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
28710 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
28711 ac_header_preproc=yes
28714 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
28715 $as_echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
28716 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
28717 $as_echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
28718 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
28719 $as_echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
28720 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5
28721 $as_echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
28722 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
28723 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
28724 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
28725 $as_echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
28727 ## ---------------------------------------- ##
28728 ## Report this to linux-nfs@vger.kernel.org ##
28729 ## ---------------------------------------- ##
28731 ) | sed "s/^/$as_me: WARNING: /" >&2
28734 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
28735 $as_echo_n "checking for sys/mkdev.h... " >&6; }
28736 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
28737 $as_echo_n "(cached) " >&6
28739 ac_cv_header_sys_mkdev_h=$ac_header_preproc
28741 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
28742 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
28745 if test "x$ac_cv_header_sys_mkdev_h" = x""yes; then
28747 cat >>confdefs.h <<\_ACEOF
28748 #define MAJOR_IN_MKDEV 1
28755 if test $ac_cv_header_sys_mkdev_h = no; then
28756 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
28757 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
28758 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
28759 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
28760 $as_echo_n "(cached) " >&6
28762 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
28763 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
28765 # Is the header compilable?
28766 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
28767 $as_echo_n "checking sys/sysmacros.h usability... " >&6; }
28768 cat >conftest.$ac_ext <<_ACEOF
28771 cat confdefs.h >>conftest.$ac_ext
28772 cat >>conftest.$ac_ext <<_ACEOF
28773 /* end confdefs.h. */
28774 $ac_includes_default
28775 #include <sys/sysmacros.h>
28777 rm -f conftest.$ac_objext
28778 if { (ac_try="$ac_compile"
28779 case "(($ac_try" in
28780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28781 *) ac_try_echo
=$ac_try;;
28783 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28784 $as_echo "$ac_try_echo") >&5
28785 (eval "$ac_compile") 2>conftest.er1
28787 grep -v '^ *+' conftest.er1
>conftest.err
28789 cat conftest.err
>&5
28790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } && {
28792 test -z "$ac_c_werror_flag" ||
28793 test ! -s conftest.err
28794 } && test -s conftest.
$ac_objext; then
28795 ac_header_compiler
=yes
28797 $as_echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.
$ac_ext >&5
28800 ac_header_compiler
=no
28803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28804 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28805 $as_echo "$ac_header_compiler" >&6; }
28807 # Is the header present?
28808 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
28809 $as_echo_n "checking sys/sysmacros.h presence... " >&6; }
28810 cat >conftest.
$ac_ext <<_ACEOF
28813 cat confdefs.h
>>conftest.
$ac_ext
28814 cat >>conftest.
$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28816 #include <sys/sysmacros.h>
28818 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28819 case "(($ac_try" in
28820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28821 *) ac_try_echo=$ac_try;;
28823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28824 $as_echo "$ac_try_echo") >&5
28825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28827 grep -v '^ *+' conftest.er1 >conftest.err
28829 cat conftest.err >&5
28830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); } >/dev/null && {
28832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28833 test ! -s conftest.err
28835 ac_header_preproc=yes
28837 $as_echo "$as_me: failed program was:" >&5
28838 sed 's/^/| /' conftest.$ac_ext >&5
28840 ac_header_preproc=no
28843 rm -f conftest.err conftest.$ac_ext
28844 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28845 $as_echo "$ac_header_preproc" >&6; }
28847 # So? What about this header?
28848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28850 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
28851 $as_echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28852 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
28853 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
28854 ac_header_preproc=yes
28857 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
28858 $as_echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
28859 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
28860 $as_echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
28861 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
28862 $as_echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
28863 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5
28864 $as_echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;}
28865 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
28866 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
28867 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
28868 $as_echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
28870 ## ---------------------------------------- ##
28871 ## Report this to linux-nfs@vger.kernel.org ##
28872 ## ---------------------------------------- ##
28874 ) | sed "s/^/$as_me: WARNING: /" >&2
28877 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
28878 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
28879 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
28880 $as_echo_n "(cached) " >&6
28882 ac_cv_header_sys_sysmacros_h=$ac_header_preproc
28884 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
28885 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
28888 if test "x$ac_cv_header_sys_sysmacros_h" = x""yes; then
28890 cat >>confdefs.h <<\_ACEOF
28891 #define MAJOR_IN_SYSMACROS 1
28901 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
28902 $as_echo_n "checking for working memcmp... " >&6; }
28903 if test "${ac_cv_func_memcmp_working+set}" = set; then
28904 $as_echo_n "(cached) " >&6
28906 if test "$cross_compiling" = yes; then
28907 ac_cv_func_memcmp_working=no
28909 cat >conftest.$ac_ext <<_ACEOF
28912 cat confdefs.h >>conftest.$ac_ext
28913 cat >>conftest.$ac_ext <<_ACEOF
28914 /* end confdefs.h. */
28915 $ac_includes_default
28920 /* Some versions of memcmp are not 8-bit clean. */
28921 char c0 = '\100', c1 = '\200', c2 = '\201';
28922 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
28925 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
28926 or more and with at least one buffer not starting on a 4-byte boundary.
28927 William Lewis provided this test program. */
28932 for (i = 0; i < 4; i++)
28936 strcpy (a, "--------01111111");
28937 strcpy (b, "--------10000000");
28938 if (memcmp (a, b, 16) >= 0)
28948 rm -f conftest$ac_exeext
28949 if { (ac_try="$ac_link"
28950 case "(($ac_try" in
28951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28952 *) ac_try_echo
=$ac_try;;
28954 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28955 $as_echo "$ac_try_echo") >&5
28956 (eval "$ac_link") 2>&5
28958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28960 { (case "(($ac_try" in
28961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28962 *) ac_try_echo=$ac_try;;
28964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28965 $as_echo "$ac_try_echo") >&5
28966 (eval "$ac_try") 2>&5
28968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; }; then
28970 ac_cv_func_memcmp_working=yes
28972 $as_echo "$as_me: program exited with status $ac_status" >&5
28973 $as_echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28976 ( exit $ac_status )
28977 ac_cv_func_memcmp_working=no
28979 rm -rf conftest.dSYM
28980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28985 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
28986 $as_echo "$ac_cv_func_memcmp_working" >&6; }
28987 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
28988 *" memcmp.$ac_objext "* ) ;;
28989 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
28997 for ac_header in sys/select.h sys/socket.h
28999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29000 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29001 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29002 $as_echo_n "checking for $ac_header... " >&6; }
29003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29004 $as_echo_n "(cached) " >&6
29006 ac_res=`eval 'as_val=${'$as_ac_Header'}
29007 $as_echo "$as_val"'`
29008 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29009 $as_echo "$ac_res" >&6; }
29011 # Is the header compilable?
29012 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
29013 $as_echo_n "checking $ac_header usability... " >&6; }
29014 cat >conftest.$ac_ext <<_ACEOF
29017 cat confdefs.h >>conftest.$ac_ext
29018 cat >>conftest.$ac_ext <<_ACEOF
29019 /* end confdefs.h. */
29020 $ac_includes_default
29021 #include <$ac_header>
29023 rm -f conftest.$ac_objext
29024 if { (ac_try="$ac_compile"
29025 case "(($ac_try" in
29026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29027 *) ac_try_echo
=$ac_try;;
29029 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29030 $as_echo "$ac_try_echo") >&5
29031 (eval "$ac_compile") 2>conftest.er1
29033 grep -v '^ *+' conftest.er1
>conftest.err
29035 cat conftest.err
>&5
29036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest.
$ac_objext; then
29041 ac_header_compiler
=yes
29043 $as_echo "$as_me: failed program was:" >&5
29044 sed 's/^/| /' conftest.
$ac_ext >&5
29046 ac_header_compiler
=no
29049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29050 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29051 $as_echo "$ac_header_compiler" >&6; }
29053 # Is the header present?
29054 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
29055 $as_echo_n "checking $ac_header presence... " >&6; }
29056 cat >conftest.
$ac_ext <<_ACEOF
29059 cat confdefs.h
>>conftest.
$ac_ext
29060 cat >>conftest.
$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062 #include <$ac_header>
29064 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29065 case "(($ac_try" in
29066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29067 *) ac_try_echo=$ac_try;;
29069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29070 $as_echo "$ac_try_echo") >&5
29071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29073 grep -v '^ *+' conftest.er1 >conftest.err
29075 cat conftest.err >&5
29076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); } >/dev/null && {
29078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29079 test ! -s conftest.err
29081 ac_header_preproc=yes
29083 $as_echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29086 ac_header_preproc=no
29089 rm -f conftest.err conftest.$ac_ext
29090 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29091 $as_echo "$ac_header_preproc" >&6; }
29093 # So? What about this header?
29094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29097 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29099 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29100 ac_header_preproc=yes
29103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29104 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29106 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29108 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29110 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29112 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29114 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29116 ## ---------------------------------------- ##
29117 ## Report this to linux-nfs@vger.kernel.org ##
29118 ## ---------------------------------------- ##
29120 ) | sed "s/^/$as_me: WARNING: /" >&2
29123 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
29124 $as_echo_n "checking for $ac_header... " >&6; }
29125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29126 $as_echo_n "(cached) " >&6
29128 eval "$as_ac_Header=\$ac_header_preproc"
29130 ac_res=`eval 'as_val=${'$as_ac_Header'}
29131 $as_echo "$as_val"'`
29132 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29133 $as_echo "$ac_res" >&6; }
29136 as_val=`eval 'as_val=${'$as_ac_Header'}
29137 $as_echo "$as_val"'`
29138 if test "x$as_val" = x""yes; then
29139 cat >>confdefs.h <<_ACEOF
29140 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29147 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
29148 $as_echo_n "checking types of arguments for select... " >&6; }
29149 if test "${ac_cv_func_select_args+set}" = set; then
29150 $as_echo_n "(cached) " >&6
29152 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
29153 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
29154 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
29155 cat >conftest.$ac_ext <<_ACEOF
29158 cat confdefs.h >>conftest.$ac_ext
29159 cat >>conftest.$ac_ext <<_ACEOF
29160 /* end confdefs.h. */
29161 $ac_includes_default
29162 #ifdef HAVE_SYS_SELECT_H
29163 # include <sys/select.h>
29165 #ifdef HAVE_SYS_SOCKET_H
29166 # include <sys/socket.h>
29172 extern int select ($ac_arg1,
29173 $ac_arg234, $ac_arg234, $ac_arg234,
29179 rm -f conftest.$ac_objext
29180 if { (ac_try="$ac_compile"
29181 case "(($ac_try" in
29182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29183 *) ac_try_echo
=$ac_try;;
29185 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29186 $as_echo "$ac_try_echo") >&5
29187 (eval "$ac_compile") 2>conftest.er1
29189 grep -v '^ *+' conftest.er1
>conftest.err
29191 cat conftest.err
>&5
29192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } && {
29194 test -z "$ac_c_werror_flag" ||
29195 test ! -s conftest.err
29196 } && test -s conftest.
$ac_objext; then
29197 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
29199 $as_echo "$as_me: failed program was:" >&5
29200 sed 's/^/| /' conftest.
$ac_ext >&5
29205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29209 # Provide a safe default value.
29210 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
29213 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
29214 $as_echo "$ac_cv_func_select_args" >&6; }
29215 ac_save_IFS
=$IFS; IFS
=','
29216 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
29220 cat >>confdefs.h
<<_ACEOF
29221 #define SELECT_TYPE_ARG1 $1
29225 cat >>confdefs.h
<<_ACEOF
29226 #define SELECT_TYPE_ARG234 ($2)
29230 cat >>confdefs.h
<<_ACEOF
29231 #define SELECT_TYPE_ARG5 ($3)
29236 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
29237 $as_echo_n "checking return type of signal handlers... " >&6; }
29238 if test "${ac_cv_type_signal+set}" = set; then
29239 $as_echo_n "(cached) " >&6
29241 cat >conftest.
$ac_ext <<_ACEOF
29244 cat confdefs.h
>>conftest.
$ac_ext
29245 cat >>conftest.
$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29247 #include <sys/types.h>
29248 #include <signal.h>
29253 return *(signal (0, 0)) (0) == 1;
29258 rm -f conftest.
$ac_objext
29259 if { (ac_try
="$ac_compile"
29260 case "(($ac_try" in
29261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29262 *) ac_try_echo=$ac_try;;
29264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29265 $as_echo "$ac_try_echo") >&5
29266 (eval "$ac_compile") 2>conftest.er1
29268 grep -v '^ *+' conftest.er1 >conftest.err
29270 cat conftest.err >&5
29271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); } && {
29273 test -z "$ac_c_werror_flag" ||
29274 test ! -s conftest.err
29275 } && test -s conftest.$ac_objext; then
29276 ac_cv_type_signal=int
29278 $as_echo "$as_me: failed program was:" >&5
29279 sed 's/^/| /' conftest.$ac_ext >&5
29281 ac_cv_type_signal=void
29284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29286 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
29287 $as_echo "$ac_cv_type_signal" >&6; }
29289 cat >>confdefs.h <<_ACEOF
29290 #define RETSIGTYPE $ac_cv_type_signal
29294 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
29295 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
29296 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
29297 $as_echo_n "(cached) " >&6
29299 if test "$cross_compiling" = yes; then
29300 ac_cv_func_stat_empty_string_bug=yes
29302 cat >conftest.$ac_ext <<_ACEOF
29305 cat confdefs.h >>conftest.$ac_ext
29306 cat >>conftest.$ac_ext <<_ACEOF
29307 /* end confdefs.h. */
29308 $ac_includes_default
29313 return stat ("", &sbuf) == 0;
29318 rm -f conftest$ac_exeext
29319 if { (ac_try="$ac_link"
29320 case "(($ac_try" in
29321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29322 *) ac_try_echo
=$ac_try;;
29324 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29325 $as_echo "$ac_try_echo") >&5
29326 (eval "$ac_link") 2>&5
29328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29330 { (case "(($ac_try" in
29331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29332 *) ac_try_echo=$ac_try;;
29334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29335 $as_echo "$ac_try_echo") >&5
29336 (eval "$ac_try") 2>&5
29338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; }; then
29340 ac_cv_func_stat_empty_string_bug=no
29342 $as_echo "$as_me: program exited with status $ac_status" >&5
29343 $as_echo "$as_me: failed program was:" >&5
29344 sed 's/^/| /' conftest.$ac_ext >&5
29346 ( exit $ac_status )
29347 ac_cv_func_stat_empty_string_bug=yes
29349 rm -rf conftest.dSYM
29350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29355 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
29356 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
29357 if test $ac_cv_func_stat_empty_string_bug = yes; then
29358 case " $LIBOBJS " in
29359 *" stat.$ac_objext "* ) ;;
29360 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
29365 cat >>confdefs.h <<_ACEOF
29366 #define HAVE_STAT_EMPTY_STRING_BUG 1
29372 for ac_func in vprintf
29374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
29375 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
29376 $as_echo_n "checking for $ac_func... " >&6; }
29377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29378 $as_echo_n "(cached) " >&6
29380 cat >conftest.$ac_ext <<_ACEOF
29383 cat confdefs.h >>conftest.$ac_ext
29384 cat >>conftest.$ac_ext <<_ACEOF
29385 /* end confdefs.h. */
29386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29388 #define $ac_func innocuous_$ac_func
29390 /* System header to define __stub macros and hopefully few prototypes,
29391 which can conflict with char $ac_func (); below.
29392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29393 <limits.h> exists even on freestanding compilers. */
29396 # include <limits.h>
29398 # include <assert.h>
29403 /* Override any GCC internal prototype to avoid an error.
29404 Use char because int might match the return type of a GCC
29405 builtin and then its argument prototype would still apply. */
29410 /* The GNU C library defines this for functions which it implements
29411 to always fail with ENOSYS. Some functions are actually named
29412 something starting with __ and the normal name is an alias. */
29413 #if defined __stub_$ac_func || defined __stub___$ac_func
29420 return $ac_func ();
29425 rm -f conftest.$ac_objext conftest$ac_exeext
29426 if { (ac_try="$ac_link"
29427 case "(($ac_try" in
29428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29429 *) ac_try_echo
=$ac_try;;
29431 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29432 $as_echo "$ac_try_echo") >&5
29433 (eval "$ac_link") 2>conftest.er1
29435 grep -v '^ *+' conftest.er1
>conftest.err
29437 cat conftest.err
>&5
29438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest
$ac_exeext && {
29443 test "$cross_compiling" = yes ||
29444 $as_test_x conftest
$ac_exeext
29446 eval "$as_ac_var=yes"
29448 $as_echo "$as_me: failed program was:" >&5
29449 sed 's/^/| /' conftest.
$ac_ext >&5
29451 eval "$as_ac_var=no"
29454 rm -rf conftest.dSYM
29455 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29456 conftest
$ac_exeext conftest.
$ac_ext
29458 ac_res
=`eval 'as_val=${'$as_ac_var'}
29459 $as_echo "$as_val"'`
29460 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29461 $as_echo "$ac_res" >&6; }
29462 as_val
=`eval 'as_val=${'$as_ac_var'}
29463 $as_echo "$as_val"'`
29464 if test "x$as_val" = x
""yes; then
29465 cat >>confdefs.h
<<_ACEOF
29466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29469 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
29470 $as_echo_n "checking for _doprnt... " >&6; }
29471 if test "${ac_cv_func__doprnt+set}" = set; then
29472 $as_echo_n "(cached) " >&6
29474 cat >conftest.
$ac_ext <<_ACEOF
29477 cat confdefs.h
>>conftest.
$ac_ext
29478 cat >>conftest.
$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29480 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
29481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29482 #define _doprnt innocuous__doprnt
29484 /* System header to define __stub macros and hopefully few prototypes,
29485 which can conflict with char _doprnt (); below.
29486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29487 <limits.h> exists even on freestanding compilers. */
29490 # include <limits.h>
29492 # include <assert.h>
29497 /* Override any GCC internal prototype to avoid an error.
29498 Use char because int might match the return type of a GCC
29499 builtin and then its argument prototype would still apply. */
29504 /* The GNU C library defines this for functions which it implements
29505 to always fail with ENOSYS. Some functions are actually named
29506 something starting with __ and the normal name is an alias. */
29507 #if defined __stub__doprnt || defined __stub____doprnt
29519 rm -f conftest.
$ac_objext conftest
$ac_exeext
29520 if { (ac_try
="$ac_link"
29521 case "(($ac_try" in
29522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29523 *) ac_try_echo=$ac_try;;
29525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29526 $as_echo "$ac_try_echo") >&5
29527 (eval "$ac_link") 2>conftest.er1
29529 grep -v '^ *+' conftest.er1 >conftest.err
29531 cat conftest.err >&5
29532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); } && {
29534 test -z "$ac_c_werror_flag" ||
29535 test ! -s conftest.err
29536 } && test -s conftest$ac_exeext && {
29537 test "$cross_compiling" = yes ||
29538 $as_test_x conftest$ac_exeext
29540 ac_cv_func__doprnt=yes
29542 $as_echo "$as_me: failed program was:" >&5
29543 sed 's/^/| /' conftest.$ac_ext >&5
29545 ac_cv_func__doprnt=no
29548 rm -rf conftest.dSYM
29549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29550 conftest$ac_exeext conftest.$ac_ext
29552 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
29553 $as_echo "$ac_cv_func__doprnt" >&6; }
29554 if test "x$ac_cv_func__doprnt" = x""yes; then
29556 cat >>confdefs.h <<\_ACEOF
29557 #define HAVE_DOPRNT 1
29597 for ac_func in alarm atexit dup2 fdatasync ftruncate getcwd \
29598 gethostbyaddr gethostbyname gethostname getmntent \
29599 getnameinfo getrpcbyname \
29600 gettimeofday hasmntopt inet_ntoa innetgr memset mkdir pathconf \
29601 realpath rmdir select socket strcasecmp strchr strdup \
29602 strerror strrchr strtol strtoul sigprocmask
29604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
29605 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
29606 $as_echo_n "checking for $ac_func... " >&6; }
29607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29608 $as_echo_n "(cached) " >&6
29610 cat >conftest.$ac_ext <<_ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29618 #define $ac_func innocuous_$ac_func
29620 /* System header to define __stub macros and hopefully few prototypes,
29621 which can conflict with char $ac_func (); below.
29622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29623 <limits.h> exists even on freestanding compilers. */
29626 # include <limits.h>
29628 # include <assert.h>
29633 /* Override any GCC internal prototype to avoid an error.
29634 Use char because int might match the return type of a GCC
29635 builtin and then its argument prototype would still apply. */
29640 /* The GNU C library defines this for functions which it implements
29641 to always fail with ENOSYS. Some functions are actually named
29642 something starting with __ and the normal name is an alias. */
29643 #if defined __stub_$ac_func || defined __stub___$ac_func
29650 return $ac_func ();
29655 rm -f conftest.$ac_objext conftest$ac_exeext
29656 if { (ac_try="$ac_link"
29657 case "(($ac_try" in
29658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29659 *) ac_try_echo
=$ac_try;;
29661 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29662 $as_echo "$ac_try_echo") >&5
29663 (eval "$ac_link") 2>conftest.er1
29665 grep -v '^ *+' conftest.er1
>conftest.err
29667 cat conftest.err
>&5
29668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); } && {
29670 test -z "$ac_c_werror_flag" ||
29671 test ! -s conftest.err
29672 } && test -s conftest
$ac_exeext && {
29673 test "$cross_compiling" = yes ||
29674 $as_test_x conftest
$ac_exeext
29676 eval "$as_ac_var=yes"
29678 $as_echo "$as_me: failed program was:" >&5
29679 sed 's/^/| /' conftest.
$ac_ext >&5
29681 eval "$as_ac_var=no"
29684 rm -rf conftest.dSYM
29685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29686 conftest
$ac_exeext conftest.
$ac_ext
29688 ac_res
=`eval 'as_val=${'$as_ac_var'}
29689 $as_echo "$as_val"'`
29690 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29691 $as_echo "$ac_res" >&6; }
29692 as_val
=`eval 'as_val=${'$as_ac_var'}
29693 $as_echo "$as_val"'`
29694 if test "x$as_val" = x
""yes; then
29695 cat >>confdefs.h
<<_ACEOF
29696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29704 # The cast to long int works around a bug in the HP C Compiler
29705 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29706 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29707 # This bug is HP SR number 8606223364.
29708 { $as_echo "$as_me:$LINENO: checking size of short" >&5
29709 $as_echo_n "checking size of short... " >&6; }
29710 if test "${ac_cv_sizeof_short+set}" = set; then
29711 $as_echo_n "(cached) " >&6
29713 if test "$cross_compiling" = yes; then
29714 # Depending upon the size, compute the lo and hi bounds.
29715 cat >conftest.
$ac_ext <<_ACEOF
29718 cat confdefs.h
>>conftest.
$ac_ext
29719 cat >>conftest.
$ac_ext <<_ACEOF
29720 /* end confdefs.h. */
29721 $ac_includes_default
29725 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
29732 rm -f conftest.
$ac_objext
29733 if { (ac_try
="$ac_compile"
29734 case "(($ac_try" in
29735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29736 *) ac_try_echo=$ac_try;;
29738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29739 $as_echo "$ac_try_echo") >&5
29740 (eval "$ac_compile") 2>conftest.er1
29742 grep -v '^ *+' conftest.er1 >conftest.err
29744 cat conftest.err >&5
29745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } && {
29747 test -z "$ac_c_werror_flag" ||
29748 test ! -s conftest.err
29749 } && test -s conftest.$ac_objext; then
29752 cat >conftest.$ac_ext <<_ACEOF
29755 cat confdefs.h >>conftest.$ac_ext
29756 cat >>conftest.$ac_ext <<_ACEOF
29757 /* end confdefs.h. */
29758 $ac_includes_default
29762 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
29769 rm -f conftest.$ac_objext
29770 if { (ac_try="$ac_compile"
29771 case "(($ac_try" in
29772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29773 *) ac_try_echo
=$ac_try;;
29775 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29776 $as_echo "$ac_try_echo") >&5
29777 (eval "$ac_compile") 2>conftest.er1
29779 grep -v '^ *+' conftest.er1
>conftest.err
29781 cat conftest.err
>&5
29782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } && {
29784 test -z "$ac_c_werror_flag" ||
29785 test ! -s conftest.err
29786 } && test -s conftest.
$ac_objext; then
29787 ac_hi
=$ac_mid; break
29789 $as_echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.
$ac_ext >&5
29792 ac_lo
=`expr $ac_mid + 1`
29793 if test $ac_lo -le $ac_mid; then
29797 ac_mid
=`expr 2 '*' $ac_mid + 1`
29800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29803 $as_echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.
$ac_ext >&5
29806 cat >conftest.
$ac_ext <<_ACEOF
29809 cat confdefs.h
>>conftest.
$ac_ext
29810 cat >>conftest.
$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812 $ac_includes_default
29816 static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
29823 rm -f conftest.
$ac_objext
29824 if { (ac_try
="$ac_compile"
29825 case "(($ac_try" in
29826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29830 $as_echo "$ac_try_echo") >&5
29831 (eval "$ac_compile") 2>conftest.er1
29833 grep -v '^ *+' conftest.er1 >conftest.err
29835 cat conftest.err >&5
29836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } && {
29838 test -z "$ac_c_werror_flag" ||
29839 test ! -s conftest.err
29840 } && test -s conftest.$ac_objext; then
29843 cat >conftest.$ac_ext <<_ACEOF
29846 cat confdefs.h >>conftest.$ac_ext
29847 cat >>conftest.$ac_ext <<_ACEOF
29848 /* end confdefs.h. */
29849 $ac_includes_default
29853 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
29860 rm -f conftest.$ac_objext
29861 if { (ac_try="$ac_compile"
29862 case "(($ac_try" in
29863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29864 *) ac_try_echo
=$ac_try;;
29866 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29867 $as_echo "$ac_try_echo") >&5
29868 (eval "$ac_compile") 2>conftest.er1
29870 grep -v '^ *+' conftest.er1
>conftest.err
29872 cat conftest.err
>&5
29873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); } && {
29875 test -z "$ac_c_werror_flag" ||
29876 test ! -s conftest.err
29877 } && test -s conftest.
$ac_objext; then
29878 ac_lo
=$ac_mid; break
29880 $as_echo "$as_me: failed program was:" >&5
29881 sed 's/^/| /' conftest.
$ac_ext >&5
29883 ac_hi
=`expr '(' $ac_mid ')' - 1`
29884 if test $ac_mid -le $ac_hi; then
29888 ac_mid
=`expr 2 '*' $ac_mid`
29891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29894 $as_echo "$as_me: failed program was:" >&5
29895 sed 's/^/| /' conftest.
$ac_ext >&5
29900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29904 # Binary search between lo and hi bounds.
29905 while test "x$ac_lo" != "x$ac_hi"; do
29906 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29907 cat >conftest.
$ac_ext <<_ACEOF
29910 cat confdefs.h
>>conftest.
$ac_ext
29911 cat >>conftest.
$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29913 $ac_includes_default
29917 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
29924 rm -f conftest.
$ac_objext
29925 if { (ac_try
="$ac_compile"
29926 case "(($ac_try" in
29927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29928 *) ac_try_echo=$ac_try;;
29930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29931 $as_echo "$ac_try_echo") >&5
29932 (eval "$ac_compile") 2>conftest.er1
29934 grep -v '^ *+' conftest.er1 >conftest.err
29936 cat conftest.err >&5
29937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } && {
29939 test -z "$ac_c_werror_flag" ||
29940 test ! -s conftest.err
29941 } && test -s conftest.$ac_objext; then
29944 $as_echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29947 ac_lo=`expr '(' $ac_mid ')' + 1`
29950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29953 ?*) ac_cv_sizeof_short=$ac_lo;;
29954 '') if test "$ac_cv_type_short" = yes; then
29955 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
29956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29957 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
29958 See \
`config.log' for more details." >&5
29959 $as_echo "$as_me: error: cannot compute sizeof (short)
29960 See \`config.log
' for more details." >&2;}
29961 { (exit 77); exit 77; }; }; }
29963 ac_cv_sizeof_short=0
29967 cat >conftest.$ac_ext <<_ACEOF
29970 cat confdefs.h >>conftest.$ac_ext
29971 cat >>conftest.$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29973 $ac_includes_default
29974 static long int longval () { return (long int) (sizeof (short)); }
29975 static unsigned long int ulongval () { return (long int) (sizeof (short)); }
29977 #include <stdlib.h>
29982 FILE *f = fopen ("conftest.val", "w");
29985 if (((long int) (sizeof (short))) < 0)
29987 long int i = longval ();
29988 if (i != ((long int) (sizeof (short))))
29990 fprintf (f, "%ld", i);
29994 unsigned long int i = ulongval ();
29995 if (i != ((long int) (sizeof (short))))
29997 fprintf (f, "%lu", i);
29999 /* Do not output a trailing newline, as this causes \r\n confusion
30000 on some platforms. */
30001 return ferror (f) || fclose (f) != 0;
30007 rm -f conftest$ac_exeext
30008 if { (ac_try="$ac_link"
30009 case "(($ac_try" in
30010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30011 *) ac_try_echo=$ac_try;;
30013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30014 $as_echo "$ac_try_echo") >&5
30015 (eval "$ac_link") 2>&5
30017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30019 { (case "(($ac_try" in
30020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30021 *) ac_try_echo=$ac_try;;
30023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30024 $as_echo "$ac_try_echo") >&5
30025 (eval "$ac_try") 2>&5
30027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 ac_cv_sizeof_short=`cat conftest.val`
30031 $as_echo "$as_me: program exited with status $ac_status" >&5
30032 $as_echo "$as_me: failed program was:" >&5
30033 sed 's
/^
/|
/' conftest.$ac_ext >&5
30035 ( exit $ac_status )
30036 if test "$ac_cv_type_short" = yes; then
30037 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30038 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
30039 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
30040 See \`config.log
' for more details." >&5
30041 $as_echo "$as_me: error: cannot compute sizeof (short)
30042 See \`config.log' for more details.
" >&2;}
30043 { (exit 77); exit 77; }; }; }
30045 ac_cv_sizeof_short=0
30048 rm -rf conftest.dSYM
30049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30053 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_short" >&5
30054 $as_echo "$ac_cv_sizeof_short" >&6; }
30058 cat >>confdefs.h <<_ACEOF
30059 #define SIZEOF_SHORT $ac_cv_sizeof_short
30063 # The cast to long int works around a bug in the HP C Compiler
30064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
30065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
30066 # This bug is HP SR number 8606223364.
30067 { $as_echo "$as_me:$LINENO: checking size of int
" >&5
30068 $as_echo_n "checking size of int...
" >&6; }
30069 if test "${ac_cv_sizeof_int+set}" = set; then
30070 $as_echo_n "(cached
) " >&6
30072 if test "$cross_compiling" = yes; then
30073 # Depending upon the size, compute the lo and hi bounds.
30074 cat >conftest.$ac_ext <<_ACEOF
30077 cat confdefs.h >>conftest.$ac_ext
30078 cat >>conftest.$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30080 $ac_includes_default
30084 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
30091 rm -f conftest.$ac_objext
30092 if { (ac_try="$ac_compile"
30093 case "(($ac_try" in
30094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30095 *) ac_try_echo=$ac_try;;
30097 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30098 $as_echo "$ac_try_echo") >&5
30099 (eval "$ac_compile") 2>conftest.er1
30101 grep -v '^ *+' conftest.er1 >conftest.err
30103 cat conftest.err >&5
30104 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30105 (exit $ac_status); } && {
30106 test -z "$ac_c_werror_flag" ||
30107 test ! -s conftest.err
30108 } && test -s conftest.$ac_objext; then
30111 cat >conftest.$ac_ext <<_ACEOF
30114 cat confdefs.h >>conftest.$ac_ext
30115 cat >>conftest.$ac_ext <<_ACEOF
30116 /* end confdefs.h. */
30117 $ac_includes_default
30121 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
30128 rm -f conftest.$ac_objext
30129 if { (ac_try="$ac_compile"
30130 case "(($ac_try" in
30131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30132 *) ac_try_echo=$ac_try;;
30134 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30135 $as_echo "$ac_try_echo") >&5
30136 (eval "$ac_compile") 2>conftest.er1
30138 grep -v '^ *+' conftest.er1 >conftest.err
30140 cat conftest.err >&5
30141 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30142 (exit $ac_status); } && {
30143 test -z "$ac_c_werror_flag" ||
30144 test ! -s conftest.err
30145 } && test -s conftest.$ac_objext; then
30146 ac_hi=$ac_mid; break
30148 $as_echo "$as_me: failed program was
:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30151 ac_lo=`expr $ac_mid + 1`
30152 if test $ac_lo -le $ac_mid; then
30156 ac_mid=`expr 2 '*' $ac_mid + 1`
30159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30162 $as_echo "$as_me: failed program was
:" >&5
30163 sed 's/^/| /' conftest.$ac_ext >&5
30165 cat >conftest.$ac_ext <<_ACEOF
30168 cat confdefs.h >>conftest.$ac_ext
30169 cat >>conftest.$ac_ext <<_ACEOF
30170 /* end confdefs.h. */
30171 $ac_includes_default
30175 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
30182 rm -f conftest.$ac_objext
30183 if { (ac_try="$ac_compile"
30184 case "(($ac_try" in
30185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30186 *) ac_try_echo=$ac_try;;
30188 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30189 $as_echo "$ac_try_echo") >&5
30190 (eval "$ac_compile") 2>conftest.er1
30192 grep -v '^ *+' conftest.er1 >conftest.err
30194 cat conftest.err >&5
30195 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30196 (exit $ac_status); } && {
30197 test -z "$ac_c_werror_flag" ||
30198 test ! -s conftest.err
30199 } && test -s conftest.$ac_objext; then
30202 cat >conftest.$ac_ext <<_ACEOF
30205 cat confdefs.h >>conftest.$ac_ext
30206 cat >>conftest.$ac_ext <<_ACEOF
30207 /* end confdefs.h. */
30208 $ac_includes_default
30212 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
30219 rm -f conftest.$ac_objext
30220 if { (ac_try="$ac_compile"
30221 case "(($ac_try" in
30222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30223 *) ac_try_echo=$ac_try;;
30225 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30226 $as_echo "$ac_try_echo") >&5
30227 (eval "$ac_compile") 2>conftest.er1
30229 grep -v '^ *+' conftest.er1 >conftest.err
30231 cat conftest.err >&5
30232 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30233 (exit $ac_status); } && {
30234 test -z "$ac_c_werror_flag" ||
30235 test ! -s conftest.err
30236 } && test -s conftest.$ac_objext; then
30237 ac_lo=$ac_mid; break
30239 $as_echo "$as_me: failed program was
:" >&5
30240 sed 's/^/| /' conftest.$ac_ext >&5
30242 ac_hi=`expr '(' $ac_mid ')' - 1`
30243 if test $ac_mid -le $ac_hi; then
30247 ac_mid=`expr 2 '*' $ac_mid`
30250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30253 $as_echo "$as_me: failed program was
:" >&5
30254 sed 's/^/| /' conftest.$ac_ext >&5
30259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30263 # Binary search between lo and hi bounds.
30264 while test "x
$ac_lo" != "x
$ac_hi"; do
30265 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30266 cat >conftest.$ac_ext <<_ACEOF
30269 cat confdefs.h >>conftest.$ac_ext
30270 cat >>conftest.$ac_ext <<_ACEOF
30271 /* end confdefs.h. */
30272 $ac_includes_default
30276 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
30283 rm -f conftest.$ac_objext
30284 if { (ac_try="$ac_compile"
30285 case "(($ac_try" in
30286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30287 *) ac_try_echo=$ac_try;;
30289 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30290 $as_echo "$ac_try_echo") >&5
30291 (eval "$ac_compile") 2>conftest.er1
30293 grep -v '^ *+' conftest.er1 >conftest.err
30295 cat conftest.err >&5
30296 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30297 (exit $ac_status); } && {
30298 test -z "$ac_c_werror_flag" ||
30299 test ! -s conftest.err
30300 } && test -s conftest.$ac_objext; then
30303 $as_echo "$as_me: failed program was
:" >&5
30304 sed 's/^/| /' conftest.$ac_ext >&5
30306 ac_lo=`expr '(' $ac_mid ')' + 1`
30309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30312 ?*) ac_cv_sizeof_int=$ac_lo;;
30313 '') if test "$ac_cv_type_int" = yes; then
30314 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
30315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30316 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
30317 See \`config.log' for more details.
" >&5
30318 $as_echo "$as_me: error
: cannot compute sizeof
(int
)
30319 See \
`config.log' for more details." >&2;}
30320 { (exit 77); exit 77; }; }; }
30326 cat >conftest.$ac_ext <<_ACEOF
30329 cat confdefs.h >>conftest.$ac_ext
30330 cat >>conftest.$ac_ext <<_ACEOF
30331 /* end confdefs.h. */
30332 $ac_includes_default
30333 static long int longval () { return (long int) (sizeof (int)); }
30334 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
30336 #include <stdlib.h>
30341 FILE *f = fopen ("conftest.val", "w");
30344 if (((long int) (sizeof (int))) < 0)
30346 long int i = longval ();
30347 if (i != ((long int) (sizeof (int))))
30349 fprintf (f, "%ld", i);
30353 unsigned long int i = ulongval ();
30354 if (i != ((long int) (sizeof (int))))
30356 fprintf (f, "%lu", i);
30358 /* Do not output a trailing newline, as this causes \r\n confusion
30359 on some platforms. */
30360 return ferror (f) || fclose (f) != 0;
30366 rm -f conftest$ac_exeext
30367 if { (ac_try="$ac_link"
30368 case "(($ac_try" in
30369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30370 *) ac_try_echo
=$ac_try;;
30372 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
30373 $as_echo "$ac_try_echo") >&5
30374 (eval "$ac_link") 2>&5
30376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30378 { (case "(($ac_try" in
30379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30380 *) ac_try_echo=$ac_try;;
30382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30383 $as_echo "$ac_try_echo") >&5
30384 (eval "$ac_try") 2>&5
30386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; }; then
30388 ac_cv_sizeof_int=`cat conftest.val
`
30390 $as_echo "$as_me: program exited with status $ac_status" >&5
30391 $as_echo "$as_me: failed program was:" >&5
30392 sed 's/^/| /' conftest.$ac_ext >&5
30394 ( exit $ac_status )
30395 if test "$ac_cv_type_int" = yes; then
30396 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30398 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
30399 See \
`config.log' for more details." >&5
30400 $as_echo "$as_me: error: cannot compute sizeof (int)
30401 See \`config.log
' for more details." >&2;}
30402 { (exit 77); exit 77; }; }; }
30407 rm -rf conftest.dSYM
30408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30412 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
30413 $as_echo "$ac_cv_sizeof_int" >&6; }
30417 cat >>confdefs.h <<_ACEOF
30418 #define SIZEOF_INT $ac_cv_sizeof_int
30422 # The cast to long int works around a bug in the HP C Compiler
30423 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
30424 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
30425 # This bug is HP SR number 8606223364.
30426 { $as_echo "$as_me:$LINENO: checking size of long" >&5
30427 $as_echo_n "checking size of long... " >&6; }
30428 if test "${ac_cv_sizeof_long+set}" = set; then
30429 $as_echo_n "(cached) " >&6
30431 if test "$cross_compiling" = yes; then
30432 # Depending upon the size, compute the lo and hi bounds.
30433 cat >conftest.
$ac_ext <<_ACEOF
30436 cat confdefs.h
>>conftest.
$ac_ext
30437 cat >>conftest.
$ac_ext <<_ACEOF
30438 /* end confdefs.h. */
30439 $ac_includes_default
30443 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
30450 rm -f conftest.
$ac_objext
30451 if { (ac_try
="$ac_compile"
30452 case "(($ac_try" in
30453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30454 *) ac_try_echo=$ac_try;;
30456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30457 $as_echo "$ac_try_echo") >&5
30458 (eval "$ac_compile") 2>conftest.er1
30460 grep -v '^ *+' conftest.er1 >conftest.err
30462 cat conftest.err >&5
30463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } && {
30465 test -z "$ac_c_werror_flag" ||
30466 test ! -s conftest.err
30467 } && test -s conftest.$ac_objext; then
30470 cat >conftest.$ac_ext <<_ACEOF
30473 cat confdefs.h >>conftest.$ac_ext
30474 cat >>conftest.$ac_ext <<_ACEOF
30475 /* end confdefs.h. */
30476 $ac_includes_default
30480 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
30487 rm -f conftest.$ac_objext
30488 if { (ac_try="$ac_compile"
30489 case "(($ac_try" in
30490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30491 *) ac_try_echo
=$ac_try;;
30493 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
30494 $as_echo "$ac_try_echo") >&5
30495 (eval "$ac_compile") 2>conftest.er1
30497 grep -v '^ *+' conftest.er1
>conftest.err
30499 cat conftest.err
>&5
30500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); } && {
30502 test -z "$ac_c_werror_flag" ||
30503 test ! -s conftest.err
30504 } && test -s conftest.
$ac_objext; then
30505 ac_hi
=$ac_mid; break
30507 $as_echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.
$ac_ext >&5
30510 ac_lo
=`expr $ac_mid + 1`
30511 if test $ac_lo -le $ac_mid; then
30515 ac_mid
=`expr 2 '*' $ac_mid + 1`
30518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30521 $as_echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.
$ac_ext >&5
30524 cat >conftest.
$ac_ext <<_ACEOF
30527 cat confdefs.h
>>conftest.
$ac_ext
30528 cat >>conftest.
$ac_ext <<_ACEOF
30529 /* end confdefs.h. */
30530 $ac_includes_default
30534 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
30541 rm -f conftest.
$ac_objext
30542 if { (ac_try
="$ac_compile"
30543 case "(($ac_try" in
30544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30545 *) ac_try_echo=$ac_try;;
30547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30548 $as_echo "$ac_try_echo") >&5
30549 (eval "$ac_compile") 2>conftest.er1
30551 grep -v '^ *+' conftest.er1 >conftest.err
30553 cat conftest.err >&5
30554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); } && {
30556 test -z "$ac_c_werror_flag" ||
30557 test ! -s conftest.err
30558 } && test -s conftest.$ac_objext; then
30561 cat >conftest.$ac_ext <<_ACEOF
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 $ac_includes_default
30571 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
30578 rm -f conftest.$ac_objext
30579 if { (ac_try="$ac_compile"
30580 case "(($ac_try" in
30581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30582 *) ac_try_echo
=$ac_try;;
30584 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
30585 $as_echo "$ac_try_echo") >&5
30586 (eval "$ac_compile") 2>conftest.er1
30588 grep -v '^ *+' conftest.er1
>conftest.err
30590 cat conftest.err
>&5
30591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); } && {
30593 test -z "$ac_c_werror_flag" ||
30594 test ! -s conftest.err
30595 } && test -s conftest.
$ac_objext; then
30596 ac_lo
=$ac_mid; break
30598 $as_echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.
$ac_ext >&5
30601 ac_hi
=`expr '(' $ac_mid ')' - 1`
30602 if test $ac_mid -le $ac_hi; then
30606 ac_mid
=`expr 2 '*' $ac_mid`
30609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30612 $as_echo "$as_me: failed program was:" >&5
30613 sed 's/^/| /' conftest.
$ac_ext >&5
30618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30622 # Binary search between lo and hi bounds.
30623 while test "x$ac_lo" != "x$ac_hi"; do
30624 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30625 cat >conftest.
$ac_ext <<_ACEOF
30628 cat confdefs.h
>>conftest.
$ac_ext
30629 cat >>conftest.
$ac_ext <<_ACEOF
30630 /* end confdefs.h. */
30631 $ac_includes_default
30635 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
30642 rm -f conftest.
$ac_objext
30643 if { (ac_try
="$ac_compile"
30644 case "(($ac_try" in
30645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30646 *) ac_try_echo=$ac_try;;
30648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30649 $as_echo "$ac_try_echo") >&5
30650 (eval "$ac_compile") 2>conftest.er1
30652 grep -v '^ *+' conftest.er1 >conftest.err
30654 cat conftest.err >&5
30655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } && {
30657 test -z "$ac_c_werror_flag" ||
30658 test ! -s conftest.err
30659 } && test -s conftest.$ac_objext; then
30662 $as_echo "$as_me: failed program was:" >&5
30663 sed 's/^/| /' conftest.$ac_ext >&5
30665 ac_lo=`expr '(' $ac_mid ')' + 1`
30668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30671 ?*) ac_cv_sizeof_long=$ac_lo;;
30672 '') if test "$ac_cv_type_long" = yes; then
30673 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30675 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
30676 See \
`config.log' for more details." >&5
30677 $as_echo "$as_me: error: cannot compute sizeof (long)
30678 See \`config.log
' for more details." >&2;}
30679 { (exit 77); exit 77; }; }; }
30681 ac_cv_sizeof_long=0
30685 cat >conftest.$ac_ext <<_ACEOF
30688 cat confdefs.h >>conftest.$ac_ext
30689 cat >>conftest.$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30691 $ac_includes_default
30692 static long int longval () { return (long int) (sizeof (long)); }
30693 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
30695 #include <stdlib.h>
30700 FILE *f = fopen ("conftest.val", "w");
30703 if (((long int) (sizeof (long))) < 0)
30705 long int i = longval ();
30706 if (i != ((long int) (sizeof (long))))
30708 fprintf (f, "%ld", i);
30712 unsigned long int i = ulongval ();
30713 if (i != ((long int) (sizeof (long))))
30715 fprintf (f, "%lu", i);
30717 /* Do not output a trailing newline, as this causes \r\n confusion
30718 on some platforms. */
30719 return ferror (f) || fclose (f) != 0;
30725 rm -f conftest$ac_exeext
30726 if { (ac_try="$ac_link"
30727 case "(($ac_try" in
30728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30729 *) ac_try_echo=$ac_try;;
30731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30732 $as_echo "$ac_try_echo") >&5
30733 (eval "$ac_link") 2>&5
30735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30737 { (case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30742 $as_echo "$ac_try_echo") >&5
30743 (eval "$ac_try") 2>&5
30745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; }; then
30747 ac_cv_sizeof_long=`cat conftest.val`
30749 $as_echo "$as_me: program exited with status $ac_status" >&5
30750 $as_echo "$as_me: failed program was:" >&5
30751 sed 's
/^
/|
/' conftest.$ac_ext >&5
30753 ( exit $ac_status )
30754 if test "$ac_cv_type_long" = yes; then
30755 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
30756 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
30757 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
30758 See \`config.log
' for more details." >&5
30759 $as_echo "$as_me: error: cannot compute sizeof (long)
30760 See \`config.log' for more details.
" >&2;}
30761 { (exit 77); exit 77; }; }; }
30763 ac_cv_sizeof_long=0
30766 rm -rf conftest.dSYM
30767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30771 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long" >&5
30772 $as_echo "$ac_cv_sizeof_long" >&6; }
30776 cat >>confdefs.h <<_ACEOF
30777 #define SIZEOF_LONG $ac_cv_sizeof_long
30781 # The cast to long int works around a bug in the HP C Compiler
30782 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
30783 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
30784 # This bug is HP SR number 8606223364.
30785 { $as_echo "$as_me:$LINENO: checking size of size_t
" >&5
30786 $as_echo_n "checking size of size_t...
" >&6; }
30787 if test "${ac_cv_sizeof_size_t+set}" = set; then
30788 $as_echo_n "(cached
) " >&6
30790 if test "$cross_compiling" = yes; then
30791 # Depending upon the size, compute the lo and hi bounds.
30792 cat >conftest.$ac_ext <<_ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30798 $ac_includes_default
30802 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= 0)];
30809 rm -f conftest.$ac_objext
30810 if { (ac_try="$ac_compile"
30811 case "(($ac_try" in
30812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30813 *) ac_try_echo=$ac_try;;
30815 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30816 $as_echo "$ac_try_echo") >&5
30817 (eval "$ac_compile") 2>conftest.er1
30819 grep -v '^ *+' conftest.er1 >conftest.err
30821 cat conftest.err >&5
30822 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30823 (exit $ac_status); } && {
30824 test -z "$ac_c_werror_flag" ||
30825 test ! -s conftest.err
30826 } && test -s conftest.$ac_objext; then
30829 cat >conftest.$ac_ext <<_ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835 $ac_includes_default
30839 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
30846 rm -f conftest.$ac_objext
30847 if { (ac_try="$ac_compile"
30848 case "(($ac_try" in
30849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30850 *) ac_try_echo=$ac_try;;
30852 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30853 $as_echo "$ac_try_echo") >&5
30854 (eval "$ac_compile") 2>conftest.er1
30856 grep -v '^ *+' conftest.er1 >conftest.err
30858 cat conftest.err >&5
30859 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30860 (exit $ac_status); } && {
30861 test -z "$ac_c_werror_flag" ||
30862 test ! -s conftest.err
30863 } && test -s conftest.$ac_objext; then
30864 ac_hi=$ac_mid; break
30866 $as_echo "$as_me: failed program was
:" >&5
30867 sed 's/^/| /' conftest.$ac_ext >&5
30869 ac_lo=`expr $ac_mid + 1`
30870 if test $ac_lo -le $ac_mid; then
30874 ac_mid=`expr 2 '*' $ac_mid + 1`
30877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30880 $as_echo "$as_me: failed program was
:" >&5
30881 sed 's/^/| /' conftest.$ac_ext >&5
30883 cat >conftest.$ac_ext <<_ACEOF
30886 cat confdefs.h >>conftest.$ac_ext
30887 cat >>conftest.$ac_ext <<_ACEOF
30888 /* end confdefs.h. */
30889 $ac_includes_default
30893 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) < 0)];
30900 rm -f conftest.$ac_objext
30901 if { (ac_try="$ac_compile"
30902 case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30906 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30907 $as_echo "$ac_try_echo") >&5
30908 (eval "$ac_compile") 2>conftest.er1
30910 grep -v '^ *+' conftest.er1 >conftest.err
30912 cat conftest.err >&5
30913 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30914 (exit $ac_status); } && {
30915 test -z "$ac_c_werror_flag" ||
30916 test ! -s conftest.err
30917 } && test -s conftest.$ac_objext; then
30920 cat >conftest.$ac_ext <<_ACEOF
30923 cat confdefs.h >>conftest.$ac_ext
30924 cat >>conftest.$ac_ext <<_ACEOF
30925 /* end confdefs.h. */
30926 $ac_includes_default
30930 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= $ac_mid)];
30937 rm -f conftest.$ac_objext
30938 if { (ac_try="$ac_compile"
30939 case "(($ac_try" in
30940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30941 *) ac_try_echo=$ac_try;;
30943 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
30944 $as_echo "$ac_try_echo") >&5
30945 (eval "$ac_compile") 2>conftest.er1
30947 grep -v '^ *+' conftest.er1 >conftest.err
30949 cat conftest.err >&5
30950 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30951 (exit $ac_status); } && {
30952 test -z "$ac_c_werror_flag" ||
30953 test ! -s conftest.err
30954 } && test -s conftest.$ac_objext; then
30955 ac_lo=$ac_mid; break
30957 $as_echo "$as_me: failed program was
:" >&5
30958 sed 's/^/| /' conftest.$ac_ext >&5
30960 ac_hi=`expr '(' $ac_mid ')' - 1`
30961 if test $ac_mid -le $ac_hi; then
30965 ac_mid=`expr 2 '*' $ac_mid`
30968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30971 $as_echo "$as_me: failed program was
:" >&5
30972 sed 's/^/| /' conftest.$ac_ext >&5
30977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30981 # Binary search between lo and hi bounds.
30982 while test "x
$ac_lo" != "x
$ac_hi"; do
30983 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30984 cat >conftest.$ac_ext <<_ACEOF
30987 cat confdefs.h >>conftest.$ac_ext
30988 cat >>conftest.$ac_ext <<_ACEOF
30989 /* end confdefs.h. */
30990 $ac_includes_default
30994 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
31001 rm -f conftest.$ac_objext
31002 if { (ac_try="$ac_compile"
31003 case "(($ac_try" in
31004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31005 *) ac_try_echo=$ac_try;;
31007 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
31008 $as_echo "$ac_try_echo") >&5
31009 (eval "$ac_compile") 2>conftest.er1
31011 grep -v '^ *+' conftest.er1 >conftest.err
31013 cat conftest.err >&5
31014 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31015 (exit $ac_status); } && {
31016 test -z "$ac_c_werror_flag" ||
31017 test ! -s conftest.err
31018 } && test -s conftest.$ac_objext; then
31021 $as_echo "$as_me: failed program was
:" >&5
31022 sed 's/^/| /' conftest.$ac_ext >&5
31024 ac_lo=`expr '(' $ac_mid ')' + 1`
31027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31030 ?*) ac_cv_sizeof_size_t=$ac_lo;;
31031 '') if test "$ac_cv_type_size_t" = yes; then
31032 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
31033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31034 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
31035 See \`config.log' for more details.
" >&5
31036 $as_echo "$as_me: error
: cannot compute sizeof
(size_t
)
31037 See \
`config.log' for more details." >&2;}
31038 { (exit 77); exit 77; }; }; }
31040 ac_cv_sizeof_size_t=0
31044 cat >conftest.$ac_ext <<_ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31050 $ac_includes_default
31051 static long int longval () { return (long int) (sizeof (size_t)); }
31052 static unsigned long int ulongval () { return (long int) (sizeof (size_t)); }
31054 #include <stdlib.h>
31059 FILE *f = fopen ("conftest.val", "w");
31062 if (((long int) (sizeof (size_t))) < 0)
31064 long int i = longval ();
31065 if (i != ((long int) (sizeof (size_t))))
31067 fprintf (f, "%ld", i);
31071 unsigned long int i = ulongval ();
31072 if (i != ((long int) (sizeof (size_t))))
31074 fprintf (f, "%lu", i);
31076 /* Do not output a trailing newline, as this causes \r\n confusion
31077 on some platforms. */
31078 return ferror (f) || fclose (f) != 0;
31084 rm -f conftest$ac_exeext
31085 if { (ac_try="$ac_link"
31086 case "(($ac_try" in
31087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31088 *) ac_try_echo
=$ac_try;;
31090 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
31091 $as_echo "$ac_try_echo") >&5
31092 (eval "$ac_link") 2>&5
31094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31096 { (case "(($ac_try" in
31097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31098 *) ac_try_echo=$ac_try;;
31100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31101 $as_echo "$ac_try_echo") >&5
31102 (eval "$ac_try") 2>&5
31104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; }; then
31106 ac_cv_sizeof_size_t=`cat conftest.val
`
31108 $as_echo "$as_me: program exited with status $ac_status" >&5
31109 $as_echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.$ac_ext >&5
31112 ( exit $ac_status )
31113 if test "$ac_cv_type_size_t" = yes; then
31114 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
31115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31116 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
31117 See \
`config.log' for more details." >&5
31118 $as_echo "$as_me: error: cannot compute sizeof (size_t)
31119 See \`config.log
' for more details." >&2;}
31120 { (exit 77); exit 77; }; }; }
31122 ac_cv_sizeof_size_t=0
31125 rm -rf conftest.dSYM
31126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31130 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
31131 $as_echo "$ac_cv_sizeof_size_t" >&6; }
31135 cat >>confdefs.h <<_ACEOF
31136 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
31140 # The cast to long int works around a bug in the HP C Compiler
31141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
31142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
31143 # This bug is HP SR number 8606223364.
31144 { $as_echo "$as_me:$LINENO: checking size of socklen_t" >&5
31145 $as_echo_n "checking size of socklen_t... " >&6; }
31146 if test "${ac_cv_sizeof_socklen_t+set}" = set; then
31147 $as_echo_n "(cached) " >&6
31149 if test "$cross_compiling" = yes; then
31150 # Depending upon the size, compute the lo and hi bounds.
31151 cat >conftest.
$ac_ext <<_ACEOF
31154 cat confdefs.h
>>conftest.
$ac_ext
31155 cat >>conftest.
$ac_ext <<_ACEOF
31156 /* end confdefs.h. */
31157 $ac_includes_default
31161 static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) >= 0)];
31168 rm -f conftest.
$ac_objext
31169 if { (ac_try
="$ac_compile"
31170 case "(($ac_try" in
31171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31172 *) ac_try_echo=$ac_try;;
31174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31175 $as_echo "$ac_try_echo") >&5
31176 (eval "$ac_compile") 2>conftest.er1
31178 grep -v '^ *+' conftest.er1 >conftest.err
31180 cat conftest.err >&5
31181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); } && {
31183 test -z "$ac_c_werror_flag" ||
31184 test ! -s conftest.err
31185 } && test -s conftest.$ac_objext; then
31188 cat >conftest.$ac_ext <<_ACEOF
31191 cat confdefs.h >>conftest.$ac_ext
31192 cat >>conftest.$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194 $ac_includes_default
31198 static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) <= $ac_mid)];
31205 rm -f conftest.$ac_objext
31206 if { (ac_try="$ac_compile"
31207 case "(($ac_try" in
31208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31209 *) ac_try_echo
=$ac_try;;
31211 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
31212 $as_echo "$ac_try_echo") >&5
31213 (eval "$ac_compile") 2>conftest.er1
31215 grep -v '^ *+' conftest.er1
>conftest.err
31217 cat conftest.err
>&5
31218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } && {
31220 test -z "$ac_c_werror_flag" ||
31221 test ! -s conftest.err
31222 } && test -s conftest.
$ac_objext; then
31223 ac_hi
=$ac_mid; break
31225 $as_echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.
$ac_ext >&5
31228 ac_lo
=`expr $ac_mid + 1`
31229 if test $ac_lo -le $ac_mid; then
31233 ac_mid
=`expr 2 '*' $ac_mid + 1`
31236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31239 $as_echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.
$ac_ext >&5
31242 cat >conftest.
$ac_ext <<_ACEOF
31245 cat confdefs.h
>>conftest.
$ac_ext
31246 cat >>conftest.
$ac_ext <<_ACEOF
31247 /* end confdefs.h. */
31248 $ac_includes_default
31252 static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) < 0)];
31259 rm -f conftest.
$ac_objext
31260 if { (ac_try
="$ac_compile"
31261 case "(($ac_try" in
31262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31263 *) ac_try_echo=$ac_try;;
31265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31266 $as_echo "$ac_try_echo") >&5
31267 (eval "$ac_compile") 2>conftest.er1
31269 grep -v '^ *+' conftest.er1 >conftest.err
31271 cat conftest.err >&5
31272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); } && {
31274 test -z "$ac_c_werror_flag" ||
31275 test ! -s conftest.err
31276 } && test -s conftest.$ac_objext; then
31279 cat >conftest.$ac_ext <<_ACEOF
31282 cat confdefs.h >>conftest.$ac_ext
31283 cat >>conftest.$ac_ext <<_ACEOF
31284 /* end confdefs.h. */
31285 $ac_includes_default
31289 static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) >= $ac_mid)];
31296 rm -f conftest.$ac_objext
31297 if { (ac_try="$ac_compile"
31298 case "(($ac_try" in
31299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31300 *) ac_try_echo
=$ac_try;;
31302 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
31303 $as_echo "$ac_try_echo") >&5
31304 (eval "$ac_compile") 2>conftest.er1
31306 grep -v '^ *+' conftest.er1
>conftest.err
31308 cat conftest.err
>&5
31309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } && {
31311 test -z "$ac_c_werror_flag" ||
31312 test ! -s conftest.err
31313 } && test -s conftest.
$ac_objext; then
31314 ac_lo
=$ac_mid; break
31316 $as_echo "$as_me: failed program was:" >&5
31317 sed 's/^/| /' conftest.
$ac_ext >&5
31319 ac_hi
=`expr '(' $ac_mid ')' - 1`
31320 if test $ac_mid -le $ac_hi; then
31324 ac_mid
=`expr 2 '*' $ac_mid`
31327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31330 $as_echo "$as_me: failed program was:" >&5
31331 sed 's/^/| /' conftest.
$ac_ext >&5
31336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31340 # Binary search between lo and hi bounds.
31341 while test "x$ac_lo" != "x$ac_hi"; do
31342 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
31343 cat >conftest.
$ac_ext <<_ACEOF
31346 cat confdefs.h
>>conftest.
$ac_ext
31347 cat >>conftest.
$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31349 $ac_includes_default
31353 static int test_array [1 - 2 * !(((long int) (sizeof (socklen_t))) <= $ac_mid)];
31360 rm -f conftest.
$ac_objext
31361 if { (ac_try
="$ac_compile"
31362 case "(($ac_try" in
31363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31364 *) ac_try_echo=$ac_try;;
31366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31367 $as_echo "$ac_try_echo") >&5
31368 (eval "$ac_compile") 2>conftest.er1
31370 grep -v '^ *+' conftest.er1 >conftest.err
31372 cat conftest.err >&5
31373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); } && {
31375 test -z "$ac_c_werror_flag" ||
31376 test ! -s conftest.err
31377 } && test -s conftest.$ac_objext; then
31380 $as_echo "$as_me: failed program was:" >&5
31381 sed 's/^/| /' conftest.$ac_ext >&5
31383 ac_lo=`expr '(' $ac_mid ')' + 1`
31386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31389 ?*) ac_cv_sizeof_socklen_t=$ac_lo;;
31390 '') if test "$ac_cv_type_socklen_t" = yes; then
31391 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
31392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31393 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(socklen_t
)
31394 See \
`config.log' for more details." >&5
31395 $as_echo "$as_me: error: cannot compute sizeof (socklen_t)
31396 See \`config.log
' for more details." >&2;}
31397 { (exit 77); exit 77; }; }; }
31399 ac_cv_sizeof_socklen_t=0
31403 cat >conftest.$ac_ext <<_ACEOF
31406 cat confdefs.h >>conftest.$ac_ext
31407 cat >>conftest.$ac_ext <<_ACEOF
31408 /* end confdefs.h. */
31409 $ac_includes_default
31410 static long int longval () { return (long int) (sizeof (socklen_t)); }
31411 static unsigned long int ulongval () { return (long int) (sizeof (socklen_t)); }
31413 #include <stdlib.h>
31418 FILE *f = fopen ("conftest.val", "w");
31421 if (((long int) (sizeof (socklen_t))) < 0)
31423 long int i = longval ();
31424 if (i != ((long int) (sizeof (socklen_t))))
31426 fprintf (f, "%ld", i);
31430 unsigned long int i = ulongval ();
31431 if (i != ((long int) (sizeof (socklen_t))))
31433 fprintf (f, "%lu", i);
31435 /* Do not output a trailing newline, as this causes \r\n confusion
31436 on some platforms. */
31437 return ferror (f) || fclose (f) != 0;
31443 rm -f conftest$ac_exeext
31444 if { (ac_try="$ac_link"
31445 case "(($ac_try" in
31446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31447 *) ac_try_echo=$ac_try;;
31449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31450 $as_echo "$ac_try_echo") >&5
31451 (eval "$ac_link") 2>&5
31453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31455 { (case "(($ac_try" in
31456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31457 *) ac_try_echo=$ac_try;;
31459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31460 $as_echo "$ac_try_echo") >&5
31461 (eval "$ac_try") 2>&5
31463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; }; then
31465 ac_cv_sizeof_socklen_t=`cat conftest.val`
31467 $as_echo "$as_me: program exited with status $ac_status" >&5
31468 $as_echo "$as_me: failed program was:" >&5
31469 sed 's
/^
/|
/' conftest.$ac_ext >&5
31471 ( exit $ac_status )
31472 if test "$ac_cv_type_socklen_t" = yes; then
31473 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
31474 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
31475 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (socklen_t)
31476 See \`config.log
' for more details." >&5
31477 $as_echo "$as_me: error: cannot compute sizeof (socklen_t)
31478 See \`config.log' for more details.
" >&2;}
31479 { (exit 77); exit 77; }; }; }
31481 ac_cv_sizeof_socklen_t=0
31484 rm -rf conftest.dSYM
31485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31489 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_socklen_t" >&5
31490 $as_echo "$ac_cv_sizeof_socklen_t" >&6; }
31494 cat >>confdefs.h <<_ACEOF
31495 #define SIZEOF_SOCKLEN_T $ac_cv_sizeof_socklen_t
31502 cat >>confdefs.h <<_ACEOF
31503 #define NFS_STATEDIR "$statedir"
31507 if test "x
$cross_compiling" = "xno
"; then
31508 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"$CFLAGS"}
31509 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-"$CXXFLAGS"}
31510 CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-"$CPPFLAGS"}
31511 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-"$LDFLAGS"}
31513 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-""}
31514 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-""}
31515 CPPFLAGS_FOR_BUILD=${CPPFLAGS_FOR_BUILD-""}
31516 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-""}
31534 my_am_cflags="-Wall -Wstrict-prototypes $ARCHFLAGS -pipe"
31536 AM_CFLAGS="$my_am_cflags"
31539 # Make sure that $ACLOCAL_FLAGS are used during a rebuild
31540 ACLOCAL_AMFLAGS="-I $ac_macro_dir \$
(ACLOCAL_FLAGS
)"
31543 ac_config_files="$ac_config_files Makefile linux-nfs
/Makefile support
/Makefile support
/export
/Makefile support
/include
/nfs
/Makefile support
/include
/rpcsvc
/Makefile support
/include
/sys
/fs
/Makefile support
/include
/sys
/Makefile support
/include
/Makefile support
/misc
/Makefile support
/nfs
/Makefile tools
/Makefile tools
/locktest
/Makefile tools
/nlmtest
/Makefile tools
/rpcdebug
/Makefile tools
/rpcgen
/Makefile utils
/Makefile utils
/exportfs
/Makefile utils
/gssd
/Makefile utils
/idmapd
/Makefile utils
/mount
/Makefile utils
/mountd
/Makefile utils
/nfsd
/Makefile utils
/nfsstat
/Makefile utils
/showmount
/Makefile utils
/statd
/Makefile
"
31545 cat >confcache <<\_ACEOF
31546 # This file is a shell script that caches the results of configure
31547 # tests run on this system so they can be shared between configure
31548 # scripts and configure runs, see configure's option --config-cache.
31549 # It is not useful on other systems. If it contains results you don't
31550 # want to keep, you may remove or edit it.
31552 # config.status only pays attention to the cache file if you give it
31553 # the --recheck option to rerun configure.
31555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31557 # following values.
31561 # The following way of writing the cache mishandles newlines in values,
31562 # but we know of no workaround that is simple, portable, and efficient.
31563 # So, we kill variables containing newlines.
31564 # Ultrix sh set writes to stderr and can't be redirected directly,
31565 # and sets the high bit in the cache file unless we assign to the vars.
31567 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31568 eval ac_val=\$$ac_var
31572 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING
: cache variable
$ac_var contains a newline
" >&5
31573 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
31576 _ | IFS | as_nl) ;; #(
31577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31578 *) $as_unset $ac_var ;;
31584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31585 *${as_nl}ac_space=\ *)
31586 # `set' does not quote correctly, so add quotes (double-quote
31587 # substitution turns \\\\ into \\, and sed turns \\ into \).
31590 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
31593 # `set' quotes correctly as required by POSIX, so do not add quotes.
31594 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
31603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31607 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31608 if test -w "$cache_file"; then
31609 test "x
$cache_file" != "x
/dev
/null
" &&
31610 { $as_echo "$as_me:$LINENO: updating cache
$cache_file" >&5
31611 $as_echo "$as_me: updating cache
$cache_file" >&6;}
31612 cat confcache >$cache_file
31614 { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
31615 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
31620 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
31621 # Let make expand exec_prefix.
31622 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
31624 DEFS=-DHAVE_CONFIG_H
31628 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
31629 # 1. Remove the extension, and $U if already installed.
31630 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31631 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31632 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31633 # will be set to the directory where LIBOBJS objects are built.
31634 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
31635 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
31637 LIBOBJS=$ac_libobjs
31639 LTLIBOBJS=$ac_ltlibobjs
31642 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31643 { { $as_echo "$as_me:$LINENO: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
31644 Usually this means the macro was only invoked conditionally.
" >&5
31645 $as_echo "$as_me: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
31646 Usually this means the macro was only invoked conditionally.
" >&2;}
31647 { (exit 1); exit 1; }; }
31649 if test -z "${CONFIG_NFSV4_TRUE}" && test -z "${CONFIG_NFSV4_FALSE}"; then
31650 { { $as_echo "$as_me:$LINENO: error
: conditional
\"CONFIG_NFSV4
\" was never defined.
31651 Usually this means the macro was only invoked conditionally.
" >&5
31652 $as_echo "$as_me: error
: conditional
\"CONFIG_NFSV4
\" was never defined.
31653 Usually this means the macro was only invoked conditionally.
" >&2;}
31654 { (exit 1); exit 1; }; }
31656 if test -z "${CONFIG_GSS_TRUE}" && test -z "${CONFIG_GSS_FALSE}"; then
31657 { { $as_echo "$as_me:$LINENO: error
: conditional
\"CONFIG_GSS
\" was never defined.
31658 Usually this means the macro was only invoked conditionally.
" >&5
31659 $as_echo "$as_me: error
: conditional
\"CONFIG_GSS
\" was never defined.
31660 Usually this means the macro was only invoked conditionally.
" >&2;}
31661 { (exit 1); exit 1; }; }
31663 if test -z "${CONFIG_RPCGEN_TRUE}" && test -z "${CONFIG_RPCGEN_FALSE}"; then
31664 { { $as_echo "$as_me:$LINENO: error
: conditional
\"CONFIG_RPCGEN
\" was never defined.
31665 Usually this means the macro was only invoked conditionally.
" >&5
31666 $as_echo "$as_me: error
: conditional
\"CONFIG_RPCGEN
\" was never defined.
31667 Usually this means the macro was only invoked conditionally.
" >&2;}
31668 { (exit 1); exit 1; }; }
31670 if test -z "${CONFIG_MOUNT_TRUE}" && test -z "${CONFIG_MOUNT_FALSE}"; then
31671 { { $as_echo "$as_me:$LINENO: error
: conditional
\"CONFIG_MOUNT
\" was never defined.
31672 Usually this means the macro was only invoked conditionally.
" >&5
31673 $as_echo "$as_me: error
: conditional
\"CONFIG_MOUNT
\" was never defined.
31674 Usually this means the macro was only invoked conditionally.
" >&2;}
31675 { (exit 1); exit 1; }; }
31677 if test -z "${CONFIG_IPV6_TRUE}" && test -z "${CONFIG_IPV6_FALSE}"; then
31678 { { $as_echo "$as_me:$LINENO: error
: conditional
\"CONFIG_IPV6
\" was never defined.
31679 Usually this means the macro was only invoked conditionally.
" >&5
31680 $as_echo "$as_me: error
: conditional
\"CONFIG_IPV6
\" was never defined.
31681 Usually this means the macro was only invoked conditionally.
" >&2;}
31682 { (exit 1); exit 1; }; }
31684 if test -z "${CONFIG_TIRPC_TRUE}" && test -z "${CONFIG_TIRPC_FALSE}"; then
31685 { { $as_echo "$as_me:$LINENO: error
: conditional
\"CONFIG_TIRPC
\" was never defined.
31686 Usually this means the macro was only invoked conditionally.
" >&5
31687 $as_echo "$as_me: error
: conditional
\"CONFIG_TIRPC
\" was never defined.
31688 Usually this means the macro was only invoked conditionally.
" >&2;}
31689 { (exit 1); exit 1; }; }
31691 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31692 { { $as_echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
31693 Usually this means the macro was only invoked conditionally.
" >&5
31694 $as_echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
31695 Usually this means the macro was only invoked conditionally.
" >&2;}
31696 { (exit 1); exit 1; }; }
31698 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31699 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
31700 Usually this means the macro was only invoked conditionally.
" >&5
31701 $as_echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
31702 Usually this means the macro was only invoked conditionally.
" >&2;}
31703 { (exit 1); exit 1; }; }
31705 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31706 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCXX
\" was never defined.
31707 Usually this means the macro was only invoked conditionally.
" >&5
31708 $as_echo "$as_me: error
: conditional
\"am__fastdepCXX
\" was never defined.
31709 Usually this means the macro was only invoked conditionally.
" >&2;}
31710 { (exit 1); exit 1; }; }
31712 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31713 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
31714 Usually this means the macro was only invoked conditionally.
" >&5
31715 $as_echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
31716 Usually this means the macro was only invoked conditionally.
" >&2;}
31717 { (exit 1); exit 1; }; }
31720 : ${CONFIG_STATUS=./config.status}
31722 ac_clean_files_save=$ac_clean_files
31723 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31724 { $as_echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
31725 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
31726 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31728 # Generated by $as_me.
31729 # Run this file to recreate the current configuration.
31730 # Compiler output produced by configure, useful for debugging
31731 # configure, is in config.log if it exists.
31734 ac_cs_recheck=false
31736 SHELL=\${CONFIG_SHELL-$SHELL}
31739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31740 ## --------------------- ##
31741 ## M4sh Initialization. ##
31742 ## --------------------- ##
31744 # Be more Bourne compatible
31745 DUALCASE=1; export DUALCASE # for MKS sh
31746 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
31749 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31750 # is contrary to our usage. Disable this feature.
31751 alias -g '${1+"$@"}'='"$@
"'
31752 setopt NO_GLOB_SUBST
31754 case `(set -o) 2>/dev/null` in
31755 *posix*) set -o posix ;;
31764 # Avoid depending upon Character Ranges.
31765 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31766 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31767 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31768 as_cr_digits='0123456789'
31769 as_cr_alnum=$as_cr_Letters$as_cr_digits
31774 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31775 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31778 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
31779 as_echo='printf %s\n'
31780 as_echo_n='printf %s'
31782 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
31783 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31784 as_echo_n='/usr/ucb/echo -n'
31786 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
31787 as_echo_n_body='eval
31791 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
31792 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
31794 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
31796 export as_echo_n_body
31797 as_echo_n='sh -c $as_echo_n_body as_echo'
31799 export as_echo_body
31800 as_echo='sh -c $as_echo_body as_echo'
31803 # The user is always right.
31804 if test "${PATH_SEPARATOR+set}" != set; then
31806 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31807 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31812 # Support unset when possible.
31813 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31821 # We need space, tab and new line, in precisely that order. Quoting is
31822 # there to prevent editors from complaining about space-tab.
31823 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31824 # splitting by setting IFS to empty value.)
31827 # Find who we are. Look in the path if we contain no directory separator.
31829 *[\\/]* ) as_myself=$0 ;;
31830 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31831 for as_dir in $PATH
31834 test -z "$as_dir" && as_dir=.
31835 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31841 # We did not find ourselves, most probably we were run as `sh COMMAND'
31842 # in which case we are not to be found in the path.
31843 if test "x
$as_myself" = x; then
31846 if test ! -f "$as_myself"; then
31847 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
31848 { (exit 1); exit 1; }
31851 # Work around bugs in pre-3.0 UWIN ksh.
31852 for as_var in ENV MAIL MAILPATH
31853 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
31865 # Required to use basename.
31866 if expr a : '\(a\)' >/dev/null 2>&1 &&
31867 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
31873 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
31874 as_basename=basename
31880 # Name of the executable.
31881 as_me=`$as_basename -- "$0" ||
31882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31883 X"$0" : 'X\(//\)$' \| \
31884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31886 sed '/^.*\/\([^/][^/]*\)\/*$/{
31905 as_lineno_1=$LINENO
31906 as_lineno_2=$LINENO
31907 test "x
$as_lineno_1" != "x
$as_lineno_2" &&
31908 test "x
`expr $as_lineno_1 + 1`" = "x
$as_lineno_2" || {
31910 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
31911 # uniformly replaced by the line number. The first 'sed' inserts a
31912 # line-number line after each line using $LINENO; the second 'sed'
31913 # does the real work. The second script uses 'N' to pair each
31914 # line-number line with the line containing $LINENO, and appends
31915 # trailing '-' during substitution so that $LINENO is not a special
31916 # case at line end.
31917 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
31918 # scripts with optimization help from Paolo Bonzini. Blame Lee
31919 # E. McMahon (1931-1989) for sed's syntax. :-)
31931 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
31934 ' >$as_me.lineno &&
31935 chmod +x "$as_me.lineno
" ||
31936 { $as_echo "$as_me: error
: cannot create
$as_me.lineno
; rerun with a POSIX shell
" >&2
31937 { (exit 1); exit 1; }; }
31939 # Don't try to exec as it changes $[0], causing all sort of problems
31940 # (the dirname of $[0] is not the place where we might find the
31941 # original and so on. Autoconf is especially sensitive to this).
31942 . ".
/$as_me.lineno
"
31943 # Exit status is that of the last command.
31948 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
31954 ECHO_C= ECHO_N= ECHO_T=
31955 case `echo -n x` in
31957 case `echo 'x\c'` in
31958 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31964 if expr a : '\(a\)' >/dev/null 2>&1 &&
31965 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
31971 rm -f conf$$ conf$$.exe conf$$.file
31972 if test -d conf$$.dir; then
31973 rm -f conf$$.dir/conf$$.file
31976 mkdir conf$$.dir 2>/dev/null
31978 if (echo >conf$$.file) 2>/dev/null; then
31979 if ln -s conf$$.file conf$$ 2>/dev/null; then
31981 # ... but there are two gotchas:
31982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31984 # In both cases, we have to default to `cp -p'.
31985 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31987 elif ln conf$$.file conf$$ 2>/dev/null; then
31995 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31996 rmdir conf$$.dir 2>/dev/null
31998 if mkdir -p . 2>/dev/null; then
32001 test -d ./-p && rmdir ./-p
32005 if test -x / >/dev/null 2>&1; then
32006 as_test_x='test -x'
32008 if ls -dL / >/dev/null 2>&1; then
32015 if test -d "$1"; then
32021 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
32022 ???[sx]*):;;*)false;;esac;fi
32026 as_executable_p=$as_test_x
32028 # Sed expression to map a string onto a valid CPP name.
32029 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32031 # Sed expression to map a string onto a valid variable name.
32032 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32037 # Save the log message, to keep $[0] and so on meaningful, and to
32038 # report actual input values of CONFIG_FILES etc. instead of their
32039 # values after options handling.
32041 This
file was extended by linux nfs-utils
$as_me 1.1.5, which was
32042 generated by GNU Autoconf
2.63. Invocation
command line was
32044 CONFIG_FILES
= $CONFIG_FILES
32045 CONFIG_HEADERS
= $CONFIG_HEADERS
32046 CONFIG_LINKS
= $CONFIG_LINKS
32047 CONFIG_COMMANDS
= $CONFIG_COMMANDS
32050 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
32055 case $ac_config_files in *"
32056 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32059 case $ac_config_headers in *"
32060 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32065 # Files that config.status was made for.
32066 config_files="$ac_config_files"
32067 config_headers="$ac_config_headers"
32068 config_commands="$ac_config_commands"
32072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32074 \
`$as_me' instantiates files from templates according to the
32075 current configuration.
32077 Usage: $0 [OPTION]... [FILE]...
32079 -h, --help print this help, then exit
32080 -V, --version print version number and configuration settings, then exit
32081 -q, --quiet, --silent
32082 do not print progress messages
32083 -d, --debug don't remove temporary files
32084 --recheck update $as_me by reconfiguring in the same conditions
32085 --file=FILE[:TEMPLATE]
32086 instantiate the configuration file FILE
32087 --header=FILE[:TEMPLATE]
32088 instantiate the configuration header FILE
32090 Configuration files:
32093 Configuration headers:
32096 Configuration commands:
32099 Report bugs to <bug-autoconf@gnu.org>."
32102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32104 linux nfs-utils config.status 1.1.5
32105 configured by $0, generated by GNU Autoconf 2.63,
32106 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
32108 Copyright (C) 2008 Free Software Foundation, Inc.
32109 This config.status script is free software; the Free Software Foundation
32110 gives unlimited permission to copy, distribute and modify it."
32117 test -n "\$AWK" || AWK=awk
32120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32121 # The default lists apply if the user does not specify any file.
32127 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32128 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32139 # Handling of the options.
32140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32142 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32143 $as_echo "$ac_cs_version"; exit ;;
32144 --debug | --debu | --deb | --de | --d | -d )
32146 --file | --fil | --fi | --f )
32149 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
32151 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
32152 ac_need_defaults=false;;
32153 --header | --heade | --head | --hea )
32156 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
32158 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
32159 ac_need_defaults=false;;
32161 # Conflict between --help and --header
32162 { $as_echo "$as_me: error: ambiguous option: $1
32163 Try \`$0 --help' for more information." >&2
32164 { (exit 1); exit 1; }; };;
32165 --help | --hel | -h )
32166 $as_echo "$ac_cs_usage"; exit ;;
32167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32171 # This is an error.
32172 -*) { $as_echo "$as_me: error: unrecognized option: $1
32173 Try \`$0 --help' for more information.
" >&2
32174 { (exit 1); exit 1; }; } ;;
32176 *) ac_config_targets="$ac_config_targets $1"
32177 ac_need_defaults=false ;;
32183 ac_configure_extra_args=
32185 if $ac_cs_silent; then
32187 ac_configure_extra_args="$ac_configure_extra_args --silent"
32191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32192 if \$ac_cs_recheck; then
32193 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32195 \$as_echo "running CONFIG_SHELL
=$SHELL \$
*" >&6
32196 CONFIG_SHELL='$SHELL'
32197 export CONFIG_SHELL
32202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32207 ## Running $as_me. ##
32213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32217 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32223 # Handling of arguments.
32224 for ac_config_target in $ac_config_targets
32226 case $ac_config_target in
32227 "depfiles
") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles
" ;;
32228 "support
/include
/config.h
") CONFIG_HEADERS="$CONFIG_HEADERS support
/include
/config.h
" ;;
32229 "Makefile
") CONFIG_FILES="$CONFIG_FILES Makefile
" ;;
32230 "linux-nfs
/Makefile
") CONFIG_FILES="$CONFIG_FILES linux-nfs
/Makefile
" ;;
32231 "support
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/Makefile
" ;;
32232 "support
/export
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/export
/Makefile
" ;;
32233 "support
/include
/nfs
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/include
/nfs
/Makefile
" ;;
32234 "support
/include
/rpcsvc
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/include
/rpcsvc
/Makefile
" ;;
32235 "support
/include
/sys
/fs
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/include
/sys
/fs
/Makefile
" ;;
32236 "support
/include
/sys
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/include
/sys
/Makefile
" ;;
32237 "support
/include
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/include
/Makefile
" ;;
32238 "support
/misc
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/misc
/Makefile
" ;;
32239 "support
/nfs
/Makefile
") CONFIG_FILES="$CONFIG_FILES support
/nfs
/Makefile
" ;;
32240 "tools
/Makefile
") CONFIG_FILES="$CONFIG_FILES tools
/Makefile
" ;;
32241 "tools
/locktest
/Makefile
") CONFIG_FILES="$CONFIG_FILES tools
/locktest
/Makefile
" ;;
32242 "tools
/nlmtest
/Makefile
") CONFIG_FILES="$CONFIG_FILES tools
/nlmtest
/Makefile
" ;;
32243 "tools
/rpcdebug
/Makefile
") CONFIG_FILES="$CONFIG_FILES tools
/rpcdebug
/Makefile
" ;;
32244 "tools
/rpcgen
/Makefile
") CONFIG_FILES="$CONFIG_FILES tools
/rpcgen
/Makefile
" ;;
32245 "utils
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/Makefile
" ;;
32246 "utils
/exportfs
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/exportfs
/Makefile
" ;;
32247 "utils
/gssd
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/gssd
/Makefile
" ;;
32248 "utils
/idmapd
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/idmapd
/Makefile
" ;;
32249 "utils
/mount
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/mount
/Makefile
" ;;
32250 "utils
/mountd
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/mountd
/Makefile
" ;;
32251 "utils
/nfsd
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/nfsd
/Makefile
" ;;
32252 "utils
/nfsstat
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/nfsstat
/Makefile
" ;;
32253 "utils
/showmount
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/showmount
/Makefile
" ;;
32254 "utils
/statd
/Makefile
") CONFIG_FILES="$CONFIG_FILES utils
/statd
/Makefile
" ;;
32256 *) { { $as_echo "$as_me:$LINENO: error
: invalid argument
: $ac_config_target" >&5
32257 $as_echo "$as_me: error
: invalid argument
: $ac_config_target" >&2;}
32258 { (exit 1); exit 1; }; };;
32263 # If the user did not use the arguments to specify the items to instantiate,
32264 # then the envvar interface is used. Set only those that are not.
32265 # We use the long form for the default assignment because of an extremely
32266 # bizarre bug on SunOS 4.1.3.
32267 if $ac_need_defaults; then
32268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32269 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32270 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32273 # Have a temporary directory for convenience. Make it in the build tree
32274 # simply because there is no reason against having it here, and in addition,
32275 # creating and moving files from /tmp can sometimes cause problems.
32276 # Hook for its removal unless debugging.
32277 # Note that there is a small window in which the directory will not be cleaned:
32278 # after its creation but before its name has been assigned to `$tmp'.
32282 trap 'exit_status=$?
32283 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
32285 trap '{ (exit 1); exit 1; }' 1 2 13 15
32287 # Create a (secure) tmp directory for tmp files.
32290 tmp=`(umask 077 && mktemp -d ".
/confXXXXXX
") 2>/dev/null` &&
32291 test -n "$tmp" && test -d "$tmp"
32294 tmp=./conf$$-$RANDOM
32295 (umask 077 && mkdir "$tmp")
32298 $as_echo "$as_me: cannot create a temporary directory
in .
" >&2
32299 { (exit 1); exit 1; }
32302 # Set up the scripts for CONFIG_FILES section.
32303 # No need to generate them if there are no CONFIG_FILES.
32304 # This happens for instance with `./config.status config.h'.
32305 if test -n "$CONFIG_FILES"; then
32309 ac_cs_awk_cr=`$AWK 'BEGIN { print "a
\rb
" }' </dev/null 2>/dev/null`
32310 if test "$ac_cs_awk_cr" = "a
${ac_cr}b
"; then
32313 ac_cs_awk_cr=$ac_cr
32316 echo 'BEGIN {' >"$tmp/subs1.
awk" &&
32321 echo "cat >conf$
$subs.
awk <<_ACEOF" &&
32322 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32324 } >conf$$subs.sh ||
32325 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
32326 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
32327 { (exit 1); exit 1; }; }
32328 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
32330 for ac_last_try in false false false false false :; do
32331 . ./conf$$subs.sh ||
32332 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
32333 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
32334 { (exit 1); exit 1; }; }
32336 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32337 if test $ac_delim_n = $ac_delim_num; then
32339 elif $ac_last_try; then
32340 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
32341 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
32342 { (exit 1); exit 1; }; }
32344 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32347 rm -f conf$$subs.sh
32349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32350 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
32354 s/^/S["/; s
/!.
*/"]=/
32364 s/\(.\{148\}\).*/\1/
32366 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32371 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32378 s/\(.\{148\}\).*/\1/
32380 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32384 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32389 ' <conf$$subs.awk | sed '
32394 ' >>$CONFIG_STATUS || ac_write_fail=1
32395 rm -f conf$$subs.awk
32396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32398 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
32399 for (key in S) S_is_set[key] = 1
32405 nfields = split(line, field, "@
")
32407 len = length(field[1])
32408 for (i = 2; i < nfields; i++) {
32410 keylen = length(key)
32411 if (S_is_set[key]) {
32413 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32414 len += length(value) + length(field[++i])
32425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32426 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32427 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32430 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
32431 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
32432 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
32433 { (exit 1); exit 1; }; }
32436 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32437 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
32438 # trailing colons and then remove the whole line if VPATH becomes empty
32439 # (actually we leave an empty line to preserve line numbers).
32440 if test "x
$srcdir" = x.; then
32441 ac_vpsub='/^[ ]*VPATH[ ]*=/{
32442 s/:*\$(srcdir):*/:/
32443 s/:*\${srcdir}:*/:/
32445 s/^\([^=]*=[ ]*\):*/\1/
32451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32452 fi # test -n "$CONFIG_FILES"
32454 # Set up the scripts for CONFIG_HEADERS section.
32455 # No need to generate them if there are no CONFIG_HEADERS.
32456 # This happens for instance with `./config.status Makefile'.
32457 if test -n "$CONFIG_HEADERS"; then
32458 cat >"$tmp/defines.
awk" <<\_ACAWK ||
32462 # Transform confdefs.h into an awk script `defines.awk', embedded as
32463 # here-document in config.status, that substitutes the proper values into
32464 # config.h.in to produce config.h.
32466 # Create a delimiter string that does not exist in confdefs.h, to ease
32467 # handling of long lines.
32469 for ac_last_try in false false :; do
32470 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
32471 if test -z "$ac_t"; then
32473 elif $ac_last_try; then
32474 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
32475 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
32476 { (exit 1); exit 1; }; }
32478 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32482 # For the awk script, D is an array of macro values keyed by name,
32483 # likewise P contains macro parameters if any. Preserve backslash
32484 # newline sequences.
32486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32488 s/.\{148\}/&'"$ac_delim"'/g
32491 s/^[ ]*#[ ]*define[ ][ ]*/ /
32498 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32500 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32505 D["\
1"]=" \
3\\\\\\n
"\\/p
32507 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32512 s/.\{148\}/&'"$ac_delim"'/g
32517 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32520 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32522 ' <confdefs.h | sed '
32523 s/'"$ac_delim"'/"\\\
32524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32527 for (key in D) D_is_set[key] = 1
32530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32532 split(line, arg, " ")
32533 if (arg[1] == "#") {
32537 defundef
= substr
(arg
[1], 2)
32540 split(mac1
, mac2
, "(") #)
32542 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
32543 if (D_is_set
[macro
]) {
32544 # Preserve the white space surrounding the "#".
32545 print prefix
"define", macro P
[macro
] D
[macro
]
32548 # Replace #undef with comments. This is necessary, for example,
32549 # in the case of _POSIX_SOURCE, which is predefined and required
32550 # on some systems where configure will not decide to define it.
32551 if (defundef
== "undef") {
32552 print
"/*", prefix defundef
, macro
, "*/"
32560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32561 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
32562 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
32563 { (exit 1); exit 1; }; }
32564 fi # test -n "$CONFIG_HEADERS"
32567 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32572 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32574 case $ac_mode$ac_tag in
32576 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
32577 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
32578 { (exit 1); exit 1; }; };;
32579 :[FH
]-) ac_tag
=-:-;;
32580 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32597 -) ac_f
="$tmp/stdin";;
32598 *) # Look for the file first in the build tree, then in the source tree
32599 # (if the path is not absolute). The absolute path cannot be DOS-style,
32600 # because $ac_f cannot contain `:'.
32604 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32606 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
32607 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
32608 { (exit 1); exit 1; }; };;
32610 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32611 ac_file_inputs
="$ac_file_inputs '$ac_f'"
32614 # Let's still pretend it is `configure' which instantiates (i.e., don't
32615 # use $as_me), people would be surprised to read:
32616 # /* config.h. Generated by config.status. */
32617 configure_input
='Generated from '`
32618 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32620 if test x
"$ac_file" != x-
; then
32621 configure_input
="$ac_file. $configure_input"
32622 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
32623 $as_echo "$as_me: creating $ac_file" >&6;}
32625 # Neutralize special characters interpreted by sed in replacement strings.
32626 case $configure_input in #(
32627 *\
&* |
*\|
* |
*\\* )
32628 ac_sed_conf_input
=`$as_echo "$configure_input" |
32629 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32630 *) ac_sed_conf_input
=$configure_input;;
32634 *:-:* |
*:-) cat >"$tmp/stdin" \
32635 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32636 $as_echo "$as_me: error: could not create $ac_file" >&2;}
32637 { (exit 1); exit 1; }; } ;;
32642 ac_dir
=`$as_dirname -- "$ac_file" ||
32643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32644 X"$ac_file" : 'X\(//\)[^/]' \| \
32645 X"$ac_file" : 'X\(//\)$' \| \
32646 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32647 $as_echo X"$ac_file" |
32648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32652 /^X\(\/\/\)[^/].*/{
32667 -*) as_dir
=.
/$as_dir;;
32669 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
32673 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32674 *) as_qdir
=$as_dir;;
32676 as_dirs
="'$as_qdir' $as_dirs"
32677 as_dir
=`$as_dirname -- "$as_dir" ||
32678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32679 X"$as_dir" : 'X\(//\)[^/]' \| \
32680 X"$as_dir" : 'X\(//\)$' \| \
32681 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32682 $as_echo X"$as_dir" |
32683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32687 /^X\(\/\/\)[^/].*/{
32700 test -d "$as_dir" && break
32702 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
32703 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
32704 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
32705 { (exit 1); exit 1; }; }; }
32709 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32711 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32712 # A ".." for each directory in $ac_dir_suffix.
32713 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32714 case $ac_top_builddir_sub in
32715 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32716 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
32719 ac_abs_top_builddir
=$ac_pwd
32720 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
32721 # for backward compatibility:
32722 ac_top_builddir
=$ac_top_build_prefix
32725 .
) # We are building in place.
32727 ac_top_srcdir
=$ac_top_builddir_sub
32728 ac_abs_top_srcdir
=$ac_pwd ;;
32729 [\\/]* | ?
:[\\/]* ) # Absolute name.
32730 ac_srcdir
=$srcdir$ac_dir_suffix;
32731 ac_top_srcdir
=$srcdir
32732 ac_abs_top_srcdir
=$srcdir ;;
32733 *) # Relative name.
32734 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
32735 ac_top_srcdir
=$ac_top_build_prefix$srcdir
32736 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
32738 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
32748 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
32749 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
32751 ac_MKDIR_P
=$MKDIR_P
32753 [\\/$
]* | ?
:[\\/]* ) ;;
32754 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
32758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32759 # If the template does not know about datarootdir, expand it.
32760 # FIXME: This hack should be removed a few years after 2.60.
32761 ac_datarootdir_hack
=; ac_datarootdir_seen
=
32774 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32775 *datarootdir
*) ac_datarootdir_seen
=yes;;
32776 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
32777 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32778 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32781 ac_datarootdir_hack='
32782 s&@datadir@&$datadir&g
32783 s&@docdir@&$docdir&g
32784 s&@infodir@&$infodir&g
32785 s&@localedir@&$localedir&g
32786 s&@mandir@&$mandir&g
32787 s&\\\${datarootdir}&$datarootdir&g' ;;
32791 # Neutralize VPATH when `$srcdir' = `.'.
32792 # Shell code in configure.ac might set extrasub.
32793 # FIXME: do we really want to maintain this feature?
32794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32795 ac_sed_extra="$ac_vpsub
32798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32800 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
32801 s|@configure_input@|
$ac_sed_conf_input|
;t t
32802 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
32803 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
32804 s
&@srcdir@
&$ac_srcdir&;t t
32805 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
32806 s
&@top_srcdir@
&$ac_top_srcdir&;t t
32807 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
32808 s
&@builddir@
&$ac_builddir&;t t
32809 s
&@abs_builddir@
&$ac_abs_builddir&;t t
32810 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
32811 s
&@INSTALL@
&$ac_INSTALL&;t t
32812 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
32813 $ac_datarootdir_hack
32815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
32816 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
32817 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
32818 { (exit 1); exit 1; }; }
32820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32821 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
32822 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
32823 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
32824 which seems to be undefined. Please make sure it is defined." >&5
32825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
32826 which seems to be undefined. Please make sure it is defined." >&2;}
32830 -) cat "$tmp/out" && rm -f "$tmp/out";;
32831 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
32833 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32834 $as_echo "$as_me: error: could not create $ac_file" >&2;}
32835 { (exit 1); exit 1; }; }
32841 if test x"$ac_file" != x-; then
32843 $as_echo "/* $configure_input */" \
32844 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
32845 } >"$tmp/config.h" \
32846 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32847 $as_echo "$as_me: error: could not create $ac_file" >&2;}
32848 { (exit 1); exit 1; }; }
32849 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
32850 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32851 $as_echo "$as_me: $ac_file is unchanged" >&6;}
32854 mv "$tmp/config.h" "$ac_file" \
32855 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32856 $as_echo "$as_me: error: could not create $ac_file" >&2;}
32857 { (exit 1); exit 1; }; }
32860 $as_echo "/* $configure_input */" \
32861 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
32862 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
32863 $as_echo "$as_me: error: could not create -" >&2;}
32864 { (exit 1); exit 1; }; }
32866 # Compute "$ac_file"'s index
in $config_headers.
32869 for _am_header
in $config_headers :; do
32870 case $_am_header in
32871 $_am_arg |
$_am_arg:* )
32874 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
32877 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
32878 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32879 X"$_am_arg" : 'X\(//\)[^/]' \| \
32880 X"$_am_arg" : 'X\(//\)$' \| \
32881 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
32882 $as_echo X"$_am_arg" |
32883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32887 /^X\(\/\/\)[^/].*/{
32899 s/.*/./; q'`/stamp-h
$_am_stamp_count
32902 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
32903 $as_echo "$as_me: executing $ac_file commands" >&6;}
32908 case $ac_file$ac_mode in
32909 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
32910 # Strip MF so we end up with the name of the file.
32911 mf
=`echo "$mf" | sed -e 's/:.*$//'`
32912 # Check whether this is an Automake generated Makefile or not.
32913 # We used to match only the files named `Makefile.in', but
32914 # some people rename them; so instead we look at the file content.
32915 # Grep'ing the first line is not enough: some people post-process
32916 # each Makefile.in and add a new line on top of each file to say so.
32917 # Grep'ing the whole file is not good either: AIX grep has a line
32918 # limit of 2048, but all sed's we know have understand at least 4000.
32919 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
32920 dirpart
=`$as_dirname -- "$mf" ||
32921 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32922 X"$mf" : 'X\(//\)[^/]' \| \
32923 X"$mf" : 'X\(//\)$' \| \
32924 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
32926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32930 /^X\(\/\/\)[^/].*/{
32946 # Extract the definition of DEPDIR, am__include, and am__quote
32947 # from the Makefile without running `make'.
32948 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
32949 test -z "$DEPDIR" && continue
32950 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
32951 test -z "am__include" && continue
32952 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
32953 # When using ansi2knr, U may be empty or an underscore; expand it
32954 U
=`sed -n 's/^U = //p' < "$mf"`
32955 # Find all dependency output files, they are included files with
32956 # $(DEPDIR) in their names. We invoke sed twice because it is the
32957 # simplest approach to changing $(DEPDIR) to its actual value in the
32959 for file in `sed -n "
32960 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32961 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32962 # Make sure the directory exists.
32963 test -f "$dirpart/$file" && continue
32964 fdir
=`$as_dirname -- "$file" ||
32965 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32966 X"$file" : 'X\(//\)[^/]' \| \
32967 X"$file" : 'X\(//\)$' \| \
32968 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32969 $as_echo X"$file" |
32970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32974 /^X\(\/\/\)[^/].*/{
32987 { as_dir
=$dirpart/$fdir
32989 -*) as_dir
=.
/$as_dir;;
32991 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
32995 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32996 *) as_qdir
=$as_dir;;
32998 as_dirs
="'$as_qdir' $as_dirs"
32999 as_dir
=`$as_dirname -- "$as_dir" ||
33000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33001 X"$as_dir" : 'X\(//\)[^/]' \| \
33002 X"$as_dir" : 'X\(//\)$' \| \
33003 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33004 $as_echo X"$as_dir" |
33005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33009 /^X\(\/\/\)[^/].*/{
33022 test -d "$as_dir" && break
33024 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
33025 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
33026 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
33027 { (exit 1); exit 1; }; }; }
33028 # echo "creating $dirpart/$file"
33029 echo '# dummy' > "$dirpart/$file"
33038 { (exit 0); exit 0; }
33040 chmod +x
$CONFIG_STATUS
33041 ac_clean_files
=$ac_clean_files_save
33043 test $ac_write_fail = 0 ||
33044 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
33045 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
33046 { (exit 1); exit 1; }; }
33049 # configure is writing to config.log, and then calls config.status.
33050 # config.status does its own redirection, appending to config.log.
33051 # Unfortunately, on DOS this fails, as config.log is still kept open
33052 # by configure, so config.status won't be able to write to it; its
33053 # output is simply discarded. So we exec the FD to /dev/null,
33054 # effectively closing config.log, so it can be properly (re)opened and
33055 # appended to by config.status. When coming back to configure, we
33056 # need to make the FD available again.
33057 if test "$no_create" != yes; then
33059 ac_config_status_args
=
33060 test "$silent" = yes &&
33061 ac_config_status_args
="$ac_config_status_args --quiet"
33063 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
33065 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33066 # would make configure fail if this is the last instruction.
33067 $ac_cs_success ||
{ (exit 1); exit 1; }
33069 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
33070 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
33071 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}