X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=f18d95b7fa5ce4d7db8eced08e9d71af5bbf812f;hb=657e7f898de916a8b2bfa375ee2605f2776d825e;hp=46770c5d3adfa23b99955dccd29a0c9e4fbc8ad8;hpb=ec5e2d14f9f53372f97cb7347d5f343ae0bdd0ad;p=userspace-rcu.git 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 - ]],[[ #ifndef __NR_futex #error "futexes not available" #endif - ]]) + ]) ],[ AC_MSG_RESULT([yes]) AC_DEFINE([CONFIG_RCU_HAVE_FUTEX], [1])