From 43c33d73097f0fa1eb22a16eb0cc7cbde7be688d Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Fri, 17 May 2013 08:32:04 -0700 Subject: [PATCH] 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. --- configure.py | 3 +++ 1 file changed, 3 insertions(+) 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']) -- 2.7.4