From: Tim Kientzle Date: Sun, 4 Sep 2016 23:35:07 +0000 (-0700) Subject: Fill in checks and support for acl_get_fd_np X-Git-Tag: v3.2.2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4099917d6893ed77af24caff1156e044ebd4fa5;p=thirdparty%2Flibarchive.git Fill in checks and support for acl_get_fd_np --- 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