wscript: only check env['PYTHON'] when python versions do not match
commit5b5bcf8c518bc00e033daa4f376be457d6948aa3
authorDavid Aguilar <davvid@gmail.com>
Wed, 7 May 2008 09:36:14 +0000 (7 02:36 -0700)
committerDavid Aguilar <davvid@gmail.com>
Wed, 7 May 2008 09:36:14 +0000 (7 02:36 -0700)
treef84007fa9f66eaeac42608be662fde73cd0132b4
parente1bd33f5e51983b8d110fe575ae6c7d5f4cddb75
wscript: only check env['PYTHON'] when python versions do not match

When running "configure" the waf script might be running under a different
version of python than the target for which python we're building.
We now detect "env PYTHON=/usr/bin/python2.4 waf configure" overrides.

Signed-off-by: David Aguilar <davvid@gmail.com>
python-git/wscript