This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Backport of bd2aeadfa5cb8ea8dbfc9c3060728594d8452bc6
[metaconfig.git] / U / perl / d_inetpton.U
CommitLineData
d50c7657
MB
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 2009 H.Merijn Brand
4?RCS:
5?RCS: You may distribute under the terms of either the GNU General Public
6?RCS: License or the Artistic License, as specified in the README file.
7?RCS:
8?MAKE:d_inetpton: Inlibc
9?MAKE: -pick add $@ %<
10?S:d_inetpton:
11?S: This variable conditionally defines the HAS_INETPTON symbol,
12?S: which indicates to the C program that the inet_pton() function
13?S: is available.
14?S:.
15?C:HAS_INETPTON:
16?C: This symbol, if defined, indicates that the inet_pton() function
17?C: is available to parse IPv4 and IPv6 strings.
18?C:.
19?H:#$d_inetpton HAS_INETPTON /**/
20?H:.
21?LINT:set d_inetpton
22: see if inet_pton exists
23set inet_pton d_inetpton
24eval $inlibc
25