[virglrenderer-devel] [PATCH 2/2] Make configure python version agnostic
mimi.vx at gmail.com
mimi.vx at gmail.com
Mon Nov 13 09:17:02 UTC 2017
From: Ondřej Súkup <mimi.vx at gmail.com>
---
configure.ac | 2 +-
src/gallium/auxiliary/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5ffd448..56bf359 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_DISABLE_STATIC
LT_INIT([disable-static])
AC_SYS_LARGEFILE
-AC_CHECK_PROGS([PYTHON2], [python2 python])
+AC_CHECK_PROGS([PYTHON], [python2 python python3])
AX_CODE_COVERAGE
AC_MSG_CHECKING([for native Win32])
diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am
index 72b0e6b..1e300b8 100644
--- a/src/gallium/auxiliary/Makefile.am
+++ b/src/gallium/auxiliary/Makefile.am
@@ -67,7 +67,7 @@ libgallium_la_SOURCES = \
util/u_format_table.c: $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format_pack.py $(srcdir)/util/u_format_parse.py $(srcdir)/util/u_format.csv
$(AM_V_at)$(MKDIR_P) util
- $(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
+ $(AM_V_GEN) $(PYTHON) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
-include $(top_srcdir)/git.mk
--
2.15.0
More information about the virglrenderer-devel
mailing list