From 671c16a587f332d59f856b61fa1660345a6ce64c Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Thu, 22 Oct 2015 17:07:02 -0400 Subject: [PATCH 1/1] Only compare "bison -y" to the basename of YACC variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In the event that the YACC variable is set to a full path this test fail even if it should not. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7353b09f..b358a083 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,7 @@ AC_CHECK_HEADERS([ \ ]) if test ! -f "$srcdir/formats/ctf/metadata/ctf-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 -- 2.34.1