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:d_quad quadtype uquadtype quadcase: \
9 longsize intsize d_longlong longlongsize uselonglong d_int64t \
11 ?MAKE: -pick add $@ %<
13 ?S: This variable, if defined, tells that there's a 64-bit integer type,
17 ?S: This variable defines Quad_t to be something like long, int,
18 ?S: long long, int64_t, or whatever type is used for 64-bit integers.
21 ?S: This variable, if defined, encodes the type of a quad:
22 ?S: 1 = int, 2 = long, 3 = long long, 4 = int64_t.
25 ?S: This variable defines Uquad_t to be something like unsigned long,
26 ?S: unsigned int, unsigned long long, uint64_t, or whatever type is
27 ?S: used for 64-bit integers.
30 ?C: This symbol, if defined, tells that there's a 64-bit integer type,
34 ?C: This symbol holds the type used for 64-bit integers.
35 ?C: It can be int, long, long long, int64_t etc...
38 ?C: This symbol, if defined, encodes the type of a quad:
39 ?C: 1 = int, 2 = long, 3 = long long, 4 = int64_t.
42 ?C: This symbol holds the type used for unsigned 64-bit integers.
43 ?C: It can be unsigned int, unsigned long, unsigned long long,
46 ?H:#$d_quad HAS_QUAD /**/
47 ?H:#$d_quad Quad_t $quadtype /**/
48 ?H:#$d_quad Uquad_t $uquadtype /**/
49 ?H:#$d_quad QUADCASE $quadcase /**/
55 echo "Checking which 64-bit integer type to use..." >&4
66 *) case "$longsize" in
75 *) case "$uselonglong:$d_longlong:$longlongsize" in
80 val='"unsigned long long"'
85 *) case "$d_int64t" in
104 '') echo "Alas, no 64-bit integer types in sight." >&4
107 *) echo "Using '$quadtype' for 64-bit integers." >&4