Fix memory leak in zfs_setprocinit code
[zfs.git] / config / user.m4
blob6ec27a5b2cf520e338cf0e569990ae733caebd20
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_LIBUDEV
18                 ZFS_AC_CONFIG_USER_LIBUUID
19                 ZFS_AC_CONFIG_USER_LIBBLKID
20         ])
21         ZFS_AC_CONFIG_USER_LIBTIRPC
22         ZFS_AC_CONFIG_USER_LIBCRYPTO
23         ZFS_AC_CONFIG_USER_LIBAIO
24         ZFS_AC_CONFIG_USER_LIBATOMIC
25         ZFS_AC_CONFIG_USER_LIBFETCH
26         ZFS_AC_CONFIG_USER_AIO_H
27         ZFS_AC_CONFIG_USER_CLOCK_GETTIME
28         ZFS_AC_CONFIG_USER_PAM
29         ZFS_AC_CONFIG_USER_RUNSTATEDIR
30         ZFS_AC_CONFIG_USER_MAKEDEV_IN_SYSMACROS
31         ZFS_AC_CONFIG_USER_MAKEDEV_IN_MKDEV
32         ZFS_AC_CONFIG_USER_ZFSEXEC
34         AC_CHECK_FUNCS([issetugid mlockall strlcat strlcpy])
36         AC_SUBST(RM)