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