X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=configure;h=892335b92b8a37b95ed166cac6d677aebdf10d72;hp=5e5596dc29c2594506ccbb14ee4b9f523916a9c4;hb=cf8a46a75f38afe07ebf823210f95543999e3116;hpb=867198458145fc405d1925e339719f779fb671c2 diff --git a/configure b/configure index 5e5596dc..892335b9 100755 --- a/configure +++ b/configure @@ -165,6 +165,8 @@ for opt do ;; --enable-libhdfs) libhdfs="yes" ;; + --disable-shm) output_sym "CONFIG_NO_SHM" + ;; --help) show_help="yes" ;; @@ -885,7 +887,7 @@ cat > $TMPC << EOF int main(int argc, char **argv) { struct bitmask *mask = numa_parse_nodestring(NULL); - return 0; + return mask->size == 0; } EOF if compile_prog "" "" "libnuma api"; then @@ -1566,7 +1568,10 @@ if test "$gf_trim" = "yes" ; then fi if test "$libhdfs" = "yes" ; then output_sym "CONFIG_LIBHDFS" -fi + echo "JAVA_HOME=$JAVA_HOME" >> $config_host_mak + echo "FIO_LIBHDFS_INCLUDE=$FIO_LIBHDFS_INCLUDE" >> $config_host_mak + echo "FIO_LIBHDFS_LIB=$FIO_LIBHDFS_LIB" >> $config_host_mak + fi if test "$arith" = "yes" ; then output_sym "CONFIG_ARITHMETIC" if test "$yacc_is_bison" = "yes" ; then