-for ac_header in sys/poll.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
-if test "x$ac_cv_header_sys_poll_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_SYS_POLL_H 1
-_ACEOF
- have_poll_sys_h=yes
-else
- have_sys_poll_h=no
-fi
-
-done
-
-
for ac_header in fcntl.h sys/time.h unistd.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
dnl Checks for libraries.
-dnl Checks for header files.
-AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no)
-
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
-for ac_header in sys/poll.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
-if test "x$ac_cv_header_sys_poll_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_SYS_POLL_H 1
-_ACEOF
- have_poll_sys_h=yes
-else
- have_sys_poll_h=no
-fi
-
-done
-
-
for ac_header in fcntl.h sys/time.h unistd.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
fi
-if test "$have_sys_poll_h" = "no"; then
- for ac_func in select
-do :
- ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
-if test "x$ac_cv_func_select" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_SELECT 1
-_ACEOF
- have_select=yes
-else
- have_select=no
-fi
-done
-
- if test "$have_select" = "no"; then
- as_fn_error $? "No select() implementation found" "$LINENO" 5
- fi
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
if ${ac_cv_c_bigendian+:} false; then :
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
-dnl Checks for header files.
-AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no)
-
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_TIME
-dnl if they want select() or they don't have poll() then we need to check
-dnl that we actually have select()
-if test "$have_sys_poll_h" = "no"; then
- AC_CHECK_FUNCS(select, have_select=yes, have_select=no)
- if test "$have_select" = "no"; then
- AC_MSG_ERROR([No select() implementation found])
- fi
-fi
-
dnl AIX fun
AC_C_BIGENDIAN
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
-/* Define to 1 if you have the `select' function. */
-#undef HAVE_SELECT
-
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
-/* Define to 1 if you have the <sys/poll.h> header file. */
-#undef HAVE_SYS_POLL_H
-
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
-/* Define to 1 if you have the <sys/poll.h> header file. */
-#undef HAVE_SYS_POLL_H
-
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H