I have seen your second message too late :-)

Michael Haener schrieb am Dienstag, 22. Februar 2022 um 14:43:59 UTC+1:

> check pkg config in dependency to bootloader option.
>
> Signed-off-by: Michael Haener <[email protected]>
> ---
> configure.ac | 15 +++++++--------
> 1 file changed, 7 insertions(+), 8 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 87ba384..7d447e9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -173,20 +173,19 @@ AC_ARG_WITH([mem-uservars],
>
> AC_DEFINE_UNQUOTED([ENV_MEM_USERVARS], [${ENV_MEM_USERVARS}], [Reserved 
> memory for user variables])
>
> -dnl pkg-config
> -PKG_PROG_PKG_CONFIG()
> -if test "x$PKG_CONFIG" = "xno"; then
> - AC_MSG_ERROR([You need to install pkg-config])
> -fi
> -PKG_CHECK_MODULES(LIBCHECK, check)
> -
> AC_ARG_ENABLE([bootloader],
> AS_HELP_STRING([--disable-bootloader], [Compile the bootloader disabled, 
> only make the tools]),
> [enable_bootloader="no"],
> [enable_bootloader="yes"])
>
> AS_IF([test "x$enable_bootloader" != "xno"], [
> - PKG_CHECK_MODULES(LIBPCI, libpci)
> + PKG_CHECK_MODULES(LIBPCI, libpci)
> + dnl pkg-config
> + PKG_PROG_PKG_CONFIG()
> + if test "x$PKG_CONFIG" = "xno"; then
> + AC_MSG_ERROR([You need to install pkg-config])
> + fi
> + PKG_CHECK_MODULES(LIBCHECK, check)
> ])
> AM_CONDITIONAL([BOOTLOADER], [test "x$enable_bootloader" != "xno"])
>
> -- 
> 2.34.1
>
>

-- 
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/a46390b5-164e-4fff-a1f8-c3d9f59003d9n%40googlegroups.com.

Reply via email to