This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / d_readdir.U
1 ?RCS: $Id: d_readdir.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: d_readdir.U,v $
12 ?RCS: Revision 3.0.1.1  1994/05/06  14:46:37  ram
13 ?RCS: patch23: added support for seekdir, telldir and rewinddir (ADO)
14 ?RCS:
15 ?RCS: Revision 3.0  1993/08/18  12:06:52  ram
16 ?RCS: Baseline for dist 3.0 netwide release.
17 ?RCS:
18 ?X:     Force checking for <dirent.h> inclusion
19 ?X:INC: i_dirent
20 ?MAKE:d_readdir d_seekdir d_telldir d_rewinddir: Inlibc
21 ?MAKE:  -pick add $@ %<
22 ?S:d_readdir:
23 ?S:     This variable conditionally defines HAS_READDIR if readdir() is
24 ?S:     available to read directory entries.
25 ?S:.
26 ?C:HAS_READDIR (READDIR):
27 ?C:     This symbol, if defined, indicates that the readdir routine is
28 ?C:     available to read directory entries. You may have to include
29 ?C:     <dirent.h>. See I_DIRENT.
30 ?C:.
31 ?H:#$d_readdir HAS_READDIR              /**/
32 ?H:.
33 ?S:d_seekdir:
34 ?S:     This variable conditionally defines HAS_SEEKDIR if seekdir() is
35 ?S:     available.
36 ?S:.
37 ?C:HAS_SEEKDIR:
38 ?C:     This symbol, if defined, indicates that the seekdir routine is
39 ?C:     available. You may have to include <dirent.h>. See I_DIRENT.
40 ?C:.
41 ?H:#$d_seekdir HAS_SEEKDIR              /**/
42 ?H:.
43 ?S:d_telldir:
44 ?S:     This variable conditionally defines HAS_TELLDIR if telldir() is
45 ?S:     available.
46 ?S:.
47 ?C:HAS_TELLDIR:
48 ?C:     This symbol, if defined, indicates that the telldir routine is
49 ?C:     available. You may have to include <dirent.h>. See I_DIRENT.
50 ?C:.
51 ?H:#$d_telldir HAS_TELLDIR              /**/
52 ?H:.
53 ?S:d_rewinddir:
54 ?S:     This variable conditionally defines HAS_REWINDDIR if rewinddir() is
55 ?S:     available.
56 ?S:.
57 ?C:HAS_REWINDDIR:
58 ?C:     This symbol, if defined, indicates that the rewinddir routine is
59 ?C:     available. You may have to include <dirent.h>. See I_DIRENT.
60 ?C:.
61 ?H:#$d_rewinddir HAS_REWINDDIR          /**/
62 ?H:.
63 ?LINT:set d_readdir d_seekdir d_telldir d_rewinddir
64 : see if readdir and friends exist
65 set readdir d_readdir
66 eval $inlibc
67 @if d_seekdir || HAS_SEEKDIR
68 set seekdir d_seekdir
69 eval $inlibc
70 @end
71 @if d_telldir || HAS_TELLDIR
72 set telldir d_telldir
73 eval $inlibc
74 @end
75 @if d_rewinddir || HAS_REWINDDIR
76 set rewinddir d_rewinddir
77 eval $inlibc
78 @end
79