Build: m4 macro for Bison version check
[babeltrace.git] / configure.ac
index f8d43d8d5583742898eebcce03d915259cafa902..3421cbdc974af05370e6a7b9a543df9695fa59d2 100644 (file)
@@ -35,6 +35,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
This page took 0.024969 seconds and 4 git commands to generate.