The check was always returning true.
Signed-off-by: David Goulet <[email protected]>
---
configure.ac | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 46770c5..f18d95b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,13 +102,12 @@ AS_IF([test "x$ARCHTYPE" = "xx86"],[
# Check if sys_futex() is available
AC_MSG_CHECKING([for sys_futex()])
-AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <sys/syscall.h>
- ]],[[
#ifndef __NR_futex
#error "futexes not available"
#endif
- ]])
+ ])
],[
AC_MSG_RESULT([yes])
AC_DEFINE([CONFIG_RCU_HAVE_FUTEX], [1])
--
1.7.8.2
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev