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

David Goulet dgoulet at efficios.com
Fri Jun 28 11:21:30 EDT 2013


Merged!

Yannick Brosseau:
> 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],



More information about the lttng-dev mailing list