mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
build: remove <attr/xattr.h> check
Since fsstress and src/t_immutable don't need attr/xattr.h, just remove <attr/xattr.h> and getxattr(2) check. Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -1,14 +1,3 @@
|
||||
AC_DEFUN([AC_PACKAGE_NEED_ATTR_XATTR_H],
|
||||
[ AC_CHECK_HEADERS([attr/xattr.h])
|
||||
if test "$ac_cv_header_attr_xattr_h" != "yes"; then
|
||||
echo
|
||||
echo 'FATAL ERROR: attr/xattr.h does not exist.'
|
||||
echo 'Install the extended attributes (attr) development package.'
|
||||
echo 'Alternatively, run "make install-dev" from the attr source.'
|
||||
exit 1
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_PACKAGE_NEED_ATTR_ERROR_H],
|
||||
[ AC_CHECK_HEADERS([attr/error_context.h])
|
||||
if test "$ac_cv_header_attr_error_context_h" != "yes"; then
|
||||
@@ -37,20 +26,6 @@ AC_DEFUN([AC_PACKAGE_WANT_ATTRLIST_LIBATTR],
|
||||
AC_SUBST(have_attr_list)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_PACKAGE_NEED_GETXATTR_LIBATTR],
|
||||
[ AC_CHECK_LIB(attr, getxattr,, [
|
||||
echo
|
||||
echo 'FATAL ERROR: could not find a valid Extended Attributes library.'
|
||||
echo 'Install the extended attributes (attr) development package.'
|
||||
echo 'Alternatively, run "make install-lib" from the attr source.'
|
||||
exit 1
|
||||
])
|
||||
libattr="-lattr"
|
||||
test -f ${libexecdir}${libdirsuffix}/libattr.la && \
|
||||
libattr="${libexecdir}${libdirsuffix}/libattr.la"
|
||||
AC_SUBST(libattr)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_PACKAGE_NEED_ATTRGET_LIBATTR],
|
||||
[ AC_CHECK_LIB(attr, attr_get,, [
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user