diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-12 23:36:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 23:36:05 (GMT) |
commit | 98344a4f2f09ddae295352ec54fae6388446eeaf (patch) | |
tree | f66682c665d5298abdd9bb2dc60caae5fa5040e7 /configure | |
parent | 0aef909d630ff40614cde0c58796a8bdf66c67eb (diff) | |
download | cpython-98344a4f2f09ddae295352ec54fae6388446eeaf.zip cpython-98344a4f2f09ddae295352ec54fae6388446eeaf.tar.gz cpython-98344a4f2f09ddae295352ec54fae6388446eeaf.tar.bz2 |
closes bpo-34652: Always disable lchmod on Linux. (GH-9234)
(cherry picked from commit 40caa05fa4d1810a1a6bfc34e0ec930c351089b7)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -11354,6 +11354,17 @@ fi done +# Force lchmod off for Linux. Linux disallows changing the mode of symbolic +# links. Some libc implementations have a stub lchmod implementation that always +# returns an error. +if test "$MACHDEP" != linux; then + ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod" +if test "x$ac_cv_func_lchmod" = xyes; then : + +fi + +fi + ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h> #include <dirent.h> " |