From cfa0520d911287f5c470d74272c578bc041077bf Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 9 Jun 2011 11:27:11 -0400 Subject: [PATCH] Update liburcu version check liburcu symbols have changed (_bp suffix added for the -bp flavor used by UST), and we now depend on urcu 0.5.5 for struct rcu_head definition. Therefore, check for synchronize_rcu_bp and call_rcu_bp. Signed-off-by: Mathieu Desnoyers --- configure.ac | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index cbe2396..e32f11e 100644 --- a/configure.ac +++ b/configure.ac @@ -70,14 +70,10 @@ AC_CHECK_HEADERS([urcu-bp.h], [], [AC_MSG_ERROR([Cannot find [URCU] headers (urc This error can also occur when the liburcu package's configure script has not been run.])]) # urcu - check that URCU lib is available to compilation -AC_CHECK_LIB([urcu-bp], [synchronize_rcu], [], [AC_MSG_ERROR([Cannot find liburcu-bp lib. Use [LDFLAGS]=-Ldir to specify its location.])]) - -# urcu - check that URCU lib is at least version 0.5.4 -AC_CHECK_LIB([urcu-bp], [rcu_bp_before_fork], [], [AC_MSG_ERROR([liburcu 0.5.4 or newer is needed, please update your version or use [LDFLAGS]=-Ldir to specify the right location.])]) - -# urcu - check that URCU lib is at least version 0.5 -AC_CHECK_DECL([cds_list_add(0, 0)], [], [AC_MSG_ERROR([liburcu 0.5 or newer is needed, please update your version or use [LDFLAGS]=-Ldir to specify the right location.])], [[#include ]]) +AC_CHECK_LIB([urcu-bp], [synchronize_rcu_bp], [], [AC_MSG_ERROR([Cannot find liburcu-bp lib. Use [LDFLAGS]=-Ldir to specify its location.])]) +# urcu - check that URCU lib is at least version 0.5.5 +AC_CHECK_LIB([urcu-bp], [call_rcu_bp], [], [AC_MSG_ERROR([liburcu 0.5.5 or newer is needed, please update your version or use [LDFLAGS]=-Ldir to specify the right location.])]) # Check for various supplementary host information (beyond the -- 2.34.1