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.7.0-rc2~143 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=227703a2ceada3c104edd56756d48455ca4c271a;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 5afcfb7d2..45e92853a 100644 --- a/configure.ac +++ b/configure.ac @@ -320,7 +320,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])