|
|
b35c50 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
b35c50 |
From: Robbie Harwood <rharwood@redhat.com>
|
|
|
b35c50 |
Date: Wed, 15 Dec 2021 15:46:13 -0500
|
|
|
b35c50 |
Subject: [PATCH] Use visual indentation in config.h.in
|
|
|
b35c50 |
|
|
|
b35c50 |
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
|
|
b35c50 |
(cherry picked from commit de8051f34de0aa55c921a510974e5bb27e39c17b)
|
|
|
b35c50 |
[rharwood: GRUB_RPM_CONFIG presence]
|
|
|
b35c50 |
---
|
|
|
b35c50 |
config.h.in | 58 +++++++++++++++++++++++++++++-----------------------------
|
|
|
b35c50 |
1 file changed, 29 insertions(+), 29 deletions(-)
|
|
|
b35c50 |
|
|
|
b35c50 |
diff --git a/config.h.in b/config.h.in
|
|
|
b35c50 |
index c80e3e0aba..f2ed0066ec 100644
|
|
|
b35c50 |
--- a/config.h.in
|
|
|
b35c50 |
+++ b/config.h.in
|
|
|
b35c50 |
@@ -23,47 +23,47 @@
|
|
|
b35c50 |
#define MINILZO_CFG_SKIP_LZO1X_DECOMPRESS 1
|
|
|
b35c50 |
|
|
|
b35c50 |
#if defined (GRUB_BUILD)
|
|
|
b35c50 |
-#undef ENABLE_NLS
|
|
|
b35c50 |
-#define BUILD_SIZEOF_LONG @BUILD_SIZEOF_LONG@
|
|
|
b35c50 |
-#define BUILD_SIZEOF_VOID_P @BUILD_SIZEOF_VOID_P@
|
|
|
b35c50 |
-#if defined __APPLE__
|
|
|
b35c50 |
-# if defined __BIG_ENDIAN__
|
|
|
b35c50 |
-# define BUILD_WORDS_BIGENDIAN 1
|
|
|
b35c50 |
-# else
|
|
|
b35c50 |
-# define BUILD_WORDS_BIGENDIAN 0
|
|
|
b35c50 |
-# endif
|
|
|
b35c50 |
-#else
|
|
|
b35c50 |
-#define BUILD_WORDS_BIGENDIAN @BUILD_WORDS_BIGENDIAN@
|
|
|
b35c50 |
-#endif
|
|
|
b35c50 |
+# undef ENABLE_NLS
|
|
|
b35c50 |
+# define BUILD_SIZEOF_LONG @BUILD_SIZEOF_LONG@
|
|
|
b35c50 |
+# define BUILD_SIZEOF_VOID_P @BUILD_SIZEOF_VOID_P@
|
|
|
b35c50 |
+# if defined __APPLE__
|
|
|
b35c50 |
+# if defined __BIG_ENDIAN__
|
|
|
b35c50 |
+# define BUILD_WORDS_BIGENDIAN 1
|
|
|
b35c50 |
+# else
|
|
|
b35c50 |
+# define BUILD_WORDS_BIGENDIAN 0
|
|
|
b35c50 |
+# endif
|
|
|
b35c50 |
+# else /* !defined __APPLE__ */
|
|
|
b35c50 |
+# define BUILD_WORDS_BIGENDIAN @BUILD_WORDS_BIGENDIAN@
|
|
|
b35c50 |
+# endif /* !defined __APPLE__ */
|
|
|
b35c50 |
#elif defined (GRUB_UTIL) || !defined (GRUB_MACHINE)
|
|
|
b35c50 |
-#include <config-util.h>
|
|
|
b35c50 |
-#else
|
|
|
b35c50 |
-#define HAVE_FONT_SOURCE @HAVE_FONT_SOURCE@
|
|
|
b35c50 |
+# include <config-util.h>
|
|
|
b35c50 |
+#else /* !defined GRUB_UTIL && defined GRUB_MACHINE */
|
|
|
b35c50 |
+# define HAVE_FONT_SOURCE @HAVE_FONT_SOURCE@
|
|
|
b35c50 |
/* Define if C symbols get an underscore after compilation. */
|
|
|
b35c50 |
-#define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
|
|
|
b35c50 |
+# define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
|
|
|
b35c50 |
/* Define it to one of __bss_start, edata and _edata. */
|
|
|
b35c50 |
-#define BSS_START_SYMBOL @BSS_START_SYMBOL@
|
|
|
b35c50 |
+# define BSS_START_SYMBOL @BSS_START_SYMBOL@
|
|
|
b35c50 |
/* Define it to either end or _end. */
|
|
|
b35c50 |
-#define END_SYMBOL @END_SYMBOL@
|
|
|
b35c50 |
+# define END_SYMBOL @END_SYMBOL@
|
|
|
b35c50 |
/* Name of package. */
|
|
|
b35c50 |
-#define PACKAGE "@PACKAGE@"
|
|
|
b35c50 |
+# define PACKAGE "@PACKAGE@"
|
|
|
b35c50 |
/* Version number of package. */
|
|
|
b35c50 |
-#define VERSION "@VERSION@"
|
|
|
b35c50 |
+# define VERSION "@VERSION@"
|
|
|
b35c50 |
/* Define to the full name and version of this package. */
|
|
|
b35c50 |
-#define PACKAGE_STRING "@PACKAGE_STRING@"
|
|
|
b35c50 |
+# define PACKAGE_STRING "@PACKAGE_STRING@"
|
|
|
b35c50 |
/* Define to the version of this package. */
|
|
|
b35c50 |
-#define PACKAGE_VERSION "@PACKAGE_VERSION@"
|
|
|
b35c50 |
+# define PACKAGE_VERSION "@PACKAGE_VERSION@"
|
|
|
b35c50 |
/* Define to the full name of this package. */
|
|
|
b35c50 |
-#define PACKAGE_NAME "@PACKAGE_NAME@"
|
|
|
b35c50 |
+# define PACKAGE_NAME "@PACKAGE_NAME@"
|
|
|
b35c50 |
/* Define to the address where bug reports for this package should be sent. */
|
|
|
b35c50 |
-#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
|
|
b35c50 |
+# define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
|
|
b35c50 |
|
|
|
b35c50 |
-#define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
|
|
|
b35c50 |
-#define GRUB_PLATFORM "@GRUB_PLATFORM@"
|
|
|
b35c50 |
-#define GRUB_RPM_VERSION "@GRUB_RPM_VERSION@"
|
|
|
b35c50 |
+# define GRUB_TARGET_CPU "@GRUB_TARGET_CPU@"
|
|
|
b35c50 |
+# define GRUB_PLATFORM "@GRUB_PLATFORM@"
|
|
|
b35c50 |
+# define GRUB_RPM_VERSION "@GRUB_RPM_VERSION@"
|
|
|
b35c50 |
|
|
|
b35c50 |
-#define RE_ENABLE_I18N 1
|
|
|
b35c50 |
+# define RE_ENABLE_I18N 1
|
|
|
b35c50 |
|
|
|
b35c50 |
-#define _GNU_SOURCE 1
|
|
|
b35c50 |
+# define _GNU_SOURCE 1
|
|
|
b35c50 |
|
|
|
b35c50 |
#endif
|