Fix build on systems where "python" is python 3.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Oct 2010 20:52:58 +0000 (13:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 27 Oct 2010 19:49:53 +0000 (12:49 -0700)
commit3acc8265200295265b476222299a013791050b73
tree4811cef085bbc52c51581036deca14a361d93502
parent676c3f08bd13564c088ae85c3538ee0ee3c52599
Fix build on systems where "python" is python 3.

First, it changes autoconf to use a "python2" binary when available,
rather than plain "python" (which is ambiguous).  Secondly, it changes
the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling
python directly.

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Matthew William Cox <matt@mattcox.ca>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
configs/autoconf.in
configure.ac
src/gallium/auxiliary/Makefile
src/gallium/drivers/llvmpipe/Makefile
src/glsl/Makefile
src/mesa/drivers/dri/common/xmlpool/Makefile