event/EPollFD: basic support for Linux epoll

This commit is contained in:
Max Kellermann
2013-08-07 19:18:08 +02:00
parent f6f4742410
commit dff05c71e6
4 changed files with 114 additions and 0 deletions

View File

@@ -142,6 +142,7 @@ AC_SEARCH_LIBS([gethostbyname], [nsl])
AC_CHECK_FUNCS(pipe2 accept4)
MPD_OPTIONAL_FUNC(eventfd, eventfd, USE_EVENTFD)
MPD_OPTIONAL_FUNC(signalfd, signalfd, USE_SIGNALFD)
MPD_OPTIONAL_FUNC(epoll, epoll_create1, USE_EPOLL)
AC_SEARCH_LIBS([exp], [m],,
[AC_MSG_ERROR([exp() not found])])