|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] tools/configure: add bison as mandatory
commit 20077d035224c6f3b3eef8b111b8b842635f2c40
Author: Roger Pau Monne <roger.pau@xxxxxxxxxx>
AuthorDate: Fri Feb 5 12:53:27 2021 +0100
Commit: Ian Jackson <iwj@xxxxxxxxxxxxxx>
CommitDate: Wed Feb 10 11:11:55 2021 +0000
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@xxxxxxxxxx>
Release-Acked-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
Reviewed-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
---
tools/configure.ac | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/configure.ac b/tools/configure.ac
index 3a3e7b4b2b..6b611deb13 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -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])
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |