tools: check liblzma in configure for rombios
PATCH 1/1 tools: check liblzma in configure for rombios
We upgraded ipxe in 38ab99b2 ("ipxe: update to new commit"). That version of ipxe requires liblzma to build.
Check that in configure and document this in README.
Signed-off-by Wei Liu <[email protected]>
---
Cc: Ian Jackson <[email protected]>
Rerun autogen.sh while committing.
--- README | 1 + tools/config.h.in | 3 ++ tools/configure | 139 +++++++++++++++++++++++++++++++++++------------------ tools/configure.ac | 2 + 4 files changed, 99 insertions(+), 46 deletions(-)
README +1 -0
@@ -82,6 +82,7 @@ disabled at compile time: information. * 16-bit x86 assembler, loader and compiler for qemu-traditional / rombios (dev86 rpm or bin86 & bcc debs) + * Development install of liblzma for rombios Second, you need to acquire a suitable kernel for use in domain 0. If possible you should use a kernel provided by your OS distributor. If
tools/config.h.in +3 -0
@@ -36,6 +36,9 @@ /* Define to 1 if you have the `fdt' library (-lfdt). */ #undef HAVE_LIBFDT +/* Define to 1 if you have the `lzma' library (-llzma). */ +#undef HAVE_LIBLZMA + /* Define to 1 if you have the `yajl' library (-lyajl). */ #undef HAVE_LIBYAJL
tools/configure +93 -46
157 lines not on this page · raw message
tools/configure.ac +2 -0
@@ -173,6 +173,8 @@ AS_IF([test "x$enable_rombios" = "xyes"], [ AX_PATH_PROG_OR_FAIL([AS86], [as86]) AX_PATH_PROG_OR_FAIL([LD86], [ld86]) AX_PATH_PROG_OR_FAIL([BCC], [bcc]) + AC_CHECK_LIB([lzma], [lzma_version_number], [], + [AC_MSG_ERROR([Could not find lzma, needed to build rombios])]) AC_DEFINE([HAVE_ROMBIOS], [1], [ROMBIOS enabled]) rombios=y],[ rombios=n
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Wei Liu writes ("[PATCH for-4.8] tools: check liblzma in configure for rombios"):
Quoted 4 lines
We upgraded ipxe in
38ab99b2("ipxe: update to new commit"). That version of ipxe requires liblzma to build.Check that in configure and document this in README.
Acked-by Ian Jackson <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel