X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=configure.ac;h=d372f95c00c6f6f66ef7b2e77878202a71dceea8;hp=ab882abbfdfc0be6411656ac96eba438e84ee3dc;hb=a66b40cc29767fda25495999cfde5df2713d9de9;hpb=3f4bae2a85a43606999ca7e701dcc9a493352ed3 diff --git a/configure.ac b/configure.ac index ab882abb..d372f95c 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,10 @@ if test ! -f "$srcdir/formats/ctf/metadata/ctf-parser.h"; then AC_MSG_ERROR([[bison not found and is required when building from git. Please install bison]]) fi + AC_PATH_PROG([BISON],[bison]) + AX_PROG_BISON_VERSION([2.4], [],[ + AC_MSG_ERROR([[Bison >= 2.4 is required when building from git]]) + ]) fi if test ! -f "$srcdir/formats/ctf/metadata/ctf-lexer.c"; then