event/SignalMonitor: use signalfd() if available

This commit is contained in:
Max Kellermann
2013-08-06 23:13:24 +02:00
parent 930128a7ea
commit 4223657ab8
5 changed files with 194 additions and 1 deletions

View File

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