summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-04 08:22:02 (GMT)
committerAlexey Neyman <stilor@att.net>2019-03-04 08:22:02 (GMT)
commitb3cce054ef381502af4f58105604081bf431ac9e (patch)
tree991fc932da90da7fbbd055a46dc53395889f2dd3 /configure.ac
parentda11216f8d2630a3a3409ae17549bc0f472d64b6 (diff)
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 <stilor@att.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bea1817..566b024 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])