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

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 <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Damien Lejay 2025-08-20 21:29:54 +02:00 committed by Christian Brabandt
parent bb26f709ea
commit bb1233d328
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 12 additions and 1 deletions

View File

@ -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]))

View File

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