xref: /freebsd/sys/contrib/openzfs/config/user.m4 (revision b985c9ca)
1eda14cbcSMatt Macydnl #
2eda14cbcSMatt Macydnl # Default ZFS user configuration
3eda14cbcSMatt Macydnl #
4eda14cbcSMatt MacyAC_DEFUN([ZFS_AC_CONFIG_USER], [
5eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_GETTEXT
6eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_MOUNT_HELPER
7eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_SYSVINIT
8eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_DRACUT
9eda14cbcSMatt Macy	AM_COND_IF([BUILD_FREEBSD], [
10eda14cbcSMatt Macy		PKG_INSTALLDIR(['${prefix}/libdata/pkgconfig'])], [
11eda14cbcSMatt Macy		PKG_INSTALLDIR
12eda14cbcSMatt Macy	])
13eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_ZLIB
14eda14cbcSMatt Macy	AM_COND_IF([BUILD_LINUX], [
15eda14cbcSMatt Macy		ZFS_AC_CONFIG_USER_UDEV
16eda14cbcSMatt Macy		ZFS_AC_CONFIG_USER_SYSTEMD
172a58b312SMartin Matuska		ZFS_AC_CONFIG_USER_LIBUDEV
18eda14cbcSMatt Macy		ZFS_AC_CONFIG_USER_LIBUUID
19eda14cbcSMatt Macy		ZFS_AC_CONFIG_USER_LIBBLKID
20eda14cbcSMatt Macy	])
21eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_LIBTIRPC
22eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_LIBCRYPTO
23eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_LIBAIO
2416038816SMartin Matuska	ZFS_AC_CONFIG_USER_LIBATOMIC
2516038816SMartin Matuska	ZFS_AC_CONFIG_USER_LIBFETCH
26da5137abSMartin Matuska	ZFS_AC_CONFIG_USER_AIO_H
27eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_CLOCK_GETTIME
28eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_PAM
29*b985c9caSMartin Matuska	ZFS_AC_CONFIG_USER_BACKTRACE
30*b985c9caSMartin Matuska	ZFS_AC_CONFIG_USER_LIBUNWIND
31eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_RUNSTATEDIR
32eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_MAKEDEV_IN_SYSMACROS
33eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_MAKEDEV_IN_MKDEV
34eda14cbcSMatt Macy	ZFS_AC_CONFIG_USER_ZFSEXEC
35eda14cbcSMatt Macy
36*b985c9caSMartin Matuska	AC_CHECK_FUNCS([execvpe issetugid mlockall strlcat strlcpy gettid])
37eda14cbcSMatt Macy
38eda14cbcSMatt Macy	AC_SUBST(RM)
39eda14cbcSMatt Macy])
40