This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[metaconfig.git] / U / perl / d_fsat.U
1 ?RCS: Copyright (c) 2017 H.Merijn Brand (original change by Tony Cook)
2 ?RCS:
3 ?RCS: You may distribute under the terms of either the GNU General Public
4 ?RCS: License or the Artistic License, as specified in the README file.
5 ?RCS:
6 ?MAKE:d_openat d_unlinkat d_renameat d_linkat d_fchmodat: Inlibc
7 ?MAKE:  -pick add $@ %<
8 ?S:d_fchmodat:
9 ?S:     This variable conditionally defines the HAS_FCHMODAT symbol, which
10 ?S:     indicates the POSIX fchmodat() function is available.
11 ?S:.
12 ?S:d_linkat:
13 ?S:     This variable conditionally defines the HAS_LINKAT symbol, which
14 ?S:     indicates the POSIX linkat() function is available.
15 ?S:.
16 ?S:d_openat:
17 ?S:     This variable conditionally defines the HAS_OPENAT symbol, which
18 ?S:     indicates the POSIX openat() function is available.
19 ?S:.
20 ?S:d_renameat:
21 ?S:     This variable conditionally defines the HAS_RENAMEAT symbol, which
22 ?S:     indicates the POSIX renameat() function is available.
23 ?S:.
24 ?S:d_unlinkat:
25 ?S:     This variable conditionally defines the HAS_UNLINKAT symbol, which
26 ?S:     indicates the POSIX unlinkat() function isavailable.
27 ?S:.
28 ?C:HAS_FCHMODAT:
29 ?C:     This symbol is defined if the fchmodat() routine is available.
30 ?C:.
31 ?C:HAS_LINKAT:
32 ?C:     This symbol is defined if the linkat() routine is available.
33 ?C:.
34 ?C:HAS_OPENAT:
35 ?C:     This symbol is defined if the openat() routine is available.
36 ?C:.
37 ?C:HAS_RENAMEAT:
38 ?C:     This symbol is defined if the renameat() routine is available.
39 ?C:.
40 ?C:HAS_UNLINKAT:
41 ?C:     This symbol is defined if the unlinkat() routine is available.
42 ?C:.
43 ?H:#$d_fchmodat HAS_FCHMODAT    /**/
44 ?H:#$d_linkat   HAS_LINKAT      /**/
45 ?H:#$d_openat   HAS_OPENAT      /**/
46 ?H:#$d_renameat HAS_RENAMEAT    /**/
47 ?H:#$d_unlinkat HAS_UNLINKAT    /**/
48 ?H:.
49 ?LINT:set d_openat d_unlinkat d_renameat d_linkat d_fchmodat
50 : check for openat, unlinkat, renameat, linkat, fchmodat
51 set openat d_openat
52 eval $inlibc
53
54 set unlinkat d_unlinkat
55 eval $inlibc
56
57 set renameat d_renameat
58 eval $inlibc
59
60 set linkat d_linkat
61 eval $inlibc
62
63 set fchmodat d_fchmodat
64 eval $inlibc
65