Skip to content

Commit 8e9eb3a

Browse files
committed
patch 7.4.1784
Problem: The termtruecolor feature is enabled differently from many other features. Solution: Enable the termtruecolor feature for the big build, not through configure.
1 parent af98a49 commit 8e9eb3a

File tree

5 files changed

+9
-30
lines changed

5 files changed

+9
-30
lines changed

src/auto/configure

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,6 @@ with_tclsh
810810
enable_rubyinterp
811811
with_ruby_command
812812
enable_cscope
813-
enable_termtruecolor
814813
enable_workshop
815814
enable_netbeans
816815
enable_channel
@@ -1477,7 +1476,6 @@ Optional Features:
14771476
--enable-tclinterp=OPTS Include Tcl interpreter. default=no OPTS=no/yes/dynamic
14781477
--enable-rubyinterp=OPTS Include Ruby interpreter. default=no OPTS=no/yes/dynamic
14791478
--enable-cscope Include cscope interface.
1480-
--enable-termtruecolor Include support for 24-bit colors in ISO-8613-3 compatible terminals
14811479
--enable-workshop Include Sun Visual Workshop support.
14821480
--disable-netbeans Disable NetBeans integration support.
14831481
--disable-channel Disable process communication support.
@@ -7218,22 +7216,6 @@ if test "$enable_cscope" = "yes"; then
72187216

72197217
fi
72207218

7221-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-termtruecolor argument" >&5
7222-
$as_echo_n "checking --enable-termtruecolor argument... " >&6; }
7223-
# Check whether --enable-termtruecolor was given.
7224-
if test "${enable_termtruecolor+set}" = set; then :
7225-
enableval=$enable_termtruecolor;
7226-
else
7227-
enable_termtruecolor="no"
7228-
fi
7229-
7230-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_termtruecolor" >&5
7231-
$as_echo "$enable_termtruecolor" >&6; }
7232-
if test "$enable_termtruecolor" = "yes"; then
7233-
$as_echo "#define FEAT_TERMTRUECOLOR 1" >>confdefs.h
7234-
7235-
fi
7236-
72377219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --enable-workshop argument" >&5
72387220
$as_echo_n "checking --enable-workshop argument... " >&6; }
72397221
# Check whether --enable-workshop was given.

src/config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,6 @@
362362
/* Define for linking via dlopen() or LoadLibrary() */
363363
#undef DYNAMIC_TCL
364364

365-
/* Define if you want 24-bit colors in ISO-8613-3 compatible terminals. */
366-
#undef FEAT_TERMTRUECOLOR
367-
368365
/* Define if you want to add support for ACL */
369366
#undef HAVE_POSIX_ACL
370367
#undef HAVE_SOLARIS_ZFS_ACL

src/configure.in

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,15 +1926,6 @@ if test "$enable_cscope" = "yes"; then
19261926
AC_DEFINE(FEAT_CSCOPE)
19271927
fi
19281928

1929-
AC_MSG_CHECKING(--enable-termtruecolor argument)
1930-
AC_ARG_ENABLE(termtruecolor,
1931-
[ --enable-termtruecolor Include support for 24-bit colors in ISO-8613-3 compatible terminals], ,
1932-
[enable_termtruecolor="no"])
1933-
AC_MSG_RESULT($enable_termtruecolor)
1934-
if test "$enable_termtruecolor" = "yes"; then
1935-
AC_DEFINE(FEAT_TERMTRUECOLOR)
1936-
fi
1937-
19381929
AC_MSG_CHECKING(--enable-workshop argument)
19391930
AC_ARG_ENABLE(workshop,
19401931
[ --enable-workshop Include Sun Visual Workshop support.], ,

src/feature.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,13 @@
814814
# endif
815815
#endif
816816

817+
/*
818+
* +termtruecolor 'guicolor' option.
819+
*/
820+
#if (defined(FEAT_BIG) && defined(FEAT_SYN_HL)) && !defined(ALWAYS_USE_GUI)
821+
# define FEAT_TERMTRUECOLOR
822+
#endif
823+
817824
/* Mac specific thing: Codewarrior interface. */
818825
#ifdef FEAT_GUI_MAC
819826
# define FEAT_CW_EDITOR

src/version.c

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

754754
static int included_patches[] =
755755
{ /* Add new patch number below this line */
756+
/**/
757+
1784,
756758
/**/
757759
1783,
758760
/**/

0 commit comments

Comments
 (0)