configure: change $softmmu to $system

"softmmu" is a deprecated moniker, do the easy change matching
the variable to the command line option.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
master
Paolo Bonzini 2023-10-04 15:46:56 +02:00
parent 8d7f2e767d
commit 24f9c07ac0
1 changed files with 5 additions and 5 deletions

10
configure vendored
View File

@ -252,7 +252,7 @@ docs="auto"
EXESUF="" EXESUF=""
prefix="/usr/local" prefix="/usr/local"
qemu_suffix="qemu" qemu_suffix="qemu"
softmmu="yes" system="yes"
linux_user="" linux_user=""
bsd_user="" bsd_user=""
plugins="$default_feature" plugins="$default_feature"
@ -740,9 +740,9 @@ for opt do
;; ;;
--enable-tcg) tcg="enabled" --enable-tcg) tcg="enabled"
;; ;;
--disable-system) softmmu="no" --disable-system) system="no"
;; ;;
--enable-system) softmmu="yes" --enable-system) system="yes"
;; ;;
--disable-user) --disable-user)
linux_user="no" ; linux_user="no" ;
@ -864,7 +864,7 @@ else
error_exit "user mode emulation not supported on this architecture" error_exit "user mode emulation not supported on this architecture"
fi fi
fi fi
if [ "$softmmu" = "yes" ]; then if [ "$system" = "yes" ]; then
mak_wilds="${mak_wilds} $source_path/configs/targets/*-softmmu.mak" mak_wilds="${mak_wilds} $source_path/configs/targets/*-softmmu.mak"
fi fi
@ -1756,7 +1756,7 @@ for target in $target_list; do
case $target in case $target in
xtensa*-linux-user) xtensa*-linux-user)
# the toolchain is not complete with headers, only build softmmu tests # the toolchain is not complete with headers, only build system tests
continue continue
;; ;;
*-softmmu) *-softmmu)