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>
Sun, 15 May 2016 16:37:54 +0000 (12:37 -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 f39dd23a76024e0fed9966b926ba263cb4817f17..b577d55b2c2ce39727b5de7a9fa5a3e9825297b5 100644 (file)
@@ -244,6 +244,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.026009 seconds and 4 git commands to generate.