summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-28 15:53:59 +0100
committerJim Meyering <meyering@redhat.com>2007-10-28 15:54:44 +0100
commit68c33a103d3f493171b1d9e1094726a4d65e31c9 (patch)
treec2b3eda820f54c473c4acb4187f02184d72ca3fe
parent6555874879ea0cb8665fca8d2feb10cf8262d49b (diff)
downloadcoreutils-68c33a103d3f493171b1d9e1094726a4d65e31c9.tar.xz
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.
-rw-r--r--ChangeLog5
-rw-r--r--GNUmakefile6
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 <meyering@redhat.com>
+ 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