summaryrefslogtreecommitdiff
path: root/net/asterisk-16.x/patches/130-eventfd.patch
blob: de4441bf87c9d0e867c0c90f841c9628725f7586 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure.ac
+++ b/configure.ac
@@ -1206,7 +1206,7 @@ if test "${ac_cv_have_variable_fdset}x"
 fi
 
 AC_MSG_CHECKING([if we have usable eventfd support])
-AC_RUN_IFELSE(
+AC_LINK_IFELSE(
   [AC_LANG_PROGRAM([#include <sys/eventfd.h>],
       [return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])],
   AC_MSG_RESULT(yes)