Fix --enable-lttng-ust configure option
authorAlexandre Montplaisir <alexandre.montplaisir@gmail.com>
Tue, 29 Nov 2011 20:20:43 +0000 (15:20 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 Nov 2011 20:20:43 +0000 (15:20 -0500)
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>
configure.ac

index 287b67ddb64cf6ca1ddad7c0dfaee115698ab9e6..6a6dfac047bd3be7707839b2448a5a4102fc775b 100644 (file)
@@ -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
This page took 0.026327 seconds and 4 git commands to generate.