Re: [PATCH] kbuild: check for pkg-config on make menu/n/g/xconfig

From: BjÃrn Forsman
Date: Sun Mar 11 2018 - 17:00:59 EST


On 11 March 2018 at 21:12, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> +pkgcfg=`which pkg-config >/dev/null 2>&1`

Please use "command -v" instead of "which". command -v is in POSIX, so
the shell will have it for sure (builtin). which is not a builtin, it
is an external command that may or may not be installed on the system.

Best regards,
BjÃrn Forsman