From 7c77ebeff3125d6f70ce9c5d3be8006a5daa8ac8 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 7 Jan 2016 21:25:10 +0000 Subject: [PATCH] Disable libaio for ESXi build - bug#80 --- configure | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 51766823..cbd4d306 100755 --- a/configure +++ b/configure @@ -489,7 +489,8 @@ echo "zlib $zlib" ########################################## # linux-aio probe libaio="no" -cat > $TMPC < $TMPC < #include int main(void) @@ -498,14 +499,15 @@ int main(void) return 0; } EOF -if compile_prog "" "-laio" "libaio" ; then - libaio=yes - LIBS="-laio $LIBS" -else - if test "$libaio" = "yes" ; then - feature_not_found "linux AIO" "libaio-dev or libaio-devel" + if compile_prog "" "-laio" "libaio" ; then + libaio=yes + LIBS="-laio $LIBS" + else + if test "$libaio" = "yes" ; then + feature_not_found "linux AIO" "libaio-dev or libaio-devel" + fi + libaio=no fi - libaio=no fi echo "Linux AIO support $libaio" -- 2.25.1