From 9eadc48f682566355e03e85f0c4dabedefd86d53 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 25168ce53..47b794f9b 100644 --- a/configure.ac +++ b/configure.ac @@ -298,6 +298,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