diff options
author | Christos Zoulas <christos@zoulas.com> | 2021-03-29 17:27:37 -0400 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2021-03-29 17:27:37 -0400 |
commit | b8e4320b7b2e12b5e5ceedc71272a608056fbb7a (patch) | |
tree | 7ad2b430de31530aade2763c0685df5fbf580600 /configure.ac | |
parent | 5d0c4dc8514be4d7a0ce9ef1be4ab8910883fe4d (diff) | |
download | libarchive-b8e4320b7b2e12b5e5ceedc71272a608056fbb7a.tar.gz |
Not all statfs's have f_iosize
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dd10e7e4..201185df 100644 --- a/configure.ac +++ b/configure.ac @@ -566,6 +566,13 @@ AC_CHECK_MEMBERS([struct statfs.f_namemax],,, #include <sys/mount.h> ]) +# Check for f_iosize in struct statfs +AC_CHECK_MEMBERS([struct statfs.f_iosize],,, +[ +#include <sys/param.h> +#include <sys/mount.h> +]) + # Check for f_iosize in struct statvfs AC_CHECK_MEMBERS([struct statvfs.f_iosize],,, [ |