From fca8937f26836ddda6c3b9c5264e04c64879638c Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 29 Apr 2024 14:27:27 +0200 Subject: [PATCH] configure.ac: Fix check for parted PKG_CHECK_MODULES needs all modules in a single list or else the following error message appears during configure run: ./configure: 6807: libconfig: not found because the macro interprets "[libconfig]" as the action that needs to be done if parted was found. Removed superfluous check for libconfig as requested by PartialVolume --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a2b3450..28bdd3a 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,7 @@ PKG_CHECK_MODULES( AC_CHECK_LIB([intl], [libintl_dgettext]) # needed to statically link libparted, but not given in its pkgconfig file AC_CHECK_LIB([uuid], [uuid_generate]) # needed to statically link libparted, but not given in its pkgconfig file -PKG_CHECK_MODULES([PARTED], [libparted], [libconfig]) +PKG_CHECK_MODULES([PARTED], [libparted]) AC_CHECK_LIB([pthread], [main], ,[AC_MSG_ERROR([pthread development library not found])]) # Checks for header files.