synchronize_rcu symbol is going away with userspace rcu 0.6. lttng-tools
is not using this library directly anyway, just the list header provided
by urcu. Therefore only check for the list header.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
)
# Check liburcu
-AC_CHECK_LIB([urcu], [synchronize_rcu], [],
- [AC_MSG_ERROR([Cannot find liburcu. Use [LDFLAGS]=-Ldir to specify its location.])]
-)
AC_CHECK_DECL([cds_list_add], [],
[AC_MSG_ERROR([liburcu 0.5.4 or newer is needed])], [[#include <urcu/list.h>]]
)