Kaydet (Commit) 40f92a3c authored tarafından Matúš Kukan's avatar Matúš Kukan

use only internal python on cygwin

Change-Id: Ibcfa5030a245e1bbc00c01c4d42a5bba01ec9aa9
üst b32c31cc
......@@ -7264,12 +7264,14 @@ AC_SUBST([MINGW_ZLIB_DLL])
# Optionally user can pass an option to configure, i. e.
# ./configure PYTHON=/usr/bin/python
# =====================================================================
# This allows a lack of system python with no error, we use internal one in that case.
AM_PATH_PYTHON([2.6],, [:])
# Clean PYTHON_VERSION checked below if cross-compiling
PYTHON_VERSION=""
if test "$PYTHON" != ":"; then
PYTHON_FOR_BUILD=$PYTHON
if test "$build_os" != "cygwin"; then
# This allows a lack of system python with no error, we use internal one in that case.
AM_PATH_PYTHON([2.6],, [:])
# Clean PYTHON_VERSION checked below if cross-compiling
PYTHON_VERSION=""
if test "$PYTHON" != ":"; then
PYTHON_FOR_BUILD=$PYTHON
fi
fi
AC_SUBST(PYTHON_FOR_BUILD)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment