Bug 1463921 - Re-run js configure when js/src/old-configure changes.
MozReview-Commit-ID: 2Rw4he9ZRpz
--- a/build/subconfigure.py
+++ b/build/subconfigure.py
@@ -281,17 +281,17 @@ def run(objdir):
if os.path.isfile(f):
contents.append(File(f))
# Only run configure if one of the following is true:
# - config.status doesn't exist
# - config.status is older than configure
# - the configure arguments changed
# - the environment changed in a way that requires a cache clear.
- configure = mozpath.join(data['srcdir'], 'configure')
+ configure = mozpath.join(data['srcdir'], 'old-configure')
config_status_path = mozpath.join(objdir, 'config.status')
skip_configure = True
if not os.path.exists(config_status_path):
skip_configure = False
config_status = None
else:
config_status = File(config_status_path)
if config_status.mtime < os.path.getmtime(configure) or \