summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-05-17 15:32:04 (GMT)
committerEvan Martin <martine@danga.com>2013-05-17 15:32:04 (GMT)
commit43c33d73097f0fa1eb22a16eb0cc7cbde7be688d (patch)
treee4355a4b3b747de5f7d0667fc6f68565abd289ff /configure.py
parent4c3c11c8e84bd619ad3e4797a682c8850400135a (diff)
downloadNinja-43c33d73097f0fa1eb22a16eb0cc7cbde7be688d.zip
Ninja-43c33d73097f0fa1eb22a16eb0cc7cbde7be688d.tar.gz
Ninja-43c33d73097f0fa1eb22a16eb0cc7cbde7be688d.tar.bz2
require version 1.3 for building ninja itself
This catches the case where you use an older version on Ninja to build a newer version of the Ninja code. bootstrap.py always should work regardless.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 1284deb..7c90e66 100755
--- a/configure.py
+++ b/configure.py
@@ -65,6 +65,9 @@ n.comment('This file is used to build ninja itself.')
n.comment('It is generated by ' + os.path.basename(__file__) + '.')
n.newline()
+n.variable('ninja_required_version', '1.3')
+n.newline()
+
n.comment('The arguments passed to configure.py, for rerunning it.')
n.variable('configure_args', ' '.join(sys.argv[1:]))
env_keys = set(['CXX', 'AR', 'CFLAGS', 'LDFLAGS'])