projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix autoconf futex check
[userspace-rcu.git]
/
configure.ac
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()])
# 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>
#include <sys/syscall.h>
- ]],[[
#ifndef __NR_futex
#error "futexes not available"
#endif
#ifndef __NR_futex
#error "futexes not available"
#endif
- ]
]
)
+ ])
],[
AC_MSG_RESULT([yes])
AC_DEFINE([CONFIG_RCU_HAVE_FUTEX], [1])
],[
AC_MSG_RESULT([yes])
AC_DEFINE([CONFIG_RCU_HAVE_FUTEX], [1])
This page took
0.023006 seconds
and
4
git commands to generate.