config.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. #define GCRYPT_NO_DEPRECATED 1
  9. #define HAVE_MEMMOVE 1
  10. /* Define to 1 to enable disk cache statistics. */
  11. #define DISK_CACHE_STATS 0
  12. #define BOOT_TIME_STATS 0
  13. /* Define to 1 to make GRUB quieter at boot time. */
  14. #define QUIET_BOOT 1
  15. /* We don't need those. */
  16. #define MINILZO_CFG_SKIP_LZO_PTR 1
  17. #define MINILZO_CFG_SKIP_LZO_UTIL 1
  18. #define MINILZO_CFG_SKIP_LZO_STRING 1
  19. #define MINILZO_CFG_SKIP_LZO_INIT 1
  20. #define MINILZO_CFG_SKIP_LZO1X_1_COMPRESS 1
  21. #define MINILZO_CFG_SKIP_LZO1X_DECOMPRESS 1
  22. #if defined (GRUB_BUILD)
  23. #undef ENABLE_NLS
  24. #define BUILD_SIZEOF_LONG 8
  25. #define BUILD_SIZEOF_VOID_P 8
  26. #if defined __APPLE__
  27. # if defined __BIG_ENDIAN__
  28. # define BUILD_WORDS_BIGENDIAN 1
  29. # else
  30. # define BUILD_WORDS_BIGENDIAN 0
  31. # endif
  32. #else
  33. #define BUILD_WORDS_BIGENDIAN 0
  34. #endif
  35. #elif defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
  36. #include <config-util.h>
  37. #else
  38. #define HAVE_FONT_SOURCE 1
  39. /* Define if C symbols get an underscore after compilation. */
  40. #define HAVE_ASM_USCORE 0
  41. /* Define it to one of __bss_start, edata and _edata. */
  42. #define BSS_START_SYMBOL __bss_start
  43. /* Define it to either end or _end. */
  44. #define END_SYMBOL end
  45. /* Name of package. */
  46. #define PACKAGE "grub"
  47. /* Version number of package. */
  48. #define VERSION "2.04"
  49. /* Define to the full name and version of this package. */
  50. #define PACKAGE_STRING "GRUB 2.04-1ubuntu26"
  51. /* Define to the version of this package. */
  52. #define PACKAGE_VERSION "2.04-1ubuntu26"
  53. /* Define to the full name of this package. */
  54. #define PACKAGE_NAME "GRUB"
  55. /* Define to the address where bug reports for this package should be sent. */
  56. #define PACKAGE_BUGREPORT "bug-grub@gnu.org"
  57. #define GRUB_TARGET_CPU "i386"
  58. #define GRUB_PLATFORM "pc"
  59. #define RE_ENABLE_I18N 1
  60. #define _GNU_SOURCE 1
  61. #endif