patch 9.1.1671: configure: missing comment about AC_CONFIG_SRCDIR
Commit:
https://github.com/vim/vim/commit/6a37035bf2482d4950e14bd650f9064ab24c44c3
Author: Damien Lejay <[email protected]>
Date: Sat Aug 23 06:43:27 2025 -0400
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/auto/configure b/src/auto/configure
index 8b559f557..5c0d3d614 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -2968,6 +2968,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
diff --git a/src/configure.ac b/src/configure.ac
index 0cfe836ac..983c58224 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -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)
diff --git a/src/version.c b/src/version.c
index 42949896a..4525356fb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1671,
/**/
1670,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1upmgD-00Emr3-G5%40256bit.org.