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>
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
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1565,
/**/
1564,
/**/