summaryrefslogtreecommitdiff
path: root/m4/ax_check_python_mako_module.m4
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>2015-03-02 10:49:31 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-26 01:47:12 +0000
commite98909b0567b8a83a6a953cfa4ee4e7beef436b9 (patch)
treec7adc6741ecc0f54f4f350296e07b02af35682e5 /m4/ax_check_python_mako_module.m4
parentd83d2ea9a6562314388c0a1941137001960b6453 (diff)
configure: Introduce new output variable to ax_check_python_mako_module.m4
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 <siglesias@igalia.com> Reviewed-by: Kai Wasserb├Ąch <kai@dev.carbon-project.org> (cherry picked from commit ced9425327be6cb557a4a1217a1dac29b18d1a09) Squashed with commit configure.ac: move AC_MSG_RESULT reporting back into the m4 macro The one who does AC_MSG_CHECKING should provide the AC_MSG_RESULT. Fixes: ced9425327b (configure: Introduce new output variable to ax_check_python_mako_module.m4" Cc: "10.5" <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89328 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> (cherry picked from commit 248eb54eb6117cc5a863ba2deaa14c3bee0b5d41)
Diffstat (limited to 'm4/ax_check_python_mako_module.m4')
-rw-r--r--m4/ax_check_python_mako_module.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/ax_check_python_mako_module.m4 b/m4/ax_check_python_mako_module.m4
index 2fc029b9a2b..7d9bb511c09 100644
--- a/m4/ax_check_python_mako_module.m4
+++ b/m4/ax_check_python_mako_module.m4
@@ -54,8 +54,10 @@ else:
" | $PYTHON2 -
if test $? -ne 0 ; then
- AC_MSG_ERROR(mako $1 or later is required.)
+ AC_MSG_RESULT(no)
+ AC_SUBST(acv_mako_found, 'no')
else
- AC_MSG_RESULT(yes)
+ AC_MSG_RESULT(yes)
+ AC_SUBST(acv_mako_found, 'yes')
fi
])