X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=3fa993dc59b2fba05161145640ef459bbd5025cb;hb=13bc45ee151696f27433a20463b059a2447f4273;hp=e686739749d1da8ec6a68d4c046673f32d4c9df6;hpb=78d31fa95c7009d24af2e7088e82bd36117dce8d;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index e68673974..3fa993dc5 100644 --- a/configure.ac +++ b/configure.ac @@ -426,6 +426,10 @@ if test ! -f "$srcdir/src/lib/lttng-ctl/filter/filter-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 CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing"