2011-01-08 19:22:32 +00:00
|
|
|
#undef _LARGEFILE_SOURCE
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
#define _LARGEFILE_SOURCE
|
|
|
|
#define _FILE_OFFSET_BITS 64
|
2012-01-18 13:04:52 +00:00
|
|
|
#if defined(__PPC__) && !defined(__powerpc__)
|
|
|
|
#define __powerpc__ 1
|
|
|
|
#endif
|
2013-02-27 16:19:15 +00:00
|
|
|
|
2013-11-07 05:35:50 +00:00
|
|
|
#define GCRYPT_NO_DEPRECATED 1
|
2015-03-03 19:23:42 +00:00
|
|
|
#define HAVE_MEMMOVE 1
|
2013-11-07 05:35:50 +00:00
|
|
|
|
2013-02-27 16:19:15 +00:00
|
|
|
/* Define to 1 to enable disk cache statistics. */
|
|
|
|
#define DISK_CACHE_STATS @DISK_CACHE_STATS@
|
2013-03-19 19:25:09 +00:00
|
|
|
#define BOOT_TIME_STATS @BOOT_TIME_STATS@
|
2013-02-27 16:19:15 +00:00
|
|
|
|
2015-02-26 17:11:53 +00:00
|
|
|
/* We don't need those. */
|
|
|
|
#define MINILZO_CFG_SKIP_LZO_PTR 1
|
|
|
|
#define MINILZO_CFG_SKIP_LZO_UTIL 1
|
|
|
|
#define MINILZO_CFG_SKIP_LZO_STRING 1
|
|
|
|
#define MINILZO_CFG_SKIP_LZO_INIT 1
|
|
|
|
#define MINILZO_CFG_SKIP_LZO1X_1_COMPRESS 1
|
|
|
|
#define MINILZO_CFG_SKIP_LZO1X_DECOMPRESS 1
|
|
|
|
|
2013-08-22 15:00:59 +00:00
|
|
|
#if defined (GRUB_BUILD)
|
2013-08-23 06:55:20 +00:00
|
|
|
#undef ENABLE_NLS
|
2013-08-22 15:00:59 +00:00
|
|
|
#define BUILD_SIZEOF_LONG @BUILD_SIZEOF_LONG@
|
|
|
|
#define BUILD_SIZEOF_VOID_P @BUILD_SIZEOF_VOID_P@
|
|
|
|
#if defined __APPLE__
|
|
|
|
# if defined __BIG_ENDIAN__
|
|
|
|
# define BUILD_WORDS_BIGENDIAN 1
|
|
|
|
# else
|
|
|
|
# define BUILD_WORDS_BIGENDIAN 0
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
#define BUILD_WORDS_BIGENDIAN @BUILD_WORDS_BIGENDIAN@
|
|
|
|
#endif
|
|
|
|
#elif defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
|
2010-09-19 20:22:43 +00:00
|
|
|
#include <config-util.h>
|
|
|
|
#else
|
2013-12-04 09:25:53 +00:00
|
|
|
#define HAVE_FONT_SOURCE @HAVE_FONT_SOURCE@
|
2010-09-19 20:22:43 +00:00
|
|
|
/* Define if C symbols get an underscore after compilation. */
|
|
|
|
#define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
|
|
|
|
/* Define it to one of __bss_start, edata and _edata. */
|
|
|
|
#define BSS_START_SYMBOL @BSS_START_SYMBOL@
|
|
|
|
/* Define it to either end or _end. */
|
|
|
|
#define END_SYMBOL @END_SYMBOL@
|
|
|
|
/* Name of package. */
|
|
|
|
#define PACKAGE "@PACKAGE@"
|
|
|
|
/* Version number of package. */
|
|
|
|
#define VERSION "@VERSION@"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#define PACKAGE_STRING "@PACKAGE_STRING@"
|
|
|
|
/* Define to the version of this package. */
|
|
|
|
#define PACKAGE_VERSION "@PACKAGE_VERSION@"
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#define PACKAGE_NAME "@PACKAGE_NAME@"
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
|
|
|
|
2012-02-04 20:47:29 +00:00
|
|
|
#define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
|
|
|
|
#define GRUB_PLATFORM "@GRUB_PLATFORM@"
|
|
|
|
|
2011-12-12 23:50:49 +00:00
|
|
|
#define RE_ENABLE_I18N 1
|
|
|
|
|
2013-10-15 09:06:57 +00:00
|
|
|
#define _GNU_SOURCE 1
|
2013-04-11 19:12:46 +00:00
|
|
|
|
2010-09-19 20:22:43 +00:00
|
|
|
#endif
|