aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-30 02:33:22 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-30 02:33:22 -0500
commit90d1d2dc10b0ebe6d9d43dc616722ed07f3935df (patch)
tree354cb1e5feadb081ad7b198e063dda295056968f
parentautoconf-wrapper: use -E with sed (diff)
downloadautotools-wrappers-90d1d2dc10b0ebe6d9d43dc616722ed07f3935df.tar.gz
autotools-wrappers-90d1d2dc10b0ebe6d9d43dc616722ed07f3935df.tar.bz2
autotools-wrappers-90d1d2dc10b0ebe6d9d43dc616722ed07f3935df.zip
autoconf-wrapper: ignore $KNOWN_AUTOCONF in env
It's not clear why this was made into an env var as nothing ever sets it in ebuilds/eclasses, and we don't have a desire to allow them to either. It's also not how the automake-wrapper works. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xac-wrapper.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ac-wrapper.sh b/ac-wrapper.sh
index 29a5d87..acc6fe9 100755
--- a/ac-wrapper.sh
+++ b/ac-wrapper.sh
@@ -78,9 +78,7 @@ fi
# Set up bindings between actual version and WANT_AUTOCONF;
# Start at last known unstable/stable versions to speed up lookup process.
#
-if [ -z "${KNOWN_AUTOCONF}" ] ; then
- KNOWN_AUTOCONF="2.71:2.5 2.70:2.5 2.69:2.5"
-fi
+KNOWN_AUTOCONF="2.71:2.5 2.70:2.5 2.69:2.5"
vers="${KNOWN_AUTOCONF} 9999:2.5 $(printf '2.%s:2.5 ' `seq 99 -1 59`) 2.13:2.1"
binary=""