]> git.proxmox.com Git - mirror_qemu.git/blobdiff - configure
hw/boards: Add struct CpuTopology to MachineState
[mirror_qemu.git] / configure
index 6586420f30ab1b2895292686de277ddb047cb1fa..4983c8b5330058d7aedec53815a0c1bc35da6126 100755 (executable)
--- a/configure
+++ b/configure
@@ -6502,6 +6502,14 @@ if test "$supported_os" = "no"; then
     echo "us upstream at qemu-devel@nongnu.org."
 fi
 
+# Note that if the Python conditional here evaluates True we will exit
+# with status 1 which is a shell 'false' value.
+if ! $python -c 'import sys; sys.exit(sys.version_info < (3,0))'; then
+  echo
+  echo "warning: Python 2 support is deprecated" >&2
+  echo "warning: Python 3 will be required for building future versions of QEMU" >&2
+fi
+
 config_host_mak="config-host.mak"
 
 echo "# Automatically generated by configure - do not modify" >config-all-disas.mak