From b4099917d6893ed77af24caff1156e044ebd4fa5 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 4 Sep 2016 16:35:07 -0700 Subject: [PATCH] Fill in checks and support for acl_get_fd_np --- build/cmake/config.h.in | 3 +++ configure.ac | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in index b066b2ceb..053d20511 100644 --- a/build/cmake/config.h.in +++ b/build/cmake/config.h.in @@ -293,6 +293,9 @@ typedef uint64_t uintmax_t; /* Define to 1 if you have the `acl_create_entry' function. */ #cmakedefine HAVE_ACL_CREATE_ENTRY 1 +/* Define to 1 if you have the `acl_get_fd_np' function. */ +#cmakedefine HAVE_ACL_GET_FD_NP 1 + /* Define to 1 if you have the `acl_get_link' function. */ #cmakedefine HAVE_ACL_GET_LINK 1 diff --git a/configure.ac b/configure.ac index f49acb961..fc82b0ef9 100644 --- a/configure.ac +++ b/configure.ac @@ -695,7 +695,8 @@ if test "x$enable_acl" != "xno"; then AC_CHECK_HEADERS([acl/libacl.h]) AC_CHECK_HEADERS([sys/acl.h]) AC_CHECK_LIB([acl],[acl_get_file]) - AC_CHECK_FUNCS([acl_create_entry acl_init acl_set_fd acl_set_fd_np acl_set_file]) + AC_CHECK_FUNCS([acl_create_entry acl_get_fd_np]) + AC_CHECK_FUNCS([acl_init acl_set_fd acl_set_fd_np acl_set_file]) AC_CHECK_TYPES(acl_permset_t,,, [#if HAVE_SYS_TYPES_H -- 2.47.2