diff options
author | Jim Meyering <meyering@redhat.com> | 2008-09-15 14:37:49 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-09-16 10:08:02 +0200 |
commit | 75de88852acacd665c5b71c19aff67ed7034826b (patch) | |
tree | 77743a8e6030a2a28692374339a8987069789254 /m4/acl.m4 | |
parent | 2d49258598687b9c408d662c498875a3ec38e4c8 (diff) | |
download | gnulib-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.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |