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