From ab362e8297c325a60d542907672dde4321120fef Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Mon, 19 Oct 2009 10:10:05 +0100 Subject: [PATCH] acl: warn if ACL support is not detected * m4/acl.m4 (gl_FUNC_ACL): Output a warning if ACL support is not found. --- ChangeLog | 5 +++++ m4/acl.m4 | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8eade8f80..800f672a8 100644 --- 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 index 5340e2e24..784f4ea2e 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]) -- 2.11.0