This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[UTIL] Perl system does not default to $_
[metaconfig.git] / dist / U / i_niin.U
CommitLineData
d8875586
MBT
1?RCS: $Id: i_niin.U 1 2006-08-24 12:32:52Z rmanfredi $
2?RCS:
3?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4?RCS:
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.
10?RCS:
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.
14?RCS:
15?X:
16?X: This unit looks wether <netinet/in.h> is available or not
17?X:
18?MAKE:i_niin i_sysin: Inhdr
19?MAKE: -pick add $@ %<
20?S:i_niin:
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>.
24?S:.
25?S:i_sysin:
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
28?S: <netinet/in.h>.
29?S:.
30?C:I_NETINET_IN:
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>.
33?C:.
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>.
37?C:.
38?H:#$i_niin I_NETINET_IN /**/
39?H:#$i_sysin I_SYS_IN /**/
40?H:.
41?LINT:set i_niin i_sysin
42: see if this is a netinet/in.h or sys/in.h system
43set netinet/in.h i_niin sys/in.h i_sysin
44eval $inhdr
45