Commit | Line | Data |
---|---|---|
959f3c4c JH |
1 | ?RCS: $Id$ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 1999 Jarkko Hietaniemi | |
4 | ?RCS: | |
5 | ?RCS: You may distribute under the terms of either the GNU General Public | |
6 | ?RCS: License or the Artistic License, as specified in the README file. | |
7 | ?RCS: | |
8 | ?MAKE:d_statvfs d_fstatvfs: Inlibc | |
9 | ?MAKE: -pick add $@ %< | |
10 | ?S:d_statvfs: | |
11 | ?S: This variable conditionally defines the HAS_STATVFS symbol, which | |
12 | ?S: indicates to the C program that the statvfs() routine is available. | |
13 | ?S:. | |
14 | ?S:d_fstatvfs: | |
15 | ?S: This variable conditionally defines the HAS_FSTATVFS symbol, which | |
16 | ?S: indicates to the C program that the fstatvfs() routine is available. | |
17 | ?S:. | |
18 | ?C:HAS_STATVFS: | |
19 | ?C: This symbol, if defined, indicates that the statvfs routine is | |
7c636e07 | 20 | ?C: available to stat filesystems by filenames. |
959f3c4c JH |
21 | ?C:. |
22 | ?C:HAS_FSTATVFS: | |
23 | ?C: This symbol, if defined, indicates that the fstatvfs routine is | |
7c636e07 | 24 | ?C: available to stat filesystems by file descriptors. |
959f3c4c JH |
25 | ?C:. |
26 | ?H:#$d_statvfs HAS_STATVFS /**/ | |
27 | ?H:#$d_fstatvfs HAS_FSTATVFS /**/ | |
28 | ?H:. | |
29 | ?LINT:set d_statvfs | |
30 | ?LINT:set d_fstatvfs | |
959f3c4c JH |
31 | : see if statvfs exists |
32 | set statvfs d_statvfs | |
33 | eval $inlibc | |
34 | ||
35 | : see if fstatvfs exists | |
36 | set fstatvfs d_fstatvfs | |
37 | eval $inlibc | |
38 | ||
39 |