Port: uname can return a positive value on success
[babeltrace.git] / configure.ac
index 349f8a16276215596e34bece1206d2dffdc3cb6f..fee56acaef28d1504645114e095957bd1d3968b0 100644 (file)
@@ -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
 
 
This page took 0.023796 seconds and 4 git commands to generate.