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:
parent
361dfe74ea
commit
a575c1dc64
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue