Check python without python bindings to get PYTHON variable

We use PYTHON variable to execute Python script, mainly to generate
documents.  Therefore it is better to always check python interpreter
even if we don't request python bindings
This commit is contained in:
Tatsuhiro Tsujikawa 2015-06-07 13:14:31 +09:00
parent ba34313f9f
commit 5fbb99e3d0
1 changed files with 2 additions and 1 deletions

View File

@ -139,8 +139,9 @@ AC_PROG_MKDIR_P
PKG_PROG_PKG_CONFIG([0.20])
if [test "x$request_python_bindings" != "xno"]; then
AM_PATH_PYTHON([2.7],, [:])
if [test "x$request_python_bindings" != "xno"]; then
AX_PYTHON_DEVEL([>= '2.7'])
fi