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_llseek d_fpos64_t d_off64_t: \
9 Inlibc Setvar n c Compile rm cat echo lseeksize
10 ?MAKE: -pick add $@ %<
12 ?S: This variable conditionally defines the HAS_LLSEEK symbol, which
13 ?S: indicates to the C program that the llseek() routine is available.
16 ?S: This symbol will be defined if the C compiler supports off64_t.
19 ?S: This symbol will be defined if the C compiler supports fpos64_t.
22 ?C: This symbol, if defined, indicates that the llseek routine is
23 ?C: available to seek files larger than 2 gigabytes.
26 ?C: This symbol will be defined if the C compiler supports off64_t.
29 ?C: This symbol will be defined if the C compiler supports fpos64_t.
31 ?H:#$d_llseek HAS_LLSEEK /**/
32 ?H:#$d_off64_t HAS_OFF64_T /**/
33 ?H:#$d_fpos64_t HAS_FPOS64_T /**/
40 : see if llseek exists
46 $echo $n "Checking to see if your system supports off64_t...$c" >&4
48 #include <sys/types.h>
50 int main() { off64_t x = 7; }'
53 if eval $compile; then
58 echo " Nope, it doesn't."
60 8) echo "(This is okay because your off_t is 64 bits wide.)" ;;
69 $echo $n "Checking to see if your system supports fpos64_t...$c" >&4
71 #include <sys/stdio.h>
72 int main() { fpos64_t x x = 7; }'
75 if eval $compile; then
80 echo " Nope, it doesn't."
82 8) echo "(This is okay because your off_t is 64 bits wide.)" ;;