3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic License,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
11 ?RCS: $Log: d_sgndchr.U,v $
12 ?RCS: Revision 3.0.1.2 1997/02/28 15:44:25 ram
13 ?RCS: patch61: added a ?F: metalint hint
15 ?RCS: Revision 3.0.1.1 1995/07/25 14:00:24 ram
16 ?RCS: patch56: made cc and ccflags optional dependencies
18 ?RCS: Revision 3.0 1993/08/18 12:07:16 ram
19 ?RCS: Baseline for dist 3.0 netwide release.
21 ?MAKE:d_sgndchr: cat rm +cc +ccflags Setvar
22 ?MAKE: -pick add $@ %<
24 ?S: This variable conditionally defines the SIGNEDCHAR symbol, which
25 ?S: indicates to the C program that signed characters are available.
28 ?C: This symbol, if defined, indicates that characters are a signed type.
29 ?C: If not defined, things declared as signed characters (and that make
30 ?C: use of negative values) should probably be declared as shorts instead.
32 ?H:#$d_sgndchr SIGNEDCHAR /**/
36 : check for signed chars
38 echo "Checking to see if your C compiler can do signed chars..." >&4
48 $cc $ccflags -o try try.c
51 echo "It certainly can."
54 echo "It can't. I'll have to make some things type short."