]> git.proxmox.com Git - grub2.git/blame - config.h.in
* grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel): Fix
[grub2.git] / config.h.in
CommitLineData
c88172fa
VS
1#undef _LARGEFILE_SOURCE
2#undef _FILE_OFFSET_BITS
3#define _LARGEFILE_SOURCE
4#define _FILE_OFFSET_BITS 64
d43a777e
VS
5#if defined(__PPC__) && !defined(__powerpc__)
6#define __powerpc__ 1
7#endif
4eb8b756
CW
8
9/* Define to 1 to enable disk cache statistics. */
10#define DISK_CACHE_STATS @DISK_CACHE_STATS@
e744219b 11#define BOOT_TIME_STATS @BOOT_TIME_STATS@
4eb8b756 12
7b780018 13#if defined (GRUB_BUILD)
48972495 14#undef ENABLE_NLS
7b780018
VS
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)
742f9232 27#include <config-util.h>
742f9232
VS
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@"
a4c1d277
YB
51/* Default boot directory name" */
52#define GRUB_BOOT_DIR_NAME "@bootdirname@"
53/* Default grub directory name */
54#define GRUB_DIR_NAME "@grubdirname@"
742f9232
VS
55/* Define to 1 if GCC generates calls to __register_frame_info(). */
56#define NEED_REGISTER_FRAME_INFO @NEED_REGISTER_FRAME_INFO@
57
92cd0f6e
VS
58#define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
59#define GRUB_PLATFORM "@GRUB_PLATFORM@"
60
c5fc563a
VS
61#define RE_ENABLE_I18N 1
62
25ac643a 63#define _GNU_SOURCE 1
053cfcdd 64
742f9232 65#endif