From: ueno Date: Wed, 17 Oct 2001 04:26:12 +0000 (+0000) Subject: * configure.in: Check the existence of sys/poll.h. X-Git-Tag: starttls-0_9~26 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b1a6d3dead81cb433fb1cf57cf4ccad597762a9;p=elisp%2Fstarttls.git * configure.in: Check the existence of sys/poll.h. --- 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