From ced9425327be6cb557a4a1217a1dac29b18d1a09 Mon Sep 17 00:00:00 2001 From: Samuel Iglesias Gonsalvez Date: Mon, 2 Mar 2015 10:49:31 +0100 Subject: configure: Introduce new output variable to ax_check_python_mako_module.m4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This output variables gives more flexibility for future changes in autoconf to detect if it is needed to auto-generate files and check for the auto-generation dependencies. It is still returning error when Python is not installed. Signed-off-by: Samuel Iglesias Gonsalvez Reviewed-by: Kai Wasserbäch --- m4/ax_check_python_mako_module.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/ax_check_python_mako_module.m4 b/m4/ax_check_python_mako_module.m4 index 2fc029b..ee68a7c 100644 --- a/m4/ax_check_python_mako_module.m4 +++ b/m4/ax_check_python_mako_module.m4 @@ -54,8 +54,8 @@ else: " | $PYTHON2 - if test $? -ne 0 ; then - AC_MSG_ERROR(mako $1 or later is required.) + AC_SUBST(acv_mako_found, 'no') else - AC_MSG_RESULT(yes) + AC_SUBST(acv_mako_found, 'yes') fi ]) -- cgit v1.1