eventfd: Disable during cross compilation

Reported by Lonnie Abelbeck <lonnie@abelbeck.com> via private e-mail.

Change-Id: Icc80f12b8d8d591e14a8e0ed9f1c02cbd193a89b
This commit is contained in:
Sean Bright
2017-06-07 15:32:57 -04:00
parent 9f054955f2
commit e497a76d24
2 changed files with 5 additions and 6 deletions

View File

@@ -1131,7 +1131,8 @@ AC_RUN_IFELSE(
[return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])],
AC_MSG_RESULT(yes)
AC_DEFINE([HAVE_EVENTFD], 1, [Define to 1 if your system supports eventfd and the EFD_NONBLOCK and EFD_SEMAPHORE flags.]),
AC_MSG_RESULT(no)
AC_MSG_RESULT(no),
AC_MSG_RESULT(cross-compile)
)
AST_GCC_ATTRIBUTE(pure)