Changeset View
Changeset View
Standalone View
Standalone View
src/core/ConfigureChecks.cmake
Show All 20 Lines | |||||
21 | check_include_files(mntent.h HAVE_MNTENT_H) | 21 | check_include_files(mntent.h HAVE_MNTENT_H) | ||
22 | check_include_files("stdio.h;sys/mnttab.h" HAVE_SYS_MNTTAB_H) | 22 | check_include_files("stdio.h;sys/mnttab.h" HAVE_SYS_MNTTAB_H) | ||
23 | check_include_files(sys/mntent.h HAVE_SYS_MNTENT_H) | 23 | check_include_files(sys/mntent.h HAVE_SYS_MNTENT_H) | ||
24 | check_include_files("sys/param.h;sys/mount.h" HAVE_SYS_MOUNT_H) | 24 | check_include_files("sys/param.h;sys/mount.h" HAVE_SYS_MOUNT_H) | ||
25 | 25 | | |||
26 | check_include_files(sys/types.h HAVE_SYS_TYPES_H) | 26 | check_include_files(sys/types.h HAVE_SYS_TYPES_H) | ||
27 | check_include_files(fstab.h HAVE_FSTAB_H) | 27 | check_include_files(fstab.h HAVE_FSTAB_H) | ||
28 | check_include_files(sys/param.h HAVE_SYS_PARAM_H) | 28 | check_include_files(sys/param.h HAVE_SYS_PARAM_H) | ||
29 | check_include_files(sys/xattr.h HAVE_SYS_XATTR_H) | ||||
30 | check_include_files(sys/extattr.h HAVE_SYS_EXTATTR_H) | ||||
29 | 31 | | |||
30 | check_library_exists(volmgt volmgt_running "" HAVE_VOLMGT) | 32 | check_library_exists(volmgt volmgt_running "" HAVE_VOLMGT) | ||
31 | 33 | | |||
32 | check_cxx_source_compiles(" | 34 | check_cxx_source_compiles(" | ||
33 | #include <sys/types.h> | 35 | #include <sys/types.h> | ||
34 | #include <sys/statvfs.h> | 36 | #include <sys/statvfs.h> | ||
35 | int main(){ | 37 | int main(){ | ||
36 | struct statvfs *mntbufp; | 38 | struct statvfs *mntbufp; | ||
37 | int flags; | 39 | int flags; | ||
38 | return getmntinfo(&mntbufp, flags); | 40 | return getmntinfo(&mntbufp, flags); | ||
39 | } | 41 | } | ||
40 | " GETMNTINFO_USES_STATVFS ) | 42 | " GETMNTINFO_USES_STATVFS ) | ||
41 | 43 | | |||
42 | ### | 44 | ### | ||
43 | 45 | | |||
44 | 46 | |