forked from jecluis/xfstests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
87 lines (78 loc) · 1.75 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
AC_INIT([xfstests], [1.1.1])
AC_PREREQ(2.50)
AC_CONFIG_SRCDIR([src/xfsctl.c])
AC_PACKAGE_GLOBALS(xfstests)
AC_PACKAGE_UTILITIES(xfstests)
AC_HEADER_STDC
AC_CHECK_HEADERS([ assert.h \
bstring.h \
libgen.h \
dirent.h \
errno.h \
malloc.h \
uuid.h \
uuid/uuid.h \
sys/uuid.h \
sys/file.h \
sys/fcntl.h \
sys/syssgi.h \
sys/param.h \
sys/stat.h \
sys/statvfs.h \
sys/time.h \
sys/ioctl.h \
sys/wait.h \
sys/types.h \
strings.h \
err.h \
linux/falloc.h \
sys/fs/xfs_fsops.h \
sys/fs/xfs_itable.h \
xfs/platform_defs.h \
btrfs/ioctl.h \
cifs/ioctl.h \
])
AC_CHECK_HEADERS([xfs/xfs_log_format.h],,,[
#define _GNU_SOURCE
#include <xfs/libxfs.h>])
AC_PACKAGE_NEED_UUIDCOMPARE
case $pkg_platform
in
irix)
AC_PACKAGE_NEED_SYS_ACL_H
AC_PACKAGE_NEED_ATTRIBUTES_H
AC_PACKAGE_WANT_NDBM
AC_PACKAGE_NEED_IRIX_LIBHANDLE
have_attr_list=true
AC_SUBST(have_attr_list)
;;
*)
AC_MULTILIB($enable_lib64)
AC_PACKAGE_NEED_XFS_XFS_H
AC_PACKAGE_WANT_LIBXFS_H
AC_PACKAGE_WANT_XLOG_ASSIGN_LSN
AC_PACKAGE_NEED_XFS_XQM_H
AC_PACKAGE_NEED_XFSCTL_MACRO
AC_PACKAGE_NEED_XFS_HANDLE_H
AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE
AC_PACKAGE_NEED_ATTR_XATTR_H
AC_PACKAGE_NEED_ATTRIBUTES_H
AC_PACKAGE_WANT_ATTRLIST_LIBATTR
AC_PACKAGE_NEED_GETXATTR_LIBATTR
AC_PACKAGE_NEED_SYS_ACL_H
AC_PACKAGE_NEED_ACL_LIBACL_H
AC_PACKAGE_NEED_ACLINIT_LIBACL
AC_PACKAGE_WANT_GDBM
AC_PACKAGE_WANT_AIO
AC_PACKAGE_WANT_DMAPI
AC_PACKAGE_WANT_LINUX_FIEMAP_H
AC_PACKAGE_WANT_FALLOCATE
AC_PACKAGE_WANT_LINUX_PRCTL_H
AC_PACKAGE_WANT_LINUX_FS_H
AC_PACKAGE_WANT_SSL
;;
esac
AC_CHECK_FUNCS([renameat2])
AC_CONFIG_HEADER(include/config.h)
AC_CONFIG_FILES([include/builddefs])
AC_OUTPUT