Skip to content

Commit

Permalink
build: Log the detected '*curses*.pc' file into config.log
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Explorer09 authored and BenBE committed Dec 14, 2024
1 parent 52c9e3d commit d464ad1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d464ad1

Please sign in to comment.