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:uidsign: Myread Typedef uidtype Compile run
11 ?MAKE: -pick add $@ %<
13 ?S: This variable contains the signedness of a uidtype.
14 ?S: 1 for unsigned, -1 for signed.
17 ?C: This symbol holds the signedess of a Uid_t.
18 ?C: 1 for unsigned, -1 for signed.
20 ?H:#define Uid_t_sign $uidsign /* UID sign */
24 : Check if UID is signed
27 *_t) zzz="$uidtype" ;;
30 echo "Checking the sign of $zzz..." >&4
32 #include <sys/types.h>
43 if eval $compile; then
47 echo "(I can't execute the test program--guessing unsigned.)" >&4
51 1) echo "Your $zzz is unsigned." ;;
52 -1) echo "Your $zzz is signed." ;;
58 echo "(I can't compile the test program--guessing unsigned.)" >&4