X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=dc23daaa056c4ddc06d9104ad8ec4d29713bb3fe;hb=bc26fd5eb73f9335aed925b2756929d8d3b0147b;hp=3421cbdc974af05370e6a7b9a543df9695fa59d2;hpb=2b4887a2a361c2eb166ab67c5c3ff9276a59bdf2;p=babeltrace.git diff --git a/configure.ac b/configure.ac index 3421cbdc..dc23daaa 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. +AC_PREREQ([2.50]) AC_INIT([babeltrace],[1.3.0-pre],[jeremie dot galarneau at efficios dot com]) # Following the numbering scheme proposed by libtool for the library version @@ -46,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