summaryrefslogtreecommitdiff
path: root/m4/acl.m4
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-10-19 10:10:05 +0100
committerJim Meyering <meyering@redhat.com>2009-10-20 08:02:34 +0200
commitab362e8297c325a60d542907672dde4321120fef (patch)
tree44098583359317dd296963e4466690904df4b0b2 /m4/acl.m4
parentb156173b313f1903489b8c0c74292de350637f5f (diff)
downloadgnulib-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.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/acl.m4 b/m4/acl.m4
index 5340e2e246..784f4ea2e6 100644
--- a/m4/acl.m4
+++ b/m4/acl.m4
@@ -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])