]> git.proxmox.com Git - grub2.git/blob - config.h.in
d2c4ce8e51598db939d873c863dc028803fb9eb8
[grub2.git] / config.h.in
1 #undef _LARGEFILE_SOURCE
2 #undef _FILE_OFFSET_BITS
3 #define _LARGEFILE_SOURCE
4 #define _FILE_OFFSET_BITS 64
5 #if defined(__PPC__) && !defined(__powerpc__)
6 #define __powerpc__ 1
7 #endif
8
9 #define GCRYPT_NO_DEPRECATED 1
10 #define HAVE_MEMMOVE 1
11
12 /* Define to 1 to enable disk cache statistics. */
13 #define DISK_CACHE_STATS @DISK_CACHE_STATS@
14 #define BOOT_TIME_STATS @BOOT_TIME_STATS@
15 /* Define to 1 to make GRUB quieter at boot time. */
16 #define QUIET_BOOT @QUIET_BOOT@
17
18 /* We don't need those. */
19 #define MINILZO_CFG_SKIP_LZO_PTR 1
20 #define MINILZO_CFG_SKIP_LZO_UTIL 1
21 #define MINILZO_CFG_SKIP_LZO_STRING 1
22 #define MINILZO_CFG_SKIP_LZO_INIT 1
23 #define MINILZO_CFG_SKIP_LZO1X_1_COMPRESS 1
24 #define MINILZO_CFG_SKIP_LZO1X_DECOMPRESS 1
25
26 #if defined (GRUB_BUILD)
27 #undef ENABLE_NLS
28 #define BUILD_SIZEOF_LONG @BUILD_SIZEOF_LONG@
29 #define BUILD_SIZEOF_VOID_P @BUILD_SIZEOF_VOID_P@
30 #if defined __APPLE__
31 # if defined __BIG_ENDIAN__
32 # define BUILD_WORDS_BIGENDIAN 1
33 # else
34 # define BUILD_WORDS_BIGENDIAN 0
35 # endif
36 #else
37 #define BUILD_WORDS_BIGENDIAN @BUILD_WORDS_BIGENDIAN@
38 #endif
39 #elif defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
40 #include <config-util.h>
41 #else
42 #define HAVE_FONT_SOURCE @HAVE_FONT_SOURCE@
43 /* Define if C symbols get an underscore after compilation. */
44 #define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
45 /* Define it to one of __bss_start, edata and _edata. */
46 #define BSS_START_SYMBOL @BSS_START_SYMBOL@
47 /* Define it to either end or _end. */
48 #define END_SYMBOL @END_SYMBOL@
49 /* Name of package. */
50 #define PACKAGE "@PACKAGE@"
51 /* Version number of package. */
52 #define VERSION "@VERSION@"
53 /* Define to the full name and version of this package. */
54 #define PACKAGE_STRING "@PACKAGE_STRING@"
55 /* Define to the version of this package. */
56 #define PACKAGE_VERSION "@PACKAGE_VERSION@"
57 /* Define to the full name of this package. */
58 #define PACKAGE_NAME "@PACKAGE_NAME@"
59 /* Define to the address where bug reports for this package should be sent. */
60 #define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
61
62 #define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
63 #define GRUB_PLATFORM "@GRUB_PLATFORM@"
64
65 #define RE_ENABLE_I18N 1
66
67 #define _GNU_SOURCE 1
68
69 #endif