From ff1d08ae4812b83010a3cc31476838757b50c248 Mon Sep 17 00:00:00 2001 From: Julien Grall Date: Wed, 20 May 2015 14:02:07 +0100 Subject: [PATCH] tools/configure: Missing [ in the aio check There was a missing [ in the aio check which lead to never check if aio is present on the platform. Signed-off-by: Julien Grall Acked-by: Ian Campbell [ ijc -- ran autogen.sh ] --- tools/configure | 2 +- tools/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/configure b/tools/configure index e7c246db7c..0f3a63aa68 100755 --- a/tools/configure +++ b/tools/configure @@ -8167,7 +8167,7 @@ fi -if test "x$enable_blktap2" = "xyes"]; then : +if test "x$enable_blktap2" = "xyes"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_setup in -laio" >&5 $as_echo_n "checking for io_setup in -laio... " >&6; } diff --git a/tools/configure.ac b/tools/configure.ac index 58b6caa125..1645c20af5 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -335,7 +335,7 @@ AC_CHECK_HEADER([lzo/lzo1x.h], [ AC_CHECK_LIB([lzo2], [lzo1x_decompress], [zlib="$zlib -DHAVE_LZO1X -llzo2"]) ]) AC_SUBST(zlib) -AS_IF(test "x$enable_blktap2" = "xyes"], [ +AS_IF([test "x$enable_blktap2" = "xyes"], [ AC_CHECK_LIB([aio], [io_setup], [], [AC_MSG_ERROR([Could not find libaio])]) ]) AC_SUBST(system_aio) -- 2.30.2