Commits
Joshua Root authored 4558194eef4
1 - | --- pyconfig.h.in.orig 2019-03-03 05:17:42.000000000 +1100 |
2 - | +++ pyconfig.h.in 2019-04-02 01:27:33.000000000 +1100 |
3 - | |
4 - | /* Define to 1 if you have the 'lchflags' function. */ |
5 - | #undef HAVE_LCHFLAGS |
6 - | |
7 - | +/* Define to 1 if you have the `lchmod' function. */ |
8 - | +#undef HAVE_LCHMOD |
9 - | + |
10 - | /* Define to 1 if you have the `lchown' function. */ |
11 - | #undef HAVE_LCHOWN |
12 - | |
13 - | --- configure.orig 2019-04-02 01:23:31.000000000 +1100 |
14 - | +++ configure 2019-04-02 01:24:03.000000000 +1100 |
15 - | |
16 - | # links. Some libc implementations have a stub lchmod implementation that always |
17 - | # returns an error. |
18 - | if test "$MACHDEP" != linux; then |
19 - | + for ac_func in lchmod |
20 - | +do : |
21 - | ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod" |
22 - | if test "x$ac_cv_func_lchmod" = xyes; then : |
23 - | + cat >>confdefs.h <<_ACEOF |
24 - | +#define HAVE_LCHMOD 1 |
25 - | +_ACEOF |
26 - | |
27 - | fi |
28 - | +done |
29 - | |
30 - | fi |
31 - |