From 1b1a6d3dead81cb433fb1cf57cf4ccad597762a9 Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 17 Oct 2001 04:26:12 +0000 Subject: [PATCH] * configure.in: Check the existence of sys/poll.h. --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 83c9ed4..19fc59e 100644 --- a/configure.in +++ b/configure.in @@ -9,12 +9,13 @@ AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PROG_RANLIB -AC_CHECK_HEADERS(libgen.h sys/select.h socks.h) +AC_CHECK_HEADERS(libgen.h sys/select.h socks.h sys/poll.h) AC_CHECK_LIB(nsl, gethostbyname) AC_CHECK_LIB(socket, socket) AC_CHECK_TYPE(fd_set, int) AC_REPLACE_FUNCS(basename getaddrinfo) +AC_CHECK_FUNC(poll) AC_CACHE_CHECK([for struct addrinfo], ac_cv_struct_addrinfo, [AC_TRY_COMPILE([#include -- 1.7.10.4