summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-12 10:45:04 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-12 11:01:35 +0100
commit97c3062b9e10ef807aa2302f8fddfd63dc1be328 (patch)
treead1dc9c1dc1354ac76bcfe54332a70854ad97a20 /eclass/autotools.eclass
parentxfce-extra/xfce4-cpufreq-plugin: Bump to 1.2.3 (diff)
downloadgentoo-97c3062b9e10ef807aa2302f8fddfd63dc1be328.tar.gz
gentoo-97c3062b9e10ef807aa2302f8fddfd63dc1be328.tar.bz2
gentoo-97c3062b9e10ef807aa2302f8fddfd63dc1be328.zip
autotools.eclass: Rename gnuconfig variable to _gnuconfig
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 6e3d6a79b139..08c72cd77953 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -367,16 +367,16 @@ eautoconf() {
# Install config.guess and config.sub which are required by many macros
# in Autoconf >=2.70.
- local gnuconfig
+ local _gnuconfig
case ${EAPI:-0} in
0|1|2|3|4|5|6)
- gnuconfig="${EPREFIX}/usr/share/gnuconfig"
+ _gnuconfig="${EPREFIX}/usr/share/gnuconfig"
;;
*)
- gnuconfig="${BROOT}/usr/share/gnuconfig"
+ _gnuconfig="${BROOT}/usr/share/gnuconfig"
;;
esac
- cp "${gnuconfig}"/config.{guess,sub} . || die
+ cp "${_gnuconfig}"/config.{guess,sub} . || die
autotools_run_tool --at-m4flags autoconf "$@"
}