From b3cce054ef381502af4f58105604081bf431ac9e Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 4 Mar 2019 00:22:02 -0800 Subject: Meet our new companion tool, bison Which is here courtesy of CentOS6, which only has bison 2.4 - while new glibc requires 2.7. Signed-off-by: Alexey Neyman --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index bea1817a..566b0248 100644 --- a/configure.ac +++ b/configure.ac @@ -113,7 +113,6 @@ AC_PROG_RANLIB CTNG_PATH_TOOL_REQ([OBJCOPY], [gobjcopy objcopy], [objcopy]) CTNG_PATH_TOOL_REQ([OBJDUMP], [gobjdump objdump], [objdump]) CTNG_PATH_TOOL_REQ([READELF], [greadelf readelf], [readelf]) -CTNG_PATH_TOOL_REQ([BISON], [bison], [bison]) CTNG_CHECK_PROGS_REQ([flex], [flex]) CTNG_CHECK_PROGS_REQ([makeinfo], [makeinfo]) @@ -246,6 +245,12 @@ CTNG_PROG_VERSION([PYTHON], [^Python 3\.([4-9]|[1-9][0-9]+)\.], [python_3_4_or_newer]) +CTNG_PROG_VERSION([BISON], + [bison >= 2.7], + [bison], + [bison], + [\(GNU Bison\) (2\.[7-9]|2\.[1-9][0-9]|[3-9]\.)], + [bison_2_7_or_newer]) AC_SUBST([kconfig_options]) -- cgit v1.2.3