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 <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
# 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