325 |
# include <unistd.h> |
# include <unistd.h> |
326 |
#endif" |
#endif" |
327 |
|
|
|
gl_func_list= |
|
328 |
gl_header_list= |
gl_header_list= |
329 |
|
gl_func_list= |
330 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ac_prefix_program MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB LN_S PERL CSH MKTEMP SENDMAIL PR ROFF PS2PDF TEXI2DVI MAKE_TARGETS_IN_VPATH_TRUE MAKE_TARGETS_IN_VPATH_FALSE LIBOBJS ALLOCA ALLOCA_H STDBOOL_H HAVE__BOOL FNMATCH_H YACC YFLAGS LIB_CLOCK_GETTIME GETOPT_H LIB_NANOSLEEP HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H EOVERFLOW MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB GLOB_H HAVE_PUTENV cvs_client_objects KRB4 ZLIB_SUBDIRS ZLIB_CPPFLAGS ZLIB_LIBS with_default_rsh RSH_DFLT EDITOR LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ac_prefix_program MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB LN_S PERL CSH MKTEMP SENDMAIL PR ROFF PS2PDF TEXI2DVI MAKE_TARGETS_IN_VPATH_TRUE MAKE_TARGETS_IN_VPATH_FALSE LIBOBJS ALLOCA ALLOCA_H STDBOOL_H HAVE__BOOL FNMATCH_H YACC YFLAGS LIB_CLOCK_GETTIME GETOPT_H LIB_NANOSLEEP HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H EOVERFLOW MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB GLOB_H HAVE_PUTENV cvs_client_objects KRB4 ZLIB_SUBDIRS ZLIB_CPPFLAGS ZLIB_LIBS with_default_rsh RSH_DFLT EDITOR LTLIBOBJS' |
331 |
ac_subst_files='MKTEMP_SH_FUNCTION' |
ac_subst_files='MKTEMP_SH_FUNCTION' |
332 |
|
|
1467 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1468 |
|
|
1469 |
|
|
|
gl_func_list="$gl_func_list fchdir" |
|
1470 |
gl_header_list="$gl_header_list unistd.h" |
gl_header_list="$gl_header_list unistd.h" |
1471 |
|
gl_func_list="$gl_func_list fchdir" |
1472 |
gl_func_list="$gl_func_list mempcpy" |
gl_func_list="$gl_func_list mempcpy" |
1473 |
gl_header_list="$gl_header_list sys/time.h" |
gl_header_list="$gl_header_list sys/time.h" |
1474 |
gl_func_list="$gl_func_list isascii" |
gl_func_list="$gl_func_list isascii" |
2050 |
|
|
2051 |
|
|
2052 |
|
|
2053 |
|
|
2054 |
|
cat >>confdefs.h <<\_ACEOF |
2055 |
|
#define _GNU_SOURCE 1 |
2056 |
|
_ACEOF |
2057 |
|
|
2058 |
|
|
2059 |
DEPDIR="${am__leading_dot}deps" |
DEPDIR="${am__leading_dot}deps" |
2060 |
|
|
2061 |
ac_config_commands="$ac_config_commands depfiles" |
ac_config_commands="$ac_config_commands depfiles" |
3842 |
|
|
3843 |
|
|
3844 |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define _GNU_SOURCE 1 |
|
|
_ACEOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
3845 |
|
|
3846 |
|
|
3847 |
|
|
3861 |
|
|
3862 |
|
|
3863 |
|
|
3864 |
|
|
3865 |
|
|
3866 |
|
|
3867 |
ac_ext=c |
ac_ext=c |
3868 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
3869 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8617 |
|
|
8618 |
fi |
fi |
8619 |
|
|
8620 |
|
|
8621 |
|
|
8622 |
|
|
8623 |
|
|
8624 |
|
|
8625 |
|
for ac_header in $gl_header_list |
8626 |
|
do |
8627 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8628 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8629 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8630 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8631 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8632 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8633 |
|
fi |
8634 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8635 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8636 |
|
else |
8637 |
|
# Is the header compilable? |
8638 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8639 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8640 |
|
cat >conftest.$ac_ext <<_ACEOF |
8641 |
|
/* confdefs.h. */ |
8642 |
|
_ACEOF |
8643 |
|
cat confdefs.h >>conftest.$ac_ext |
8644 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8645 |
|
/* end confdefs.h. */ |
8646 |
|
$ac_includes_default |
8647 |
|
#include <$ac_header> |
8648 |
|
_ACEOF |
8649 |
|
rm -f conftest.$ac_objext |
8650 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8651 |
|
(eval $ac_compile) 2>conftest.er1 |
8652 |
|
ac_status=$? |
8653 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8654 |
|
rm -f conftest.er1 |
8655 |
|
cat conftest.err >&5 |
8656 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8657 |
|
(exit $ac_status); } && |
8658 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8659 |
|
|| test ! -s conftest.err' |
8660 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8661 |
|
(eval $ac_try) 2>&5 |
8662 |
|
ac_status=$? |
8663 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8664 |
|
(exit $ac_status); }; } && |
8665 |
|
{ ac_try='test -s conftest.$ac_objext' |
8666 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8667 |
|
(eval $ac_try) 2>&5 |
8668 |
|
ac_status=$? |
8669 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8670 |
|
(exit $ac_status); }; }; then |
8671 |
|
ac_header_compiler=yes |
8672 |
|
else |
8673 |
|
echo "$as_me: failed program was:" >&5 |
8674 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8675 |
|
|
8676 |
|
ac_header_compiler=no |
8677 |
|
fi |
8678 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8679 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8680 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8681 |
|
|
8682 |
|
# Is the header present? |
8683 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8684 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8685 |
|
cat >conftest.$ac_ext <<_ACEOF |
8686 |
|
/* confdefs.h. */ |
8687 |
|
_ACEOF |
8688 |
|
cat confdefs.h >>conftest.$ac_ext |
8689 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8690 |
|
/* end confdefs.h. */ |
8691 |
|
#include <$ac_header> |
8692 |
|
_ACEOF |
8693 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8694 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8695 |
|
ac_status=$? |
8696 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8697 |
|
rm -f conftest.er1 |
8698 |
|
cat conftest.err >&5 |
8699 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8700 |
|
(exit $ac_status); } >/dev/null; then |
8701 |
|
if test -s conftest.err; then |
8702 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
8703 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
8704 |
|
else |
8705 |
|
ac_cpp_err= |
8706 |
|
fi |
8707 |
|
else |
8708 |
|
ac_cpp_err=yes |
8709 |
|
fi |
8710 |
|
if test -z "$ac_cpp_err"; then |
8711 |
|
ac_header_preproc=yes |
8712 |
|
else |
8713 |
|
echo "$as_me: failed program was:" >&5 |
8714 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8715 |
|
|
8716 |
|
ac_header_preproc=no |
8717 |
|
fi |
8718 |
|
rm -f conftest.err conftest.$ac_ext |
8719 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8720 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8721 |
|
|
8722 |
|
# So? What about this header? |
8723 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8724 |
|
yes:no: ) |
8725 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8726 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8727 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8728 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8729 |
|
ac_header_preproc=yes |
8730 |
|
;; |
8731 |
|
no:yes:* ) |
8732 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8733 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8734 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8735 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8736 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8737 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8738 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8739 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8740 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8741 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8742 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8743 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8744 |
|
( |
8745 |
|
cat <<\_ASBOX |
8746 |
|
## --------------------------------- ## |
8747 |
|
## Report this to bug-cvs@nongnu.org ## |
8748 |
|
## --------------------------------- ## |
8749 |
|
_ASBOX |
8750 |
|
) | |
8751 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8752 |
|
;; |
8753 |
|
esac |
8754 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8755 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8756 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8757 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8758 |
|
else |
8759 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
8760 |
|
fi |
8761 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8762 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8763 |
|
|
8764 |
|
fi |
8765 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8766 |
|
cat >>confdefs.h <<_ACEOF |
8767 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8768 |
|
_ACEOF |
8769 |
|
|
8770 |
|
fi |
8771 |
|
|
8772 |
|
done |
8773 |
|
|
8774 |
|
|
8775 |
|
|
8776 |
|
|
8777 |
|
|
8778 |
|
|
8779 |
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
8780 |
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 |
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 |
8781 |
if test "${ac_cv_header_stdbool_h+set}" = set; then |
if test "${ac_cv_header_stdbool_h+set}" = set; then |
9052 |
|
|
9053 |
|
|
9054 |
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in $gl_header_list |
|
|
do |
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
else |
|
|
# Is the header compilable? |
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
$ac_includes_default |
|
|
#include <$ac_header> |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_header_compiler=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_header_compiler=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
|
|
# Is the header present? |
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <$ac_header> |
|
|
_ACEOF |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } >/dev/null; then |
|
|
if test -s conftest.err; then |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
else |
|
|
ac_cpp_err= |
|
|
fi |
|
|
else |
|
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
|
ac_header_preproc=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_header_preproc=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
|
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
|
|
# So? What about this header? |
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
yes:no: ) |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
ac_header_preproc=yes |
|
|
;; |
|
|
no:yes:* ) |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
( |
|
|
cat <<\_ASBOX |
|
|
## --------------------------------- ## |
|
|
## Report this to bug-cvs@nongnu.org ## |
|
|
## --------------------------------- ## |
|
|
_ASBOX |
|
|
) | |
|
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
|
;; |
|
|
esac |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
eval "$as_ac_Header=\$ac_header_preproc" |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
|
|
|
fi |
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9055 |
case $LIBOBJS in |
case $LIBOBJS in |
9056 |
"save-cwd.$ac_objext" | \ |
"save-cwd.$ac_objext" | \ |
9057 |
*" save-cwd.$ac_objext" | \ |
*" save-cwd.$ac_objext" | \ |
15976 |
|
|
15977 |
|
|
15978 |
|
|
15979 |
|
case $LIBOBJS in |
15980 |
|
"canon-host.$ac_objext" | \ |
15981 |
|
*" canon-host.$ac_objext" | \ |
15982 |
|
"canon-host.$ac_objext "* | \ |
15983 |
|
*" canon-host.$ac_objext "* ) ;; |
15984 |
|
*) LIBOBJS="$LIBOBJS canon-host.$ac_objext" ;; |
15985 |
|
esac |
15986 |
|
|
15987 |
|
|
15988 |
|
|
15989 |
|
: |
15990 |
|
|
15991 |
|
|
15992 |
|
|
15993 |
|
|
15994 |
|
|
15995 |
|
|
15996 |
|
|
15997 |
|
|
15998 |
|
|
15999 |
|
for ac_header in netdb.h sys/socket.h netinet/in.h arpa/inet.h |
16000 |
|
do |
16001 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16002 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16003 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16004 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
16005 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16006 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16007 |
|
fi |
16008 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
16009 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
16010 |
|
else |
16011 |
|
# Is the header compilable? |
16012 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16013 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
16014 |
|
cat >conftest.$ac_ext <<_ACEOF |
16015 |
|
/* confdefs.h. */ |
16016 |
|
_ACEOF |
16017 |
|
cat confdefs.h >>conftest.$ac_ext |
16018 |
|
cat >>conftest.$ac_ext <<_ACEOF |
16019 |
|
/* end confdefs.h. */ |
16020 |
|
$ac_includes_default |
16021 |
|
#include <$ac_header> |
16022 |
|
_ACEOF |
16023 |
|
rm -f conftest.$ac_objext |
16024 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16025 |
|
(eval $ac_compile) 2>conftest.er1 |
16026 |
|
ac_status=$? |
16027 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16028 |
|
rm -f conftest.er1 |
16029 |
|
cat conftest.err >&5 |
16030 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16031 |
|
(exit $ac_status); } && |
16032 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
16033 |
|
|| test ! -s conftest.err' |
16034 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16035 |
|
(eval $ac_try) 2>&5 |
16036 |
|
ac_status=$? |
16037 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16038 |
|
(exit $ac_status); }; } && |
16039 |
|
{ ac_try='test -s conftest.$ac_objext' |
16040 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16041 |
|
(eval $ac_try) 2>&5 |
16042 |
|
ac_status=$? |
16043 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16044 |
|
(exit $ac_status); }; }; then |
16045 |
|
ac_header_compiler=yes |
16046 |
|
else |
16047 |
|
echo "$as_me: failed program was:" >&5 |
16048 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
16049 |
|
|
16050 |
|
ac_header_compiler=no |
16051 |
|
fi |
16052 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
16053 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16054 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
16055 |
|
|
16056 |
|
# Is the header present? |
16057 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16058 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
16059 |
|
cat >conftest.$ac_ext <<_ACEOF |
16060 |
|
/* confdefs.h. */ |
16061 |
|
_ACEOF |
16062 |
|
cat confdefs.h >>conftest.$ac_ext |
16063 |
|
cat >>conftest.$ac_ext <<_ACEOF |
16064 |
|
/* end confdefs.h. */ |
16065 |
|
#include <$ac_header> |
16066 |
|
_ACEOF |
16067 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
16068 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
16069 |
|
ac_status=$? |
16070 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16071 |
|
rm -f conftest.er1 |
16072 |
|
cat conftest.err >&5 |
16073 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16074 |
|
(exit $ac_status); } >/dev/null; then |
16075 |
|
if test -s conftest.err; then |
16076 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
16077 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
16078 |
|
else |
16079 |
|
ac_cpp_err= |
16080 |
|
fi |
16081 |
|
else |
16082 |
|
ac_cpp_err=yes |
16083 |
|
fi |
16084 |
|
if test -z "$ac_cpp_err"; then |
16085 |
|
ac_header_preproc=yes |
16086 |
|
else |
16087 |
|
echo "$as_me: failed program was:" >&5 |
16088 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
16089 |
|
|
16090 |
|
ac_header_preproc=no |
16091 |
|
fi |
16092 |
|
rm -f conftest.err conftest.$ac_ext |
16093 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16094 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
16095 |
|
|
16096 |
|
# So? What about this header? |
16097 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16098 |
|
yes:no: ) |
16099 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16100 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
16101 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
16102 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
16103 |
|
ac_header_preproc=yes |
16104 |
|
;; |
16105 |
|
no:yes:* ) |
16106 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
16107 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
16108 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
16109 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
16110 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
16111 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
16112 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
16113 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
16114 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
16115 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
16116 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
16117 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
16118 |
|
( |
16119 |
|
cat <<\_ASBOX |
16120 |
|
## --------------------------------- ## |
16121 |
|
## Report this to bug-cvs@nongnu.org ## |
16122 |
|
## --------------------------------- ## |
16123 |
|
_ASBOX |
16124 |
|
) | |
16125 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
16126 |
|
;; |
16127 |
|
esac |
16128 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16129 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
16130 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16131 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16132 |
|
else |
16133 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
16134 |
|
fi |
16135 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
16136 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
16137 |
|
|
16138 |
|
fi |
16139 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
16140 |
|
cat >>confdefs.h <<_ACEOF |
16141 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16142 |
|
_ACEOF |
16143 |
|
|
16144 |
|
fi |
16145 |
|
|
16146 |
|
done |
16147 |
|
|
16148 |
|
|
16149 |
|
echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 |
16150 |
|
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6 |
16151 |
|
if test "${ac_cv_search_gethostbyname+set}" = set; then |
16152 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16153 |
|
else |
16154 |
|
ac_func_search_save_LIBS=$LIBS |
16155 |
|
ac_cv_search_gethostbyname=no |
16156 |
|
cat >conftest.$ac_ext <<_ACEOF |
16157 |
|
/* confdefs.h. */ |
16158 |
|
_ACEOF |
16159 |
|
cat confdefs.h >>conftest.$ac_ext |
16160 |
|
cat >>conftest.$ac_ext <<_ACEOF |
16161 |
|
/* end confdefs.h. */ |
16162 |
|
|
16163 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
16164 |
|
#ifdef __cplusplus |
16165 |
|
extern "C" |
16166 |
|
#endif |
16167 |
|
/* We use char because int might match the return type of a gcc2 |
16168 |
|
builtin and then its argument prototype would still apply. */ |
16169 |
|
char gethostbyname (); |
16170 |
|
int |
16171 |
|
main () |
16172 |
|
{ |
16173 |
|
gethostbyname (); |
16174 |
|
; |
16175 |
|
return 0; |
16176 |
|
} |
16177 |
|
_ACEOF |
16178 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
16179 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16180 |
|
(eval $ac_link) 2>conftest.er1 |
16181 |
|
ac_status=$? |
16182 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16183 |
|
rm -f conftest.er1 |
16184 |
|
cat conftest.err >&5 |
16185 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16186 |
|
(exit $ac_status); } && |
16187 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
16188 |
|
|| test ! -s conftest.err' |
16189 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16190 |
|
(eval $ac_try) 2>&5 |
16191 |
|
ac_status=$? |
16192 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16193 |
|
(exit $ac_status); }; } && |
16194 |
|
{ ac_try='test -s conftest$ac_exeext' |
16195 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16196 |
|
(eval $ac_try) 2>&5 |
16197 |
|
ac_status=$? |
16198 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16199 |
|
(exit $ac_status); }; }; then |
16200 |
|
ac_cv_search_gethostbyname="none required" |
16201 |
|
else |
16202 |
|
echo "$as_me: failed program was:" >&5 |
16203 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
16204 |
|
|
16205 |
|
fi |
16206 |
|
rm -f conftest.err conftest.$ac_objext \ |
16207 |
|
conftest$ac_exeext conftest.$ac_ext |
16208 |
|
if test "$ac_cv_search_gethostbyname" = no; then |
16209 |
|
for ac_lib in inet nsl; do |
16210 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16211 |
|
cat >conftest.$ac_ext <<_ACEOF |
16212 |
|
/* confdefs.h. */ |
16213 |
|
_ACEOF |
16214 |
|
cat confdefs.h >>conftest.$ac_ext |
16215 |
|
cat >>conftest.$ac_ext <<_ACEOF |
16216 |
|
/* end confdefs.h. */ |
16217 |
|
|
16218 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
16219 |
|
#ifdef __cplusplus |
16220 |
|
extern "C" |
16221 |
|
#endif |
16222 |
|
/* We use char because int might match the return type of a gcc2 |
16223 |
|
builtin and then its argument prototype would still apply. */ |
16224 |
|
char gethostbyname (); |
16225 |
|
int |
16226 |
|
main () |
16227 |
|
{ |
16228 |
|
gethostbyname (); |
16229 |
|
; |
16230 |
|
return 0; |
16231 |
|
} |
16232 |
|
_ACEOF |
16233 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
16234 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16235 |
|
(eval $ac_link) 2>conftest.er1 |
16236 |
|
ac_status=$? |
16237 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16238 |
|
rm -f conftest.er1 |
16239 |
|
cat conftest.err >&5 |
16240 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16241 |
|
(exit $ac_status); } && |
16242 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
16243 |
|
|| test ! -s conftest.err' |
16244 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16245 |
|
(eval $ac_try) 2>&5 |
16246 |
|
ac_status=$? |
16247 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16248 |
|
(exit $ac_status); }; } && |
16249 |
|
{ ac_try='test -s conftest$ac_exeext' |
16250 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16251 |
|
(eval $ac_try) 2>&5 |
16252 |
|
ac_status=$? |
16253 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16254 |
|
(exit $ac_status); }; }; then |
16255 |
|
ac_cv_search_gethostbyname="-l$ac_lib" |
16256 |
|
break |
16257 |
|
else |
16258 |
|
echo "$as_me: failed program was:" >&5 |
16259 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
16260 |
|
|
16261 |
|
fi |
16262 |
|
rm -f conftest.err conftest.$ac_objext \ |
16263 |
|
conftest$ac_exeext conftest.$ac_ext |
16264 |
|
done |
16265 |
|
fi |
16266 |
|
LIBS=$ac_func_search_save_LIBS |
16267 |
|
fi |
16268 |
|
echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 |
16269 |
|
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6 |
16270 |
|
if test "$ac_cv_search_gethostbyname" != no; then |
16271 |
|
test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS" |
16272 |
|
|
16273 |
|
fi |
16274 |
|
|
16275 |
|
|
16276 |
|
|
16277 |
|
|
16278 |
|
|
16279 |
|
|
16280 |
|
for ac_func in getaddrinfo gethostbyname gethostbyaddr inet_ntoa |
16281 |
|
do |
16282 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16283 |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
16284 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
16285 |
|
if eval "test \"\${$as_ac_var+set}\" = set"; then |
16286 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
16287 |
|
else |
16288 |
|
cat >conftest.$ac_ext <<_ACEOF |
16289 |
|
/* confdefs.h. */ |
16290 |
|
_ACEOF |
16291 |
|
cat confdefs.h >>conftest.$ac_ext |
16292 |
|
cat >>conftest.$ac_ext <<_ACEOF |
16293 |
|
/* end confdefs.h. */ |
16294 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
16295 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
16296 |
|
#define $ac_func innocuous_$ac_func |
16297 |
|
|
16298 |
|
/* System header to define __stub macros and hopefully few prototypes, |
16299 |
|
which can conflict with char $ac_func (); below. |
16300 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
16301 |
|
<limits.h> exists even on freestanding compilers. */ |
16302 |
|
|
16303 |
|
#ifdef __STDC__ |
16304 |
|
# include <limits.h> |
16305 |
|
#else |
16306 |
|
# include <assert.h> |
16307 |
|
#endif |
16308 |
|
|
16309 |
|
#undef $ac_func |
16310 |
|
|
16311 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
16312 |
|
#ifdef __cplusplus |
16313 |
|
extern "C" |
16314 |
|
{ |
16315 |
|
#endif |
16316 |
|
/* We use char because int might match the return type of a gcc2 |
16317 |
|
builtin and then its argument prototype would still apply. */ |
16318 |
|
char $ac_func (); |
16319 |
|
/* The GNU C library defines this for functions which it implements |
16320 |
|
to always fail with ENOSYS. Some functions are actually named |
16321 |
|
something starting with __ and the normal name is an alias. */ |
16322 |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
16323 |
|
choke me |
16324 |
|
#else |
16325 |
|
char (*f) () = $ac_func; |
16326 |
|
#endif |
16327 |
|
#ifdef __cplusplus |
16328 |
|
} |
16329 |
|
#endif |
16330 |
|
|
16331 |
|
int |
16332 |
|
main () |
16333 |
|
{ |
16334 |
|
return f != $ac_func; |
16335 |
|
; |
16336 |
|
return 0; |
16337 |
|
} |
16338 |
|
_ACEOF |
16339 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
16340 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16341 |
|
(eval $ac_link) 2>conftest.er1 |
16342 |
|
ac_status=$? |
16343 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
16344 |
|
rm -f conftest.er1 |
16345 |
|
cat conftest.err >&5 |
16346 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16347 |
|
(exit $ac_status); } && |
16348 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
16349 |
|
|| test ! -s conftest.err' |
16350 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16351 |
|
(eval $ac_try) 2>&5 |
16352 |
|
ac_status=$? |
16353 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16354 |
|
(exit $ac_status); }; } && |
16355 |
|
{ ac_try='test -s conftest$ac_exeext' |
16356 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16357 |
|
(eval $ac_try) 2>&5 |
16358 |
|
ac_status=$? |
16359 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16360 |
|
(exit $ac_status); }; }; then |
16361 |
|
eval "$as_ac_var=yes" |
16362 |
|
else |
16363 |
|
echo "$as_me: failed program was:" >&5 |
16364 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
16365 |
|
|
16366 |
|
eval "$as_ac_var=no" |
16367 |
|
fi |
16368 |
|
rm -f conftest.err conftest.$ac_objext \ |
16369 |
|
conftest$ac_exeext conftest.$ac_ext |
16370 |
|
fi |
16371 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
16372 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
16373 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
16374 |
|
cat >>confdefs.h <<_ACEOF |
16375 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16376 |
|
_ACEOF |
16377 |
|
|
16378 |
|
fi |
16379 |
|
done |
16380 |
|
|
16381 |
|
|
16382 |
|
|
16383 |
|
|
16384 |
case $LIBOBJS in |
case $LIBOBJS in |
16385 |
"canonicalize.$ac_objext" | \ |
"canonicalize.$ac_objext" | \ |
16386 |
*" canonicalize.$ac_objext" | \ |
*" canonicalize.$ac_objext" | \ |
20670 |
|
|
20671 |
|
|
20672 |
|
|
20673 |
|
: |
20674 |
|
|
20675 |
|
|
20676 |
|
|
20677 |
|
: |
20678 |
|
|
20679 |
|
|
20680 |
|
|
20681 |
case $LIBOBJS in |
case $LIBOBJS in |
20682 |
"md5.$ac_objext" | \ |
"md5.$ac_objext" | \ |
20683 |
*" md5.$ac_objext" | \ |
*" md5.$ac_objext" | \ |
20694 |
|
|
20695 |
|
|
20696 |
|
|
20697 |
|
for ac_func in memchr |
20698 |
|
do |
20699 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20700 |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20701 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
20702 |
|
if eval "test \"\${$as_ac_var+set}\" = set"; then |
20703 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20704 |
|
else |
20705 |
|
cat >conftest.$ac_ext <<_ACEOF |
20706 |
|
/* confdefs.h. */ |
20707 |
|
_ACEOF |
20708 |
|
cat confdefs.h >>conftest.$ac_ext |
20709 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20710 |
|
/* end confdefs.h. */ |
20711 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
20712 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
20713 |
|
#define $ac_func innocuous_$ac_func |
20714 |
|
|
20715 |
|
/* System header to define __stub macros and hopefully few prototypes, |
20716 |
|
which can conflict with char $ac_func (); below. |
20717 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
20718 |
|
<limits.h> exists even on freestanding compilers. */ |
20719 |
|
|
20720 |
|
#ifdef __STDC__ |
20721 |
|
# include <limits.h> |
20722 |
|
#else |
20723 |
|
# include <assert.h> |
20724 |
|
#endif |
20725 |
|
|
20726 |
|
#undef $ac_func |
20727 |
|
|
20728 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
20729 |
|
#ifdef __cplusplus |
20730 |
|
extern "C" |
20731 |
|
{ |
20732 |
|
#endif |
20733 |
|
/* We use char because int might match the return type of a gcc2 |
20734 |
|
builtin and then its argument prototype would still apply. */ |
20735 |
|
char $ac_func (); |
20736 |
|
/* The GNU C library defines this for functions which it implements |
20737 |
|
to always fail with ENOSYS. Some functions are actually named |
20738 |
|
something starting with __ and the normal name is an alias. */ |
20739 |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
20740 |
|
choke me |
20741 |
|
#else |
20742 |
|
char (*f) () = $ac_func; |
20743 |
|
#endif |
20744 |
|
#ifdef __cplusplus |
20745 |
|
} |
20746 |
|
#endif |
20747 |
|
|
20748 |
|
int |
20749 |
|
main () |
20750 |
|
{ |
20751 |
|
return f != $ac_func; |
20752 |
|
; |
20753 |
|
return 0; |
20754 |
|
} |
20755 |
|
_ACEOF |
20756 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
20757 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20758 |
|
(eval $ac_link) 2>conftest.er1 |
20759 |
|
ac_status=$? |
20760 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20761 |
|
rm -f conftest.er1 |
20762 |
|
cat conftest.err >&5 |
20763 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20764 |
|
(exit $ac_status); } && |
20765 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
20766 |
|
|| test ! -s conftest.err' |
20767 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20768 |
|
(eval $ac_try) 2>&5 |
20769 |
|
ac_status=$? |
20770 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20771 |
|
(exit $ac_status); }; } && |
20772 |
|
{ ac_try='test -s conftest$ac_exeext' |
20773 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20774 |
|
(eval $ac_try) 2>&5 |
20775 |
|
ac_status=$? |
20776 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20777 |
|
(exit $ac_status); }; }; then |
20778 |
|
eval "$as_ac_var=yes" |
20779 |
|
else |
20780 |
|
echo "$as_me: failed program was:" >&5 |
20781 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20782 |
|
|
20783 |
|
eval "$as_ac_var=no" |
20784 |
|
fi |
20785 |
|
rm -f conftest.err conftest.$ac_objext \ |
20786 |
|
conftest$ac_exeext conftest.$ac_ext |
20787 |
|
fi |
20788 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
20789 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
20790 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
20791 |
|
cat >>confdefs.h <<_ACEOF |
20792 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20793 |
|
_ACEOF |
20794 |
|
|
20795 |
|
else |
20796 |
|
case $LIBOBJS in |
20797 |
|
"$ac_func.$ac_objext" | \ |
20798 |
|
*" $ac_func.$ac_objext" | \ |
20799 |
|
"$ac_func.$ac_objext "* | \ |
20800 |
|
*" $ac_func.$ac_objext "* ) ;; |
20801 |
|
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; |
20802 |
|
esac |
20803 |
|
|
20804 |
|
fi |
20805 |
|
done |
20806 |
|
|
20807 |
|
|
20808 |
|
if test $ac_cv_func_memchr = no; then |
20809 |
|
|
20810 |
|
|
20811 |
|
for ac_header in bp-sym.h |
20812 |
|
do |
20813 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20814 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20815 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20816 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20817 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20818 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20819 |
|
fi |
20820 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20821 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20822 |
|
else |
20823 |
|
# Is the header compilable? |
20824 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20825 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
20826 |
|
cat >conftest.$ac_ext <<_ACEOF |
20827 |
|
/* confdefs.h. */ |
20828 |
|
_ACEOF |
20829 |
|
cat confdefs.h >>conftest.$ac_ext |
20830 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20831 |
|
/* end confdefs.h. */ |
20832 |
|
$ac_includes_default |
20833 |
|
#include <$ac_header> |
20834 |
|
_ACEOF |
20835 |
|
rm -f conftest.$ac_objext |
20836 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20837 |
|
(eval $ac_compile) 2>conftest.er1 |
20838 |
|
ac_status=$? |
20839 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20840 |
|
rm -f conftest.er1 |
20841 |
|
cat conftest.err >&5 |
20842 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20843 |
|
(exit $ac_status); } && |
20844 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
20845 |
|
|| test ! -s conftest.err' |
20846 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20847 |
|
(eval $ac_try) 2>&5 |
20848 |
|
ac_status=$? |
20849 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20850 |
|
(exit $ac_status); }; } && |
20851 |
|
{ ac_try='test -s conftest.$ac_objext' |
20852 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20853 |
|
(eval $ac_try) 2>&5 |
20854 |
|
ac_status=$? |
20855 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20856 |
|
(exit $ac_status); }; }; then |
20857 |
|
ac_header_compiler=yes |
20858 |
|
else |
20859 |
|
echo "$as_me: failed program was:" >&5 |
20860 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20861 |
|
|
20862 |
|
ac_header_compiler=no |
20863 |
|
fi |
20864 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20865 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20866 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
20867 |
|
|
20868 |
|
# Is the header present? |
20869 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20870 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
20871 |
|
cat >conftest.$ac_ext <<_ACEOF |
20872 |
|
/* confdefs.h. */ |
20873 |
|
_ACEOF |
20874 |
|
cat confdefs.h >>conftest.$ac_ext |
20875 |
|
cat >>conftest.$ac_ext <<_ACEOF |
20876 |
|
/* end confdefs.h. */ |
20877 |
|
#include <$ac_header> |
20878 |
|
_ACEOF |
20879 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
20880 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
20881 |
|
ac_status=$? |
20882 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
20883 |
|
rm -f conftest.er1 |
20884 |
|
cat conftest.err >&5 |
20885 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20886 |
|
(exit $ac_status); } >/dev/null; then |
20887 |
|
if test -s conftest.err; then |
20888 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
20889 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
20890 |
|
else |
20891 |
|
ac_cpp_err= |
20892 |
|
fi |
20893 |
|
else |
20894 |
|
ac_cpp_err=yes |
20895 |
|
fi |
20896 |
|
if test -z "$ac_cpp_err"; then |
20897 |
|
ac_header_preproc=yes |
20898 |
|
else |
20899 |
|
echo "$as_me: failed program was:" >&5 |
20900 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
20901 |
|
|
20902 |
|
ac_header_preproc=no |
20903 |
|
fi |
20904 |
|
rm -f conftest.err conftest.$ac_ext |
20905 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20906 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
20907 |
|
|
20908 |
|
# So? What about this header? |
20909 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20910 |
|
yes:no: ) |
20911 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20912 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
20913 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
20914 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
20915 |
|
ac_header_preproc=yes |
20916 |
|
;; |
20917 |
|
no:yes:* ) |
20918 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
20919 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
20920 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
20921 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
20922 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
20923 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
20924 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
20925 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20926 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20927 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20928 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20929 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20930 |
|
( |
20931 |
|
cat <<\_ASBOX |
20932 |
|
## --------------------------------- ## |
20933 |
|
## Report this to bug-cvs@nongnu.org ## |
20934 |
|
## --------------------------------- ## |
20935 |
|
_ASBOX |
20936 |
|
) | |
20937 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
20938 |
|
;; |
20939 |
|
esac |
20940 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20941 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20942 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20943 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
20944 |
|
else |
20945 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
20946 |
|
fi |
20947 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20948 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20949 |
|
|
20950 |
|
fi |
20951 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20952 |
|
cat >>confdefs.h <<_ACEOF |
20953 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20954 |
|
_ACEOF |
20955 |
|
|
20956 |
|
fi |
20957 |
|
|
20958 |
|
done |
20959 |
|
|
20960 |
|
|
20961 |
|
fi |
20962 |
|
|
20963 |
|
|
20964 |
|
|
20965 |
for ac_func in memmove |
for ac_func in memmove |
20966 |
do |
do |
20967 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
25116 |
fi |
fi |
25117 |
|
|
25118 |
|
|
25119 |
|
echo "$as_me:$LINENO: checking for ssize_t" >&5 |
25120 |
|
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 |
25121 |
|
if test "${gt_cv_ssize_t+set}" = set; then |
25122 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
25123 |
|
else |
25124 |
|
cat >conftest.$ac_ext <<_ACEOF |
25125 |
|
/* confdefs.h. */ |
25126 |
|
_ACEOF |
25127 |
|
cat confdefs.h >>conftest.$ac_ext |
25128 |
|
cat >>conftest.$ac_ext <<_ACEOF |
25129 |
|
/* end confdefs.h. */ |
25130 |
|
#include <sys/types.h> |
25131 |
|
int |
25132 |
|
main () |
25133 |
|
{ |
25134 |
|
int x = sizeof (ssize_t *) + sizeof (ssize_t); |
25135 |
|
; |
25136 |
|
return 0; |
25137 |
|
} |
25138 |
|
_ACEOF |
25139 |
|
rm -f conftest.$ac_objext |
25140 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
25141 |
|
(eval $ac_compile) 2>conftest.er1 |
25142 |
|
ac_status=$? |
25143 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
25144 |
|
rm -f conftest.er1 |
25145 |
|
cat conftest.err >&5 |
25146 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25147 |
|
(exit $ac_status); } && |
25148 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
25149 |
|
|| test ! -s conftest.err' |
25150 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25151 |
|
(eval $ac_try) 2>&5 |
25152 |
|
ac_status=$? |
25153 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25154 |
|
(exit $ac_status); }; } && |
25155 |
|
{ ac_try='test -s conftest.$ac_objext' |
25156 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25157 |
|
(eval $ac_try) 2>&5 |
25158 |
|
ac_status=$? |
25159 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25160 |
|
(exit $ac_status); }; }; then |
25161 |
|
gt_cv_ssize_t=yes |
25162 |
|
else |
25163 |
|
echo "$as_me: failed program was:" >&5 |
25164 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
25165 |
|
|
25166 |
|
gt_cv_ssize_t=no |
25167 |
|
fi |
25168 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
25169 |
|
fi |
25170 |
|
echo "$as_me:$LINENO: result: $gt_cv_ssize_t" >&5 |
25171 |
|
echo "${ECHO_T}$gt_cv_ssize_t" >&6 |
25172 |
|
if test $gt_cv_ssize_t = no; then |
25173 |
|
|
25174 |
|
cat >>confdefs.h <<\_ACEOF |
25175 |
|
#define ssize_t int |
25176 |
|
_ACEOF |
25177 |
|
|
25178 |
|
fi |
25179 |
|
|
25180 |
|
|
25181 |
|
|
25182 |
|
|
25183 |
|
|
37090 |
|
|
37091 |
fi |
fi |
37092 |
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for library containing hstrerror" >&5 |
|
|
echo $ECHO_N "checking for library containing hstrerror... $ECHO_C" >&6 |
|
|
if test "${ac_cv_search_hstrerror+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_func_search_save_LIBS=$LIBS |
|
|
ac_cv_search_hstrerror=no |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char hstrerror (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
hstrerror (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_search_hstrerror="none required" |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
if test "$ac_cv_search_hstrerror" = no; then |
|
|
for ac_lib in resolv; do |
|
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
#ifdef __cplusplus |
|
|
extern "C" |
|
|
#endif |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char hstrerror (); |
|
|
int |
|
|
main () |
|
|
{ |
|
|
hstrerror (); |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_search_hstrerror="-l$ac_lib" |
|
|
break |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext \ |
|
|
conftest$ac_exeext conftest.$ac_ext |
|
|
done |
|
|
fi |
|
|
LIBS=$ac_func_search_save_LIBS |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5 |
|
|
echo "${ECHO_T}$ac_cv_search_hstrerror" >&6 |
|
|
if test "$ac_cv_search_hstrerror" != no; then |
|
|
test "$ac_cv_search_hstrerror" = "none required" || LIBS="$ac_cv_search_hstrerror $LIBS" |
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define HAVE_HSTRERROR 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
37093 |
|
|
37094 |
|
|
37095 |
|
|