Skip to contentSkip to conversation

Update URCU detection to correctly check for a 0.7 version

PATCH David Goulet 1 participant 1 message Jun 28, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Merged!

Yannick Brosseau:

Quoted 20 lines
---
 configure.ac |    4 ++++
 1 file changed, 4 insertions(+)
configure.ac +4 -0
index 792679a..36c4ae1 100644
@@ -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],