summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-06-07 15:32:57 -0400
committerSean Bright <sean.bright@gmail.com>2017-06-07 14:36:17 -0500
commit590ffcaf0b03bbe3d25730ad750a2075a46c7208 (patch)
treeec2bb3d834e9dde3f137bd2663ad8372848ebb75 /configure.ac
parent812f5b51cb56a36668decc6dfc83adeca185429e (diff)
eventfd: Disable during cross compilation
Reported by Lonnie Abelbeck <lonnie@abelbeck.com> via private e-mail. Change-Id: Icc80f12b8d8d591e14a8e0ed9f1c02cbd193a89b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e36f2de6d..120b0f831 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1104,7 +1104,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)