1 ?RCS: $Id: i_niin.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, 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 4.0.
11 ?RCS: $Log: i_niin.U,v $
12 ?RCS: Revision 3.0 1993/08/18 12:08:24 ram
13 ?RCS: Baseline for dist 3.0 netwide release.
16 ?X: This unit looks wether <netinet/in.h> is available or not
18 ?MAKE:i_niin i_sysin: Inhdr
19 ?MAKE: -pick add $@ %<
21 ?S: This variable conditionally defines I_NETINET_IN, which indicates
22 ?S: to the C program that it should include <netinet/in.h>. Otherwise,
23 ?S: you may try <sys/in.h>.
26 ?S: This variable conditionally defines I_SYS_IN, which indicates
27 ?S: to the C program that it should include <sys/in.h> instead of
31 ?C: This symbol, if defined, indicates to the C program that it should
32 ?C: include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
34 ?C:I_SYS_IN (I_SYSIN):
35 ?C: This symbol, if defined, indicates to the C program that it should
36 ?C: include <sys/in.h> instead of <netinet/in.h>.
38 ?H:#$i_niin I_NETINET_IN /**/
39 ?H:#$i_sysin I_SYS_IN /**/
41 ?LINT:set i_niin i_sysin
42 : see if this is a netinet/in.h or sys/in.h system
43 set netinet/in.h i_niin sys/in.h i_sysin