1 AC_DEFUN([AC_PACKAGE_NEED_SYS_ACL_H],
2 [ AC_CHECK_HEADERS([sys/acl.h])
3 if test "$ac_cv_header_sys_acl_h" != "yes"; then
5 echo 'FATAL ERROR: sys/acl.h does not exist.'
6 echo 'Install the access control lists (acl) development package.'
7 echo 'Alternatively, run "make install-dev" from the acl source.'
12 AC_DEFUN([AC_PACKAGE_NEED_ACL_LIBACL_H],
13 [ AC_CHECK_HEADERS([acl/libacl.h])
14 if test "$ac_cv_header_acl_libacl_h" != "yes"; then
16 echo 'FATAL ERROR: acl/libacl.h does not exist.'
17 echo 'Install the access control lists (acl) development package.'
18 echo 'Alternatively, run "make install-dev" from the acl source.'
24 AC_DEFUN([AC_PACKAGE_NEED_ACLINIT_LIBACL],
25 [ AC_CHECK_LIB(acl, acl_init,, [
27 echo 'FATAL ERROR: could not find a valid Access Control List library.'
28 echo 'Install either the libacl (rpm) or the libacl1 (deb) package.'
29 echo 'Alternatively, run "make install-lib" from the acl source.'
33 test -f `pwd`/../acl/libacl/libacl.la && \
34 libacl="`pwd`/../acl/libacl/libacl.la"
35 test -f ${libexecdir}${libdirsuffix}/libacl.la && \
36 libacl="${libexecdir}${libdirsuffix}/libacl.la"