Skip to content

Commit

Permalink
patch 8.0.1050: terminal window feature not included by default
Browse files Browse the repository at this point in the history
Problem:    Terminal window feature not included by default.
Solution:   Include the terminal feature for the "huge" build.
  • Loading branch information
brammool committed Sep 3, 2017
1 parent d8d85bf commit 595a402
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
20 changes: 17 additions & 3 deletions src/auto/configure
Expand Up @@ -7473,20 +7473,34 @@ $as_echo_n "checking --enable-terminal argument... " >&6; }
# Check whether --enable-terminal was given. # Check whether --enable-terminal was given.
if test "${enable_terminal+set}" = set; then : if test "${enable_terminal+set}" = set; then :
enableval=$enable_terminal; enable_terminal="yes" enableval=$enable_terminal; enable_terminal="yes"
else
enable_terminal="auto"
fi 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 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 "$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; } $as_echo "cannot use terminal emulator with tiny or small features" >&6; }
enable_terminal="no" enable_terminal="no"
else 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; } $as_echo "yes" >&6; }
fi
fi fi
else 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; } $as_echo "no" >&6; }
fi
fi fi
if test "$enable_terminal" = "yes"; then if test "$enable_terminal" = "yes"; then
$as_echo "#define FEAT_TERMINAL 1" >>confdefs.h $as_echo "#define FEAT_TERMINAL 1" >>confdefs.h
Expand Down
18 changes: 14 additions & 4 deletions src/configure.ac
Expand Up @@ -2031,16 +2031,26 @@ fi
AC_MSG_CHECKING(--enable-terminal argument) AC_MSG_CHECKING(--enable-terminal argument)
AC_ARG_ENABLE(terminal, AC_ARG_ENABLE(terminal,
[ --enable-terminal Enable terminal emulation support.], [ --enable-terminal Enable terminal emulation support.],
[enable_terminal="yes"], ) [enable_terminal="yes"], [enable_terminal="auto"])
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 if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
AC_MSG_RESULT([cannot use terminal emulator with tiny or small features]) AC_MSG_RESULT([cannot use terminal emulator with tiny or small features])
enable_terminal="no" enable_terminal="no"
else else
AC_MSG_RESULT(yes) if test "$enable_terminal" = "auto"; then
enable_terminal="yes"
AC_MSG_RESULT(defaulting to yes)
else
AC_MSG_RESULT(yes)
fi
fi fi
else else
AC_MSG_RESULT(no) if test "$enable_terminal" = "auto"; then
enable_terminal="no"
AC_MSG_RESULT(defaulting to no)
else
AC_MSG_RESULT(no)
fi
fi fi
if test "$enable_terminal" = "yes"; then if test "$enable_terminal" = "yes"; then
AC_DEFINE(FEAT_TERMINAL) AC_DEFINE(FEAT_TERMINAL)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -769,6 +769,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 */
/**/
1050,
/**/ /**/
1049, 1049,
/**/ /**/
Expand Down

0 comments on commit 595a402

Please sign in to comment.