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 / d_pathconf.U
1 ?RCS: $Id: d_pathconf.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: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
12 ?RCS:
13 ?RCS: $Log: d_pathconf.U,v $
14 ?RCS: Revision 3.0.1.1  1994/10/29  16:14:54  ram
15 ?RCS: patch36: created by ADO
16 ?RCS:
17 ?MAKE:d_pathconf d_fpathconf: Inlibc
18 ?MAKE:  -pick add $@ %<
19 ?S:d_pathconf:
20 ?S:     This variable conditionally defines the HAS_PATHCONF symbol, which
21 ?S:     indicates to the C program that the pathconf() routine is available
22 ?S:     to determine file-system related limits and options associated
23 ?S:     with a given filename.
24 ?S:.
25 ?S:d_fpathconf:
26 ?S:     This variable conditionally defines the HAS_FPATHCONF symbol, which
27 ?S:     indicates to the C program that the pathconf() routine is available
28 ?S:     to determine file-system related limits and options associated
29 ?S:     with a given open file descriptor.
30 ?S:.
31 ?C:HAS_PATHCONF:
32 ?C:     This symbol, if defined, indicates that pathconf() is available
33 ?C:     to determine file-system related limits and options associated
34 ?C:     with a given filename.
35 ?C:.
36 ?C:HAS_FPATHCONF:
37 ?C:     This symbol, if defined, indicates that pathconf() is available
38 ?C:     to determine file-system related limits and options associated
39 ?C:     with a given open file descriptor.
40 ?C:.
41 ?H:#$d_pathconf HAS_PATHCONF            /**/
42 ?H:#$d_fpathconf HAS_FPATHCONF          /**/
43 ?H:.
44 ?LINT:set d_pathconf
45 ?LINT:set d_fpathconf
46 : see if pathconf exists
47 set pathconf d_pathconf
48 eval $inlibc
49
50 @if d_fpathconf || HAS_FPATHCONF
51 : see if fpathconf exists
52 set fpathconf d_fpathconf
53 eval $inlibc
54
55 @end