X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=fee56acaef28d1504645114e095957bd1d3968b0;hb=283d053fe9d864e755d8c1786b4e231a91ee2422;hp=349f8a16276215596e34bece1206d2dffdc3cb6f;hpb=43047f2182fbd5a66a7c796b3e4f50ca4d2e3e99;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 349f8a16..fee56aca 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,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