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:34:39 +0000 (12: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 25168ce53d524dda6d5bfc675d40b5d9ab9a605c..47b794f9bc493b5de8207b1a8991d6bc69e75e6d 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.026373 seconds and 4 git commands to generate.