diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-10-19 10:10:05 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-10-20 08:02:34 +0200 |
commit | ab362e8297c325a60d542907672dde4321120fef (patch) | |
tree | 44098583359317dd296963e4466690904df4b0b2 /m4/acl.m4 | |
parent | b156173b313f1903489b8c0c74292de350637f5f (diff) | |
download | gnulib-ab362e8297c325a60d542907672dde4321120fef.tar.gz |
acl: warn if ACL support is not detected
* m4/acl.m4 (gl_FUNC_ACL): Output a warning if ACL support is not found.
Diffstat (limited to 'm4/acl.m4')
-rw-r--r-- | m4/acl.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -116,6 +116,9 @@ int type = ACL_TYPE_EXTENDED;]], fi if test "x$enable_acl$use_acl" = "xyes0"; then AC_MSG_ERROR([ACLs enabled but support not detected]) + elif test "x$enable_acl$use_acl" = "xauto0"; then + AC_MSG_WARN([libacl development library was not found or not usable.]) + AC_MSG_WARN([AC_PACKAGE_NAME will be built without ACL support.]) fi fi AC_SUBST([LIB_ACL]) |