From: root Date: Thu, 7 Jan 2016 21:25:10 +0000 (+0000) Subject: Disable libaio for ESXi build - bug#80 X-Git-Tag: fio-2.4~13^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7c77ebeff3125d6f70ce9c5d3be8006a5daa8ac8;hp=-c Disable libaio for ESXi build - bug#80 --- 7c77ebeff3125d6f70ce9c5d3be8006a5daa8ac8 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"