Use --with/--without for lttng-ust support
[lttng-tools.git] / configure.ac
index df5f54a5eb958bf7c3e1ba1da8f114aade6c8253..a46bfd39155fa5ef00dbcbe51d214be30ab0517d 100644 (file)
@@ -311,8 +311,8 @@ AC_ARG_WITH(lttng-ust-prefix,
                  ])
 
 # Check liblttng-ust-ctl library
-AC_ARG_ENABLE(lttng-ust,
-       AS_HELP_STRING([--disable-lttng-ust],[build without LTTng-UST (Userspace Tracing) support]),
+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)
 
 AS_IF([test "x$lttng_ust_support" = "xyes"], [
@@ -704,7 +704,7 @@ AM_CONDITIONAL([BUILD_LIB_TESTPOINT], [test x$build_lib_testpoint = xyes])
 AM_CONDITIONAL([BUILD_LIB_UST_CONSUMER], [test x$build_lib_ust_consumer = xyes])
 
 if test ! -f "$srcdir/src/lib/lttng-ctl/filter/filter-parser.h"; then
-       if test x"$YACC" != "xbison -y"; then
+       if test x"$(basename "$YACC")" != "xbison -y"; then
                AC_MSG_ERROR([[bison not found and is required when building from git.
                Please install bison]])
        fi
This page took 0.022867 seconds and 4 git commands to generate.