configure: fix Linux AIO detection
PATCH 1/1 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 <[email protected]>
configure +1 -0
@@ -1327,6 +1327,7 @@ EOF if test "$linux_aio" = "yes" ; then feature_not_found "linux AIO" fi + linux_aio=no fi fi
Quoted 5 lines · Luiz Capitulino
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 <[email protected]>
Acked-by Juan Quintela <[email protected]>
Good catch.
Quoted 12 lines
configure +1
-0@@ -1327,6 +1327,7 @@ EOF if test "$linux_aio" = "yes" ; then feature_not_found "linux AIO" fi + linux_aio=no fi fi