configure: Remove unused function check_prog()

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
This commit is contained in:
Petr Vorel 2018-12-15 19:00:40 +01:00 committed by Stephen Hemminger
parent ec7cac05ff
commit 3de834e6e2
1 changed files with 0 additions and 6 deletions

6
configure vendored
View File

@ -11,12 +11,6 @@ CONFIG=config.mk
TMPDIR=$(mktemp -d config.XXXXXX)
trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
check_prog()
{
echo -n "$2"
command -v $1 >/dev/null 2>&1 && (echo "$3:=y" >> $CONFIG; echo "yes") || (echo "no"; return 1)
}
check_toolchain()
{
: ${PKG_CONFIG:=pkg-config}