From: Jonathan Rajotte Date: Mon, 10 Aug 2015 18:45:30 +0000 (-0400) Subject: Build: only check if python exists in path X-Git-Tag: v2.7.0-rc2~10 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=ff94ef265655a1bca03f4bf965311b39cde83d4d Build: only check if python exists in path Signed-off-by: Jonathan Rajotte Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 72e83ae7..c14cff74 100644 --- a/configure.ac +++ b/configure.ac @@ -363,7 +363,7 @@ AC_ARG_WITH([lttng-system-rundir], AC_DEFINE_UNQUOTED([LTTNG_SYSTEM_RUNDIR], ["$lttng_system_rundir"], [LTTng system runtime directory]) -AM_PATH_PYTHON([2.7],BUILD_GEN_TP_EXAMPLES=1,[:]) +AC_CHECK_PROG([BUILD_GEN_TP_EXAMPLES],[python],["yes"]) AM_CONDITIONAL([BUILD_GEN_TP_EXAMPLES], [test $BUILD_GEN_TP_EXAMPLES], [Build examples requiring lttng-gen-tp]) AC_CONFIG_FILES([