summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2011-01-25 14:55:43 -0500
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2011-01-25 14:55:43 -0500
commit0cb2837dc7be8ade272e0956e53d8f2be62fdd38 (patch)
tree82c6fbcb1f4191b12b6cbcd33525aac869b2cdb6 /build
parente5c2486c6996dcda110d5d84b7c03b9192d8f80d (diff)
downloadlibarchive-0cb2837dc7be8ade272e0956e53d8f2be62fdd38.tar.gz
Improve checking of statfs in LSB.
Use HAVE_SYS_STATFS_H to use statfs on linux instead of HAVE_SYS_VFS_H and add checking of HAVE_SYS_STATVFS_H to use statvfs. SVN-Revision: 2946
Diffstat (limited to 'build')
-rw-r--r--build/cmake/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in
index 1b886b80..283734d6 100644
--- a/build/cmake/config.h.in
+++ b/build/cmake/config.h.in
@@ -775,6 +775,9 @@ typedef uint64_t uintmax_t;
/* Define to 1 if you have the <sys/select.h> header file. */
#cmakedefine HAVE_SYS_SELECT_H 1
+/* Define to 1 if you have the <sys/statfs.h> header file. */
+#cmakedefine HAVE_SYS_STATFS_H 1
+
/* Define to 1 if you have the <sys/statvfs.h> header file. */
#cmakedefine HAVE_SYS_STATVFS_H 1