From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH i-g-t] build: Make autoreconf honour ACLOCAL_FLAGS Date: Wed, 25 Jul 2012 18:00:21 +0200 Message-ID: <20120725160021.GE5396@phenom.ffwll.local> References: <1343228672-22750-1-git-send-email-damien.lespiau@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by gabe.freedesktop.org (Postfix) with ESMTP id BE2539E9E3 for ; Wed, 25 Jul 2012 09:00:12 -0700 (PDT) Received: by wibhm11 with SMTP id hm11so729764wib.12 for ; Wed, 25 Jul 2012 09:00:11 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1343228672-22750-1-git-send-email-damien.lespiau@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Jul 25, 2012 at 04:04:32PM +0100, Damien Lespiau wrote: > From: Damien Lespiau > > When running autoreconf, it's possible to give flags to the underlying > aclocal by declaring a ACLOCAL_AMFLAGS variable in the top level > Makefile.am. > > Putting ${ACLOCAL_FLAGS} there allows the user to set an environment > variable up before running autogen.sh and pull in the right directories > to look for m4 macros, say an up-to-date version of the xorg-util macros. > > Signed-off-by: Damien Lespiau Applied, thanks. -Daniel > --- > Makefile.am | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index 6cd724c..5ea0fd8 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -19,6 +19,8 @@ > # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN > # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. > > +ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} > + > SUBDIRS = lib man tools scripts tests benchmarks demos > > if BUILD_SHADER_DEBUGGER > -- > 1.7.7.5 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48