From f5b8fb0220d5589a95e07d5cadb341b38bacc929 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 22 Nov 2021 07:35:54 +0900 Subject: [PATCH] [build] Relax autoconf version requirement It seems 2.71 only made things we use deprecated, and the new stuff was at least in 2.69. --- bootstrap | 6 +++--- configure.ac | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap b/bootstrap index 6844d47a0..902b8a69d 100755 --- a/bootstrap +++ b/bootstrap @@ -71,11 +71,11 @@ if test -n "$ac" ; then AC_VER_MINOR=`echo $AC_VER | cut -f2 -d'.' | sed 's/[^0-9]*$//'` if test "$AC_VER_MAJOR" -lt "2" ; then - errors="Autoconf 2.71 or greater needed to build configure.\n$errors" + errors="Autoconf 2.69 or greater needed to build configure.\n$errors" fi - if test "$AC_VER_MAJOR" -eq "2" -a "$AC_VER_MINOR" -lt "71" ; then - errors="Autoconf 2.71 or greater needed to build configure.\n$errors" + if test "$AC_VER_MAJOR" -eq "2" -a "$AC_VER_MINOR" -lt "69" ; then + errors="Autoconf 2.69 or greater needed to build configure.\n$errors" fi fi else diff --git a/configure.ac b/configure.ac index d90db713b..dc4839e7e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_PREREQ([2.71]) +AC_PREREQ([2.69]) dnl This is the only place where the package name and version appear AC_INIT([QuakeForge],m4_esyscmd(config.d/git-version-gen --prefix '' .tarball-version))