File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -11327,7 +11327,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
1132711327 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
1132811328 getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
1132911329 if_nameindex \
11330- initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
11330+ initgroups kill killpg lchown lockf linkat lstat lutimes mmap \
1133111331 memrchr mbrtowc mkdirat mkfifo \
1133211332 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
1133311333 posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
@@ -11358,10 +11358,16 @@ done
1135811358# links. Some libc implementations have a stub lchmod implementation that always
1135911359# returns an error.
1136011360if test " $MACHDEP " ! = linux; then
11361+ for ac_func in lchmod
11362+ do :
1136111363 ac_fn_c_check_func " $LINENO " " lchmod" " ac_cv_func_lchmod"
1136211364if test " x$ac_cv_func_lchmod " = xyes; then :
11365+ cat >> confdefs.h << _ACEOF
11366+ #define HAVE_LCHMOD 1
11367+ _ACEOF
1136311368
1136411369fi
11370+ done
1136511371
1136611372fi
1136711373
Original file line number Diff line number Diff line change @@ -3503,7 +3503,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
35033503 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
35043504 getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
35053505 if_nameindex \
3506- initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
3506+ initgroups kill killpg lchown lockf linkat lstat lutimes mmap \
35073507 memrchr mbrtowc mkdirat mkfifo \
35083508 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
35093509 posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
@@ -3523,7 +3523,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
35233523# links. Some libc implementations have a stub lchmod implementation that always
35243524# returns an error.
35253525if test "$MACHDEP" != linux; then
3526- AC_CHECK_FUNC ( lchmod )
3526+ AC_CHECK_FUNCS ( lchmod )
35273527fi
35283528
35293529AC_CHECK_DECL ( dirfd ,
You can’t perform that action at this time.
0 commit comments