Commit | Line | Data |
---|---|---|
b8cde3c7 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: | |
14ed9e9a | 8 | ?MAKE:d_fs_data_s: Hasstruct i_sysparam i_sysmount i_systypes Setvar |
b8cde3c7 JH |
9 | ?MAKE: -pick add $@ %< |
10 | ?S:d_fs_data_s: | |
11 | ?S: This variable conditionally defines the HAS_STRUCT_FS_DATA symbol, | |
12 | ?S: which indicates that the struct fs_data is supported. | |
13 | ?S:. | |
14 | ?C:HAS_STRUCT_FS_DATA: | |
15 | ?C: This symbol, if defined, indicates that the struct fs_data | |
16 | ?C: to do statfs() is supported. | |
17 | ?C:. | |
18 | ?H:#$d_fs_data_s HAS_STRUCT_FS_DATA /**/ | |
19 | ?H:. | |
20 | ?LINT:set d_fs_data_s | |
2f125bce | 21 | : Check for fs_data_s |
b8cde3c7 | 22 | echo " " |
14ed9e9a | 23 | echo "Checking to see if your system supports struct fs_data..." >&4 |
b8cde3c7 JH |
24 | set d_fs_data_s fs_data $i_systypes sys/types.h $i_sysparam sys/param.h $i_sysmount sys/mount.h |
25 | eval $hasstruct | |
26 | case "$d_fs_data_s" in | |
6c094af6 JH |
27 | "$define") echo "Yes, it does." ;; |
28 | *) echo "No, it doesn't." ;; | |
b8cde3c7 JH |
29 | esac |
30 |