[PATCH 2/3] configure.ac: Require libpciaccess for platform bus support

Connor Behan connor.behan at gmail.com
Fri Nov 15 17:00:20 PST 2013


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 <connor.behan at gmail.com>
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index e8597a7..5e621e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1818,6 +1818,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])
 
-- 
1.8.4



More information about the xorg-devel mailing list