0
0
mirror of https://github.com/vim/vim.git synced 2025-10-23 08:44:20 -04:00

patch 9.1.1565: configure: does not consider tiny version for wayland

Problem:  configure: does not consider tiny version for wayland
Solution: Do not try to enable wayland for a tiny vim version
          (Christoffer Aasted).

closes: #17783

Signed-off-by: Christoffer Aasted <chr.aasted@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christoffer Aasted
2025-07-18 20:37:41 +02:00
committed by Christian Brabandt
parent a2fff3fb94
commit f412241fcd
3 changed files with 18 additions and 5 deletions

View File

@@ -2408,8 +2408,11 @@ AC_MSG_CHECKING(--with-wayland argument)
AC_ARG_WITH(wayland,
[ --with-wayland Include support for the Wayland protocol.],
[with_wayland=$withval],
[with_wayland=yes])
AC_MSG_RESULT([$with_wayland])
AS_IF([test "x$features" = xtiny],
[with_wayland=no
AC_MSG_RESULT([cannot use wayland with tiny features])],
[with_wayland=yes
AC_MSG_RESULT([yes])]))
if test "$with_wayland" = yes; then
cflags_save=$CFLAGS