configure.ac: require libwayland 1.5.91
Compositor needs the wl_surface error enums and the keyboard repeat info protocol added in 1.5.91. weston-info, window.c, and Weston's wayland backend need also the keyboard repeat info. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
652c794b5d
commit
68c83cae24
@ -59,7 +59,7 @@ AC_CHECK_HEADERS([execinfo.h])
|
|||||||
|
|
||||||
AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])
|
AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])
|
||||||
|
|
||||||
COMPOSITOR_MODULES="wayland-server >= 1.3.90 pixman-1 >= 0.25.2"
|
COMPOSITOR_MODULES="wayland-server >= 1.5.91 pixman-1 >= 0.25.2"
|
||||||
|
|
||||||
AC_ARG_ENABLE(egl, [ --disable-egl],,
|
AC_ARG_ENABLE(egl, [ --disable-egl],,
|
||||||
enable_egl=yes)
|
enable_egl=yes)
|
||||||
@ -173,7 +173,7 @@ AM_CONDITIONAL(ENABLE_WAYLAND_COMPOSITOR,
|
|||||||
if test x$enable_wayland_compositor = xyes -a x$enable_egl = xyes; then
|
if test x$enable_wayland_compositor = xyes -a x$enable_egl = xyes; then
|
||||||
AC_DEFINE([BUILD_WAYLAND_COMPOSITOR], [1],
|
AC_DEFINE([BUILD_WAYLAND_COMPOSITOR], [1],
|
||||||
[Build the Wayland (nested) compositor])
|
[Build the Wayland (nested) compositor])
|
||||||
PKG_CHECK_MODULES(WAYLAND_COMPOSITOR, [wayland-client wayland-egl wayland-cursor])
|
PKG_CHECK_MODULES(WAYLAND_COMPOSITOR, [wayland-client >= 1.5.91 wayland-egl wayland-cursor])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -323,9 +323,9 @@ AM_CONDITIONAL(BUILD_CLIENTS, test x$enable_clients = xyes)
|
|||||||
if test x$enable_clients = xyes; then
|
if test x$enable_clients = xyes; then
|
||||||
AC_DEFINE([BUILD_CLIENTS], [1], [Build the Wayland clients])
|
AC_DEFINE([BUILD_CLIENTS], [1], [Build the Wayland clients])
|
||||||
|
|
||||||
PKG_CHECK_MODULES(CLIENT, [wayland-client cairo >= 1.10.0 xkbcommon wayland-cursor])
|
PKG_CHECK_MODULES(CLIENT, [wayland-client >= 1.5.91 cairo >= 1.10.0 xkbcommon wayland-cursor])
|
||||||
PKG_CHECK_MODULES(SERVER, [wayland-server])
|
PKG_CHECK_MODULES(SERVER, [wayland-server])
|
||||||
PKG_CHECK_MODULES(WESTON_INFO, [wayland-client])
|
PKG_CHECK_MODULES(WESTON_INFO, [wayland-client >= 1.5.91])
|
||||||
|
|
||||||
# Only check for cairo-egl if a GL or GLES renderer requested
|
# Only check for cairo-egl if a GL or GLES renderer requested
|
||||||
AS_IF([test "x$cairo_modules" = "xcairo-gl" -o "x$cairo_modules" = "xcairo-glesv2"], [
|
AS_IF([test "x$cairo_modules" = "xcairo-gl" -o "x$cairo_modules" = "xcairo-glesv2"], [
|
||||||
|
Loading…
Reference in New Issue
Block a user