configure: Check for presence of bpftool

We need bpftool to build skeleton files, so make sure it's present in
configure.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
This commit is contained in:
Toke Høiland-Jørgensen
2022-11-15 23:54:48 +01:00
parent 9be0a6a8e4
commit 784f742300

2
configure vendored
View File

@@ -23,7 +23,7 @@ check_toolchain()
: ${LLC=llc}
: ${BPFTOOL=bpftool}
for TOOL in $PKG_CONFIG $CC $CLANG $LLC; do
for TOOL in $PKG_CONFIG $CC $CLANG $LLC $BPFTOOL; do
if [ ! $(command -v ${TOOL} 2>/dev/null) ]; then
echo "*** ERROR: Cannot find tool ${TOOL}" ;
exit 1;