Skip to content

Commit

Permalink
autotools.eclass: fix EAPI 8 conditional; simplify
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 28, 2022
1 parent 8622125 commit c8e74a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eclass/autotools.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ eautoconf() {


if [[ ${WANT_AUTOCONF} != "2.1" && -e configure.in ]] ; then
case ${EAPI:-0} in
0|1|2|3|4|5|6|7)
case ${EAPI} in
5|6|7)
eqawarn "This package has a configure.in file which has long been deprecated. Please"
eqawarn "update it to use configure.ac instead as newer versions of autotools will die"
eqawarn "when it finds this file. See https://bugs.gentoo.org/426262 for details."
Expand Down Expand Up @@ -519,7 +519,7 @@ autotools_env_setup() {
5|6)
hv_args="--host-root"
;;
7)
*)
hv_args="-b"
;;
esac
Expand Down

0 comments on commit c8e74a7

Please sign in to comment.