patch 9.1.1664: configure: can use any autoconf
Problem: configure: can use any autocon Solution: Use AC_PREREQ and require 2.71 (Damien Lejay) technically, we require autoconf 2.72, but that is not available on Ubuntu LTS 24.04. So let's go with 2.71 for now and add a comment about it in configure.ac closes: #18047 Signed-off-by: Damien Lejay <damien@lejay.be> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
5ca1ea83ad
commit
ea3d465438
@ -1,14 +1,32 @@
|
||||
dnl configure.ac: autoconf script for Vim
|
||||
dnl +----------------------------------------------------------------------+
|
||||
dnl configure.ac: autoconf script for Vim
|
||||
dnl +----------------------------------------------------------------------+
|
||||
dnl
|
||||
dnl This file is processed by autoconf to generate the 'configure' script.
|
||||
dnl
|
||||
dnl ==> IMPORTANT NOTE FOR DEVELOPERS <==
|
||||
dnl
|
||||
dnl Do NOT run 'autoconf' directly on this file. You must use the provided
|
||||
dnl make target, like this:
|
||||
dnl
|
||||
dnl make autoconf
|
||||
dnl
|
||||
dnl This is required because the Makefile handles placing the generated
|
||||
dnl script into its final location: 'auto/configure'.
|
||||
dnl
|
||||
dnl +----------------------------------------------------------------------+
|
||||
|
||||
dnl Process this file with autoconf 2.72 to produce "configure".
|
||||
dnl You should use Autoconf 2.72 but to simplify CI on Ubuntu 24.04 we only
|
||||
dnl use AC_PREREQ([2.71])
|
||||
AC_PREREQ([2.71])
|
||||
|
||||
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 Vim does not rely on that: versioning is centralized in
|
||||
dnl version.h/version.c, dnl which ensures a single cross-platform source of
|
||||
dnl truth for both UNIX and non-UNIX platforms.
|
||||
dnl
|
||||
dnl Therefore we call AC_INIT without arguments.
|
||||
AC_INIT
|
||||
|
||||
Reference in New Issue
Block a user