From 28a85116feef1f9a6f31c5ab8cfe50d7aa8d6fc4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 13 Jan 2023 17:33:58 -0800 Subject: [PATCH] build: update gnulib submodule to latest * m4/xattr.m4: Remove. This file is now autogenerated by 'bootstrap', since it's now in Gnulib. (I did this part by hand.) --- gnulib | 2 +- m4/xattr.m4 | 43 ------------------------------------------- 2 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 m4/xattr.m4 diff --git a/gnulib b/gnulib index 80b225fe1e..6ab315e58d 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit 80b225fe1ea7d58848bf905dedaae8bb83872b45 +Subproject commit 6ab315e58df7718d4d4a307d415a5bb95b676654 diff --git a/m4/xattr.m4 b/m4/xattr.m4 deleted file mode 100644 index e95e349154..0000000000 --- a/m4/xattr.m4 +++ /dev/null @@ -1,43 +0,0 @@ -# xattr.m4 - check for Extended Attributes (Linux) -# serial 4 - -# Copyright (C) 2003-2023 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# Originally written by Andreas Gruenbacher. - -AC_DEFUN([gl_FUNC_XATTR], -[ - AC_ARG_ENABLE([xattr], - AS_HELP_STRING([--disable-xattr], - [do not support extended attributes]), - [use_xattr=$enableval], [use_xattr=yes]) - - LIB_XATTR= - AC_SUBST([LIB_XATTR]) - - if test "$use_xattr" = "yes"; then - AC_CHECK_HEADERS([attr/error_context.h attr/libattr.h]) - use_xattr=no - if test $ac_cv_header_attr_libattr_h = yes \ - && test $ac_cv_header_attr_error_context_h = yes; then - xattr_saved_LIBS=$LIBS - AC_SEARCH_LIBS([attr_copy_file], [attr], - [test "$ac_cv_search_attr_copy_file" = "none required" || - LIB_XATTR=$ac_cv_search_attr_copy_file]) - AC_CHECK_FUNCS([attr_copy_file]) - LIBS=$xattr_saved_LIBS - if test $ac_cv_func_attr_copy_file = yes; then - use_xattr=yes - fi - fi - if test $use_xattr = no; then - AC_MSG_WARN([libattr development library was not found or not usable.]) - AC_MSG_WARN([AC_PACKAGE_NAME will be built without xattr support.]) - fi - fi - AC_DEFINE_UNQUOTED([USE_XATTR], [`test $use_xattr != yes; echo $?`], - [Define if you want extended attribute support.]) -]) -- 2.47.2