]> git.ipfire.org Git - thirdparty/grub.git/commit
configure: Fix SDL2 typo by referencing value
authorMichał Grzelak <mchl.grzlk@gmail.com>
Tue, 18 Jul 2023 22:48:21 +0000 (00:48 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 14 Aug 2023 15:19:51 +0000 (17:19 +0200)
commiteba6bdcd3ad938a5f189a56f06e20150ed3d084a
tree1e6288300aa81bd4afef9645038bb213f452421d
parent459f028cd36555b117e3c0d5ae952190b7968c19
configure: Fix SDL2 typo by referencing value

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

Fixes: 17d6ac1a7 (emu: Add SDL2 support)
Signed-off-by: Michał Grzelak <mchl.grzlk@gmail.com>
Reviewed-by: Julian Andres Klode <julian.klode@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
configure.ac