mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
13 lines
302 B
Plaintext
13 lines
302 B
Plaintext
|
dnl #
|
||
|
dnl # Check for libattr
|
||
|
dnl #
|
||
|
AC_DEFUN([ZFS_AC_CONFIG_USER_LIBATTR], [
|
||
|
LIBATTR=
|
||
|
|
||
|
AC_CHECK_HEADER([attr/xattr.h], [], [AC_MSG_FAILURE([
|
||
|
*** attr/xattr.h missing, libattr-devel package required])])
|
||
|
|
||
|
AC_SUBST([LIBATTR], ["-lattr"])
|
||
|
AC_DEFINE([HAVE_LIBATTR], 1, [Define if you have libattr])
|
||
|
])
|