From ec97375edac4cda301125010309283343db4ad74 Mon Sep 17 00:00:00 2001 From: Yannick Brosseau Date: Thu, 27 Jun 2013 17:03:29 -0400 Subject: [PATCH] Update URCU detection to correctly check for a 0.7 version Signed-off-by: Yannick Brosseau --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 40e6fd6bd..ab93a105b 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,10 @@ AC_CHECK_DECL([rcu_thread_online], [], AC_CHECK_DECL([caa_likely], [], [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] ) +#Function added in urcu 0.7.0 +AC_CHECK_DECL([cmm_smp_mb__before_uatomic_or], [], + [AC_MSG_ERROR([liburcu $liburcu_version or newer is needed])], [[#include ]] +) AC_ARG_WITH(lttng-ust-prefix, AS_HELP_STRING([--with-lttng-ust-prefix=PATH], -- 2.34.1