X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=configure;h=08c8bd2e21611e9be979c26201fdbca32fea0380;hb=51aa2da8cf422a06ddfa1ce673f3bfc03f96b86e;hp=1ab2c7abb29d3252fd204ec7d4f51714f7dc0797;hpb=9793a6de1c63fe60154e13e28ad75ad7a92a2766;p=fio.git diff --git a/configure b/configure index 1ab2c7ab..08c8bd2e 100755 --- a/configure +++ b/configure @@ -117,7 +117,7 @@ elif test `uname -o` = Cygwin ; then echo "CONFIG_POSIX_FALLOCATE=y" >> $config_host_mak echo "CONFIG_FADVISE=y" >> $config_host_mak echo "CONFIG_SFAA=y" >> $config_host_mak - exit + exit 0 elif check_define __OpenBSD__ ; then targetos='OpenBSD' elif check_define __sun__ ; then @@ -643,14 +643,15 @@ echo "GUASI $guasi" # fusion-aw probe fusion_aw="no" cat > $TMPC << EOF -#include +#include int main(int argc, char **argv) { struct vsl_iovec iov; return vsl_vectored_write(0, &iov, 0, O_ATOMIC); } EOF -if compile_prog "" "" "fusion-aw"; then +if compile_prog "" "-L/usr/lib/fio -lnvm-primitives" "fusion-aw"; then + LIBS="-L/usr/lib/fio -lnvm-primitives $LIBS" fusion_aw="yes" fi echo "Fusion-io atomic engine $fusion_aw"