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.8.0~117 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=45f25f06c3cc8303f01b1a5220718506aaf15482;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 699bae225..716b36a8b 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], [],