mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
c9b0242ad4
commit
20077d0352
1 file changed
+5
-1
+5
-1
@@ -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])
|
||||
|
||||
|
||||