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:39:12 +0000 (12:39 -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 699bae2251cfc89fc9e4df2015ce1d9cfce82004..716b36a8b6bc605d4a437019f36cae6a7a236e63 100644 (file)
@@ -298,6 +298,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.025824 seconds and 4 git commands to generate.