File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -10632,10 +10632,16 @@ done
10632
10632
# links. Some libc implementations have a stub lchmod implementation that always
10633
10633
# returns an error.
10634
10634
if test " $MACHDEP " ! = linux; then
10635
+ for ac_func in lchmod
10636
+ do :
10635
10637
ac_fn_c_check_func " $LINENO " " lchmod" " ac_cv_func_lchmod"
10636
10638
if test " x$ac_cv_func_lchmod " = xyes; then :
10639
+ cat >> confdefs.h << _ACEOF
10640
+ #define HAVE_LCHMOD 1
10641
+ _ACEOF
10637
10642
10638
10643
fi
10644
+ done
10639
10645
10640
10646
fi
10641
10647
Original file line number Diff line number Diff line change @@ -3138,7 +3138,7 @@ AC_CHECK_FUNCS(alarm setitimer getitimer bind_textdomain_codeset chown \
3138
3138
# links. Some libc implementations have a stub lchmod implementation that always
3139
3139
# returns an error.
3140
3140
if test "$MACHDEP" != linux; then
3141
- AC_CHECK_FUNC ( lchmod )
3141
+ AC_CHECK_FUNCS ( lchmod )
3142
3142
fi
3143
3143
3144
3144
# For some functions, having a definition is not sufficient, since
Original file line number Diff line number Diff line change 439
439
/* Define to 1 if you have the 'lchflags' function. */
440
440
#undef HAVE_LCHFLAGS
441
441
442
+ /* Define to 1 if you have the `lchmod' function. */
443
+ #undef HAVE_LCHMOD
444
+
442
445
/* Define to 1 if you have the `lchown' function. */
443
446
#undef HAVE_LCHOWN
444
447
You can’t perform that action at this time.
0 commit comments