btrfs: add test for multiple fsync with adjacent preallocated extents
[xfstests-dev.git] / configure.ac
1 AC_INIT([xfstests], [1.1.1])
2 AC_CONFIG_MACRO_DIR([m4])
3 LT_INIT
4 AC_CONFIG_SRCDIR([src/xfsctl.c])
5 AC_PACKAGE_GLOBALS(xfstests)
6 AC_PACKAGE_UTILITIES(xfstests)
7
8 AC_HEADER_STDC
9     AC_CHECK_HEADERS([  assert.h                \
10                         bstring.h               \
11                         libgen.h                \
12                         dirent.h                \
13                         errno.h                 \
14                         malloc.h                \
15                         uuid.h                  \
16                         uuid/uuid.h             \
17                         sys/uuid.h              \
18                         sys/file.h              \
19                         sys/fcntl.h             \
20                         sys/syssgi.h            \
21                         sys/param.h             \
22                         sys/stat.h              \
23                         sys/statvfs.h           \
24                         sys/time.h              \
25                         sys/ioctl.h             \
26                         sys/wait.h              \
27                         sys/types.h             \
28                         strings.h               \
29                         err.h                   \
30                         linux/falloc.h          \
31                         sys/fs/xfs_fsops.h      \
32                         sys/fs/xfs_itable.h     \
33                         xfs/platform_defs.h     \
34                         btrfs/ioctl.h           \
35                         cifs/ioctl.h            \
36                         sys/mman.h              \
37     ])
38
39 AC_CHECK_HEADERS([xfs/xfs_log_format.h],,,[
40 #define _GNU_SOURCE
41 #include <xfs/libxfs.h>])
42
43 AC_PACKAGE_NEED_UUIDCOMPARE
44
45 AC_MULTILIB($enable_lib64)
46 AC_PACKAGE_NEED_XFS_XFS_H
47 AC_PACKAGE_WANT_LIBXFS_H
48 AC_PACKAGE_WANT_XLOG_ASSIGN_LSN
49 AC_PACKAGE_NEED_XFS_XQM_H
50 AC_PACKAGE_NEED_XFSCTL_MACRO
51 AC_PACKAGE_NEED_XFS_HANDLE_H
52 AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE
53
54 AC_PACKAGE_NEED_SYS_ACL_H
55 AC_PACKAGE_NEED_ACL_LIBACL_H
56 AC_PACKAGE_NEED_ACLINIT_LIBACL
57
58 AC_PACKAGE_WANT_GDBM
59 AC_PACKAGE_WANT_AIO
60 AC_PACKAGE_WANT_URING
61 AC_PACKAGE_WANT_LIBCAP
62 AC_PACKAGE_WANT_LINUX_FIEMAP_H
63 AC_PACKAGE_WANT_FALLOCATE
64 AC_PACKAGE_WANT_OPEN_BY_HANDLE_AT
65 AC_PACKAGE_WANT_LINUX_PRCTL_H
66 AC_PACKAGE_WANT_LINUX_FS_H
67 AC_PACKAGE_WANT_LIBBTRFSUTIL
68
69 AC_HAVE_COPY_FILE_RANGE
70
71 AC_CHECK_FUNCS([renameat2])
72 AC_CHECK_TYPES([struct mount_attr], [], [], [[#include <linux/mount.h>]])
73
74 AC_CONFIG_HEADER(include/config.h)
75 AC_CONFIG_FILES([include/builddefs])
76 AC_OUTPUT