Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o, vapier@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: autotools.eclass
Date: Sun, 20 May 2012 10:30:25
Message-Id: 4FB8C6C0.2040706@gentoo.org
ChangeLog?

On 05/20/2012 01:26 PM, Mike Frysinger (vapier) wrote:
> vapier 12/05/20 10:26:05 > > Modified: autotools.eclass > Log: > automatically create AC_CONFIG_MACRO_DIR dir too > > Revision Changes Path > 1.131 eclass/autotools.eclass > > file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?rev=1.131&view=markup > plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?rev=1.131&content-type=text/plain > diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.130&r2=1.131 > > Index: autotools.eclass > =================================================================== > RCS file: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v > retrieving revision 1.130 > retrieving revision 1.131 > diff -u -r1.130 -r1.131 > --- autotools.eclass 22 Mar 2012 19:16:22 -0000 1.130 > +++ autotools.eclass 20 May 2012 10:26:05 -0000 1.131 > @@ -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.130 2012/03/22 19:16:22 vapier Exp $ > +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.131 2012/05/20 10:26:05 vapier Exp $ > > # @ECLASS: autotools.eclass > # @MAINTAINER: > @@ -143,7 +143,7 @@ > # Should do a full autoreconf - normally what most people will be interested in. > # Also should handle additional directories specified by AC_CONFIG_SUBDIRS. > eautoreconf() { > - local x auxdir g > + local x g > > if [[ -z ${AT_NO_RECURSIVE} ]]; then > # Take care of subdirs > @@ -156,10 +156,11 @@ > done > fi > > - auxdir=$(autotools_get_auxdir) > + local auxdir=$(autotools_get_auxdir) > + local macdir=$(autotools_get_macrodir) > > einfo "Running eautoreconf in '${PWD}' ..." > - [[ -n ${auxdir} ]]&& mkdir -p ${auxdir} > + [[ -n ${auxdir}${macdir} ]]&& mkdir -p ${auxdir} ${macdir} > eaclocal > [[ ${CHOST} == *-darwin* ]]&& g=g > if ${LIBTOOLIZE:-${g}libtoolize} -n --install>& /dev/null ; then > @@ -428,6 +429,7 @@ > # Internal function to get additional subdirs to configure > autotools_get_subdirs() { autotools_check_macro_val AC_CONFIG_SUBDIRS ; } > autotools_get_auxdir() { autotools_check_macro_val AC_CONFIG_AUX_DIR ; } > +autotools_get_macrodir() { autotools_check_macro_val AC_CONFIG_MACRO_DIR ; } > > _autotools_m4dir_include() { > local x include_opts > > > >