aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-29 15:35:04 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-29 15:35:04 -0500
commit61261bea8c72ce837a274b7e722ac28b5d1d00f1 (patch)
tree55eb3454cae63f1407f96c23068f03e38d8ff964
parentautomake-wrapper: merge history (diff)
downloadautotools-wrappers-61261bea8c72ce837a274b7e722ac28b5d1d00f1.tar.gz
autotools-wrappers-61261bea8c72ce837a274b7e722ac28b5d1d00f1.tar.bz2
autotools-wrappers-61261bea8c72ce837a274b7e722ac28b5d1d00f1.zip
autoconf-wrapper: support WANT_AUTOCONF=latest
Match existing automake-wrapper behavior. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xac-wrapper.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ac-wrapper.sh b/ac-wrapper.sh
index e5eda0e..d225eca 100755
--- a/ac-wrapper.sh
+++ b/ac-wrapper.sh
@@ -112,6 +112,9 @@ if [ -n "${WANT_AUTOCONF}" ] ; then
auto_ver=${v%:*}
want_ver=${v#*:}
for wx in ${WANT_AUTOCONF} ; do
+ if [ "${wx}" = "latest" ] ; then
+ wx="2.5"
+ fi
if [ -x "${full_argv0}-${wx}" ] ; then
binary="${full_argv0}-${wx}"
v="x"