Fix: Override AM_PATH_PYTHON's default action-if-not-found
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Apr 2014 15:49:58 +0000 (11:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 1 Apr 2014 17:46:30 +0000 (13:46 -0400)
AM_PATH_PYTHON's default action aborts configure. This fix ensures that
configure follows through with a noop.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index d4926e425486b572849892f1c6994d9a41f77a6f..b04d4e35b656f5d4a0db74d12712245f8dbd40e1 100644 (file)
@@ -288,7 +288,7 @@ 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_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([
This page took 0.025854 seconds and 4 git commands to generate.