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 <connor.behan@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Connor Behan 2013-11-15 17:00:20 -08:00 committed by Keith Packard
parent 361dfe74ea
commit a575c1dc64
1 changed files with 4 additions and 0 deletions

View File

@ -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])