From 3acc8265200295265b476222299a013791050b73 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 25 Oct 2010 13:52:58 -0700 Subject: 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 Signed-off-by: Matthew William Cox Signed-off-by: Kenneth Graunke --- configs/autoconf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/autoconf.in b/configs/autoconf.in index 9bdbefebdd..e2d70c63a1 100644 --- a/configs/autoconf.in +++ b/configs/autoconf.in @@ -53,7 +53,7 @@ MKDEP_OPTIONS = @MKDEP_OPTIONS@ INSTALL = @INSTALL@ # Python and flags (generally only needed by the developers) -PYTHON2 = python +PYTHON2 = @PYTHON2@ PYTHON_FLAGS = -t -O -O # Library names (base name) -- cgit v1.2.3