config.h.in 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. #if defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
  9. #include <config-util.h>
  10. #define NESTED_FUNC_ATTR
  11. #else
  12. /* Define if C symbols get an underscore after compilation. */
  13. #define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
  14. /* Define it to \"addr32\" or \"addr32;\" to make GAS happy. */
  15. #define ADDR32 @ADDR32@
  16. /* Define it to \"data32\" or \"data32;\" to make GAS happy. */
  17. #define DATA32 @DATA32@
  18. /* Define it to one of __bss_start, edata and _edata. */
  19. #define BSS_START_SYMBOL @BSS_START_SYMBOL@
  20. /* Define it to either end or _end. */
  21. #define END_SYMBOL @END_SYMBOL@
  22. /* Name of package. */
  23. #define PACKAGE "@PACKAGE@"
  24. /* Version number of package. */
  25. #define VERSION "@VERSION@"
  26. /* Define to the full name and version of this package. */
  27. #define PACKAGE_STRING "@PACKAGE_STRING@"
  28. /* Define to the version of this package. */
  29. #define PACKAGE_VERSION "@PACKAGE_VERSION@"
  30. /* Define to the full name of this package. */
  31. #define PACKAGE_NAME "@PACKAGE_NAME@"
  32. /* Define to the address where bug reports for this package should be sent. */
  33. #define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
  34. /* Default boot directory name" */
  35. #define GRUB_BOOT_DIR_NAME "@bootdirname@"
  36. /* Default grub directory name */
  37. #define GRUB_DIR_NAME "@grubdirname@"
  38. /* Define to 1 if GCC generates calls to __enable_execute_stack(). */
  39. #define NEED_ENABLE_EXECUTE_STACK @NEED_ENABLE_EXECUTE_STACK@
  40. /* Define to 1 if GCC generates calls to __register_frame_info(). */
  41. #define NEED_REGISTER_FRAME_INFO @NEED_REGISTER_FRAME_INFO@
  42. /* Define to 1 to enable disk cache statistics. */
  43. #define DISK_CACHE_STATS @DISK_CACHE_STATS@
  44. #define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
  45. #define GRUB_PLATFORM "@GRUB_PLATFORM@"
  46. #define RE_ENABLE_I18N 1
  47. #if defined(__i386__)
  48. #define NESTED_FUNC_ATTR __attribute__ ((__regparm__ (1)))
  49. #else
  50. #define NESTED_FUNC_ATTR
  51. #endif
  52. #endif