Bug 682794 - Refresh autoconf.mk when autoconf.mk.in is modified. r=khuey
authorMike Hommey <mh+mozilla@glandium.org>
Mon, 29 Aug 2011 13:44:46 +0200
changeset 76274 3aa52a5e7e5c5e2c3acbe64ed363dec9232c0da7
parent 76273 ac2115d5bf39de2eb9ba87c92f8a38d939f768a5
child 76275 66fb17949bd61310dcd36f5abb5fb92ffcd6ecea
push id21092
push userkhuey@mozilla.com
push dateWed, 31 Aug 2011 15:00:57 +0000
treeherdermozilla-central@6c9f2fbaec1b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs682794
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 682794 - Refresh autoconf.mk when autoconf.mk.in is modified. r=khuey
config/rules.mk
js/src/config/rules.mk
--- 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),)