]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - config/user.m4
Linux 5.12 update: bio_max_segs() replaces BIO_MAX_PAGES
[FreeBSD/FreeBSD.git] / config / user.m4
1 dnl #
2 dnl # Default ZFS user configuration
3 dnl #
4 AC_DEFUN([ZFS_AC_CONFIG_USER], [
5         ZFS_AC_CONFIG_USER_GETTEXT
6         ZFS_AC_CONFIG_USER_MOUNT_HELPER
7         ZFS_AC_CONFIG_USER_SYSVINIT
8         ZFS_AC_CONFIG_USER_DRACUT
9         AM_COND_IF([BUILD_FREEBSD], [
10                 PKG_INSTALLDIR(['${prefix}/libdata/pkgconfig'])], [
11                 PKG_INSTALLDIR
12         ])
13         ZFS_AC_CONFIG_USER_ZLIB
14         AM_COND_IF([BUILD_LINUX], [
15                 ZFS_AC_CONFIG_USER_UDEV
16                 ZFS_AC_CONFIG_USER_SYSTEMD
17                 ZFS_AC_CONFIG_USER_LIBUUID
18                 ZFS_AC_CONFIG_USER_LIBBLKID
19         ])
20         ZFS_AC_CONFIG_USER_LIBTIRPC
21         ZFS_AC_CONFIG_USER_LIBUDEV
22         ZFS_AC_CONFIG_USER_LIBCRYPTO
23         ZFS_AC_CONFIG_USER_LIBAIO
24         ZFS_AC_CONFIG_USER_CLOCK_GETTIME
25         ZFS_AC_CONFIG_USER_PAM
26         ZFS_AC_CONFIG_USER_RUNSTATEDIR
27         ZFS_AC_CONFIG_USER_MAKEDEV_IN_SYSMACROS
28         ZFS_AC_CONFIG_USER_MAKEDEV_IN_MKDEV
29         ZFS_AC_CONFIG_USER_ZFSEXEC
30         ZFS_AC_TEST_FRAMEWORK
31
32         AC_CHECK_FUNCS([issetugid mlockall strlcat strlcpy])
33 ])
34
35 dnl #
36 dnl # Setup the environment for the ZFS Test Suite.  Currently only
37 dnl # Linux style systems are supported but this infrastructure can
38 dnl # be extended to support other platforms if needed.
39 dnl #
40 AC_DEFUN([ZFS_AC_TEST_FRAMEWORK], [
41         ZONENAME="echo global"
42         AC_SUBST(ZONENAME)
43
44         AC_SUBST(RM)
45 ])