Re: [Mesa-dev] [PATCH] Fix build on systems where "python" is python 3.

2010-10-25 Thread Brian Paul
On Mon, Oct 25, 2010 at 2:54 PM, Kenneth Graunke wrote: > 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.  Finally,

[Mesa-dev] [PATCH] Fix build on systems where "python" is python 3.

2010-10-25 Thread Kenneth Graunke
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. Finally, it removes the second -O from PYTHON_FLAGS, as it triggers docstr