From: Philippe Proulx Date: Tue, 10 May 2016 20:00:28 +0000 (-0400) Subject: configure.ac: check for an existing liburcu-cds symbol X-Git-Tag: v2.6.3~61 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ea10597e54150d570125fe5130db88d059f6392e;p=lttng-tools.git configure.ac: check for an existing liburcu-cds symbol Fixes #1001 Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index 5c25b6ff7..55efaa391 100644 --- a/configure.ac +++ b/configure.ac @@ -213,6 +213,8 @@ AC_CHECK_DECL([rcu_thread_online], [], [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include ]]) AC_CHECK_DECL([caa_likely], [], [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include ]]) +AC_CHECK_LIB([urcu-cds], [_cds_lfht_new], [], + [AC_MSG_ERROR([WRONG_LIBURCU_MSG])]) #Function added in urcu 0.7.0 AC_CHECK_DECL([cmm_smp_mb__before_uatomic_or], [],