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:55 +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 feee4e17054530c29e8c550a11874ef6419f44f5..a62b2aa87e6579b7f2cedb886764ad506b98a59f 100644 (file)
@@ -287,7 +287,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.025073 seconds and 4 git commands to generate.