Skip to content

Commit ef83956

Browse files
committed
patch 8.0.1235: cannot disable the terminal feature in a huge build
Problem: Cannot disable the terminal feature in a huge build. (lindhobe) Solution: Adjust the autoconf check. (Kazunobu Kuriyama, closes #2242)
1 parent a6ce1cc commit ef83956

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

src/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ CClink = $(CC)
340340
# When both GTK+ 2 and GTK+ 3 are possible then GTK+ 2 will be selected.
341341
# To use GTK+ 3 instead use --enable-gui=gtk3 (see below).
342342
#CONF_OPT_GUI = --disable-gtk2-check
343-
#CONF_OPT_GUI = --enable-gnome2-check
343+
#CONF_OPT_GUI = --enable-gnome-check
344344
#CONF_OPT_GUI = --disable-gtk3-check
345345
#CONF_OPT_GUI = --disable-motif-check
346346
#CONF_OPT_GUI = --disable-athena-check
@@ -483,9 +483,12 @@ CClink = $(CC)
483483
#CONF_OPT_CHANNEL = --disable-channel
484484

485485
# TERMINAL - Terminal emulator support, :terminal command. Requires the
486-
# channel feature.
487-
# Uncomment this when you want terminal emulator support.
486+
# channel feature. The default is enable for when using "huge" features.
487+
# Uncomment the first line when you want terminal emulator support for
488+
# not-huge builds. Uncomment the second line when you don't want terminal
489+
# emulator support in the huge build.
488490
#CONF_OPT_TERMINAL = --enable-terminal
491+
#CONF_OPT_TERMINAL = --disable-terminal
489492

490493
# MULTIBYTE - To edit multi-byte characters.
491494
# Uncomment this when you want to edit a multibyte language.

src/auto/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7475,7 +7475,7 @@ fi
74757475
$as_echo_n "checking --enable-terminal argument... " >&6; }
74767476
# Check whether --enable-terminal was given.
74777477
if test "${enable_terminal+set}" = set; then :
7478-
enableval=$enable_terminal; enable_terminal="yes"
7478+
enableval=$enable_terminal;
74797479
else
74807480
enable_terminal="auto"
74817481
fi

src/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,7 @@ fi
20352035
AC_MSG_CHECKING(--enable-terminal argument)
20362036
AC_ARG_ENABLE(terminal,
20372037
[ --enable-terminal Enable terminal emulation support.],
2038-
[enable_terminal="yes"], [enable_terminal="auto"])
2038+
, [enable_terminal="auto"])
20392039
if test "$enable_terminal" = "yes" || test "$enable_terminal" = "auto" -a "x$features" = "xhuge" ; then
20402040
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
20412041
AC_MSG_RESULT([cannot use terminal emulator with tiny or small features])

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1235,
764766
/**/
765767
1234,
766768
/**/

0 commit comments

Comments
 (0)