3 ?RCS: Copyright (c) 1998 Jarkko Hietaniemi
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.
8 ?MAKE:d_fgetpos64 d_fopen64 d_freopen64 d_fseek64 d_fseeko64 d_fsetpos64 \
9 d_ftell64 d_ftello64 d_tmpfile64: Inlibc use64bits Setvar test
10 ?MAKE: -pick add $@ %<
12 ?S: This variable conditionally defines the HAS_FGETPOS64 symbol, which
13 ?S: indicates to the C program that the fgetpos64() routine is available.
16 ?S: This variable conditionally defines the HAS_FOPEN64 symbol, which
17 ?S: indicates to the C program that the fopen64() routine is available.
20 ?S: This variable conditionally defines the HAS_FREOPEN64 symbol, which
21 ?S: indicates to the C program that the freopen64() routine is available.
24 ?S: This variable conditionally defines the HAS_FSEEK64 symbol, which
25 ?S: indicates to the C program that the fseek64() routine is available.
28 ?S: This variable conditionally defines the HAS_FSEEKO64 symbol, which
29 ?S: indicates to the C program that the fseeko64() routine is available.
32 ?S: This variable conditionally defines the HAS_FSETPOS64 symbol, which
33 ?S: indicates to the C program that the fsetpos64() routine is available.
36 ?S: This variable conditionally defines the HAS_FTELL64 symbol, which
37 ?S: indicates to the C program that the ftell64() routine is available.
40 ?S: This variable conditionally defines the HAS_FTELLO64 symbol, which
41 ?S: indicates to the C program that the ftello64() routine is available.
44 ?S: This variable conditionally defines the HAS_TMPFILE64 symbol, which
45 ?S: indicates to the C program that the tmpfile64() routine is available.
48 ?C: This symbol, if defined, indicates that the fgetpos64 routine is
49 ?C: available to getpos files larger than 2 gigabytes.
52 ?C: This symbol, if defined, indicates that the fopen64 routine is
53 ?C: available to open files larger than 2 gigabytes.
56 ?C: This symbol, if defined, indicates that the freopen64 routine is
57 ?C: available to reopen files larger than 2 gigabytes.
60 ?C: This symbol, if defined, indicates that the fseek64 routine is
61 ?C: available to seek files larger than 2 gigabytes.
64 ?C: This symbol, if defined, indicates that the fseeko64 routine is
65 ?C: available to seek files larger than 2 gigabytes.
68 ?C: This symbol, if defined, indicates that the fsetpos64 routine is
69 ?C: available to setpos files larger than 2 gigabytes.
72 ?C: This symbol, if defined, indicates that the ftell64 routine is
73 ?C: available to tell files larger than 2 gigabytes.
76 ?C: This symbol, if defined, indicates that the ftello64 routine is
77 ?C: available to tell files larger than 2 gigabytes.
80 ?C: This symbol, if defined, indicates that the tmpfile64 routine is
81 ?C: available to tmpfile files larger than 2 gigabytes.
83 ?H:#$d_fgetpos64 HAS_FGETPOS64 /**/
84 ?H:#$d_fopen64 HAS_FOPEN64 /**/
85 ?H:#$d_freopen64 HAS_FREOPEN64 /**/
86 ?H:#$d_fseek64 HAS_FSEEK64 /**/
87 ?H:#$d_fseeko64 HAS_FSEEKO64 /**/
88 ?H:#$d_fsetpos64 HAS_FSETPOS64 /**/
89 ?H:#$d_ftell64 HAS_FTELL64 /**/
90 ?H:#$d_ftello64 HAS_FTELLO64 /**/
91 ?H:#$d_tmpfile64 HAS_TMPFILE64 /**/
102 ?LINT:set d_tmpfile64
104 if $test X"$use64bits" = X"$define"; then
105 : see if fgetpos64 exists
106 set fgetpos64 d_fgetpos64
109 : see if fopen64 exists
110 set freopen64 d_fopen64
113 : see if freopen64 exists
114 set freopen64 d_freopen64
117 : see if fseek64 exists
118 set fseek64 d_fseek64
121 : see if fseeko64 exists
122 set fseeko64 d_fseeko64
125 : see if fsetpos64 exists
126 set fsetpos64 d_fsetpos64
129 : see if ftell64 exists
130 set ftell64 d_ftell64
133 : see if ftello64 exists
134 set ftello64 d_ftello64
137 : see if tmpfile64 exists
138 set tmpfile64 d_tmpfile64
142 for xxx in d_fgetpos64 d_fopen64 d_freopen64 d_fseek64 d_fseeko64 d_fsetpos64 d_ftell64 d_ftello64 d_tmpfile64