On 3 March 2018 at 01:05, Keith Packard <kei...@keithp.com> wrote:
> Both autotools and meson build systems had complicated logic around
> what version of libdrm to require for various options. Remove that and
> just check for a new enough version to support all of the options
> which need libdrm.
>
> Signed-off-by: Keith Packard <kei...@keithp.com>
> ---
>  configure.ac |  7 +------
>  meson.build  | 12 ++----------
>  2 files changed, 3 insertions(+), 16 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 439d42390..0ba7550a1 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1281,12 +1281,7 @@ AM_CONDITIONAL(DRI3, test "x$DRI3" = xyes)
>  if test "x$DRI" = xyes || test "x$DRI2" = xyes || test "x$DRI3" = xyes || 
> test "x$CONFIG_UDEV_KMS" = xyes; then
>         if test "x$DRM" = xyes; then
>                 AC_DEFINE(WITH_LIBDRM, 1, [Building with libdrm support])
> -               if test "x$DRI2" = xyes; then
> -                       dnl 2.4.65 is required for drmGetDevice
> -                       PKG_CHECK_MODULES([LIBDRM], libdrm >= 2.4.65)
> -               else
> -                       PKG_CHECK_MODULES([LIBDRM], $LIBDRM)
> -               fi
> +               PKG_CHECK_MODULES([LIBDRM], $LIBDRM)
Seems like you missed the version here. LIBDRM is some very ancient
version, just enough for kdriver/xwayland.

-Emil
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to