[lttng-dev] [PATCH lttng-ust] Fix: Override AM_PATH_PYTHON's default action-if-not-found

Amit Margalit AMITM at il.ibm.com
Wed Apr 2 02:18:44 EDT 2014


That was quick! Thank you...

Amit Margalit
IBM XIV - Storage Reinvented
XIV-NAS Development Team
Tel. 03-689-7774
Fax. 03-689-7230



From:   Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
To:     Jérémie Galarneau <jeremie.galarneau at efficios.com>
Cc:     lttng-dev at lists.lttng.org
Date:   04/01/2014 08:48 PM
Subject:        Re: [lttng-dev] [PATCH lttng-ust] Fix: Override 
AM_PATH_PYTHON's default action-if-not-found



Merged, thanks!

Mathieu

----- Original Message -----
> From: "Jérémie Galarneau" <jeremie.galarneau at efficios.com>
> To: lttng-dev at lists.lttng.org
> Cc: "mathieu desnoyers" <mathieu.desnoyers at efficios.com>, "Jérémie 
Galarneau" <jeremie.galarneau at efficios.com>
> Sent: Tuesday, April 1, 2014 11:49:58 AM
> Subject: [PATCH lttng-ust] Fix: Override AM_PATH_PYTHON's default 
action-if-not-found
> 
> 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 at efficios.com>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index d4926e4..b04d4e3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -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([
> --
> 1.9.1
> 
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
lttng-dev at lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140402/88c621ca/attachment.html>


More information about the lttng-dev mailing list