Build: m4 macro for Bison version check
[babeltrace.git] / configure.ac
index ab882abbfdfc0be6411656ac96eba438e84ee3dc..d372f95c00c6f6f66ef7b2e77878202a71dceea8 100644 (file)
@@ -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
This page took 0.022138 seconds and 4 git commands to generate.