Skip to content

Commit 08b7bae

Browse files
committed
patch 7.4.1004
Problem: Using Makefile when auto/config.mk does not exists results in warnings. Solution: Use default values for essential variables.
1 parent 7b5f0a1 commit 08b7bae

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ CC=
281281
#GUI_LIB_LOC = -L/usr/X11R6/lib
282282
# }}}
283283

284+
# Defaults used when auto/config.mk does not exist.
285+
srcdir = .
286+
VIMNAME = vim
287+
EXNAME = ex
288+
VIEWNAME = view
289+
284290
######################## auto/config.mk ######################## {{{1
285291
# At this position auto/config.mk is included. When starting from the
286292
# toplevel Makefile it is almost empty. After running auto/configure it

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+
1004,
744746
/**/
745747
1003,
746748
/**/

0 commit comments

Comments
 (0)