[lttng-dev] [LTTng-tools PATCH] Update URCU detection to correctly check for a 0.7 version

Yannick Brosseau yannick.brosseau at gmail.com
Thu Jun 27 17:03:29 EDT 2013


Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
 configure.ac |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 792679a..36c4ae1 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 <urcu.h>]]
 )
+#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 <urcu.h>]]
+)
 
 AC_ARG_WITH(lttng-ust-prefix,
   AS_HELP_STRING([--with-lttng-ust-prefix=PATH],
-- 
1.7.10.4




More information about the lttng-dev mailing list