summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/check-pkgconfig.sh
blob: 7a1c40bfb58cb05df5d6a0d45f5d1e18f5f49164 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Check for pkg-config presence

if [ -z $(command -v pkg-config) ]; then
	echo "'make *config' requires 'pkg-config'. Please install it." 1>&2
	exit 1
fi