Only compare "bison -y" to the basename of YACC variable
[babeltrace.git] / configure.ac
index f66104648324b2bd3f96efa78f6e4a11cd596c7e..b358a083209ea96cd95dc962a8c581f4466aa915 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ([2.50])
 AC_PREREQ([2.50])
-AC_INIT([babeltrace],[1.2.4],[mathieu dot desnoyers at efficios dot com])
+AC_INIT([babeltrace],[1.3.0],[jeremie.galarneau@efficios.com],[],[https://diamon.org/babeltrace])
 
 # Following the numbering scheme proposed by libtool for the library version
 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
 
 # Following the numbering scheme proposed by libtool for the library version
 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
@@ -60,7 +60,7 @@ AC_CHECK_HEADERS([ \
 ])
 
 if test ! -f "$srcdir/formats/ctf/metadata/ctf-parser.h"; then
 ])
 
 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
                 AC_MSG_ERROR([[bison not found and is required when building from git.
                 Please install bison]])
         fi
This page took 0.031439 seconds and 4 git commands to generate.