1 ?RCS: $Id: keyword.U,v 3.0 1993/08/18 12:10:08 ram Exp $
3 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
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 Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
11 ?RCS: $Log: keyword.U,v $
12 ?RCS: Revision 3.0 1993/08/18 12:10:08 ram
13 ?RCS: Baseline for dist 3.0 netwide release.
15 ?MAKE:d_const: cat cc ccflags Setvar
16 ?MAKE: -pick add $@ %<
18 ?S: This variable conditionally defines the HASCONST symbol, which
19 ?S: indicates to the C program that this C compiler knows about the
23 ?C: This symbol, if defined, indicates that this C compiler knows about
24 ?C: the <KEY> type. There is no need to actually test for that symbol
25 ?C: within your programs. The mere use of the "<KEY>" keyword will
26 ?C: trigger the necessary tests.
28 ?H:?%<:#$d_<KEY> HAS<%KEY> /**/
29 ?H:?%<:#ifndef HAS<%KEY>
36 : check for <KEY> keyword
38 echo 'Checking to see if your C compiler knows about "<KEY>"...'
39 $cat ><KEY>.c <<'EOCP'
45 if $cc -c $ccflags <KEY>.c >/dev/null 2>&1 ; then
50 echo "Nope, it doesn't."