From: Andreas Stieger Date: Sun, 22 Mar 2015 19:44:26 +0000 (+0100) Subject: Fix a subtle wrong library check that caused libarchive to depend on libattr when... X-Git-Tag: v3.1.900a~118^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F111%2Fhead;p=thirdparty%2Flibarchive.git Fix a subtle wrong library check that caused libarchive to depend on libattr when it should be using glibc. --- diff --git a/configure.ac b/configure.ac index 92a9ff93a..767ea9698 100644 --- a/configure.ac +++ b/configure.ac @@ -629,7 +629,7 @@ AC_ARG_ENABLE([xattr], if test "x$enable_xattr" != "xno"; then AC_CHECK_HEADERS([attr/xattr.h]) AC_CHECK_HEADERS([sys/xattr.h sys/ea.h]) - AC_CHECK_LIB(attr,setxattr) + AC_SEARCH_LIBS([setxattr], [attr]) AC_CHECK_FUNCS([extattr_get_file extattr_list_file]) AC_CHECK_FUNCS([extattr_set_fd extattr_set_file]) AC_CHECK_FUNCS([fgetxattr flistxattr fsetxattr getxattr])