Mercurial > gnulib
changeset 29200:ec46b9a23952
Avoid a configure-time syntax error in gl_FUNC_ACL.
* m4/acl.m4 (gl_FUNC_ACL): Be careful to check for the acl_trivial
function in each branch, before testing the cache variable.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 06 Dec 2007 16:49:19 +0100 |
parents | 0965a345c040 |
children | e3b775cfcda3 39e5ba3c788a |
files | ChangeLog m4/acl.m4 |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Dec 05 22:38:39 2007 +0100 +++ b/ChangeLog Thu Dec 06 16:49:19 2007 +0100 @@ -1,3 +1,9 @@ +2007-12-06 Jim Meyering <meyering@redhat.com> + + Avoid a configure-time syntax error in gl_FUNC_ACL. + * m4/acl.m4 (gl_FUNC_ACL): Be careful to check for the acl_trivial + function in each branch, before testing the cache variable. + 2007-12-04 Eric Blake <ebb9@byu.net> Make scripts executable.
--- a/m4/acl.m4 Wed Dec 05 22:38:39 2007 +0100 +++ b/m4/acl.m4 Thu Dec 06 16:49:19 2007 +0100 @@ -24,7 +24,8 @@ [test "$ac_cv_search_acl_trivial" = "none required" || LIB_ACL=$ac_cv_search_acl_trivial AC_CHECK_FUNCS([acl_trivial])], - [if test $ac_cv_func_acl_trivial != yes; then + [AC_CHECK_FUNCS([acl_trivial]) + if test $ac_cv_func_acl_trivial != yes; then AC_SEARCH_LIBS([acl_get_file], [acl], [test "$ac_cv_search_acl_get_file" = "none required" || LIB_ACL=$ac_cv_search_acl_get_file