projects
/
userspace-rcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5e2d1
)
Fix autoconf futex check
author
David Goulet
<dgoulet@efficios.com>
Mon, 9 Jan 2012 23:11:23 +0000
(18:11 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Mon, 9 Jan 2012 23:11:23 +0000
(18:11 -0500)
The check was always returning true.
Signed-off-by: David Goulet <dgoulet@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 46770c5d3adfa23b99955dccd29a0c9e4fbc8ad8..f18d95b7fa5ce4d7db8eced08e9d71af5bbf812f 100644
(file)
--- 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])
This page took
0.025518 seconds
and
4
git commands to generate.