OSDN Git Service

configure: allow building with python3
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Aug 2018 12:59:38 +0000 (13:59 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 23 Aug 2018 16:00:13 +0000 (17:00 +0100)
commitae7898dfdbe5c8dab7d11c71862353f1ae43feb0
treedf2e6bbf52a4a9450f1306bf8344b049eb1fb71e
parentc51e7486d90a605b18109d5509fed0d3db23a8a5
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 <emil.velikov@collabora.com>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
27 files changed:
configure.ac
m4/ax_check_python_mako_module.m4
src/Makefile.am
src/amd/Makefile.common.am
src/amd/vulkan/Makefile.am
src/broadcom/Makefile.am
src/compiler/Makefile.am
src/compiler/Makefile.glsl.am
src/compiler/glsl/glcpp/tests/glcpp-test.sh
src/compiler/glsl/tests/optimization-test.sh
src/compiler/glsl/tests/warnings-test.sh
src/egl/Makefile.am
src/gallium/auxiliary/Makefile.am
src/gallium/drivers/freedreno/Makefile.am
src/gallium/drivers/r600/Makefile.am
src/gallium/drivers/radeonsi/Makefile.am
src/gallium/drivers/swr/Makefile.am
src/intel/Makefile.am
src/intel/Makefile.compiler.am
src/intel/Makefile.vulkan.am
src/mapi/Makefile.am
src/mapi/glapi/gen/Makefile.am
src/mesa/Makefile.am
src/mesa/drivers/dri/i965/Makefile.am
src/util/Makefile.am
src/util/xmlpool/Makefile.am
src/vulkan/Makefile.am