config.h.in 2.0 KB

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