# HG changeset patch # User Pádraig Brady # Date 1255943405 -3600 # Node ID 6e8ac51d8cb9b5d79941cd4b509d4fafe154d02a # Parent e97616f07ca154cb53d6d30c99ea3cf7d23a557c acl: warn if ACL support is not detected * m4/acl.m4 (gl_FUNC_ACL): Output a warning if ACL support is not found. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-10-20 Pádraig Brady + + acl: warn if ACL support is not detected + * m4/acl.m4 (gl_FUNC_ACL): Output a warning if ACL support is not found. + 2009-10-19 Giuseppe Scrivano * lib/nproc.h: Add extern "C" block for C++. diff --git a/m4/acl.m4 b/m4/acl.m4 --- a/m4/acl.m4 +++ b/m4/acl.m4 @@ -116,6 +116,9 @@ 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])