0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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

14
src/auto/configure vendored
View File

@@ -9216,12 +9216,20 @@ if test ${with_wayland+y}
then : then :
withval=$with_wayland; with_wayland=$withval withval=$with_wayland; with_wayland=$withval
else case e in #( else case e in #(
e) with_wayland=yes ;; e) if test "x$features" = xtiny
then :
with_wayland=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot use wayland with tiny features" >&5
printf "%s\n" "cannot use wayland with tiny features" >&6; }
else case e in #(
e) with_wayland=yes
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; } ;;
esac
fi ;;
esac esac
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_wayland" >&5
printf "%s\n" "$with_wayland" >&6; }
if test "$with_wayland" = yes; then if test "$with_wayland" = yes; then
cflags_save=$CFLAGS cflags_save=$CFLAGS

View File

@@ -2408,8 +2408,11 @@ AC_MSG_CHECKING(--with-wayland argument)
AC_ARG_WITH(wayland, AC_ARG_WITH(wayland,
[ --with-wayland Include support for the Wayland protocol.], [ --with-wayland Include support for the Wayland protocol.],
[with_wayland=$withval], [with_wayland=$withval],
[with_wayland=yes]) AS_IF([test "x$features" = xtiny],
AC_MSG_RESULT([$with_wayland]) [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 if test "$with_wayland" = yes; then
cflags_save=$CFLAGS cflags_save=$CFLAGS

View File

@@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1565,
/**/ /**/
1564, 1564,
/**/ /**/