]> git.proxmox.com Git - grub2.git/blob - config.h.in
Handle grub-pe2elf and grub-mkfont for cases when build != host.
[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 to 1 to enable disk cache statistics. */
10 #define DISK_CACHE_STATS @DISK_CACHE_STATS@
11 #define BOOT_TIME_STATS @BOOT_TIME_STATS@
12
13 #if defined (GRUB_BUILD)
14 #define BUILD_SIZEOF_LONG @BUILD_SIZEOF_LONG@
15 #define BUILD_SIZEOF_VOID_P @BUILD_SIZEOF_VOID_P@
16 #if defined __APPLE__
17 # if defined __BIG_ENDIAN__
18 # define BUILD_WORDS_BIGENDIAN 1
19 # else
20 # define BUILD_WORDS_BIGENDIAN 0
21 # endif
22 #else
23 #define BUILD_WORDS_BIGENDIAN @BUILD_WORDS_BIGENDIAN@
24 #endif
25 #elif defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
26 #include <config-util.h>
27 #else
28 /* Define if C symbols get an underscore after compilation. */
29 #define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
30 /* Define it to \"addr32\" or \"addr32;\" to make GAS happy. */
31 #define ADDR32 @ADDR32@
32 /* Define it to \"data32\" or \"data32;\" to make GAS happy. */
33 #define DATA32 @DATA32@
34 /* Define it to one of __bss_start, edata and _edata. */
35 #define BSS_START_SYMBOL @BSS_START_SYMBOL@
36 /* Define it to either end or _end. */
37 #define END_SYMBOL @END_SYMBOL@
38 /* Name of package. */
39 #define PACKAGE "@PACKAGE@"
40 /* Version number of package. */
41 #define VERSION "@VERSION@"
42 /* Define to the full name and version of this package. */
43 #define PACKAGE_STRING "@PACKAGE_STRING@"
44 /* Define to the version of this package. */
45 #define PACKAGE_VERSION "@PACKAGE_VERSION@"
46 /* Define to the full name of this package. */
47 #define PACKAGE_NAME "@PACKAGE_NAME@"
48 /* Define to the address where bug reports for this package should be sent. */
49 #define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
50 /* Default boot directory name" */
51 #define GRUB_BOOT_DIR_NAME "@bootdirname@"
52 /* Default grub directory name */
53 #define GRUB_DIR_NAME "@grubdirname@"
54 /* Define to 1 if GCC generates calls to __register_frame_info(). */
55 #define NEED_REGISTER_FRAME_INFO @NEED_REGISTER_FRAME_INFO@
56
57 #define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
58 #define GRUB_PLATFORM "@GRUB_PLATFORM@"
59
60 #define RE_ENABLE_I18N 1
61
62 #define __USE_GNU 1
63
64 #endif