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 <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to