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