tools/configure: add bison as mandatory

Bison is now mandatory when the pvshim build is enabled in order to
generate the Kconfig.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
This commit is contained in:
Roger Pau Monne authored and Ian Jackson committed 2021-02-10 11:11:55 +00:00
1 parent c9b0242ad4
commit 20077d0352
1 file changed
+5 -1
+5 -1
View File
@@ -309,7 +309,6 @@ AC_ARG_VAR([AWK], [Path to awk tool])
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PATH_PROG([BISON], [bison])
AC_PATH_PROG([FLEX], [flex])
AX_PATH_PROG_OR_FAIL([PERL], [perl])
AX_PATH_PROG_OR_FAIL([AWK], [awk])
@@ -517,6 +516,11 @@ AC_ARG_ENABLE([pvshim],
esac
])
AC_SUBST(pvshim)
AS_IF([test "x$pvshim" = "xy"], [
AX_PATH_PROG_OR_FAIL([BISON], [bison])
], [
AC_PATH_PROG([BISON], [bison])
])
AX_FIND_HEADER([INCLUDE_ENDIAN_H], [endian.h sys/endian.h])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.