tools/configure: Missing [ in the aio check
authorJulien Grall <julien.grall@citrix.com>
Wed, 20 May 2015 13:02:07 +0000 (14:02 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 21 May 2015 14:23:02 +0000 (15:23 +0100)
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 <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- ran autogen.sh ]

tools/configure
tools/configure.ac

index e7c246db7c96090f10b4cdeac8adeb408ef71ed0..0f3a63aa6859b94694f624a5fedf416a521449e9 100755 (executable)
@@ -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; }
index 58b6caa125f989f1e53870cbc34cf8d1e9596a86..1645c20af5bb9380592b4e25944101e9f383ee21 100644 (file)
@@ -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)