mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.0.1392: build fails with --with-features=huge --disable-channel
Problem: Build fails with --with-features=huge --disable-channel. Solution: Don't enable the terminal feature when the channel feature is missing. (Dominique Pelle, closes #2453)
This commit is contained in:
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@@ -7514,7 +7514,7 @@ $as_echo "defaulting to no" >&6; }
|
|||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "$enable_terminal" = "yes"; then
|
if test "$enable_terminal" = "yes" -a "$enable_channel" = "yes"; then
|
||||||
$as_echo "#define FEAT_TERMINAL 1" >>confdefs.h
|
$as_echo "#define FEAT_TERMINAL 1" >>confdefs.h
|
||||||
|
|
||||||
TERM_SRC="libvterm/src/encoding.c libvterm/src/keyboard.c libvterm/src/mouse.c libvterm/src/parser.c libvterm/src/pen.c libvterm/src/screen.c libvterm/src/state.c libvterm/src/unicode.c libvterm/src/vterm.c"
|
TERM_SRC="libvterm/src/encoding.c libvterm/src/keyboard.c libvterm/src/mouse.c libvterm/src/parser.c libvterm/src/pen.c libvterm/src/screen.c libvterm/src/state.c libvterm/src/unicode.c libvterm/src/vterm.c"
|
||||||
|
@@ -2059,7 +2059,7 @@ else
|
|||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "$enable_terminal" = "yes"; then
|
if test "$enable_terminal" = "yes" -a "$enable_channel" = "yes"; then
|
||||||
AC_DEFINE(FEAT_TERMINAL)
|
AC_DEFINE(FEAT_TERMINAL)
|
||||||
TERM_SRC="libvterm/src/encoding.c libvterm/src/keyboard.c libvterm/src/mouse.c libvterm/src/parser.c libvterm/src/pen.c libvterm/src/screen.c libvterm/src/state.c libvterm/src/unicode.c libvterm/src/vterm.c"
|
TERM_SRC="libvterm/src/encoding.c libvterm/src/keyboard.c libvterm/src/mouse.c libvterm/src/parser.c libvterm/src/pen.c libvterm/src/screen.c libvterm/src/state.c libvterm/src/unicode.c libvterm/src/vterm.c"
|
||||||
AC_SUBST(TERM_SRC)
|
AC_SUBST(TERM_SRC)
|
||||||
|
@@ -771,6 +771,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 */
|
||||||
|
/**/
|
||||||
|
1392,
|
||||||
/**/
|
/**/
|
||||||
1391,
|
1391,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user