From ff94ef265655a1bca03f4bf965311b39cde83d4d Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 10 Aug 2015 14:45:30 -0400 Subject: [PATCH] Build: only check if python exists in path Signed-off-by: Jonathan Rajotte Signed-off-by: Mathieu Desnoyers --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([ -- 2.34.1