From 68c33a103d3f493171b1d9e1094726a4d65e31c9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 28 Oct 2007 15:53:59 +0100 Subject: Run autoreconf, not just autoconf, to avoid warnings. * GNUmakefile (dummy): Otherwise, we'd sometimes get a warning about autoconf version mismatch between what was used to generate aclocal.m4 and the currently-running autoconf. --- ChangeLog | 5 +++++ GNUmakefile | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c8cd8742..3cbacf048 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-10-28 Jim Meyering + Run autoreconf, not just autoconf, to avoid warnings. + * GNUmakefile (dummy): Otherwise, we'd sometimes get a warning + about autoconf version mismatch between what was used to generate + aclocal.m4 and the currently-running autoconf. + Require gnulib's printf-posix module, to support Interix. * bootstrap.conf (gnulib_modules): Add printf-posix. diff --git a/GNUmakefile b/GNUmakefile index e270e6379..3dc6f1541 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -41,14 +41,14 @@ export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner include Makefile # Ensure that $(VERSION) is up to date for dist-related targets, but not -# for others: rerunning autoconf and recompiling everything isn't cheap. +# for others: running autoreconf and recompiling everything isn't cheap. ifeq (0,$(MAKELEVEL)) _is-dist-target = $(filter dist% alpha beta major,$(MAKECMDGOALS)) ifneq (,$(_is-dist-target)) _curr-ver := $(shell build-aux/git-version-gen .version) ifneq ($(_curr-ver),$(VERSION)) - $(info INFO: rerunning autoconf for new version string: $(_curr-ver)) - dummy := $(shell rm -rf autom4te.cache; $(AUTOCONF)) + $(info INFO: running autoreconf for new version string: $(_curr-ver)) + dummy := $(shell rm -rf autom4te.cache; autoreconf) endif endif endif -- cgit v1.2.3-70-g09d2