From d464ad155f34469818ef41e68048e4a5b8ae3512 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Mon, 28 Oct 2024 17:04:21 +0800 Subject: [PATCH] build: Log the detected '*curses*.pc' file into config.log When "configure" suggests user to install pkg-config, output the '*curses*.pc' file detected in the config.log. This aids diagnosing the configure script. Signed-off-by: Kang-Che Sung --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 19fcccc01..353c5232a 100644 --- a/configure.ac +++ b/configure.ac @@ -607,6 +607,7 @@ none-*|nonwide-yes) for d in $list; do result=`find "$d" -name '*curses*.pc' 2>/dev/null | sed '1 q'` if test "x$result" != x; then + echo detected a .pc file: "$result" >&AS_MESSAGE_LOG_FD AC_MSG_WARN([your system supports pkg-config; installing pkg-config is recommended before configuring htop]) break fi