summaryrefslogtreecommitdiff
path: root/modules/qcopy-acl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/qcopy-acl')
-rw-r--r--modules/qcopy-acl10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/qcopy-acl b/modules/qcopy-acl
index e0cd914953..8dd147927d 100644
--- a/modules/qcopy-acl
+++ b/modules/qcopy-acl
@@ -6,10 +6,16 @@ lib/qcopy-acl.c
m4/xattr.m4
Depends-on:
-acl-permissions
+acl-permissions [test "$use_xattr" != yes]
configure.ac:
gl_FUNC_XATTR
+if test "$use_xattr" = yes; then
+ QCOPY_ACL_LIB="$LIB_XATTR"
+else
+ QCOPY_ACL_LIB="$LIB_ACL"
+fi
+AC_SUBST([QCOPY_ACL_LIB])
Makefile.am:
lib_SOURCES += qcopy-acl.c
@@ -18,7 +24,7 @@ Include:
"acl.h"
Link:
-$(LIB_ACL)
+$(QCOPY_ACL_LIB)
License:
GPL