Bug 682794 - Refresh autoconf.mk when autoconf.mk.in is modified. r=khuey
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -1455,16 +1455,19 @@ ifdef SUBMAKEFILES
$(PERL) $(AUTOCONF_TOOLS)/make-makefile -t $(topsrcdir) -d $(DEPTH) $@
endif
ifdef AUTOUPDATE_CONFIGURE
$(topsrcdir)/configure: $(topsrcdir)/configure.in
(cd $(topsrcdir) && $(AUTOCONF)) && (cd $(DEPTH) && ./config.status --recheck)
endif
+$(DEPTH)/config/autoconf.mk: $(topsrcdir)/config/autoconf.mk.in
+ cd $(DEPTH) && CONFIG_HEADERS= CONFIG_FILES=config/autoconf.mk ./config.status
+
###############################################################################
# Bunch of things that extend the 'export' rule (in order):
###############################################################################
################################################################################
# Copy each element of EXPORTS to $(DIST)/include
ifneq ($(XPI_NAME),)
--- a/js/src/config/rules.mk
+++ b/js/src/config/rules.mk
@@ -1455,16 +1455,19 @@ ifdef SUBMAKEFILES
$(PERL) $(AUTOCONF_TOOLS)/make-makefile -t $(topsrcdir) -d $(DEPTH) $@
endif
ifdef AUTOUPDATE_CONFIGURE
$(topsrcdir)/configure: $(topsrcdir)/configure.in
(cd $(topsrcdir) && $(AUTOCONF)) && (cd $(DEPTH) && ./config.status --recheck)
endif
+$(DEPTH)/config/autoconf.mk: $(topsrcdir)/config/autoconf.mk.in
+ cd $(DEPTH) && CONFIG_HEADERS= CONFIG_FILES=config/autoconf.mk ./config.status
+
###############################################################################
# Bunch of things that extend the 'export' rule (in order):
###############################################################################
################################################################################
# Copy each element of EXPORTS to $(DIST)/include
ifneq ($(XPI_NAME),)