tools/pci: replace pciutils with pciaccess
The pciutils library has a license which is incompatible with ours, so
switch to pciaccess instead since it's MIT-licensed.
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Ie40580d9992f7c30d9fdc904f97c89057791b10e
diff --git a/configure.ac b/configure.ac
index 41dd7f2..94ed8b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,10 +123,10 @@
# If not building the host-tool, we're building the BMC.
AS_IF([test "x$enable_build_host_tool" != "xno"], [
PKG_CHECK_MODULES(
- [PCILIB],
- [libpci],
+ [PCIACCESS],
+ [pciaccess >= 0.8.0],
[],
- [AC_MSG_ERROR([Could not find libpci... pciutils package required])]
+ [AC_MSG_ERROR([Could not find libpciaccess... pciaccess package required])]
)
])