]> git.proxmox.com Git - mirror_qemu.git/commitdiff
configure: fix Linux AIO detection
authorLuiz Capitulino <lcapitulino@redhat.com>
Mon, 31 Aug 2009 16:18:12 +0000 (13:18 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 9 Sep 2009 22:31:27 +0000 (17:31 -0500)
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>
configure

index 863bf58e8a77b06b5b3208d4a426e78fd55daf8b..5232172f3f0172c7067d4f10f6512196aa4d081d 100755 (executable)
--- 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