summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLuiz Capitulino2009-08-31 18:18:12 +0200
committerAnthony Liguori2009-09-10 00:31:27 +0200
commit3cfcae3cda7da23dc2e99671021ad752f398c4c4 (patch)
tree0d1c7e99d61e2f402ccbc568d992f1e1002a9b84 /configure
parentFix compilation warnings when DEBUG_BUFFERED_FILE is defined (diff)
downloadqemu-3cfcae3cda7da23dc2e99671021ad752f398c4c4.tar.gz
qemu-3cfcae3cda7da23dc2e99671021ad752f398c4c4.tar.xz
qemu-3cfcae3cda7da23dc2e99671021ad752f398c4c4.zip
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 863bf58e8a..5232172f3f 100755
--- a/configure
+++ b/configure
@@ -1354,6 +1354,7 @@ EOF
if test "$linux_aio" = "yes" ; then
feature_not_found "linux AIO"
fi
+ linux_aio=no
fi
fi