diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-22 19:16:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-22 19:16:22 +0000 |
commit | c6dcef4c8c1ba49f2f53d0e9c23b867dc18cf2ac (patch) | |
tree | c91e4e7bafedcae6f1885dedfe920784b2f203ad /eclass/autotools.eclass | |
parent | Fix libdir handling and update to EAPI=4 #379849 by Agostino Sarubbo. (diff) | |
download | historical-c6dcef4c8c1ba49f2f53d0e9c23b867dc18cf2ac.tar.gz historical-c6dcef4c8c1ba49f2f53d0e9c23b867dc18cf2ac.tar.bz2 historical-c6dcef4c8c1ba49f2f53d0e9c23b867dc18cf2ac.zip |
drop AT_NOE{ACLOCAL,AUTOCONF,AUTOHEADER} as people should not be disabling these things, and document AT_NOEAUTOMAKE as a hack rather than a normally acceptable solution
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r-- | eclass/autotools.eclass | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 314497a3acc8..c00307e776df 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.129 2012/03/22 15:14:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.130 2012/03/22 19:16:22 vapier Exp $ # @ECLASS: autotools.eclass # @MAINTAINER: @@ -107,26 +107,12 @@ unset _automake_atom _autoconf_atom # Additional options to pass to automake during # eautoreconf call. -# @ECLASS-VARIABLE: AT_NOEACLOCAL -# @DEFAULT_UNSET -# @DESCRIPTION: -# Don't run eaclocal command if set to 'yes', -# useful when eaclocal needs to be ran with -# particular options - -# @ECLASS-VARIABLE: AT_NOEAUTOCONF -# @DEFAULT_UNSET -# @DESCRIPTION: -# Don't run eautoconf command if set to 'yes', -# useful when eautoconf needs to be ran with -# particular options - # @ECLASS-VARIABLE: AT_NOEAUTOMAKE # @DEFAULT_UNSET # @DESCRIPTION: -# Don't run eautomake command if set to 'yes', -# useful when eautomake needs to be ran with -# particular options +# Don't run eautomake command if set to 'yes'; only used to workaround +# broken packages. Generally you should, instead, fix the package to +# not call AM_INIT_AUTOMAKE if it doesn't actually use automake. # @ECLASS-VARIABLE: AT_NOELIBTOOLIZE # @DEFAULT_UNSET @@ -172,19 +158,17 @@ eautoreconf() { auxdir=$(autotools_get_auxdir) - if [[ ${AT_NOEACLOCAL} != "yes" ]]; then - einfo "Running eautoreconf in '${PWD}' ..." - [[ -n ${auxdir} ]] && mkdir -p ${auxdir} - eaclocal - fi + einfo "Running eautoreconf in '${PWD}' ..." + [[ -n ${auxdir} ]] && mkdir -p ${auxdir} + eaclocal [[ ${CHOST} == *-darwin* ]] && g=g if ${LIBTOOLIZE:-${g}libtoolize} -n --install >& /dev/null ; then _elibtoolize --copy --force --install else _elibtoolize --copy --force fi - [[ ${AT_NOEAUTOCONF} != "yes" ]] && eautoconf - [[ ${AT_NOEAUTOHEADER} != "yes" ]] && eautoheader + eautoconf + eautoheader [[ ${AT_NOEAUTOMAKE} != "yes" ]] && FROM_EAUTORECONF="yes" eautomake ${AM_OPTS} [[ ${AT_NOELIBTOOLIZE} == "yes" ]] && return 0 |