]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: prepare for auto-generated option parsing
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Oct 2021 13:08:28 +0000 (15:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Oct 2021 07:50:57 +0000 (09:50 +0200)
commit61d63097bec3a11f64e14a05a81401f9af7cea11
treed6ec5765517fd4302f33e74c9056174cc194e6e0
parent03a3c0b3c59e93beeb7ca72cba632f78eb060253
configure: prepare for auto-generated option parsing

Prepare the configure script and Makefile for automatically generated
help and parsing.

Because we need to run the script to generate the full help, we
cannot rely on the user supplying the path to a Python interpreter
with --python; therefore, the introspection output is parsed into
shell functions and stored in scripts/.  The converter is written
in Python as standard for QEMU, and this commit contains a stub.

Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211007130829.632254-18-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile
configure
scripts/meson-buildoptions.py [new file with mode: 0755]
scripts/meson-buildoptions.sh [new file with mode: 0644]