From ae7898dfdbe5c8dab7d11c71862353f1ae43feb0 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 16 Aug 2018 13:59:38 +0100 Subject: configure: allow building with python3 Pretty much all of the scripts are python2+3 compatible. Check and allow using python3, while adjusting the PYTHON2 refs. Note: - python3.4 is used as it's the earliest supported version - python3 chosen prior to python2 Signed-off-by: Emil Velikov Acked-by: Eric Engestrom --- src/mapi/Makefile.am | 2 +- src/mapi/glapi/gen/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mapi') diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am index 3da1a193d28..97ebdeb1d7f 100644 --- a/src/mapi/Makefile.am +++ b/src/mapi/Makefile.am @@ -59,7 +59,7 @@ AM_CPPFLAGS = \ include Makefile.sources MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) -PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) +PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) glapi_gen_mapi_deps := \ mapi_abi.py \ diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am index 93acabd968b..7a80f266260 100644 --- a/src/mapi/glapi/gen/Makefile.am +++ b/src/mapi/glapi/gen/Makefile.am @@ -233,7 +233,7 @@ COMMON = $(API_XML) \ COMMON_GLX = $(COMMON) glX_API.xml glX_XML.py glX_proto_common.py -PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) +PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) ###################################################################### -- cgit v1.2.3