From d3612ac370d4b1378997d1c8344b24cf34add8fe Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 18 Sep 2012 00:43:12 +0200 Subject: [PATCH] * Makefile.in (bootstrap): Revert last change. Run config.status after config.status --recheck, run configure from $(srcdir). (config.status): Run configure from $(srcdir). --- ChangeLog | 6 ++++++ Makefile.in | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3b5b6862a15..d6260f6c228 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-09-17 Andreas Schwab + + * Makefile.in (bootstrap): Revert last change. Run config.status + after config.status --recheck, run configure from $(srcdir). + (config.status): Run configure from $(srcdir). + 2012-09-17 Paul Eggert * Makefile.in: Fix build error on FreeBSD. diff --git a/Makefile.in b/Makefile.in index 56a54403ef3..7a38abeca1c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -367,7 +367,7 @@ config.status: ${srcdir}/configure ${srcdir}/lisp/version.el if [ -x ./config.status ]; then \ ./config.status --recheck; \ else \ - ./configure $(CONFIGURE_FLAGS); \ + $(srcdir)/configure $(CONFIGURE_FLAGS); \ fi AUTOCONF_INPUTS = $(srcdir)/configure.ac $(srcdir)/aclocal.m4 @@ -895,7 +895,12 @@ dvi: # * Do the actual build. bootstrap: bootstrap-clean FRC cd $(srcdir) && { ./autogen.sh || autogen/copy_autogen; } - ./configure $(CONFIGURE_FLAGS) + if [ -x config.status ]; then \ + ./config.status --recheck && \ + ./config.status; \ + else \ + $(srcdir)/configure $(CONFIGURE_FLAGS); \ + fi $(MAKE) $(MFLAGS) info all .PHONY: check-declare -- 2.39.2