2 ?RCS: Copyright (c) 1999, Jarkko Hietaniemi
4 ?RCS: You may redistribute only under the terms of the Artistic License,
5 ?RCS: as specified in the README file that comes with the distribution.
6 ?RCS: You may reuse parts of this distribution only within the terms of
7 ?RCS: that same Artistic License; a copy of which may be found at the root
8 ?RCS: of the source tree for dist 3.0.
10 ?MAKE:fpossize: Myread Typedef fpostype Compile longsize run i_stdlib
11 ?MAKE: -pick add $@ %<
13 ?S: This variable contains the size of a fpostype in bytes.
16 ?C: This symbol holds the size of a Fpos_t in bytes.
18 ?H:#define Fpos_t_size $fpossize /* FPOS size */
22 : Check size for Fpos_t
25 *_t) zzz="$fpostype" ;;
28 echo "Checking the size of $zzz..." >&4
30 #include <sys/types.h>
37 printf("%d\n", (int)sizeof($fpostype));
42 if eval $compile_ok; then
46 echo "(I can't execute the test program--guessing $fpossize.)" >&4
49 echo "Your $zzz is $fpossize bytes long."
55 echo "(I can't compile the test program. Guessing...)" >&4
56 rp="What is the size of your file positions (in bytes)?"