mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 00:29:23 +00:00
* configure.ac: Check for lzma.h for enabling liblzma and allow
manual disabling.
This commit is contained in:
1 parent
631187be8c
commit
0d2d30bb39
3 files changed
+35
-8
No files matched your search
+3
-3
@@ -48,7 +48,7 @@
|
||||
|
||||
#define ALIGN_ADDR(x) (ALIGN_UP((x), image_target->voidp_sizeof))
|
||||
|
||||
#ifdef HAVE_LIBLZMA
|
||||
#ifdef USE_LIBLZMA
|
||||
#include <lzma.h>
|
||||
#endif
|
||||
|
||||
@@ -709,7 +709,7 @@ compress_kernel_lzma (char *kernel_img, size_t kernel_size,
|
||||
grub_util_error ("%s", _("cannot compress the kernel image"));
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBLZMA
|
||||
#ifdef USE_LIBLZMA
|
||||
static void
|
||||
compress_kernel_xz (char *kernel_img, size_t kernel_size,
|
||||
char **core_img, size_t *core_size)
|
||||
@@ -772,7 +772,7 @@ compress_kernel (const struct grub_install_image_target_desc *image_target, char
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBLZMA
|
||||
#ifdef USE_LIBLZMA
|
||||
if (image_target->flags & PLATFORM_FLAGS_DECOMPRESSORS
|
||||
&& (comp == GRUB_COMPRESSION_XZ))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user