diff options
author | Brad King <brad.king@kitware.com> | 2011-12-22 21:59:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-12-23 21:04:59 (GMT) |
commit | 02d5e40572408efc3733e796dd6a199f4d9ae7f2 (patch) | |
tree | 083492d46c8342054288a5a9f799b206e21b3900 /Utilities/cmlibarchive/build/cmake | |
parent | 8b7ee30bf4fd1b4aebc7033dc8dbcbb5f7c88c83 (diff) | |
download | CMake-02d5e40572408efc3733e796dd6a199f4d9ae7f2.zip CMake-02d5e40572408efc3733e796dd6a199f4d9ae7f2.tar.gz CMake-02d5e40572408efc3733e796dd6a199f4d9ae7f2.tar.bz2 |
libarchive: Check for 'struct statvfs' member 'f_iosize'
Configure the result as definition HAVE_STRUCT_STATVFS_F_IOSIZE and use
the member only if it exists. At least one platform (IRIX) provides
struct statvfs without this member.
Diffstat (limited to 'Utilities/cmlibarchive/build/cmake')
-rw-r--r-- | Utilities/cmlibarchive/build/cmake/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/build/cmake/config.h.in b/Utilities/cmlibarchive/build/cmake/config.h.in index b404be3..71a7801 100644 --- a/Utilities/cmlibarchive/build/cmake/config.h.in +++ b/Utilities/cmlibarchive/build/cmake/config.h.in @@ -785,6 +785,9 @@ typedef uint64_t uintmax_t; /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ #cmakedefine HAVE_STRUCT_STATFS_F_NAMEMAX 1 +/* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ +#cmakedefine HAVE_STRUCT_STATVFS_F_IOSIZE 1 + /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ #cmakedefine HAVE_STRUCT_STAT_ST_BIRTHTIME 1 |