Skip to content

Commit 23c4f71

Browse files
committed
patch 7.4.1145
Problem: Default features are conservative. Solution: Make the default feature set for most of todays systems "huge".
1 parent 17576a1 commit 23c4f71

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

src/auto/configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4763,8 +4763,8 @@ if test "${with_features+set}" = set; then :
47634763
withval=$with_features; features="$withval"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $features" >&5
47644764
$as_echo "$features" >&6; }
47654765
else
4766-
features="normal"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to normal" >&5
4767-
$as_echo "Defaulting to normal" >&6; }
4766+
features="huge"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to huge" >&5
4767+
$as_echo "Defaulting to huge" >&6; }
47684768
fi
47694769

47704770

src/configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ dnl Check user requested features.
436436
AC_MSG_CHECKING(--with-features argument)
437437
AC_ARG_WITH(features, [ --with-features=TYPE tiny, small, normal, big or huge (default: normal)],
438438
features="$withval"; AC_MSG_RESULT($features),
439-
features="normal"; AC_MSG_RESULT(Defaulting to normal))
439+
features="huge"; AC_MSG_RESULT(Defaulting to huge))
440440

441441
dovimdiff=""
442442
dogvimdiff=""

src/feature.h

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,25 @@
5454
#endif
5555

5656
/*
57-
* These executables are made available with the +big feature, because they
58-
* are supposed to have enough RAM: Win32 (console & GUI), dos32, OS/2 and VMS.
57+
* For Unix, Mac and Win32 use +huge by default. These days CPUs are fast and
58+
* Memory is cheap.
59+
* Use +big for older systems: Other MS-Windows, dos32, OS/2 and VMS.
5960
* The dos16 version has very little RAM available, use +small.
61+
* Otherwise use +normal
6062
*/
6163
#if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \
6264
&& !defined(FEAT_BIG) && !defined(FEAT_HUGE)
63-
# if defined(MSWIN) || defined(DJGPP) || defined(VMS) || defined(MACOS) || defined(AMIGA)
64-
# define FEAT_BIG
65+
# if defined(UNIX) || defined(WIN3264) || defined(MACOS)
66+
# define FEAT_HUGE
6567
# else
66-
# ifdef MSDOS
67-
# define FEAT_SMALL
68+
# if defined(MSWIN) || defined(DJGPP) || defined(VMS) || defined(MACOS) || defined(AMIGA)
69+
# define FEAT_BIG
6870
# else
69-
# define FEAT_NORMAL
71+
# ifdef MSDOS
72+
# define FEAT_SMALL
73+
# else
74+
# define FEAT_NORMAL
75+
# endif
7076
# endif
7177
# endif
7278
#endif

src/version.c

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

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1145,
744746
/**/
745747
1144,
746748
/**/

0 commit comments

Comments
 (0)