aa24b516a2
* Makefile.in (enable_lzo): New rule. * conf/i386-pc.rmk (grub_mkimage_SOURCES): New test with enable_lzo. * configure.ac (ENABLE_LZO): New option --enable-lzo. * boot/i386/pc/lnxboot.S: #include <config.h>. * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): Change its value accordding to the compression algorithm used, lzo or lzma. * util/i386/pc/grub-mkimage.c (compress_kernel): Use different compression algorithm according to configure macro. * kern/i386/pc/startup.S (codestart): Likewise. * kern/i386/pc/lzma_decode.S: New file. * include/grub/lib/LzFind.h: Likewise. * include/grub/lib/LzHash.h: Likewise. * include/grub/lib/LzmaDec.h: Likewise. * include/grub/lib/LzmaEnc.h: Likewise. * include/grub/lib/LzmaTypes.h: Likewise. * lib/LzFind.c: Likewise. * lib/LzmaDec.c: Likewise. * lib/LzmaEnc.c: Likewise.
122 lines
3.2 KiB
C
122 lines
3.2 KiB
C
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define it if GAS requires that absolute indirect calls/jumps are not
|
|
prefixed with an asterisk */
|
|
#undef ABSOLUTE_WITHOUT_ASTERISK
|
|
|
|
/* Define it to \"addr32\" or \"addr32;\" to make GAS happy */
|
|
#undef ADDR32
|
|
|
|
/* Define it to one of __bss_start, edata and _edata */
|
|
#undef BSS_START_SYMBOL
|
|
|
|
/* Define it to \"data32\" or \"data32;\" to make GAS happy */
|
|
#undef DATA32
|
|
|
|
/* Use lzma compression */
|
|
#undef ENABLE_LZMA
|
|
|
|
/* Use lzo compression */
|
|
#undef ENABLE_LZO
|
|
|
|
/* Define it to either end or _end */
|
|
#undef END_SYMBOL
|
|
|
|
/* Define if C symbols get an underscore after compilation */
|
|
#undef HAVE_ASM_USCORE
|
|
|
|
/* Define to 1 if you have the <curses.h> header file. */
|
|
#undef HAVE_CURSES_H
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the <lzo1x.h> header file. */
|
|
#undef HAVE_LZO1X_H
|
|
|
|
/* Define to 1 if you have the <lzo/lzo1x.h> header file. */
|
|
#undef HAVE_LZO_LZO1X_H
|
|
|
|
/* Define to 1 if you have the `memalign' function. */
|
|
#undef HAVE_MEMALIGN
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if you have the <ncurses/curses.h> header file. */
|
|
#undef HAVE_NCURSES_CURSES_H
|
|
|
|
/* Define to 1 if you have the <ncurses.h> header file. */
|
|
#undef HAVE_NCURSES_H
|
|
|
|
/* Define to 1 if you have the `posix_memalign' function. */
|
|
#undef HAVE_POSIX_MEMALIGN
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if you enable memory manager debugging. */
|
|
#undef MM_DEBUG
|
|
|
|
/* Catch gcc bug */
|
|
#undef NESTED_FUNC_ATTR
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* The size of `long', as computed by sizeof. */
|
|
#undef SIZEOF_LONG
|
|
|
|
/* The size of `void *', as computed by sizeof. */
|
|
#undef SIZEOF_VOID_P
|
|
|
|
/* Define it to either start or _start */
|
|
#undef START_SYMBOL
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define to 1 if your processor stores words with the most significant byte
|
|
first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
#undef WORDS_BIGENDIAN
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# undef _GNU_SOURCE
|
|
#endif
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
#undef _LARGE_FILES
|