martine/ninja — pull request #414 by riannucci (2012-09-11 03:47:35+00:00)
Title: Fix re2c detection in bootstrap which breaks win32 w/ gnuwin32

gnuwin32 has an ancient version of re2c (v0.9.4) which doesn't support some of the command-line flags used by ninja and causes bootstrap to blow up during the second compile phase with some non-obvious error messages. This patch checks for the earliest version of re2c which contained all the used flags. Note that said version is ALSO ancient (from 2007-04-01), so this should be no issue for anyone :)