diff --git a/m4/acl.m4 b/m4/acl.m4 index 5b1fb65..05227bb 100644 --- a/m4/acl.m4 +++ b/m4/acl.m4 @@ -160,5 +160,8 @@ AC_DEFUN([gl_ACL_GET_FILE], [gl_cv_func_working_acl_get_file=no], [gl_cv_func_working_acl_get_file=cross-compiling])]) - AS_IF([test $gl_cv_func_working_acl_get_file = yes], [$1], [$2]) + AS_IF([test $gl_cv_func_working_acl_get_file = yes || \ + ((test $gl_cv_func_working_acl_get_file = cross-compiling ) && \ + (test "${host_alias#*darwin}" == "$host_alias"))], + [$1], [$2]) ])