[LTP] [PATCH 1/1] configure: Improve error message on missing pkg-config

Petr Vorel pvorel@suse.cz
Tue Feb 16 11:36:45 CET 2021


Hi,

> +++ b/configure.ac
> @@ -30,6 +30,9 @@ AC_DEFUN([AC_PROG_STRIP], [AC_CHECK_TOOL(STRIP, strip, :)])
>  AC_PROG_STRIP
>  AC_PROG_YACC

> +m4_ifndef([PKG_PREREQ],
> +	[m4_fatal([must install pkg-config or pkgconfig and pkg.m4 macro (usual dependency)])])
Maybe mention also INSTALL file (feedback from
https://github.com/linux-test-project/ltp/issues/787):

	[m4_fatal([must install pkg-config or pkgconfig and pkg.m4 macro (usual dependency), see INSTALL for all dependencies])])

Kind regards,
Petr


More information about the ltp mailing list