From ea10597e54150d570125fe5130db88d059f6392e Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 10 May 2016 16:00:28 -0400 Subject: [PATCH] configure.ac: check for an existing liburcu-cds symbol MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes #1001 Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) 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], [], -- 2.34.1