eclass/autotools: Sync with Gentoo

It's from Gentoo commit 141c29e6e6a3bf3ffdcfa3be99c0ef410dcb8bc9.
This commit is contained in:
Flatcar Buildbot 2022-11-28 07:14:36 +00:00
parent 941e52400e
commit 3aacc4b38a

View File

@ -93,15 +93,15 @@ fi
if [[ -n ${WANT_AUTOCONF} ]] ; then if [[ -n ${WANT_AUTOCONF} ]] ; then
case ${WANT_AUTOCONF} in case ${WANT_AUTOCONF} in
none) _autoconf_atom="" ;; # some packages don't require autoconf at all none) _autoconf_atom="" ;; # some packages don't require autoconf at all
2.1) _autoconf_atom="~sys-devel/autoconf-2.13" ;; 2.1) _autoconf_atom=">=sys-devel/autoconf-2.13-r7:2.1" ;;
# if you change the "latest" version here, change also autotools_env_setup # if you change the "latest" version here, change also autotools_env_setup
latest|2.5) _autoconf_atom=">=sys-devel/autoconf-2.71" ;; latest|2.5) _autoconf_atom=">=sys-devel/autoconf-2.71-r5" ;;
*) die "Invalid WANT_AUTOCONF value '${WANT_AUTOCONF}'" ;; *) die "Invalid WANT_AUTOCONF value '${WANT_AUTOCONF}'" ;;
esac esac
export WANT_AUTOCONF export WANT_AUTOCONF
fi fi
_libtool_atom=">=sys-devel/libtool-2.4" _libtool_atom=">=sys-devel/libtool-2.4.7"
if [[ -n ${WANT_LIBTOOL} ]] ; then if [[ -n ${WANT_LIBTOOL} ]] ; then
case ${WANT_LIBTOOL} in case ${WANT_LIBTOOL} in
none) _libtool_atom="" ;; none) _libtool_atom="" ;;