mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
configure: fix Linux AIO detection
We should set $linux_aio to 'no' if detection failed, otherwise its contents will be empty, which is a bug as we test for 'yes' or 'no'. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
9ab35c6371
commit
3cfcae3cda
1 changed files with 1 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
|
@ -1354,6 +1354,7 @@ EOF
|
||||||
if test "$linux_aio" = "yes" ; then
|
if test "$linux_aio" = "yes" ; then
|
||||||
feature_not_found "linux AIO"
|
feature_not_found "linux AIO"
|
||||||
fi
|
fi
|
||||||
|
linux_aio=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue