From: Alexandre Montplaisir Date: Tue, 29 Nov 2011 20:20:43 +0000 (-0500) Subject: Fix --enable-lttng-ust configure option X-Git-Tag: v2.0-pre15~60^2~2 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=0e636c80aae070dcb89850990053bf3711283340 Fix --enable-lttng-ust configure option Specifying either --enable-lttng-ust or --disable-lttng-ust would DISABLE the option. This fix makes it listen to either we want to enable or disable it (it remains enabled by default). Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 287b67ddb..6a6dfac04 100644 --- a/configure.ac +++ b/configure.ac @@ -86,7 +86,7 @@ AC_CHECK_DECL([caa_likely], [], # Check liblttng-ust-ctl library AC_ARG_ENABLE(lttng-ust, [ --disable-lttng-ust build without LTTng-UST (Userspace Tracing) support.], - lttng_ust_support=no, lttng_ust_support=yes) + lttng_ust_support=$enableval, lttng_ust_support=yes) [ if test "x$lttng_ust_support" = "xno"; then