summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-08-31 13:18:12 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-09 17:31:27 -0500
commit3cfcae3cda7da23dc2e99671021ad752f398c4c4 (patch)
tree0d1c7e99d61e2f402ccbc568d992f1e1002a9b84 /configure
parent9ab35c63719305c0244361663765762caaed8bb0 (diff)
downloadqemu-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