summaryrefslogtreecommitdiff
path: root/src/auto/configure
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-16 14:37:06 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-16 14:37:06 +0100
commit8b42328cef294a5d6059ee7c452da75b845f6f8c (patch)
tree5e4cdccbfcc5d366bad4b821efc5d13c6aa59bf5 /src/auto/configure
parentb29d328eb403a243431f4d0d5b360b4ac46bbc3e (diff)
downloadvim-git-8b42328cef294a5d6059ee7c452da75b845f6f8c.tar.gz
patch 8.0.1392: build fails with --with-features=huge --disable-channelv8.0.1392
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)
Diffstat (limited to 'src/auto/configure')
-rwxr-xr-xsrc/auto/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 208032ad6..fd73e92d0 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -7514,7 +7514,7 @@ $as_echo "defaulting to no" >&6; }
$as_echo "no" >&6; }
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
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"