Trying to update the yocto recipe for asterisk to 13.16.0 but cross compiling was broken by the configuration test for eventfd support:
AC_MSG_CHECKING([if we have usable eventfd support])
[return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])],
AC_DEFINE([HAVE_EVENTFD], 1, [Define to 1 if your system supports eventfd and the EFD_NONBLOCK and EFD_SEMAPHORE flags.]),
As I understand it, I need to supply a cached result for this test but the generated script seems written to just fail in the cross-compilation case
Any idea on how to bypass/preset this test?
Is the test written so it could use a cached variable?