summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-03 19:15:57 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-03 19:15:57 +0200
commit595a40226ea1285689b622042534fd8442402db3 (patch)
tree9ad063cf0aaf7f073131116e42d59ab5dfda9089 /src/auto
parentd8d85bfb7d650d2fb584ea48aaaebdbc8a2e3dce (diff)
patch 8.0.1050: terminal window feature not included by defaultv8.0.1050
Problem: Terminal window feature not included by default. Solution: Include the terminal feature for the "huge" build.
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/auto/configure b/src/auto/configure
index df4c962bd5..7e46662023 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -7473,20 +7473,34 @@ $as_echo_n "checking --enable-terminal argument... " >&6; }
# Check whether --enable-terminal was given.
if test "${enable_terminal+set}" = set; then :
enableval=$enable_terminal; enable_terminal="yes"
+else
+ enable_terminal="auto"
fi
-if test "$enable_terminal" = "yes"; then
+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
fi
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ 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