On 22.02.22 13:55, Jan Kiszka wrote: > 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). >
Massaged that myself, result is in next now. Thanks, Jan -- 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/61401b18-8c85-b358-f216-79aeeef1faf6%40siemens.com.
