X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=8e94bd0eec61fc0332185d8e9d395c4c37cfb908;hb=96712f860eca478e97626494642305b047504f50;hp=28d037b7b34596a551d9446f41ab123a5a6e0444;hpb=a10984f577a5b43d15bd176d5e35bab58c3049d3;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index 28d037b7b..8e94bd0ee 100644 --- a/configure.ac +++ b/configure.ac @@ -492,7 +492,7 @@ AC_SUBST(UUID_LIBS) AC_CHECK_FUNC([clock_gettime], [AC_DEFINE_UNQUOTED([LTTNG_HAVE_CLOCK_GETTIME], 1, [Has clock_gettime() support.])]) # URCU library version needed or newer -m4_define([WRONG_LIBURCU_MSG], [Userspace RCU (liburcu) >= 0.9.0 is needed]) +m4_define([WRONG_LIBURCU_MSG], [Userspace RCU (liburcu) >= 0.11.0 is needed]) # Check liburcu needed function calls AC_CHECK_DECL([cds_list_add], [], @@ -517,9 +517,9 @@ AC_CHECK_DECL([cmm_smp_mb__before_uatomic_or], [], [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include ]] ) -#Function added in urcu 0.9.0 -AC_CHECK_DECL([urcu_ref_get_unless_zero], [], - [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include ]] +#Function added in urcu 0.11.0 +AC_CHECK_DECL([urcu_memb_barrier], [], + [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include ]] ) # Check for libkmod, it will be auto-neabled if found but won't fail if it's not,