diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-09-12 22:52:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 22:52:40 (GMT) |
commit | 40caa05fa4d1810a1a6bfc34e0ec930c351089b7 (patch) | |
tree | 7d64642db943b1c395ffac9097d52727498a8ce4 /configure | |
parent | 2087023fdec2c89070bd14f384a3c308c548a94a (diff) | |
download | cpython-40caa05fa4d1810a1a6bfc34e0ec930c351089b7.zip cpython-40caa05fa4d1810a1a6bfc34e0ec930c351089b7.tar.gz cpython-40caa05fa4d1810a1a6bfc34e0ec930c351089b7.tar.bz2 |
closes bpo-34652: Always disable lchmod on Linux. (GH-9234)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -11285,6 +11285,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> " |