From a575c1dc64c10bc88bd0e963ebb8ab137f59a078 Mon Sep 17 00:00:00 2001 From: Connor Behan Date: Fri, 15 Nov 2013 17:00:20 -0800 Subject: [PATCH] configure.ac: Require libpciaccess for platform bus support There is currently no reason to build with --enable-config-udev-kms and --disable-pciaccess but anyone who tries this should know that the build will fail. Signed-off-by: Connor Behan Reviewed-by: Adam Jackson Signed-off-by: Keith Packard --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index b8c85d5bc..c7ec9479a 100644 --- a/configure.ac +++ b/configure.ac @@ -1826,6 +1826,10 @@ if test "x$XORG" = xyes; then xorg_bus_sparc="yes" ;; esac + else + if test "x$CONFIG_UDEV_KMS" = xyes; then + AC_MSG_ERROR([Platform device enumeration requires libpciaccess]) + fi fi AC_MSG_RESULT([$PCI])