[Mesa-dev] [PATCH v2] configure.ac: search for and set PYTHON3

Kenneth Graunke kenneth at whitecape.org
Sat Apr 23 08:09:43 UTC 2016


On Saturday, April 23, 2016 5:39:02 PM PDT Jonathan Gray wrote:
> src/intel/genxml/gen_pack_header.py requires python3.
> 
> v2: check for python3.5 as well
> 
> Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
> Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  configure.ac | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 6b00cf9..2474078 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -99,6 +99,7 @@ AM_PROG_CC_C_O
>  AM_PROG_AS
>  AX_CHECK_GNU_MAKE
>  AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
> +AC_CHECK_PROGS([PYTHON3], [python3.5 python3.4 python3])
>  AC_PROG_SED
>  AC_PROG_MKDIR_P
>  
> @@ -2788,6 +2789,7 @@ if test "x$MESA_LLVM" = x1; then
>      echo ""
>  fi
>  echo "        PYTHON2:         $PYTHON2"
> +echo "        PYTHON3:         $PYTHON3"
>  
>  echo ""
>  echo "        Run '${MAKE-make}' to build Mesa"
> 

Pushed:

To ssh://git.freedesktop.org/git/mesa/mesa
   f8dd07a..e29b3bf  master -> master
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160423/0e62a305/attachment.sig>


More information about the mesa-dev mailing list