patch 9.0.0280: the builtin termcap list depends on the version

Problem:    The builtin termcap list depends on the version.
Solution:   Always include all termcap entries.  Remove duplicate lines.
This commit is contained in:
Bram Moolenaar
2022-08-26 17:53:44 +01:00
parent 5416232707
commit 2ee347fbc0
7 changed files with 22 additions and 155 deletions

View File

@ -120,6 +120,7 @@
* +path_extra up/downwards searching in 'path' and 'tags'.
* +wildignore 'wildignore' and 'backupskip' options
* +wildmenu 'wildmenu' option
* +builtin_terms all builtin termcap entries included
*
* Obsolete:
* +tag_old_static Old style static tags: "file:tag file ..".
@ -375,39 +376,19 @@
#endif
/*
* +builtin_terms Choose one out of the following four:
*
* NO_BUILTIN_TCAPS Do not include any builtin termcap entries (used only
* with HAVE_TGETENT defined).
*
* (nothing) Machine specific termcap entries will be included.
*
* SOME_BUILTIN_TCAPS Include most useful builtin termcap entries (used only
* with NO_BUILTIN_TCAPS not defined).
* This is the default.
*
* ALL_BUILTIN_TCAPS Include all builtin termcap entries
* (used only with NO_BUILTIN_TCAPS not defined).
*/
#ifdef HAVE_TGETENT
// #define NO_BUILTIN_TCAPS
#endif
#if !defined(NO_BUILTIN_TCAPS)
# ifdef FEAT_BIG
# define ALL_BUILTIN_TCAPS
# else
# define SOME_BUILTIN_TCAPS // default
# endif
#endif
/*
* +cryptv Encryption (by Mohsin Ahmed <mosh@sasi.com>).
* +cryptv Encryption (originally by Mohsin Ahmed <mosh@sasi.com>).
*/
#if defined(FEAT_NORMAL) && !defined(FEAT_CRYPT) || defined(PROTO)
# define FEAT_CRYPT
#endif
/*
* libsodium - add cryptography support
*/
#if defined(HAVE_SODIUM) && defined(FEAT_BIG)
# define FEAT_SODIUM
#endif
/*
* +mksession ":mksession" command.
* fully depends on +eval
@ -514,13 +495,6 @@
# define FEAT_SOUND_CANBERRA
#endif
/*
* libsodium - add cryptography support
*/
#if defined(HAVE_SODIUM) && defined(FEAT_BIG)
# define FEAT_SODIUM
#endif
// There are two ways to use XPM.
#if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \
|| defined(HAVE_X11_XPM_H)