mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
82e1e14dba
The local m4 configuration has not been built in a long time. Trying to rebuild it results in failures with dmapi library detection and libxfs.h detection macros. Fix the errors and rebuild it. Note: the new format for the aclocal.m4 file uses m4_include directives which means it is much smaller than before and won't need updating unless we include new m4 macro files. Signed-off-by: Dave Chinner <david@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
72 lines
1.4 KiB
Plaintext
72 lines
1.4 KiB
Plaintext
AC_INIT(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
|
|
])
|
|
AC_CHECK_HEADERS([ sys/fs/xfs_fsops.h \
|
|
sys/fs/xfs_itable.h \
|
|
xfs/platform_defs.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
|
|
;;
|
|
esac
|
|
|
|
AC_CONFIG_HEADER(include/config.h)
|
|
AC_OUTPUT(include/builddefs)
|