diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /eclass/autotools.eclass | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r-- | eclass/autotools.eclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 625abd0e9d12..d7ce23bfdf35 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -357,6 +357,19 @@ eautoconf() { eqawarn "when it finds this file. See https://bugs.gentoo.org/426262 for details." fi + # Install config.guess and config.sub which are required by many macros + # in Autoconf >=2.70. + local gnuconfig + case ${EAPI:-0} in + 0|1|2|3|4|5|6) + gnuconfig="${EPREFIX}/usr/share/gnuconfig" + ;; + *) + gnuconfig="${BROOT}/usr/share/gnuconfig" + ;; + esac + cp "${gnuconfig}"/config.{guess,sub} . || die + autotools_run_tool --at-m4flags autoconf "$@" } |