diff options
author | 2022-01-29 15:35:04 -0500 | |
---|---|---|
committer | 2022-01-29 15:35:04 -0500 | |
commit | 61261bea8c72ce837a274b7e722ac28b5d1d00f1 (patch) | |
tree | 55eb3454cae63f1407f96c23068f03e38d8ff964 | |
parent | automake-wrapper: merge history (diff) | |
download | autotools-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-x | ac-wrapper.sh | 3 |
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" |