3 ?RCS: Copyright (c) 1999 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:quadtype uquadtype quadcase: \
9 longsize intsize d_longlong longlongsize uselonglong d_int64t \
11 ?MAKE: -pick add $@ %<
13 ?S: This variable defines Quad_t to be something like long, int,
14 ?S: long long, int64_t, or whatever type is used for 64-bit integers.
17 ?S: This variable, if defined, encodes the type of a quad:
18 ?S: 1 = int, 2 = long, 3 = long long, 4 = int64_t.
21 ?S: This variable defines Uquad_t to be something like unsigned long,
22 ?S: unsigned int, unsigned long long, uint64_t, or whatever type is
23 ?S: used for 64-bit integers.
26 ?C: This symbol holds the type used for 64-bit integers.
27 ?C: It can be int, long, long long, int64_t etc...
30 ?C: This symbol, if defined, encodes the type of a quad:
31 ?C: 1 = int, 2 = long, 3 = long long, 4 = int64_t.
34 ?C: This symbol holds the type used for unsigned 64-bit integers.
35 ?C: It can be unsigned int, unsigned long, unsigned long long,
38 ?H:#define Quad_t $quadtype
39 ?H:#define Uquad_t $uquadtype
40 ?H:#define QUADCASE $quadcase
46 echo "Checking which 64-bit integer type to use..." >&4
57 *) case "$longsize" in
66 *) case "$uselonglong:$d_longlong:$longlongsize" in
71 val='"unsigned long long"'
76 *) case "$d_int64t" in
95 '') echo "Alas, no 64-bit integer types in sight." >&4 ;;
96 *) echo "Using '$quadtype' for 64-bit integers." >&4 ;;