configure: enable e4defrag engine regardless of MOVE_EXTENT compile test
[fio.git] / configure
index 9cdfc4984e33cb768b4b477d94253b0be52e70a3..3558bf48e9a52752c74fd7ce8a6a20a26fd9c829 100755 (executable)
--- a/configure
+++ b/configure
@@ -585,7 +585,12 @@ int main(int argc, char **argv)
   return ioctl(0, EXT4_IOC_MOVE_EXT, &me);
 }
 EOF
-if compile_prog "" "" "ext4 move extent"; then
+if compile_prog "" "" "ext4 move extent" ; then
+  ext4_me="yes"
+elif test $targetos = "Linux" ; then
+  # On Linux, just default to it on and let it error at runtime if we really
+  # don't have it. None of my updated systems have it defined, but it does
+  # work. Takes a while to bubble back.
   ext4_me="yes"
 fi
 echo "EXT4 move extent              $ext4_me"