Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] [lttng-tools PATCH] Fix --enable-lttng-ust configure option
@ 2011-11-29 19:35 Alexandre Montplaisir
  2011-11-29 20:21 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Montplaisir @ 2011-11-29 19:35 UTC (permalink / raw)


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 at gmail.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index d0a372a..3db4673 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
-- 
1.7.7.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-29 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-29 19:35 [lttng-dev] [lttng-tools PATCH] Fix --enable-lttng-ust configure option Alexandre Montplaisir
2011-11-29 20:21 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox