summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>2015-03-02 10:49:31 +0100
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>2015-03-06 09:39:41 +0100
commitced9425327be6cb557a4a1217a1dac29b18d1a09 (patch)
tree1d96abb234bbbbf6c5e4348ed8279a42b335f484 /m4
parent0dfec59a2785cf7a87ee5128889ecebe810b611b (diff)
downloadexternal_mesa3d-ced9425327be6cb557a4a1217a1dac29b18d1a09.zip
external_mesa3d-ced9425327be6cb557a4a1217a1dac29b18d1a09.tar.gz
external_mesa3d-ced9425327be6cb557a4a1217a1dac29b18d1a09.tar.bz2
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>
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_check_python_mako_module.m44
1 files changed, 2 insertions, 2 deletions
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
])