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 @@ -11258,7 +11258,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
1125811258 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
1125911259 getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
1126011260 if_nameindex \
11261- initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
11261+ initgroups kill killpg lchown lockf linkat lstat lutimes mmap \
1126211262 memrchr mbrtowc mkdirat mkfifo \
1126311263 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
1126411264 posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
@@ -11289,10 +11289,16 @@ done
1128911289# links. Some libc implementations have a stub lchmod implementation that always
1129011290# returns an error.
1129111291if test " $MACHDEP " ! = linux; then
11292+ for ac_func in lchmod
11293+ do :
1129211294 ac_fn_c_check_func " $LINENO " " lchmod" " ac_cv_func_lchmod"
1129311295if test " x$ac_cv_func_lchmod " = xyes; then :
11296+ cat >> confdefs.h << _ACEOF
11297+ #define HAVE_LCHMOD 1
11298+ _ACEOF
1129411299
1129511300fi
11301+ done
1129611302
1129711303fi
1129811304
Original file line number Diff line number Diff line change @@ -3438,7 +3438,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
34383438 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
34393439 getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
34403440 if_nameindex \
3441- initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
3441+ initgroups kill killpg lchown lockf linkat lstat lutimes mmap \
34423442 memrchr mbrtowc mkdirat mkfifo \
34433443 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
34443444 posix_fallocate posix_fadvise posix_spawn pread preadv preadv2 \
@@ -3458,7 +3458,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
34583458# links. Some libc implementations have a stub lchmod implementation that always
34593459# returns an error.
34603460if test "$MACHDEP" != linux; then
3461- AC_CHECK_FUNC ( lchmod )
3461+ AC_CHECK_FUNCS ( lchmod )
34623462fi
34633463
34643464AC_CHECK_DECL ( dirfd ,
You can’t perform that action at this time.
0 commit comments