config.h.in 2.2 KB

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