From b3a6df4f299a746db2db1148827897b474a75700 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 9 Jun 2014 22:15:49 -0400 Subject: [PATCH] * Makefile.in (AUTOCONF, AUTOMAKE, AUTOHEADER, ACLOCAL): New, set by configure Use throughout where appropriate. --- ChangeLog | 3 +++ Makefile.in | 15 ++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 50ba4e5f925..c53d33fecdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-06-10 Glenn Morris + * Makefile.in (AUTOCONF, AUTOMAKE, AUTOHEADER, ACLOCAL): + New, set by configure. Use throughout where appropriate. + * Makefile.in (INFO_EXT): Remove and replace by ".info" throughout. * configure.ac (INFO_EXT, INFO_OPTS): Remove output variables. diff --git a/Makefile.in b/Makefile.in index 5b53ccd1ea3..c6a10b0bd07 100644 --- a/Makefile.in +++ b/Makefile.in @@ -76,6 +76,11 @@ QUIET_SUBMAKE = MAKELEVEL=0 cache_file = @cache_file@ CONFIGURE_FLAGS = --cache-file=$(cache_file) +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ +ACLOCAL = @ACLOCAL@ + CC=@CC@ CFLAGS=@CFLAGS@ LDFLAGS=@LDFLAGS@ @@ -422,17 +427,17 @@ config.status: ${srcdir}/configure ${srcdir}/lisp/version.el AUTOCONF_INPUTS = $(srcdir)/configure.ac $(srcdir)/aclocal.m4 $(srcdir)/configure: $(AUTOCONF_INPUTS) - cd ${srcdir} && autoconf + cd ${srcdir} && ${AUTOCONF} ACLOCAL_PATH = @ACLOCAL_PATH@ ACLOCAL_INPUTS = $(srcdir)/configure.ac $(srcdir)/m4/gnulib-comp.m4 $(srcdir)/aclocal.m4: $(ACLOCAL_INPUTS) - cd $(srcdir) && ACLOCAL_PATH='$(ACLOCAL_PATH)' aclocal -I m4 + cd $(srcdir) && ACLOCAL_PATH='$(ACLOCAL_PATH)' $(ACLOCAL) -I m4 AUTOMAKE_INPUTS = $(srcdir)/aclocal.m4 $(srcdir)/lib/Makefile.am \ $(srcdir)/lib/gnulib.mk $(srcdir)/lib/Makefile.in: $(AUTOMAKE_INPUTS) - cd $(srcdir) && automake --gnu -a -c lib/Makefile + cd $(srcdir) && $(AUTOMAKE) --gnu -a -c lib/Makefile # Regenerate files that this makefile would have made, if this makefile # had been built by Automake. The name 'am--refresh' is for @@ -445,9 +450,9 @@ $(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in @ # because stamp-h.in has changed (since building stamp-h.in @ # refreshes config.in as well), but if config.in is missing @ # then we really need to do something more. - [ -r "$@" ] || ( cd ${srcdir} && autoheader ) + [ -r "$@" ] || ( cd ${srcdir} && ${AUTOHEADER} ) $(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS) - cd ${srcdir} && autoheader + cd ${srcdir} && ${AUTOHEADER} rm -f $(srcdir)/src/stamp-h.in echo timestamp > $(srcdir)/src/stamp-h.in -- 2.11.4.GIT