summaryrefslogtreecommitdiff
path: root/m4/acl.m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-09-15 14:37:49 +0200
committerJim Meyering <meyering@redhat.com>2008-09-16 10:08:02 +0200
commit75de88852acacd665c5b71c19aff67ed7034826b (patch)
tree77743a8e6030a2a28692374339a8987069789254 /m4/acl.m4
parent2d49258598687b9c408d662c498875a3ec38e4c8 (diff)
downloadgnulib-75de88852acacd665c5b71c19aff67ed7034826b.tar.gz
avoid spurious test failure when library is built without ACL support
* m4/acl.m4 (USE_ACL): Define as a shell variable, too, for... * modules/acl-tests (Makefile.am) [TESTS_ENVIRONMENT]: Add USE_ACL. * tests/test-file-has-acl.sh: Skip if USE_ACL == 0. * tests/test-copy-acl.sh: Likewise.
Diffstat (limited to 'm4/acl.m4')
-rw-r--r--m4/acl.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/acl.m4 b/m4/acl.m4
index 494ce4bebb..08342d03ca 100644
--- a/m4/acl.m4
+++ b/m4/acl.m4
@@ -121,6 +121,8 @@ int type = ACL_TYPE_EXTENDED;]],
AC_SUBST([LIB_ACL])
AC_DEFINE_UNQUOTED([USE_ACL], [$use_acl],
[Define to nonzero if you want access control list support.])
+ USE_ACL=$use_acl
+ AC_SUBST([USE_ACL])
])
# gl_ACL_GET_FILE(IF-WORKS, IF-NOT)