On 22.02.22 12:27, Michael Haener wrote:
> check pkg config in dependency to bootloader option.
> 
> Signed-off-by: Michael Haener <[email protected]>
> ---
>  configure.ac | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 87ba384..a2a2ea6 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -173,13 +173,6 @@ 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"],
> @@ -187,6 +180,13 @@ AC_ARG_ENABLE([bootloader],
>  
>  AS_IF([test "x$enable_bootloader" != "xno"], [
>      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)

Indention seems inconsistent (space vs. tabs here).

Jan

>  ])
>  AM_CONDITIONAL([BOOTLOADER], [test "x$enable_bootloader" != "xno"])
>  


-- 
Siemens AG, Technology
Competence Center Embedded Linux

-- 
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/f0add60b-8d97-c3e3-39d4-8447c32da5e4%40siemens.com.

Reply via email to