X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=3c92da15fcf81a459fbc365d34c1d2bfcdad91a4;hb=3c3a0129d36e41b4c007ab008f603813efbb66ac;hp=c8421b7b93abc1758c506a495717012f57f6a620;hpb=d06136ec18703bc51801db44fb7be45f84e5deb8;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index c8421b7b..3c92da15 100644 --- a/configure.ac +++ b/configure.ac @@ -276,6 +276,9 @@ AC_DEFINE_UNQUOTED([LTTNG_SYSTEM_RUNDIR], ["$lttng_system_rundir"], lttnglibjavadir="${libdir}/lttng/java" AC_SUBST(lttnglibjavadir) +AM_PATH_PYTHON([2.7],BUILD_GEN_TP_EXAMPLES=1) +AM_CONDITIONAL([BUILD_GEN_TP_EXAMPLES], [test $BUILD_GEN_TP_EXAMPLES], [Build examples requiring lttng-gen-tp]) + AC_CONFIG_FILES([ Makefile doc/Makefile