Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: cross@g.o, base-system@g.o, chewi@g.o, Sam James <sam@g.o>
Subject: [gentoo-dev] [PATCH 4/4] autotools.eclass: update for autoconf 2.71
Date: Mon, 17 Jan 2022 11:11:27
Message-Id: 20220117110950.139015-4-sam@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/4] autotools.eclass: don't inject -I${SYSROOT} to aclocal by Sam James
1 Closes: https://bugs.gentoo.org/827852
2 Signed-off-by: Sam James <sam@g.o>
3 ---
4 eclass/autotools.eclass | 4 ++--
5 1 file changed, 2 insertions(+), 2 deletions(-)
6
7 diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
8 index 5250b28042ee2..5568cca505d78 100644
9 --- a/eclass/autotools.eclass
10 +++ b/eclass/autotools.eclass
11 @@ -95,7 +95,7 @@ if [[ -n ${WANT_AUTOCONF} ]] ; then
12 none) _autoconf_atom="" ;; # some packages don't require autoconf at all
13 2.1) _autoconf_atom="~sys-devel/autoconf-2.13" ;;
14 # if you change the "latest" version here, change also autotools_env_setup
15 - latest|2.5) _autoconf_atom=">=sys-devel/autoconf-2.69" ;;
16 + latest|2.5) _autoconf_atom=">=sys-devel/autoconf-2.71" ;;
17 *) die "Invalid WANT_AUTOCONF value '${WANT_AUTOCONF}'" ;;
18 esac
19 export WANT_AUTOCONF
20 @@ -524,7 +524,7 @@ autotools_env_setup() {
21 [[ ${WANT_AUTOMAKE} == "latest" ]] && \
22 die "Cannot find the latest automake! Tried ${_LATEST_AUTOMAKE[*]}"
23 fi
24 - [[ ${WANT_AUTOCONF} == "latest" ]] && export WANT_AUTOCONF=2.5
25 + [[ ${WANT_AUTOCONF} == "latest" ]] && export WANT_AUTOCONF=2.71
26 }
27
28 # @FUNCTION: autotools_run_tool
29 --
30 2.34.1