+2012-09-17 Andreas Schwab <schwab@linux-m68k.org>
+
+ * 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 <eggert@cs.ucla.edu>
* Makefile.in: Fix build error on FreeBSD.
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
# * 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