Merge pull request #533 from micmac1/rtpe-parallel
[feed/telephony.git] / net / asterisk-16.x / patches / 130-eventfd.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -1206,7 +1206,7 @@ if test "${ac_cv_have_variable_fdset}x"
4 fi
5
6 AC_MSG_CHECKING([if we have usable eventfd support])
7 -AC_RUN_IFELSE(
8 +AC_LINK_IFELSE(
9 [AC_LANG_PROGRAM([#include <sys/eventfd.h>],
10 [return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])],
11 AC_MSG_RESULT(yes)