From: Jim Meyering Date: Sat, 3 Nov 2007 09:27:02 +0000 (+0100) Subject: Use just-built tools, when possible. X-Git-Tag: v2.62~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4208c7aa9ba5e95ca7746ce0bd307bb8553b3b8;p=thirdparty%2Fautoconf.git Use just-built tools, when possible. * GNUmakefile (PATH): Set and export here, ... (dummy): ... rather than here. --- diff --git a/ChangeLog b/ChangeLog index 9ba94b57..d6b4ba1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-03 Jim Meyering + + Use just-built tools, when possible. + * GNUmakefile (PATH): Set and export here, ... + (dummy): ... rather than here. + 2007-11-03 Ralf Wildenhues and Andreas Schwab diff --git a/GNUmakefile b/GNUmakefile index 8dcefc57..79ad4920 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -38,6 +38,9 @@ ifeq ($(have-Makefile),yes) # Make tar archive easier to reproduce. export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner +# Build with our own versions of these tools, when possible. +export PATH = '$(shell echo "`pwd`/tests:$$PATH")' + include Makefile # Ensure that $(VERSION) is up to date for dist-related targets, but not @@ -48,7 +51,7 @@ ifeq (0,$(MAKELEVEL)) _curr-ver := $(shell build-aux/git-version-gen .version) ifneq ($(_curr-ver),$(VERSION)) $(info INFO: running autoreconf for new version string: $(_curr-ver)) - dummy := $(shell rm -rf autom4te.cache; PATH=`pwd`/tests:$$PATH; autoreconf -i) + dummy := $(shell rm -rf autom4te.cache; autoreconf -i) endif endif endif