mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 14:51:00 +00:00
configure: allow use of python 3
Backports commit c21965a0c8b979c306e927f158257e5b0fa3a1f9 from qemu
This commit is contained in:
parent
42b238b45b
commit
a78892c2f5
5
qemu/configure
vendored
5
qemu/configure
vendored
|
@ -555,9 +555,8 @@ fi
|
||||||
|
|
||||||
# Note that if the Python conditional here evaluates True we will exit
|
# Note that if the Python conditional here evaluates True we will exit
|
||||||
# with status 1 which is a shell 'false' value.
|
# with status 1 which is a shell 'false' value.
|
||||||
if ! $python -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_info >= (3,))'; then
|
if ! $python -c 'import sys; sys.exit(sys.version_info < (2,6))'; then
|
||||||
error_exit "Cannot use '$python', Python 2.4 or later is required." \
|
error_exit "Cannot use '$python', Python 2 >= 2.6 or Python 3 is required." \
|
||||||
"Note that Python 3 or later is not yet supported." \
|
|
||||||
"Use --python=/path/to/python to specify a supported Python."
|
"Use --python=/path/to/python to specify a supported Python."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue