Mercurial > vim
diff src/auto/configure @ 12341:4f1b89fb9f58 v8.0.1050
patch 8.0.1050: terminal window feature not included by default
commit https://github.com/vim/vim/commit/595a40226ea1285689b622042534fd8442402db3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 3 19:15:57 2017 +0200
patch 8.0.1050: terminal window feature not included by default
Problem: Terminal window feature not included by default.
Solution: Include the terminal feature for the "huge" build.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 03 Sep 2017 19:30:05 +0200 |
parents | c141c7d8606c |
children | 20dd08d26680 |
line wrap: on
line diff
--- a/src/auto/configure +++ b/src/auto/configure @@ -7473,20 +7473,34 @@ fi # Check whether --enable-terminal was given. if test "${enable_terminal+set}" = set; then : enableval=$enable_terminal; enable_terminal="yes" -fi - -if test "$enable_terminal" = "yes"; then +else + enable_terminal="auto" +fi + +if test "$enable_terminal" = "yes" || test "$enable_terminal" = "auto" -a "x$features" = "xhuge" ; then if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use terminal emulator with tiny or small features" >&5 $as_echo "cannot use terminal emulator with tiny or small features" >&6; } enable_terminal="no" else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + if test "$enable_terminal" = "auto"; then + enable_terminal="yes" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: defaulting to yes" >&5 +$as_echo "defaulting to yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + fi + fi +else + if test "$enable_terminal" = "auto"; then + enable_terminal="no" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: defaulting to no" >&5 +$as_echo "defaulting to no" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi fi if test "$enable_terminal" = "yes"; then $as_echo "#define FEAT_TERMINAL 1" >>confdefs.h