From: Michael Jeanson Date: Thu, 11 May 2017 20:50:56 +0000 (-0400) Subject: Cleanup: bison and flex detection X-Git-Tag: v2.11.0-rc1~539 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=a6c09be3c2031a251412f15da48364359ce8d6e9;hp=a6c09be3c2031a251412f15da48364359ce8d6e9 Cleanup: bison and flex detection The previous detection code was quite convoluted and required to have two variables set to the same value to work. For example, the lexer in autotools is configured through the LEX variable, even if we require a specific implementation we have to use it and base our detection code on it. The situation is now : - the FLEX and BISON variables are now ignored. - the LEX and YACC variables need to be set if required like before. Also some minor cleanups. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau ---