[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: acl: rework platform support macro
From: |
Bruno Haible |
Subject: |
Re: acl: rework platform support macro |
Date: |
Mon, 2 Jun 2008 13:01:02 +0200 |
User-agent: |
KMail/1.5.4 |
> > * m4/acl.m4 (gl_FUNC_ACL): Separate the POSIX-like and the Solaris
> > tests. Test for libpacl, needed for OSF/1. Test for extended ACLs,
> > needed for MacOS X. Test for HP-UX API. Test for newer and older AIX
> > APIs.
> >
> > OK to commit?
>
> Yes, please.
Applied, together with this tests simplification:
* modules/acl-tests (configure.ac): Remove tests now contained in
m4/acl.m4.
*** modules/acl-tests.orig 2008-06-02 12:59:28.000000000 +0200
--- modules/acl-tests 2008-06-02 00:22:53.000000000 +0200
***************
*** 14,33 ****
xalloc
configure.ac:
- AC_REQUIRE([gl_FUNC_ACL])
- save_LIBS="$LIBS"
- LIBS="$LIB_ACL $LIBS"
- dnl Test for functions present on Linux, FreeBSD, MacOS X, IRIX, Tru64.
- AC_CHECK_FUNCS([acl_get_file])
- dnl Test for functions present on Solaris, Cygwin.
- AC_CHECK_FUNCS([acl])
- dnl Test for functions present on HP-UX.
- AC_CHECK_FUNCS([getacl])
- dnl Test for functions present on AIX.
- AC_CHECK_FUNCS([aclx_get])
- dnl Test for functions present on older AIX.
- AC_CHECK_FUNCS([statacl])
- LIBS="$save_LIBS"
Makefile.am:
TESTS += test-file-has-acl.sh test-set-mode-acl.sh test-copy-acl.sh
--- 14,19 ----