Addedd -z option to specify file size for filepaths fio files
[fio.git] / configure
index 172b235bc540ef63ae25125a725a398c96d018a1..892335b92b8a37b95ed166cac6d677aebdf10d72 100755 (executable)
--- 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