On 07.12.21 03:54, Bastian Germann wrote:
> PKG_PROG_PKG_CONFIG sets $PKG_CONFIG to a pkg-config executable.
> Setting it manually via AC_PATH_PROG is superfluous and problematic
> with executable name prefixes. Get rid of the AC_PATH_PROG call.
> 
> Signed-off-by: Bastian Germann <[email protected]>
> ---
>  configure.ac | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 6dcd386..01a4fdb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -174,11 +174,10 @@ AC_ARG_WITH([mem-uservars],
>  AC_DEFINE_UNQUOTED([ENV_MEM_USERVARS], [${ENV_MEM_USERVARS}], [Reserved 
> memory for user variables])
>  
>  dnl pkg-config
> -AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
> +PKG_PROG_PKG_CONFIG()
>  if test "x$PKG_CONFIG" = "xno"; then
>       AC_MSG_ERROR([You need to install pkg-config])
>  fi
> -PKG_PROG_PKG_CONFIG()
>  PKG_CHECK_MODULES(LIBCHECK, check)
>  PKG_CHECK_MODULES(LIBPCI, libpci)
>  # 
> ------------------------------------------------------------------------------
> 

Thanks, merged.

Jan

-- 
Siemens AG, T RDA IOT
Corporate 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/1e1db250-5110-a972-a02f-33e1a5c4c99e%40siemens.com.

Reply via email to