patch 9.1.1659: configure: uses AC_INIT without args Commit: https://github.com/vim/vim/commit/bb1233d328f593a951fd890d0de3bccdee227ae4 Author: Damien Lejay <dam...@lejay.be> Date: Wed Aug 20 21:29:54 2025 +0200
patch 9.1.1659: configure: uses AC_INIT without args Problem: configure: uses AC_INIT without args Solution: Add a comment explaining why AC_INIT has no args (Damien Lejay) closes: #18053 Signed-off-by: Damien Lejay <dam...@lejay.be> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/configure.ac b/src/configure.ac index cdb818519..4fe439f89 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -2,6 +2,15 @@ dnl configure.ac: autoconf script for Vim dnl Process this file with autoconf 2.72 to produce "configure". +dnl Normally, AC_INIT([package],[version],[bug-report],[tarname],[url]) +dnl provides PACKAGE_* macros, used by Autoconf on UNIX to inject version +dnl info into config.h, --version output, and "make dist". +dnl +dnl Vim does not rely on that: versioning is centralized in version.h/version.c, +dnl which ensures a single cross-platform source of truth for both UNIX and +dnl non-UNIX platforms. +dnl +dnl Therefore we call AC_INIT without arguments. AC_INIT AC_CONFIG_SRCDIR([vim.h]) AC_CONFIG_HEADERS(auto/config.h:config.h.in) @@ -2344,7 +2353,7 @@ AC_MSG_CHECKING(--enable-socketserver argument) AC_ARG_ENABLE(socketserver, [ --enable-socketserver Use sockets for clientserver communication.], [enable_socketserver=$enableval], - AS_IF([test "x$features" = xtiny], + AS_IF([test "x$features" = xtiny], [enable_socketserver=no_auto AC_MSG_RESULT([cannot use socketserver with tiny features])], [enable_socketserver=auto])) diff --git a/src/version.c b/src/version.c index 4d2aa59cc..b0cc80277 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 */ +/**/ + 1659, /**/ 1658, /**/ -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1uook3-009SlR-Tq%40256bit.org.