Nothing in fedfs-utils uses libattr.so. The "*xattr" API lives in glibc. The check for libattr.so in configure.ac adds an extraneous package build dependency.
configure.ac should look for the presence of the attr/xattr.h header instead, as that is what the fedfs-utils build requires. Fixes: f5c16606 (configure.ac: check for presence of libattr) Reported-by: Cristian RodrÃguez <[email protected]> Signed-off-by: Chuck Lever <[email protected]> --- configure.ac | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index c70918852ce5..8b8d46323880 100644 --- a/configure.ac +++ b/configure.ac @@ -147,14 +147,9 @@ AC_CHECK_LIB([ssl], [SSL_CTX_new], AC_DEFINE([HAVE_LIBSSL], [1], [Define if you have libssl])], [AC_MSG_ERROR([libssl not found.])]) -AC_CHECK_LIB([attr], [fgetxattr], - [AC_SUBST([LIBATTR], ["-lattr"]) - AC_DEFINE([HAVE_LIBATTR], [1], - [Define if you have libattr])], - [AC_MSG_ERROR([libattr not found.])]) # Checks for header files. -AC_CHECK_HEADERS([fcntl.h langinfo.h locale.h memory.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h syslog.h termios.h unistd.h wchar.h]) +AC_CHECK_HEADERS([fcntl.h langinfo.h locale.h memory.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h syslog.h termios.h unistd.h wchar.h attr/xattr.h]) AC_HEADER_STDBOOL # Checks for typedefs, structures, and compiler characteristics. _______________________________________________ fedfs-utils-devel mailing list [email protected] https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel
