0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 7.4.1145

Problem:    Default features are conservative.
Solution:   Make the default feature set for most of todays systems "huge".
This commit is contained in:
Bram Moolenaar
2016-01-20 22:11:59 +01:00
parent 17576a1e33
commit 23c4f7183c
4 changed files with 18 additions and 10 deletions

4
src/auto/configure vendored
View File

@@ -4763,8 +4763,8 @@ if test "${with_features+set}" = set; then :
withval=$with_features; features="$withval"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $features" >&5 withval=$with_features; features="$withval"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $features" >&5
$as_echo "$features" >&6; } $as_echo "$features" >&6; }
else else
features="normal"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to normal" >&5 features="huge"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to huge" >&5
$as_echo "Defaulting to normal" >&6; } $as_echo "Defaulting to huge" >&6; }
fi fi

View File

@@ -436,7 +436,7 @@ dnl Check user requested features.
AC_MSG_CHECKING(--with-features argument) AC_MSG_CHECKING(--with-features argument)
AC_ARG_WITH(features, [ --with-features=TYPE tiny, small, normal, big or huge (default: normal)], AC_ARG_WITH(features, [ --with-features=TYPE tiny, small, normal, big or huge (default: normal)],
features="$withval"; AC_MSG_RESULT($features), features="$withval"; AC_MSG_RESULT($features),
features="normal"; AC_MSG_RESULT(Defaulting to normal)) features="huge"; AC_MSG_RESULT(Defaulting to huge))
dovimdiff="" dovimdiff=""
dogvimdiff="" dogvimdiff=""

View File

@@ -54,12 +54,17 @@
#endif #endif
/* /*
* These executables are made available with the +big feature, because they * For Unix, Mac and Win32 use +huge by default. These days CPUs are fast and
* are supposed to have enough RAM: Win32 (console & GUI), dos32, OS/2 and VMS. * Memory is cheap.
* Use +big for older systems: Other MS-Windows, dos32, OS/2 and VMS.
* The dos16 version has very little RAM available, use +small. * The dos16 version has very little RAM available, use +small.
* Otherwise use +normal
*/ */
#if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \ #if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \
&& !defined(FEAT_BIG) && !defined(FEAT_HUGE) && !defined(FEAT_BIG) && !defined(FEAT_HUGE)
# if defined(UNIX) || defined(WIN3264) || defined(MACOS)
# define FEAT_HUGE
# else
# if defined(MSWIN) || defined(DJGPP) || defined(VMS) || defined(MACOS) || defined(AMIGA) # if defined(MSWIN) || defined(DJGPP) || defined(VMS) || defined(MACOS) || defined(AMIGA)
# define FEAT_BIG # define FEAT_BIG
# else # else
@@ -69,6 +74,7 @@
# define FEAT_NORMAL # define FEAT_NORMAL
# endif # endif
# endif # endif
# endif
#endif #endif
/* /*

View File

@@ -741,6 +741,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 */
/**/
1145,
/**/ /**/
1144, 1144,
/**/ /**/