diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-03-08 20:39:40 -0800 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-03-14 21:29:12 +0800 |
commit | 69a5de82890832addc2d20d2aef0738cebf5f3ee (patch) | |
tree | 2666d6c0faf2594e3f9eecd46ff963093bbf004e /m4 | |
parent | f5c3de7d2f4cc99a9beef53a1468051b24c42ca0 (diff) |
fstests: remove libattr dependencies
Now that we don't have any libattr dependencies anymore, get rid of all
the build system hooks.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/Makefile | 1 | ||||
-rw-r--r-- | m4/package_attrdev.m4 | 54 |
2 files changed, 0 insertions, 55 deletions
diff --git a/m4/Makefile b/m4/Makefile index 0352534d..5d9c5896 100644 --- a/m4/Makefile +++ b/m4/Makefile @@ -10,7 +10,6 @@ LSRCFILES = \ package_acldev.m4 \ package_aiodev.m4 \ package_gdbmdev.m4 \ - package_attrdev.m4 \ package_dmapidev.m4 \ package_globals.m4 \ package_libcdev.m4 \ diff --git a/m4/package_attrdev.m4 b/m4/package_attrdev.m4 deleted file mode 100644 index d994cfc2..00000000 --- a/m4/package_attrdev.m4 +++ /dev/null @@ -1,54 +0,0 @@ -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 - echo - echo 'FATAL ERROR: attr/error_context.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_ATTRIBUTES_H], - [ have_attributes_h=false - AC_CHECK_HEADERS([attr/attributes.h sys/attributes.h], [have_attributes_h=true], ) - if test "$have_attributes_h" = "false"; then - echo - echo 'FATAL ERROR: attributes.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_WANT_ATTRLIST_LIBATTR], - [ AC_CHECK_LIB(attr, attr_list, [have_attr_list=true], [have_attr_list=false]) - AC_SUBST(have_attr_list) - ]) - -AC_DEFUN([AC_PACKAGE_NEED_ATTRSET_LIBATTR], - [ AC_CHECK_LIB(attr, attr_set,, [ - 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_ATTRIBUTES_MACROS], - [ AC_MSG_CHECKING([macros in attr/attributes.h]) - AC_TRY_LINK([ -#include <sys/types.h> -#include <attr/attributes.h>], - [ int x = ATTR_SECURE; ], [ echo ok ], [ - echo - echo 'FATAL ERROR: could not find a current attributes header.' - echo 'Upgrade the extended attributes (attr) development package.' - echo 'Alternatively, run "make install-dev" from the attr source.' - exit 1 ]) - ]) |