[PATCH weston 3/4] configure.ac: remove dependency on mtdev
Quentin Glidic
sardemff7+wayland at sardemff7.net
Sat Aug 5 14:26:28 UTC 2017
On 8/5/17 1:59 PM, Arnaud Vrac wrote:
> It's been unused since the legacy (non-libinput) input backends have
> been removed.
>
> Signed-off-by: Arnaud Vrac <rawoul at gmail.com>
Sounds good:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Thanks,
> ---
> configure.ac | 4 ++--
> libweston/libinput-device.c | 1 -
> 2 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5179dfed..ba7b5cee 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -199,7 +199,7 @@ AC_ARG_ENABLE(drm-compositor, [ --enable-drm-compositor],,
> AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes)
> if test x$enable_drm_compositor = xyes; then
> AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor])
> - PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0])
> + PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm])
> PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2],
> [AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])],
> [AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])])
> @@ -242,7 +242,7 @@ AM_CONDITIONAL([ENABLE_FBDEV_COMPOSITOR],
> [test x$enable_fbdev_compositor = xyes])
> AS_IF([test x$enable_fbdev_compositor = xyes], [
> AC_DEFINE([BUILD_FBDEV_COMPOSITOR], [1], [Build the fbdev compositor])
> - PKG_CHECK_MODULES([FBDEV_COMPOSITOR], [libudev >= 136 mtdev >= 1.1.0])
> + PKG_CHECK_MODULES([FBDEV_COMPOSITOR], [libudev >= 136])
> ])
>
> AC_ARG_ENABLE([rdp-compositor], [ --enable-rdp-compositor],,
> diff --git a/libweston/libinput-device.c b/libweston/libinput-device.c
> index 5e7182da..b1d269db 100644
> --- a/libweston/libinput-device.c
> +++ b/libweston/libinput-device.c
> @@ -33,7 +33,6 @@
> #include <linux/input.h>
> #include <unistd.h>
> #include <fcntl.h>
> -#include <mtdev.h>
> #include <assert.h>
> #include <libinput.h>
>
>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list