iPXE is only used by QEMU traditional, so make it off by default unless QEMU traditional is enabled.
Reported-by: Andrew Cooper <andrew.coop...@citrix.com> Fixes: bcf77ce510 ('configure: modify default of building rombios') Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- Cc: Ian Jackson <i...@xenproject.org> Please run autoconf before commit. Without this patch FreeBSD build is broken, as iPXE won't build. The main risk would be getting the configure script runes wrong, but I think that's fairly easy to check as it will either work on not. It's a change in the defaults, but it basically restores the behavior previous to disabling qemu-trad on Linux. --- tools/configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/configure.ac b/tools/configure.ac index 03eb7cf146..3ac62626a5 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -130,13 +130,13 @@ AC_SUBST(qemu_traditional) AC_ARG_ENABLE([ipxe], AS_HELP_STRING([--enable-ipxe], - [Enable in-tree IPXE, (DEFAULT is on for x86, - otherwise off, see also --with-system-ipxe)]),,[ - case "$host_cpu" in - i[[3456]]86|x86_64) - enable_ipxe="yes";; - *) enable_ipxe="no";; - esac + [Enable in-tree IPXE, + (DEFAULT is off, see also --with-system-ipxe)]),,[ + AS_IF([test "x$enable_qemu_traditional" = "xyes"], [ + enable_ipxe="yes" + ], [ + enable_ipxe="no" + ]) ]) AS_IF([test "x$enable_ipxe" = "xno"], [ipxe=n], [ipxe=y]) AC_ARG_WITH([system-ipxe], -- 2.33.0