--- a/configure.ac +++ b/configure.ac @@ -1205,7 +1205,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 ], [return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])], AC_MSG_RESULT(yes)