Only compare "bison -y" to the basename of YACC variable
[lttng-tools.git] / configure.ac
index df5f54a5eb958bf7c3e1ba1da8f114aade6c8253..10a534c36331f4a6bd19659a0d52ddfbff525671 100644 (file)
@@ -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.023993 seconds and 4 git commands to generate.