X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=d289dde6189b6bda5f2a2b06aede4dffa43dded5;hp=b274ead5ac3c10f488630780aeae58eef1865fec;hb=568d7e2db7370f57e9612eb9b8c1a6b0bf5213cd;hpb=926c87acbc722208f46ac43f3a837c994af88763 diff --git a/configure.ac b/configure.ac index b274ead5a..d289dde61 100644 --- a/configure.ac +++ b/configure.ac @@ -455,6 +455,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" @@ -533,6 +537,7 @@ AC_CONFIG_FILES([ tests/regression/ust/java-jul/Makefile tests/regression/ust/java-log4j/Makefile tests/regression/ust/python-logging/Makefile + tests/regression/ust/getcpu-override/Makefile tests/stress/Makefile tests/unit/Makefile tests/unit/ini_config/Makefile