|
|
|
@ -3002,7 +3002,7 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; } |
|
|
|
if test -z "$PYTHON_FOR_BUILD"; then |
|
|
|
for interp in python$PACKAGE_VERSION python3 python; do |
|
|
|
which $interp >/dev/null 2>&1 || continue |
|
|
|
if $interp -c 'import sys;sys.exit(not sys.version_info[:2] >= (3,3))'; then |
|
|
|
if $interp -c "import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info[:2]) == '$PACKAGE_VERSION')"; then |
|
|
|
break |
|
|
|
fi |
|
|
|
interp= |
|
|
|
|