From 3e83b4aaf634df43ec3654346618eb49af9a04bc 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 f39dd23a7..b577d55b2 100644 --- a/configure.ac +++ b/configure.ac @@ -244,6 +244,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