aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDeHackEd <[email protected]>2018-03-27 19:51:33 -0400
committerBrian Behlendorf <[email protected]>2018-03-27 16:51:32 -0700
commit668173b5764386b47de0beb7c57ff8ce8f68f983 (patch)
treeae4229f4a665025a5df4743548e6c45c19e2c265 /config
parent5152a740885dd7784681b5080735f941d993aa5f (diff)
Remove libattr requirement
RHEL/CentOS 6 supports sys/xattr.h eliminating the need for libattr-devel as a dependency. Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: DHE <[email protected]> Closes #7344 Closes #7351
Diffstat (limited to 'config')
-rw-r--r--config/user-libattr.m412
-rw-r--r--config/user.m41
2 files changed, 0 insertions, 13 deletions
diff --git a/config/user-libattr.m4 b/config/user-libattr.m4
deleted file mode 100644
index 3298fd491..000000000
--- a/config/user-libattr.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-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])
-])
diff --git a/config/user.m4 b/config/user.m4
index 0bada893b..f5e5e9acd 100644
--- a/config/user.m4
+++ b/config/user.m4
@@ -11,7 +11,6 @@ AC_DEFUN([ZFS_AC_CONFIG_USER], [
ZFS_AC_CONFIG_USER_LIBUUID
ZFS_AC_CONFIG_USER_LIBTIRPC
ZFS_AC_CONFIG_USER_LIBBLKID
- ZFS_AC_CONFIG_USER_LIBATTR
ZFS_AC_CONFIG_USER_LIBUDEV
ZFS_AC_CONFIG_USER_LIBSSL
ZFS_AC_CONFIG_USER_RUNSTATEDIR