From: Jonathan Rajotte Date: Thu, 6 Aug 2015 23:00:15 +0000 (-0400) Subject: Build: look for python >= 3.0 when building python bindings X-Git-Tag: v2.8.0-rc1~486 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=56aa23544a67a475f5a4dd9083ed67fa613b1eba;p=lttng-tools.git Build: look for python >= 3.0 when building python bindings Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index 168db7688..55977bc27 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])