From: Jan Kiszka <[email protected]>

Do not define a bogus present action as this turns --enable-foo into
--disable-foo. Only set the default in non-present actions, also for
the completion option.

Signed-off-by: Jan Kiszka <[email protected]>
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 27c1b27..d8f9d3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,8 +185,7 @@ AC_DEFINE_UNQUOTED([ENV_MEM_USERVARS], 
[${ENV_MEM_USERVARS}], [Reserved memory f

 AC_ARG_ENABLE([bootloader],
     AS_HELP_STRING([--disable-bootloader], [Compile the bootloader disabled, 
only make the tools]),
-       [enable_bootloader="no"],
-       [enable_bootloader="yes"])
+       , [enable_bootloader="yes"])

 dnl pkg-config
 PKG_PROG_PKG_CONFIG()
@@ -206,7 +205,8 @@ AC_SUBST(LIBEBGENV_VERSION, $(echo $VERSION | cut -dv -f2))

 dnl shell completion
 AC_ARG_ENABLE([completion],
-    AS_HELP_STRING([--disable-completion], [do not generate shell completion 
files]))
+    AS_HELP_STRING([--disable-completion], [do not generate shell completion 
files]),
+       , [enable_completion="yes"])

 AS_IF([test "x$enable_completion" != "xno"],
       [
--
2.35.3

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/04cbe834-4d54-afe9-32bc-921ca7df18d6%40web.de.

Reply via email to