configure.ac: check for an existing liburcu-cds symbol
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 10 May 2016 20:00:28 +0000 (16:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 20:34:56 +0000 (16:34 -0400)
Fixes #1001

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac

index 5c25b6ff7e88fa886bf0fa8b095bcebbbd40202d..55efaa391e98a5f966fd5a4c28304b882be56e19 100644 (file)
@@ -213,6 +213,8 @@ AC_CHECK_DECL([rcu_thread_online], [],
        [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include <urcu.h>]])
 AC_CHECK_DECL([caa_likely], [],
        [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include <urcu.h>]])
+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], [],
This page took 0.026298 seconds and 4 git commands to generate.