X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=configure.ac;h=dc23daaa056c4ddc06d9104ad8ec4d29713bb3fe;hp=413ba7454aa681bb885b8a733836a497c154248d;hb=33bdeb6a99f5e210dcc8fd4a987508afb059d749;hpb=9d594903a44a41b0c8999906798369c2aa92d246 diff --git a/configure.ac b/configure.ac index 413ba745..dc23daaa 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,10 @@ if test ! -f "$srcdir/formats/ctf/metadata/ctf-lexer.c"; then AC_MSG_ERROR([[flex not found and is required when building from git. Please install flex]]) fi + AC_PATH_PROG([FLEX],[flex]) + AX_PROG_FLEX_VERSION([2.5.35], [],[ + AC_MSG_ERROR([[Flex >= 2.5.35 is required when building from git]]) + ]) fi