]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: do not set bsd_user/linux_user early
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Nov 2021 09:10:41 +0000 (10:10 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Jan 2022 13:09:06 +0000 (14:09 +0100)
commitb915a2f15c016c9e4a3ccafb99d445560742a9ab
tree2625ab7f3798e624c0e8d72116eeb5a4e7d9e11c
parent37650689473c4cdb5838f90cbc1aefbcd9332fb0
configure: do not set bsd_user/linux_user early

Similar to other optional features, leave the variables empty and compute
the actual value later.  Use the existence of include or source directories
to detect whether an OS or CPU supports respectively bsd-user and linux-user.

For now, BSD user-mode emulation is buildable even on TCI-only
architectures.  This probably will change once safe signals are
brought over from linux-user.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure