0
0
mirror of https://github.com/vim/vim.git synced 2025-08-23 19:34:27 -04:00

patch 9.1.1671: configure: missing comment about AC_CONFIG_SRCDIR

Problem:  configure: missing comment about AC_CONFIG_SRCDIR
Solution: Add comment explaining the use of AC_CONFIG_SRCDIR
          (Damien Lejay)

closes: #18071

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Damien Lejay 2025-08-23 06:43:27 -04:00 committed by Christian Brabandt
parent b4e0bd93a9
commit 6a37035bf2
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
3 changed files with 7 additions and 0 deletions

1
src/auto/configure vendored
View File

@ -2968,6 +2968,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers auto/config.h:config.h.in"

View File

@ -30,6 +30,10 @@ dnl truth for both UNIX and non-UNIX platforms.
dnl
dnl Therefore we call AC_INIT without arguments.
AC_INIT
dnl Use vim.h as the source-tree anchor: AC_CONFIG_SRCDIR verifies that
dnl configure is run in (or pointed to) the correct source directory.
dnl vim.h is always present at the top level.
AC_CONFIG_SRCDIR([vim.h])
AC_CONFIG_HEADERS(auto/config.h:config.h.in)

View File

@ -724,6 +724,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1671,
/**/
1670,
/**/