0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 9.0.1823: Autoconf 2.69 too old

Problem:  Autoconf 2.69 too old
Solution: Migrate to Autoconf 2.71

Autoconf 2.69 is almost 10 years old.  And 2.71 is also a few years old
as well.  Should be pretty well tested by now.  It brings a lot of
improvements and there seems to be an ongoing work on autoconf 2.72
already.

This change just addresses two minor changes `autoupdate` suggested, and
then `src/auto/configure` is regenerated by running

  cd src
  make AUTOCONF=autoconf2.71 autoconf

closes: #12958

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Illia Bobyr <illia.bobyr@gmail.com>
This commit is contained in:
Illia Bobyr
2023-08-30 16:30:15 +02:00
committed by Christian Brabandt
parent e3b6c78ddc
commit a96d544bc3
5 changed files with 6263 additions and 5163 deletions

View File

@@ -3536,8 +3536,6 @@ Macintosh:
8 Dragging the status line doesn't scroll but redraw. 8 Dragging the status line doesn't scroll but redraw.
8 When performing incremental search, should abort searching as soon as a 8 When performing incremental search, should abort searching as soon as a
character is typed. character is typed.
8 When the value of $MAKE contains a path, configure can't handle this.
It's an autoconf bug. Remove the path from $MAKE to work around it.
8 How to set VIMRC_FILE to \"something\" for configure? Why does this not 8 How to set VIMRC_FILE to \"something\" for configure? Why does this not
work: CFLAGS='-DVIMRC_FILE=\"/mydir/myfile\"' ./configure work: CFLAGS='-DVIMRC_FILE=\"/mydir/myfile\"' ./configure
8 The temporary file is sometimes not writable. Check for this, and use an 8 The temporary file is sometimes not writable. Check for this, and use an

View File

@@ -627,7 +627,7 @@ CClink = $(CC)
#EXTRA_LIBS = /usr/local/lib/libefence.a #EXTRA_LIBS = /usr/local/lib/libefence.a
# Autoconf binary. # Autoconf binary.
AUTOCONF = autoconf AUTOCONF ?= autoconf
# PURIFY - remove the # to use the "purify" program (hoi Nia++!) # PURIFY - remove the # to use the "purify" program (hoi Nia++!)
#PURIFY = purify #PURIFY = purify
@@ -2014,9 +2014,6 @@ reconfig: scratch clean
# - Use sed to change ./config.log to auto/config.log in the configure script. # - Use sed to change ./config.log to auto/config.log in the configure script.
# Autoconf 2.5x (2.59 at least) produces a few more files that we need to take # Autoconf 2.5x (2.59 at least) produces a few more files that we need to take
# care of: # care of:
# - configure.lineno: has the line numbers replaced with $LINENO. That
# improves patches a LOT, thus use it instead (until someone says it doesn't
# work on some system).
# - autom4te.cache directory is created and not cleaned up. Delete it. # - autom4te.cache directory is created and not cleaned up. Delete it.
# - Uses ">config.log" instead of "./config.log". # - Uses ">config.log" instead of "./config.log".
autoconf: autoconf:

11339
src/auto/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,6 @@
dnl configure.ac: autoconf script for Vim dnl configure.ac: autoconf script for Vim
dnl Process this file with autoconf 2.69 to produce "configure". dnl Process this file with autoconf 2.71 to produce "configure".
dnl This should also work with other versions of autoconf, but 2.70 and later
dnl generate lots of hard to fix "obsolete" warnings.
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([vim.h]) AC_CONFIG_SRCDIR([vim.h])
@@ -13,7 +11,7 @@ AC_DEFINE(UNIX)
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
dnl Checks for programs. dnl Checks for programs.
AC_PROG_CC_C99 dnl required by almost everything AC_PROG_CC dnl required by almost everything
AC_PROG_CPP dnl required by header file checks AC_PROG_CPP dnl required by header file checks
AC_PROG_EGREP dnl required by AC_EGREP_CPP AC_PROG_EGREP dnl required by AC_EGREP_CPP
AC_PROG_FGREP dnl finds working grep -F AC_PROG_FGREP dnl finds working grep -F

View File

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