grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] configure.ac: Fix typo by adding missing $


From: Michał Grzelak
Subject: [PATCH] configure.ac: Fix typo by adding missing $
Date: Thu, 29 Jun 2023 20:11:04 +0200

During configuration of sdl, variable enable_grub_emu_sdl is checked
whether to throw an error message. Howerever, error could not happen
because two unequal strings were compared. Fix this by referencing
value of enable_grub_emu_sdl, not name.

Signed-off-by: Michał Grzelak <mchl.grzlk@gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 9d7854d35..278e5a81f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1638,7 +1638,7 @@ AC_CHECK_LIB([SDL], [SDL_Init], [LIBSDL="-lSDL"],
       [grub_emu_sdl_excuse=["libSDL header file is required to build 
\`grub-emu' with SDL support"]])
   [fi]
 
-  if test x"enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x ; 
then
+  if test x"$enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x 
; then
     AC_MSG_ERROR([SDL support for grub-emu was explicitly requested but can't 
be compiled ($grub_emu_sdl_excuse)])
   fi
   if test x"$grub_emu_sdl_excuse" = x ; then
-- 
2.37.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]