From bd70def07754357d26b86c287037eb3884631daf Mon Sep 17 00:00:00 2001 From: Connor Behan Date: Fri, 15 Nov 2013 17:00:40 -0800 Subject: [PATCH] configure.ac: Require libpciaccess for int10 A --disable-pciaccess build will fail with an int10 module other than stub. Signed-off-by: Connor Behan Reviewed-by: Adam Jackson Signed-off-by: Keith Packard --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index c7ec9479a..6197e9bed 100644 --- a/configure.ac +++ b/configure.ac @@ -1830,6 +1830,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])