Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kconfig: be more helpful if pkg-config is missing

If ncurses is installed, but at a non-default location, the previous
error message was not helpful in resolving the situation. Now it will
suggest that pkg-config might need to be installed in addition to
ncurses.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

authored by

Alyssa Ross and committed by
Masahiro Yamada
46b2afa6 5d8b42aa

+6
+3
scripts/kconfig/mconf-cfg.sh
··· 44 44 echo >&2 "* Install ncurses (ncurses-devel or libncurses-dev" 45 45 echo >&2 "* depending on your distribution)." 46 46 echo >&2 "*" 47 + echo >&2 "* You may also need to install pkg-config to find the" 48 + echo >&2 "* ncurses installed in a non-default location." 49 + echo >&2 "*" 47 50 exit 1
+3
scripts/kconfig/nconf-cfg.sh
··· 44 44 echo >&2 "* Install ncurses (ncurses-devel or libncurses-dev" 45 45 echo >&2 "* depending on your distribution)." 46 46 echo >&2 "*" 47 + echo >&2 "* You may also need to install pkg-config to find the" 48 + echo >&2 "* ncurses installed in a non-default location." 49 + echo >&2 "*" 47 50 exit 1