X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=a4fb30826f08b2553afa9cbd99aa3014ceb6edbc;hb=b94384c0525ff159b7605c8010c8543388f3e71d;hp=d51bed46641bf2a5623483024e28e475ef6d52c5;hpb=8be567a49c92924d7eec3dfa5839a58acb7050e9;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index d51bed46..a4fb3082 100644 --- a/configure.ac +++ b/configure.ac @@ -276,10 +276,12 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ ]) # urcu - check that URCU lib is available to compilation -AC_CHECK_LIB([urcu-bp], [synchronize_rcu_bp], [], [AC_MSG_ERROR([Cannot find liburcu-bp lib. Use [LDFLAGS]=-Ldir to specify its location.])]) +# Check for 'synchronize_rcu_bp' and then failback to 'urcu_bp_synchronize_rcu' as the former was +# removed from the ABI in liburcu 0.13. +AC_CHECK_LIB([urcu-bp], [synchronize_rcu_bp], [], [ + AC_CHECK_LIB([urcu-bp], [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.6 -AC_CHECK_LIB([urcu-bp], [call_rcu_bp], [], [AC_MSG_ERROR([liburcu 0.6 or newer is needed, please update your version or use [LDFLAGS]=-Ldir to specify the right location.])]) # numa.h integration AS_IF([test "x$NO_NUMA" = "x1"],[