[lttng-dev] [PATCH lttng-tools] configure.ac: use $withval with AC_ARG_WITH

Samuel Martin s.martin49 at gmail.com
Fri Nov 27 16:20:19 EST 2015


Hi all,

On Sun, Nov 22, 2015 at 11:38 PM, Samuel Martin <s.martin49 at gmail.com> wrote:
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
 ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index fad4de6..978e3bc 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -315,7 +315,7 @@ AC_ARG_WITH(lttng-ust-prefix,
>  # Check liblttng-ust-ctl library
>  AC_ARG_WITH(lttng-ust,
>         AS_HELP_STRING([--without-lttng-ust],[build without LTTng-UST (Userspace Tracing) support]),
> -       lttng_ust_support=$enableval, lttng_ust_support=yes)
> +       lttng_ust_support=$withval, lttng_ust_support=yes)
>
>  AS_IF([test "x$lttng_ust_support" = "xyes"], [
>         AC_CHECK_LIB([lttng-ust-ctl], [ustctl_recv_channel_from_consumer],
> --
> 2.6.2
>

For the record, I just file a bug:
https://bugs.lttng.org/issues/980

Cheers,

-- 
Samuel



More information about the lttng-dev mailing list