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 863bf58..5232172 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