From 5fbb99e3d06a8bf1fee2758a2e3dc85239541002 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 7 Jun 2015 13:14:31 +0900 Subject: [PATCH] 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 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7725754e..9758f464 100644 --- a/configure.ac +++ b/configure.ac @@ -139,8 +139,9 @@ AC_PROG_MKDIR_P PKG_PROG_PKG_CONFIG([0.20]) +AM_PATH_PYTHON([2.7],, [:]) + if [test "x$request_python_bindings" != "xno"]; then - AM_PATH_PYTHON([2.7],, [:]) AX_PYTHON_DEVEL([>= '2.7']) fi