[lttng-dev] [PATCH lttng-tools 2/3] Build: look for python >= 3.0 when building python bindings

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Sep 4 15:06:06 EDT 2015


Merged, thanks!

Jérémie

On Thu, Aug 6, 2015 at 7:00 PM, Jonathan Rajotte
<jonathan.rajotte-julien at efficios.com> wrote:
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 312b9f7..324b596 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -339,7 +339,7 @@ AM_CONDITIONAL([PYTHON_BINDING], [test "x${enable_python_binding:-yes}" = xyes])
>
>  if test "x${enable_python_binding:-yes}" = xyes; then
>    AX_PKG_SWIG($swig_version, [], [ AC_MSG_ERROR([SWIG $swig_version or newer is needed]) ])
> -  AM_PATH_PYTHON
> +  AM_PATH_PYTHON([3.0])
>
>    AC_ARG_VAR([PYTHON_INCLUDE], [Include flags for python, bypassing python-config])
>    AC_ARG_VAR([PYTHON_CONFIG], [Path to python-config])
> --
> 2.1.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list