From: Christoffer Aasted Date: Fri, 18 Jul 2025 18:37:41 +0000 (+0200) Subject: patch 9.1.1565: configure: does not consider tiny version for wayland X-Git-Tag: v9.1.1565^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f412241fcdf93107353d75c99adcc4c0bc900656;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/src/auto/configure b/src/auto/configure index d01f38c714..2652a2a504 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -9216,12 +9216,20 @@ if test ${with_wayland+y} then : withval=$with_wayland; with_wayland=$withval 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 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 cflags_save=$CFLAGS diff --git a/src/configure.ac b/src/configure.ac index fc9590f758..b6d528b159 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -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 diff --git a/src/version.c b/src/version.c index 5984778cca..9058b29bcf 100644 --- a/src/version.c +++ b/src/version.c @@ -719,6 +719,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1565, /**/ 1564, /**/