Build: use AM_PATH_PYTHON to resolve python when building agent
[lttng-ust.git] / configure.ac
index c14cff74dc20182f066f47283ea22369f5642e46..da82bcbaa21e523fe11373e987effb948c6ba40a 100644 (file)
@@ -319,6 +319,9 @@ AC_ARG_ENABLE([python-agent],
        [:]
 )
 AM_CONDITIONAL([BUILD_PYTHON_AGENT], [test "x$python_agent" = "xyes"])
+if test "x$python_agent" = "xyes"; then
+       AM_PATH_PYTHON([2.7])
+fi
 
 # sdt.h integration
 AC_ARG_WITH([sdt],
This page took 0.022522 seconds and 4 git commands to generate.