ieee1275: split up grub_machine_get_bootlocation
[grub.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
16 /* We don't need those.  */
17 #define MINILZO_CFG_SKIP_LZO_PTR 1
18 #define MINILZO_CFG_SKIP_LZO_UTIL 1
19 #define MINILZO_CFG_SKIP_LZO_STRING 1
20 #define MINILZO_CFG_SKIP_LZO_INIT 1
21 #define MINILZO_CFG_SKIP_LZO1X_1_COMPRESS 1
22 #define MINILZO_CFG_SKIP_LZO1X_DECOMPRESS 1
23
24 #if defined (GRUB_BUILD)
25 #undef ENABLE_NLS
26 #define BUILD_SIZEOF_LONG @BUILD_SIZEOF_LONG@
27 #define BUILD_SIZEOF_VOID_P @BUILD_SIZEOF_VOID_P@
28 #if defined __APPLE__
29 # if defined __BIG_ENDIAN__
30 #  define BUILD_WORDS_BIGENDIAN 1
31 # else
32 #  define BUILD_WORDS_BIGENDIAN 0
33 # endif
34 #else
35 #define BUILD_WORDS_BIGENDIAN @BUILD_WORDS_BIGENDIAN@
36 #endif
37 #elif defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
38 #include <config-util.h>
39 #else
40 #define HAVE_FONT_SOURCE @HAVE_FONT_SOURCE@
41 /* Define if C symbols get an underscore after compilation. */
42 #define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
43 /* Define it to one of __bss_start, edata and _edata.  */
44 #define BSS_START_SYMBOL @BSS_START_SYMBOL@
45 /* Define it to either end or _end.  */
46 #define END_SYMBOL @END_SYMBOL@
47 /* Name of package.  */
48 #define PACKAGE "@PACKAGE@"
49 /* Version number of package.  */
50 #define VERSION "@VERSION@"
51 /* Define to the full name and version of this package. */
52 #define PACKAGE_STRING "@PACKAGE_STRING@"
53 /* Define to the version of this package. */
54 #define PACKAGE_VERSION "@PACKAGE_VERSION@"
55 /* Define to the full name of this package. */
56 #define PACKAGE_NAME "@PACKAGE_NAME@"
57 /* Define to the address where bug reports for this package should be sent. */
58 #define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
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