mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
0655d09fbf
On Debian/Ubuntu systems, if autoconf version 2.13 is installed, autoconf will try to automatically figure out whether autoconf 2.13 or something more modern is required (since the autoconf maintainers, curses be upon them, didn't bother to maintain compatibility between autoconf 2.13 and 2.50). Unfortunately, the hueristics aren't perfect, and although the configure.in file looks superficially like it will be compatible with autoconf 2.13, it isn't. You will end up with a number of very subtle compilation failures if you use autoconf 2.13. So declare a requirement for autoconf 2.50 using AC_PREREQ(2.50). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Christoph Hellwig <hch@lst.de>
75 lines
1.5 KiB
Plaintext
75 lines
1.5 KiB
Plaintext
AC_INIT(src/xfsctl.c)
|
|
AC_PREREQ(2.50)
|
|
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
|
|
AC_PACKAGE_WANT_LINUX_FIEMAP_H
|
|
AC_PACKAGE_WANT_FALLOCATE
|
|
;;
|
|
esac
|
|
|
|
AC_CONFIG_HEADER(include/config.h)
|
|
AC_OUTPUT(include/builddefs)
|