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]) ...@@ -7264,12 +7264,14 @@ AC_SUBST([MINGW_ZLIB_DLL])
# Optionally user can pass an option to configure, i. e. # Optionally user can pass an option to configure, i. e.
# ./configure PYTHON=/usr/bin/python # ./configure PYTHON=/usr/bin/python
# ===================================================================== # =====================================================================
# This allows a lack of system python with no error, we use internal one in that case. if test "$build_os" != "cygwin"; then
AM_PATH_PYTHON([2.6],, [:]) # This allows a lack of system python with no error, we use internal one in that case.
# Clean PYTHON_VERSION checked below if cross-compiling AM_PATH_PYTHON([2.6],, [:])
PYTHON_VERSION="" # Clean PYTHON_VERSION checked below if cross-compiling
if test "$PYTHON" != ":"; then PYTHON_VERSION=""
if test "$PYTHON" != ":"; then
PYTHON_FOR_BUILD=$PYTHON PYTHON_FOR_BUILD=$PYTHON
fi
fi fi
AC_SUBST(PYTHON_FOR_BUILD) 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