summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>2018-07-02 15:00:01 +0800
committerEryu Guan <guaneryu@gmail.com>2018-07-04 20:33:23 +0800
commit9b846275d61a80f69f85927287e4843845420e4c (patch)
treebc1a69cccaecb1e2cd55d87cf55b3ea55cc69465 /configure.ac
parent42b851446ff1f433dd3848eac90cbe212bdb67f3 (diff)
build: fix undefined macro: AC_PACKAGE_NEED_GETXATTR_LIBATTR
Because the macro AC_PACKAGE_NEED_GETXATTR_LIBATTR was removed by the following commit specified by fixes tag, we also need remove AC_PACKAGE_NEED_GETXATTR_LIBATTR from configure.ac. In addition, the libattr will not be set after the macro being removed. This cause gcc fail to link the libattr for fsstress correctly. The macro AC_PACKAGE_NEED_ATTRGET_LIBATTR has been obsoleted, so change it to AC_PACKAGE_NEED_ATTRSET_LIBATTR and add it to configure.ac. It can help check libattr and set libattr variable. Fixes: 42b851446ff1 ("build: remove <attr/xattr.h> check") Reported-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Tested-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 63ea032d..aede4f59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ AC_PACKAGE_NEED_XFS_HANDLE_H
AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE
AC_PACKAGE_NEED_ATTRIBUTES_H
AC_PACKAGE_WANT_ATTRLIST_LIBATTR
-AC_PACKAGE_NEED_GETXATTR_LIBATTR
+AC_PACKAGE_NEED_ATTRSET_LIBATTR
AC_PACKAGE_NEED_SYS_ACL_H
AC_PACKAGE_NEED_ACL_LIBACL_H