[minicoredumper] [PATCH 7/8] buildsystem: remove separate check for the pkg-config tool

Juergen Borleis jbe at pengutronix.de
Mon Mar 11 11:23:17 CET 2019


A separate check for the tool itself is only required if a call to
PKG_CHECK_MODULES() is done conditionally. Here it is called always and
thus checks for the 'pkg-config' tool internally.

Signed-off-by: Juergen Borleis <jbe at pengutronix.de>
---
 configure.ac | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9e2030e..7eb85f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,10 +55,6 @@ AC_FUNC_MALLOC
 AC_FUNC_MMAP
 AC_CHECK_FUNCS([dup2 ftruncate localtime_r memmove memset mkdir munmap pow socket strchr strdup strerror strndup strrchr strtol])
 
-AC_CHECK_PROG([PKGCONFIG_CHECK], [pkg-config], [yes])
-AS_IF([test "x$PKGCONFIG_CHECK" = xyes],
-      [], AC_MSG_ERROR([pkg-config missing!]))
-
 PKG_CHECK_MODULES([libelf], [libelf], [],
 		  AC_CHECK_HEADERS([gelf.h], [libelf_LIBS=-lelf],
 				   [AC_MSG_ERROR([gelf.h missing!])]))
-- 
2.11.0




More information about the minicoredumper mailing list