[PATCH 3/3] configure.ac: Require libpciaccess for int10

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


A --disable-pciaccess build will fail with an int10 module other than
stub.

Signed-off-by: Connor Behan <connor.behan at gmail.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 5e621e0..a843770 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1822,6 +1822,9 @@ if test "x$XORG" = xyes; then
 		if test "x$CONFIG_UDEV_KMS" = xyes; then
 			AC_MSG_ERROR([Platform device enumeration requires libpciaccess])
 		fi
+		if test "x$INT10" != xstub; then
+			AC_MSG_ERROR([Cannot build int10 without libpciaccess])
+		fi
 	fi
 	AC_MSG_RESULT([$PCI])
 
-- 
1.8.4



More information about the xorg-devel mailing list