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.8.0-rc1~110 X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=fc504d0ced80f1ce858469ba73665d3ce4d79657 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 7ed1a68c..1c841da8 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([