Run autoreconf, not just autoconf, to avoid warnings.
authorJim Meyering <meyering@redhat.com>
Sun, 28 Oct 2007 14:53:59 +0000 (15:53 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 28 Oct 2007 14:54:44 +0000 (15:54 +0100)
* 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
GNUmakefile

index 6c8cd87..3cbacf0 100644 (file)
--- 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.
 
index e270e63..3dc6f15 100644 (file)
@@ -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