Build: use AM_PATH_PYTHON to resolve python when building agent
[deliverable/lttng-ust.git] / configure.ac
index 1c841da882c9328667372ef872a9c02626f9492f..57e6750760b78346aa36461fa34faef76b7cbf75 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.023645 seconds and 5 git commands to generate.