ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/m4/ax_arg_ioloop_mechanism.m4
(Generate patch)

Comparing ircd-hybrid/trunk/m4/ax_arg_ioloop_mechanism.m4 (file contents):
Revision 8531 by michael, Wed Jul 20 17:09:49 2016 UTC vs.
Revision 8532 by michael, Sun Apr 29 15:03:39 2018 UTC

# Line 18 | Line 18 | AC_DEFUN([AX_ARG_IOLOOP_MECHANISM],[
18  
19    iopoll_mechanism_epoll=2
20    AC_DEFINE_UNQUOTED([__IOPOLL_MECHANISM_EPOLL],[$iopoll_mechanism_epoll],[epoll mechanism])
21 <  AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <sys/epoll.h>], [epoll_create(256);])], [is_epoll_mechanism_available="yes"],[is_epoll_mechanism_available="no"])
21 >  AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <sys/epoll.h>], [epoll_create1(EPOLL_CLOEXEC);])], [is_epoll_mechanism_available="yes"],[is_epoll_mechanism_available="no"])
22  
23    iopoll_mechanism_devpoll=3
24    AC_DEFINE_UNQUOTED([__IOPOLL_MECHANISM_DEVPOLL],[$iopoll_mechanism_devpoll],[devpoll mechanism])

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)